x-runtime-lib 0.8.189 → 0.8.191
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/element/_common/global/index.d.ts +5 -2
- package/dist/index.js +757 -782
- package/dist/types/data.d.ts +4 -38
- package/package.json +1 -1
package/dist/types/data.d.ts
CHANGED
|
@@ -29,50 +29,16 @@ export interface View {
|
|
|
29
29
|
[key: string]: Node;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
interface
|
|
33
|
-
type: '
|
|
34
|
-
nodeId: string;
|
|
35
|
-
propertyKeys: string;
|
|
36
|
-
}
|
|
37
|
-
interface TriggerElementSlotProperty {
|
|
38
|
-
type: 'elementSlotProperty';
|
|
39
|
-
nodeId: string;
|
|
40
|
-
elementKey: string;
|
|
41
|
-
slotKey: string;
|
|
42
|
-
propertyKey: string;
|
|
43
|
-
}
|
|
44
|
-
interface TriggerMultipleElementSlotProperty {
|
|
45
|
-
type: 'multipleElementSlotProperty';
|
|
46
|
-
nodeId: string;
|
|
47
|
-
spec: string;
|
|
48
|
-
elementKey: string;
|
|
49
|
-
slotKey: string;
|
|
50
|
-
propertyKey: string;
|
|
51
|
-
}
|
|
52
|
-
interface TriggerCustomSlotProperty {
|
|
53
|
-
type: 'customSlotProperty';
|
|
54
|
-
compId: string;
|
|
55
|
-
slotId: string;
|
|
56
|
-
propertyId: string;
|
|
57
|
-
}
|
|
58
|
-
interface TriggerMultipleCustomSlotProperty {
|
|
59
|
-
type: 'multipleCustomSlotProperty';
|
|
60
|
-
spec: string;
|
|
61
|
-
compId: string;
|
|
62
|
-
slotId: string;
|
|
63
|
-
propertyId: string;
|
|
64
|
-
}
|
|
65
|
-
interface TriggerCustomProperty {
|
|
66
|
-
type: 'customProperty';
|
|
32
|
+
interface TriggerProperty {
|
|
33
|
+
type: 'property';
|
|
67
34
|
propertyId: string;
|
|
35
|
+
spec?: string;
|
|
68
36
|
}
|
|
69
37
|
interface TriggerState {
|
|
70
38
|
type: 'state';
|
|
71
39
|
stateId: string;
|
|
72
40
|
}
|
|
73
|
-
export type Trigger =
|
|
74
|
-
subKeys?: string;
|
|
75
|
-
};
|
|
41
|
+
export type Trigger = TriggerProperty | TriggerState;
|
|
76
42
|
export interface Reactivity {
|
|
77
43
|
watchEffect: {
|
|
78
44
|
[key: string]: string[];
|