forked from symfony/ux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Live] Fixed idiomorph id child handling & JavaScript cleanup
- Loading branch information
1 parent
9e086b1
commit 6d59382
Showing
48 changed files
with
1,081 additions
and
974 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 10 additions & 11 deletions
21
src/LiveComponent/assets/dist/Component/ElementDriver.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/LiveComponent/assets/dist/Component/plugins/ChildComponentPlugin.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Component from '../../Component'; | ||
import { PluginInterface } from './PluginInterface'; | ||
export default class implements PluginInterface { | ||
private readonly component; | ||
private parentModelBindings; | ||
constructor(component: Component); | ||
attachToComponent(component: Component): void; | ||
private getChildrenFingerprints; | ||
private notifyParentModelChange; | ||
private getChildren; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import Component from './Component'; | ||
export default class { | ||
private componentMapByElement; | ||
private componentMapByComponent; | ||
registerComponent(element: HTMLElement, component: Component): void; | ||
unregisterComponent(component: Component): void; | ||
getComponent(element: HTMLElement): Promise<Component>; | ||
findComponents(currentComponent: Component, onlyParents: boolean, onlyMatchName: string | null): Component[]; | ||
} | ||
export declare const resetRegistry: () => void; | ||
export declare const registerComponent: (component: Component) => void; | ||
export declare const unregisterComponent: (component: Component) => void; | ||
export declare const getComponent: (element: HTMLElement) => Promise<Component>; | ||
export declare const findComponents: (currentComponent: Component, onlyParents: boolean, onlyMatchName: string | null) => Component[]; | ||
export declare const findChildren: (currentComponent: Component) => Component[]; | ||
export declare const findParent: (currentComponent: Component) => Component | null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export default function getElementAsTagText(element: HTMLElement): string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.