element-less 0.0.8 → 0.0.10
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/custom/data-modal/index.d.ts +1 -1
- package/custom/data-modal/src/dataModal.vue.d.ts +1 -1
- package/custom/dynamic/common/hooks/index.d.ts +19 -2
- package/custom/dynamic/common/propertys/div.d.ts +100 -0
- package/custom/dynamic/common/propertys/image.d.ts +209 -0
- package/custom/dynamic/common/propertys/index.d.ts +3 -0
- package/custom/dynamic/common/propertys/select.d.ts +443 -180
- package/custom/dynamic/common/propertys/tag.d.ts +120 -3
- package/custom/dynamic/common/propertys/text.d.ts +186 -0
- package/custom/dynamic/render/src/innerItem.vue.d.ts +1 -8
- package/custom/menu-context/index.d.ts +4 -22
- package/custom/menu-context/src/menuContext.d.ts +0 -1
- package/custom/menu-context/src/menuContext.vue.d.ts +4 -22
- package/element-less.cjs +1 -1
- package/element-less.iife.js +1 -1
- package/element-less.js +1 -1
- package/element-less.umd.cjs +1 -1
- package/elementui/select/index.d.ts +5 -0
- package/elementui/select/src/select.d.ts +7 -0
- package/elementui/select/src/select.vue.d.ts +12 -0
- package/elementui/table/index.d.ts +1 -1
- package/elementui/table/src/table.d.ts +2 -0
- package/elementui/table/src/table.vue.d.ts +3 -1
- package/elementui/upload/index.d.ts +1 -1
- package/elementui/upload/src/upload.vue.d.ts +1 -1
- package/index-CFPPQMDb.cjs +1 -0
- package/{index-B27t8vvK.js → index-Cig-voSg.js} +1202 -210
- package/{innerItem-BsOfvFCR.cjs → innerItem-CG9tFZWx.cjs} +1 -1
- package/{innerItem-DAz6yQRH.js → innerItem-vzH3yn3m.js} +1 -1
- package/{mode-csharp-9AYRI2vd.cjs → mode-csharp-0fcUEF6U.cjs} +1 -1
- package/{mode-csharp-BH3u3Lz_.js → mode-csharp-CJYppySx.js} +1 -1
- package/{mode-css-CHfB4rk0.js → mode-css-CT2qzIxT.js} +1 -1
- package/{mode-css-ByDEfSiE.cjs → mode-css-QcqXaNmq.cjs} +1 -1
- package/{mode-javascript-BUpWtpG0.js → mode-javascript-BiP9yoWP.js} +1 -1
- package/{mode-javascript-DPO3g1nW.cjs → mode-javascript-DvlWhLv-.cjs} +1 -1
- package/{mode-json-DqanYWit.cjs → mode-json-D4gQolS_.cjs} +1 -1
- package/{mode-json-BwaIV5ov.js → mode-json-W24VUbho.js} +1 -1
- package/{mode-mysql-BPs90ZRf.cjs → mode-mysql-Cdzottjb.cjs} +1 -1
- package/{mode-mysql-DzS4SCkv.js → mode-mysql-D2Rn7oSL.js} +1 -1
- package/package.json +4 -12
- package/style.css +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/loadComponent.d.ts +8 -0
- package/README.md +0 -22
- package/index-Cz4dUhf5.cjs +0 -1
|
@@ -26,8 +26,8 @@ export declare const ElsDataModal: import('element-plus/es/utils/index').SFCWith
|
|
|
26
26
|
showMessage: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
27
27
|
inputWidth: string;
|
|
28
28
|
width: string;
|
|
29
|
-
multiple: boolean;
|
|
30
29
|
height: string;
|
|
30
|
+
multiple: boolean;
|
|
31
31
|
buttonProps: Record<string, any>;
|
|
32
32
|
buttonLabel: string;
|
|
33
33
|
hasInput: import('element-plus/es/utils/index').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -149,8 +149,8 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
149
149
|
showMessage: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
150
150
|
inputWidth: string;
|
|
151
151
|
width: string;
|
|
152
|
-
multiple: boolean;
|
|
153
152
|
height: string;
|
|
153
|
+
multiple: boolean;
|
|
154
154
|
buttonProps: Record<string, any>;
|
|
155
155
|
buttonLabel: string;
|
|
156
156
|
hasInput: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function useDesigner(props: any, nodeItem: any): {
|
|
2
2
|
isMobile: boolean;
|
|
3
3
|
componentProps: import('vue').ComputedRef<any>;
|
|
4
4
|
formProps: import('vue').ComputedRef<any>;
|
|
@@ -6,7 +6,24 @@ export declare function useRender(props: any, nodeItem: any, modelValue?: any, s
|
|
|
6
6
|
getParentNode: Function;
|
|
7
7
|
getNodeValue: Function;
|
|
8
8
|
getArrayNodeValue: Function;
|
|
9
|
-
|
|
9
|
+
getGlobalData: Function;
|
|
10
|
+
getCurrNode: () => any;
|
|
11
|
+
renderProps: (baseProps: any) => any;
|
|
12
|
+
renderContent: (content: string) => any;
|
|
13
|
+
renderEvent: (eventExpress: string) => any;
|
|
14
|
+
renderIf: () => any;
|
|
15
|
+
renderValueChange: (val: any) => any;
|
|
16
|
+
renderDisabled: () => any;
|
|
17
|
+
};
|
|
18
|
+
export declare function useRender(props: any, nodeItem: any, modelValue?: any, slotValue?: any, isDesigner?: boolean): {
|
|
19
|
+
isMobile: boolean;
|
|
20
|
+
componentProps: import('vue').ComputedRef<any>;
|
|
21
|
+
formProps: import('vue').ComputedRef<any>;
|
|
22
|
+
getRootNode: Function;
|
|
23
|
+
getParentNode: Function;
|
|
24
|
+
getNodeValue: Function;
|
|
25
|
+
getArrayNodeValue: Function;
|
|
26
|
+
getGlobalData: Function;
|
|
10
27
|
getCurrNode: () => any;
|
|
11
28
|
renderProps: (baseProps: any) => any;
|
|
12
29
|
renderContent: (content: string) => any;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
export declare const property_div: {
|
|
2
|
+
keyID: string;
|
|
3
|
+
keyName: string;
|
|
4
|
+
keyCode: string;
|
|
5
|
+
children: ({
|
|
6
|
+
keyID: string;
|
|
7
|
+
keyName: string;
|
|
8
|
+
keyCode: string;
|
|
9
|
+
children: never[];
|
|
10
|
+
dataType: string;
|
|
11
|
+
arrayDataType: string;
|
|
12
|
+
componentTypeLabel: string;
|
|
13
|
+
componentType: string;
|
|
14
|
+
icon: string;
|
|
15
|
+
slots: never[];
|
|
16
|
+
config: {
|
|
17
|
+
formConfig: {};
|
|
18
|
+
baseConfig: {
|
|
19
|
+
type: string;
|
|
20
|
+
dataType: number;
|
|
21
|
+
data: {
|
|
22
|
+
label: string;
|
|
23
|
+
value: string;
|
|
24
|
+
}[];
|
|
25
|
+
};
|
|
26
|
+
advancedConfig: {};
|
|
27
|
+
arrayConfig: {};
|
|
28
|
+
};
|
|
29
|
+
defaultValue: string;
|
|
30
|
+
operateType?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
keyID: string;
|
|
33
|
+
keyName: string;
|
|
34
|
+
keyCode: string;
|
|
35
|
+
children: never[];
|
|
36
|
+
dataType: string;
|
|
37
|
+
arrayDataType: string;
|
|
38
|
+
componentTypeLabel: string;
|
|
39
|
+
componentType: string;
|
|
40
|
+
icon: string;
|
|
41
|
+
slots: never[];
|
|
42
|
+
config: {
|
|
43
|
+
formConfig: {};
|
|
44
|
+
baseConfig: {
|
|
45
|
+
type: string;
|
|
46
|
+
dataType: number;
|
|
47
|
+
data: {
|
|
48
|
+
label: string;
|
|
49
|
+
value: string;
|
|
50
|
+
}[];
|
|
51
|
+
};
|
|
52
|
+
advancedConfig: {};
|
|
53
|
+
arrayConfig: {};
|
|
54
|
+
};
|
|
55
|
+
defaultValue?: undefined;
|
|
56
|
+
operateType?: undefined;
|
|
57
|
+
} | {
|
|
58
|
+
keyID: string;
|
|
59
|
+
keyName: string;
|
|
60
|
+
keyCode: string;
|
|
61
|
+
children: never[];
|
|
62
|
+
dataType: string;
|
|
63
|
+
arrayDataType: string;
|
|
64
|
+
componentTypeLabel: string;
|
|
65
|
+
componentType: string;
|
|
66
|
+
icon: string;
|
|
67
|
+
operateType: string;
|
|
68
|
+
slots: never[];
|
|
69
|
+
config: {
|
|
70
|
+
formConfig: {};
|
|
71
|
+
baseConfig: {
|
|
72
|
+
type?: undefined;
|
|
73
|
+
dataType?: undefined;
|
|
74
|
+
data?: undefined;
|
|
75
|
+
};
|
|
76
|
+
advancedConfig: {};
|
|
77
|
+
arrayConfig: {};
|
|
78
|
+
};
|
|
79
|
+
defaultValue?: undefined;
|
|
80
|
+
})[];
|
|
81
|
+
dataType: string;
|
|
82
|
+
arrayDataType: string;
|
|
83
|
+
componentTypeLabel: string;
|
|
84
|
+
componentType: string;
|
|
85
|
+
config: {
|
|
86
|
+
baseConfig: {
|
|
87
|
+
labelPosition: string;
|
|
88
|
+
labelWidth: string;
|
|
89
|
+
labelSuffix: string;
|
|
90
|
+
requireAsteriskPosition: string;
|
|
91
|
+
};
|
|
92
|
+
advancedConfig: {
|
|
93
|
+
style: string;
|
|
94
|
+
vif: string;
|
|
95
|
+
disabled: string;
|
|
96
|
+
eventChange: string;
|
|
97
|
+
};
|
|
98
|
+
arrayConfig: {};
|
|
99
|
+
};
|
|
100
|
+
}[];
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
export declare const property_image: {
|
|
2
|
+
keyID: string;
|
|
3
|
+
keyName: string;
|
|
4
|
+
keyCode: string;
|
|
5
|
+
children: ({
|
|
6
|
+
keyID: string;
|
|
7
|
+
keyName: string;
|
|
8
|
+
keyCode: string;
|
|
9
|
+
children: never[];
|
|
10
|
+
dataType: string;
|
|
11
|
+
arrayDataType: string;
|
|
12
|
+
componentTypeLabel: string;
|
|
13
|
+
componentType: string;
|
|
14
|
+
icon: string;
|
|
15
|
+
operateType: string;
|
|
16
|
+
slots: never[];
|
|
17
|
+
config: {
|
|
18
|
+
formConfig: {};
|
|
19
|
+
baseConfig: {
|
|
20
|
+
width: string;
|
|
21
|
+
placeholder: string;
|
|
22
|
+
prefixIcon: string;
|
|
23
|
+
suffixIcon: string;
|
|
24
|
+
prefixTag: string;
|
|
25
|
+
suffixTag: string;
|
|
26
|
+
maxlength: string;
|
|
27
|
+
clearable: boolean;
|
|
28
|
+
gutter?: undefined;
|
|
29
|
+
justify?: undefined;
|
|
30
|
+
align?: undefined;
|
|
31
|
+
tag?: undefined;
|
|
32
|
+
};
|
|
33
|
+
advancedConfig: {};
|
|
34
|
+
arrayConfig: {};
|
|
35
|
+
};
|
|
36
|
+
} | {
|
|
37
|
+
keyID: string;
|
|
38
|
+
keyName: string;
|
|
39
|
+
keyCode: string;
|
|
40
|
+
children: never[];
|
|
41
|
+
dataType: string;
|
|
42
|
+
arrayDataType: string;
|
|
43
|
+
componentTypeLabel: string;
|
|
44
|
+
componentType: string;
|
|
45
|
+
icon: string;
|
|
46
|
+
operateType: string;
|
|
47
|
+
slots: never[];
|
|
48
|
+
config: {
|
|
49
|
+
formConfig: {};
|
|
50
|
+
baseConfig: {
|
|
51
|
+
width?: undefined;
|
|
52
|
+
placeholder?: undefined;
|
|
53
|
+
prefixIcon?: undefined;
|
|
54
|
+
suffixIcon?: undefined;
|
|
55
|
+
prefixTag?: undefined;
|
|
56
|
+
suffixTag?: undefined;
|
|
57
|
+
maxlength?: undefined;
|
|
58
|
+
clearable?: undefined;
|
|
59
|
+
gutter?: undefined;
|
|
60
|
+
justify?: undefined;
|
|
61
|
+
align?: undefined;
|
|
62
|
+
tag?: undefined;
|
|
63
|
+
};
|
|
64
|
+
advancedConfig: {};
|
|
65
|
+
arrayConfig: {};
|
|
66
|
+
};
|
|
67
|
+
} | {
|
|
68
|
+
keyID: string;
|
|
69
|
+
keyName: string;
|
|
70
|
+
keyCode: string;
|
|
71
|
+
children: {
|
|
72
|
+
keyID: string;
|
|
73
|
+
keyName: string;
|
|
74
|
+
keyCode: string;
|
|
75
|
+
children: never[];
|
|
76
|
+
dataType: string;
|
|
77
|
+
arrayDataType: string;
|
|
78
|
+
componentTypeLabel: string;
|
|
79
|
+
componentType: string;
|
|
80
|
+
icon: string;
|
|
81
|
+
operateType: string;
|
|
82
|
+
slots: never[];
|
|
83
|
+
config: {
|
|
84
|
+
formConfig: {};
|
|
85
|
+
baseConfig: {};
|
|
86
|
+
advancedConfig: {};
|
|
87
|
+
arrayConfig: {};
|
|
88
|
+
};
|
|
89
|
+
}[];
|
|
90
|
+
dataType: string;
|
|
91
|
+
arrayDataType: string;
|
|
92
|
+
componentTypeLabel: string;
|
|
93
|
+
componentType: string;
|
|
94
|
+
icon: string;
|
|
95
|
+
slots: never[];
|
|
96
|
+
config: {
|
|
97
|
+
formConfig: {};
|
|
98
|
+
baseConfig: {
|
|
99
|
+
gutter: number;
|
|
100
|
+
justify: string;
|
|
101
|
+
align: string;
|
|
102
|
+
tag: string;
|
|
103
|
+
width?: undefined;
|
|
104
|
+
placeholder?: undefined;
|
|
105
|
+
prefixIcon?: undefined;
|
|
106
|
+
suffixIcon?: undefined;
|
|
107
|
+
prefixTag?: undefined;
|
|
108
|
+
suffixTag?: undefined;
|
|
109
|
+
maxlength?: undefined;
|
|
110
|
+
clearable?: undefined;
|
|
111
|
+
};
|
|
112
|
+
advancedConfig: {};
|
|
113
|
+
arrayConfig: {};
|
|
114
|
+
};
|
|
115
|
+
operateType?: undefined;
|
|
116
|
+
} | {
|
|
117
|
+
keyID: string;
|
|
118
|
+
keyName: string;
|
|
119
|
+
keyCode: string;
|
|
120
|
+
children: ({
|
|
121
|
+
keyID: string;
|
|
122
|
+
keyName: string;
|
|
123
|
+
keyCode: string;
|
|
124
|
+
children: never[];
|
|
125
|
+
dataType: string;
|
|
126
|
+
arrayDataType: string;
|
|
127
|
+
componentTypeLabel: string;
|
|
128
|
+
componentType: string;
|
|
129
|
+
icon: string;
|
|
130
|
+
slots: never[];
|
|
131
|
+
config: {
|
|
132
|
+
formConfig: {};
|
|
133
|
+
baseConfig: {
|
|
134
|
+
"active-value": boolean;
|
|
135
|
+
"inactive-value": boolean;
|
|
136
|
+
};
|
|
137
|
+
advancedConfig: {};
|
|
138
|
+
arrayConfig: {};
|
|
139
|
+
};
|
|
140
|
+
defaultValue: boolean;
|
|
141
|
+
} | {
|
|
142
|
+
keyID: string;
|
|
143
|
+
keyName: string;
|
|
144
|
+
keyCode: string;
|
|
145
|
+
children: never[];
|
|
146
|
+
dataType: string;
|
|
147
|
+
arrayDataType: string;
|
|
148
|
+
componentTypeLabel: string;
|
|
149
|
+
componentType: string;
|
|
150
|
+
icon: string;
|
|
151
|
+
slots: never[];
|
|
152
|
+
config: {
|
|
153
|
+
formConfig: {};
|
|
154
|
+
baseConfig: {
|
|
155
|
+
"active-value": boolean;
|
|
156
|
+
"inactive-value": boolean;
|
|
157
|
+
};
|
|
158
|
+
advancedConfig: {};
|
|
159
|
+
arrayConfig: {};
|
|
160
|
+
};
|
|
161
|
+
defaultValue?: undefined;
|
|
162
|
+
})[];
|
|
163
|
+
dataType: string;
|
|
164
|
+
arrayDataType: string;
|
|
165
|
+
componentTypeLabel: string;
|
|
166
|
+
componentType: string;
|
|
167
|
+
icon: string;
|
|
168
|
+
slots: never[];
|
|
169
|
+
config: {
|
|
170
|
+
formConfig: {};
|
|
171
|
+
baseConfig: {
|
|
172
|
+
gutter: number;
|
|
173
|
+
justify: string;
|
|
174
|
+
align: string;
|
|
175
|
+
tag: string;
|
|
176
|
+
width?: undefined;
|
|
177
|
+
placeholder?: undefined;
|
|
178
|
+
prefixIcon?: undefined;
|
|
179
|
+
suffixIcon?: undefined;
|
|
180
|
+
prefixTag?: undefined;
|
|
181
|
+
suffixTag?: undefined;
|
|
182
|
+
maxlength?: undefined;
|
|
183
|
+
clearable?: undefined;
|
|
184
|
+
};
|
|
185
|
+
advancedConfig: {};
|
|
186
|
+
arrayConfig: {};
|
|
187
|
+
};
|
|
188
|
+
operateType?: undefined;
|
|
189
|
+
})[];
|
|
190
|
+
dataType: string;
|
|
191
|
+
arrayDataType: string;
|
|
192
|
+
componentTypeLabel: string;
|
|
193
|
+
componentType: string;
|
|
194
|
+
config: {
|
|
195
|
+
baseConfig: {
|
|
196
|
+
labelPosition: string;
|
|
197
|
+
labelWidth: string;
|
|
198
|
+
labelSuffix: string;
|
|
199
|
+
requireAsteriskPosition: string;
|
|
200
|
+
};
|
|
201
|
+
advancedConfig: {
|
|
202
|
+
style: string;
|
|
203
|
+
vif: string;
|
|
204
|
+
disabled: string;
|
|
205
|
+
eventChange: string;
|
|
206
|
+
};
|
|
207
|
+
arrayConfig: {};
|
|
208
|
+
};
|
|
209
|
+
}[];
|