@cicctencent/low-code-editor 1.1.9-beta.5 → 1.1.9-beta.6
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/ActivityBar/index.vue.d.ts +7 -7
- package/dist/ComponentTree/components/List.vue.d.ts +6 -6
- package/dist/ComponentTree/index.vue.d.ts +6 -6
- package/dist/DataSource/index.vue.d.ts +6 -6
- package/dist/HeaderBar/components/BarTooltip.vue.d.ts +5 -5
- package/dist/HeaderBar/index.vue.d.ts +6 -6
- package/dist/NavTree/index.vue.d.ts +6 -6
- package/dist/SchemaConfig/index.vue.d.ts +7 -7
- package/dist/SidebarPane/index.vue.d.ts +6 -6
- package/dist/components/ComponentTreeFavorites/components/List.vue.d.ts +6 -6
- package/dist/components/ComponentTreeFavorites/components/Tips.vue.d.ts +5 -5
- package/dist/components/ComponentTreeFavorites/index.vue.d.ts +6 -6
- package/dist/components/ImageGuide/index.vue.d.ts +6 -6
- package/dist/components.d.ts +3 -3
- package/dist/composables/useComponentTree.d.ts +2 -2
- package/dist/domain/EditorDomain.d.ts +1 -1
- package/dist/editor.d.ts +195 -15
- package/dist/editor.vue.d.ts +6 -6
- package/dist/formily/DataBinding/index.vue.d.ts +7 -7
- package/dist/formily/MenuTable/PageList.vue.d.ts +6 -6
- package/dist/formily/MenuTable/index.vue.d.ts +6 -6
- package/dist/formily/MenuTable/useMenuTable.d.ts +2 -227
- package/dist/index.css +564 -564
- package/dist/index.d.ts +13 -13
- package/dist/index.js +11006 -2489
- package/package.json +7 -3
- package/src/ActivityBar/index.vue +2 -2
- package/src/ComponentTree/components/List.vue +2 -2
- package/src/ComponentTree/index.vue +2 -2
- package/src/DataSource/index.vue +2 -2
- package/src/HeaderBar/components/BarDialog.vue +1 -1
- package/src/HeaderBar/index.vue +1 -1
- package/src/NavTree/index.vue +2 -2
- package/src/SchemaConfig/index.vue +1 -1
- package/src/SidebarPane/index.vue +1 -1
- package/src/components/ComponentTreeFavorites/components/List.vue +2 -2
- package/src/components/ComponentTreeFavorites/index.vue +2 -2
- package/src/domain/EditorDomain.ts +1 -1
- package/src/editor.ts +1 -1
- package/src/editor.vue +1 -1
- package/src/formily/DataBinding/index.vue +2 -2
- package/src/formily/MenuTable/PageList.vue +1 -1
- package/src/formily/MenuTable/index.vue +1 -1
- package/src/formily/MenuTable/useMenuTable.ts +1 -1
- package/src/formily/SidebarPane/index.vue +1 -1
package/dist/editor.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CheckResponseItem, LowCodeKey, SendReq } from '@
|
|
1
|
+
import { CheckResponseItem, LowCodeKey, SendReq } from '@cicctencent/low-code-core';
|
|
2
2
|
export default function (props: any, emits: any): {
|
|
3
|
-
menuData: import("vue").Ref<any[]>;
|
|
4
|
-
guideVisible: import("vue").Ref<boolean>;
|
|
5
|
-
guideData: import("vue").Ref<any>;
|
|
3
|
+
menuData: import("vue").Ref<any[], any[]>;
|
|
4
|
+
guideVisible: import("vue").Ref<boolean, boolean>;
|
|
5
|
+
guideData: import("vue").Ref<any, any>;
|
|
6
6
|
onUpdateScale: ({ key, scale }: {
|
|
7
7
|
key: any;
|
|
8
8
|
scale: any;
|
|
@@ -39,7 +39,7 @@ export default function (props: any, emits: any): {
|
|
|
39
39
|
onPreloadCloud: (url: any) => void;
|
|
40
40
|
onEditTitle: (key: any) => Promise<void>;
|
|
41
41
|
updateNavMenuConf: (navMenuConf: any) => void;
|
|
42
|
-
loading: import("vue").Ref<boolean>;
|
|
42
|
+
loading: import("vue").Ref<boolean, boolean>;
|
|
43
43
|
onUndo: ({ key }: {
|
|
44
44
|
key: any;
|
|
45
45
|
}) => Promise<void>;
|
|
@@ -52,7 +52,7 @@ export default function (props: any, emits: any): {
|
|
|
52
52
|
renderData: {
|
|
53
53
|
title: string;
|
|
54
54
|
width?: string;
|
|
55
|
-
schema: import("@
|
|
55
|
+
schema: import("@cicctencent/low-code-core").Schema;
|
|
56
56
|
formData: Record<string, any>;
|
|
57
57
|
confirmButton: {
|
|
58
58
|
text: string;
|
|
@@ -77,7 +77,7 @@ export default function (props: any, emits: any): {
|
|
|
77
77
|
onEditDialogConfirm: () => void;
|
|
78
78
|
onEditDialogCancel: () => void;
|
|
79
79
|
onDialogSchemaChange: (values: any) => void;
|
|
80
|
-
activeBarName: import("vue").Ref<string>;
|
|
80
|
+
activeBarName: import("vue").Ref<string, string>;
|
|
81
81
|
onDataSourceChange: ({ type, data }: {
|
|
82
82
|
type: any;
|
|
83
83
|
data: any;
|
|
@@ -86,10 +86,10 @@ export default function (props: any, emits: any): {
|
|
|
86
86
|
onGetMethodList: (done: any, entityId: any) => void;
|
|
87
87
|
onClick: () => void;
|
|
88
88
|
onInitValidateRule: (callback: any) => void;
|
|
89
|
-
timestamp: import("vue").Ref<number>;
|
|
89
|
+
timestamp: import("vue").Ref<number, number>;
|
|
90
90
|
send: (payload: SendReq) => Promise<Record<string, any>>;
|
|
91
|
-
navTreeRef: import("vue").Ref<any>;
|
|
92
|
-
project: import("vue").Ref<any>;
|
|
91
|
+
navTreeRef: import("vue").Ref<any, any>;
|
|
92
|
+
project: import("vue").Ref<any, any>;
|
|
93
93
|
config: import("vue").Ref<{
|
|
94
94
|
navTreeData?: {
|
|
95
95
|
key: {
|
|
@@ -100,7 +100,7 @@ export default function (props: any, emits: any): {
|
|
|
100
100
|
};
|
|
101
101
|
value: {
|
|
102
102
|
title: string;
|
|
103
|
-
type?: import("@
|
|
103
|
+
type?: import("@cicctencent/low-code-core").ComponentType;
|
|
104
104
|
key?: {
|
|
105
105
|
module?: string;
|
|
106
106
|
action?: string;
|
|
@@ -135,7 +135,182 @@ export default function (props: any, emits: any): {
|
|
|
135
135
|
list: (any | {
|
|
136
136
|
name: string;
|
|
137
137
|
isNoLogin?: boolean;
|
|
138
|
-
type: import("@
|
|
138
|
+
type: import("@cicctencent/low-code-core").ComponentType;
|
|
139
|
+
title: string;
|
|
140
|
+
icon: string;
|
|
141
|
+
key: {
|
|
142
|
+
module?: string;
|
|
143
|
+
action?: string;
|
|
144
|
+
component?: string;
|
|
145
|
+
path?: string;
|
|
146
|
+
};
|
|
147
|
+
})[];
|
|
148
|
+
}[];
|
|
149
|
+
};
|
|
150
|
+
functionData?: {
|
|
151
|
+
undo?: {
|
|
152
|
+
key: {
|
|
153
|
+
module?: string;
|
|
154
|
+
action?: string;
|
|
155
|
+
component?: string;
|
|
156
|
+
path?: string;
|
|
157
|
+
};
|
|
158
|
+
value?: boolean;
|
|
159
|
+
clickable?: boolean;
|
|
160
|
+
};
|
|
161
|
+
redo?: {
|
|
162
|
+
key: {
|
|
163
|
+
module?: string;
|
|
164
|
+
action?: string;
|
|
165
|
+
component?: string;
|
|
166
|
+
path?: string;
|
|
167
|
+
};
|
|
168
|
+
value?: boolean;
|
|
169
|
+
clickable?: boolean;
|
|
170
|
+
};
|
|
171
|
+
status?: {
|
|
172
|
+
key: {
|
|
173
|
+
module?: string;
|
|
174
|
+
action?: string;
|
|
175
|
+
component?: string;
|
|
176
|
+
path?: string;
|
|
177
|
+
};
|
|
178
|
+
value: string;
|
|
179
|
+
};
|
|
180
|
+
title?: {
|
|
181
|
+
key: {
|
|
182
|
+
module?: string;
|
|
183
|
+
action?: string;
|
|
184
|
+
component?: string;
|
|
185
|
+
path?: string;
|
|
186
|
+
};
|
|
187
|
+
value: string;
|
|
188
|
+
};
|
|
189
|
+
simulatorSizeList?: {
|
|
190
|
+
key: {
|
|
191
|
+
module?: string;
|
|
192
|
+
action?: string;
|
|
193
|
+
component?: string;
|
|
194
|
+
path?: string;
|
|
195
|
+
};
|
|
196
|
+
value: {
|
|
197
|
+
options: {
|
|
198
|
+
label: string;
|
|
199
|
+
value: {
|
|
200
|
+
width: number;
|
|
201
|
+
height: number;
|
|
202
|
+
};
|
|
203
|
+
name: string;
|
|
204
|
+
default?: boolean;
|
|
205
|
+
}[];
|
|
206
|
+
data: {
|
|
207
|
+
width: string;
|
|
208
|
+
height: string;
|
|
209
|
+
percent?: number;
|
|
210
|
+
sizeMode?: "auto" | "simulator";
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
save?: {
|
|
215
|
+
key: {
|
|
216
|
+
module?: string;
|
|
217
|
+
action?: string;
|
|
218
|
+
component?: string;
|
|
219
|
+
path?: string;
|
|
220
|
+
};
|
|
221
|
+
value?: {
|
|
222
|
+
readonly?: boolean;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
publish?: {
|
|
226
|
+
key: {
|
|
227
|
+
module?: string;
|
|
228
|
+
action?: string;
|
|
229
|
+
component?: string;
|
|
230
|
+
path?: string;
|
|
231
|
+
};
|
|
232
|
+
value?: {
|
|
233
|
+
readonly?: boolean;
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
schemaData?: {
|
|
238
|
+
key?: {
|
|
239
|
+
module?: string;
|
|
240
|
+
action?: string;
|
|
241
|
+
component?: string;
|
|
242
|
+
path?: string;
|
|
243
|
+
};
|
|
244
|
+
title?: string;
|
|
245
|
+
schema?: Record<string, any>;
|
|
246
|
+
data?: Record<string, any>;
|
|
247
|
+
componentId?: number;
|
|
248
|
+
};
|
|
249
|
+
activityBarList?: {
|
|
250
|
+
title: string;
|
|
251
|
+
name: string;
|
|
252
|
+
icon: string;
|
|
253
|
+
paneConfig: {
|
|
254
|
+
type: "float" | "fixed";
|
|
255
|
+
name: string;
|
|
256
|
+
showHeader: boolean;
|
|
257
|
+
};
|
|
258
|
+
}[];
|
|
259
|
+
primarySidebarData?: {
|
|
260
|
+
componentName: string;
|
|
261
|
+
componentProps: any;
|
|
262
|
+
sidebarPaneConfig: {
|
|
263
|
+
type: "float" | "fixed";
|
|
264
|
+
name: string;
|
|
265
|
+
showHeader: boolean;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
}, {
|
|
269
|
+
navTreeData?: {
|
|
270
|
+
key: {
|
|
271
|
+
module?: string;
|
|
272
|
+
action?: string;
|
|
273
|
+
component?: string;
|
|
274
|
+
path?: string;
|
|
275
|
+
};
|
|
276
|
+
value: {
|
|
277
|
+
title: string;
|
|
278
|
+
type?: import("@cicctencent/low-code-core").ComponentType;
|
|
279
|
+
key?: {
|
|
280
|
+
module?: string;
|
|
281
|
+
action?: string;
|
|
282
|
+
component?: string;
|
|
283
|
+
path?: string;
|
|
284
|
+
};
|
|
285
|
+
icon?: string;
|
|
286
|
+
activity?: boolean;
|
|
287
|
+
rightIcon?: {
|
|
288
|
+
key: {
|
|
289
|
+
module?: string;
|
|
290
|
+
action?: string;
|
|
291
|
+
component?: string;
|
|
292
|
+
path?: string;
|
|
293
|
+
};
|
|
294
|
+
icon: string;
|
|
295
|
+
};
|
|
296
|
+
children?: any[];
|
|
297
|
+
componentId?: number;
|
|
298
|
+
immobile?: boolean;
|
|
299
|
+
}[];
|
|
300
|
+
};
|
|
301
|
+
componentTreeData?: {
|
|
302
|
+
key: {
|
|
303
|
+
module?: string;
|
|
304
|
+
action?: string;
|
|
305
|
+
component?: string;
|
|
306
|
+
path?: string;
|
|
307
|
+
};
|
|
308
|
+
value: {
|
|
309
|
+
title: string;
|
|
310
|
+
list: (any | {
|
|
311
|
+
name: string;
|
|
312
|
+
isNoLogin?: boolean;
|
|
313
|
+
type: import("@cicctencent/low-code-core").ComponentType;
|
|
139
314
|
title: string;
|
|
140
315
|
icon: string;
|
|
141
316
|
key: {
|
|
@@ -271,10 +446,15 @@ export default function (props: any, emits: any): {
|
|
|
271
446
|
publish: (cmdname: string, data: Record<string, any>) => Promise<import("@jt/postmessage-channel").PostResponse>;
|
|
272
447
|
subscribe: (cmdname: string, callback: import("@jt/postmessage-channel").PostCallback) => import("@jt/postmessage-channel").Communicator;
|
|
273
448
|
destroy: () => void;
|
|
449
|
+
}, {
|
|
450
|
+
isReady: boolean;
|
|
451
|
+
publish: (cmdname: string, data: Record<string, any>) => Promise<import("@jt/postmessage-channel").PostResponse>;
|
|
452
|
+
subscribe: (cmdname: string, callback: import("@jt/postmessage-channel").PostCallback) => import("@jt/postmessage-channel").Communicator;
|
|
453
|
+
destroy: () => void;
|
|
274
454
|
}>;
|
|
275
|
-
request: import("vue").Ref<Function>;
|
|
276
|
-
iframe: import("vue").Ref<HTMLIFrameElement>;
|
|
277
|
-
iframeMaskFlag: import("vue").Ref<boolean>;
|
|
455
|
+
request: import("vue").Ref<Function, Function>;
|
|
456
|
+
iframe: import("vue").Ref<HTMLIFrameElement, HTMLIFrameElement>;
|
|
457
|
+
iframeMaskFlag: import("vue").Ref<boolean, boolean>;
|
|
278
458
|
viewScaleStyle: import("vue").ComputedRef<any>;
|
|
279
459
|
viewIframeBoxStyle: import("vue").ComputedRef<{
|
|
280
460
|
width: string;
|
package/dist/editor.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
editorData: {
|
|
3
3
|
type: any;
|
|
4
4
|
required: false;
|
|
@@ -37,9 +37,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
type: FunctionConstructor;
|
|
38
38
|
required: false;
|
|
39
39
|
};
|
|
40
|
-
}
|
|
40
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
41
41
|
[key: string]: any;
|
|
42
|
-
}>,
|
|
42
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("save" | "upload" | "publish" | "preview" | "copyUrl" | "editTitle" | "autoSave" | "updateProject" | "updateScreenShot" | "openUpload" | "getData" | "openCloud" | "preloadCloud" | "editDialogConfirm" | "editDialogCancel")[], "save" | "upload" | "publish" | "preview" | "copyUrl" | "editTitle" | "autoSave" | "updateProject" | "updateScreenShot" | "openUpload" | "getData" | "openCloud" | "preloadCloud" | "editDialogConfirm" | "editDialogCancel", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
43
|
editorData: {
|
|
44
44
|
type: any;
|
|
45
45
|
required: false;
|
|
@@ -78,7 +78,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
78
|
type: FunctionConstructor;
|
|
79
79
|
required: false;
|
|
80
80
|
};
|
|
81
|
-
}>> & {
|
|
81
|
+
}>> & Readonly<{
|
|
82
82
|
onSave?: (...args: any[]) => any;
|
|
83
83
|
onUpload?: (...args: any[]) => any;
|
|
84
84
|
onPublish?: (...args: any[]) => any;
|
|
@@ -94,11 +94,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
94
|
onPreloadCloud?: (...args: any[]) => any;
|
|
95
95
|
onEditDialogConfirm?: (...args: any[]) => any;
|
|
96
96
|
onEditDialogCancel?: (...args: any[]) => any;
|
|
97
|
-
}
|
|
97
|
+
}>, {
|
|
98
98
|
editorData: any;
|
|
99
99
|
postMessageOption: any;
|
|
100
100
|
readOnly: boolean;
|
|
101
101
|
appConfig: any;
|
|
102
102
|
navBarComponents: any;
|
|
103
|
-
}, {}>;
|
|
103
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
104
104
|
export default _default;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import '../../config/ace.config';
|
|
3
|
-
import { DataSource } from '@
|
|
4
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
import { DataSource } from '@cicctencent/low-code-core';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
schema: ObjectConstructor;
|
|
6
6
|
modelValue: StringConstructor;
|
|
7
7
|
sourceList: {
|
|
8
8
|
type: PropType<DataSource[]>;
|
|
9
9
|
default: () => any[];
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
12
12
|
[key: string]: any;
|
|
13
|
-
}>,
|
|
13
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "getBindingValue")[], "update:modelValue" | "getBindingValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
14
|
schema: ObjectConstructor;
|
|
15
15
|
modelValue: StringConstructor;
|
|
16
16
|
sourceList: {
|
|
17
17
|
type: PropType<DataSource[]>;
|
|
18
18
|
default: () => any[];
|
|
19
19
|
};
|
|
20
|
-
}>> & {
|
|
20
|
+
}>> & Readonly<{
|
|
21
21
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
22
22
|
onGetBindingValue?: (...args: any[]) => any;
|
|
23
|
-
}
|
|
23
|
+
}>, {
|
|
24
24
|
sourceList: DataSource[];
|
|
25
|
-
}, {}>;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
26
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
required: true;
|
|
@@ -8,9 +8,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
type: any;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
12
12
|
[key: string]: any;
|
|
13
|
-
}>,
|
|
13
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
14
|
modelValue: {
|
|
15
15
|
type: NumberConstructor;
|
|
16
16
|
required: true;
|
|
@@ -20,9 +20,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
type: any;
|
|
21
21
|
required: true;
|
|
22
22
|
};
|
|
23
|
-
}>> & {
|
|
23
|
+
}>> & Readonly<{
|
|
24
24
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
25
|
-
}
|
|
25
|
+
}>, {
|
|
26
26
|
modelValue: number;
|
|
27
|
-
}, {}>;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
28
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: ArrayConstructor;
|
|
4
4
|
default: () => {
|
|
@@ -9,9 +9,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
}[];
|
|
10
10
|
};
|
|
11
11
|
project: ObjectConstructor;
|
|
12
|
-
}
|
|
12
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
13
13
|
[key: string]: any;
|
|
14
|
-
}>,
|
|
14
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
modelValue: {
|
|
16
16
|
type: ArrayConstructor;
|
|
17
17
|
default: () => {
|
|
@@ -22,9 +22,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
}[];
|
|
23
23
|
};
|
|
24
24
|
project: ObjectConstructor;
|
|
25
|
-
}>> & {
|
|
25
|
+
}>> & Readonly<{
|
|
26
26
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
27
|
-
}
|
|
27
|
+
}>, {
|
|
28
28
|
modelValue: unknown[];
|
|
29
|
-
}, {}>;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
30
|
export default _default;
|
|
@@ -1,227 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
title: string;
|
|
4
|
-
visible: boolean;
|
|
5
|
-
hasClose: boolean;
|
|
6
|
-
hasFooter: boolean;
|
|
7
|
-
width: string;
|
|
8
|
-
};
|
|
9
|
-
menuForm: {
|
|
10
|
-
content: "pageId" | "url";
|
|
11
|
-
icon: string;
|
|
12
|
-
name: string;
|
|
13
|
-
pageId?: number;
|
|
14
|
-
url?: string;
|
|
15
|
-
target?: "_blank" | "_self";
|
|
16
|
-
};
|
|
17
|
-
menuFormRef: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
readonly model: ObjectConstructor;
|
|
19
|
-
readonly rules: import("@jt/jtui/es/utils").BuildPropReturn<import("@jt/jtui/es/utils").PropWrapper<Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>>, unknown, unknown, unknown, unknown>;
|
|
20
|
-
readonly labelPosition: StringConstructor;
|
|
21
|
-
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropReturn<readonly [StringConstructor, NumberConstructor], "", unknown, unknown, unknown>;
|
|
22
|
-
readonly labelSuffix: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
23
|
-
readonly inline: BooleanConstructor;
|
|
24
|
-
readonly inlineMessage: BooleanConstructor;
|
|
25
|
-
readonly statusIcon: BooleanConstructor;
|
|
26
|
-
readonly showMessage: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
27
|
-
readonly size: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, "" | "small" | "default" | "large", unknown>;
|
|
28
|
-
readonly disabled: BooleanConstructor;
|
|
29
|
-
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
30
|
-
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
|
|
31
|
-
readonly scrollToError: BooleanConstructor;
|
|
32
|
-
}>> & {
|
|
33
|
-
onValidate?: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => any;
|
|
34
|
-
}, {
|
|
35
|
-
COMPONENT_NAME: string;
|
|
36
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
-
readonly model: ObjectConstructor;
|
|
38
|
-
readonly rules: import("@jt/jtui/es/utils").BuildPropReturn<import("@jt/jtui/es/utils").PropWrapper<Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>>, unknown, unknown, unknown, unknown>;
|
|
39
|
-
readonly labelPosition: StringConstructor;
|
|
40
|
-
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropReturn<readonly [StringConstructor, NumberConstructor], "", unknown, unknown, unknown>;
|
|
41
|
-
readonly labelSuffix: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
42
|
-
readonly inline: BooleanConstructor;
|
|
43
|
-
readonly inlineMessage: BooleanConstructor;
|
|
44
|
-
readonly statusIcon: BooleanConstructor;
|
|
45
|
-
readonly showMessage: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
46
|
-
readonly size: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, "" | "small" | "default" | "large", unknown>;
|
|
47
|
-
readonly disabled: BooleanConstructor;
|
|
48
|
-
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
49
|
-
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
|
|
50
|
-
readonly scrollToError: BooleanConstructor;
|
|
51
|
-
}>> & {
|
|
52
|
-
onValidate?: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => any;
|
|
53
|
-
}>>;
|
|
54
|
-
emit: (event: "validate", prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => void;
|
|
55
|
-
fields: import("@jt/jtui").FormItemContext[];
|
|
56
|
-
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
57
|
-
ns: {
|
|
58
|
-
namespace: import("vue").ComputedRef<string>;
|
|
59
|
-
b: (blockSuffix?: string) => string;
|
|
60
|
-
e: (element?: string) => string;
|
|
61
|
-
m: (modifier?: string) => string;
|
|
62
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
63
|
-
em: (element?: string, modifier?: string) => string;
|
|
64
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
65
|
-
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
66
|
-
is: {
|
|
67
|
-
(name: string, state: boolean): string;
|
|
68
|
-
(name: string): string;
|
|
69
|
-
};
|
|
70
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
71
|
-
cssVarName: (name: string) => string;
|
|
72
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
73
|
-
cssVarBlockName: (name: string) => string;
|
|
74
|
-
};
|
|
75
|
-
formClasses: import("vue").ComputedRef<(string | {
|
|
76
|
-
[x: string]: string | boolean;
|
|
77
|
-
})[]>;
|
|
78
|
-
addField: (field: import("@jt/jtui").FormItemContext) => void;
|
|
79
|
-
removeField: (field: import("@jt/jtui").FormItemContext) => void;
|
|
80
|
-
resetFields: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => void;
|
|
81
|
-
clearValidate: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => void;
|
|
82
|
-
isValidatable: import("vue").ComputedRef<boolean>;
|
|
83
|
-
obtainValidateFields: (props: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => import("@jt/jtui").FormItemContext[];
|
|
84
|
-
validate: (callback?: import("@jt/jtui").FormValidateCallback) => import("@jt/jtui").FormValidationResult;
|
|
85
|
-
doValidateField: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => Promise<boolean>;
|
|
86
|
-
validateField: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>, callback?: import("@jt/jtui").FormValidateCallback) => import("@jt/jtui").FormValidationResult;
|
|
87
|
-
scrollToField: (prop: import("@jt/jtui").FormItemProp) => void;
|
|
88
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
89
|
-
validate: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
90
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
91
|
-
readonly model: ObjectConstructor;
|
|
92
|
-
readonly rules: import("@jt/jtui/es/utils").BuildPropReturn<import("@jt/jtui/es/utils").PropWrapper<Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>>, unknown, unknown, unknown, unknown>;
|
|
93
|
-
readonly labelPosition: StringConstructor;
|
|
94
|
-
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropReturn<readonly [StringConstructor, NumberConstructor], "", unknown, unknown, unknown>;
|
|
95
|
-
readonly labelSuffix: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
96
|
-
readonly inline: BooleanConstructor;
|
|
97
|
-
readonly inlineMessage: BooleanConstructor;
|
|
98
|
-
readonly statusIcon: BooleanConstructor;
|
|
99
|
-
readonly showMessage: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
100
|
-
readonly size: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, "" | "small" | "default" | "large", unknown>;
|
|
101
|
-
readonly disabled: BooleanConstructor;
|
|
102
|
-
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
103
|
-
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
|
|
104
|
-
readonly scrollToError: BooleanConstructor;
|
|
105
|
-
}>> & {
|
|
106
|
-
onValidate?: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => any;
|
|
107
|
-
}, {
|
|
108
|
-
readonly size: import("@jt/jtui/es/utils").BuildPropType<StringConstructor, "" | "small" | "default" | "large", unknown>;
|
|
109
|
-
readonly disabled: boolean;
|
|
110
|
-
readonly rules: Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>;
|
|
111
|
-
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
112
|
-
readonly labelSuffix: string;
|
|
113
|
-
readonly showMessage: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
114
|
-
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
115
|
-
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
116
|
-
readonly inline: boolean;
|
|
117
|
-
readonly inlineMessage: boolean;
|
|
118
|
-
readonly statusIcon: boolean;
|
|
119
|
-
readonly scrollToError: boolean;
|
|
120
|
-
}, true, {}, {}, {
|
|
121
|
-
P: {};
|
|
122
|
-
B: {};
|
|
123
|
-
D: {};
|
|
124
|
-
C: {};
|
|
125
|
-
M: {};
|
|
126
|
-
Defaults: {};
|
|
127
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
128
|
-
readonly model: ObjectConstructor;
|
|
129
|
-
readonly rules: import("@jt/jtui/es/utils").BuildPropReturn<import("@jt/jtui/es/utils").PropWrapper<Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>>, unknown, unknown, unknown, unknown>;
|
|
130
|
-
readonly labelPosition: StringConstructor;
|
|
131
|
-
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropReturn<readonly [StringConstructor, NumberConstructor], "", unknown, unknown, unknown>;
|
|
132
|
-
readonly labelSuffix: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
133
|
-
readonly inline: BooleanConstructor;
|
|
134
|
-
readonly inlineMessage: BooleanConstructor;
|
|
135
|
-
readonly statusIcon: BooleanConstructor;
|
|
136
|
-
readonly showMessage: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
137
|
-
readonly size: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, "" | "small" | "default" | "large", unknown>;
|
|
138
|
-
readonly disabled: BooleanConstructor;
|
|
139
|
-
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
140
|
-
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
|
|
141
|
-
readonly scrollToError: BooleanConstructor;
|
|
142
|
-
}>> & {
|
|
143
|
-
onValidate?: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => any;
|
|
144
|
-
}, {
|
|
145
|
-
COMPONENT_NAME: string;
|
|
146
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
147
|
-
readonly model: ObjectConstructor;
|
|
148
|
-
readonly rules: import("@jt/jtui/es/utils").BuildPropReturn<import("@jt/jtui/es/utils").PropWrapper<Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>>, unknown, unknown, unknown, unknown>;
|
|
149
|
-
readonly labelPosition: StringConstructor;
|
|
150
|
-
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropReturn<readonly [StringConstructor, NumberConstructor], "", unknown, unknown, unknown>;
|
|
151
|
-
readonly labelSuffix: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, "", unknown, unknown, unknown>;
|
|
152
|
-
readonly inline: BooleanConstructor;
|
|
153
|
-
readonly inlineMessage: BooleanConstructor;
|
|
154
|
-
readonly statusIcon: BooleanConstructor;
|
|
155
|
-
readonly showMessage: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
156
|
-
readonly size: import("@jt/jtui/es/utils").BuildPropReturn<StringConstructor, unknown, unknown, "" | "small" | "default" | "large", unknown>;
|
|
157
|
-
readonly disabled: BooleanConstructor;
|
|
158
|
-
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, true, unknown, unknown, unknown>;
|
|
159
|
-
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropReturn<BooleanConstructor, false, unknown, unknown, unknown>;
|
|
160
|
-
readonly scrollToError: BooleanConstructor;
|
|
161
|
-
}>> & {
|
|
162
|
-
onValidate?: (prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => any;
|
|
163
|
-
}>>;
|
|
164
|
-
emit: (event: "validate", prop: import("@jt/jtui").FormItemProp, isValid: boolean, message: string) => void;
|
|
165
|
-
fields: import("@jt/jtui").FormItemContext[];
|
|
166
|
-
formSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
167
|
-
ns: {
|
|
168
|
-
namespace: import("vue").ComputedRef<string>;
|
|
169
|
-
b: (blockSuffix?: string) => string;
|
|
170
|
-
e: (element?: string) => string;
|
|
171
|
-
m: (modifier?: string) => string;
|
|
172
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
173
|
-
em: (element?: string, modifier?: string) => string;
|
|
174
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
175
|
-
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
176
|
-
is: {
|
|
177
|
-
(name: string, state: boolean): string;
|
|
178
|
-
(name: string): string;
|
|
179
|
-
};
|
|
180
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
181
|
-
cssVarName: (name: string) => string;
|
|
182
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
183
|
-
cssVarBlockName: (name: string) => string;
|
|
184
|
-
};
|
|
185
|
-
formClasses: import("vue").ComputedRef<(string | {
|
|
186
|
-
[x: string]: string | boolean;
|
|
187
|
-
})[]>;
|
|
188
|
-
addField: (field: import("@jt/jtui").FormItemContext) => void;
|
|
189
|
-
removeField: (field: import("@jt/jtui").FormItemContext) => void;
|
|
190
|
-
resetFields: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => void;
|
|
191
|
-
clearValidate: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => void;
|
|
192
|
-
isValidatable: import("vue").ComputedRef<boolean>;
|
|
193
|
-
obtainValidateFields: (props: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => import("@jt/jtui").FormItemContext[];
|
|
194
|
-
validate: (callback?: import("@jt/jtui").FormValidateCallback) => import("@jt/jtui").FormValidationResult;
|
|
195
|
-
doValidateField: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>) => Promise<boolean>;
|
|
196
|
-
validateField: (props?: import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemProp>, callback?: import("@jt/jtui").FormValidateCallback) => import("@jt/jtui").FormValidationResult;
|
|
197
|
-
scrollToField: (prop: import("@jt/jtui").FormItemProp) => void;
|
|
198
|
-
}, {}, {}, {}, {
|
|
199
|
-
readonly size: import("@jt/jtui/es/utils").BuildPropType<StringConstructor, "" | "small" | "default" | "large", unknown>;
|
|
200
|
-
readonly disabled: boolean;
|
|
201
|
-
readonly rules: Partial<Record<string, import("@jt/jtui/es/utils").Arrayable<import("@jt/jtui").FormItemRule>>>;
|
|
202
|
-
readonly labelWidth: import("@jt/jtui/es/utils").BuildPropType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
203
|
-
readonly labelSuffix: string;
|
|
204
|
-
readonly showMessage: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
205
|
-
readonly validateOnRuleChange: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
206
|
-
readonly hideRequiredAsterisk: import("@jt/jtui/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>;
|
|
207
|
-
readonly inline: boolean;
|
|
208
|
-
readonly inlineMessage: boolean;
|
|
209
|
-
readonly statusIcon: boolean;
|
|
210
|
-
readonly scrollToError: boolean;
|
|
211
|
-
}>>;
|
|
212
|
-
menuTree: import("vue").Ref<{
|
|
213
|
-
children: any[];
|
|
214
|
-
icon: string;
|
|
215
|
-
name: string;
|
|
216
|
-
pageId?: number;
|
|
217
|
-
url?: string;
|
|
218
|
-
target?: "_blank" | "_self";
|
|
219
|
-
}[]>;
|
|
220
|
-
pageNameMap: import("vue").ComputedRef<any>;
|
|
221
|
-
confirm: () => void;
|
|
222
|
-
cancel: () => void;
|
|
223
|
-
addPeer: (index: any, row: any) => void;
|
|
224
|
-
addSubordinate: (index: any, row: any) => void;
|
|
225
|
-
handleEdit: (index: any, row: any) => void;
|
|
226
|
-
handleDelete: (index: any, row: any) => void;
|
|
227
|
-
};
|
|
1
|
+
import { ProjectMetaNavMenu } from '@cicctencent/low-code-core';
|
|
2
|
+
export default function (props: any, emits: any): any;
|