@vtj/designer 0.17.7 → 0.18.0
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/Editor-q02PTCqe.js +4 -0
- package/dist/{index-BwrvJi_l.js → index-81amm6G3.js} +10198 -13003
- package/dist/index.mjs +69 -66
- package/dist/style.css +1 -1
- package/package.json +10 -10
- package/types/components/binders/event.d.ts +2 -2
- package/types/components/binders/variable.d.ts +2 -2
- package/types/components/editor/Editor.d.ts +1 -1
- package/types/components/editor/index.d.ts +1 -1
- package/types/components/hooks/useChunkTree.d.ts +0 -2
- package/types/components/setter.d.ts +1 -1
- package/types/components/setters/css.d.ts +2 -2
- package/types/components/setters/function.d.ts +2 -2
- package/types/components/setters/index.d.ts +6 -6
- package/types/components/setters/json.d.ts +2 -2
- package/types/components/widgets/ai/detail.d.ts +4 -4
- package/types/components/widgets/apis/swagger.d.ts +3 -3
- package/types/components/widgets/css/index.d.ts +2 -2
- package/types/components/widgets/defined/expose.d.ts +1 -1
- package/types/components/widgets/env/index.d.ts +3 -3
- package/types/components/widgets/i18n/index.d.ts +3 -3
- package/types/components/widgets/index.d.ts +12 -12
- package/types/components/widgets/raw/index.d.ts +2 -2
- package/types/components/widgets/schema/index.d.ts +2 -2
- package/types/components/widgets/scripts/group.d.ts +7 -7
- package/types/components/widgets/scripts/lifeCycles.d.ts +2 -2
- package/types/components/widgets/scripts/reactives.d.ts +9 -0
- package/types/components/widgets/scripts/refs.d.ts +9 -0
- package/types/components/widgets/style/JsonMode.d.ts +2 -2
- package/types/managers/deps.d.ts +1 -2
- package/types/managers/setter.d.ts +2 -3
- package/types/managers/widget.d.ts +2 -3
- package/types/version.d.ts +2 -2
- package/types/wrappers/setter.d.ts +1 -1
- package/dist/Editor-Cew4cVll.js +0 -4
|
@@ -68,9 +68,9 @@ export declare const setters: {
|
|
|
68
68
|
blur: (...args: any[]) => void;
|
|
69
69
|
change: (...args: any[]) => void;
|
|
70
70
|
}, PublicProps, {
|
|
71
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
71
72
|
height: string;
|
|
72
73
|
modelValue: string;
|
|
73
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
74
74
|
dark: boolean;
|
|
75
75
|
readonly: boolean;
|
|
76
76
|
lang: string;
|
|
@@ -91,9 +91,9 @@ export declare const setters: {
|
|
|
91
91
|
}>, {
|
|
92
92
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
93
93
|
}, {}, {}, {}, {
|
|
94
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
94
95
|
height: string;
|
|
95
96
|
modelValue: string;
|
|
96
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
97
97
|
dark: boolean;
|
|
98
98
|
readonly: boolean;
|
|
99
99
|
lang: string;
|
|
@@ -120,9 +120,9 @@ export declare const setters: {
|
|
|
120
120
|
blur: (...args: any[]) => void;
|
|
121
121
|
change: (...args: any[]) => void;
|
|
122
122
|
}, PublicProps, {
|
|
123
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
123
124
|
height: string;
|
|
124
125
|
modelValue: string;
|
|
125
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
126
126
|
dark: boolean;
|
|
127
127
|
readonly: boolean;
|
|
128
128
|
lang: string;
|
|
@@ -143,9 +143,9 @@ export declare const setters: {
|
|
|
143
143
|
}>, {
|
|
144
144
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
145
145
|
}, {}, {}, {}, {
|
|
146
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
146
147
|
height: string;
|
|
147
148
|
modelValue: string;
|
|
148
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
149
149
|
dark: boolean;
|
|
150
150
|
readonly: boolean;
|
|
151
151
|
lang: string;
|
|
@@ -382,9 +382,9 @@ export declare const setters: {
|
|
|
382
382
|
blur: (...args: any[]) => void;
|
|
383
383
|
change: (...args: any[]) => void;
|
|
384
384
|
}, PublicProps, {
|
|
385
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
385
386
|
height: string;
|
|
386
387
|
modelValue: string;
|
|
387
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
388
388
|
dark: boolean;
|
|
389
389
|
readonly: boolean;
|
|
390
390
|
lang: string;
|
|
@@ -405,9 +405,9 @@ export declare const setters: {
|
|
|
405
405
|
}>, {
|
|
406
406
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
407
407
|
}, {}, {}, {}, {
|
|
408
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
408
409
|
height: string;
|
|
409
410
|
modelValue: string;
|
|
410
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
411
411
|
dark: boolean;
|
|
412
412
|
readonly: boolean;
|
|
413
413
|
lang: string;
|
|
@@ -23,9 +23,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
23
23
|
blur: (...args: any[]) => void;
|
|
24
24
|
change: (...args: any[]) => void;
|
|
25
25
|
}, PublicProps, {
|
|
26
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
26
27
|
height: string;
|
|
27
28
|
modelValue: string;
|
|
28
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
29
29
|
dark: boolean;
|
|
30
30
|
readonly: boolean;
|
|
31
31
|
lang: string;
|
|
@@ -46,9 +46,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
46
46
|
}>, {
|
|
47
47
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
48
48
|
}, {}, {}, {}, {
|
|
49
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
49
50
|
height: string;
|
|
50
51
|
modelValue: string;
|
|
51
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
52
52
|
dark: boolean;
|
|
53
53
|
readonly: boolean;
|
|
54
54
|
lang: string;
|
|
@@ -21,9 +21,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
21
21
|
blur: (...args: any[]) => void;
|
|
22
22
|
change: (...args: any[]) => void;
|
|
23
23
|
}, PublicProps, {
|
|
24
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
24
25
|
height: string;
|
|
25
26
|
modelValue: string;
|
|
26
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
27
27
|
dark: boolean;
|
|
28
28
|
readonly: boolean;
|
|
29
29
|
lang: string;
|
|
@@ -44,9 +44,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
44
44
|
}>, {
|
|
45
45
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
46
46
|
}, {}, {}, {}, {
|
|
47
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
47
48
|
height: string;
|
|
48
49
|
modelValue: string;
|
|
49
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
50
50
|
dark: boolean;
|
|
51
51
|
readonly: boolean;
|
|
52
52
|
lang: string;
|
|
@@ -63,9 +63,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
63
63
|
blur: (...args: any[]) => void;
|
|
64
64
|
change: (...args: any[]) => void;
|
|
65
65
|
}, PublicProps, {
|
|
66
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
66
67
|
height: string;
|
|
67
68
|
modelValue: string;
|
|
68
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
69
69
|
dark: boolean;
|
|
70
70
|
readonly: boolean;
|
|
71
71
|
lang: string;
|
|
@@ -86,9 +86,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
86
86
|
}>, {
|
|
87
87
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
88
88
|
}, {}, {}, {}, {
|
|
89
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
89
90
|
height: string;
|
|
90
91
|
modelValue: string;
|
|
91
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
92
92
|
dark: boolean;
|
|
93
93
|
readonly: boolean;
|
|
94
94
|
lang: string;
|
|
@@ -28,9 +28,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
28
28
|
pageSizes: number[];
|
|
29
29
|
virtual: boolean;
|
|
30
30
|
}> & Omit<{
|
|
31
|
+
readonly page: number;
|
|
31
32
|
readonly auto: boolean;
|
|
32
33
|
readonly resizable: boolean;
|
|
33
|
-
readonly page: number;
|
|
34
34
|
readonly editable: boolean;
|
|
35
35
|
readonly columns: GridColumns;
|
|
36
36
|
readonly rowSortable: boolean | Options;
|
|
@@ -55,7 +55,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
55
55
|
readonly onCellSelected?: ((params: any) => any) | undefined | undefined;
|
|
56
56
|
readonly onEditChange?: ((data: any[]) => any) | undefined | undefined;
|
|
57
57
|
readonly onLoaded?: ((rows: any[]) => any) | undefined | undefined;
|
|
58
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
58
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "page" | "auto" | "resizable" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual">;
|
|
59
59
|
$attrs: Attrs;
|
|
60
60
|
$refs: {
|
|
61
61
|
[x: string]: unknown;
|
|
@@ -785,7 +785,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
785
785
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
786
786
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
787
787
|
onLoaded?: ((rows: any[]) => any) | undefined;
|
|
788
|
-
}>, "search" | "validate" | "
|
|
788
|
+
}>, "search" | "validate" | "page" | "auto" | "resizable" | "load" | "state" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
|
|
789
789
|
state: {
|
|
790
790
|
[x: string]: any;
|
|
791
791
|
page?: number | undefined;
|
|
@@ -12,9 +12,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
12
12
|
blur: (...args: any[]) => void;
|
|
13
13
|
change: (...args: any[]) => void;
|
|
14
14
|
}, PublicProps, {
|
|
15
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
15
16
|
height: string;
|
|
16
17
|
modelValue: string;
|
|
17
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
18
18
|
dark: boolean;
|
|
19
19
|
readonly: boolean;
|
|
20
20
|
lang: string;
|
|
@@ -35,9 +35,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
35
35
|
}>, {
|
|
36
36
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
37
37
|
}, {}, {}, {}, {
|
|
38
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
38
39
|
height: string;
|
|
39
40
|
modelValue: string;
|
|
40
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
41
41
|
dark: boolean;
|
|
42
42
|
readonly: boolean;
|
|
43
43
|
lang: string;
|
|
@@ -8,7 +8,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
8
8
|
}, string, PublicProps, Readonly<Props> & Readonly<{
|
|
9
9
|
onChange?: ((value: string[]) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
modelValue: string[];
|
|
12
11
|
options: Record<string, string[]>;
|
|
12
|
+
modelValue: string[];
|
|
13
13
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
14
|
export default _default;
|
|
@@ -22,9 +22,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
22
22
|
pageSizes: number[];
|
|
23
23
|
virtual: boolean;
|
|
24
24
|
}> & Omit<{
|
|
25
|
+
readonly page: number;
|
|
25
26
|
readonly auto: boolean;
|
|
26
27
|
readonly resizable: boolean;
|
|
27
|
-
readonly page: number;
|
|
28
28
|
readonly editable: boolean;
|
|
29
29
|
readonly columns: GridColumns;
|
|
30
30
|
readonly rowSortable: boolean | Options;
|
|
@@ -49,7 +49,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
49
49
|
readonly onCellSelected?: ((params: any) => any) | undefined | undefined;
|
|
50
50
|
readonly onEditChange?: ((data: any[]) => any) | undefined | undefined;
|
|
51
51
|
readonly onLoaded?: ((rows: any[]) => any) | undefined | undefined;
|
|
52
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
52
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "page" | "auto" | "resizable" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual">;
|
|
53
53
|
$attrs: Attrs;
|
|
54
54
|
$refs: {
|
|
55
55
|
[x: string]: unknown;
|
|
@@ -779,7 +779,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
779
779
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
780
780
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
781
781
|
onLoaded?: ((rows: any[]) => any) | undefined;
|
|
782
|
-
}>, "search" | "validate" | "
|
|
782
|
+
}>, "search" | "validate" | "page" | "auto" | "resizable" | "load" | "state" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
|
|
783
783
|
state: {
|
|
784
784
|
[x: string]: any;
|
|
785
785
|
page?: number | undefined;
|
|
@@ -22,9 +22,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
22
22
|
pageSizes: number[];
|
|
23
23
|
virtual: boolean;
|
|
24
24
|
}> & Omit<{
|
|
25
|
+
readonly page: number;
|
|
25
26
|
readonly auto: boolean;
|
|
26
27
|
readonly resizable: boolean;
|
|
27
|
-
readonly page: number;
|
|
28
28
|
readonly editable: boolean;
|
|
29
29
|
readonly columns: GridColumns;
|
|
30
30
|
readonly rowSortable: boolean | Options;
|
|
@@ -49,7 +49,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
49
49
|
readonly onCellSelected?: ((params: any) => any) | undefined | undefined;
|
|
50
50
|
readonly onEditChange?: ((data: any[]) => any) | undefined | undefined;
|
|
51
51
|
readonly onLoaded?: ((rows: any[]) => any) | undefined | undefined;
|
|
52
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
52
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "page" | "auto" | "resizable" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual">;
|
|
53
53
|
$attrs: Attrs;
|
|
54
54
|
$refs: {
|
|
55
55
|
[x: string]: unknown;
|
|
@@ -779,7 +779,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
779
779
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
780
780
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
781
781
|
onLoaded?: ((rows: any[]) => any) | undefined;
|
|
782
|
-
}>, "search" | "validate" | "
|
|
782
|
+
}>, "search" | "validate" | "page" | "auto" | "resizable" | "load" | "state" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
|
|
783
783
|
state: {
|
|
784
784
|
[x: string]: any;
|
|
785
785
|
page?: number | undefined;
|
|
@@ -171,9 +171,9 @@ export declare const widgets: {
|
|
|
171
171
|
blur: (...args: any[]) => void;
|
|
172
172
|
change: (...args: any[]) => void;
|
|
173
173
|
}, PublicProps, {
|
|
174
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
174
175
|
height: string;
|
|
175
176
|
modelValue: string;
|
|
176
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
177
177
|
dark: boolean;
|
|
178
178
|
readonly: boolean;
|
|
179
179
|
lang: string;
|
|
@@ -194,9 +194,9 @@ export declare const widgets: {
|
|
|
194
194
|
}>, {
|
|
195
195
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
196
196
|
}, {}, {}, {}, {
|
|
197
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
197
198
|
height: string;
|
|
198
199
|
modelValue: string;
|
|
199
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
200
200
|
dark: boolean;
|
|
201
201
|
readonly: boolean;
|
|
202
202
|
lang: string;
|
|
@@ -226,9 +226,9 @@ export declare const widgets: {
|
|
|
226
226
|
blur: (...args: any[]) => void;
|
|
227
227
|
change: (...args: any[]) => void;
|
|
228
228
|
}, PublicProps, {
|
|
229
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
229
230
|
height: string;
|
|
230
231
|
modelValue: string;
|
|
231
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
232
232
|
dark: boolean;
|
|
233
233
|
readonly: boolean;
|
|
234
234
|
lang: string;
|
|
@@ -249,9 +249,9 @@ export declare const widgets: {
|
|
|
249
249
|
}>, {
|
|
250
250
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
251
251
|
}, {}, {}, {}, {
|
|
252
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
252
253
|
height: string;
|
|
253
254
|
modelValue: string;
|
|
254
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
255
255
|
dark: boolean;
|
|
256
256
|
readonly: boolean;
|
|
257
257
|
lang: string;
|
|
@@ -270,9 +270,9 @@ export declare const widgets: {
|
|
|
270
270
|
blur: (...args: any[]) => void;
|
|
271
271
|
change: (...args: any[]) => void;
|
|
272
272
|
}, PublicProps, {
|
|
273
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
273
274
|
height: string;
|
|
274
275
|
modelValue: string;
|
|
275
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
276
276
|
dark: boolean;
|
|
277
277
|
readonly: boolean;
|
|
278
278
|
lang: string;
|
|
@@ -293,9 +293,9 @@ export declare const widgets: {
|
|
|
293
293
|
}>, {
|
|
294
294
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
295
295
|
}, {}, {}, {}, {
|
|
296
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
296
297
|
height: string;
|
|
297
298
|
modelValue: string;
|
|
298
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
299
299
|
dark: boolean;
|
|
300
300
|
readonly: boolean;
|
|
301
301
|
lang: string;
|
|
@@ -2345,9 +2345,9 @@ export declare const widgets: {
|
|
|
2345
2345
|
pageSizes: number[];
|
|
2346
2346
|
virtual: boolean;
|
|
2347
2347
|
}> & Omit<{
|
|
2348
|
+
readonly page: number;
|
|
2348
2349
|
readonly auto: boolean;
|
|
2349
2350
|
readonly resizable: boolean;
|
|
2350
|
-
readonly page: number;
|
|
2351
2351
|
readonly editable: boolean;
|
|
2352
2352
|
readonly columns: GridColumns;
|
|
2353
2353
|
readonly rowSortable: boolean | Options;
|
|
@@ -2372,7 +2372,7 @@ export declare const widgets: {
|
|
|
2372
2372
|
readonly onCellSelected?: ((params: any) => any) | undefined | undefined;
|
|
2373
2373
|
readonly onEditChange?: ((data: any[]) => any) | undefined | undefined;
|
|
2374
2374
|
readonly onLoaded?: ((rows: any[]) => any) | undefined | undefined;
|
|
2375
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
2375
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "page" | "auto" | "resizable" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual">;
|
|
2376
2376
|
$attrs: Attrs;
|
|
2377
2377
|
$refs: {
|
|
2378
2378
|
[x: string]: unknown;
|
|
@@ -3102,7 +3102,7 @@ export declare const widgets: {
|
|
|
3102
3102
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
3103
3103
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
3104
3104
|
onLoaded?: ((rows: any[]) => any) | undefined;
|
|
3105
|
-
}>, "search" | "validate" | "
|
|
3105
|
+
}>, "search" | "validate" | "page" | "auto" | "resizable" | "load" | "state" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
|
|
3106
3106
|
state: {
|
|
3107
3107
|
[x: string]: any;
|
|
3108
3108
|
page?: number | undefined;
|
|
@@ -4795,9 +4795,9 @@ export declare const widgets: {
|
|
|
4795
4795
|
pageSizes: number[];
|
|
4796
4796
|
virtual: boolean;
|
|
4797
4797
|
}> & Omit<{
|
|
4798
|
+
readonly page: number;
|
|
4798
4799
|
readonly auto: boolean;
|
|
4799
4800
|
readonly resizable: boolean;
|
|
4800
|
-
readonly page: number;
|
|
4801
4801
|
readonly editable: boolean;
|
|
4802
4802
|
readonly columns: GridColumns;
|
|
4803
4803
|
readonly rowSortable: boolean | Options;
|
|
@@ -4822,7 +4822,7 @@ export declare const widgets: {
|
|
|
4822
4822
|
readonly onCellSelected?: ((params: any) => any) | undefined | undefined;
|
|
4823
4823
|
readonly onEditChange?: ((data: any[]) => any) | undefined | undefined;
|
|
4824
4824
|
readonly onLoaded?: ((rows: any[]) => any) | undefined | undefined;
|
|
4825
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
4825
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "page" | "auto" | "resizable" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual">;
|
|
4826
4826
|
$attrs: Attrs;
|
|
4827
4827
|
$refs: {
|
|
4828
4828
|
[x: string]: unknown;
|
|
@@ -5552,7 +5552,7 @@ export declare const widgets: {
|
|
|
5552
5552
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
5553
5553
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
5554
5554
|
onLoaded?: ((rows: any[]) => any) | undefined;
|
|
5555
|
-
}>, "search" | "validate" | "
|
|
5555
|
+
}>, "search" | "validate" | "page" | "auto" | "resizable" | "load" | "state" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
|
|
5556
5556
|
state: {
|
|
5557
5557
|
[x: string]: any;
|
|
5558
5558
|
page?: number | undefined;
|
|
@@ -12,9 +12,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
12
12
|
blur: (...args: any[]) => void;
|
|
13
13
|
change: (...args: any[]) => void;
|
|
14
14
|
}, PublicProps, {
|
|
15
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
15
16
|
height: string;
|
|
16
17
|
modelValue: string;
|
|
17
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
18
18
|
dark: boolean;
|
|
19
19
|
readonly: boolean;
|
|
20
20
|
lang: string;
|
|
@@ -35,9 +35,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
35
35
|
}>, {
|
|
36
36
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
37
37
|
}, {}, {}, {}, {
|
|
38
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
38
39
|
height: string;
|
|
39
40
|
modelValue: string;
|
|
40
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
41
41
|
dark: boolean;
|
|
42
42
|
readonly: boolean;
|
|
43
43
|
lang: string;
|
|
@@ -12,9 +12,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
12
12
|
blur: (...args: any[]) => void;
|
|
13
13
|
change: (...args: any[]) => void;
|
|
14
14
|
}, PublicProps, {
|
|
15
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
15
16
|
height: string;
|
|
16
17
|
modelValue: string;
|
|
17
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
18
18
|
dark: boolean;
|
|
19
19
|
readonly: boolean;
|
|
20
20
|
lang: string;
|
|
@@ -35,9 +35,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
35
35
|
}>, {
|
|
36
36
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
37
37
|
}, {}, {}, {}, {
|
|
38
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
38
39
|
height: string;
|
|
39
40
|
modelValue: string;
|
|
40
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
41
41
|
dark: boolean;
|
|
42
42
|
readonly: boolean;
|
|
43
43
|
lang: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BlockModel } from '@vtj/core';
|
|
2
2
|
import { Context } from '@vtj/renderer';
|
|
3
3
|
import { ComponentInternalInstance, VNode, RendererNode, RendererElement, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, Ref, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle, ComponentCustomProperties, ExtractPropTypes, PropType, nextTick, CreateComponentPublicInstanceWithMixins, PublicProps, DefineComponent } from 'vue';
|
|
4
|
-
import { BuiltinFieldEditorType,
|
|
4
|
+
import { BuiltinFieldEditorType, FieldOption, FieldOptionsLoader, BaseSize, FieldEditorProps } from '@vtj/ui';
|
|
5
5
|
import { UseTooltipProps, FormItemProp, FormItemRule, FormItemValidateState, ComponentSize, FormItemProps, FormValidateCallback, FormValidationResult, ElTooltipProps } from 'element-plus';
|
|
6
6
|
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
|
7
7
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -55,11 +55,11 @@ declare function __VLS_template(): {
|
|
|
55
55
|
readonly inline: boolean;
|
|
56
56
|
readonly name?: string | undefined;
|
|
57
57
|
readonly props?: Record<string, any> | undefined;
|
|
58
|
+
readonly options?: FieldOption[] | FieldOptionsLoader | undefined;
|
|
58
59
|
readonly width?: string | number | undefined;
|
|
59
60
|
readonly label?: string | undefined;
|
|
60
61
|
readonly error?: string | undefined;
|
|
61
62
|
readonly size?: BaseSize | undefined;
|
|
62
|
-
readonly options?: FieldOption[] | FieldOptionsLoader | undefined;
|
|
63
63
|
readonly disabled?: boolean | undefined;
|
|
64
64
|
readonly placeholder?: string | null | undefined;
|
|
65
65
|
readonly readonly?: boolean | undefined;
|
|
@@ -403,9 +403,9 @@ declare function __VLS_template(): {
|
|
|
403
403
|
blur: (...args: any[]) => void;
|
|
404
404
|
change: (...args: any[]) => void;
|
|
405
405
|
}, PublicProps, {
|
|
406
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
406
407
|
height: string;
|
|
407
408
|
modelValue: string;
|
|
408
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
409
409
|
dark: boolean;
|
|
410
410
|
readonly: boolean;
|
|
411
411
|
lang: string;
|
|
@@ -426,9 +426,9 @@ declare function __VLS_template(): {
|
|
|
426
426
|
}>, {
|
|
427
427
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
428
428
|
}, {}, {}, {}, {
|
|
429
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
429
430
|
height: string;
|
|
430
431
|
modelValue: string;
|
|
431
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
432
432
|
dark: boolean;
|
|
433
433
|
readonly: boolean;
|
|
434
434
|
lang: string;
|
|
@@ -467,11 +467,11 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
|
467
467
|
readonly inline: boolean;
|
|
468
468
|
readonly name?: string | undefined;
|
|
469
469
|
readonly props?: Record<string, any> | undefined;
|
|
470
|
+
readonly options?: FieldOption[] | FieldOptionsLoader | undefined;
|
|
470
471
|
readonly width?: string | number | undefined;
|
|
471
472
|
readonly label?: string | undefined;
|
|
472
473
|
readonly error?: string | undefined;
|
|
473
474
|
readonly size?: BaseSize | undefined;
|
|
474
|
-
readonly options?: FieldOption[] | FieldOptionsLoader | undefined;
|
|
475
475
|
readonly disabled?: boolean | undefined;
|
|
476
476
|
readonly placeholder?: string | null | undefined;
|
|
477
477
|
readonly readonly?: boolean | undefined;
|
|
@@ -815,9 +815,9 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
|
815
815
|
blur: (...args: any[]) => void;
|
|
816
816
|
change: (...args: any[]) => void;
|
|
817
817
|
}, PublicProps, {
|
|
818
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
818
819
|
height: string;
|
|
819
820
|
modelValue: string;
|
|
820
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
821
821
|
dark: boolean;
|
|
822
822
|
readonly: boolean;
|
|
823
823
|
lang: string;
|
|
@@ -838,9 +838,9 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
|
838
838
|
}>, {
|
|
839
839
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
840
840
|
}, {}, {}, {}, {
|
|
841
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
841
842
|
height: string;
|
|
842
843
|
modelValue: string;
|
|
843
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
844
844
|
dark: boolean;
|
|
845
845
|
readonly: boolean;
|
|
846
846
|
lang: string;
|
|
@@ -18,9 +18,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
18
18
|
blur: (...args: any[]) => void;
|
|
19
19
|
change: (...args: any[]) => void;
|
|
20
20
|
}, PublicProps, {
|
|
21
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
21
22
|
height: string;
|
|
22
23
|
modelValue: string;
|
|
23
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
24
24
|
dark: boolean;
|
|
25
25
|
readonly: boolean;
|
|
26
26
|
lang: string;
|
|
@@ -41,9 +41,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
41
41
|
}>, {
|
|
42
42
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
43
43
|
}, {}, {}, {}, {
|
|
44
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
44
45
|
height: string;
|
|
45
46
|
modelValue: string;
|
|
46
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
47
47
|
dark: boolean;
|
|
48
48
|
readonly: boolean;
|
|
49
49
|
lang: string;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BlockModel } from '@vtj/core';
|
|
2
|
+
import { Context } from '@vtj/renderer';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
export interface Props {
|
|
5
|
+
context: Context | null;
|
|
6
|
+
current: BlockModel | null;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BlockModel } from '@vtj/core';
|
|
2
|
+
import { Context } from '@vtj/renderer';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
export interface Props {
|
|
5
|
+
context: Context | null;
|
|
6
|
+
current: BlockModel | null;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -12,9 +12,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
12
12
|
blur: (...args: any[]) => void;
|
|
13
13
|
change: (...args: any[]) => void;
|
|
14
14
|
}, PublicProps, {
|
|
15
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
15
16
|
height: string;
|
|
16
17
|
modelValue: string;
|
|
17
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
18
18
|
dark: boolean;
|
|
19
19
|
readonly: boolean;
|
|
20
20
|
lang: string;
|
|
@@ -35,9 +35,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
35
35
|
}>, {
|
|
36
36
|
getEditor: () => import("monaco-editor").editor.IStandaloneCodeEditor | null;
|
|
37
37
|
}, {}, {}, {}, {
|
|
38
|
+
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
38
39
|
height: string;
|
|
39
40
|
modelValue: string;
|
|
40
|
-
options: import("monaco-editor").editor.IEditorConstructionOptions;
|
|
41
41
|
dark: boolean;
|
|
42
42
|
readonly: boolean;
|
|
43
43
|
lang: string;
|
package/types/managers/deps.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Dependencie, PlatformType } from '@vtj/core';
|
|
2
|
-
declare class DepsManager {
|
|
2
|
+
export declare class DepsManager {
|
|
3
3
|
private deps;
|
|
4
4
|
constructor(deps?: Dependencie[]);
|
|
5
5
|
/**
|
|
@@ -41,4 +41,3 @@ declare class DepsManager {
|
|
|
41
41
|
remove(name: string): void;
|
|
42
42
|
}
|
|
43
43
|
export declare const depsManager: DepsManager;
|
|
44
|
-
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BlockPropDataType } from '@vtj/core';
|
|
2
2
|
import { Setter } from '../framework';
|
|
3
|
-
declare class SetterManager {
|
|
3
|
+
export declare class SetterManager {
|
|
4
4
|
private setters;
|
|
5
5
|
defaultSetter: Setter;
|
|
6
|
-
constructor();
|
|
6
|
+
constructor(builtIn?: Setter[], defaultS?: Setter);
|
|
7
7
|
private createSetters;
|
|
8
8
|
/**
|
|
9
9
|
* 注册一个设置器
|
|
@@ -26,4 +26,3 @@ declare class SetterManager {
|
|
|
26
26
|
getByType(type: BlockPropDataType): string[];
|
|
27
27
|
}
|
|
28
28
|
export declare const setterManager: SetterManager;
|
|
29
|
-
export {};
|
|
@@ -2,9 +2,9 @@ import { Widget, RegionType } from '../framework';
|
|
|
2
2
|
/**
|
|
3
3
|
* Widget管理类
|
|
4
4
|
*/
|
|
5
|
-
declare class WidgetManager {
|
|
5
|
+
export declare class WidgetManager {
|
|
6
6
|
private widgets;
|
|
7
|
-
constructor();
|
|
7
|
+
constructor(builtIn?: Widget[]);
|
|
8
8
|
private createWidgets;
|
|
9
9
|
/**
|
|
10
10
|
* 注册一个器件
|
|
@@ -44,4 +44,3 @@ declare class WidgetManager {
|
|
|
44
44
|
removeRemoteWidgets(): void;
|
|
45
45
|
}
|
|
46
46
|
export declare const widgetManager: WidgetManager;
|
|
47
|
-
export {};
|
package/types/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2026, VTJ.PRO All rights reserved.
|
|
3
3
|
* @name @vtj/designer
|
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
5
|
-
* @version 0.17.
|
|
5
|
+
* @version 0.17.8
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.17.
|
|
8
|
+
export declare const version = "0.17.8";
|
|
@@ -95,9 +95,9 @@ export declare const SetterWrapper: DefineComponent<ExtractPropTypes<{
|
|
|
95
95
|
}>, {
|
|
96
96
|
value: string | number | boolean | Record<string, any> | unknown[];
|
|
97
97
|
current: BlockModel | null;
|
|
98
|
+
options: unknown[];
|
|
98
99
|
context: Context | null;
|
|
99
100
|
setters: string | MaterialSetter | (string | MaterialSetter)[];
|
|
100
|
-
options: unknown[];
|
|
101
101
|
disabled: boolean;
|
|
102
102
|
removable: boolean;
|
|
103
103
|
variable: boolean;
|