yc-pro-components 0.0.9 → 0.0.10
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/es/components/check-card/index.d.ts +49 -49
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +17 -17
- package/es/components/date-picker/src/index.vue.d.ts +9 -9
- package/es/components/dialog/index.d.ts +41 -41
- package/es/components/dialog/src/index.vue.d.ts +4 -4
- package/es/components/dialog-form/index.d.ts +109 -109
- package/es/components/dialog-form/src/index.vue.d.ts +35 -35
- package/es/components/display-item/index.d.ts +24 -24
- package/es/components/display-item/src/index.vue.d.ts +24 -24
- package/es/components/drawer-form/index.d.ts +105 -105
- package/es/components/drawer-form/src/index.vue.d.ts +34 -34
- package/es/components/form/index.d.ts +123 -123
- package/es/components/form/src/form-content.vue.d.ts +24 -24
- package/es/components/form/src/index.vue.d.ts +43 -43
- package/es/components/form-item/index.d.ts +78 -78
- package/es/components/form-item/src/index.vue.d.ts +22 -22
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +48 -48
- package/es/components/input-tag/src/index.vue.d.ts +36 -36
- package/es/components/layout/index.d.ts +60 -60
- package/es/components/layout/src/index.vue.d.ts +20 -20
- package/es/components/page/index.d.ts +846 -846
- package/es/components/page/src/index.vue.d.ts +286 -286
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +47 -47
- package/es/components/radio/src/index.vue.d.ts +39 -39
- package/es/components/render/index.d.ts +12 -12
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +324 -324
- package/es/components/search/src/index.vue.d.ts +106 -106
- package/es/components/sidebar/index.d.ts +30 -30
- package/es/components/sidebar/src/index.vue.d.ts +10 -10
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +76 -76
- package/es/components/table/src/index.vue.d.ts +24 -24
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/utils/index.d.ts +6 -6
- package/es/components/yc-count-to/index.d.ts +2 -2
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +13 -13
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +86 -86
- package/es/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/es/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-segmented/index.d.ts +6 -6
- package/es/components/yc-segmented/src/index.d.ts +6 -6
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/components/yc-text/src/index.vue2.mjs +31 -4
- package/es/hooks/usePlusFormReset.d.ts +487 -487
- package/index.js +31 -4
- package/index.min.js +2 -2
- package/index.min.mjs +3 -3
- package/index.mjs +31 -4
- package/lib/components/check-card/index.d.ts +49 -49
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +17 -17
- package/lib/components/date-picker/src/index.vue.d.ts +9 -9
- package/lib/components/dialog/index.d.ts +41 -41
- package/lib/components/dialog/src/index.vue.d.ts +4 -4
- package/lib/components/dialog-form/index.d.ts +109 -109
- package/lib/components/dialog-form/src/index.vue.d.ts +35 -35
- package/lib/components/display-item/index.d.ts +24 -24
- package/lib/components/display-item/src/index.vue.d.ts +24 -24
- package/lib/components/drawer-form/index.d.ts +105 -105
- package/lib/components/drawer-form/src/index.vue.d.ts +34 -34
- package/lib/components/form/index.d.ts +123 -123
- package/lib/components/form/src/form-content.vue.d.ts +24 -24
- package/lib/components/form/src/index.vue.d.ts +43 -43
- package/lib/components/form-item/index.d.ts +78 -78
- package/lib/components/form-item/src/index.vue.d.ts +22 -22
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +48 -48
- package/lib/components/input-tag/src/index.vue.d.ts +36 -36
- package/lib/components/layout/index.d.ts +60 -60
- package/lib/components/layout/src/index.vue.d.ts +20 -20
- package/lib/components/page/index.d.ts +846 -846
- package/lib/components/page/src/index.vue.d.ts +286 -286
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +47 -47
- package/lib/components/radio/src/index.vue.d.ts +39 -39
- package/lib/components/render/index.d.ts +12 -12
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +324 -324
- package/lib/components/search/src/index.vue.d.ts +106 -106
- package/lib/components/sidebar/index.d.ts +30 -30
- package/lib/components/sidebar/src/index.vue.d.ts +10 -10
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +76 -76
- package/lib/components/table/src/index.vue.d.ts +24 -24
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/utils/index.d.ts +6 -6
- package/lib/components/yc-count-to/index.d.ts +2 -2
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +13 -13
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +86 -86
- package/lib/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/lib/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-segmented/index.d.ts +6 -6
- package/lib/components/yc-segmented/src/index.d.ts +6 -6
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/components/yc-text/src/index.vue2.js +30 -3
- package/lib/hooks/usePlusFormReset.d.ts +487 -487
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -131,9 +131,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
131
131
|
$: ComponentInternalInstance;
|
|
132
132
|
$data: {};
|
|
133
133
|
$props: Partial<{
|
|
134
|
-
modelValue: FieldValues;
|
|
135
134
|
columns: PlusColumn[];
|
|
136
|
-
|
|
135
|
+
modelValue: FieldValues;
|
|
136
|
+
labelPosition: "top" | "left" | "right";
|
|
137
137
|
inline: boolean;
|
|
138
138
|
showNumber: number;
|
|
139
139
|
defaultValues: FieldValues;
|
|
@@ -156,8 +156,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
156
156
|
searchLoading: boolean;
|
|
157
157
|
needValidate: boolean;
|
|
158
158
|
}> & Omit<{
|
|
159
|
-
readonly modelValue: FieldValues;
|
|
160
159
|
readonly columns: PlusColumn[];
|
|
160
|
+
readonly modelValue: FieldValues;
|
|
161
161
|
readonly inline: boolean;
|
|
162
162
|
readonly showNumber: number;
|
|
163
163
|
readonly defaultValues: FieldValues;
|
|
@@ -179,23 +179,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
179
179
|
readonly expandText: string;
|
|
180
180
|
readonly searchLoading: boolean;
|
|
181
181
|
readonly needValidate: boolean;
|
|
182
|
-
readonly labelPosition?: "top" | "
|
|
183
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
182
|
+
readonly labelPosition?: "top" | "left" | "right" | undefined;
|
|
184
183
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
185
184
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
185
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
186
186
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
187
187
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
188
188
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
189
|
-
modelValue: {
|
|
190
|
-
type: PropType<FieldValues>;
|
|
191
|
-
default: () => {};
|
|
192
|
-
};
|
|
193
189
|
columns: {
|
|
194
190
|
type: PropType<PlusColumn[]>;
|
|
195
191
|
default: () => never[];
|
|
196
192
|
};
|
|
193
|
+
modelValue: {
|
|
194
|
+
type: PropType<FieldValues>;
|
|
195
|
+
default: () => {};
|
|
196
|
+
};
|
|
197
197
|
labelPosition: {
|
|
198
|
-
type: PropType<"top" | "
|
|
198
|
+
type: PropType<"top" | "left" | "right">;
|
|
199
199
|
default: undefined;
|
|
200
200
|
};
|
|
201
201
|
inline: {
|
|
@@ -273,12 +273,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
273
273
|
default: boolean;
|
|
274
274
|
};
|
|
275
275
|
}>> & {
|
|
276
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
277
276
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
278
277
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
278
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
279
279
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
280
280
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
281
|
-
}, "
|
|
281
|
+
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
|
|
282
282
|
$attrs: {
|
|
283
283
|
[x: string]: unknown;
|
|
284
284
|
};
|
|
@@ -290,19 +290,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
290
290
|
}>;
|
|
291
291
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
292
292
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
293
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
293
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
294
294
|
$el: any;
|
|
295
295
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
296
|
-
modelValue: {
|
|
297
|
-
type: PropType<FieldValues>;
|
|
298
|
-
default: () => {};
|
|
299
|
-
};
|
|
300
296
|
columns: {
|
|
301
297
|
type: PropType<PlusColumn[]>;
|
|
302
298
|
default: () => never[];
|
|
303
299
|
};
|
|
300
|
+
modelValue: {
|
|
301
|
+
type: PropType<FieldValues>;
|
|
302
|
+
default: () => {};
|
|
303
|
+
};
|
|
304
304
|
labelPosition: {
|
|
305
|
-
type: PropType<"top" | "
|
|
305
|
+
type: PropType<"top" | "left" | "right">;
|
|
306
306
|
default: undefined;
|
|
307
307
|
};
|
|
308
308
|
inline: {
|
|
@@ -380,9 +380,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
380
380
|
default: boolean;
|
|
381
381
|
};
|
|
382
382
|
}>> & {
|
|
383
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
384
383
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
385
384
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
385
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
386
386
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
387
387
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
388
388
|
}, {
|
|
@@ -390,13 +390,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
390
390
|
$: ComponentInternalInstance;
|
|
391
391
|
$data: {};
|
|
392
392
|
$props: Partial<{
|
|
393
|
-
modelValue: FieldValues;
|
|
394
393
|
collapseDuration: number;
|
|
395
394
|
collapseTransition: boolean;
|
|
396
395
|
columns: PlusColumn[];
|
|
397
396
|
group: false | PlusFormGroupRow[];
|
|
397
|
+
modelValue: FieldValues;
|
|
398
398
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
399
|
-
labelPosition: "top" | "
|
|
399
|
+
labelPosition: "top" | "left" | "right";
|
|
400
400
|
labelWidth: string | number;
|
|
401
401
|
labelSuffix: string;
|
|
402
402
|
hasLabel: boolean;
|
|
@@ -415,7 +415,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
415
415
|
submitText: string;
|
|
416
416
|
resetText: string;
|
|
417
417
|
submitLoading: boolean;
|
|
418
|
-
footerAlign: "
|
|
418
|
+
footerAlign: "left" | "right" | "center";
|
|
419
419
|
cardProps: Partial< Mutable<CardProps> & {
|
|
420
420
|
style?: CSSProperties | undefined;
|
|
421
421
|
class?: any;
|
|
@@ -423,11 +423,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
423
423
|
prevent: boolean;
|
|
424
424
|
clearable: boolean;
|
|
425
425
|
}> & Omit<{
|
|
426
|
-
readonly modelValue: FieldValues;
|
|
427
426
|
readonly columns: PlusColumn[];
|
|
428
427
|
readonly group: false | PlusFormGroupRow[];
|
|
428
|
+
readonly modelValue: FieldValues;
|
|
429
429
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
430
|
-
readonly labelPosition: "top" | "
|
|
430
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
431
431
|
readonly labelWidth: string | number;
|
|
432
432
|
readonly labelSuffix: string;
|
|
433
433
|
readonly hasLabel: boolean;
|
|
@@ -446,7 +446,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
446
446
|
readonly submitText: string;
|
|
447
447
|
readonly resetText: string;
|
|
448
448
|
readonly submitLoading: boolean;
|
|
449
|
-
readonly footerAlign: "
|
|
449
|
+
readonly footerAlign: "left" | "right" | "center";
|
|
450
450
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
451
451
|
style?: CSSProperties | undefined;
|
|
452
452
|
class?: any;
|
|
@@ -455,17 +455,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
455
455
|
readonly clearable: boolean;
|
|
456
456
|
readonly collapseDuration?: number | undefined;
|
|
457
457
|
readonly collapseTransition?: boolean | undefined;
|
|
458
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
459
458
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
460
459
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
461
460
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
461
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
462
462
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
463
463
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
464
464
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
465
|
-
modelValue: {
|
|
466
|
-
type: PropType<FieldValues>;
|
|
467
|
-
default: () => {};
|
|
468
|
-
};
|
|
469
465
|
collapseDuration: {
|
|
470
466
|
type: PropType<number>;
|
|
471
467
|
default: undefined;
|
|
@@ -482,12 +478,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
482
478
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
483
479
|
default: boolean;
|
|
484
480
|
};
|
|
481
|
+
modelValue: {
|
|
482
|
+
type: PropType<FieldValues>;
|
|
483
|
+
default: () => {};
|
|
484
|
+
};
|
|
485
485
|
rules: {
|
|
486
486
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
487
487
|
default: () => {};
|
|
488
488
|
};
|
|
489
489
|
labelPosition: {
|
|
490
|
-
type: PropType<"top" | "
|
|
490
|
+
type: PropType<"top" | "left" | "right">;
|
|
491
491
|
default: string;
|
|
492
492
|
};
|
|
493
493
|
labelWidth: {
|
|
@@ -545,7 +545,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
545
545
|
default: boolean;
|
|
546
546
|
};
|
|
547
547
|
footerAlign: {
|
|
548
|
-
type: PropType<"
|
|
548
|
+
type: PropType<"left" | "right" | "center">;
|
|
549
549
|
default: string;
|
|
550
550
|
};
|
|
551
551
|
cardProps: {
|
|
@@ -564,13 +564,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
564
564
|
default: boolean;
|
|
565
565
|
};
|
|
566
566
|
}>> & {
|
|
567
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
568
567
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
569
568
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
570
569
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
570
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
571
571
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
572
572
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
573
|
-
}, "
|
|
573
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
574
574
|
$attrs: {
|
|
575
575
|
[x: string]: unknown;
|
|
576
576
|
};
|
|
@@ -582,13 +582,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
582
582
|
}>;
|
|
583
583
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
584
584
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
585
|
-
$emit: ((event: "
|
|
585
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
586
586
|
$el: any;
|
|
587
587
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
588
|
-
modelValue: {
|
|
589
|
-
type: PropType<FieldValues>;
|
|
590
|
-
default: () => {};
|
|
591
|
-
};
|
|
592
588
|
collapseDuration: {
|
|
593
589
|
type: PropType<number>;
|
|
594
590
|
default: undefined;
|
|
@@ -605,12 +601,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
605
601
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
606
602
|
default: boolean;
|
|
607
603
|
};
|
|
604
|
+
modelValue: {
|
|
605
|
+
type: PropType<FieldValues>;
|
|
606
|
+
default: () => {};
|
|
607
|
+
};
|
|
608
608
|
rules: {
|
|
609
609
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
610
610
|
default: () => {};
|
|
611
611
|
};
|
|
612
612
|
labelPosition: {
|
|
613
|
-
type: PropType<"top" | "
|
|
613
|
+
type: PropType<"top" | "left" | "right">;
|
|
614
614
|
default: string;
|
|
615
615
|
};
|
|
616
616
|
labelWidth: {
|
|
@@ -668,7 +668,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
668
668
|
default: boolean;
|
|
669
669
|
};
|
|
670
670
|
footerAlign: {
|
|
671
|
-
type: PropType<"
|
|
671
|
+
type: PropType<"left" | "right" | "center">;
|
|
672
672
|
default: string;
|
|
673
673
|
};
|
|
674
674
|
cardProps: {
|
|
@@ -687,10 +687,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
687
687
|
default: boolean;
|
|
688
688
|
};
|
|
689
689
|
}>> & {
|
|
690
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
691
690
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
692
691
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
693
692
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
693
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
694
694
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
695
695
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
696
696
|
}, {
|
|
@@ -702,8 +702,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
702
702
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
703
703
|
__epPropKey: true;
|
|
704
704
|
};
|
|
705
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
706
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
705
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
706
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
707
707
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
708
708
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
709
709
|
readonly inline: BooleanConstructor;
|
|
@@ -720,7 +720,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
720
720
|
__epPropKey: true;
|
|
721
721
|
};
|
|
722
722
|
readonly size: {
|
|
723
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
723
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
724
724
|
readonly required: false;
|
|
725
725
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
726
726
|
__epPropKey: true;
|
|
@@ -738,8 +738,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
738
738
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
739
739
|
__epPropKey: true;
|
|
740
740
|
};
|
|
741
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
742
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
741
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
742
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
743
743
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
744
744
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
745
745
|
readonly inline: BooleanConstructor;
|
|
@@ -756,7 +756,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
756
756
|
__epPropKey: true;
|
|
757
757
|
};
|
|
758
758
|
readonly size: {
|
|
759
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
759
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
760
760
|
readonly required: false;
|
|
761
761
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
762
762
|
__epPropKey: true;
|
|
@@ -767,7 +767,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
767
767
|
}>>;
|
|
768
768
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
769
769
|
fields: FormItemContext[];
|
|
770
|
-
formSize: ComputedRef<"" | "
|
|
770
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
771
771
|
ns: {
|
|
772
772
|
namespace: ComputedRef<string>;
|
|
773
773
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -787,7 +787,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
787
787
|
cssVarBlockName: (name: string) => string;
|
|
788
788
|
};
|
|
789
789
|
formClasses: ComputedRef<(string | {
|
|
790
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
790
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
791
791
|
})[]>;
|
|
792
792
|
getField: (prop: string) => FormItemContext | undefined;
|
|
793
793
|
addField: (field: FormItemContext) => void;
|
|
@@ -816,8 +816,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
816
816
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
817
817
|
__epPropKey: true;
|
|
818
818
|
};
|
|
819
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
820
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
819
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
820
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
821
821
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
822
822
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
823
823
|
readonly inline: BooleanConstructor;
|
|
@@ -834,7 +834,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
834
834
|
__epPropKey: true;
|
|
835
835
|
};
|
|
836
836
|
readonly size: {
|
|
837
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
837
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
838
838
|
readonly required: false;
|
|
839
839
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
840
840
|
__epPropKey: true;
|
|
@@ -844,8 +844,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
844
844
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
845
845
|
}, {
|
|
846
846
|
readonly disabled: boolean;
|
|
847
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
848
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
847
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
848
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
849
849
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
850
850
|
readonly labelSuffix: string;
|
|
851
851
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -870,8 +870,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
870
870
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
871
871
|
__epPropKey: true;
|
|
872
872
|
};
|
|
873
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
874
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
873
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
874
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
875
875
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
876
876
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
877
877
|
readonly inline: BooleanConstructor;
|
|
@@ -888,7 +888,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
888
888
|
__epPropKey: true;
|
|
889
889
|
};
|
|
890
890
|
readonly size: {
|
|
891
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
891
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
892
892
|
readonly required: false;
|
|
893
893
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
894
894
|
__epPropKey: true;
|
|
@@ -906,8 +906,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
906
906
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
907
907
|
__epPropKey: true;
|
|
908
908
|
};
|
|
909
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
910
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
909
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
910
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
911
911
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
912
912
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
913
913
|
readonly inline: BooleanConstructor;
|
|
@@ -924,7 +924,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
924
924
|
__epPropKey: true;
|
|
925
925
|
};
|
|
926
926
|
readonly size: {
|
|
927
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
927
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
928
928
|
readonly required: false;
|
|
929
929
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
930
930
|
__epPropKey: true;
|
|
@@ -935,7 +935,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
935
935
|
}>>;
|
|
936
936
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
937
937
|
fields: FormItemContext[];
|
|
938
|
-
formSize: ComputedRef<"" | "
|
|
938
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
939
939
|
ns: {
|
|
940
940
|
namespace: ComputedRef<string>;
|
|
941
941
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -955,7 +955,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
955
955
|
cssVarBlockName: (name: string) => string;
|
|
956
956
|
};
|
|
957
957
|
formClasses: ComputedRef<(string | {
|
|
958
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
958
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
959
959
|
})[]>;
|
|
960
960
|
getField: (prop: string) => FormItemContext | undefined;
|
|
961
961
|
addField: (field: FormItemContext) => void;
|
|
@@ -974,8 +974,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
974
974
|
scrollToField: (prop: FormItemProp) => void;
|
|
975
975
|
}, {}, {}, {}, {
|
|
976
976
|
readonly disabled: boolean;
|
|
977
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
978
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
977
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
978
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
979
979
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
980
980
|
readonly labelSuffix: string;
|
|
981
981
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -996,13 +996,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
996
996
|
submitError: (errors: unknown) => void;
|
|
997
997
|
validate: (...args: any[]) => void;
|
|
998
998
|
}, string, {
|
|
999
|
-
modelValue: FieldValues;
|
|
1000
999
|
collapseDuration: number;
|
|
1001
1000
|
collapseTransition: boolean;
|
|
1002
1001
|
columns: PlusColumn[];
|
|
1003
1002
|
group: false | PlusFormGroupRow[];
|
|
1003
|
+
modelValue: FieldValues;
|
|
1004
1004
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1005
|
-
labelPosition: "top" | "
|
|
1005
|
+
labelPosition: "top" | "left" | "right";
|
|
1006
1006
|
labelWidth: string | number;
|
|
1007
1007
|
labelSuffix: string;
|
|
1008
1008
|
hasLabel: boolean;
|
|
@@ -1021,7 +1021,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1021
1021
|
submitText: string;
|
|
1022
1022
|
resetText: string;
|
|
1023
1023
|
submitLoading: boolean;
|
|
1024
|
-
footerAlign: "
|
|
1024
|
+
footerAlign: "left" | "right" | "center";
|
|
1025
1025
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1026
1026
|
style?: CSSProperties | undefined;
|
|
1027
1027
|
class?: any;
|
|
@@ -1049,10 +1049,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1049
1049
|
$nextTick: nextTick;
|
|
1050
1050
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1051
1051
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1052
|
-
modelValue: {
|
|
1053
|
-
type: PropType<FieldValues>;
|
|
1054
|
-
default: () => {};
|
|
1055
|
-
};
|
|
1056
1052
|
collapseDuration: {
|
|
1057
1053
|
type: PropType<number>;
|
|
1058
1054
|
default: undefined;
|
|
@@ -1069,12 +1065,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1069
1065
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1070
1066
|
default: boolean;
|
|
1071
1067
|
};
|
|
1068
|
+
modelValue: {
|
|
1069
|
+
type: PropType<FieldValues>;
|
|
1070
|
+
default: () => {};
|
|
1071
|
+
};
|
|
1072
1072
|
rules: {
|
|
1073
1073
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1074
1074
|
default: () => {};
|
|
1075
1075
|
};
|
|
1076
1076
|
labelPosition: {
|
|
1077
|
-
type: PropType<"top" | "
|
|
1077
|
+
type: PropType<"top" | "left" | "right">;
|
|
1078
1078
|
default: string;
|
|
1079
1079
|
};
|
|
1080
1080
|
labelWidth: {
|
|
@@ -1132,7 +1132,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1132
1132
|
default: boolean;
|
|
1133
1133
|
};
|
|
1134
1134
|
footerAlign: {
|
|
1135
|
-
type: PropType<"
|
|
1135
|
+
type: PropType<"left" | "right" | "center">;
|
|
1136
1136
|
default: string;
|
|
1137
1137
|
};
|
|
1138
1138
|
cardProps: {
|
|
@@ -1151,10 +1151,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1151
1151
|
default: boolean;
|
|
1152
1152
|
};
|
|
1153
1153
|
}>> & {
|
|
1154
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1155
1154
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1156
1155
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1157
1156
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1157
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1158
1158
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1159
1159
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1160
1160
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1166,8 +1166,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1166
1166
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1167
1167
|
__epPropKey: true;
|
|
1168
1168
|
};
|
|
1169
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1170
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1169
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
1170
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
1171
1171
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1172
1172
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1173
1173
|
readonly inline: BooleanConstructor;
|
|
@@ -1184,7 +1184,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1184
1184
|
__epPropKey: true;
|
|
1185
1185
|
};
|
|
1186
1186
|
readonly size: {
|
|
1187
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1187
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1188
1188
|
readonly required: false;
|
|
1189
1189
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1190
1190
|
__epPropKey: true;
|
|
@@ -1202,8 +1202,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1202
1202
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1203
1203
|
__epPropKey: true;
|
|
1204
1204
|
};
|
|
1205
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1206
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1205
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
1206
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
1207
1207
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1208
1208
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1209
1209
|
readonly inline: BooleanConstructor;
|
|
@@ -1220,7 +1220,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1220
1220
|
__epPropKey: true;
|
|
1221
1221
|
};
|
|
1222
1222
|
readonly size: {
|
|
1223
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1223
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1224
1224
|
readonly required: false;
|
|
1225
1225
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1226
1226
|
__epPropKey: true;
|
|
@@ -1231,7 +1231,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1231
1231
|
}>>;
|
|
1232
1232
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
1233
1233
|
fields: FormItemContext[];
|
|
1234
|
-
formSize: ComputedRef<"" | "
|
|
1234
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
1235
1235
|
ns: {
|
|
1236
1236
|
namespace: ComputedRef<string>;
|
|
1237
1237
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1251,7 +1251,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1251
1251
|
cssVarBlockName: (name: string) => string;
|
|
1252
1252
|
};
|
|
1253
1253
|
formClasses: ComputedRef<(string | {
|
|
1254
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
1254
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
1255
1255
|
})[]>;
|
|
1256
1256
|
getField: (prop: string) => FormItemContext | undefined;
|
|
1257
1257
|
addField: (field: FormItemContext) => void;
|
|
@@ -1280,8 +1280,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1280
1280
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1281
1281
|
__epPropKey: true;
|
|
1282
1282
|
};
|
|
1283
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1284
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1283
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
1284
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
1285
1285
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1286
1286
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1287
1287
|
readonly inline: BooleanConstructor;
|
|
@@ -1298,7 +1298,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1298
1298
|
__epPropKey: true;
|
|
1299
1299
|
};
|
|
1300
1300
|
readonly size: {
|
|
1301
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1301
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1302
1302
|
readonly required: false;
|
|
1303
1303
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1304
1304
|
__epPropKey: true;
|
|
@@ -1308,8 +1308,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1308
1308
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1309
1309
|
}, {
|
|
1310
1310
|
readonly disabled: boolean;
|
|
1311
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
1312
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
1311
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
1312
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
1313
1313
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1314
1314
|
readonly labelSuffix: string;
|
|
1315
1315
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1334,8 +1334,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1334
1334
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1335
1335
|
__epPropKey: true;
|
|
1336
1336
|
};
|
|
1337
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1338
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1337
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
1338
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
1339
1339
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1340
1340
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1341
1341
|
readonly inline: BooleanConstructor;
|
|
@@ -1352,7 +1352,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1352
1352
|
__epPropKey: true;
|
|
1353
1353
|
};
|
|
1354
1354
|
readonly size: {
|
|
1355
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1355
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1356
1356
|
readonly required: false;
|
|
1357
1357
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1358
1358
|
__epPropKey: true;
|
|
@@ -1370,8 +1370,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1370
1370
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1371
1371
|
__epPropKey: true;
|
|
1372
1372
|
};
|
|
1373
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1374
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1373
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
1374
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
1375
1375
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1376
1376
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1377
1377
|
readonly inline: BooleanConstructor;
|
|
@@ -1388,7 +1388,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1388
1388
|
__epPropKey: true;
|
|
1389
1389
|
};
|
|
1390
1390
|
readonly size: {
|
|
1391
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1391
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1392
1392
|
readonly required: false;
|
|
1393
1393
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1394
1394
|
__epPropKey: true;
|
|
@@ -1399,7 +1399,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1399
1399
|
}>>;
|
|
1400
1400
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
1401
1401
|
fields: FormItemContext[];
|
|
1402
|
-
formSize: ComputedRef<"" | "
|
|
1402
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
1403
1403
|
ns: {
|
|
1404
1404
|
namespace: ComputedRef<string>;
|
|
1405
1405
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1419,7 +1419,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1419
1419
|
cssVarBlockName: (name: string) => string;
|
|
1420
1420
|
};
|
|
1421
1421
|
formClasses: ComputedRef<(string | {
|
|
1422
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
1422
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
1423
1423
|
})[]>;
|
|
1424
1424
|
getField: (prop: string) => FormItemContext | undefined;
|
|
1425
1425
|
addField: (field: FormItemContext) => void;
|
|
@@ -1438,8 +1438,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1438
1438
|
scrollToField: (prop: FormItemProp) => void;
|
|
1439
1439
|
}, {}, {}, {}, {
|
|
1440
1440
|
readonly disabled: boolean;
|
|
1441
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
1442
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
1441
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
1442
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
1443
1443
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1444
1444
|
readonly labelSuffix: string;
|
|
1445
1445
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1465,14 +1465,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1465
1465
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1466
1466
|
columns?: PlusColumn[] | undefined;
|
|
1467
1467
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1468
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1468
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1469
1469
|
readonly label: string | ComputedRef<string>;
|
|
1470
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1470
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1471
1471
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1472
|
-
readonly tooltip: string |
|
|
1472
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1473
1473
|
style?: CSSProperties | undefined;
|
|
1474
1474
|
class?: any;
|
|
1475
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1475
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1476
1476
|
style?: CSSProperties | undefined;
|
|
1477
1477
|
class?: any;
|
|
1478
1478
|
} & RecordType>>;
|
|
@@ -1494,7 +1494,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1494
1494
|
};
|
|
1495
1495
|
rows: number;
|
|
1496
1496
|
autocomplete: string;
|
|
1497
|
-
type: "" | "number" | "
|
|
1497
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1498
1498
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1499
1499
|
step: string | number;
|
|
1500
1500
|
format: string | ProgressFn | undefined;
|
|
@@ -1533,12 +1533,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1533
1533
|
fieldInstance?: any;
|
|
1534
1534
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1535
1535
|
prop: string;
|
|
1536
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1536
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1537
1537
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1538
|
-
tooltip: string |
|
|
1538
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1539
1539
|
style?: CSSProperties | undefined;
|
|
1540
1540
|
class?: any;
|
|
1541
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1541
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1542
1542
|
style?: CSSProperties | undefined;
|
|
1543
1543
|
class?: any;
|
|
1544
1544
|
} & RecordType>>;
|
|
@@ -1561,14 +1561,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1561
1561
|
clearable: boolean;
|
|
1562
1562
|
index: number;
|
|
1563
1563
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1564
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1564
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1565
1565
|
readonly label: string | ComputedRef<string>;
|
|
1566
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1566
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1567
1567
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1568
|
-
readonly tooltip: string |
|
|
1568
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1569
1569
|
style?: CSSProperties | undefined;
|
|
1570
1570
|
class?: any;
|
|
1571
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1571
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1572
1572
|
style?: CSSProperties | undefined;
|
|
1573
1573
|
class?: any;
|
|
1574
1574
|
} & RecordType>>;
|
|
@@ -1590,7 +1590,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1590
1590
|
};
|
|
1591
1591
|
rows: number;
|
|
1592
1592
|
autocomplete: string;
|
|
1593
|
-
type: "" | "number" | "
|
|
1593
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1594
1594
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1595
1595
|
step: string | number;
|
|
1596
1596
|
format: string | ProgressFn | undefined;
|
|
@@ -1629,12 +1629,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1629
1629
|
fieldInstance?: any;
|
|
1630
1630
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1631
1631
|
prop: string;
|
|
1632
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
1632
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1633
1633
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1634
|
-
tooltip: string |
|
|
1634
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1635
1635
|
style?: CSSProperties | undefined;
|
|
1636
1636
|
class?: any;
|
|
1637
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1637
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1638
1638
|
style?: CSSProperties | undefined;
|
|
1639
1639
|
class?: any;
|
|
1640
1640
|
} & RecordType>>;
|
|
@@ -1680,9 +1680,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1680
1680
|
reset: (values: FieldValues) => void;
|
|
1681
1681
|
collapse: (isShowUnfold: boolean) => void;
|
|
1682
1682
|
}, string, {
|
|
1683
|
-
modelValue: FieldValues;
|
|
1684
1683
|
columns: PlusColumn[];
|
|
1685
|
-
|
|
1684
|
+
modelValue: FieldValues;
|
|
1685
|
+
labelPosition: "top" | "left" | "right";
|
|
1686
1686
|
inline: boolean;
|
|
1687
1687
|
showNumber: number;
|
|
1688
1688
|
defaultValues: FieldValues;
|
|
@@ -1725,16 +1725,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1725
1725
|
$nextTick: nextTick;
|
|
1726
1726
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1727
1727
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1728
|
-
modelValue: {
|
|
1729
|
-
type: PropType<FieldValues>;
|
|
1730
|
-
default: () => {};
|
|
1731
|
-
};
|
|
1732
1728
|
columns: {
|
|
1733
1729
|
type: PropType<PlusColumn[]>;
|
|
1734
1730
|
default: () => never[];
|
|
1735
1731
|
};
|
|
1732
|
+
modelValue: {
|
|
1733
|
+
type: PropType<FieldValues>;
|
|
1734
|
+
default: () => {};
|
|
1735
|
+
};
|
|
1736
1736
|
labelPosition: {
|
|
1737
|
-
type: PropType<"top" | "
|
|
1737
|
+
type: PropType<"top" | "left" | "right">;
|
|
1738
1738
|
default: undefined;
|
|
1739
1739
|
};
|
|
1740
1740
|
inline: {
|
|
@@ -1812,9 +1812,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1812
1812
|
default: boolean;
|
|
1813
1813
|
};
|
|
1814
1814
|
}>> & {
|
|
1815
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1816
1815
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1817
1816
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1817
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1818
1818
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1819
1819
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1820
1820
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1822,13 +1822,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1822
1822
|
$: ComponentInternalInstance;
|
|
1823
1823
|
$data: {};
|
|
1824
1824
|
$props: Partial<{
|
|
1825
|
-
modelValue: FieldValues;
|
|
1826
1825
|
collapseDuration: number;
|
|
1827
1826
|
collapseTransition: boolean;
|
|
1828
1827
|
columns: PlusColumn[];
|
|
1829
1828
|
group: false | PlusFormGroupRow[];
|
|
1829
|
+
modelValue: FieldValues;
|
|
1830
1830
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1831
|
-
labelPosition: "top" | "
|
|
1831
|
+
labelPosition: "top" | "left" | "right";
|
|
1832
1832
|
labelWidth: string | number;
|
|
1833
1833
|
labelSuffix: string;
|
|
1834
1834
|
hasLabel: boolean;
|
|
@@ -1847,7 +1847,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1847
1847
|
submitText: string;
|
|
1848
1848
|
resetText: string;
|
|
1849
1849
|
submitLoading: boolean;
|
|
1850
|
-
footerAlign: "
|
|
1850
|
+
footerAlign: "left" | "right" | "center";
|
|
1851
1851
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1852
1852
|
style?: CSSProperties | undefined;
|
|
1853
1853
|
class?: any;
|
|
@@ -1855,11 +1855,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1855
1855
|
prevent: boolean;
|
|
1856
1856
|
clearable: boolean;
|
|
1857
1857
|
}> & Omit<{
|
|
1858
|
-
readonly modelValue: FieldValues;
|
|
1859
1858
|
readonly columns: PlusColumn[];
|
|
1860
1859
|
readonly group: false | PlusFormGroupRow[];
|
|
1860
|
+
readonly modelValue: FieldValues;
|
|
1861
1861
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1862
|
-
readonly labelPosition: "top" | "
|
|
1862
|
+
readonly labelPosition: "top" | "left" | "right";
|
|
1863
1863
|
readonly labelWidth: string | number;
|
|
1864
1864
|
readonly labelSuffix: string;
|
|
1865
1865
|
readonly hasLabel: boolean;
|
|
@@ -1878,7 +1878,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1878
1878
|
readonly submitText: string;
|
|
1879
1879
|
readonly resetText: string;
|
|
1880
1880
|
readonly submitLoading: boolean;
|
|
1881
|
-
readonly footerAlign: "
|
|
1881
|
+
readonly footerAlign: "left" | "right" | "center";
|
|
1882
1882
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1883
1883
|
style?: CSSProperties | undefined;
|
|
1884
1884
|
class?: any;
|
|
@@ -1887,17 +1887,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1887
1887
|
readonly clearable: boolean;
|
|
1888
1888
|
readonly collapseDuration?: number | undefined;
|
|
1889
1889
|
readonly collapseTransition?: boolean | undefined;
|
|
1890
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1891
1890
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1892
1891
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1893
1892
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1893
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1894
1894
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1895
1895
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1896
1896
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1897
|
-
modelValue: {
|
|
1898
|
-
type: PropType<FieldValues>;
|
|
1899
|
-
default: () => {};
|
|
1900
|
-
};
|
|
1901
1897
|
collapseDuration: {
|
|
1902
1898
|
type: PropType<number>;
|
|
1903
1899
|
default: undefined;
|
|
@@ -1914,12 +1910,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1914
1910
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1915
1911
|
default: boolean;
|
|
1916
1912
|
};
|
|
1913
|
+
modelValue: {
|
|
1914
|
+
type: PropType<FieldValues>;
|
|
1915
|
+
default: () => {};
|
|
1916
|
+
};
|
|
1917
1917
|
rules: {
|
|
1918
1918
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1919
1919
|
default: () => {};
|
|
1920
1920
|
};
|
|
1921
1921
|
labelPosition: {
|
|
1922
|
-
type: PropType<"top" | "
|
|
1922
|
+
type: PropType<"top" | "left" | "right">;
|
|
1923
1923
|
default: string;
|
|
1924
1924
|
};
|
|
1925
1925
|
labelWidth: {
|
|
@@ -1977,7 +1977,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1977
1977
|
default: boolean;
|
|
1978
1978
|
};
|
|
1979
1979
|
footerAlign: {
|
|
1980
|
-
type: PropType<"
|
|
1980
|
+
type: PropType<"left" | "right" | "center">;
|
|
1981
1981
|
default: string;
|
|
1982
1982
|
};
|
|
1983
1983
|
cardProps: {
|
|
@@ -1996,13 +1996,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1996
1996
|
default: boolean;
|
|
1997
1997
|
};
|
|
1998
1998
|
}>> & {
|
|
1999
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2000
1999
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2001
2000
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2002
2001
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2002
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2003
2003
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2004
2004
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2005
|
-
}, "
|
|
2005
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2006
2006
|
$attrs: {
|
|
2007
2007
|
[x: string]: unknown;
|
|
2008
2008
|
};
|
|
@@ -2014,13 +2014,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2014
2014
|
}>;
|
|
2015
2015
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2016
2016
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2017
|
-
$emit: ((event: "
|
|
2017
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2018
2018
|
$el: any;
|
|
2019
2019
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2020
|
-
modelValue: {
|
|
2021
|
-
type: PropType<FieldValues>;
|
|
2022
|
-
default: () => {};
|
|
2023
|
-
};
|
|
2024
2020
|
collapseDuration: {
|
|
2025
2021
|
type: PropType<number>;
|
|
2026
2022
|
default: undefined;
|
|
@@ -2037,12 +2033,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2037
2033
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2038
2034
|
default: boolean;
|
|
2039
2035
|
};
|
|
2036
|
+
modelValue: {
|
|
2037
|
+
type: PropType<FieldValues>;
|
|
2038
|
+
default: () => {};
|
|
2039
|
+
};
|
|
2040
2040
|
rules: {
|
|
2041
2041
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2042
2042
|
default: () => {};
|
|
2043
2043
|
};
|
|
2044
2044
|
labelPosition: {
|
|
2045
|
-
type: PropType<"top" | "
|
|
2045
|
+
type: PropType<"top" | "left" | "right">;
|
|
2046
2046
|
default: string;
|
|
2047
2047
|
};
|
|
2048
2048
|
labelWidth: {
|
|
@@ -2100,7 +2100,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2100
2100
|
default: boolean;
|
|
2101
2101
|
};
|
|
2102
2102
|
footerAlign: {
|
|
2103
|
-
type: PropType<"
|
|
2103
|
+
type: PropType<"left" | "right" | "center">;
|
|
2104
2104
|
default: string;
|
|
2105
2105
|
};
|
|
2106
2106
|
cardProps: {
|
|
@@ -2119,10 +2119,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2119
2119
|
default: boolean;
|
|
2120
2120
|
};
|
|
2121
2121
|
}>> & {
|
|
2122
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2123
2122
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2124
2123
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2125
2124
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2125
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2126
2126
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2127
2127
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2128
2128
|
}, {
|
|
@@ -2134,8 +2134,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2134
2134
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2135
2135
|
__epPropKey: true;
|
|
2136
2136
|
};
|
|
2137
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2138
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2137
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2138
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2139
2139
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2140
2140
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2141
2141
|
readonly inline: BooleanConstructor;
|
|
@@ -2152,7 +2152,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2152
2152
|
__epPropKey: true;
|
|
2153
2153
|
};
|
|
2154
2154
|
readonly size: {
|
|
2155
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2155
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2156
2156
|
readonly required: false;
|
|
2157
2157
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2158
2158
|
__epPropKey: true;
|
|
@@ -2170,8 +2170,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2170
2170
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2171
2171
|
__epPropKey: true;
|
|
2172
2172
|
};
|
|
2173
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2174
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2173
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2174
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2175
2175
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2176
2176
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2177
2177
|
readonly inline: BooleanConstructor;
|
|
@@ -2188,7 +2188,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2188
2188
|
__epPropKey: true;
|
|
2189
2189
|
};
|
|
2190
2190
|
readonly size: {
|
|
2191
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2191
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2192
2192
|
readonly required: false;
|
|
2193
2193
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2194
2194
|
__epPropKey: true;
|
|
@@ -2199,7 +2199,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2199
2199
|
}>>;
|
|
2200
2200
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
2201
2201
|
fields: FormItemContext[];
|
|
2202
|
-
formSize: ComputedRef<"" | "
|
|
2202
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
2203
2203
|
ns: {
|
|
2204
2204
|
namespace: ComputedRef<string>;
|
|
2205
2205
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -2219,7 +2219,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2219
2219
|
cssVarBlockName: (name: string) => string;
|
|
2220
2220
|
};
|
|
2221
2221
|
formClasses: ComputedRef<(string | {
|
|
2222
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
2222
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
2223
2223
|
})[]>;
|
|
2224
2224
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2225
2225
|
addField: (field: FormItemContext) => void;
|
|
@@ -2248,8 +2248,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2248
2248
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2249
2249
|
__epPropKey: true;
|
|
2250
2250
|
};
|
|
2251
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2252
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2251
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2252
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2253
2253
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2254
2254
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2255
2255
|
readonly inline: BooleanConstructor;
|
|
@@ -2266,7 +2266,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2266
2266
|
__epPropKey: true;
|
|
2267
2267
|
};
|
|
2268
2268
|
readonly size: {
|
|
2269
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2269
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2270
2270
|
readonly required: false;
|
|
2271
2271
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2272
2272
|
__epPropKey: true;
|
|
@@ -2276,8 +2276,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2276
2276
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
2277
2277
|
}, {
|
|
2278
2278
|
readonly disabled: boolean;
|
|
2279
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
2280
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
2279
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
2280
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
2281
2281
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2282
2282
|
readonly labelSuffix: string;
|
|
2283
2283
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2302,8 +2302,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2302
2302
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2303
2303
|
__epPropKey: true;
|
|
2304
2304
|
};
|
|
2305
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2306
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2305
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2306
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2307
2307
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2308
2308
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2309
2309
|
readonly inline: BooleanConstructor;
|
|
@@ -2320,7 +2320,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2320
2320
|
__epPropKey: true;
|
|
2321
2321
|
};
|
|
2322
2322
|
readonly size: {
|
|
2323
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2323
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2324
2324
|
readonly required: false;
|
|
2325
2325
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2326
2326
|
__epPropKey: true;
|
|
@@ -2338,8 +2338,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2338
2338
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2339
2339
|
__epPropKey: true;
|
|
2340
2340
|
};
|
|
2341
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2342
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2341
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2342
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2343
2343
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2344
2344
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2345
2345
|
readonly inline: BooleanConstructor;
|
|
@@ -2356,7 +2356,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2356
2356
|
__epPropKey: true;
|
|
2357
2357
|
};
|
|
2358
2358
|
readonly size: {
|
|
2359
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2359
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2360
2360
|
readonly required: false;
|
|
2361
2361
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2362
2362
|
__epPropKey: true;
|
|
@@ -2367,7 +2367,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2367
2367
|
}>>;
|
|
2368
2368
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
2369
2369
|
fields: FormItemContext[];
|
|
2370
|
-
formSize: ComputedRef<"" | "
|
|
2370
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
2371
2371
|
ns: {
|
|
2372
2372
|
namespace: ComputedRef<string>;
|
|
2373
2373
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -2387,7 +2387,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2387
2387
|
cssVarBlockName: (name: string) => string;
|
|
2388
2388
|
};
|
|
2389
2389
|
formClasses: ComputedRef<(string | {
|
|
2390
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
2390
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
2391
2391
|
})[]>;
|
|
2392
2392
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2393
2393
|
addField: (field: FormItemContext) => void;
|
|
@@ -2406,8 +2406,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2406
2406
|
scrollToField: (prop: FormItemProp) => void;
|
|
2407
2407
|
}, {}, {}, {}, {
|
|
2408
2408
|
readonly disabled: boolean;
|
|
2409
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
2410
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
2409
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
2410
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
2411
2411
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2412
2412
|
readonly labelSuffix: string;
|
|
2413
2413
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2428,13 +2428,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2428
2428
|
submitError: (errors: unknown) => void;
|
|
2429
2429
|
validate: (...args: any[]) => void;
|
|
2430
2430
|
}, string, {
|
|
2431
|
-
modelValue: FieldValues;
|
|
2432
2431
|
collapseDuration: number;
|
|
2433
2432
|
collapseTransition: boolean;
|
|
2434
2433
|
columns: PlusColumn[];
|
|
2435
2434
|
group: false | PlusFormGroupRow[];
|
|
2435
|
+
modelValue: FieldValues;
|
|
2436
2436
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2437
|
-
labelPosition: "top" | "
|
|
2437
|
+
labelPosition: "top" | "left" | "right";
|
|
2438
2438
|
labelWidth: string | number;
|
|
2439
2439
|
labelSuffix: string;
|
|
2440
2440
|
hasLabel: boolean;
|
|
@@ -2453,7 +2453,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2453
2453
|
submitText: string;
|
|
2454
2454
|
resetText: string;
|
|
2455
2455
|
submitLoading: boolean;
|
|
2456
|
-
footerAlign: "
|
|
2456
|
+
footerAlign: "left" | "right" | "center";
|
|
2457
2457
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2458
2458
|
style?: CSSProperties | undefined;
|
|
2459
2459
|
class?: any;
|
|
@@ -2481,10 +2481,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2481
2481
|
$nextTick: nextTick;
|
|
2482
2482
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2483
2483
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2484
|
-
modelValue: {
|
|
2485
|
-
type: PropType<FieldValues>;
|
|
2486
|
-
default: () => {};
|
|
2487
|
-
};
|
|
2488
2484
|
collapseDuration: {
|
|
2489
2485
|
type: PropType<number>;
|
|
2490
2486
|
default: undefined;
|
|
@@ -2501,12 +2497,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2501
2497
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2502
2498
|
default: boolean;
|
|
2503
2499
|
};
|
|
2500
|
+
modelValue: {
|
|
2501
|
+
type: PropType<FieldValues>;
|
|
2502
|
+
default: () => {};
|
|
2503
|
+
};
|
|
2504
2504
|
rules: {
|
|
2505
2505
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2506
2506
|
default: () => {};
|
|
2507
2507
|
};
|
|
2508
2508
|
labelPosition: {
|
|
2509
|
-
type: PropType<"top" | "
|
|
2509
|
+
type: PropType<"top" | "left" | "right">;
|
|
2510
2510
|
default: string;
|
|
2511
2511
|
};
|
|
2512
2512
|
labelWidth: {
|
|
@@ -2564,7 +2564,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2564
2564
|
default: boolean;
|
|
2565
2565
|
};
|
|
2566
2566
|
footerAlign: {
|
|
2567
|
-
type: PropType<"
|
|
2567
|
+
type: PropType<"left" | "right" | "center">;
|
|
2568
2568
|
default: string;
|
|
2569
2569
|
};
|
|
2570
2570
|
cardProps: {
|
|
@@ -2583,10 +2583,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2583
2583
|
default: boolean;
|
|
2584
2584
|
};
|
|
2585
2585
|
}>> & {
|
|
2586
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2587
2586
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2588
2587
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2589
2588
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2589
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2590
2590
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2591
2591
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2592
2592
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2598,8 +2598,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2598
2598
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2599
2599
|
__epPropKey: true;
|
|
2600
2600
|
};
|
|
2601
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2602
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2601
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2602
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2603
2603
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2604
2604
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2605
2605
|
readonly inline: BooleanConstructor;
|
|
@@ -2616,7 +2616,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2616
2616
|
__epPropKey: true;
|
|
2617
2617
|
};
|
|
2618
2618
|
readonly size: {
|
|
2619
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2619
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2620
2620
|
readonly required: false;
|
|
2621
2621
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2622
2622
|
__epPropKey: true;
|
|
@@ -2634,8 +2634,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2634
2634
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2635
2635
|
__epPropKey: true;
|
|
2636
2636
|
};
|
|
2637
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2638
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2637
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2638
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2639
2639
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2640
2640
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2641
2641
|
readonly inline: BooleanConstructor;
|
|
@@ -2652,7 +2652,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2652
2652
|
__epPropKey: true;
|
|
2653
2653
|
};
|
|
2654
2654
|
readonly size: {
|
|
2655
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2655
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2656
2656
|
readonly required: false;
|
|
2657
2657
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2658
2658
|
__epPropKey: true;
|
|
@@ -2663,7 +2663,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2663
2663
|
}>>;
|
|
2664
2664
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
2665
2665
|
fields: FormItemContext[];
|
|
2666
|
-
formSize: ComputedRef<"" | "
|
|
2666
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
2667
2667
|
ns: {
|
|
2668
2668
|
namespace: ComputedRef<string>;
|
|
2669
2669
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -2683,7 +2683,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2683
2683
|
cssVarBlockName: (name: string) => string;
|
|
2684
2684
|
};
|
|
2685
2685
|
formClasses: ComputedRef<(string | {
|
|
2686
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
2686
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
2687
2687
|
})[]>;
|
|
2688
2688
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2689
2689
|
addField: (field: FormItemContext) => void;
|
|
@@ -2712,8 +2712,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2712
2712
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2713
2713
|
__epPropKey: true;
|
|
2714
2714
|
};
|
|
2715
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2716
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2715
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2716
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2717
2717
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2718
2718
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2719
2719
|
readonly inline: BooleanConstructor;
|
|
@@ -2730,7 +2730,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2730
2730
|
__epPropKey: true;
|
|
2731
2731
|
};
|
|
2732
2732
|
readonly size: {
|
|
2733
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2733
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2734
2734
|
readonly required: false;
|
|
2735
2735
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2736
2736
|
__epPropKey: true;
|
|
@@ -2740,8 +2740,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2740
2740
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
2741
2741
|
}, {
|
|
2742
2742
|
readonly disabled: boolean;
|
|
2743
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
2744
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
2743
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
2744
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
2745
2745
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2746
2746
|
readonly labelSuffix: string;
|
|
2747
2747
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2766,8 +2766,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2766
2766
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2767
2767
|
__epPropKey: true;
|
|
2768
2768
|
};
|
|
2769
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2770
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2769
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2770
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2771
2771
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2772
2772
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2773
2773
|
readonly inline: BooleanConstructor;
|
|
@@ -2784,7 +2784,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2784
2784
|
__epPropKey: true;
|
|
2785
2785
|
};
|
|
2786
2786
|
readonly size: {
|
|
2787
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2787
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2788
2788
|
readonly required: false;
|
|
2789
2789
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2790
2790
|
__epPropKey: true;
|
|
@@ -2802,8 +2802,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2802
2802
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2803
2803
|
__epPropKey: true;
|
|
2804
2804
|
};
|
|
2805
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2806
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2805
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2806
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2807
2807
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2808
2808
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2809
2809
|
readonly inline: BooleanConstructor;
|
|
@@ -2820,7 +2820,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2820
2820
|
__epPropKey: true;
|
|
2821
2821
|
};
|
|
2822
2822
|
readonly size: {
|
|
2823
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2823
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2824
2824
|
readonly required: false;
|
|
2825
2825
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2826
2826
|
__epPropKey: true;
|
|
@@ -2831,7 +2831,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2831
2831
|
}>>;
|
|
2832
2832
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
2833
2833
|
fields: FormItemContext[];
|
|
2834
|
-
formSize: ComputedRef<"" | "
|
|
2834
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
2835
2835
|
ns: {
|
|
2836
2836
|
namespace: ComputedRef<string>;
|
|
2837
2837
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -2851,7 +2851,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2851
2851
|
cssVarBlockName: (name: string) => string;
|
|
2852
2852
|
};
|
|
2853
2853
|
formClasses: ComputedRef<(string | {
|
|
2854
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
2854
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
2855
2855
|
})[]>;
|
|
2856
2856
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2857
2857
|
addField: (field: FormItemContext) => void;
|
|
@@ -2870,8 +2870,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2870
2870
|
scrollToField: (prop: FormItemProp) => void;
|
|
2871
2871
|
}, {}, {}, {}, {
|
|
2872
2872
|
readonly disabled: boolean;
|
|
2873
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
2874
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
2873
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
2874
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
2875
2875
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2876
2876
|
readonly labelSuffix: string;
|
|
2877
2877
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2897,14 +2897,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2897
2897
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2898
2898
|
columns?: PlusColumn[] | undefined;
|
|
2899
2899
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2900
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2900
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
2901
2901
|
readonly label: string | ComputedRef<string>;
|
|
2902
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
2902
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2903
2903
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2904
|
-
readonly tooltip: string |
|
|
2904
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2905
2905
|
style?: CSSProperties | undefined;
|
|
2906
2906
|
class?: any;
|
|
2907
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2907
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2908
2908
|
style?: CSSProperties | undefined;
|
|
2909
2909
|
class?: any;
|
|
2910
2910
|
} & RecordType>>;
|
|
@@ -2926,7 +2926,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2926
2926
|
};
|
|
2927
2927
|
rows: number;
|
|
2928
2928
|
autocomplete: string;
|
|
2929
|
-
type: "" | "number" | "
|
|
2929
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2930
2930
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2931
2931
|
step: string | number;
|
|
2932
2932
|
format: string | ProgressFn | undefined;
|
|
@@ -2965,12 +2965,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2965
2965
|
fieldInstance?: any;
|
|
2966
2966
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2967
2967
|
prop: string;
|
|
2968
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
2968
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2969
2969
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2970
|
-
tooltip: string |
|
|
2970
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2971
2971
|
style?: CSSProperties | undefined;
|
|
2972
2972
|
class?: any;
|
|
2973
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2973
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2974
2974
|
style?: CSSProperties | undefined;
|
|
2975
2975
|
class?: any;
|
|
2976
2976
|
} & RecordType>>;
|
|
@@ -2993,14 +2993,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2993
2993
|
clearable: boolean;
|
|
2994
2994
|
index: number;
|
|
2995
2995
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2996
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2996
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
2997
2997
|
readonly label: string | ComputedRef<string>;
|
|
2998
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
2998
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2999
2999
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3000
|
-
readonly tooltip: string |
|
|
3000
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3001
3001
|
style?: CSSProperties | undefined;
|
|
3002
3002
|
class?: any;
|
|
3003
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3003
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3004
3004
|
style?: CSSProperties | undefined;
|
|
3005
3005
|
class?: any;
|
|
3006
3006
|
} & RecordType>>;
|
|
@@ -3022,7 +3022,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3022
3022
|
};
|
|
3023
3023
|
rows: number;
|
|
3024
3024
|
autocomplete: string;
|
|
3025
|
-
type: "" | "number" | "
|
|
3025
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3026
3026
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3027
3027
|
step: string | number;
|
|
3028
3028
|
format: string | ProgressFn | undefined;
|
|
@@ -3061,12 +3061,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3061
3061
|
fieldInstance?: any;
|
|
3062
3062
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3063
3063
|
prop: string;
|
|
3064
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
3064
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3065
3065
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3066
|
-
tooltip: string |
|
|
3066
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3067
3067
|
style?: CSSProperties | undefined;
|
|
3068
3068
|
class?: any;
|
|
3069
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3069
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3070
3070
|
style?: CSSProperties | undefined;
|
|
3071
3071
|
class?: any;
|
|
3072
3072
|
} & RecordType>>;
|
|
@@ -3107,14 +3107,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3107
3107
|
handleUnfold: (e: MouseEvent) => void;
|
|
3108
3108
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3109
3109
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3110
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3110
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
3111
3111
|
readonly label: string | ComputedRef<string>;
|
|
3112
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
3112
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3113
3113
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3114
|
-
readonly tooltip: string |
|
|
3114
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3115
3115
|
style?: CSSProperties | undefined;
|
|
3116
3116
|
class?: any;
|
|
3117
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3117
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3118
3118
|
style?: CSSProperties | undefined;
|
|
3119
3119
|
class?: any;
|
|
3120
3120
|
} & RecordType>>;
|
|
@@ -3136,7 +3136,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3136
3136
|
};
|
|
3137
3137
|
rows: number;
|
|
3138
3138
|
autocomplete: string;
|
|
3139
|
-
type: "" | "number" | "
|
|
3139
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3140
3140
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3141
3141
|
step: string | number;
|
|
3142
3142
|
format: string | ProgressFn | undefined;
|
|
@@ -3175,12 +3175,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3175
3175
|
fieldInstance?: any;
|
|
3176
3176
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3177
3177
|
prop: string;
|
|
3178
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
3178
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3179
3179
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3180
|
-
tooltip: string |
|
|
3180
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3181
3181
|
style?: CSSProperties | undefined;
|
|
3182
3182
|
class?: any;
|
|
3183
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3183
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3184
3184
|
style?: CSSProperties | undefined;
|
|
3185
3185
|
class?: any;
|
|
3186
3186
|
} & RecordType>>;
|
|
@@ -3240,7 +3240,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3240
3240
|
color?: string | undefined;
|
|
3241
3241
|
} | undefined;
|
|
3242
3242
|
}>>;
|
|
3243
|
-
defaultSize: "" | "
|
|
3243
|
+
defaultSize: "" | "large" | "default" | "small";
|
|
3244
3244
|
tableData: RecordType[];
|
|
3245
3245
|
pagination: false | Partial<PlusPaginationProps>;
|
|
3246
3246
|
hasIndexColumn: boolean;
|
|
@@ -3286,7 +3286,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3286
3286
|
color?: string | undefined;
|
|
3287
3287
|
} | undefined;
|
|
3288
3288
|
}>>;
|
|
3289
|
-
readonly defaultSize: "" | "
|
|
3289
|
+
readonly defaultSize: "" | "large" | "default" | "small";
|
|
3290
3290
|
readonly tableData: RecordType[];
|
|
3291
3291
|
readonly pagination: false | Partial<PlusPaginationProps>;
|
|
3292
3292
|
readonly hasIndexColumn: boolean;
|
|
@@ -3381,7 +3381,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3381
3381
|
default: boolean;
|
|
3382
3382
|
};
|
|
3383
3383
|
defaultSize: {
|
|
3384
|
-
type: PropType<"" | "
|
|
3384
|
+
type: PropType<"" | "large" | "default" | "small">;
|
|
3385
3385
|
default: string;
|
|
3386
3386
|
};
|
|
3387
3387
|
tableData: {
|
|
@@ -3540,7 +3540,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3540
3540
|
default: boolean;
|
|
3541
3541
|
};
|
|
3542
3542
|
defaultSize: {
|
|
3543
|
-
type: PropType<"" | "
|
|
3543
|
+
type: PropType<"" | "large" | "default" | "small">;
|
|
3544
3544
|
default: string;
|
|
3545
3545
|
};
|
|
3546
3546
|
tableData: {
|
|
@@ -3632,14 +3632,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3632
3632
|
default: () => never[];
|
|
3633
3633
|
};
|
|
3634
3634
|
size: {
|
|
3635
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3635
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
3636
3636
|
readonly required: false;
|
|
3637
3637
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3638
3638
|
__epPropKey: true;
|
|
3639
3639
|
};
|
|
3640
|
-
width: (
|
|
3641
|
-
height: (
|
|
3642
|
-
maxHeight: (
|
|
3640
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3641
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3642
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3643
3643
|
fit: {
|
|
3644
3644
|
type: BooleanConstructor;
|
|
3645
3645
|
default: boolean;
|
|
@@ -3663,13 +3663,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3663
3663
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3664
3664
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3665
3665
|
highlightCurrentRow: BooleanConstructor;
|
|
3666
|
-
currentRowKey: (
|
|
3666
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3667
3667
|
emptyText: StringConstructor;
|
|
3668
3668
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3669
3669
|
defaultExpandAll: BooleanConstructor;
|
|
3670
3670
|
defaultSort: PropType< Sort | undefined>;
|
|
3671
3671
|
tooltipEffect: StringConstructor;
|
|
3672
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3672
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
3673
3673
|
spanMethod: PropType<((data: {
|
|
3674
3674
|
row: any;
|
|
3675
3675
|
rowIndex: number;
|
|
@@ -3713,7 +3713,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3713
3713
|
};
|
|
3714
3714
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3715
3715
|
flexible: BooleanConstructor;
|
|
3716
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3716
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
3717
3717
|
}>> & {
|
|
3718
3718
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3719
3719
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3757,7 +3757,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3757
3757
|
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
3758
3758
|
handleMouseLeave: () => void;
|
|
3759
3759
|
tableId: string;
|
|
3760
|
-
tableSize: ComputedRef<"" | "
|
|
3760
|
+
tableSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
3761
3761
|
isHidden: Ref<boolean>;
|
|
3762
3762
|
isEmpty: ComputedRef<boolean>;
|
|
3763
3763
|
renderExpanded: Ref<null>;
|
|
@@ -3828,14 +3828,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3828
3828
|
default: () => never[];
|
|
3829
3829
|
};
|
|
3830
3830
|
size: {
|
|
3831
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3831
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
3832
3832
|
readonly required: false;
|
|
3833
3833
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3834
3834
|
__epPropKey: true;
|
|
3835
3835
|
};
|
|
3836
|
-
width: (
|
|
3837
|
-
height: (
|
|
3838
|
-
maxHeight: (
|
|
3836
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3837
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3838
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3839
3839
|
fit: {
|
|
3840
3840
|
type: BooleanConstructor;
|
|
3841
3841
|
default: boolean;
|
|
@@ -3859,13 +3859,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3859
3859
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3860
3860
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3861
3861
|
highlightCurrentRow: BooleanConstructor;
|
|
3862
|
-
currentRowKey: (
|
|
3862
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3863
3863
|
emptyText: StringConstructor;
|
|
3864
3864
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3865
3865
|
defaultExpandAll: BooleanConstructor;
|
|
3866
3866
|
defaultSort: PropType< Sort | undefined>;
|
|
3867
3867
|
tooltipEffect: StringConstructor;
|
|
3868
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3868
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
3869
3869
|
spanMethod: PropType<((data: {
|
|
3870
3870
|
row: any;
|
|
3871
3871
|
rowIndex: number;
|
|
@@ -3909,7 +3909,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3909
3909
|
};
|
|
3910
3910
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3911
3911
|
flexible: BooleanConstructor;
|
|
3912
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3912
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
3913
3913
|
}>> & {
|
|
3914
3914
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3915
3915
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3963,14 +3963,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3963
3963
|
default: () => never[];
|
|
3964
3964
|
};
|
|
3965
3965
|
size: {
|
|
3966
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3966
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
3967
3967
|
readonly required: false;
|
|
3968
3968
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3969
3969
|
__epPropKey: true;
|
|
3970
3970
|
};
|
|
3971
|
-
width: (
|
|
3972
|
-
height: (
|
|
3973
|
-
maxHeight: (
|
|
3971
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3972
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3973
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3974
3974
|
fit: {
|
|
3975
3975
|
type: BooleanConstructor;
|
|
3976
3976
|
default: boolean;
|
|
@@ -3994,13 +3994,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3994
3994
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3995
3995
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3996
3996
|
highlightCurrentRow: BooleanConstructor;
|
|
3997
|
-
currentRowKey: (
|
|
3997
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3998
3998
|
emptyText: StringConstructor;
|
|
3999
3999
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4000
4000
|
defaultExpandAll: BooleanConstructor;
|
|
4001
4001
|
defaultSort: PropType< Sort | undefined>;
|
|
4002
4002
|
tooltipEffect: StringConstructor;
|
|
4003
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4003
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
4004
4004
|
spanMethod: PropType<((data: {
|
|
4005
4005
|
row: any;
|
|
4006
4006
|
rowIndex: number;
|
|
@@ -4044,7 +4044,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4044
4044
|
};
|
|
4045
4045
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4046
4046
|
flexible: BooleanConstructor;
|
|
4047
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4047
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
4048
4048
|
}>> & {
|
|
4049
4049
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4050
4050
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4088,7 +4088,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4088
4088
|
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
4089
4089
|
handleMouseLeave: () => void;
|
|
4090
4090
|
tableId: string;
|
|
4091
|
-
tableSize: ComputedRef<"" | "
|
|
4091
|
+
tableSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
4092
4092
|
isHidden: Ref<boolean>;
|
|
4093
4093
|
isEmpty: ComputedRef<boolean>;
|
|
4094
4094
|
renderExpanded: Ref<null>;
|
|
@@ -4212,7 +4212,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4212
4212
|
color?: string | undefined;
|
|
4213
4213
|
} | undefined;
|
|
4214
4214
|
}>>;
|
|
4215
|
-
defaultSize: "" | "
|
|
4215
|
+
defaultSize: "" | "large" | "default" | "small";
|
|
4216
4216
|
tableData: RecordType[];
|
|
4217
4217
|
pagination: false | Partial<PlusPaginationProps>;
|
|
4218
4218
|
hasIndexColumn: boolean;
|
|
@@ -4314,7 +4314,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4314
4314
|
default: boolean;
|
|
4315
4315
|
};
|
|
4316
4316
|
defaultSize: {
|
|
4317
|
-
type: PropType<"" | "
|
|
4317
|
+
type: PropType<"" | "large" | "default" | "small">;
|
|
4318
4318
|
default: string;
|
|
4319
4319
|
};
|
|
4320
4320
|
tableData: {
|
|
@@ -4406,14 +4406,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4406
4406
|
default: () => never[];
|
|
4407
4407
|
};
|
|
4408
4408
|
size: {
|
|
4409
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
4409
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
4410
4410
|
readonly required: false;
|
|
4411
4411
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4412
4412
|
__epPropKey: true;
|
|
4413
4413
|
};
|
|
4414
|
-
width: (
|
|
4415
|
-
height: (
|
|
4416
|
-
maxHeight: (
|
|
4414
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4415
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4416
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4417
4417
|
fit: {
|
|
4418
4418
|
type: BooleanConstructor;
|
|
4419
4419
|
default: boolean;
|
|
@@ -4437,13 +4437,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4437
4437
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4438
4438
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4439
4439
|
highlightCurrentRow: BooleanConstructor;
|
|
4440
|
-
currentRowKey: (
|
|
4440
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4441
4441
|
emptyText: StringConstructor;
|
|
4442
4442
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4443
4443
|
defaultExpandAll: BooleanConstructor;
|
|
4444
4444
|
defaultSort: PropType< Sort | undefined>;
|
|
4445
4445
|
tooltipEffect: StringConstructor;
|
|
4446
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4446
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
4447
4447
|
spanMethod: PropType<((data: {
|
|
4448
4448
|
row: any;
|
|
4449
4449
|
rowIndex: number;
|
|
@@ -4487,7 +4487,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4487
4487
|
};
|
|
4488
4488
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4489
4489
|
flexible: BooleanConstructor;
|
|
4490
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4490
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
4491
4491
|
}>> & {
|
|
4492
4492
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4493
4493
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4531,7 +4531,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4531
4531
|
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
4532
4532
|
handleMouseLeave: () => void;
|
|
4533
4533
|
tableId: string;
|
|
4534
|
-
tableSize: ComputedRef<"" | "
|
|
4534
|
+
tableSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
4535
4535
|
isHidden: Ref<boolean>;
|
|
4536
4536
|
isEmpty: ComputedRef<boolean>;
|
|
4537
4537
|
renderExpanded: Ref<null>;
|
|
@@ -4602,14 +4602,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4602
4602
|
default: () => never[];
|
|
4603
4603
|
};
|
|
4604
4604
|
size: {
|
|
4605
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
4605
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
4606
4606
|
readonly required: false;
|
|
4607
4607
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4608
4608
|
__epPropKey: true;
|
|
4609
4609
|
};
|
|
4610
|
-
width: (
|
|
4611
|
-
height: (
|
|
4612
|
-
maxHeight: (
|
|
4610
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4611
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4612
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4613
4613
|
fit: {
|
|
4614
4614
|
type: BooleanConstructor;
|
|
4615
4615
|
default: boolean;
|
|
@@ -4633,13 +4633,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4633
4633
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4634
4634
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4635
4635
|
highlightCurrentRow: BooleanConstructor;
|
|
4636
|
-
currentRowKey: (
|
|
4636
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4637
4637
|
emptyText: StringConstructor;
|
|
4638
4638
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4639
4639
|
defaultExpandAll: BooleanConstructor;
|
|
4640
4640
|
defaultSort: PropType< Sort | undefined>;
|
|
4641
4641
|
tooltipEffect: StringConstructor;
|
|
4642
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4642
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
4643
4643
|
spanMethod: PropType<((data: {
|
|
4644
4644
|
row: any;
|
|
4645
4645
|
rowIndex: number;
|
|
@@ -4683,7 +4683,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4683
4683
|
};
|
|
4684
4684
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4685
4685
|
flexible: BooleanConstructor;
|
|
4686
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4686
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
4687
4687
|
}>> & {
|
|
4688
4688
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4689
4689
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4737,14 +4737,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4737
4737
|
default: () => never[];
|
|
4738
4738
|
};
|
|
4739
4739
|
size: {
|
|
4740
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
4740
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", never>>;
|
|
4741
4741
|
readonly required: false;
|
|
4742
4742
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4743
4743
|
__epPropKey: true;
|
|
4744
4744
|
};
|
|
4745
|
-
width: (
|
|
4746
|
-
height: (
|
|
4747
|
-
maxHeight: (
|
|
4745
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4746
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4747
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4748
4748
|
fit: {
|
|
4749
4749
|
type: BooleanConstructor;
|
|
4750
4750
|
default: boolean;
|
|
@@ -4768,13 +4768,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4768
4768
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4769
4769
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4770
4770
|
highlightCurrentRow: BooleanConstructor;
|
|
4771
|
-
currentRowKey: (
|
|
4771
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4772
4772
|
emptyText: StringConstructor;
|
|
4773
4773
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4774
4774
|
defaultExpandAll: BooleanConstructor;
|
|
4775
4775
|
defaultSort: PropType< Sort | undefined>;
|
|
4776
4776
|
tooltipEffect: StringConstructor;
|
|
4777
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4777
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
4778
4778
|
spanMethod: PropType<((data: {
|
|
4779
4779
|
row: any;
|
|
4780
4780
|
rowIndex: number;
|
|
@@ -4818,7 +4818,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4818
4818
|
};
|
|
4819
4819
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4820
4820
|
flexible: BooleanConstructor;
|
|
4821
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4821
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "showArrow" | "effect" | "popperOptions" | "popperClass" | "transition" | "appendTo" | "enterable" | "offset" | "showAfter" | "hideAfter">> | undefined>;
|
|
4822
4822
|
}>> & {
|
|
4823
4823
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4824
4824
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4862,7 +4862,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4862
4862
|
handleHeaderFooterMousewheel: (event: any, data: any) => void;
|
|
4863
4863
|
handleMouseLeave: () => void;
|
|
4864
4864
|
tableId: string;
|
|
4865
|
-
tableSize: ComputedRef<"" | "
|
|
4865
|
+
tableSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
4866
4866
|
isHidden: Ref<boolean>;
|
|
4867
4867
|
isEmpty: ComputedRef<boolean>;
|
|
4868
4868
|
renderExpanded: Ref<null>;
|
|
@@ -5038,7 +5038,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5038
5038
|
columns: PlusColumn[];
|
|
5039
5039
|
immediate: boolean;
|
|
5040
5040
|
params: RecordType;
|
|
5041
|
-
pagination: false | Omit<PlusPaginationProps, "
|
|
5041
|
+
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
5042
5042
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
5043
5043
|
beforeSearchSubmit: <T_2 = RecordType>(params: T_2) => T_2;
|
|
5044
5044
|
isCard: boolean;
|
|
@@ -5059,14 +5059,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5059
5059
|
};
|
|
5060
5060
|
searchSlot: boolean;
|
|
5061
5061
|
}, {}>, Partial<Record<never, (_: {
|
|
5062
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5062
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
5063
5063
|
readonly label: string | ComputedRef<string>;
|
|
5064
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
5064
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5065
5065
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5066
|
-
readonly tooltip: string |
|
|
5066
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5067
5067
|
style?: CSSProperties | undefined;
|
|
5068
5068
|
class?: any;
|
|
5069
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5069
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5070
5070
|
style?: CSSProperties | undefined;
|
|
5071
5071
|
class?: any;
|
|
5072
5072
|
} & RecordType>>;
|
|
@@ -5088,7 +5088,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5088
5088
|
};
|
|
5089
5089
|
rows: number;
|
|
5090
5090
|
autocomplete: string;
|
|
5091
|
-
type: "" | "number" | "
|
|
5091
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
5092
5092
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5093
5093
|
step: string | number;
|
|
5094
5094
|
format: string | ProgressFn | undefined;
|
|
@@ -5127,12 +5127,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5127
5127
|
fieldInstance?: any;
|
|
5128
5128
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5129
5129
|
prop: string;
|
|
5130
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
5130
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5131
5131
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5132
|
-
tooltip: string |
|
|
5132
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5133
5133
|
style?: CSSProperties | undefined;
|
|
5134
5134
|
class?: any;
|
|
5135
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5135
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5136
5136
|
style?: CSSProperties | undefined;
|
|
5137
5137
|
class?: any;
|
|
5138
5138
|
} & RecordType>>;
|