@zyui/components 1.0.19 → 1.0.21
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/es/index.js +69 -69
- package/es/index.mjs +11309 -11297
- package/es/src/components/NodesEditor/NodesUIProvider.vue.d.ts +9 -0
- package/es/src/components/NodesEditor/contextUI.d.ts +2 -0
- package/es/src/components/NodesEditor/index.vue.d.ts +9 -0
- package/es/style.css +1 -1
- package/lib/src/components/NodesEditor/NodesUIProvider.vue.d.ts +9 -0
- package/lib/src/components/NodesEditor/contextUI.d.ts +2 -0
- package/lib/src/components/NodesEditor/index.vue.d.ts +9 -0
- package/package.json +1 -1
|
@@ -22,6 +22,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
22
22
|
type: any;
|
|
23
23
|
default: () => void;
|
|
24
24
|
};
|
|
25
|
+
selectable: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
25
29
|
}>, {
|
|
26
30
|
setSelectedNodes: (values: any) => void;
|
|
27
31
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -48,11 +52,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
48
52
|
type: any;
|
|
49
53
|
default: () => void;
|
|
50
54
|
};
|
|
55
|
+
selectable: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
51
59
|
}>> & Readonly<{
|
|
52
60
|
onOnSelectedNodes?: ((...args: any[]) => any) | undefined;
|
|
53
61
|
"onUpdate:selectedNodes"?: ((...args: any[]) => any) | undefined;
|
|
54
62
|
}>, {
|
|
55
63
|
nodes: unknown[];
|
|
64
|
+
selectable: boolean;
|
|
56
65
|
selectedNodes: unknown[];
|
|
57
66
|
editorId: string;
|
|
58
67
|
htmlRenderRef: any;
|
|
@@ -35,6 +35,8 @@ export type NodesUIContext = {
|
|
|
35
35
|
uiReady: Ref<boolean>;
|
|
36
36
|
nodesGroups?: Ref<NodesGroups[]>;
|
|
37
37
|
isFocused: Ref<boolean>;
|
|
38
|
+
/** 是否可选择 */
|
|
39
|
+
selectable?: Ref<boolean>;
|
|
38
40
|
};
|
|
39
41
|
export declare const nodesUIKey: unique symbol;
|
|
40
42
|
export declare const useNodesUIContext: () => NodesUIContext;
|
|
@@ -75,6 +75,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
75
75
|
type: ObjectConstructor;
|
|
76
76
|
default: () => {};
|
|
77
77
|
};
|
|
78
|
+
selectable: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
78
82
|
}>, {
|
|
79
83
|
formRef: {
|
|
80
84
|
validate: () => any;
|
|
@@ -160,6 +164,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
160
164
|
type: ObjectConstructor;
|
|
161
165
|
default: () => {};
|
|
162
166
|
};
|
|
167
|
+
selectable: {
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
163
171
|
}>> & Readonly<{
|
|
164
172
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
165
173
|
onOnSelectedNodes?: ((...args: any[]) => any) | undefined;
|
|
@@ -170,6 +178,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
170
178
|
modelValue: string;
|
|
171
179
|
id: string;
|
|
172
180
|
nodes: unknown[];
|
|
181
|
+
selectable: boolean;
|
|
173
182
|
formData: Record<string, any>;
|
|
174
183
|
renderType: RenderType;
|
|
175
184
|
disabledNodes: unknown[];
|