@vunk/form 2.19.0 → 2.19.1
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/components/api-tables-select/src/ctx.d.ts +16 -22
- package/components/api-tables-select/src/index.vue.d.ts +39 -43
- package/components/button/index.mjs +1 -2
- package/components/button/src/ctx.d.ts +7 -7
- package/components/button/src/index.vue.d.ts +64 -63
- package/components/card-input-collection/index.cjs +1 -1
- package/components/card-input-collection/index.mjs +7 -7
- package/components/card-input-collection/src/core.vue.d.ts +12 -8
- package/components/card-input-collection/src/ctx.d.ts +2 -2
- package/components/card-input-collection/src/index.vue.d.ts +7 -6
- package/components/cascader/src/ctx.d.ts +33 -25
- package/components/cascader/src/index.vue.d.ts +67 -50
- package/components/cascader/src/use.d.ts +1 -1
- package/components/checkbox/index.mjs +3 -3
- package/components/checkbox/src/ctx.d.ts +19 -19
- package/components/checkbox/src/index.vue.d.ts +128 -127
- package/components/cloneDeep.cjs +1 -1
- package/components/color-picker/src/ctx.d.ts +22 -14
- package/components/color-picker/src/index.vue.d.ts +52 -32
- package/components/date-picker/src/ctx.d.ts +32 -24
- package/components/date-picker/src/index.vue.d.ts +68 -51
- package/components/date-picker-range/src/ctx.d.ts +23 -15
- package/components/date-picker-range/src/index.vue.d.ts +131 -98
- package/components/dialog/src/ctx.d.ts +5 -5
- package/components/dialog/src/index.vue.d.ts +18 -16
- package/components/dialog-input-collection/index.mjs +9 -9
- package/components/dialog-input-collection/src/ctx.d.ts +4 -3
- package/components/dialog-input-collection/src/dialog-form.vue.d.ts +12 -8
- package/components/dialog-input-collection/src/index.vue.d.ts +13 -11
- package/components/dialog-input-collection/src/layout.vue.d.ts +8 -4
- package/components/download-plus/index.cjs +1 -1
- package/components/download-plus/index.mjs +21 -22
- package/components/download-plus/src/api.d.ts +1 -1
- package/components/download-plus/src/ctx.d.ts +4 -3
- package/components/download-plus/src/index.vue.d.ts +81 -78
- package/components/editable-text/src/ctx.d.ts +2 -6
- package/components/editable-text/src/index.vue.d.ts +14 -10
- package/components/el-slider/index.mjs +4 -4
- package/components/el-slider/src/button.vue.d.ts +2 -1
- package/components/el-slider/src/composables/use-slide.d.ts +1 -1
- package/components/el-slider/src/composables/use-slider-button.d.ts +1 -1
- package/components/el-slider/src/composables/use-watch.d.ts +1 -1
- package/components/el-slider/src/slider-core.vue.d.ts +7 -6
- package/components/el-slider/src/slider.d.ts +2 -1
- package/components/esri-input-geojson/index.mjs +40 -55
- package/components/esri-input-geojson/src/append.vue.d.ts +97 -96
- package/components/esri-input-geojson/src/ctx.d.ts +21 -22
- package/components/esri-input-geojson/src/default-view.vue.d.ts +7 -3
- package/components/esri-input-geojson/src/index.vue.d.ts +593 -186
- package/components/esri-input-geojson/src/types.d.ts +0 -1
- package/components/esri-input-geojson/src/viewer.vue.d.ts +406 -40
- package/components/fieldset/index.mjs +2 -4
- package/components/fieldset/src/index.vue.d.ts +3 -2
- package/components/form/src/ctx.d.ts +1 -1
- package/components/form/src/index.vue.d.ts +68 -67
- package/components/form-item/index.mjs +6 -7
- package/components/form-item/src/core.vue.d.ts +12 -10
- package/components/form-item/src/ctx.d.ts +6 -4
- package/components/form-item/src/index.vue.d.ts +7 -6
- package/components/form-item-renderer/index.mjs +2 -3
- package/components/form-item-renderer/src/core.vue.d.ts +3 -2
- package/components/form-item-renderer/src/index.vue.d.ts +7 -5
- package/components/form-item-renderer-template/index.mjs +1 -2
- package/components/form-item-renderer-template/src/index.vue.d.ts +3 -2
- package/components/forms-provider/src/index.vue.d.ts +5 -2
- package/components/forms-provider/src/segment.vue.d.ts +7 -3
- package/components/forms-provider/src/view.vue.d.ts +11 -7
- package/components/index2.cjs +1 -1
- package/components/information/src/index.vue.d.ts +3 -2
- package/components/information-collection/src/ctx.d.ts +17 -11
- package/components/information-collection/src/index.vue.d.ts +36 -27
- package/components/information-renderer/index.d.ts +9 -9
- package/components/information-tag/src/ctx.d.ts +4 -3
- package/components/information-tag/src/index.vue.d.ts +12 -11
- package/components/information-templates-default/src/index.vue.d.ts +2 -1
- package/components/input/src/ctx.d.ts +20 -20
- package/components/input/src/index.vue.d.ts +70 -69
- package/components/input-array/src/ctx.d.ts +2 -2
- package/components/input-array/src/form-template.vue.d.ts +2 -1
- package/components/input-array/src/index.vue.d.ts +6 -5
- package/components/input-collection/src/core.vue.d.ts +17 -15
- package/components/input-collection/src/ctx.d.ts +4 -4
- package/components/input-collection/src/index.vue.d.ts +13 -12
- package/components/input-file/src/index.vue.d.ts +51 -50
- package/components/input-file/src/template.vue.d.ts +2 -1
- package/components/input-link/src/ctx.d.ts +19 -21
- package/components/input-link/src/index.vue.d.ts +111 -110
- package/components/input-number/src/ctx.d.ts +5 -5
- package/components/input-number/src/index.vue.d.ts +39 -38
- package/components/input-tag/src/ctx.d.ts +10 -10
- package/components/input-tag/src/index.vue.d.ts +48 -47
- package/components/monaco-editor/src/ctx.d.ts +2 -2
- package/components/monaco-editor/src/index.vue.d.ts +17 -16
- package/components/radio/index.cjs +1 -1
- package/components/radio/index.mjs +2 -2
- package/components/radio/src/ctx.d.ts +3 -3
- package/components/radio/src/index.vue.d.ts +32 -31
- package/components/radio/src/option.vue.d.ts +12 -10
- package/components/radio/src/wraper.vue.d.ts +9 -8
- package/components/renderer-data/src/index.vue.d.ts +3 -2
- package/components/select/src/core.vue.d.ts +99 -239
- package/components/select/src/ctx.d.ts +23 -95
- package/components/select/src/index.vue.d.ts +76 -75
- package/components/select/src/options.vue.d.ts +3 -2
- package/components/slider/src/ctx.d.ts +10 -10
- package/components/slider/src/index.vue.d.ts +29 -25
- package/components/style.css +1 -1
- package/components/switch/src/ctx.d.ts +11 -11
- package/components/switch/src/index.vue.d.ts +24 -20
- package/components/tables-select/index.mjs +1 -2
- package/components/tables-select/src/ctx.d.ts +27 -43
- package/components/tables-select/src/index.vue.d.ts +57 -71
- package/components/template-instances-provider/src/index.vue.d.ts +3 -2
- package/components/templates-default/src/ctx.d.ts +3 -5
- package/components/templates-default/src/index.vue.d.ts +778 -727
- package/components/templates-element-plus/index.mjs +3 -3
- package/components/templates-element-plus/src/index.vue.d.ts +27 -26
- package/components/templates-esri/src/index.vue.d.ts +600 -193
- package/components/templates-layout/index.mjs +3 -3
- package/components/templates-layout/src/index.vue.d.ts +14 -13
- package/components/templates-variant/src/index.vue.d.ts +132 -99
- package/components/time-picker/src/ctx.d.ts +31 -23
- package/components/time-picker/src/index.vue.d.ts +66 -49
- package/components/upload/index.cjs +1 -1
- package/components/upload/index.mjs +45 -45
- package/components/upload/src/ctx.d.ts +24 -22
- package/components/upload/src/file.vue.d.ts +75 -73
- package/components/upload/src/index.vue.d.ts +188 -187
- package/components/upload/src/wraper.vue.d.ts +48 -47
- package/components/upload-plus/index.cjs +7 -7
- package/components/upload-plus/index.mjs +1911 -1937
- package/components/upload-plus/src/api.d.ts +1 -1
- package/components/upload-plus/src/ctx.d.ts +2 -5
- package/components/upload-plus/src/index.vue.d.ts +6 -5
- package/components/use-watch.cjs +1 -1
- package/components/van-cascader/src/ctx.d.ts +33 -25
- package/components/van-cascader/src/index.vue.d.ts +67 -50
- package/components/var-datetime-picker/index.cjs +1 -1
- package/components/var-datetime-picker/index.mjs +18 -20
- package/components/var-datetime-picker/src/ctx.d.ts +4 -3
- package/components/var-datetime-picker/src/index.vue.d.ts +144 -179
- package/components/vditor/src/ctx.d.ts +2 -3
- package/components/vditor/src/index.vue.d.ts +19 -19
- package/composables/index.mjs +3 -5
- package/composables/useSourceManager.d.ts +2 -2
- package/index.css +1 -1
- package/package.json +1 -1
- package/shared/element-plus/instances.d.ts +60 -43
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { NormalObject } from '@vunk/shared';
|
|
2
|
-
declare
|
|
2
|
+
declare var __VLS_14: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
dialog?: (props: typeof __VLS_14) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
7
|
columns: {
|
|
4
8
|
type: import("vue").PropType<any[]>;
|
|
5
9
|
default: () => never[];
|
|
6
10
|
};
|
|
7
11
|
prop: null;
|
|
8
12
|
modelValue: {
|
|
9
|
-
type: import("vue").PropType<
|
|
13
|
+
type: import("vue").PropType<NormalObject[] | string>;
|
|
10
14
|
default: () => never[];
|
|
11
15
|
};
|
|
12
16
|
labelField: {
|
|
@@ -91,7 +95,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
91
95
|
default: undefined;
|
|
92
96
|
};
|
|
93
97
|
modules: {
|
|
94
|
-
type: import("vue").PropType<"pagination"[]>;
|
|
98
|
+
type: import("vue").PropType<("pagination")[]>;
|
|
95
99
|
default: () => string[];
|
|
96
100
|
};
|
|
97
101
|
align: {
|
|
@@ -115,7 +119,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
115
119
|
default: () => never[];
|
|
116
120
|
};
|
|
117
121
|
size: {
|
|
118
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
122
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
119
123
|
readonly required: false;
|
|
120
124
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
121
125
|
__epPropKey: true;
|
|
@@ -128,7 +132,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
128
132
|
type: BooleanConstructor;
|
|
129
133
|
default: boolean;
|
|
130
134
|
};
|
|
131
|
-
showOverflowTooltip: import("vue").PropType<boolean | Partial<Pick<import("element-plus").
|
|
135
|
+
showOverflowTooltip: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "hideAfter" | "appendTo" | "placement" | "offset" | "transition" | "popperClass" | "showArrow" | "effect" | "enterable" | "popperOptions" | "showAfter">> | undefined>;
|
|
132
136
|
rowKey: import("vue").PropType<string | ((row: any) => string) | undefined>;
|
|
133
137
|
summaryMethod: import("vue").PropType<import("element-plus").SummaryMethod<any> | undefined>;
|
|
134
138
|
rowClassName: import("vue").PropType<import("element-plus").ColumnCls<any> | undefined>;
|
|
@@ -141,7 +145,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
141
145
|
headerCellStyle: import("vue").PropType<import("element-plus").CellStyle<any> | undefined>;
|
|
142
146
|
expandRowKeys: import("vue").PropType<string[] | undefined>;
|
|
143
147
|
defaultSort: import("vue").PropType<import("element-plus").Sort | undefined>;
|
|
144
|
-
tooltipOptions: import("vue").PropType<Partial<Pick<import("element-plus").
|
|
148
|
+
tooltipOptions: import("vue").PropType<Partial<Pick<import("element-plus").ElTooltipProps, "hideAfter" | "appendTo" | "placement" | "offset" | "transition" | "popperClass" | "showArrow" | "effect" | "enterable" | "popperOptions" | "showAfter">> | undefined>;
|
|
145
149
|
spanMethod: import("vue").PropType<((data: {
|
|
146
150
|
row: any;
|
|
147
151
|
rowIndex: number;
|
|
@@ -181,7 +185,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
181
185
|
};
|
|
182
186
|
lazy: BooleanConstructor;
|
|
183
187
|
tableLayout: {
|
|
184
|
-
type: import("vue").PropType<"
|
|
188
|
+
type: import("vue").PropType<"fixed" | "auto">;
|
|
185
189
|
default: string;
|
|
186
190
|
};
|
|
187
191
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
@@ -205,9 +209,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
205
209
|
__epPropKey: true;
|
|
206
210
|
};
|
|
207
211
|
prevText: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
208
|
-
prevIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component
|
|
212
|
+
prevIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
|
|
209
213
|
nextText: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
210
|
-
nextIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component
|
|
214
|
+
nextIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
|
|
211
215
|
teleported: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
212
216
|
small: BooleanConstructor;
|
|
213
217
|
background: BooleanConstructor;
|
|
@@ -225,45 +229,36 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
225
229
|
type: (StringConstructor | NumberConstructor)[];
|
|
226
230
|
default: string;
|
|
227
231
|
};
|
|
228
|
-
renderHeader: import("vue").PropType<(
|
|
229
|
-
column: import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>;
|
|
230
|
-
$index: number;
|
|
231
|
-
store: import("element-plus/es/components/table/src/store/index.mjs").Store<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>;
|
|
232
|
-
_self: any;
|
|
233
|
-
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
234
|
-
[key: string]: any;
|
|
235
|
-
}>>;
|
|
232
|
+
renderHeader: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["renderHeader"]>;
|
|
236
233
|
sortable: {
|
|
237
|
-
type: (
|
|
234
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
238
235
|
default: boolean;
|
|
239
236
|
};
|
|
240
|
-
sortMethod: import("vue").PropType<
|
|
241
|
-
sortBy: import("vue").PropType<
|
|
237
|
+
sortMethod: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["sortMethod"]>;
|
|
238
|
+
sortBy: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["sortBy"]>;
|
|
242
239
|
resizable: {
|
|
243
240
|
type: BooleanConstructor;
|
|
244
241
|
default: boolean;
|
|
245
242
|
};
|
|
246
243
|
columnKey: StringConstructor;
|
|
247
244
|
showTooltipWhenOverflow: BooleanConstructor;
|
|
248
|
-
fixed: (
|
|
249
|
-
formatter: import("vue").PropType<
|
|
250
|
-
|
|
251
|
-
}>>;
|
|
252
|
-
selectable: import("vue").PropType<(row: import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow, index: number) => boolean>;
|
|
245
|
+
fixed: (BooleanConstructor | StringConstructor)[];
|
|
246
|
+
formatter: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["formatter"]>;
|
|
247
|
+
selectable: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["selectable"]>;
|
|
253
248
|
reserveSelection: BooleanConstructor;
|
|
254
|
-
filterMethod: import("vue").PropType<import("element-plus
|
|
255
|
-
filteredValue: import("vue").PropType<
|
|
256
|
-
filters: import("vue").PropType<import("element-plus/es/components/table/src/table
|
|
249
|
+
filterMethod: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["filterMethod"]>;
|
|
250
|
+
filteredValue: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["filteredValue"]>;
|
|
251
|
+
filters: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["filters"]>;
|
|
257
252
|
filterPlacement: StringConstructor;
|
|
258
253
|
filterMultiple: {
|
|
259
254
|
type: BooleanConstructor;
|
|
260
255
|
default: boolean;
|
|
261
256
|
};
|
|
262
|
-
index: import("vue").PropType<
|
|
257
|
+
index: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["index"]>;
|
|
263
258
|
sortOrders: {
|
|
264
|
-
type: import("vue").PropType<(import("element-plus/es/components/table/src/table/defaults.mjs").
|
|
259
|
+
type: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["sortOrders"]>;
|
|
265
260
|
default: () => (string | null)[];
|
|
266
|
-
validator: (val:
|
|
261
|
+
validator: (val: import("element-plus").TableColumnCtx<any>["sortOrders"]) => boolean;
|
|
267
262
|
};
|
|
268
263
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
269
264
|
formItemSize: {
|
|
@@ -300,14 +295,14 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
300
295
|
};
|
|
301
296
|
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
302
297
|
rules: {
|
|
303
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown>>;
|
|
298
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
304
299
|
readonly required: false;
|
|
305
300
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
306
301
|
__epPropKey: true;
|
|
307
302
|
};
|
|
308
303
|
error: StringConstructor;
|
|
309
304
|
validateStatus: {
|
|
310
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
305
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
311
306
|
readonly required: false;
|
|
312
307
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
313
308
|
__epPropKey: true;
|
|
@@ -350,7 +345,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
350
345
|
};
|
|
351
346
|
prop: null;
|
|
352
347
|
modelValue: {
|
|
353
|
-
type: import("vue").PropType<
|
|
348
|
+
type: import("vue").PropType<NormalObject[] | string>;
|
|
354
349
|
default: () => never[];
|
|
355
350
|
};
|
|
356
351
|
labelField: {
|
|
@@ -435,7 +430,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
435
430
|
default: undefined;
|
|
436
431
|
};
|
|
437
432
|
modules: {
|
|
438
|
-
type: import("vue").PropType<"pagination"[]>;
|
|
433
|
+
type: import("vue").PropType<("pagination")[]>;
|
|
439
434
|
default: () => string[];
|
|
440
435
|
};
|
|
441
436
|
align: {
|
|
@@ -459,7 +454,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
459
454
|
default: () => never[];
|
|
460
455
|
};
|
|
461
456
|
size: {
|
|
462
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
457
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
463
458
|
readonly required: false;
|
|
464
459
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
465
460
|
__epPropKey: true;
|
|
@@ -472,7 +467,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
472
467
|
type: BooleanConstructor;
|
|
473
468
|
default: boolean;
|
|
474
469
|
};
|
|
475
|
-
showOverflowTooltip: import("vue").PropType<boolean | Partial<Pick<import("element-plus").
|
|
470
|
+
showOverflowTooltip: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "hideAfter" | "appendTo" | "placement" | "offset" | "transition" | "popperClass" | "showArrow" | "effect" | "enterable" | "popperOptions" | "showAfter">> | undefined>;
|
|
476
471
|
rowKey: import("vue").PropType<string | ((row: any) => string) | undefined>;
|
|
477
472
|
summaryMethod: import("vue").PropType<import("element-plus").SummaryMethod<any> | undefined>;
|
|
478
473
|
rowClassName: import("vue").PropType<import("element-plus").ColumnCls<any> | undefined>;
|
|
@@ -485,7 +480,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
485
480
|
headerCellStyle: import("vue").PropType<import("element-plus").CellStyle<any> | undefined>;
|
|
486
481
|
expandRowKeys: import("vue").PropType<string[] | undefined>;
|
|
487
482
|
defaultSort: import("vue").PropType<import("element-plus").Sort | undefined>;
|
|
488
|
-
tooltipOptions: import("vue").PropType<Partial<Pick<import("element-plus").
|
|
483
|
+
tooltipOptions: import("vue").PropType<Partial<Pick<import("element-plus").ElTooltipProps, "hideAfter" | "appendTo" | "placement" | "offset" | "transition" | "popperClass" | "showArrow" | "effect" | "enterable" | "popperOptions" | "showAfter">> | undefined>;
|
|
489
484
|
spanMethod: import("vue").PropType<((data: {
|
|
490
485
|
row: any;
|
|
491
486
|
rowIndex: number;
|
|
@@ -525,7 +520,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
525
520
|
};
|
|
526
521
|
lazy: BooleanConstructor;
|
|
527
522
|
tableLayout: {
|
|
528
|
-
type: import("vue").PropType<"
|
|
523
|
+
type: import("vue").PropType<"fixed" | "auto">;
|
|
529
524
|
default: string;
|
|
530
525
|
};
|
|
531
526
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
@@ -549,9 +544,9 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
549
544
|
__epPropKey: true;
|
|
550
545
|
};
|
|
551
546
|
prevText: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
552
|
-
prevIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component
|
|
547
|
+
prevIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
|
|
553
548
|
nextText: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
554
|
-
nextIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component
|
|
549
|
+
nextIcon: import("element-plus/es/utils/index.mjs").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
|
|
555
550
|
teleported: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
556
551
|
small: BooleanConstructor;
|
|
557
552
|
background: BooleanConstructor;
|
|
@@ -569,45 +564,36 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
569
564
|
type: (StringConstructor | NumberConstructor)[];
|
|
570
565
|
default: string;
|
|
571
566
|
};
|
|
572
|
-
renderHeader: import("vue").PropType<(
|
|
573
|
-
column: import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>;
|
|
574
|
-
$index: number;
|
|
575
|
-
store: import("element-plus/es/components/table/src/store/index.mjs").Store<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>;
|
|
576
|
-
_self: any;
|
|
577
|
-
}) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
578
|
-
[key: string]: any;
|
|
579
|
-
}>>;
|
|
567
|
+
renderHeader: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["renderHeader"]>;
|
|
580
568
|
sortable: {
|
|
581
|
-
type: (
|
|
569
|
+
type: (BooleanConstructor | StringConstructor)[];
|
|
582
570
|
default: boolean;
|
|
583
571
|
};
|
|
584
|
-
sortMethod: import("vue").PropType<
|
|
585
|
-
sortBy: import("vue").PropType<
|
|
572
|
+
sortMethod: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["sortMethod"]>;
|
|
573
|
+
sortBy: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["sortBy"]>;
|
|
586
574
|
resizable: {
|
|
587
575
|
type: BooleanConstructor;
|
|
588
576
|
default: boolean;
|
|
589
577
|
};
|
|
590
578
|
columnKey: StringConstructor;
|
|
591
579
|
showTooltipWhenOverflow: BooleanConstructor;
|
|
592
|
-
fixed: (
|
|
593
|
-
formatter: import("vue").PropType<
|
|
594
|
-
|
|
595
|
-
}>>;
|
|
596
|
-
selectable: import("vue").PropType<(row: import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow, index: number) => boolean>;
|
|
580
|
+
fixed: (BooleanConstructor | StringConstructor)[];
|
|
581
|
+
formatter: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["formatter"]>;
|
|
582
|
+
selectable: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["selectable"]>;
|
|
597
583
|
reserveSelection: BooleanConstructor;
|
|
598
|
-
filterMethod: import("vue").PropType<import("element-plus
|
|
599
|
-
filteredValue: import("vue").PropType<
|
|
600
|
-
filters: import("vue").PropType<import("element-plus/es/components/table/src/table
|
|
584
|
+
filterMethod: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["filterMethod"]>;
|
|
585
|
+
filteredValue: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["filteredValue"]>;
|
|
586
|
+
filters: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["filters"]>;
|
|
601
587
|
filterPlacement: StringConstructor;
|
|
602
588
|
filterMultiple: {
|
|
603
589
|
type: BooleanConstructor;
|
|
604
590
|
default: boolean;
|
|
605
591
|
};
|
|
606
|
-
index: import("vue").PropType<
|
|
592
|
+
index: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["index"]>;
|
|
607
593
|
sortOrders: {
|
|
608
|
-
type: import("vue").PropType<(import("element-plus/es/components/table/src/table/defaults.mjs").
|
|
594
|
+
type: import("vue").PropType<import("element-plus").TableColumnCtx<import("element-plus/es/components/table/src/table/defaults.mjs").DefaultRow>["sortOrders"]>;
|
|
609
595
|
default: () => (string | null)[];
|
|
610
|
-
validator: (val:
|
|
596
|
+
validator: (val: import("element-plus").TableColumnCtx<any>["sortOrders"]) => boolean;
|
|
611
597
|
};
|
|
612
598
|
required: import("element-plus/es/utils/index.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
613
599
|
formItemSize: {
|
|
@@ -644,14 +630,14 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
644
630
|
};
|
|
645
631
|
labelPosition: import("element-plus/es/utils/index.mjs").EpPropFinalized<StringConstructor, "" | "left" | "right" | "top", unknown, "", boolean>;
|
|
646
632
|
rules: {
|
|
647
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | ((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | null)[], unknown, unknown>>;
|
|
633
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>) | (((new (...args: any[]) => import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | (() => import("element-plus/es/utils/typescript.mjs").Arrayable<import("element-plus").FormItemRule>)) | null)[], unknown, unknown>>;
|
|
648
634
|
readonly required: false;
|
|
649
635
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
650
636
|
__epPropKey: true;
|
|
651
637
|
};
|
|
652
638
|
error: StringConstructor;
|
|
653
639
|
validateStatus: {
|
|
654
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "
|
|
640
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.mjs").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
655
641
|
readonly required: false;
|
|
656
642
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
657
643
|
__epPropKey: true;
|
|
@@ -706,7 +692,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
706
692
|
modelValue: string | NormalObject[];
|
|
707
693
|
placeholder: string;
|
|
708
694
|
clearable: boolean;
|
|
709
|
-
lazy: boolean;
|
|
710
695
|
data: any[];
|
|
711
696
|
stringify: boolean;
|
|
712
697
|
popperClass: string;
|
|
@@ -727,6 +712,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
727
712
|
selectOnIndeterminate: boolean;
|
|
728
713
|
indent: number;
|
|
729
714
|
treeProps: any;
|
|
715
|
+
lazy: boolean;
|
|
730
716
|
tableLayout: "auto" | "fixed";
|
|
731
717
|
scrollbarAlwaysOn: boolean;
|
|
732
718
|
flexible: boolean;
|
|
@@ -754,14 +740,14 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vu
|
|
|
754
740
|
pagerCount: number;
|
|
755
741
|
pageSizes: number[];
|
|
756
742
|
prevText: string;
|
|
757
|
-
prevIcon: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
743
|
+
prevIcon: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
758
744
|
nextText: string;
|
|
759
|
-
nextIcon: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component
|
|
745
|
+
nextIcon: import("element-plus/es/utils/index.mjs").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
760
746
|
background: boolean;
|
|
761
747
|
hideOnSinglePage: boolean;
|
|
762
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
763
|
-
|
|
764
|
-
|
|
748
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
749
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
750
|
+
declare const _default: typeof __VLS_export;
|
|
765
751
|
export default _default;
|
|
766
752
|
type __VLS_WithSlots<T, S> = T & {
|
|
767
753
|
new (): {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
4
|
[key: string]: any;
|
|
3
5
|
}>[] | undefined) | (() => (import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
4
6
|
[key: string]: any;
|
|
5
7
|
}>[] | undefined)[]), {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
export default _default;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { SetDataEvent } from '@vunk/core/shared/types';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
+
import { CreateIntoUndefined } from './types';
|
|
3
4
|
export declare const props: {
|
|
4
5
|
data: {
|
|
5
6
|
type: PropType<Record<string, any>>;
|
|
6
7
|
default: () => {};
|
|
7
8
|
};
|
|
8
9
|
createIntoUndefined: {
|
|
9
|
-
type: PropType<
|
|
10
|
-
raw: any;
|
|
11
|
-
data: Record<string, any>;
|
|
12
|
-
}) => import("@vunk/core/shared/types").IntoUndefined>;
|
|
10
|
+
type: PropType<CreateIntoUndefined>;
|
|
13
11
|
default: (arg: {
|
|
14
12
|
raw: any;
|
|
15
13
|
data: Record<string, any>;
|
|
16
|
-
}) => import("@vunk/core
|
|
14
|
+
}) => import("@vunk/core").IntoUndefined;
|
|
17
15
|
};
|
|
18
16
|
};
|
|
19
17
|
export declare const emits: {
|