@zyui/components 0.0.64 → 0.0.65
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 +66 -66
- package/es/index.mjs +11132 -11086
- package/es/src/components/NodesEditor/NodesProvider.vue.d.ts +9 -0
- package/es/src/components/NodesEditor/context.d.ts +1 -0
- package/es/src/components/NodesEditor/helper.d.ts +0 -7
- package/es/src/components/NodesEditor/index.vue.d.ts +9 -0
- package/es/src/components/UserPicker/index.vue.d.ts +9 -0
- package/es/src/components/UserPicker/userPickerDisplay.vue.d.ts +9 -0
- package/es/style.css +1 -1
- package/lib/src/components/NodesEditor/NodesProvider.vue.d.ts +9 -0
- package/lib/src/components/NodesEditor/context.d.ts +1 -0
- package/lib/src/components/NodesEditor/helper.d.ts +0 -7
- package/lib/src/components/NodesEditor/index.vue.d.ts +9 -0
- package/lib/src/components/UserPicker/index.vue.d.ts +9 -0
- package/lib/src/components/UserPicker/userPickerDisplay.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: StringConstructor;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
|
+
disabledNodes: {
|
|
26
|
+
type: ArrayConstructor;
|
|
27
|
+
default: () => never[];
|
|
28
|
+
};
|
|
25
29
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
26
30
|
formData: import('vue').PropType<any>;
|
|
27
31
|
nodes: import('vue').PropType<any>;
|
|
@@ -41,9 +45,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
41
45
|
type: StringConstructor;
|
|
42
46
|
default: string;
|
|
43
47
|
};
|
|
48
|
+
disabledNodes: {
|
|
49
|
+
type: ArrayConstructor;
|
|
50
|
+
default: () => never[];
|
|
51
|
+
};
|
|
44
52
|
}>> & Readonly<{}>, {
|
|
45
53
|
modelValue: string;
|
|
46
54
|
renderType: RenderType;
|
|
55
|
+
disabledNodes: unknown[];
|
|
47
56
|
editorId: string;
|
|
48
57
|
inputTypes: unknown[];
|
|
49
58
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -11,6 +11,7 @@ type NodesEditorContext = {
|
|
|
11
11
|
selectNodes?: NodeItem[];
|
|
12
12
|
updateSelectNodes?: (node: NodeItem[]) => void;
|
|
13
13
|
editorId?: string;
|
|
14
|
+
disabledNodes?: Ref<NodeItem[]>;
|
|
14
15
|
};
|
|
15
16
|
export declare const nodesEditorKey: unique symbol;
|
|
16
17
|
export declare const useNodesEditorContext: () => NodesEditorContext;
|
|
@@ -7,13 +7,6 @@ import { NodeItem, NodesGroups, WrappedNode } from './type';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare function getElementnodePath(element: HTMLElement): string | null;
|
|
9
9
|
export declare function getElementById(id: string, container: HTMLElement | null): HTMLElement | null;
|
|
10
|
-
/**
|
|
11
|
-
* 通过node获取element,如果没有则创建
|
|
12
|
-
* @param node
|
|
13
|
-
* @param container
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function getElementBynode(node: NodeItem, container: HTMLElement | null): void;
|
|
17
10
|
/**
|
|
18
11
|
* 通过nodePath获取元素
|
|
19
12
|
* @param nodePath - nodePath路径
|
|
@@ -39,6 +39,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
+
disabledNodes: {
|
|
43
|
+
type: ArrayConstructor;
|
|
44
|
+
default: () => never[];
|
|
45
|
+
};
|
|
42
46
|
}>, {
|
|
43
47
|
formRef: {
|
|
44
48
|
validate: () => any;
|
|
@@ -82,6 +86,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
82
86
|
type: StringConstructor;
|
|
83
87
|
default: string;
|
|
84
88
|
};
|
|
89
|
+
disabledNodes: {
|
|
90
|
+
type: ArrayConstructor;
|
|
91
|
+
default: () => never[];
|
|
92
|
+
};
|
|
85
93
|
}>> & Readonly<{
|
|
86
94
|
onOnSelectedNodes?: ((...args: any[]) => any) | undefined;
|
|
87
95
|
"onUpdate:nodes"?: ((...args: any[]) => any) | undefined;
|
|
@@ -92,6 +100,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
92
100
|
nodes: unknown[];
|
|
93
101
|
formData: Record<string, any>;
|
|
94
102
|
renderType: RenderType;
|
|
103
|
+
disabledNodes: unknown[];
|
|
95
104
|
inputTypes: unknown[];
|
|
96
105
|
nodesGroups: unknown[];
|
|
97
106
|
pagesize: string;
|
|
@@ -28,6 +28,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
28
28
|
type: PropType<string[]>;
|
|
29
29
|
default: () => never[];
|
|
30
30
|
};
|
|
31
|
+
disabled: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
31
35
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
32
36
|
ok: (...args: any[]) => void;
|
|
33
37
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -52,11 +56,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
52
56
|
type: PropType<string[]>;
|
|
53
57
|
default: () => never[];
|
|
54
58
|
};
|
|
59
|
+
disabled: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
55
63
|
}>> & Readonly<{
|
|
56
64
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
57
65
|
}>, {
|
|
58
66
|
isAbbr: boolean;
|
|
59
67
|
showCount: number;
|
|
68
|
+
disabled: boolean;
|
|
60
69
|
multiple: boolean;
|
|
61
70
|
disabledIds: string[];
|
|
62
71
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -11,6 +11,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
11
11
|
type: NumberConstructor;
|
|
12
12
|
default: number;
|
|
13
13
|
};
|
|
14
|
+
disabled: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
14
18
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
19
|
click: (...args: any[]) => void;
|
|
16
20
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
@@ -26,11 +30,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
26
30
|
type: NumberConstructor;
|
|
27
31
|
default: number;
|
|
28
32
|
};
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
29
37
|
}>> & Readonly<{
|
|
30
38
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
31
39
|
}>, {
|
|
32
40
|
value: unknown[];
|
|
33
41
|
isAbbr: boolean;
|
|
34
42
|
showCount: number;
|
|
43
|
+
disabled: boolean;
|
|
35
44
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
36
45
|
export default _default;
|