@vtj/designer 0.13.23 → 0.13.25
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-kx6e0Tx5.js +4 -0
- package/dist/{index-BnPl4yZT.js → index-CXB9WX24.js} +8658 -8138
- package/dist/index.mjs +53 -52
- package/dist/style.css +1 -1
- package/package.json +8 -7
- package/types/components/hooks/index.d.ts +1 -0
- package/types/components/hooks/useDesigner.d.ts +8 -1
- package/types/components/hooks/useHotkeys.d.ts +25 -0
- package/types/components/shared/panel.d.ts +2 -2
- package/types/components/widgets/actions/index.d.ts +6 -2
- package/types/components/widgets/ai/index.d.ts +5 -5
- package/types/components/widgets/ai/json-input.d.ts +2 -2
- package/types/components/widgets/apis/form.d.ts +7 -7
- package/types/components/widgets/docs/index.d.ts +5 -5
- package/types/components/widgets/history/index.d.ts +3 -1
- package/types/components/widgets/index.d.ts +23 -17
- package/types/components/widgets/market/index.d.ts +5 -5
- package/types/components/widgets/scripts/group.d.ts +2 -2
- package/types/constants.d.ts +2 -0
- package/types/framework/simulator.d.ts +1 -0
- package/types/version.d.ts +2 -2
- package/types/wrappers/setter.d.ts +1 -1
- package/dist/Editor-DXsCBRiC.js +0 -4
@@ -30,10 +30,10 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
30
30
|
bodyPadding: boolean;
|
31
31
|
}> & Omit<{
|
32
32
|
readonly size: BaseSize;
|
33
|
-
readonly height: string | number;
|
34
|
-
readonly width: string | number;
|
35
33
|
readonly primary: boolean;
|
36
34
|
readonly mode: DialogMode;
|
35
|
+
readonly height: string | number;
|
36
|
+
readonly width: string | number;
|
37
37
|
readonly modelValue: boolean;
|
38
38
|
readonly draggable: boolean | DraggableOptions;
|
39
39
|
readonly pure: boolean;
|
@@ -42,12 +42,12 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
42
42
|
readonly maximizable: boolean;
|
43
43
|
readonly minimizable: boolean;
|
44
44
|
readonly bodyPadding: boolean;
|
45
|
-
readonly top?: string | number | undefined;
|
46
45
|
readonly left?: string | number | undefined;
|
47
|
-
readonly title?: string | undefined;
|
48
|
-
readonly cancel?: string | boolean | undefined;
|
49
46
|
readonly icon?: IconParam | undefined;
|
50
47
|
readonly zIndex?: number | undefined;
|
48
|
+
readonly top?: string | number | undefined;
|
49
|
+
readonly title?: string | undefined;
|
50
|
+
readonly cancel?: string | boolean | undefined;
|
51
51
|
readonly beforeClose?: (() => boolean | Promise<boolean>) | undefined;
|
52
52
|
readonly content?: Record<string, any> | VNode<RendererNode, RendererElement, {
|
53
53
|
[key: string]: any;
|
@@ -109,7 +109,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
109
109
|
isOutside: ShallowRef<boolean, boolean>;
|
110
110
|
stop: () => void;
|
111
111
|
}) => any) | undefined | undefined;
|
112
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "size" | "
|
112
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "size" | "primary" | "mode" | "height" | "width" | "modelValue" | "draggable" | "pure" | "modal" | "closable" | "maximizable" | "minimizable" | "bodyPadding">;
|
113
113
|
$attrs: {
|
114
114
|
[x: string]: unknown;
|
115
115
|
};
|
@@ -1140,7 +1140,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
1140
1140
|
isOutside: ShallowRef<boolean, boolean>;
|
1141
1141
|
stop: () => void;
|
1142
1142
|
}) => any) | undefined;
|
1143
|
-
}>, "size" | "
|
1143
|
+
}>, "size" | "primary" | "mode" | "height" | "width" | "close" | "cancel" | "modelValue" | "draggable" | "pure" | "submit" | "$vtjEl" | "modal" | "closable" | "maximizable" | "minimizable" | "componentInstance" | "bodyPadding" | "panelRef" | "state" | "maximized" | "minimized" | "changeMode" | "show" | "hide"> & ShallowUnwrapRef<{
|
1144
1144
|
$vtjEl: ComputedRef<any>;
|
1145
1145
|
panelRef: Ref<any, any>;
|
1146
1146
|
state: {
|
@@ -26,8 +26,8 @@ declare const _default: DefineComponent<Props, {
|
|
26
26
|
readonly header?: boolean | undefined;
|
27
27
|
readonly collapsable?: boolean | undefined;
|
28
28
|
readonly menus?: ActionMenuItem[] | undefined;
|
29
|
-
readonly onCommand?: ((...args: any[]) => any) | undefined;
|
30
29
|
readonly onRefresh?: ((...args: any[]) => any) | undefined;
|
30
|
+
readonly onCommand?: ((...args: any[]) => any) | undefined;
|
31
31
|
readonly onPlus?: ((...args: any[]) => any) | undefined;
|
32
32
|
readonly onBack?: ((...args: any[]) => any) | undefined;
|
33
33
|
readonly onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -612,11 +612,11 @@ declare const _default: DefineComponent<Props, {
|
|
612
612
|
$root: ComponentPublicInstance | null;
|
613
613
|
$parent: ComponentPublicInstance | null;
|
614
614
|
$host: Element | null;
|
615
|
-
$emit: ((event: "
|
615
|
+
$emit: ((event: "refresh", ...args: any[]) => void) & ((event: "command", ...args: any[]) => void) & ((event: "plus", ...args: any[]) => void) & ((event: "back", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "remove", ...args: any[]) => void) & ((event: "save", ...args: any[]) => void);
|
616
616
|
$el: any;
|
617
617
|
$options: ComponentOptionsBase<Readonly< Props> & Readonly<{
|
618
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
619
618
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
619
|
+
onCommand?: ((...args: any[]) => any) | undefined;
|
620
620
|
onPlus?: ((...args: any[]) => any) | undefined;
|
621
621
|
onBack?: ((...args: any[]) => any) | undefined;
|
622
622
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -628,8 +628,8 @@ declare const _default: DefineComponent<Props, {
|
|
628
628
|
autoScrollToBottom: (diff?: number) => void;
|
629
629
|
scrollToTop: () => void;
|
630
630
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
631
|
-
command: (...args: any[]) => void;
|
632
631
|
refresh: (...args: any[]) => void;
|
632
|
+
command: (...args: any[]) => void;
|
633
633
|
plus: (...args: any[]) => void;
|
634
634
|
back: (...args: any[]) => void;
|
635
635
|
edit: (...args: any[]) => void;
|
@@ -662,8 +662,8 @@ declare const _default: DefineComponent<Props, {
|
|
662
662
|
menus: ActionMenuItem[];
|
663
663
|
header: boolean;
|
664
664
|
}> & Omit<Readonly< Props> & Readonly<{
|
665
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
666
665
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
666
|
+
onCommand?: ((...args: any[]) => any) | undefined;
|
667
667
|
onPlus?: ((...args: any[]) => any) | undefined;
|
668
668
|
onBack?: ((...args: any[]) => any) | undefined;
|
669
669
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -1,3 +1,5 @@
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
2
|
-
declare const _default: DefineComponent<{}, {
|
2
|
+
declare const _default: DefineComponent<{}, {
|
3
|
+
openAdd: () => void;
|
4
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
3
5
|
export default _default;
|
@@ -37,7 +37,11 @@ export declare const widgets: {
|
|
37
37
|
height: number;
|
38
38
|
}>;
|
39
39
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
40
|
-
Actions: DefineComponent<Props, {
|
40
|
+
Actions: DefineComponent<Props, {
|
41
|
+
preview: () => void;
|
42
|
+
isPreview: Ref<boolean, boolean>;
|
43
|
+
refresh: () => void;
|
44
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
|
41
45
|
coder: boolean;
|
42
46
|
onlyPublishTemplate: boolean;
|
43
47
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
@@ -45,7 +49,9 @@ export declare const widgets: {
|
|
45
49
|
Blocks: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
46
50
|
Components: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
47
51
|
Outline: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
48
|
-
History: DefineComponent<{}, {
|
52
|
+
History: DefineComponent<{}, {
|
53
|
+
openAdd: () => void;
|
54
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
49
55
|
Apis: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
50
56
|
Deps: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
51
57
|
Designer: DefineComponent<{}, {
|
@@ -222,8 +228,8 @@ export declare const widgets: {
|
|
222
228
|
readonly header?: boolean | undefined;
|
223
229
|
readonly collapsable?: boolean | undefined;
|
224
230
|
readonly menus?: ActionMenuItem[] | undefined;
|
225
|
-
readonly onCommand?: ((...args: any[]) => any) | undefined;
|
226
231
|
readonly onRefresh?: ((...args: any[]) => any) | undefined;
|
232
|
+
readonly onCommand?: ((...args: any[]) => any) | undefined;
|
227
233
|
readonly onPlus?: ((...args: any[]) => any) | undefined;
|
228
234
|
readonly onBack?: ((...args: any[]) => any) | undefined;
|
229
235
|
readonly onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -808,11 +814,11 @@ export declare const widgets: {
|
|
808
814
|
$root: ComponentPublicInstance | null;
|
809
815
|
$parent: ComponentPublicInstance | null;
|
810
816
|
$host: Element | null;
|
811
|
-
$emit: ((event: "
|
817
|
+
$emit: ((event: "refresh", ...args: any[]) => void) & ((event: "command", ...args: any[]) => void) & ((event: "plus", ...args: any[]) => void) & ((event: "back", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "remove", ...args: any[]) => void) & ((event: "save", ...args: any[]) => void);
|
812
818
|
$el: any;
|
813
819
|
$options: ComponentOptionsBase<Readonly< Props> & Readonly<{
|
814
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
815
820
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
821
|
+
onCommand?: ((...args: any[]) => any) | undefined;
|
816
822
|
onPlus?: ((...args: any[]) => any) | undefined;
|
817
823
|
onBack?: ((...args: any[]) => any) | undefined;
|
818
824
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -824,8 +830,8 @@ export declare const widgets: {
|
|
824
830
|
autoScrollToBottom: (diff?: number) => void;
|
825
831
|
scrollToTop: () => void;
|
826
832
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
827
|
-
command: (...args: any[]) => void;
|
828
833
|
refresh: (...args: any[]) => void;
|
834
|
+
command: (...args: any[]) => void;
|
829
835
|
plus: (...args: any[]) => void;
|
830
836
|
back: (...args: any[]) => void;
|
831
837
|
edit: (...args: any[]) => void;
|
@@ -858,8 +864,8 @@ export declare const widgets: {
|
|
858
864
|
menus: ActionMenuItem[];
|
859
865
|
header: boolean;
|
860
866
|
}> & Omit<Readonly< Props> & Readonly<{
|
861
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
862
867
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
868
|
+
onCommand?: ((...args: any[]) => any) | undefined;
|
863
869
|
onPlus?: ((...args: any[]) => any) | undefined;
|
864
870
|
onBack?: ((...args: any[]) => any) | undefined;
|
865
871
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -901,8 +907,8 @@ export declare const widgets: {
|
|
901
907
|
readonly header?: boolean | undefined;
|
902
908
|
readonly collapsable?: boolean | undefined;
|
903
909
|
readonly menus?: ActionMenuItem[] | undefined;
|
904
|
-
readonly onCommand?: ((...args: any[]) => any) | undefined;
|
905
910
|
readonly onRefresh?: ((...args: any[]) => any) | undefined;
|
911
|
+
readonly onCommand?: ((...args: any[]) => any) | undefined;
|
906
912
|
readonly onPlus?: ((...args: any[]) => any) | undefined;
|
907
913
|
readonly onBack?: ((...args: any[]) => any) | undefined;
|
908
914
|
readonly onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -1487,11 +1493,11 @@ export declare const widgets: {
|
|
1487
1493
|
$root: ComponentPublicInstance | null;
|
1488
1494
|
$parent: ComponentPublicInstance | null;
|
1489
1495
|
$host: Element | null;
|
1490
|
-
$emit: ((event: "
|
1496
|
+
$emit: ((event: "refresh", ...args: any[]) => void) & ((event: "command", ...args: any[]) => void) & ((event: "plus", ...args: any[]) => void) & ((event: "back", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "remove", ...args: any[]) => void) & ((event: "save", ...args: any[]) => void);
|
1491
1497
|
$el: any;
|
1492
1498
|
$options: ComponentOptionsBase<Readonly< Props> & Readonly<{
|
1493
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
1494
1499
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
1500
|
+
onCommand?: ((...args: any[]) => any) | undefined;
|
1495
1501
|
onPlus?: ((...args: any[]) => any) | undefined;
|
1496
1502
|
onBack?: ((...args: any[]) => any) | undefined;
|
1497
1503
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -1503,8 +1509,8 @@ export declare const widgets: {
|
|
1503
1509
|
autoScrollToBottom: (diff?: number) => void;
|
1504
1510
|
scrollToTop: () => void;
|
1505
1511
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
1506
|
-
command: (...args: any[]) => void;
|
1507
1512
|
refresh: (...args: any[]) => void;
|
1513
|
+
command: (...args: any[]) => void;
|
1508
1514
|
plus: (...args: any[]) => void;
|
1509
1515
|
back: (...args: any[]) => void;
|
1510
1516
|
edit: (...args: any[]) => void;
|
@@ -1537,8 +1543,8 @@ export declare const widgets: {
|
|
1537
1543
|
menus: ActionMenuItem[];
|
1538
1544
|
header: boolean;
|
1539
1545
|
}> & Omit<Readonly< Props> & Readonly<{
|
1540
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
1541
1546
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
1547
|
+
onCommand?: ((...args: any[]) => any) | undefined;
|
1542
1548
|
onPlus?: ((...args: any[]) => any) | undefined;
|
1543
1549
|
onBack?: ((...args: any[]) => any) | undefined;
|
1544
1550
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -1579,8 +1585,8 @@ export declare const widgets: {
|
|
1579
1585
|
readonly header?: boolean | undefined;
|
1580
1586
|
readonly collapsable?: boolean | undefined;
|
1581
1587
|
readonly menus?: ActionMenuItem[] | undefined;
|
1582
|
-
readonly onCommand?: ((...args: any[]) => any) | undefined;
|
1583
1588
|
readonly onRefresh?: ((...args: any[]) => any) | undefined;
|
1589
|
+
readonly onCommand?: ((...args: any[]) => any) | undefined;
|
1584
1590
|
readonly onPlus?: ((...args: any[]) => any) | undefined;
|
1585
1591
|
readonly onBack?: ((...args: any[]) => any) | undefined;
|
1586
1592
|
readonly onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -2165,11 +2171,11 @@ export declare const widgets: {
|
|
2165
2171
|
$root: ComponentPublicInstance | null;
|
2166
2172
|
$parent: ComponentPublicInstance | null;
|
2167
2173
|
$host: Element | null;
|
2168
|
-
$emit: ((event: "
|
2174
|
+
$emit: ((event: "refresh", ...args: any[]) => void) & ((event: "command", ...args: any[]) => void) & ((event: "plus", ...args: any[]) => void) & ((event: "back", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "remove", ...args: any[]) => void) & ((event: "save", ...args: any[]) => void);
|
2169
2175
|
$el: any;
|
2170
2176
|
$options: ComponentOptionsBase<Readonly< Props> & Readonly<{
|
2171
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
2172
2177
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
2178
|
+
onCommand?: ((...args: any[]) => any) | undefined;
|
2173
2179
|
onPlus?: ((...args: any[]) => any) | undefined;
|
2174
2180
|
onBack?: ((...args: any[]) => any) | undefined;
|
2175
2181
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -2181,8 +2187,8 @@ export declare const widgets: {
|
|
2181
2187
|
autoScrollToBottom: (diff?: number) => void;
|
2182
2188
|
scrollToTop: () => void;
|
2183
2189
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
2184
|
-
command: (...args: any[]) => void;
|
2185
2190
|
refresh: (...args: any[]) => void;
|
2191
|
+
command: (...args: any[]) => void;
|
2186
2192
|
plus: (...args: any[]) => void;
|
2187
2193
|
back: (...args: any[]) => void;
|
2188
2194
|
edit: (...args: any[]) => void;
|
@@ -2215,8 +2221,8 @@ export declare const widgets: {
|
|
2215
2221
|
menus: ActionMenuItem[];
|
2216
2222
|
header: boolean;
|
2217
2223
|
}> & Omit<Readonly< Props> & Readonly<{
|
2218
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
2219
2224
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
2225
|
+
onCommand?: ((...args: any[]) => any) | undefined;
|
2220
2226
|
onPlus?: ((...args: any[]) => any) | undefined;
|
2221
2227
|
onBack?: ((...args: any[]) => any) | undefined;
|
2222
2228
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -20,8 +20,8 @@ declare const _default: DefineComponent<{}, {
|
|
20
20
|
readonly header?: boolean | undefined;
|
21
21
|
readonly collapsable?: boolean | undefined;
|
22
22
|
readonly menus?: ActionMenuItem[] | undefined;
|
23
|
-
readonly onCommand?: ((...args: any[]) => any) | undefined;
|
24
23
|
readonly onRefresh?: ((...args: any[]) => any) | undefined;
|
24
|
+
readonly onCommand?: ((...args: any[]) => any) | undefined;
|
25
25
|
readonly onPlus?: ((...args: any[]) => any) | undefined;
|
26
26
|
readonly onBack?: ((...args: any[]) => any) | undefined;
|
27
27
|
readonly onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -606,11 +606,11 @@ declare const _default: DefineComponent<{}, {
|
|
606
606
|
$root: ComponentPublicInstance | null;
|
607
607
|
$parent: ComponentPublicInstance | null;
|
608
608
|
$host: Element | null;
|
609
|
-
$emit: ((event: "
|
609
|
+
$emit: ((event: "refresh", ...args: any[]) => void) & ((event: "command", ...args: any[]) => void) & ((event: "plus", ...args: any[]) => void) & ((event: "back", ...args: any[]) => void) & ((event: "edit", ...args: any[]) => void) & ((event: "remove", ...args: any[]) => void) & ((event: "save", ...args: any[]) => void);
|
610
610
|
$el: any;
|
611
611
|
$options: ComponentOptionsBase<Readonly< Props> & Readonly<{
|
612
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
613
612
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
613
|
+
onCommand?: ((...args: any[]) => any) | undefined;
|
614
614
|
onPlus?: ((...args: any[]) => any) | undefined;
|
615
615
|
onBack?: ((...args: any[]) => any) | undefined;
|
616
616
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -622,8 +622,8 @@ declare const _default: DefineComponent<{}, {
|
|
622
622
|
autoScrollToBottom: (diff?: number) => void;
|
623
623
|
scrollToTop: () => void;
|
624
624
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
625
|
-
command: (...args: any[]) => void;
|
626
625
|
refresh: (...args: any[]) => void;
|
626
|
+
command: (...args: any[]) => void;
|
627
627
|
plus: (...args: any[]) => void;
|
628
628
|
back: (...args: any[]) => void;
|
629
629
|
edit: (...args: any[]) => void;
|
@@ -656,8 +656,8 @@ declare const _default: DefineComponent<{}, {
|
|
656
656
|
menus: ActionMenuItem[];
|
657
657
|
header: boolean;
|
658
658
|
}> & Omit<Readonly< Props> & Readonly<{
|
659
|
-
onCommand?: ((...args: any[]) => any) | undefined;
|
660
659
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
660
|
+
onCommand?: ((...args: any[]) => any) | undefined;
|
661
661
|
onPlus?: ((...args: any[]) => any) | undefined;
|
662
662
|
onBack?: ((...args: any[]) => any) | undefined;
|
663
663
|
onEdit?: ((...args: any[]) => any) | undefined;
|
@@ -55,9 +55,9 @@ declare function __VLS_template(): {
|
|
55
55
|
readonly size?: BaseSize | undefined;
|
56
56
|
readonly name?: string | undefined;
|
57
57
|
readonly props?: Record<string, any> | undefined;
|
58
|
+
readonly error?: string | undefined;
|
58
59
|
readonly width?: string | number | undefined;
|
59
60
|
readonly label?: string | undefined;
|
60
|
-
readonly error?: string | undefined;
|
61
61
|
readonly options?: FieldOption[] | FieldOptionsLoader | undefined;
|
62
62
|
readonly disabled?: boolean | undefined;
|
63
63
|
readonly placeholder?: string | null | undefined;
|
@@ -611,9 +611,9 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
611
611
|
readonly size?: BaseSize | undefined;
|
612
612
|
readonly name?: string | undefined;
|
613
613
|
readonly props?: Record<string, any> | undefined;
|
614
|
+
readonly error?: string | undefined;
|
614
615
|
readonly width?: string | number | undefined;
|
615
616
|
readonly label?: string | undefined;
|
616
|
-
readonly error?: string | undefined;
|
617
617
|
readonly options?: FieldOption[] | FieldOptionsLoader | undefined;
|
618
618
|
readonly disabled?: boolean | undefined;
|
619
619
|
readonly placeholder?: string | null | undefined;
|
package/types/constants.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Dependencie } from '@vtj/core';
|
1
2
|
export declare const MOBILE_SIZE: {
|
2
3
|
width: number;
|
3
4
|
height: number;
|
@@ -48,3 +49,4 @@ export declare const SESSION_ID_KEY = "SESSION_ID__";
|
|
48
49
|
export declare const STATE_KEY = "ENGINE_STATE__";
|
49
50
|
export declare const MAX_TOKENS: number;
|
50
51
|
export declare const GET_TOKENS_LINK = "https://lcdp.vtj.pro/page/17ikytmh";
|
52
|
+
export declare const HOT_KEYS_DEP: Dependencie;
|
package/types/version.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright (c) 2025, VTJ.PRO All rights reserved.
|
3
3
|
* @name @vtj/designer
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
5
|
-
* @version 0.13.
|
5
|
+
* @version 0.13.24
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
7
7
|
*/
|
8
|
-
export declare const version = "0.13.
|
8
|
+
export declare const version = "0.13.24";
|
@@ -94,11 +94,11 @@ export declare const SetterWrapper: DefineComponent<ExtractPropTypes<{
|
|
94
94
|
onRemove?: ((...args: any[]) => any) | undefined;
|
95
95
|
}>, {
|
96
96
|
value: string | number | boolean | Record<string, any> | unknown[];
|
97
|
+
current: BlockModel | null;
|
97
98
|
context: Context | null;
|
98
99
|
setters: string | MaterialSetter | (string | MaterialSetter)[];
|
99
100
|
options: unknown[];
|
100
101
|
disabled: boolean;
|
101
|
-
current: BlockModel | null;
|
102
102
|
removable: boolean;
|
103
103
|
variable: boolean;
|
104
104
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
package/dist/Editor-DXsCBRiC.js
DELETED