x-runtime-lib 0.8.24 → 0.8.25
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/dist/index.js +349 -384
- package/dist/types/kind.d.ts +0 -8
- package/package.json +1 -1
package/dist/types/kind.d.ts
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
export type PropertyKind = 'elementProperty' | 'refProperty' | 'customProperty' | 'elementSlotProperty' | 'customSlotProperty';
|
|
2
2
|
export declare function isLocaleOfPropertyKind(kind: PropertyKind): kind is "elementProperty" | "elementSlotProperty";
|
|
3
|
-
export declare function wrapPropertyKey(kind: PropertyKind, key: string): string;
|
|
4
|
-
export declare function unwrapPropertyKey(wrapKey: string): [PropertyKind, string];
|
|
5
|
-
export declare function makeUniquePropertyId(kind: EventKind, propKey: string, nodeId: string): string;
|
|
6
3
|
export type MethodKind = 'elementMethod' | 'refMethod' | 'customMethod' | 'elementSlotMethod' | 'customSlotMethod';
|
|
7
4
|
export declare function isLocaleOfMethodKind(kind: MethodKind): kind is "elementMethod" | "elementSlotMethod";
|
|
8
|
-
export declare function wrapMethodKey(kind: MethodKind, key: string): string;
|
|
9
|
-
export declare function unwrapMethodKey(wrapKey: string): [MethodKind, string];
|
|
10
|
-
export declare function makeUniqueMethodId(kind: MethodKind, methodKey: string, nodeId: string): string;
|
|
11
5
|
export type EventKind = 'elementEvent' | 'refEvent' | 'customEvent' | 'elementPropertyChangeEvent' | 'customPropertyChangeEvent' | 'stateChangeEvent';
|
|
12
6
|
export declare function isLocaleOfEventKind(kind: EventKind): kind is "elementEvent" | "elementPropertyChangeEvent";
|
|
13
|
-
export declare function wrapEventKey(kind: EventKind, key: string): string;
|
|
14
|
-
export declare function unwrapEventKey(wrapKey: string): [EventKind, string];
|
|
15
7
|
export declare function makeUniqueEventId(kind: EventKind, eventKey: string, nodeId: string): string;
|