Skip to content

Commit ebe55c7

Browse files
committed
WIP
1 parent 9ae419e commit ebe55c7

File tree

15 files changed

+1540
-1642
lines changed

15 files changed

+1540
-1642
lines changed

src/LiveComponent/assets/dist/Component/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { BackendInterface } from '../Backend/Backend';
2-
import ValueStore from './ValueStore';
32
import type BackendRequest from '../Backend/BackendRequest';
3+
import BackendResponse from '../Backend/BackendResponse';
44
import type { ElementDriver } from './ElementDriver';
5+
import ValueStore from './ValueStore';
56
import type { PluginInterface } from './plugins/PluginInterface';
6-
import BackendResponse from '../Backend/BackendResponse';
77
type MaybePromise<T = void> = T | Promise<T>;
88
export type ComponentHooks = {
99
connect: (component: Component) => MaybePromise;

src/LiveComponent/assets/dist/Component/plugins/LazyPlugin.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { PluginInterface } from './PluginInterface';
21
import type Component from '../index';
2+
import type { PluginInterface } from './PluginInterface';
33
export default class implements PluginInterface {
44
private intersectionObserver;
55
attachToComponent(component: Component): void;

src/LiveComponent/assets/dist/Component/plugins/LoadingPlugin.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { type Directive } from '../../Directive/directives_parser';
21
import type BackendRequest from '../../Backend/BackendRequest';
32
import type Component from '../../Component';
3+
import { type Directive } from '../../Directive/directives_parser';
44
import type { PluginInterface } from './PluginInterface';
55
interface ElementLoadingDirectives {
66
element: HTMLElement | SVGElement;

src/LiveComponent/assets/dist/HookManager.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ComponentHookName, ComponentHookCallback } from './Component';
1+
import type { ComponentHookCallback, ComponentHookName } from './Component';
22
export default class {
33
private hooks;
44
register<T extends string | ComponentHookName = ComponentHookName>(hookName: T, callback: ComponentHookCallback<T>): void;

src/LiveComponent/assets/dist/dom_utils.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import type Component from './Component';
12
import type ValueStore from './Component/ValueStore';
23
import { type Directive } from './Directive/directives_parser';
3-
import type Component from './Component';
44
export declare function getValueFromElement(element: HTMLElement, valueStore: ValueStore): string | string[] | null | boolean;
55
export declare function setValueOnElement(element: HTMLElement, value: any): void;
66
export declare function getAllModelDirectiveFromElements(element: HTMLElement): Directive[];

src/LiveComponent/assets/dist/live_controller.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Controller } from '@hotwired/stimulus';
2-
import Component from './Component';
32
import { type BackendInterface } from './Backend/Backend';
3+
import Component from './Component';
44
export { Component };
55
export { getComponent } from './ComponentRegistry';
66
export interface LiveEvent extends CustomEvent {

0 commit comments

Comments
 (0)