@vtj/designer 0.16.15 → 0.16.17
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/README.md +2 -2
- package/dist/Editor-Cvt7c1SM.js +4 -0
- package/dist/{index-CoL57uQw.js → index-D1sVGKz7.js} +6295 -5907
- package/dist/index.mjs +12 -11
- package/dist/style.css +1 -1
- package/package.json +7 -7
- package/types/components/hooks/useDesigner.d.ts +3 -0
- 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/about/index.d.ts +6 -1
- 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 +91 -63
- 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/designer.d.ts +2 -0
- 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-BhLdvXh7.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GridColumns, GridLoader, GridCustomInfo, GridCellRenders, GridEditRenders, GridFilterRenders, GridSortableEvent, GridSortableOptions } from '@vtj/ui';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, VNode, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, VNode, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { Options } from 'sortablejs';
|
|
4
4
|
import { VxeTableProps, VxeGridEventProps, VxeGridSlots, VxeTableDataRow, SlotVNodeType, VxeGridInstance, VxeTableConstructor, VxeGridConstructor } from 'vxe-table';
|
|
5
5
|
import { MessageBoxData } from 'element-plus';
|
|
@@ -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" | "auto" | "resizable" | "load" | "state" | "page" | "remove" | "$vtjDynamicSlots" | "editable" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSize" | "pageSizes" | "virtual" | "vxeRef" | "insertActived" | "getSelected" | "getRows" | "setActived" | "doLayout" | "getRecords" | "setSelectCell"> &
|
|
782
|
+
}>, "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"> & {
|
|
783
783
|
state: {
|
|
784
784
|
[x: string]: any;
|
|
785
785
|
page?: number | undefined;
|
|
@@ -1247,9 +1247,9 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
1247
1247
|
};
|
|
1248
1248
|
load: (reset?: boolean) => Promise<void>;
|
|
1249
1249
|
search: (reset?: boolean) => Promise<boolean>;
|
|
1250
|
-
vxeRef:
|
|
1251
|
-
rowSortable:
|
|
1252
|
-
columnSortable:
|
|
1250
|
+
vxeRef: VxeGridInstance | undefined;
|
|
1251
|
+
rowSortable: any;
|
|
1252
|
+
columnSortable: any[];
|
|
1253
1253
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
|
1254
1254
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
|
1255
1255
|
getSelected: () => any;
|
|
@@ -1265,7 +1265,7 @@ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixi
|
|
|
1265
1265
|
} | undefined;
|
|
1266
1266
|
setSelectCell: (row?: any, column?: any) => void;
|
|
1267
1267
|
$vtjDynamicSlots: () => string[];
|
|
1268
|
-
}
|
|
1268
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1269
1269
|
$slots: Partial<Record<string, (_: {
|
|
1270
1270
|
[key: string]: any;
|
|
1271
1271
|
$table: VxeTableConstructor<any>;
|
|
@@ -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;
|
|
@@ -948,7 +973,10 @@ export declare const widgets: {
|
|
|
948
973
|
}) | null;
|
|
949
974
|
frame: HTMLIFrameElement;
|
|
950
975
|
}, any>;
|
|
951
|
-
About: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
|
|
976
|
+
About: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< Props> & Readonly<{}>, {
|
|
977
|
+
title: string;
|
|
978
|
+
logo: string;
|
|
979
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
952
980
|
ProjectConfig: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
953
981
|
UniConfig: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
954
982
|
Market: DefineComponent<{}, {
|
|
@@ -994,7 +1022,6 @@ export declare const widgets: {
|
|
|
994
1022
|
readonly fit: boolean;
|
|
995
1023
|
readonly border: boolean;
|
|
996
1024
|
readonly card: boolean;
|
|
997
|
-
readonly size?: BaseSize | undefined;
|
|
998
1025
|
readonly height?: string | number | undefined;
|
|
999
1026
|
readonly width?: string | number | undefined;
|
|
1000
1027
|
readonly body?: Readonly<Partial< ExtractPropTypes<{
|
|
@@ -1065,6 +1092,7 @@ export declare const widgets: {
|
|
|
1065
1092
|
type: BooleanConstructor;
|
|
1066
1093
|
};
|
|
1067
1094
|
}>>> | undefined;
|
|
1095
|
+
readonly size?: BaseSize | undefined;
|
|
1068
1096
|
readonly badge?: PanelBadge | undefined;
|
|
1069
1097
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
|
1070
1098
|
tag: {
|
|
@@ -1403,9 +1431,9 @@ export declare const widgets: {
|
|
|
1403
1431
|
autoPointer: {
|
|
1404
1432
|
type: BooleanConstructor;
|
|
1405
1433
|
};
|
|
1406
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
1407
|
-
$vtjEl:
|
|
1408
|
-
}
|
|
1434
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
1435
|
+
$vtjEl: any;
|
|
1436
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1409
1437
|
$slots: {
|
|
1410
1438
|
default?(_: {}): any;
|
|
1411
1439
|
};
|
|
@@ -1531,9 +1559,9 @@ export declare const widgets: {
|
|
|
1531
1559
|
footer: {
|
|
1532
1560
|
type: PropType<ContainerProps>;
|
|
1533
1561
|
};
|
|
1534
|
-
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> &
|
|
1535
|
-
bodyRef:
|
|
1536
|
-
}
|
|
1562
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & {
|
|
1563
|
+
bodyRef: any;
|
|
1564
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1537
1565
|
$slots: {
|
|
1538
1566
|
header?(_: {}): any;
|
|
1539
1567
|
title?(_: {}): any;
|
|
@@ -1606,12 +1634,12 @@ export declare const widgets: {
|
|
|
1606
1634
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
1607
1635
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
1608
1636
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
1609
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> &
|
|
1610
|
-
panelRef:
|
|
1637
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & {
|
|
1638
|
+
panelRef: any;
|
|
1611
1639
|
scrollToBottom: () => void;
|
|
1612
1640
|
autoScrollToBottom: (diff?: number) => void;
|
|
1613
1641
|
scrollToTop: () => void;
|
|
1614
|
-
}
|
|
1642
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1615
1643
|
$slots: {
|
|
1616
1644
|
'pre-actions'?(_: {}): any;
|
|
1617
1645
|
actions?(_: {}): any;
|
|
@@ -1669,7 +1697,6 @@ export declare const widgets: {
|
|
|
1669
1697
|
readonly fit: boolean;
|
|
1670
1698
|
readonly border: boolean;
|
|
1671
1699
|
readonly card: boolean;
|
|
1672
|
-
readonly size?: BaseSize | undefined;
|
|
1673
1700
|
readonly height?: string | number | undefined;
|
|
1674
1701
|
readonly width?: string | number | undefined;
|
|
1675
1702
|
readonly body?: Readonly<Partial< ExtractPropTypes<{
|
|
@@ -1740,6 +1767,7 @@ export declare const widgets: {
|
|
|
1740
1767
|
type: BooleanConstructor;
|
|
1741
1768
|
};
|
|
1742
1769
|
}>>> | undefined;
|
|
1770
|
+
readonly size?: BaseSize | undefined;
|
|
1743
1771
|
readonly badge?: PanelBadge | undefined;
|
|
1744
1772
|
readonly footer?: Readonly<Partial< ExtractPropTypes<{
|
|
1745
1773
|
tag: {
|
|
@@ -2078,9 +2106,9 @@ export declare const widgets: {
|
|
|
2078
2106
|
autoPointer: {
|
|
2079
2107
|
type: BooleanConstructor;
|
|
2080
2108
|
};
|
|
2081
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
2082
|
-
$vtjEl:
|
|
2083
|
-
}
|
|
2109
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
2110
|
+
$vtjEl: any;
|
|
2111
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
2084
2112
|
$slots: {
|
|
2085
2113
|
default?(_: {}): any;
|
|
2086
2114
|
};
|
|
@@ -2206,9 +2234,9 @@ export declare const widgets: {
|
|
|
2206
2234
|
footer: {
|
|
2207
2235
|
type: PropType<ContainerProps>;
|
|
2208
2236
|
};
|
|
2209
|
-
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> &
|
|
2210
|
-
bodyRef:
|
|
2211
|
-
}
|
|
2237
|
+
}>> & Readonly<{}>, "radius" | "fit" | "border" | "card" | "bodyRef"> & {
|
|
2238
|
+
bodyRef: any;
|
|
2239
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
2212
2240
|
$slots: {
|
|
2213
2241
|
header?(_: {}): any;
|
|
2214
2242
|
title?(_: {}): any;
|
|
@@ -2281,12 +2309,12 @@ export declare const widgets: {
|
|
|
2281
2309
|
onEdit?: ((...args: any[]) => any) | undefined;
|
|
2282
2310
|
onRemove?: ((...args: any[]) => any) | undefined;
|
|
2283
2311
|
onSave?: ((...args: any[]) => any) | undefined;
|
|
2284
|
-
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> &
|
|
2285
|
-
panelRef:
|
|
2312
|
+
}>, "panelRef" | "scrollToBottom" | "autoScrollToBottom" | "scrollToTop" | ("menus" | "header")> & {
|
|
2313
|
+
panelRef: any;
|
|
2286
2314
|
scrollToBottom: () => void;
|
|
2287
2315
|
autoScrollToBottom: (diff?: number) => void;
|
|
2288
2316
|
scrollToTop: () => void;
|
|
2289
|
-
}
|
|
2317
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
2290
2318
|
$slots: {
|
|
2291
2319
|
'pre-actions'?(_: {}): any;
|
|
2292
2320
|
actions?(_: {}): any;
|
|
@@ -3072,7 +3100,7 @@ export declare const widgets: {
|
|
|
3072
3100
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
3073
3101
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
3074
3102
|
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"> &
|
|
3103
|
+
}>, "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
3104
|
state: {
|
|
3077
3105
|
[x: string]: any;
|
|
3078
3106
|
page?: number | undefined;
|
|
@@ -3540,9 +3568,9 @@ export declare const widgets: {
|
|
|
3540
3568
|
};
|
|
3541
3569
|
load: (reset?: boolean) => Promise<void>;
|
|
3542
3570
|
search: (reset?: boolean) => Promise<boolean>;
|
|
3543
|
-
vxeRef:
|
|
3544
|
-
rowSortable:
|
|
3545
|
-
columnSortable:
|
|
3571
|
+
vxeRef: VxeGridInstance | undefined;
|
|
3572
|
+
rowSortable: any;
|
|
3573
|
+
columnSortable: any[];
|
|
3546
3574
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
|
3547
3575
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
|
3548
3576
|
getSelected: () => any;
|
|
@@ -3558,7 +3586,7 @@ export declare const widgets: {
|
|
|
3558
3586
|
} | undefined;
|
|
3559
3587
|
setSelectCell: (row?: any, column?: any) => void;
|
|
3560
3588
|
$vtjDynamicSlots: () => string[];
|
|
3561
|
-
}
|
|
3589
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
3562
3590
|
$slots: Partial<Record<string, (_: {
|
|
3563
3591
|
[key: string]: any;
|
|
3564
3592
|
$table: VxeTableConstructor<any>;
|
|
@@ -3602,16 +3630,16 @@ export declare const widgets: {
|
|
|
3602
3630
|
minimizable: boolean;
|
|
3603
3631
|
bodyPadding: boolean;
|
|
3604
3632
|
}> & Omit<{
|
|
3605
|
-
readonly size: BaseSize;
|
|
3606
3633
|
readonly height: string | number;
|
|
3607
3634
|
readonly width: string | number;
|
|
3608
3635
|
readonly primary: boolean;
|
|
3636
|
+
readonly size: BaseSize;
|
|
3609
3637
|
readonly modelValue: boolean;
|
|
3610
3638
|
readonly mode: DialogMode;
|
|
3611
3639
|
readonly draggable: boolean | DraggableOptions;
|
|
3612
3640
|
readonly pure: boolean;
|
|
3613
|
-
readonly modal: boolean;
|
|
3614
3641
|
readonly closable: boolean;
|
|
3642
|
+
readonly modal: boolean;
|
|
3615
3643
|
readonly maximizable: boolean;
|
|
3616
3644
|
readonly minimizable: boolean;
|
|
3617
3645
|
readonly bodyPadding: boolean;
|
|
@@ -3682,7 +3710,7 @@ export declare const widgets: {
|
|
|
3682
3710
|
isOutside: ShallowRef<boolean, boolean>;
|
|
3683
3711
|
stop: () => void;
|
|
3684
3712
|
}) => any) | undefined | undefined;
|
|
3685
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "
|
|
3713
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "height" | "width" | "primary" | "size" | "modelValue" | "mode" | "draggable" | "pure" | "closable" | "modal" | "maximizable" | "minimizable" | "bodyPadding">;
|
|
3686
3714
|
$attrs: Attrs;
|
|
3687
3715
|
$refs: {
|
|
3688
3716
|
[x: string]: unknown;
|
|
@@ -4110,9 +4138,9 @@ export declare const widgets: {
|
|
|
4110
4138
|
autoPointer: {
|
|
4111
4139
|
type: BooleanConstructor;
|
|
4112
4140
|
};
|
|
4113
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
4114
|
-
$vtjEl:
|
|
4115
|
-
}
|
|
4141
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
4142
|
+
$vtjEl: any;
|
|
4143
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
4116
4144
|
$slots: {
|
|
4117
4145
|
default?(_: {}): any;
|
|
4118
4146
|
};
|
|
@@ -4238,9 +4266,9 @@ export declare const widgets: {
|
|
|
4238
4266
|
footer: {
|
|
4239
4267
|
type: PropType<ContainerProps>;
|
|
4240
4268
|
};
|
|
4241
|
-
}>> & Readonly<{}>, "bodyRef" | ("radius" | "fit" | "border" | "card")> &
|
|
4242
|
-
bodyRef:
|
|
4243
|
-
}
|
|
4269
|
+
}>> & Readonly<{}>, "bodyRef" | ("radius" | "fit" | "border" | "card")> & {
|
|
4270
|
+
bodyRef: any;
|
|
4271
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
4244
4272
|
$slots: {
|
|
4245
4273
|
header?(_: {}): any;
|
|
4246
4274
|
title?(_: {}): any;
|
|
@@ -4709,9 +4737,9 @@ export declare const widgets: {
|
|
|
4709
4737
|
isOutside: ShallowRef<boolean, boolean>;
|
|
4710
4738
|
stop: () => void;
|
|
4711
4739
|
}) => any) | undefined;
|
|
4712
|
-
}>, "
|
|
4713
|
-
$vtjEl:
|
|
4714
|
-
panelRef:
|
|
4740
|
+
}>, "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"> & {
|
|
4741
|
+
$vtjEl: any;
|
|
4742
|
+
panelRef: any;
|
|
4715
4743
|
state: {
|
|
4716
4744
|
mode: DialogMode;
|
|
4717
4745
|
wrapperWidth: number;
|
|
@@ -4724,8 +4752,8 @@ export declare const widgets: {
|
|
|
4724
4752
|
dragging: boolean;
|
|
4725
4753
|
resizing: boolean;
|
|
4726
4754
|
};
|
|
4727
|
-
maximized:
|
|
4728
|
-
minimized:
|
|
4755
|
+
maximized: boolean;
|
|
4756
|
+
minimized: boolean;
|
|
4729
4757
|
changeMode: (mode: DialogMode) => void;
|
|
4730
4758
|
show: () => void;
|
|
4731
4759
|
hide: () => void;
|
|
@@ -4735,8 +4763,8 @@ export declare const widgets: {
|
|
|
4735
4763
|
componentInstance: {
|
|
4736
4764
|
componentInstance: Record<string, any>;
|
|
4737
4765
|
} | undefined;
|
|
4738
|
-
iframeRef:
|
|
4739
|
-
}
|
|
4766
|
+
iframeRef: any;
|
|
4767
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
4740
4768
|
$slots: {
|
|
4741
4769
|
actions?(_: {}): any;
|
|
4742
4770
|
default?(_: {}): any;
|
|
@@ -5522,7 +5550,7 @@ export declare const widgets: {
|
|
|
5522
5550
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
5523
5551
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
5524
5552
|
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"> &
|
|
5553
|
+
}>, "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
5554
|
state: {
|
|
5527
5555
|
[x: string]: any;
|
|
5528
5556
|
page?: number | undefined;
|
|
@@ -5990,9 +6018,9 @@ export declare const widgets: {
|
|
|
5990
6018
|
};
|
|
5991
6019
|
load: (reset?: boolean) => Promise<void>;
|
|
5992
6020
|
search: (reset?: boolean) => Promise<boolean>;
|
|
5993
|
-
vxeRef:
|
|
5994
|
-
rowSortable:
|
|
5995
|
-
columnSortable:
|
|
6021
|
+
vxeRef: VxeGridInstance | undefined;
|
|
6022
|
+
rowSortable: any;
|
|
6023
|
+
columnSortable: any[];
|
|
5996
6024
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
|
5997
6025
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
|
5998
6026
|
getSelected: () => any;
|
|
@@ -6008,7 +6036,7 @@ export declare const widgets: {
|
|
|
6008
6036
|
} | undefined;
|
|
6009
6037
|
setSelectCell: (row?: any, column?: any) => void;
|
|
6010
6038
|
$vtjDynamicSlots: () => string[];
|
|
6011
|
-
}
|
|
6039
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
6012
6040
|
$slots: Partial<Record<string, (_: {
|
|
6013
6041
|
[key: string]: any;
|
|
6014
6042
|
$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?(_: {
|