@vtj/designer 0.16.14 → 0.16.16
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-DIkkoBrq.js +4 -0
- package/dist/{index-BEzWcuK6.js → index-BFdZZysd.js} +5972 -5657
- package/dist/index.mjs +12 -11
- package/dist/style.css +1 -1
- package/package.json +7 -7
- package/types/components/setters/image.d.ts +3 -3
- package/types/components/setters/index.d.ts +3 -3
- package/types/components/shared/binder.d.ts +11 -11
- package/types/components/shared/panel.d.ts +16 -16
- package/types/components/widgets/actions/index.d.ts +32 -2
- package/types/components/widgets/actions/versioner/342/200/214.d.ts +17 -0
- package/types/components/widgets/ai/image-input.d.ts +3 -3
- package/types/components/widgets/ai/index.d.ts +12 -12
- package/types/components/widgets/ai/json-input.d.ts +11 -11
- package/types/components/widgets/apis/form.d.ts +22 -22
- package/types/components/widgets/apis/swagger.d.ts +6 -6
- package/types/components/widgets/designer/index.d.ts +4 -4
- package/types/components/widgets/devtools/index.d.ts +17 -17
- package/types/components/widgets/docs/index.d.ts +12 -12
- package/types/components/widgets/env/index.d.ts +6 -6
- package/types/components/widgets/i18n/index.d.ts +6 -6
- package/types/components/widgets/index.d.ts +87 -62
- package/types/components/widgets/market/index.d.ts +12 -12
- package/types/components/widgets/scripts/group.d.ts +23 -23
- package/types/components/widgets/style/spacing-input.d.ts +4 -4
- package/types/framework/openapi.d.ts +6 -2
- package/types/framework/simulator.d.ts +1 -1
- package/types/utils.d.ts +1 -0
- package/types/version.d.ts +2 -2
- package/dist/Editor-D1EJuPe6.js +0 -4
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, Ref, ComputedRef, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, Ref, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives, ComputedRef, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, ExtractPropTypes, PropType, VNode, RendererNode, RendererElement, ShallowRef } from 'vue';
|
|
2
2
|
import { Props } from './logo/index';
|
|
3
3
|
import { Props } from './toolbar/index';
|
|
4
4
|
import { Props } from './actions/index';
|
|
5
|
+
import { Props } from './actions/versioner';
|
|
5
6
|
import { Designer } from '../..';
|
|
6
7
|
import { Props } from '../shared/viewport';
|
|
7
8
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -9,7 +10,7 @@ import { Props } from '../editor/Editor';
|
|
|
9
10
|
import { Props } from './style/index';
|
|
10
11
|
import { Props } from './previewer/index';
|
|
11
12
|
import { Props } from './docs/index';
|
|
12
|
-
import { ActionMenuItem,
|
|
13
|
+
import { ActionMenuItem, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, BaseSize, PanelBadge, IconParam, HeaderProps, ContainerProps, GridColumns, GridLoader, GridCustomInfo, GridCellRenders, GridEditRenders, GridFilterRenders, GridSortableEvent, GridSortableOptions, DialogMode, DraggableOptions, ResizableOptions } from '@vtj/ui';
|
|
13
14
|
import { Props } from '../shared/panel';
|
|
14
15
|
import { Props } from './about/index';
|
|
15
16
|
import { AISendData } from '../hooks';
|
|
@@ -46,8 +47,32 @@ export declare const widgets: {
|
|
|
46
47
|
refresh: () => void;
|
|
47
48
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
|
|
48
49
|
coder: boolean;
|
|
50
|
+
appMode: boolean;
|
|
49
51
|
onlyPublishTemplate: boolean;
|
|
50
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
52
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
53
|
+
versionerRef: CreateComponentPublicInstanceWithMixins<Readonly< Props> & Readonly<{}>, {
|
|
54
|
+
openDialog: () => Promise<void>;
|
|
55
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
56
|
+
getAppsInit: any;
|
|
57
|
+
postAppsVersions: any;
|
|
58
|
+
postDslDevPublish: any;
|
|
59
|
+
putAppsCurrentVersion: any;
|
|
60
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
61
|
+
P: {};
|
|
62
|
+
B: {};
|
|
63
|
+
D: {};
|
|
64
|
+
C: {};
|
|
65
|
+
M: {};
|
|
66
|
+
Defaults: {};
|
|
67
|
+
}, Readonly< Props> & Readonly<{}>, {
|
|
68
|
+
openDialog: () => Promise<void>;
|
|
69
|
+
}, {}, {}, {}, {
|
|
70
|
+
getAppsInit: any;
|
|
71
|
+
postAppsVersions: any;
|
|
72
|
+
postDslDevPublish: any;
|
|
73
|
+
putAppsCurrentVersion: any;
|
|
74
|
+
}> | null;
|
|
75
|
+
}, any>;
|
|
51
76
|
Pages: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
52
77
|
Blocks: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
53
78
|
Components: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -120,9 +145,9 @@ export declare const widgets: {
|
|
|
120
145
|
width: number;
|
|
121
146
|
height: number;
|
|
122
147
|
};
|
|
123
|
-
}> & Omit<Readonly< Props> & Readonly<{}>, "scale" | ("mode" | "customSize")> &
|
|
124
|
-
scale:
|
|
125
|
-
}
|
|
148
|
+
}> & Omit<Readonly< Props> & Readonly<{}>, "scale" | ("mode" | "customSize")> & {
|
|
149
|
+
scale: number;
|
|
150
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
126
151
|
$slots: {
|
|
127
152
|
default?(_: {}): any;
|
|
128
153
|
};
|
|
@@ -321,7 +346,6 @@ export declare const widgets: {
|
|
|
321
346
|
readonly fit: boolean;
|
|
322
347
|
readonly border: boolean;
|
|
323
348
|
readonly card: boolean;
|
|
324
|
-
readonly size?: BaseSize | undefined;
|
|
325
349
|
readonly height?: string | number | undefined;
|
|
326
350
|
readonly width?: string | number | undefined;
|
|
327
351
|
readonly body?: Readonly<Partial< ExtractPropTypes<{
|
|
@@ -392,6 +416,7 @@ export declare const widgets: {
|
|
|
392
416
|
type: BooleanConstructor;
|
|
393
417
|
};
|
|
394
418
|
}>>> | undefined;
|
|
419
|
+
readonly size?: BaseSize | undefined;
|
|
395
420
|
readonly badge?: PanelBadge | undefined;
|
|
396
421
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
|
397
422
|
tag: {
|
|
@@ -730,9 +755,9 @@ export declare const widgets: {
|
|
|
730
755
|
autoPointer: {
|
|
731
756
|
type: BooleanConstructor;
|
|
732
757
|
};
|
|
733
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
734
|
-
$vtjEl:
|
|
735
|
-
}
|
|
758
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
759
|
+
$vtjEl: any;
|
|
760
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
736
761
|
$slots: {
|
|
737
762
|
default?(_: {}): any;
|
|
738
763
|
};
|
|
@@ -858,9 +883,9 @@ export declare const widgets: {
|
|
|
858
883
|
footer: {
|
|
859
884
|
type: PropType<ContainerProps>;
|
|
860
885
|
};
|
|
861
|
-
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> &
|
|
862
|
-
bodyRef:
|
|
863
|
-
}
|
|
886
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & {
|
|
887
|
+
bodyRef: any;
|
|
888
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
864
889
|
$slots: {
|
|
865
890
|
header?(_: {}): any;
|
|
866
891
|
title?(_: {}): any;
|
|
@@ -933,12 +958,12 @@ export declare const widgets: {
|
|
|
933
958
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
934
959
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
935
960
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
936
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> &
|
|
937
|
-
panelRef:
|
|
961
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & {
|
|
962
|
+
panelRef: any;
|
|
938
963
|
scrollToBottom: () => void;
|
|
939
964
|
autoScrollToBottom: (diff?: number) => void;
|
|
940
965
|
scrollToTop: () => void;
|
|
941
|
-
}
|
|
966
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
942
967
|
$slots: {
|
|
943
968
|
'pre-actions'?(_: {}): any;
|
|
944
969
|
actions?(_: {}): any;
|
|
@@ -994,7 +1019,6 @@ export declare const widgets: {
|
|
|
994
1019
|
readonly fit: boolean;
|
|
995
1020
|
readonly border: boolean;
|
|
996
1021
|
readonly card: boolean;
|
|
997
|
-
readonly size?: BaseSize | undefined;
|
|
998
1022
|
readonly height?: string | number | undefined;
|
|
999
1023
|
readonly width?: string | number | undefined;
|
|
1000
1024
|
readonly body?: Readonly<Partial< ExtractPropTypes<{
|
|
@@ -1065,6 +1089,7 @@ export declare const widgets: {
|
|
|
1065
1089
|
type: BooleanConstructor;
|
|
1066
1090
|
};
|
|
1067
1091
|
}>>> | undefined;
|
|
1092
|
+
readonly size?: BaseSize | undefined;
|
|
1068
1093
|
readonly badge?: PanelBadge | undefined;
|
|
1069
1094
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
|
1070
1095
|
tag: {
|
|
@@ -1403,9 +1428,9 @@ export declare const widgets: {
|
|
|
1403
1428
|
autoPointer: {
|
|
1404
1429
|
type: BooleanConstructor;
|
|
1405
1430
|
};
|
|
1406
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
1407
|
-
$vtjEl:
|
|
1408
|
-
}
|
|
1431
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
1432
|
+
$vtjEl: any;
|
|
1433
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1409
1434
|
$slots: {
|
|
1410
1435
|
default?(_: {}): any;
|
|
1411
1436
|
};
|
|
@@ -1531,9 +1556,9 @@ export declare const widgets: {
|
|
|
1531
1556
|
footer: {
|
|
1532
1557
|
type: PropType<ContainerProps>;
|
|
1533
1558
|
};
|
|
1534
|
-
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> &
|
|
1535
|
-
bodyRef:
|
|
1536
|
-
}
|
|
1559
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & {
|
|
1560
|
+
bodyRef: any;
|
|
1561
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1537
1562
|
$slots: {
|
|
1538
1563
|
header?(_: {}): any;
|
|
1539
1564
|
title?(_: {}): any;
|
|
@@ -1606,12 +1631,12 @@ export declare const widgets: {
|
|
|
1606
1631
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
1607
1632
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
1608
1633
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
1609
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> &
|
|
1610
|
-
panelRef:
|
|
1634
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & {
|
|
1635
|
+
panelRef: any;
|
|
1611
1636
|
scrollToBottom: () => void;
|
|
1612
1637
|
autoScrollToBottom: (diff?: number) => void;
|
|
1613
1638
|
scrollToTop: () => void;
|
|
1614
|
-
}
|
|
1639
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1615
1640
|
$slots: {
|
|
1616
1641
|
'pre-actions'?(_: {}): any;
|
|
1617
1642
|
actions?(_: {}): any;
|
|
@@ -1669,7 +1694,6 @@ export declare const widgets: {
|
|
|
1669
1694
|
readonly fit: boolean;
|
|
1670
1695
|
readonly border: boolean;
|
|
1671
1696
|
readonly card: boolean;
|
|
1672
|
-
readonly size?: BaseSize | undefined;
|
|
1673
1697
|
readonly height?: string | number | undefined;
|
|
1674
1698
|
readonly width?: string | number | undefined;
|
|
1675
1699
|
readonly body?: Readonly<Partial< ExtractPropTypes<{
|
|
@@ -1740,6 +1764,7 @@ export declare const widgets: {
|
|
|
1740
1764
|
type: BooleanConstructor;
|
|
1741
1765
|
};
|
|
1742
1766
|
}>>> | undefined;
|
|
1767
|
+
readonly size?: BaseSize | undefined;
|
|
1743
1768
|
readonly badge?: PanelBadge | undefined;
|
|
1744
1769
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
|
1745
1770
|
tag: {
|
|
@@ -2078,9 +2103,9 @@ export declare const widgets: {
|
|
|
2078
2103
|
autoPointer: {
|
|
2079
2104
|
type: BooleanConstructor;
|
|
2080
2105
|
};
|
|
2081
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
2082
|
-
$vtjEl:
|
|
2083
|
-
}
|
|
2106
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
2107
|
+
$vtjEl: any;
|
|
2108
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
2084
2109
|
$slots: {
|
|
2085
2110
|
default?(_: {}): any;
|
|
2086
2111
|
};
|
|
@@ -2206,9 +2231,9 @@ export declare const widgets: {
|
|
|
2206
2231
|
footer: {
|
|
2207
2232
|
type: PropType<ContainerProps>;
|
|
2208
2233
|
};
|
|
2209
|
-
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> &
|
|
2210
|
-
bodyRef:
|
|
2211
|
-
}
|
|
2234
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & {
|
|
2235
|
+
bodyRef: any;
|
|
2236
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
2212
2237
|
$slots: {
|
|
2213
2238
|
header?(_: {}): any;
|
|
2214
2239
|
title?(_: {}): any;
|
|
@@ -2281,12 +2306,12 @@ export declare const widgets: {
|
|
|
2281
2306
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
2282
2307
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
2283
2308
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
2284
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> &
|
|
2285
|
-
panelRef:
|
|
2309
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & {
|
|
2310
|
+
panelRef: any;
|
|
2286
2311
|
scrollToBottom: () => void;
|
|
2287
2312
|
autoScrollToBottom: (diff?: number) => void;
|
|
2288
2313
|
scrollToTop: () => void;
|
|
2289
|
-
}
|
|
2314
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
2290
2315
|
$slots: {
|
|
2291
2316
|
'pre-actions'?(_: {}): any;
|
|
2292
2317
|
actions?(_: {}): any;
|
|
@@ -3072,7 +3097,7 @@ export declare const widgets: {
|
|
|
3072
3097
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
3073
3098
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
3074
3099
|
onLoaded?: ((rows: any[]) => any) | undefined;
|
|
3075
|
-
}>, "search" | "validate" | "auto" | "resizable" | "load" | "state" | "page" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> &
|
|
3100
|
+
}>, "search" | "validate" | "auto" | "resizable" | "load" | "state" | "page" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
|
|
3076
3101
|
state: {
|
|
3077
3102
|
[x: string]: any;
|
|
3078
3103
|
page?: number | undefined;
|
|
@@ -3540,9 +3565,9 @@ export declare const widgets: {
|
|
|
3540
3565
|
};
|
|
3541
3566
|
load: (reset?: boolean) => Promise<void>;
|
|
3542
3567
|
search: (reset?: boolean) => Promise<boolean>;
|
|
3543
|
-
vxeRef:
|
|
3544
|
-
rowSortable:
|
|
3545
|
-
columnSortable:
|
|
3568
|
+
vxeRef: VxeGridInstance | undefined;
|
|
3569
|
+
rowSortable: any;
|
|
3570
|
+
columnSortable: any[];
|
|
3546
3571
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
|
3547
3572
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
|
3548
3573
|
getSelected: () => any;
|
|
@@ -3558,7 +3583,7 @@ export declare const widgets: {
|
|
|
3558
3583
|
} | undefined;
|
|
3559
3584
|
setSelectCell: (row?: any, column?: any) => void;
|
|
3560
3585
|
$vtjDynamicSlots: () => string[];
|
|
3561
|
-
}
|
|
3586
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
3562
3587
|
$slots: Partial<Record<string, (_: {
|
|
3563
3588
|
[key: string]: any;
|
|
3564
3589
|
$table: VxeTableConstructor<any>;
|
|
@@ -3602,16 +3627,16 @@ export declare const widgets: {
|
|
|
3602
3627
|
minimizable: boolean;
|
|
3603
3628
|
bodyPadding: boolean;
|
|
3604
3629
|
}> & Omit<{
|
|
3605
|
-
readonly size: BaseSize;
|
|
3606
3630
|
readonly height: string | number;
|
|
3607
3631
|
readonly width: string | number;
|
|
3608
3632
|
readonly primary: boolean;
|
|
3633
|
+
readonly size: BaseSize;
|
|
3609
3634
|
readonly modelValue: boolean;
|
|
3610
3635
|
readonly mode: DialogMode;
|
|
3611
3636
|
readonly draggable: boolean | DraggableOptions;
|
|
3612
3637
|
readonly pure: boolean;
|
|
3613
|
-
readonly modal: boolean;
|
|
3614
3638
|
readonly closable: boolean;
|
|
3639
|
+
readonly modal: boolean;
|
|
3615
3640
|
readonly maximizable: boolean;
|
|
3616
3641
|
readonly minimizable: boolean;
|
|
3617
3642
|
readonly bodyPadding: boolean;
|
|
@@ -3682,7 +3707,7 @@ export declare const widgets: {
|
|
|
3682
3707
|
isOutside: ShallowRef<boolean, boolean>;
|
|
3683
3708
|
stop: () => void;
|
|
3684
3709
|
}) => any) | undefined | undefined;
|
|
3685
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
3710
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "height" | "width" | "primary" | "size" | "modelValue" | "mode" | "draggable" | "pure" | "closable" | "modal" | "maximizable" | "minimizable" | "bodyPadding">;
|
|
3686
3711
|
$attrs: Attrs;
|
|
3687
3712
|
$refs: {
|
|
3688
3713
|
[x: string]: unknown;
|
|
@@ -4110,9 +4135,9 @@ export declare const widgets: {
|
|
|
4110
4135
|
autoPointer: {
|
|
4111
4136
|
type: BooleanConstructor;
|
|
4112
4137
|
};
|
|
4113
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
4114
|
-
$vtjEl:
|
|
4115
|
-
}
|
|
4138
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
4139
|
+
$vtjEl: any;
|
|
4140
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
4116
4141
|
$slots: {
|
|
4117
4142
|
default?(_: {}): any;
|
|
4118
4143
|
};
|
|
@@ -4238,9 +4263,9 @@ export declare const widgets: {
|
|
|
4238
4263
|
footer: {
|
|
4239
4264
|
type: PropType<ContainerProps>;
|
|
4240
4265
|
};
|
|
4241
|
-
}>> & Readonly<{}>, "bodyRef" | ("radius" | "fit" | "border" | "card")> &
|
|
4242
|
-
bodyRef:
|
|
4243
|
-
}
|
|
4266
|
+
}>> & Readonly<{}>, "bodyRef" | ("radius" | "fit" | "border" | "card")> & {
|
|
4267
|
+
bodyRef: any;
|
|
4268
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
4244
4269
|
$slots: {
|
|
4245
4270
|
header?(_: {}): any;
|
|
4246
4271
|
title?(_: {}): any;
|
|
@@ -4709,9 +4734,9 @@ export declare const widgets: {
|
|
|
4709
4734
|
isOutside: ShallowRef<boolean, boolean>;
|
|
4710
4735
|
stop: () => void;
|
|
4711
4736
|
}) => any) | undefined;
|
|
4712
|
-
}>, "
|
|
4713
|
-
$vtjEl:
|
|
4714
|
-
panelRef:
|
|
4737
|
+
}>, "height" | "width" | "primary" | "close" | "cancel" | "size" | "modelValue" | "mode" | "draggable" | "pure" | "submit" | "$vtjEl" | "closable" | "modal" | "maximizable" | "minimizable" | "componentInstance" | "bodyPadding" | "panelRef" | "state" | "maximized" | "minimized" | "changeMode" | "show" | "hide" | "iframeRef"> & {
|
|
4738
|
+
$vtjEl: any;
|
|
4739
|
+
panelRef: any;
|
|
4715
4740
|
state: {
|
|
4716
4741
|
mode: DialogMode;
|
|
4717
4742
|
wrapperWidth: number;
|
|
@@ -4724,8 +4749,8 @@ export declare const widgets: {
|
|
|
4724
4749
|
dragging: boolean;
|
|
4725
4750
|
resizing: boolean;
|
|
4726
4751
|
};
|
|
4727
|
-
maximized:
|
|
4728
|
-
minimized:
|
|
4752
|
+
maximized: boolean;
|
|
4753
|
+
minimized: boolean;
|
|
4729
4754
|
changeMode: (mode: DialogMode) => void;
|
|
4730
4755
|
show: () => void;
|
|
4731
4756
|
hide: () => void;
|
|
@@ -4735,8 +4760,8 @@ export declare const widgets: {
|
|
|
4735
4760
|
componentInstance: {
|
|
4736
4761
|
componentInstance: Record<string, any>;
|
|
4737
4762
|
} | undefined;
|
|
4738
|
-
iframeRef:
|
|
4739
|
-
}
|
|
4763
|
+
iframeRef: any;
|
|
4764
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
4740
4765
|
$slots: {
|
|
4741
4766
|
actions?(_: {}): any;
|
|
4742
4767
|
default?(_: {}): any;
|
|
@@ -5522,7 +5547,7 @@ export declare const widgets: {
|
|
|
5522
5547
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
5523
5548
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
5524
5549
|
onLoaded?: ((rows: any[]) => any) | undefined;
|
|
5525
|
-
}>, "search" | "validate" | "auto" | "resizable" | "load" | "state" | "page" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> &
|
|
5550
|
+
}>, "search" | "validate" | "auto" | "resizable" | "load" | "state" | "page" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> & {
|
|
5526
5551
|
state: {
|
|
5527
5552
|
[x: string]: any;
|
|
5528
5553
|
page?: number | undefined;
|
|
@@ -5990,9 +6015,9 @@ export declare const widgets: {
|
|
|
5990
6015
|
};
|
|
5991
6016
|
load: (reset?: boolean) => Promise<void>;
|
|
5992
6017
|
search: (reset?: boolean) => Promise<boolean>;
|
|
5993
|
-
vxeRef:
|
|
5994
|
-
rowSortable:
|
|
5995
|
-
columnSortable:
|
|
6018
|
+
vxeRef: VxeGridInstance | undefined;
|
|
6019
|
+
rowSortable: any;
|
|
6020
|
+
columnSortable: any[];
|
|
5996
6021
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
|
5997
6022
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
|
5998
6023
|
getSelected: () => any;
|
|
@@ -6008,7 +6033,7 @@ export declare const widgets: {
|
|
|
6008
6033
|
} | undefined;
|
|
6009
6034
|
setSelectCell: (row?: any, column?: any) => void;
|
|
6010
6035
|
$vtjDynamicSlots: () => string[];
|
|
6011
|
-
}
|
|
6036
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
6012
6037
|
$slots: Partial<Record<string, (_: {
|
|
6013
6038
|
[key: string]: any;
|
|
6014
6039
|
$table: VxeTableConstructor<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle,
|
|
2
|
-
import { ActionMenuItem,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ComponentCustomProperties, Ref, nextTick } from 'vue';
|
|
2
|
+
import { ActionMenuItem, ContainerDirection, ContainerWrap, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, BaseSize, 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<{}, {
|
|
@@ -45,7 +45,6 @@ declare const _default: DefineComponent<{}, {
|
|
|
45
45
|
readonly fit: boolean;
|
|
46
46
|
readonly border: boolean;
|
|
47
47
|
readonly card: boolean;
|
|
48
|
-
readonly size?: BaseSize | undefined;
|
|
49
48
|
readonly height?: string | number | undefined;
|
|
50
49
|
readonly width?: string | number | undefined;
|
|
51
50
|
readonly body?: Readonly<Partial< ExtractPropTypes<{
|
|
@@ -116,6 +115,7 @@ declare const _default: DefineComponent<{}, {
|
|
|
116
115
|
type: BooleanConstructor;
|
|
117
116
|
};
|
|
118
117
|
}>>> | undefined;
|
|
118
|
+
readonly size?: BaseSize | undefined;
|
|
119
119
|
readonly badge?: PanelBadge | undefined;
|
|
120
120
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
|
121
121
|
tag: {
|
|
@@ -454,9 +454,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
454
454
|
autoPointer: {
|
|
455
455
|
type: BooleanConstructor;
|
|
456
456
|
};
|
|
457
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
458
|
-
$vtjEl:
|
|
459
|
-
}
|
|
457
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
458
|
+
$vtjEl: any;
|
|
459
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
460
460
|
$slots: {
|
|
461
461
|
default?(_: {}): any;
|
|
462
462
|
};
|
|
@@ -582,9 +582,9 @@ declare const _default: DefineComponent<{}, {
|
|
|
582
582
|
footer: {
|
|
583
583
|
type: PropType<ContainerProps>;
|
|
584
584
|
};
|
|
585
|
-
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> &
|
|
586
|
-
bodyRef:
|
|
587
|
-
}
|
|
585
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & {
|
|
586
|
+
bodyRef: any;
|
|
587
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
588
588
|
$slots: {
|
|
589
589
|
header?(_: {}): any;
|
|
590
590
|
title?(_: {}): any;
|
|
@@ -657,12 +657,12 @@ declare const _default: DefineComponent<{}, {
|
|
|
657
657
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
658
658
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
659
659
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
660
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> &
|
|
661
|
-
panelRef:
|
|
660
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & {
|
|
661
|
+
panelRef: any;
|
|
662
662
|
scrollToBottom: () => void;
|
|
663
663
|
autoScrollToBottom: (diff?: number) => void;
|
|
664
664
|
scrollToTop: () => void;
|
|
665
|
-
}
|
|
665
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
666
666
|
$slots: {
|
|
667
667
|
'pre-actions'?(_: {}): any;
|
|
668
668
|
actions?(_: {}): any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BlockModel } from '@vtj/core';
|
|
2
2
|
import { Context } from '@vtj/renderer';
|
|
3
|
-
import { ComponentInternalInstance, VNode, RendererNode, RendererElement, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, Ref, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, WatchOptions, WatchStopHandle,
|
|
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
4
|
import { BuiltinFieldEditorType, BaseSize, FieldOption, FieldOptionsLoader, 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';
|
|
@@ -55,10 +55,10 @@ 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 size?: BaseSize | undefined;
|
|
59
58
|
readonly width?: string | number | undefined;
|
|
60
59
|
readonly label?: string | undefined;
|
|
61
60
|
readonly error?: string | undefined;
|
|
61
|
+
readonly size?: BaseSize | undefined;
|
|
62
62
|
readonly options?: FieldOption[] | FieldOptionsLoader | undefined;
|
|
63
63
|
readonly disabled?: boolean | undefined;
|
|
64
64
|
readonly placeholder?: string | null | undefined;
|
|
@@ -142,15 +142,15 @@ declare function __VLS_template(): {
|
|
|
142
142
|
labelPosition: "left" | "right" | "top" | "";
|
|
143
143
|
inlineMessage: boolean;
|
|
144
144
|
showMessage: boolean;
|
|
145
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "validateState" | "clearValidate" | "validate" | "labelPosition" | "inlineMessage" | "showMessage" | "validateMessage" | "resetField" | "setInitialValue"> &
|
|
146
|
-
size:
|
|
147
|
-
validateMessage:
|
|
148
|
-
validateState:
|
|
145
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "validateState" | "clearValidate" | "validate" | "labelPosition" | "inlineMessage" | "showMessage" | "validateMessage" | "resetField" | "setInitialValue"> & {
|
|
146
|
+
size: "" | "large" | "default" | "small";
|
|
147
|
+
validateMessage: string;
|
|
148
|
+
validateState: "" | "success" | "error" | "validating";
|
|
149
149
|
validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
|
|
150
150
|
clearValidate: () => void;
|
|
151
151
|
resetField: () => void;
|
|
152
152
|
setInitialValue: (value: any) => void;
|
|
153
|
-
}
|
|
153
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
154
154
|
$slots: {
|
|
155
155
|
label?: (props: {
|
|
156
156
|
label: string;
|
|
@@ -370,13 +370,13 @@ declare function __VLS_template(): {
|
|
|
370
370
|
onBlur?: (() => any) | undefined;
|
|
371
371
|
onChange?: ((value: any, data?: any) => any) | undefined;
|
|
372
372
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
373
|
-
}>, "visible" | "hidden" | "modelValue" | "focus" | "blur" | "editor" | "tooltipMessage" | "tooltipPosition" | "inline" | "defaultValue" | "fieldValue" | "itemRef" | "editorRef"> &
|
|
374
|
-
fieldValue:
|
|
375
|
-
itemRef:
|
|
376
|
-
editorRef:
|
|
373
|
+
}>, "visible" | "hidden" | "modelValue" | "focus" | "blur" | "editor" | "tooltipMessage" | "tooltipPosition" | "inline" | "defaultValue" | "fieldValue" | "itemRef" | "editorRef"> & {
|
|
374
|
+
fieldValue: any;
|
|
375
|
+
itemRef: any;
|
|
376
|
+
editorRef: any;
|
|
377
377
|
focus: () => void;
|
|
378
378
|
blur: () => void;
|
|
379
|
-
}
|
|
379
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
380
380
|
$slots: {
|
|
381
381
|
label?(_: {}): any;
|
|
382
382
|
error?(_: {
|
|
@@ -467,10 +467,10 @@ 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 size?: BaseSize | undefined;
|
|
471
470
|
readonly width?: string | number | undefined;
|
|
472
471
|
readonly label?: string | undefined;
|
|
473
472
|
readonly error?: string | undefined;
|
|
473
|
+
readonly size?: BaseSize | undefined;
|
|
474
474
|
readonly options?: FieldOption[] | FieldOptionsLoader | undefined;
|
|
475
475
|
readonly disabled?: boolean | undefined;
|
|
476
476
|
readonly placeholder?: string | null | undefined;
|
|
@@ -554,15 +554,15 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
|
554
554
|
labelPosition: "left" | "right" | "top" | "";
|
|
555
555
|
inlineMessage: boolean;
|
|
556
556
|
showMessage: boolean;
|
|
557
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "validateState" | "clearValidate" | "validate" | "labelPosition" | "inlineMessage" | "showMessage" | "validateMessage" | "resetField" | "setInitialValue"> &
|
|
558
|
-
size:
|
|
559
|
-
validateMessage:
|
|
560
|
-
validateState:
|
|
557
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "validateState" | "clearValidate" | "validate" | "labelPosition" | "inlineMessage" | "showMessage" | "validateMessage" | "resetField" | "setInitialValue"> & {
|
|
558
|
+
size: "" | "large" | "default" | "small";
|
|
559
|
+
validateMessage: string;
|
|
560
|
+
validateState: "" | "success" | "error" | "validating";
|
|
561
561
|
validate: (trigger: string, callback?: FormValidateCallback) => FormValidationResult;
|
|
562
562
|
clearValidate: () => void;
|
|
563
563
|
resetField: () => void;
|
|
564
564
|
setInitialValue: (value: any) => void;
|
|
565
|
-
}
|
|
565
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
566
566
|
$slots: {
|
|
567
567
|
label?: (props: {
|
|
568
568
|
label: string;
|
|
@@ -782,13 +782,13 @@ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentO
|
|
|
782
782
|
onBlur?: (() => any) | undefined;
|
|
783
783
|
onChange?: ((value: any, data?: any) => any) | undefined;
|
|
784
784
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
785
|
-
}>, "visible" | "hidden" | "modelValue" | "focus" | "blur" | "editor" | "tooltipMessage" | "tooltipPosition" | "inline" | "defaultValue" | "fieldValue" | "itemRef" | "editorRef"> &
|
|
786
|
-
fieldValue:
|
|
787
|
-
itemRef:
|
|
788
|
-
editorRef:
|
|
785
|
+
}>, "visible" | "hidden" | "modelValue" | "focus" | "blur" | "editor" | "tooltipMessage" | "tooltipPosition" | "inline" | "defaultValue" | "fieldValue" | "itemRef" | "editorRef"> & {
|
|
786
|
+
fieldValue: any;
|
|
787
|
+
itemRef: any;
|
|
788
|
+
editorRef: any;
|
|
789
789
|
focus: () => void;
|
|
790
790
|
blur: () => void;
|
|
791
|
-
}
|
|
791
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
792
792
|
$slots: {
|
|
793
793
|
label?(_: {}): any;
|
|
794
794
|
error?(_: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
2
2
|
import { ContainerWrap, ContainerDirection, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent } from '@vtj/ui';
|
|
3
3
|
import { OnCleanup } from '@vue/reactivity';
|
|
4
4
|
export interface Props {
|
|
@@ -256,9 +256,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
256
256
|
autoPointer: {
|
|
257
257
|
type: BooleanConstructor;
|
|
258
258
|
};
|
|
259
|
-
}>> & Readonly<{}>, "padding" | "tag" | "direction" | "$vtjEl" | "inline" | "fit" | "flex" | "wrap" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer"> &
|
|
260
|
-
$vtjEl:
|
|
261
|
-
}
|
|
259
|
+
}>> & Readonly<{}>, "padding" | "tag" | "direction" | "$vtjEl" | "inline" | "fit" | "flex" | "wrap" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer"> & {
|
|
260
|
+
$vtjEl: any;
|
|
261
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
262
262
|
$slots: {
|
|
263
263
|
default?(_: {}): any;
|
|
264
264
|
};
|
|
@@ -3,15 +3,18 @@ import { AITopic, AIChat } from './types';
|
|
|
3
3
|
export interface TemplateDto {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
6
|
+
code?: string;
|
|
6
7
|
label: string;
|
|
7
8
|
vip: boolean;
|
|
8
|
-
share
|
|
9
|
+
share?: boolean;
|
|
10
|
+
isShared?: boolean;
|
|
9
11
|
cover: string;
|
|
10
12
|
author: string;
|
|
11
13
|
userId: string;
|
|
12
14
|
category: string;
|
|
13
15
|
latest: string;
|
|
14
16
|
platform: string;
|
|
17
|
+
latestVersion?: any;
|
|
15
18
|
}
|
|
16
19
|
export interface DictOption {
|
|
17
20
|
label: string;
|
|
@@ -22,7 +25,8 @@ export interface PublishTemplateDto {
|
|
|
22
25
|
label: string;
|
|
23
26
|
category: string;
|
|
24
27
|
cover: Blob;
|
|
25
|
-
share
|
|
28
|
+
share?: boolean;
|
|
29
|
+
isShared?: boolean;
|
|
26
30
|
version: string;
|
|
27
31
|
platform: string;
|
|
28
32
|
latest?: string;
|