@symfony/ux-live-component 2.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +14 -0
- package/dist/Backend/Backend.d.ts +31 -0
- package/dist/Backend/BackendRequest.d.ts +9 -0
- package/dist/Backend/BackendResponse.d.ts +6 -0
- package/dist/Backend/RequestBuilder.d.ts +17 -0
- package/dist/Component/ElementDriver.d.ts +31 -0
- package/dist/Component/UnsyncedInputsTracker.d.ts +28 -0
- package/dist/Component/ValueStore.d.ts +17 -0
- package/dist/Component/index.d.ts +74 -0
- package/dist/Component/plugins/ChildComponentPlugin.d.ts +11 -0
- package/dist/Component/plugins/LazyPlugin.d.ts +7 -0
- package/dist/Component/plugins/LoadingPlugin.d.ts +23 -0
- package/dist/Component/plugins/PageUnloadingPlugin.d.ts +6 -0
- package/dist/Component/plugins/PluginInterface.d.ts +4 -0
- package/dist/Component/plugins/PollingPlugin.d.ts +10 -0
- package/dist/Component/plugins/QueryStringPlugin.d.ts +13 -0
- package/dist/Component/plugins/SetValueOntoModelFieldsPlugin.d.ts +6 -0
- package/dist/Component/plugins/ValidatedFieldsPlugin.d.ts +6 -0
- package/dist/ComponentRegistry.d.ts +8 -0
- package/dist/Directive/directives_parser.d.ts +11 -0
- package/dist/Directive/get_model_binding.d.ts +9 -0
- package/dist/HookManager.d.ts +7 -0
- package/dist/PollingDirector.d.ts +16 -0
- package/dist/Rendering/ChangingItemsTracker.d.ts +12 -0
- package/dist/Rendering/ElementChanges.d.ts +26 -0
- package/dist/Rendering/ExternalMutationTracker.d.ts +26 -0
- package/dist/Util/getElementAsTagText.d.ts +1 -0
- package/dist/data_manipulation_utils.d.ts +2 -0
- package/dist/dom_utils.d.ts +10 -0
- package/dist/live.min.css +1 -0
- package/dist/live_controller.d.ts +112 -0
- package/dist/live_controller.js +3190 -0
- package/dist/morphdom.d.ts +2 -0
- package/dist/normalize_attributes_for_comparison.d.ts +1 -0
- package/dist/string_utils.d.ts +3 -0
- package/dist/url_utils.d.ts +11 -0
- package/package.json +60 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type ExternalMutationTracker from './Rendering/ExternalMutationTracker';
|
|
2
|
+
export declare function executeMorphdom(rootFromElement: HTMLElement, rootToElement: HTMLElement, modifiedFieldElements: Array<HTMLElement>, getElementValue: (element: HTMLElement) => any, externalMutationTracker: ExternalMutationTracker): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function normalizeAttributesForComparison(element: HTMLElement): void;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class UrlUtils extends URL {
|
|
2
|
+
has(key: string): boolean;
|
|
3
|
+
set(key: string, value: any): void;
|
|
4
|
+
get(key: string): any | undefined;
|
|
5
|
+
remove(key: string): void;
|
|
6
|
+
private getData;
|
|
7
|
+
private setData;
|
|
8
|
+
}
|
|
9
|
+
export declare class HistoryStrategy {
|
|
10
|
+
static replace(url: URL): void;
|
|
11
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@symfony/ux-live-component",
|
|
3
|
+
"description": "Live Component: bring server-side re-rendering & model binding to any element.",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"version": "2.23.0",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"symfony-ux",
|
|
8
|
+
"twig",
|
|
9
|
+
"components"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://ux.symfony.com/live-component",
|
|
12
|
+
"repository": "https://github.com/symfony/ux-live-component",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"main": "dist/live_controller.js",
|
|
18
|
+
"types": "dist/live_controller.d.ts",
|
|
19
|
+
"config": {
|
|
20
|
+
"css_source": "styles/live.css"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "node ../../../bin/build_package.js .",
|
|
24
|
+
"watch": "node ../../../bin/build_package.js . --watch",
|
|
25
|
+
"test": "../../../bin/test_package.sh .",
|
|
26
|
+
"check": "biome check",
|
|
27
|
+
"ci": "biome ci"
|
|
28
|
+
},
|
|
29
|
+
"symfony": {
|
|
30
|
+
"controllers": {
|
|
31
|
+
"live": {
|
|
32
|
+
"main": "dist/live_controller.js",
|
|
33
|
+
"name": "live",
|
|
34
|
+
"webpackMode": "eager",
|
|
35
|
+
"fetch": "eager",
|
|
36
|
+
"enabled": true,
|
|
37
|
+
"autoimport": {
|
|
38
|
+
"@symfony/ux-live-component/dist/live.min.css": true
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"importmap": {
|
|
43
|
+
"@hotwired/stimulus": "^3.0.0",
|
|
44
|
+
"@symfony/ux-live-component": "path:%PACKAGE%/dist/live_controller.js"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"idiomorph": "^0.3.0"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"@hotwired/stimulus": "^3.0.0"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@hotwired/stimulus": "^3.0.0",
|
|
55
|
+
"@testing-library/dom": "^7.31.0",
|
|
56
|
+
"@testing-library/user-event": "^13.1.9",
|
|
57
|
+
"@types/node-fetch": "^2.6.2",
|
|
58
|
+
"node-fetch": "^2.6.1"
|
|
59
|
+
}
|
|
60
|
+
}
|