yc-pro-components 0.0.11 → 0.0.12
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 +61 -61
- 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 +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +50 -50
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +20 -20
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +42 -42
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- 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 +20 -20
- package/es/components/input-tag/src/index.vue.d.ts +8 -8
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +543 -453
- package/es/components/page/src/index.vue.d.ts +185 -155
- 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 +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +193 -155
- package/es/components/search/src/index.vue.d.ts +56 -50
- package/es/components/search/src/index.vue2.mjs +14 -4
- package/es/components/search/src/type.d.ts +9 -0
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- 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 +54 -54
- package/es/components/table/src/index.vue.d.ts +18 -18
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- 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-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +445 -518
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- 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/hooks/usePlusFormReset.d.ts +208 -208
- package/es/index.css +1 -1
- package/index.css +9 -5
- package/index.js +23 -7
- package/index.min.css +1 -1
- package/index.min.js +6 -6
- package/index.min.mjs +7 -7
- package/index.mjs +23 -7
- package/lib/components/check-card/index.d.ts +61 -61
- 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 +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +50 -50
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +20 -20
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +42 -42
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- 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 +20 -20
- package/lib/components/input-tag/src/index.vue.d.ts +8 -8
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +543 -453
- package/lib/components/page/src/index.vue.d.ts +185 -155
- 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 +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +193 -155
- package/lib/components/search/src/index.vue.d.ts +56 -50
- package/lib/components/search/src/index.vue2.js +13 -3
- package/lib/components/search/src/type.d.ts +9 -0
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- 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 +54 -54
- package/lib/components/table/src/index.vue.d.ts +18 -18
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- 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-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +445 -518
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- 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/hooks/usePlusFormReset.d.ts +208 -208
- package/lib/index.css +1 -1
- 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
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-page.css +1 -1
- package/theme-chalk/src/page.scss +1 -1
|
@@ -6,7 +6,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
6
6
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
7
7
|
import { PlusFormGroupRow, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, PlusFormSelfProps, ElementPlusFormProps } from 'packages/yc-components';
|
|
8
8
|
import { RowProps, ColProps, FormItemRule, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, TableColumnCtx, SummaryMethod, ColumnCls, ColumnStyle, CellCls, CellStyle, Sort, TreeNode, Translator, Table, TableProps } from 'element-plus';
|
|
9
|
-
import { DefineComponent, Ref, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties,
|
|
9
|
+
import { DefineComponent, Ref, ComponentInternalInstance, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ShallowRef, PublicProps } from 'vue';
|
|
10
10
|
import { PlusPaginationProps } from 'yc-pro-components/es/components/pagination';
|
|
11
11
|
import { PlusTableProps, ActionBarProps, ColumnSetting, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow, PlusTableSelfProps } from 'yc-pro-components/es/components/table';
|
|
12
12
|
import { PlusSearchProps, PlusSearchSelfProps } from 'yc-pro-components/es/components/search';
|
|
@@ -131,8 +131,8 @@ 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[];
|
|
135
|
+
modelValue: FieldValues;
|
|
136
136
|
labelPosition: "top" | "right" | "left";
|
|
137
137
|
inline: boolean;
|
|
138
138
|
showNumber: number;
|
|
@@ -155,9 +155,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
155
155
|
expandText: string;
|
|
156
156
|
searchLoading: boolean;
|
|
157
157
|
needValidate: boolean;
|
|
158
|
+
searchIcon: Component | null;
|
|
159
|
+
resetIcon: Component | null;
|
|
158
160
|
}> & Omit<{
|
|
159
|
-
readonly modelValue: FieldValues;
|
|
160
161
|
readonly columns: PlusColumn[];
|
|
162
|
+
readonly modelValue: FieldValues;
|
|
161
163
|
readonly inline: boolean;
|
|
162
164
|
readonly showNumber: number;
|
|
163
165
|
readonly defaultValues: FieldValues;
|
|
@@ -180,20 +182,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
180
182
|
readonly searchLoading: boolean;
|
|
181
183
|
readonly needValidate: boolean;
|
|
182
184
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
183
|
-
|
|
185
|
+
readonly searchIcon?: Component | null | undefined;
|
|
186
|
+
readonly resetIcon?: Component | null | undefined;
|
|
184
187
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
185
188
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
189
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
186
190
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
187
191
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
188
192
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
189
|
-
modelValue: {
|
|
190
|
-
type: PropType<FieldValues>;
|
|
191
|
-
default: () => {};
|
|
192
|
-
};
|
|
193
193
|
columns: {
|
|
194
194
|
type: PropType<PlusColumn[]>;
|
|
195
195
|
default: () => never[];
|
|
196
196
|
};
|
|
197
|
+
modelValue: {
|
|
198
|
+
type: PropType<FieldValues>;
|
|
199
|
+
default: () => {};
|
|
200
|
+
};
|
|
197
201
|
labelPosition: {
|
|
198
202
|
type: PropType<"top" | "right" | "left">;
|
|
199
203
|
default: undefined;
|
|
@@ -272,13 +276,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
272
276
|
type: PropType<boolean>;
|
|
273
277
|
default: boolean;
|
|
274
278
|
};
|
|
279
|
+
searchIcon: {
|
|
280
|
+
type: PropType< Component | null>;
|
|
281
|
+
default: undefined;
|
|
282
|
+
};
|
|
283
|
+
resetIcon: {
|
|
284
|
+
type: PropType< Component | null>;
|
|
285
|
+
default: undefined;
|
|
286
|
+
};
|
|
275
287
|
}>> & {
|
|
276
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
277
288
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
278
289
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
290
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
279
291
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
280
292
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
281
|
-
}, "
|
|
293
|
+
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
282
294
|
$attrs: {
|
|
283
295
|
[x: string]: unknown;
|
|
284
296
|
};
|
|
@@ -290,17 +302,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
290
302
|
}>;
|
|
291
303
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
292
304
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
293
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
305
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
294
306
|
$el: any;
|
|
295
307
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
296
|
-
modelValue: {
|
|
297
|
-
type: PropType<FieldValues>;
|
|
298
|
-
default: () => {};
|
|
299
|
-
};
|
|
300
308
|
columns: {
|
|
301
309
|
type: PropType<PlusColumn[]>;
|
|
302
310
|
default: () => never[];
|
|
303
311
|
};
|
|
312
|
+
modelValue: {
|
|
313
|
+
type: PropType<FieldValues>;
|
|
314
|
+
default: () => {};
|
|
315
|
+
};
|
|
304
316
|
labelPosition: {
|
|
305
317
|
type: PropType<"top" | "right" | "left">;
|
|
306
318
|
default: undefined;
|
|
@@ -379,10 +391,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
379
391
|
type: PropType<boolean>;
|
|
380
392
|
default: boolean;
|
|
381
393
|
};
|
|
394
|
+
searchIcon: {
|
|
395
|
+
type: PropType< Component | null>;
|
|
396
|
+
default: undefined;
|
|
397
|
+
};
|
|
398
|
+
resetIcon: {
|
|
399
|
+
type: PropType< Component | null>;
|
|
400
|
+
default: undefined;
|
|
401
|
+
};
|
|
382
402
|
}>> & {
|
|
383
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
384
403
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
385
404
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
405
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
386
406
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
387
407
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
388
408
|
}, {
|
|
@@ -390,11 +410,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
390
410
|
$: ComponentInternalInstance;
|
|
391
411
|
$data: {};
|
|
392
412
|
$props: Partial<{
|
|
393
|
-
modelValue: FieldValues;
|
|
394
413
|
collapseDuration: number;
|
|
395
414
|
collapseTransition: boolean;
|
|
396
415
|
columns: PlusColumn[];
|
|
397
416
|
group: false | PlusFormGroupRow[];
|
|
417
|
+
modelValue: FieldValues;
|
|
398
418
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
399
419
|
labelPosition: "top" | "right" | "left";
|
|
400
420
|
labelWidth: string | number;
|
|
@@ -415,7 +435,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
415
435
|
submitText: string;
|
|
416
436
|
resetText: string;
|
|
417
437
|
submitLoading: boolean;
|
|
418
|
-
footerAlign: "
|
|
438
|
+
footerAlign: "right" | "left" | "center";
|
|
419
439
|
cardProps: Partial< Mutable<CardProps> & {
|
|
420
440
|
style?: CSSProperties | undefined;
|
|
421
441
|
class?: any;
|
|
@@ -423,9 +443,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
423
443
|
prevent: boolean;
|
|
424
444
|
clearable: boolean;
|
|
425
445
|
}> & Omit<{
|
|
426
|
-
readonly modelValue: FieldValues;
|
|
427
446
|
readonly columns: PlusColumn[];
|
|
428
447
|
readonly group: false | PlusFormGroupRow[];
|
|
448
|
+
readonly modelValue: FieldValues;
|
|
429
449
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
430
450
|
readonly labelPosition: "top" | "right" | "left";
|
|
431
451
|
readonly labelWidth: string | number;
|
|
@@ -446,7 +466,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
446
466
|
readonly submitText: string;
|
|
447
467
|
readonly resetText: string;
|
|
448
468
|
readonly submitLoading: boolean;
|
|
449
|
-
readonly footerAlign: "
|
|
469
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
450
470
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
451
471
|
style?: CSSProperties | undefined;
|
|
452
472
|
class?: any;
|
|
@@ -455,17 +475,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
455
475
|
readonly clearable: boolean;
|
|
456
476
|
readonly collapseDuration?: number | undefined;
|
|
457
477
|
readonly collapseTransition?: boolean | undefined;
|
|
458
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
459
478
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
460
479
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
461
480
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
481
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
462
482
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
463
483
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
464
484
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
465
|
-
modelValue: {
|
|
466
|
-
type: PropType<FieldValues>;
|
|
467
|
-
default: () => {};
|
|
468
|
-
};
|
|
469
485
|
collapseDuration: {
|
|
470
486
|
type: PropType<number>;
|
|
471
487
|
default: undefined;
|
|
@@ -482,6 +498,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
482
498
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
483
499
|
default: boolean;
|
|
484
500
|
};
|
|
501
|
+
modelValue: {
|
|
502
|
+
type: PropType<FieldValues>;
|
|
503
|
+
default: () => {};
|
|
504
|
+
};
|
|
485
505
|
rules: {
|
|
486
506
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
487
507
|
default: () => {};
|
|
@@ -545,7 +565,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
545
565
|
default: boolean;
|
|
546
566
|
};
|
|
547
567
|
footerAlign: {
|
|
548
|
-
type: PropType<"
|
|
568
|
+
type: PropType<"right" | "left" | "center">;
|
|
549
569
|
default: string;
|
|
550
570
|
};
|
|
551
571
|
cardProps: {
|
|
@@ -564,13 +584,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
564
584
|
default: boolean;
|
|
565
585
|
};
|
|
566
586
|
}>> & {
|
|
567
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
568
587
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
569
588
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
570
589
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
590
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
571
591
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
572
592
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
573
|
-
}, "
|
|
593
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
574
594
|
$attrs: {
|
|
575
595
|
[x: string]: unknown;
|
|
576
596
|
};
|
|
@@ -582,13 +602,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
582
602
|
}>;
|
|
583
603
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
584
604
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
585
|
-
$emit: ((event: "
|
|
605
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
586
606
|
$el: any;
|
|
587
607
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
588
|
-
modelValue: {
|
|
589
|
-
type: PropType<FieldValues>;
|
|
590
|
-
default: () => {};
|
|
591
|
-
};
|
|
592
608
|
collapseDuration: {
|
|
593
609
|
type: PropType<number>;
|
|
594
610
|
default: undefined;
|
|
@@ -605,6 +621,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
605
621
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
606
622
|
default: boolean;
|
|
607
623
|
};
|
|
624
|
+
modelValue: {
|
|
625
|
+
type: PropType<FieldValues>;
|
|
626
|
+
default: () => {};
|
|
627
|
+
};
|
|
608
628
|
rules: {
|
|
609
629
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
610
630
|
default: () => {};
|
|
@@ -668,7 +688,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
668
688
|
default: boolean;
|
|
669
689
|
};
|
|
670
690
|
footerAlign: {
|
|
671
|
-
type: PropType<"
|
|
691
|
+
type: PropType<"right" | "left" | "center">;
|
|
672
692
|
default: string;
|
|
673
693
|
};
|
|
674
694
|
cardProps: {
|
|
@@ -687,10 +707,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
687
707
|
default: boolean;
|
|
688
708
|
};
|
|
689
709
|
}>> & {
|
|
690
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
691
710
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
692
711
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
693
712
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
713
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
694
714
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
695
715
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
696
716
|
}, {
|
|
@@ -996,11 +1016,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
996
1016
|
submitError: (errors: unknown) => void;
|
|
997
1017
|
validate: (...args: any[]) => void;
|
|
998
1018
|
}, string, {
|
|
999
|
-
modelValue: FieldValues;
|
|
1000
1019
|
collapseDuration: number;
|
|
1001
1020
|
collapseTransition: boolean;
|
|
1002
1021
|
columns: PlusColumn[];
|
|
1003
1022
|
group: false | PlusFormGroupRow[];
|
|
1023
|
+
modelValue: FieldValues;
|
|
1004
1024
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1005
1025
|
labelPosition: "top" | "right" | "left";
|
|
1006
1026
|
labelWidth: string | number;
|
|
@@ -1021,7 +1041,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1021
1041
|
submitText: string;
|
|
1022
1042
|
resetText: string;
|
|
1023
1043
|
submitLoading: boolean;
|
|
1024
|
-
footerAlign: "
|
|
1044
|
+
footerAlign: "right" | "left" | "center";
|
|
1025
1045
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1026
1046
|
style?: CSSProperties | undefined;
|
|
1027
1047
|
class?: any;
|
|
@@ -1049,10 +1069,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1049
1069
|
$nextTick: nextTick;
|
|
1050
1070
|
$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
1071
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1052
|
-
modelValue: {
|
|
1053
|
-
type: PropType<FieldValues>;
|
|
1054
|
-
default: () => {};
|
|
1055
|
-
};
|
|
1056
1072
|
collapseDuration: {
|
|
1057
1073
|
type: PropType<number>;
|
|
1058
1074
|
default: undefined;
|
|
@@ -1069,6 +1085,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1069
1085
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1070
1086
|
default: boolean;
|
|
1071
1087
|
};
|
|
1088
|
+
modelValue: {
|
|
1089
|
+
type: PropType<FieldValues>;
|
|
1090
|
+
default: () => {};
|
|
1091
|
+
};
|
|
1072
1092
|
rules: {
|
|
1073
1093
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1074
1094
|
default: () => {};
|
|
@@ -1132,7 +1152,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1132
1152
|
default: boolean;
|
|
1133
1153
|
};
|
|
1134
1154
|
footerAlign: {
|
|
1135
|
-
type: PropType<"
|
|
1155
|
+
type: PropType<"right" | "left" | "center">;
|
|
1136
1156
|
default: string;
|
|
1137
1157
|
};
|
|
1138
1158
|
cardProps: {
|
|
@@ -1151,10 +1171,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1151
1171
|
default: boolean;
|
|
1152
1172
|
};
|
|
1153
1173
|
}>> & {
|
|
1154
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1155
1174
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1156
1175
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1157
1176
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1177
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1158
1178
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1159
1179
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1160
1180
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1465,14 +1485,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1465
1485
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1466
1486
|
columns?: PlusColumn[] | undefined;
|
|
1467
1487
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1468
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1488
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1469
1489
|
readonly label: string | ComputedRef<string>;
|
|
1470
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1490
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1471
1491
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1472
|
-
readonly tooltip: string |
|
|
1492
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1473
1493
|
style?: CSSProperties | undefined;
|
|
1474
1494
|
class?: any;
|
|
1475
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1495
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1476
1496
|
style?: CSSProperties | undefined;
|
|
1477
1497
|
class?: any;
|
|
1478
1498
|
} & RecordType>>;
|
|
@@ -1533,12 +1553,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1533
1553
|
fieldInstance?: any;
|
|
1534
1554
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1535
1555
|
prop: string;
|
|
1536
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1556
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1537
1557
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1538
|
-
tooltip: string |
|
|
1558
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1539
1559
|
style?: CSSProperties | undefined;
|
|
1540
1560
|
class?: any;
|
|
1541
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1561
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1542
1562
|
style?: CSSProperties | undefined;
|
|
1543
1563
|
class?: any;
|
|
1544
1564
|
} & RecordType>>;
|
|
@@ -1561,14 +1581,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1561
1581
|
clearable: boolean;
|
|
1562
1582
|
index: number;
|
|
1563
1583
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1564
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1584
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1565
1585
|
readonly label: string | ComputedRef<string>;
|
|
1566
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1586
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1567
1587
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1568
|
-
readonly tooltip: string |
|
|
1588
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1569
1589
|
style?: CSSProperties | undefined;
|
|
1570
1590
|
class?: any;
|
|
1571
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1591
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1572
1592
|
style?: CSSProperties | undefined;
|
|
1573
1593
|
class?: any;
|
|
1574
1594
|
} & RecordType>>;
|
|
@@ -1629,12 +1649,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1629
1649
|
fieldInstance?: any;
|
|
1630
1650
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1631
1651
|
prop: string;
|
|
1632
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1652
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1633
1653
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1634
|
-
tooltip: string |
|
|
1654
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1635
1655
|
style?: CSSProperties | undefined;
|
|
1636
1656
|
class?: any;
|
|
1637
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1657
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1638
1658
|
style?: CSSProperties | undefined;
|
|
1639
1659
|
class?: any;
|
|
1640
1660
|
} & RecordType>>;
|
|
@@ -1680,8 +1700,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1680
1700
|
reset: (values: FieldValues) => void;
|
|
1681
1701
|
collapse: (isShowUnfold: boolean) => void;
|
|
1682
1702
|
}, string, {
|
|
1683
|
-
modelValue: FieldValues;
|
|
1684
1703
|
columns: PlusColumn[];
|
|
1704
|
+
modelValue: FieldValues;
|
|
1685
1705
|
labelPosition: "top" | "right" | "left";
|
|
1686
1706
|
inline: boolean;
|
|
1687
1707
|
showNumber: number;
|
|
@@ -1704,6 +1724,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1704
1724
|
expandText: string;
|
|
1705
1725
|
searchLoading: boolean;
|
|
1706
1726
|
needValidate: boolean;
|
|
1727
|
+
searchIcon: Component | null;
|
|
1728
|
+
resetIcon: Component | null;
|
|
1707
1729
|
}, {}, string, {}> & {
|
|
1708
1730
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1709
1731
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1725,14 +1747,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1725
1747
|
$nextTick: nextTick;
|
|
1726
1748
|
$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
1749
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1728
|
-
modelValue: {
|
|
1729
|
-
type: PropType<FieldValues>;
|
|
1730
|
-
default: () => {};
|
|
1731
|
-
};
|
|
1732
1750
|
columns: {
|
|
1733
1751
|
type: PropType<PlusColumn[]>;
|
|
1734
1752
|
default: () => never[];
|
|
1735
1753
|
};
|
|
1754
|
+
modelValue: {
|
|
1755
|
+
type: PropType<FieldValues>;
|
|
1756
|
+
default: () => {};
|
|
1757
|
+
};
|
|
1736
1758
|
labelPosition: {
|
|
1737
1759
|
type: PropType<"top" | "right" | "left">;
|
|
1738
1760
|
default: undefined;
|
|
@@ -1811,10 +1833,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1811
1833
|
type: PropType<boolean>;
|
|
1812
1834
|
default: boolean;
|
|
1813
1835
|
};
|
|
1836
|
+
searchIcon: {
|
|
1837
|
+
type: PropType< Component | null>;
|
|
1838
|
+
default: undefined;
|
|
1839
|
+
};
|
|
1840
|
+
resetIcon: {
|
|
1841
|
+
type: PropType< Component | null>;
|
|
1842
|
+
default: undefined;
|
|
1843
|
+
};
|
|
1814
1844
|
}>> & {
|
|
1815
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1816
1845
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1817
1846
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1847
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1818
1848
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1819
1849
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1820
1850
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1822,11 +1852,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1822
1852
|
$: ComponentInternalInstance;
|
|
1823
1853
|
$data: {};
|
|
1824
1854
|
$props: Partial<{
|
|
1825
|
-
modelValue: FieldValues;
|
|
1826
1855
|
collapseDuration: number;
|
|
1827
1856
|
collapseTransition: boolean;
|
|
1828
1857
|
columns: PlusColumn[];
|
|
1829
1858
|
group: false | PlusFormGroupRow[];
|
|
1859
|
+
modelValue: FieldValues;
|
|
1830
1860
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1831
1861
|
labelPosition: "top" | "right" | "left";
|
|
1832
1862
|
labelWidth: string | number;
|
|
@@ -1847,7 +1877,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1847
1877
|
submitText: string;
|
|
1848
1878
|
resetText: string;
|
|
1849
1879
|
submitLoading: boolean;
|
|
1850
|
-
footerAlign: "
|
|
1880
|
+
footerAlign: "right" | "left" | "center";
|
|
1851
1881
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1852
1882
|
style?: CSSProperties | undefined;
|
|
1853
1883
|
class?: any;
|
|
@@ -1855,9 +1885,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1855
1885
|
prevent: boolean;
|
|
1856
1886
|
clearable: boolean;
|
|
1857
1887
|
}> & Omit<{
|
|
1858
|
-
readonly modelValue: FieldValues;
|
|
1859
1888
|
readonly columns: PlusColumn[];
|
|
1860
1889
|
readonly group: false | PlusFormGroupRow[];
|
|
1890
|
+
readonly modelValue: FieldValues;
|
|
1861
1891
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1862
1892
|
readonly labelPosition: "top" | "right" | "left";
|
|
1863
1893
|
readonly labelWidth: string | number;
|
|
@@ -1878,7 +1908,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1878
1908
|
readonly submitText: string;
|
|
1879
1909
|
readonly resetText: string;
|
|
1880
1910
|
readonly submitLoading: boolean;
|
|
1881
|
-
readonly footerAlign: "
|
|
1911
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1882
1912
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1883
1913
|
style?: CSSProperties | undefined;
|
|
1884
1914
|
class?: any;
|
|
@@ -1887,17 +1917,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1887
1917
|
readonly clearable: boolean;
|
|
1888
1918
|
readonly collapseDuration?: number | undefined;
|
|
1889
1919
|
readonly collapseTransition?: boolean | undefined;
|
|
1890
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1891
1920
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1892
1921
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1893
1922
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1923
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1894
1924
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1895
1925
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1896
1926
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1897
|
-
modelValue: {
|
|
1898
|
-
type: PropType<FieldValues>;
|
|
1899
|
-
default: () => {};
|
|
1900
|
-
};
|
|
1901
1927
|
collapseDuration: {
|
|
1902
1928
|
type: PropType<number>;
|
|
1903
1929
|
default: undefined;
|
|
@@ -1914,6 +1940,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1914
1940
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
1915
1941
|
default: boolean;
|
|
1916
1942
|
};
|
|
1943
|
+
modelValue: {
|
|
1944
|
+
type: PropType<FieldValues>;
|
|
1945
|
+
default: () => {};
|
|
1946
|
+
};
|
|
1917
1947
|
rules: {
|
|
1918
1948
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1919
1949
|
default: () => {};
|
|
@@ -1977,7 +2007,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1977
2007
|
default: boolean;
|
|
1978
2008
|
};
|
|
1979
2009
|
footerAlign: {
|
|
1980
|
-
type: PropType<"
|
|
2010
|
+
type: PropType<"right" | "left" | "center">;
|
|
1981
2011
|
default: string;
|
|
1982
2012
|
};
|
|
1983
2013
|
cardProps: {
|
|
@@ -1996,13 +2026,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1996
2026
|
default: boolean;
|
|
1997
2027
|
};
|
|
1998
2028
|
}>> & {
|
|
1999
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2000
2029
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2001
2030
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2002
2031
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2032
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2003
2033
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2004
2034
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2005
|
-
}, "
|
|
2035
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2006
2036
|
$attrs: {
|
|
2007
2037
|
[x: string]: unknown;
|
|
2008
2038
|
};
|
|
@@ -2014,13 +2044,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2014
2044
|
}>;
|
|
2015
2045
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2016
2046
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2017
|
-
$emit: ((event: "
|
|
2047
|
+
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2018
2048
|
$el: any;
|
|
2019
2049
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2020
|
-
modelValue: {
|
|
2021
|
-
type: PropType<FieldValues>;
|
|
2022
|
-
default: () => {};
|
|
2023
|
-
};
|
|
2024
2050
|
collapseDuration: {
|
|
2025
2051
|
type: PropType<number>;
|
|
2026
2052
|
default: undefined;
|
|
@@ -2037,6 +2063,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2037
2063
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2038
2064
|
default: boolean;
|
|
2039
2065
|
};
|
|
2066
|
+
modelValue: {
|
|
2067
|
+
type: PropType<FieldValues>;
|
|
2068
|
+
default: () => {};
|
|
2069
|
+
};
|
|
2040
2070
|
rules: {
|
|
2041
2071
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2042
2072
|
default: () => {};
|
|
@@ -2100,7 +2130,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2100
2130
|
default: boolean;
|
|
2101
2131
|
};
|
|
2102
2132
|
footerAlign: {
|
|
2103
|
-
type: PropType<"
|
|
2133
|
+
type: PropType<"right" | "left" | "center">;
|
|
2104
2134
|
default: string;
|
|
2105
2135
|
};
|
|
2106
2136
|
cardProps: {
|
|
@@ -2119,10 +2149,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2119
2149
|
default: boolean;
|
|
2120
2150
|
};
|
|
2121
2151
|
}>> & {
|
|
2122
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2123
2152
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2124
2153
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2125
2154
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2155
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2126
2156
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2127
2157
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2128
2158
|
}, {
|
|
@@ -2428,11 +2458,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2428
2458
|
submitError: (errors: unknown) => void;
|
|
2429
2459
|
validate: (...args: any[]) => void;
|
|
2430
2460
|
}, string, {
|
|
2431
|
-
modelValue: FieldValues;
|
|
2432
2461
|
collapseDuration: number;
|
|
2433
2462
|
collapseTransition: boolean;
|
|
2434
2463
|
columns: PlusColumn[];
|
|
2435
2464
|
group: false | PlusFormGroupRow[];
|
|
2465
|
+
modelValue: FieldValues;
|
|
2436
2466
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
2437
2467
|
labelPosition: "top" | "right" | "left";
|
|
2438
2468
|
labelWidth: string | number;
|
|
@@ -2453,7 +2483,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2453
2483
|
submitText: string;
|
|
2454
2484
|
resetText: string;
|
|
2455
2485
|
submitLoading: boolean;
|
|
2456
|
-
footerAlign: "
|
|
2486
|
+
footerAlign: "right" | "left" | "center";
|
|
2457
2487
|
cardProps: Partial< Mutable<CardProps> & {
|
|
2458
2488
|
style?: CSSProperties | undefined;
|
|
2459
2489
|
class?: any;
|
|
@@ -2481,10 +2511,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2481
2511
|
$nextTick: nextTick;
|
|
2482
2512
|
$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
2513
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2484
|
-
modelValue: {
|
|
2485
|
-
type: PropType<FieldValues>;
|
|
2486
|
-
default: () => {};
|
|
2487
|
-
};
|
|
2488
2514
|
collapseDuration: {
|
|
2489
2515
|
type: PropType<number>;
|
|
2490
2516
|
default: undefined;
|
|
@@ -2501,6 +2527,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2501
2527
|
type: PropType<false | PlusFormGroupRow[]>;
|
|
2502
2528
|
default: boolean;
|
|
2503
2529
|
};
|
|
2530
|
+
modelValue: {
|
|
2531
|
+
type: PropType<FieldValues>;
|
|
2532
|
+
default: () => {};
|
|
2533
|
+
};
|
|
2504
2534
|
rules: {
|
|
2505
2535
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
2506
2536
|
default: () => {};
|
|
@@ -2564,7 +2594,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2564
2594
|
default: boolean;
|
|
2565
2595
|
};
|
|
2566
2596
|
footerAlign: {
|
|
2567
|
-
type: PropType<"
|
|
2597
|
+
type: PropType<"right" | "left" | "center">;
|
|
2568
2598
|
default: string;
|
|
2569
2599
|
};
|
|
2570
2600
|
cardProps: {
|
|
@@ -2583,10 +2613,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2583
2613
|
default: boolean;
|
|
2584
2614
|
};
|
|
2585
2615
|
}>> & {
|
|
2586
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2587
2616
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2588
2617
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2589
2618
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2619
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2590
2620
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2591
2621
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2592
2622
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2897,14 +2927,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2897
2927
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2898
2928
|
columns?: PlusColumn[] | undefined;
|
|
2899
2929
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2900
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2930
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
2901
2931
|
readonly label: string | ComputedRef<string>;
|
|
2902
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2932
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2903
2933
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2904
|
-
readonly tooltip: string |
|
|
2934
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2905
2935
|
style?: CSSProperties | undefined;
|
|
2906
2936
|
class?: any;
|
|
2907
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2937
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2908
2938
|
style?: CSSProperties | undefined;
|
|
2909
2939
|
class?: any;
|
|
2910
2940
|
} & RecordType>>;
|
|
@@ -2965,12 +2995,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2965
2995
|
fieldInstance?: any;
|
|
2966
2996
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2967
2997
|
prop: string;
|
|
2968
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2998
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2969
2999
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2970
|
-
tooltip: string |
|
|
3000
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2971
3001
|
style?: CSSProperties | undefined;
|
|
2972
3002
|
class?: any;
|
|
2973
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3003
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2974
3004
|
style?: CSSProperties | undefined;
|
|
2975
3005
|
class?: any;
|
|
2976
3006
|
} & RecordType>>;
|
|
@@ -2993,14 +3023,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2993
3023
|
clearable: boolean;
|
|
2994
3024
|
index: number;
|
|
2995
3025
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2996
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3026
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
2997
3027
|
readonly label: string | ComputedRef<string>;
|
|
2998
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3028
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2999
3029
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3000
|
-
readonly tooltip: string |
|
|
3030
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3001
3031
|
style?: CSSProperties | undefined;
|
|
3002
3032
|
class?: any;
|
|
3003
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3033
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3004
3034
|
style?: CSSProperties | undefined;
|
|
3005
3035
|
class?: any;
|
|
3006
3036
|
} & RecordType>>;
|
|
@@ -3061,12 +3091,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3061
3091
|
fieldInstance?: any;
|
|
3062
3092
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3063
3093
|
prop: string;
|
|
3064
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3094
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3065
3095
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3066
|
-
tooltip: string |
|
|
3096
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3067
3097
|
style?: CSSProperties | undefined;
|
|
3068
3098
|
class?: any;
|
|
3069
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3099
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3070
3100
|
style?: CSSProperties | undefined;
|
|
3071
3101
|
class?: any;
|
|
3072
3102
|
} & RecordType>>;
|
|
@@ -3107,14 +3137,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3107
3137
|
handleUnfold: (e: MouseEvent) => void;
|
|
3108
3138
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3109
3139
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3110
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3140
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
3111
3141
|
readonly label: string | ComputedRef<string>;
|
|
3112
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3142
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3113
3143
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3114
|
-
readonly tooltip: string |
|
|
3144
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3115
3145
|
style?: CSSProperties | undefined;
|
|
3116
3146
|
class?: any;
|
|
3117
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3147
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3118
3148
|
style?: CSSProperties | undefined;
|
|
3119
3149
|
class?: any;
|
|
3120
3150
|
} & RecordType>>;
|
|
@@ -3175,12 +3205,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3175
3205
|
fieldInstance?: any;
|
|
3176
3206
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3177
3207
|
prop: string;
|
|
3178
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3208
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3179
3209
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3180
|
-
tooltip: string |
|
|
3210
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3181
3211
|
style?: CSSProperties | undefined;
|
|
3182
3212
|
class?: any;
|
|
3183
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3213
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3184
3214
|
style?: CSSProperties | undefined;
|
|
3185
3215
|
class?: any;
|
|
3186
3216
|
} & RecordType>>;
|
|
@@ -3637,9 +3667,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3637
3667
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3638
3668
|
__epPropKey: true;
|
|
3639
3669
|
};
|
|
3640
|
-
width: (
|
|
3641
|
-
height: (
|
|
3642
|
-
maxHeight: (
|
|
3670
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3671
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3672
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3643
3673
|
fit: {
|
|
3644
3674
|
type: BooleanConstructor;
|
|
3645
3675
|
default: boolean;
|
|
@@ -3663,13 +3693,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3663
3693
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3664
3694
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3665
3695
|
highlightCurrentRow: BooleanConstructor;
|
|
3666
|
-
currentRowKey: (
|
|
3696
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3667
3697
|
emptyText: StringConstructor;
|
|
3668
3698
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3669
3699
|
defaultExpandAll: BooleanConstructor;
|
|
3670
3700
|
defaultSort: PropType< Sort | undefined>;
|
|
3671
3701
|
tooltipEffect: StringConstructor;
|
|
3672
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3702
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3673
3703
|
spanMethod: PropType<((data: {
|
|
3674
3704
|
row: any;
|
|
3675
3705
|
rowIndex: number;
|
|
@@ -3713,7 +3743,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3713
3743
|
};
|
|
3714
3744
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3715
3745
|
flexible: BooleanConstructor;
|
|
3716
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3746
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3717
3747
|
}>> & {
|
|
3718
3748
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3719
3749
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3833,9 +3863,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3833
3863
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3834
3864
|
__epPropKey: true;
|
|
3835
3865
|
};
|
|
3836
|
-
width: (
|
|
3837
|
-
height: (
|
|
3838
|
-
maxHeight: (
|
|
3866
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3867
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3868
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3839
3869
|
fit: {
|
|
3840
3870
|
type: BooleanConstructor;
|
|
3841
3871
|
default: boolean;
|
|
@@ -3859,13 +3889,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3859
3889
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3860
3890
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3861
3891
|
highlightCurrentRow: BooleanConstructor;
|
|
3862
|
-
currentRowKey: (
|
|
3892
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3863
3893
|
emptyText: StringConstructor;
|
|
3864
3894
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3865
3895
|
defaultExpandAll: BooleanConstructor;
|
|
3866
3896
|
defaultSort: PropType< Sort | undefined>;
|
|
3867
3897
|
tooltipEffect: StringConstructor;
|
|
3868
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3898
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3869
3899
|
spanMethod: PropType<((data: {
|
|
3870
3900
|
row: any;
|
|
3871
3901
|
rowIndex: number;
|
|
@@ -3909,7 +3939,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3909
3939
|
};
|
|
3910
3940
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3911
3941
|
flexible: BooleanConstructor;
|
|
3912
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3942
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3913
3943
|
}>> & {
|
|
3914
3944
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3915
3945
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3968,9 +3998,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3968
3998
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3969
3999
|
__epPropKey: true;
|
|
3970
4000
|
};
|
|
3971
|
-
width: (
|
|
3972
|
-
height: (
|
|
3973
|
-
maxHeight: (
|
|
4001
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4002
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4003
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3974
4004
|
fit: {
|
|
3975
4005
|
type: BooleanConstructor;
|
|
3976
4006
|
default: boolean;
|
|
@@ -3994,13 +4024,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3994
4024
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3995
4025
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3996
4026
|
highlightCurrentRow: BooleanConstructor;
|
|
3997
|
-
currentRowKey: (
|
|
4027
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3998
4028
|
emptyText: StringConstructor;
|
|
3999
4029
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4000
4030
|
defaultExpandAll: BooleanConstructor;
|
|
4001
4031
|
defaultSort: PropType< Sort | undefined>;
|
|
4002
4032
|
tooltipEffect: StringConstructor;
|
|
4003
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4033
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4004
4034
|
spanMethod: PropType<((data: {
|
|
4005
4035
|
row: any;
|
|
4006
4036
|
rowIndex: number;
|
|
@@ -4044,7 +4074,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4044
4074
|
};
|
|
4045
4075
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4046
4076
|
flexible: BooleanConstructor;
|
|
4047
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4077
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4048
4078
|
}>> & {
|
|
4049
4079
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4050
4080
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4411,9 +4441,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4411
4441
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4412
4442
|
__epPropKey: true;
|
|
4413
4443
|
};
|
|
4414
|
-
width: (
|
|
4415
|
-
height: (
|
|
4416
|
-
maxHeight: (
|
|
4444
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4445
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4446
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4417
4447
|
fit: {
|
|
4418
4448
|
type: BooleanConstructor;
|
|
4419
4449
|
default: boolean;
|
|
@@ -4437,13 +4467,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4437
4467
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4438
4468
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4439
4469
|
highlightCurrentRow: BooleanConstructor;
|
|
4440
|
-
currentRowKey: (
|
|
4470
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4441
4471
|
emptyText: StringConstructor;
|
|
4442
4472
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4443
4473
|
defaultExpandAll: BooleanConstructor;
|
|
4444
4474
|
defaultSort: PropType< Sort | undefined>;
|
|
4445
4475
|
tooltipEffect: StringConstructor;
|
|
4446
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4476
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4447
4477
|
spanMethod: PropType<((data: {
|
|
4448
4478
|
row: any;
|
|
4449
4479
|
rowIndex: number;
|
|
@@ -4487,7 +4517,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4487
4517
|
};
|
|
4488
4518
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4489
4519
|
flexible: BooleanConstructor;
|
|
4490
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4520
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4491
4521
|
}>> & {
|
|
4492
4522
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4493
4523
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4607,9 +4637,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4607
4637
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4608
4638
|
__epPropKey: true;
|
|
4609
4639
|
};
|
|
4610
|
-
width: (
|
|
4611
|
-
height: (
|
|
4612
|
-
maxHeight: (
|
|
4640
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4641
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4642
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4613
4643
|
fit: {
|
|
4614
4644
|
type: BooleanConstructor;
|
|
4615
4645
|
default: boolean;
|
|
@@ -4633,13 +4663,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4633
4663
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4634
4664
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4635
4665
|
highlightCurrentRow: BooleanConstructor;
|
|
4636
|
-
currentRowKey: (
|
|
4666
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4637
4667
|
emptyText: StringConstructor;
|
|
4638
4668
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4639
4669
|
defaultExpandAll: BooleanConstructor;
|
|
4640
4670
|
defaultSort: PropType< Sort | undefined>;
|
|
4641
4671
|
tooltipEffect: StringConstructor;
|
|
4642
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4672
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4643
4673
|
spanMethod: PropType<((data: {
|
|
4644
4674
|
row: any;
|
|
4645
4675
|
rowIndex: number;
|
|
@@ -4683,7 +4713,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4683
4713
|
};
|
|
4684
4714
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4685
4715
|
flexible: BooleanConstructor;
|
|
4686
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4716
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4687
4717
|
}>> & {
|
|
4688
4718
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4689
4719
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4742,9 +4772,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4742
4772
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4743
4773
|
__epPropKey: true;
|
|
4744
4774
|
};
|
|
4745
|
-
width: (
|
|
4746
|
-
height: (
|
|
4747
|
-
maxHeight: (
|
|
4775
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4776
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4777
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4748
4778
|
fit: {
|
|
4749
4779
|
type: BooleanConstructor;
|
|
4750
4780
|
default: boolean;
|
|
@@ -4768,13 +4798,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4768
4798
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4769
4799
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4770
4800
|
highlightCurrentRow: BooleanConstructor;
|
|
4771
|
-
currentRowKey: (
|
|
4801
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4772
4802
|
emptyText: StringConstructor;
|
|
4773
4803
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4774
4804
|
defaultExpandAll: BooleanConstructor;
|
|
4775
4805
|
defaultSort: PropType< Sort | undefined>;
|
|
4776
4806
|
tooltipEffect: StringConstructor;
|
|
4777
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4807
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4778
4808
|
spanMethod: PropType<((data: {
|
|
4779
4809
|
row: any;
|
|
4780
4810
|
rowIndex: number;
|
|
@@ -4818,7 +4848,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4818
4848
|
};
|
|
4819
4849
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4820
4850
|
flexible: BooleanConstructor;
|
|
4821
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4851
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4822
4852
|
}>> & {
|
|
4823
4853
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4824
4854
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5038,7 +5068,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5038
5068
|
columns: PlusColumn[];
|
|
5039
5069
|
immediate: boolean;
|
|
5040
5070
|
params: RecordType;
|
|
5041
|
-
pagination: false | Omit<PlusPaginationProps, "
|
|
5071
|
+
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
5042
5072
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
5043
5073
|
beforeSearchSubmit: <T_2 = RecordType>(params: T_2) => T_2;
|
|
5044
5074
|
isCard: boolean;
|
|
@@ -5059,14 +5089,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5059
5089
|
};
|
|
5060
5090
|
searchSlot: boolean;
|
|
5061
5091
|
}, {}>, Partial<Record<never, (_: {
|
|
5062
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5092
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
5063
5093
|
readonly label: string | ComputedRef<string>;
|
|
5064
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5094
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5065
5095
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5066
|
-
readonly tooltip: string |
|
|
5096
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5067
5097
|
style?: CSSProperties | undefined;
|
|
5068
5098
|
class?: any;
|
|
5069
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5099
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5070
5100
|
style?: CSSProperties | undefined;
|
|
5071
5101
|
class?: any;
|
|
5072
5102
|
} & RecordType>>;
|
|
@@ -5127,12 +5157,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5127
5157
|
fieldInstance?: any;
|
|
5128
5158
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5129
5159
|
prop: string;
|
|
5130
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5160
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5131
5161
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5132
|
-
tooltip: string |
|
|
5162
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5133
5163
|
style?: CSSProperties | undefined;
|
|
5134
5164
|
class?: any;
|
|
5135
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5165
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5136
5166
|
style?: CSSProperties | undefined;
|
|
5137
5167
|
class?: any;
|
|
5138
5168
|
} & RecordType>>;
|