@vtj/designer 0.12.69 → 0.13.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-DHLvxB1R.js +4 -0
- package/dist/{index-CWU3Kf69.js → index-BojxLi04.js} +5865 -5446
- package/dist/index.mjs +25 -25
- package/dist/style.css +1 -1
- package/package.json +7 -7
- package/types/components/hooks/index.d.ts +1 -0
- package/types/components/hooks/useBinder.d.ts +3 -1
- package/types/components/hooks/useDesigner.d.ts +2 -2
- package/types/components/hooks/useWorkspace.d.ts +16 -0
- package/types/components/regions/index.d.ts +2 -2
- package/types/components/regions/workspace.d.ts +2 -2
- package/types/components/setter.d.ts +1 -0
- package/types/components/setters/function.d.ts +3 -0
- package/types/components/setters/index.d.ts +1 -0
- package/types/components/shared/action-menu.d.ts +15 -0
- package/types/components/shared/binder.d.ts +2297 -20
- package/types/components/shared/index.d.ts +2 -2
- package/types/components/shared/panel.d.ts +10 -10
- package/types/components/shared/tabs.d.ts +15 -1
- package/types/components/shared/viewer.d.ts +4 -4
- package/types/components/widgets/ai/image-input.d.ts +3 -3
- package/types/components/widgets/ai/index.d.ts +8 -8
- package/types/components/widgets/ai/json-input.d.ts +11 -11
- package/types/components/widgets/apis/form.d.ts +1152 -13
- package/types/components/widgets/docs/index.d.ts +8 -8
- package/types/components/widgets/index.d.ts +23 -22
- package/types/components/widgets/market/index.d.ts +8 -8
- package/types/components/widgets/scripts/group.d.ts +2 -2
- package/types/components/widgets/style/spacing-input.d.ts +3 -3
- package/types/framework/simulator.d.ts +2 -2
- package/types/managers/deps.d.ts +5 -0
- package/types/version.d.ts +2 -2
- package/types/wrappers/setter.d.ts +9 -0
- package/dist/Editor-WXSkVjuR.js +0 -4
- /package/types/components/{shared/micro-app.d.ts → widgets/globals/index.d.ts} +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Ref, nextTick } from 'vue';
|
2
|
-
import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent,
|
2
|
+
import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, PanelBadge, IconParam, HeaderProps, ContainerProps } from '@vtj/ui';
|
3
3
|
import { OnCleanup } from '@vue/reactivity';
|
4
4
|
import { Props } from '../../shared/panel';
|
5
5
|
export interface Props {
|
@@ -49,8 +49,8 @@ declare const _default: DefineComponent<Props, {
|
|
49
49
|
border: boolean;
|
50
50
|
card: boolean;
|
51
51
|
}> & Omit<{
|
52
|
-
readonly fit: boolean;
|
53
52
|
readonly radius: boolean;
|
53
|
+
readonly fit: boolean;
|
54
54
|
readonly border: boolean;
|
55
55
|
readonly card: boolean;
|
56
56
|
readonly size?: BaseSize | undefined;
|
@@ -124,6 +124,7 @@ declare const _default: DefineComponent<Props, {
|
|
124
124
|
type: BooleanConstructor;
|
125
125
|
};
|
126
126
|
}>>> | undefined;
|
127
|
+
readonly badge?: PanelBadge | undefined;
|
127
128
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
128
129
|
tag: {
|
129
130
|
type: StringConstructor;
|
@@ -214,9 +215,8 @@ declare const _default: DefineComponent<Props, {
|
|
214
215
|
type: BooleanConstructor;
|
215
216
|
};
|
216
217
|
}>>> | null | undefined;
|
217
|
-
readonly badge?: PanelBadge | undefined;
|
218
218
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
219
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
219
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
220
220
|
$attrs: {
|
221
221
|
[x: string]: unknown;
|
222
222
|
};
|
@@ -594,7 +594,7 @@ declare const _default: DefineComponent<Props, {
|
|
594
594
|
footer: {
|
595
595
|
type: PropType<ContainerProps>;
|
596
596
|
};
|
597
|
-
}>> & Readonly<{}>, "
|
597
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
598
598
|
bodyRef: Ref<any, any>;
|
599
599
|
}> & {} & ComponentCustomProperties & {} & {
|
600
600
|
$slots: {
|
@@ -636,8 +636,8 @@ declare const _default: DefineComponent<Props, {
|
|
636
636
|
remove: (...args: any[]) => void;
|
637
637
|
save: (...args: any[]) => void;
|
638
638
|
}, string, {
|
639
|
-
header: boolean;
|
640
639
|
menus: ActionMenuItem[];
|
640
|
+
header: boolean;
|
641
641
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
642
642
|
beforeCreate?: (() => void) | (() => void)[];
|
643
643
|
created?: (() => void) | (() => void)[];
|
@@ -659,8 +659,8 @@ declare const _default: DefineComponent<Props, {
|
|
659
659
|
$nextTick: nextTick;
|
660
660
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
661
661
|
} & Readonly<{
|
662
|
-
header: boolean;
|
663
662
|
menus: ActionMenuItem[];
|
663
|
+
header: boolean;
|
664
664
|
}> & Omit<Readonly< Props> & Readonly<{
|
665
665
|
onCommand?: ((...args: any[]) => any) | undefined;
|
666
666
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
@@ -669,7 +669,7 @@ declare const _default: DefineComponent<Props, {
|
|
669
669
|
onEdit?: ((...args: any[]) => any) | undefined;
|
670
670
|
onRemove?: ((...args: any[]) => any) | undefined;
|
671
671
|
onSave?: ((...args: any[]) => any) | undefined;
|
672
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("
|
672
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & ShallowUnwrapRef<{
|
673
673
|
panelRef: Ref<any, any>;
|
674
674
|
scrollToBottom: () => void;
|
675
675
|
autoScrollToBottom: (diff?: number) => void;
|
@@ -7,7 +7,7 @@ import { Props } from '../editor/Editor';
|
|
7
7
|
import { Props } from './style/index';
|
8
8
|
import { Props } from './previewer/index';
|
9
9
|
import { Props } from './docs/index';
|
10
|
-
import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent,
|
10
|
+
import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, PanelBadge, IconParam, HeaderProps, ContainerProps } from '@vtj/ui';
|
11
11
|
import { OnCleanup } from '@vue/reactivity';
|
12
12
|
import { Props } from '../shared/panel';
|
13
13
|
import { Props } from './about/index';
|
@@ -242,8 +242,8 @@ export declare const widgets: {
|
|
242
242
|
border: boolean;
|
243
243
|
card: boolean;
|
244
244
|
}> & Omit<{
|
245
|
-
readonly fit: boolean;
|
246
245
|
readonly radius: boolean;
|
246
|
+
readonly fit: boolean;
|
247
247
|
readonly border: boolean;
|
248
248
|
readonly card: boolean;
|
249
249
|
readonly size?: BaseSize | undefined;
|
@@ -317,6 +317,7 @@ export declare const widgets: {
|
|
317
317
|
type: BooleanConstructor;
|
318
318
|
};
|
319
319
|
}>>> | undefined;
|
320
|
+
readonly badge?: PanelBadge | undefined;
|
320
321
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
321
322
|
tag: {
|
322
323
|
type: StringConstructor;
|
@@ -407,9 +408,8 @@ export declare const widgets: {
|
|
407
408
|
type: BooleanConstructor;
|
408
409
|
};
|
409
410
|
}>>> | null | undefined;
|
410
|
-
readonly badge?: PanelBadge | undefined;
|
411
411
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
412
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
412
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
413
413
|
$attrs: {
|
414
414
|
[x: string]: unknown;
|
415
415
|
};
|
@@ -787,7 +787,7 @@ export declare const widgets: {
|
|
787
787
|
footer: {
|
788
788
|
type: PropType<ContainerProps>;
|
789
789
|
};
|
790
|
-
}>> & Readonly<{}>, "
|
790
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
791
791
|
bodyRef: Ref<any, any>;
|
792
792
|
}> & {} & ComponentCustomProperties & {} & {
|
793
793
|
$slots: {
|
@@ -829,8 +829,8 @@ export declare const widgets: {
|
|
829
829
|
remove: (...args: any[]) => void;
|
830
830
|
save: (...args: any[]) => void;
|
831
831
|
}, string, {
|
832
|
-
header: boolean;
|
833
832
|
menus: ActionMenuItem[];
|
833
|
+
header: boolean;
|
834
834
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
835
835
|
beforeCreate?: (() => void) | (() => void)[];
|
836
836
|
created?: (() => void) | (() => void)[];
|
@@ -852,8 +852,8 @@ export declare const widgets: {
|
|
852
852
|
$nextTick: nextTick;
|
853
853
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
854
854
|
} & Readonly<{
|
855
|
-
header: boolean;
|
856
855
|
menus: ActionMenuItem[];
|
856
|
+
header: boolean;
|
857
857
|
}> & Omit<Readonly< Props> & Readonly<{
|
858
858
|
onCommand?: ((...args: any[]) => any) | undefined;
|
859
859
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
@@ -862,7 +862,7 @@ export declare const widgets: {
|
|
862
862
|
onEdit?: ((...args: any[]) => any) | undefined;
|
863
863
|
onRemove?: ((...args: any[]) => any) | undefined;
|
864
864
|
onSave?: ((...args: any[]) => any) | undefined;
|
865
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("
|
865
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & ShallowUnwrapRef<{
|
866
866
|
panelRef: Ref<any, any>;
|
867
867
|
scrollToBottom: () => void;
|
868
868
|
autoScrollToBottom: (diff?: number) => void;
|
@@ -920,8 +920,8 @@ export declare const widgets: {
|
|
920
920
|
border: boolean;
|
921
921
|
card: boolean;
|
922
922
|
}> & Omit<{
|
923
|
-
readonly fit: boolean;
|
924
923
|
readonly radius: boolean;
|
924
|
+
readonly fit: boolean;
|
925
925
|
readonly border: boolean;
|
926
926
|
readonly card: boolean;
|
927
927
|
readonly size?: BaseSize | undefined;
|
@@ -995,6 +995,7 @@ export declare const widgets: {
|
|
995
995
|
type: BooleanConstructor;
|
996
996
|
};
|
997
997
|
}>>> | undefined;
|
998
|
+
readonly badge?: PanelBadge | undefined;
|
998
999
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
999
1000
|
tag: {
|
1000
1001
|
type: StringConstructor;
|
@@ -1085,9 +1086,8 @@ export declare const widgets: {
|
|
1085
1086
|
type: BooleanConstructor;
|
1086
1087
|
};
|
1087
1088
|
}>>> | null | undefined;
|
1088
|
-
readonly badge?: PanelBadge | undefined;
|
1089
1089
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
1090
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
1090
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
1091
1091
|
$attrs: {
|
1092
1092
|
[x: string]: unknown;
|
1093
1093
|
};
|
@@ -1465,7 +1465,7 @@ export declare const widgets: {
|
|
1465
1465
|
footer: {
|
1466
1466
|
type: PropType<ContainerProps>;
|
1467
1467
|
};
|
1468
|
-
}>> & Readonly<{}>, "
|
1468
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
1469
1469
|
bodyRef: Ref<any, any>;
|
1470
1470
|
}> & {} & ComponentCustomProperties & {} & {
|
1471
1471
|
$slots: {
|
@@ -1507,8 +1507,8 @@ export declare const widgets: {
|
|
1507
1507
|
remove: (...args: any[]) => void;
|
1508
1508
|
save: (...args: any[]) => void;
|
1509
1509
|
}, string, {
|
1510
|
-
header: boolean;
|
1511
1510
|
menus: ActionMenuItem[];
|
1511
|
+
header: boolean;
|
1512
1512
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
1513
1513
|
beforeCreate?: (() => void) | (() => void)[];
|
1514
1514
|
created?: (() => void) | (() => void)[];
|
@@ -1530,8 +1530,8 @@ export declare const widgets: {
|
|
1530
1530
|
$nextTick: nextTick;
|
1531
1531
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
1532
1532
|
} & Readonly<{
|
1533
|
-
header: boolean;
|
1534
1533
|
menus: ActionMenuItem[];
|
1534
|
+
header: boolean;
|
1535
1535
|
}> & Omit<Readonly< Props> & Readonly<{
|
1536
1536
|
onCommand?: ((...args: any[]) => any) | undefined;
|
1537
1537
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
@@ -1540,7 +1540,7 @@ export declare const widgets: {
|
|
1540
1540
|
onEdit?: ((...args: any[]) => any) | undefined;
|
1541
1541
|
onRemove?: ((...args: any[]) => any) | undefined;
|
1542
1542
|
onSave?: ((...args: any[]) => any) | undefined;
|
1543
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("
|
1543
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & ShallowUnwrapRef<{
|
1544
1544
|
panelRef: Ref<any, any>;
|
1545
1545
|
scrollToBottom: () => void;
|
1546
1546
|
autoScrollToBottom: (diff?: number) => void;
|
@@ -1597,8 +1597,8 @@ export declare const widgets: {
|
|
1597
1597
|
border: boolean;
|
1598
1598
|
card: boolean;
|
1599
1599
|
}> & Omit<{
|
1600
|
-
readonly fit: boolean;
|
1601
1600
|
readonly radius: boolean;
|
1601
|
+
readonly fit: boolean;
|
1602
1602
|
readonly border: boolean;
|
1603
1603
|
readonly card: boolean;
|
1604
1604
|
readonly size?: BaseSize | undefined;
|
@@ -1672,6 +1672,7 @@ export declare const widgets: {
|
|
1672
1672
|
type: BooleanConstructor;
|
1673
1673
|
};
|
1674
1674
|
}>>> | undefined;
|
1675
|
+
readonly badge?: PanelBadge | undefined;
|
1675
1676
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
1676
1677
|
tag: {
|
1677
1678
|
type: StringConstructor;
|
@@ -1762,9 +1763,8 @@ export declare const widgets: {
|
|
1762
1763
|
type: BooleanConstructor;
|
1763
1764
|
};
|
1764
1765
|
}>>> | null | undefined;
|
1765
|
-
readonly badge?: PanelBadge | undefined;
|
1766
1766
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
1767
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
1767
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
1768
1768
|
$attrs: {
|
1769
1769
|
[x: string]: unknown;
|
1770
1770
|
};
|
@@ -2142,7 +2142,7 @@ export declare const widgets: {
|
|
2142
2142
|
footer: {
|
2143
2143
|
type: PropType<ContainerProps>;
|
2144
2144
|
};
|
2145
|
-
}>> & Readonly<{}>, "
|
2145
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
2146
2146
|
bodyRef: Ref<any, any>;
|
2147
2147
|
}> & {} & ComponentCustomProperties & {} & {
|
2148
2148
|
$slots: {
|
@@ -2184,8 +2184,8 @@ export declare const widgets: {
|
|
2184
2184
|
remove: (...args: any[]) => void;
|
2185
2185
|
save: (...args: any[]) => void;
|
2186
2186
|
}, string, {
|
2187
|
-
header: boolean;
|
2188
2187
|
menus: ActionMenuItem[];
|
2188
|
+
header: boolean;
|
2189
2189
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
2190
2190
|
beforeCreate?: (() => void) | (() => void)[];
|
2191
2191
|
created?: (() => void) | (() => void)[];
|
@@ -2207,8 +2207,8 @@ export declare const widgets: {
|
|
2207
2207
|
$nextTick: nextTick;
|
2208
2208
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
2209
2209
|
} & Readonly<{
|
2210
|
-
header: boolean;
|
2211
2210
|
menus: ActionMenuItem[];
|
2211
|
+
header: boolean;
|
2212
2212
|
}> & Omit<Readonly< Props> & Readonly<{
|
2213
2213
|
onCommand?: ((...args: any[]) => any) | undefined;
|
2214
2214
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
@@ -2217,7 +2217,7 @@ export declare const widgets: {
|
|
2217
2217
|
onEdit?: ((...args: any[]) => any) | undefined;
|
2218
2218
|
onRemove?: ((...args: any[]) => any) | undefined;
|
2219
2219
|
onSave?: ((...args: any[]) => any) | undefined;
|
2220
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("
|
2220
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & ShallowUnwrapRef<{
|
2221
2221
|
panelRef: Ref<any, any>;
|
2222
2222
|
scrollToBottom: () => void;
|
2223
2223
|
autoScrollToBottom: (diff?: number) => void;
|
@@ -2231,4 +2231,5 @@ export declare const widgets: {
|
|
2231
2231
|
}) | null;
|
2232
2232
|
listRef: HTMLDivElement;
|
2233
2233
|
}, any>;
|
2234
|
+
Globals: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
2234
2235
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Ref, nextTick } from 'vue';
|
2
|
-
import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent,
|
2
|
+
import { ActionMenuItem, BaseSize, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, PanelBadge, IconParam, HeaderProps, ContainerProps } from '@vtj/ui';
|
3
3
|
import { OnCleanup } from '@vue/reactivity';
|
4
4
|
import { Props } from '../../shared/panel';
|
5
5
|
declare const _default: DefineComponent<{}, {
|
@@ -43,8 +43,8 @@ declare const _default: DefineComponent<{}, {
|
|
43
43
|
border: boolean;
|
44
44
|
card: boolean;
|
45
45
|
}> & Omit<{
|
46
|
-
readonly fit: boolean;
|
47
46
|
readonly radius: boolean;
|
47
|
+
readonly fit: boolean;
|
48
48
|
readonly border: boolean;
|
49
49
|
readonly card: boolean;
|
50
50
|
readonly size?: BaseSize | undefined;
|
@@ -118,6 +118,7 @@ declare const _default: DefineComponent<{}, {
|
|
118
118
|
type: BooleanConstructor;
|
119
119
|
};
|
120
120
|
}>>> | undefined;
|
121
|
+
readonly badge?: PanelBadge | undefined;
|
121
122
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
122
123
|
tag: {
|
123
124
|
type: StringConstructor;
|
@@ -208,9 +209,8 @@ declare const _default: DefineComponent<{}, {
|
|
208
209
|
type: BooleanConstructor;
|
209
210
|
};
|
210
211
|
}>>> | null | undefined;
|
211
|
-
readonly badge?: PanelBadge | undefined;
|
212
212
|
readonly shadow?: "hover" | "none" | "always" | undefined;
|
213
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
213
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "radius" | "fit" | "border" | "card">;
|
214
214
|
$attrs: {
|
215
215
|
[x: string]: unknown;
|
216
216
|
};
|
@@ -588,7 +588,7 @@ declare const _default: DefineComponent<{}, {
|
|
588
588
|
footer: {
|
589
589
|
type: PropType<ContainerProps>;
|
590
590
|
};
|
591
|
-
}>> & Readonly<{}>, "
|
591
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & ShallowUnwrapRef<{
|
592
592
|
bodyRef: Ref<any, any>;
|
593
593
|
}> & {} & ComponentCustomProperties & {} & {
|
594
594
|
$slots: {
|
@@ -630,8 +630,8 @@ declare const _default: DefineComponent<{}, {
|
|
630
630
|
remove: (...args: any[]) => void;
|
631
631
|
save: (...args: any[]) => void;
|
632
632
|
}, string, {
|
633
|
-
header: boolean;
|
634
633
|
menus: ActionMenuItem[];
|
634
|
+
header: boolean;
|
635
635
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
636
636
|
beforeCreate?: (() => void) | (() => void)[];
|
637
637
|
created?: (() => void) | (() => void)[];
|
@@ -653,8 +653,8 @@ declare const _default: DefineComponent<{}, {
|
|
653
653
|
$nextTick: nextTick;
|
654
654
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
655
655
|
} & Readonly<{
|
656
|
-
header: boolean;
|
657
656
|
menus: ActionMenuItem[];
|
657
|
+
header: boolean;
|
658
658
|
}> & Omit<Readonly< Props> & Readonly<{
|
659
659
|
onCommand?: ((...args: any[]) => any) | undefined;
|
660
660
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
@@ -663,7 +663,7 @@ declare const _default: DefineComponent<{}, {
|
|
663
663
|
onEdit?: ((...args: any[]) => any) | undefined;
|
664
664
|
onRemove?: ((...args: any[]) => any) | undefined;
|
665
665
|
onSave?: ((...args: any[]) => any) | undefined;
|
666
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("
|
666
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & ShallowUnwrapRef<{
|
667
667
|
panelRef: Ref<any, any>;
|
668
668
|
scrollToBottom: () => void;
|
669
669
|
autoScrollToBottom: (diff?: number) => void;
|
@@ -314,7 +314,7 @@ declare function __VLS_template(): {
|
|
314
314
|
$root: ComponentPublicInstance | null;
|
315
315
|
$parent: ComponentPublicInstance | null;
|
316
316
|
$host: Element | null;
|
317
|
-
$emit: ((event: "
|
317
|
+
$emit: ((event: "focus") => void) & ((event: "update:modelValue", value: any) => void) & ((event: "blur") => void) & ((event: "change", value: any, data?: any) => void);
|
318
318
|
$el: any;
|
319
319
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
320
320
|
name: {
|
@@ -870,7 +870,7 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
870
870
|
$root: ComponentPublicInstance | null;
|
871
871
|
$parent: ComponentPublicInstance | null;
|
872
872
|
$host: Element | null;
|
873
|
-
$emit: ((event: "
|
873
|
+
$emit: ((event: "focus") => void) & ((event: "update:modelValue", value: any) => void) & ((event: "blur") => void) & ((event: "change", value: any, data?: any) => void);
|
874
874
|
$el: any;
|
875
875
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
876
876
|
name: {
|
@@ -35,11 +35,11 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
35
35
|
gap: boolean;
|
36
36
|
autoPointer: boolean;
|
37
37
|
}> & Omit<{
|
38
|
+
readonly padding: boolean;
|
38
39
|
readonly tag: string;
|
39
40
|
readonly direction: ContainerDirection;
|
40
41
|
readonly inline: boolean;
|
41
42
|
readonly fit: boolean;
|
42
|
-
readonly padding: boolean;
|
43
43
|
readonly flex: boolean;
|
44
44
|
readonly wrap: ContainerWrap;
|
45
45
|
readonly justify: ContainerJustifyContent;
|
@@ -53,7 +53,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
53
53
|
readonly height?: string | number | undefined;
|
54
54
|
readonly width?: string | number | undefined;
|
55
55
|
readonly overflow?: "visible" | "hidden" | "auto" | undefined;
|
56
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
56
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "direction" | "inline" | "fit" | "flex" | "wrap" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
|
57
57
|
$attrs: {
|
58
58
|
[x: string]: unknown;
|
59
59
|
};
|
@@ -258,7 +258,7 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
258
258
|
autoPointer: {
|
259
259
|
type: BooleanConstructor;
|
260
260
|
};
|
261
|
-
}>> & Readonly<{}>, "tag" | "direction" | "$vtjEl" | "inline" | "fit" | "
|
261
|
+
}>> & Readonly<{}>, "padding" | "tag" | "direction" | "$vtjEl" | "inline" | "fit" | "flex" | "wrap" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer"> & ShallowUnwrapRef<{
|
262
262
|
$vtjEl: ComputedRef<any>;
|
263
263
|
}> & {} & ComponentCustomProperties & {} & {
|
264
264
|
$slots: {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Ref, ShallowRef, App } from 'vue';
|
2
|
-
import { Dependencie, Material, ApiSchema, MetaSchema, ProjectConfig, UniConfig, EnhanceConfig, Base } from '@vtj/core';
|
2
|
+
import { Dependencie, Material, ApiSchema, MetaSchema, ProjectConfig, UniConfig, EnhanceConfig, GlobalConfig, Base } from '@vtj/core';
|
3
3
|
import { Provider } from '@vtj/renderer';
|
4
4
|
import { Renderer } from './renderer';
|
5
5
|
import { Designer } from './designer';
|
@@ -42,7 +42,7 @@ export declare class Simulator extends Base {
|
|
42
42
|
devtools: DevTools;
|
43
43
|
enhance?: EnhanceConfig;
|
44
44
|
constructor(options: SimulatorOptions);
|
45
|
-
init(iframe: Ref<HTMLIFrameElement | undefined>, deps: Ref<Dependencie[]>, apis: Ref<ApiSchema[]>, meta: Ref<MetaSchema[]>, config: Ref<ProjectConfig>, uniConfig: Ref<UniConfig>): void;
|
45
|
+
init(iframe: Ref<HTMLIFrameElement | undefined>, deps: Ref<Dependencie[]>, apis: Ref<ApiSchema[]>, meta: Ref<MetaSchema[]>, config: Ref<ProjectConfig>, uniConfig: Ref<UniConfig>, global: Ref<GlobalConfig>): void;
|
46
46
|
private createGlobalCss;
|
47
47
|
private initUniFeatures;
|
48
48
|
private setup;
|
package/types/managers/deps.d.ts
CHANGED
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.12.
|
5
|
+
* @version 0.12.70
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
7
7
|
*/
|
8
|
-
export declare const version = "0.12.
|
8
|
+
export declare const version = "0.12.70";
|
@@ -35,6 +35,10 @@ export declare const SetterWrapper: DefineComponent<ExtractPropTypes<{
|
|
35
35
|
type: BooleanConstructor;
|
36
36
|
default: boolean;
|
37
37
|
};
|
38
|
+
disabled: {
|
39
|
+
type: BooleanConstructor;
|
40
|
+
default: boolean;
|
41
|
+
};
|
38
42
|
}>, {}, {}, {
|
39
43
|
computedSetters(): {
|
40
44
|
component: any;
|
@@ -81,6 +85,10 @@ export declare const SetterWrapper: DefineComponent<ExtractPropTypes<{
|
|
81
85
|
type: BooleanConstructor;
|
82
86
|
default: boolean;
|
83
87
|
};
|
88
|
+
disabled: {
|
89
|
+
type: BooleanConstructor;
|
90
|
+
default: boolean;
|
91
|
+
};
|
84
92
|
}>> & Readonly<{
|
85
93
|
onChange?: ((...args: any[]) => any) | undefined;
|
86
94
|
onRemove?: ((...args: any[]) => any) | undefined;
|
@@ -88,6 +96,7 @@ export declare const SetterWrapper: DefineComponent<ExtractPropTypes<{
|
|
88
96
|
value: string | number | boolean | Record<string, any> | unknown[];
|
89
97
|
context: Context | null;
|
90
98
|
setters: string | MaterialSetter | (string | MaterialSetter)[];
|
99
|
+
disabled: boolean;
|
91
100
|
options: unknown[];
|
92
101
|
current: BlockModel | null;
|
93
102
|
removable: boolean;
|
package/dist/Editor-WXSkVjuR.js
DELETED
File without changes
|