yc-pro-components 0.0.75 → 0.0.77
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 +30 -30
- package/es/components/date-picker/src/index.vue.d.ts +22 -22
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- 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 +68 -68
- package/es/components/drawer-form/src/index.vue.d.ts +16 -16
- package/es/components/form/index.d.ts +71 -71
- package/es/components/form/src/form-content.vue.d.ts +21 -21
- package/es/components/form/src/index.vue.d.ts +19 -19
- package/es/components/form-item/index.d.ts +69 -69
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/index.mjs +1 -0
- package/es/components/input-tag/index.d.ts +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +533 -533
- package/es/components/page/src/index.vue.d.ts +181 -181
- 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 +243 -243
- package/es/components/search/src/index.vue.d.ts +73 -73
- 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/src/table-column.vue.d.ts +37 -37
- package/es/components/table/src/table-title-bar.vue.mjs +1 -1
- package/es/components/table/src/table-title-bar.vue2.mjs +79 -40
- package/es/components/table/src/type.d.ts +17 -0
- 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-drawer/src/index.vue.mjs +1 -1
- package/es/components/yc-drawer/src/index.vue2.mjs +2 -3
- 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/index.d.ts +2 -0
- package/es/components/yc-plus-page/index.mjs +1 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +436 -361
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +90 -58
- package/es/components/yc-plus-page/src/type.d.ts +9 -0
- 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/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/usePlusFormReset.d.ts +244 -244
- package/es/hooks/useTableDragScroll.d.ts +35 -0
- package/es/hooks/useTableDragScroll.mjs +201 -0
- package/es/index.css +13 -12
- package/es/index.mjs +1 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +372 -104
- package/index.min.css +3 -2
- package/index.min.js +12 -11
- package/index.min.mjs +12 -11
- package/index.mjs +373 -106
- 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 +30 -30
- package/lib/components/date-picker/src/index.vue.d.ts +22 -22
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- 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 +68 -68
- package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
- package/lib/components/form/index.d.ts +71 -71
- package/lib/components/form/src/form-content.vue.d.ts +21 -21
- package/lib/components/form/src/index.vue.d.ts +19 -19
- package/lib/components/form-item/index.d.ts +69 -69
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/index.js +2 -0
- package/lib/components/input-tag/index.d.ts +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- 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 +533 -533
- package/lib/components/page/src/index.vue.d.ts +181 -181
- 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 +243 -243
- package/lib/components/search/src/index.vue.d.ts +73 -73
- 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/src/table-column.vue.d.ts +37 -37
- package/lib/components/table/src/table-title-bar.vue.js +1 -1
- package/lib/components/table/src/table-title-bar.vue2.js +78 -39
- package/lib/components/table/src/type.d.ts +17 -0
- 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-drawer/src/index.vue.js +1 -1
- package/lib/components/yc-drawer/src/index.vue2.js +2 -3
- 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/index.d.ts +2 -0
- package/lib/components/yc-plus-page/index.js +2 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +436 -361
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +89 -57
- package/lib/components/yc-plus-page/src/type.d.ts +9 -0
- 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/index.d.ts +1 -0
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/usePlusFormReset.d.ts +244 -244
- package/lib/hooks/useTableDragScroll.d.ts +35 -0
- package/lib/hooks/useTableDragScroll.js +203 -0
- package/lib/index.css +13 -12
- package/lib/index.js +2 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +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
|
@@ -8,6 +8,7 @@ import { RequestResponse, HeaderFilterConfig, HeaderFilterPayload, HeaderFilterR
|
|
|
8
8
|
import { FieldValues, OmitTypes, CascaderProps, FormItemValueType, FieldValueType } from 'yc-pro-components/es/types/form';
|
|
9
9
|
import { PlusSearchSelfProps } from 'yc-pro-components/es/components/search';
|
|
10
10
|
import { PageInfo, PlusColumn, PropsItemType, OptionsType, RenderTypes, OptionsRow } from 'yc-pro-components/es/types/plus';
|
|
11
|
+
import { UseTableDragScrollOptions } from 'yc-pro-components/es/hooks/useTableDragScroll';
|
|
11
12
|
import { nextTick, DefineComponent, Ref, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, Component, ComponentOptionsMixin, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ComputedRef, ShallowRef, PublicProps } from 'vue';
|
|
12
13
|
|
|
13
14
|
/**
|
|
@@ -69,6 +70,14 @@ interface Props {
|
|
|
69
70
|
* @description 不传时使用 YcConfigProvider 的 components.plusPage.columnSettingsText,再缺省为「字段管理」
|
|
70
71
|
*/
|
|
71
72
|
columnSettingsText?: string;
|
|
73
|
+
/**
|
|
74
|
+
* 是否启用表格横向拖拽滚动
|
|
75
|
+
* - true: 使用默认配置启用
|
|
76
|
+
* - 对象: 自定义配置(resizeAreaWidth / scrollContainerSelector 等)
|
|
77
|
+
* - false / 不传: 关闭(默认)
|
|
78
|
+
* @default false
|
|
79
|
+
*/
|
|
80
|
+
dragScroll?: boolean | UseTableDragScrollOptions;
|
|
72
81
|
}
|
|
73
82
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
74
83
|
isCard: boolean;
|
|
@@ -85,6 +94,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
85
94
|
columnCacheKey: undefined;
|
|
86
95
|
disableColumnCache: boolean;
|
|
87
96
|
columnSettingsText: undefined;
|
|
97
|
+
dragScroll: boolean;
|
|
88
98
|
}>, {
|
|
89
99
|
plusPageRef: Ref<({
|
|
90
100
|
$: ComponentInternalInstance;
|
|
@@ -101,7 +111,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
101
111
|
columns: PlusColumn[];
|
|
102
112
|
immediate: boolean;
|
|
103
113
|
params: RecordType;
|
|
104
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
114
|
+
pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
105
115
|
columnsEmptyText: string;
|
|
106
116
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
107
117
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
@@ -138,7 +148,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
138
148
|
data: RecordType[];
|
|
139
149
|
total: number;
|
|
140
150
|
}>;
|
|
141
|
-
readonly pagination: false | Omit< PlusPaginationProps, "
|
|
151
|
+
readonly pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
142
152
|
readonly columnsEmptyText: string;
|
|
143
153
|
readonly isCard: boolean;
|
|
144
154
|
readonly searchCardProps: Partial< Mutable<CardProps> & {
|
|
@@ -200,7 +210,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
200
210
|
required: true;
|
|
201
211
|
};
|
|
202
212
|
pagination: {
|
|
203
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
213
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
204
214
|
default: () => {};
|
|
205
215
|
};
|
|
206
216
|
columnsEmptyText: {
|
|
@@ -318,7 +328,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
318
328
|
required: true;
|
|
319
329
|
};
|
|
320
330
|
pagination: {
|
|
321
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
331
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
322
332
|
default: () => {};
|
|
323
333
|
};
|
|
324
334
|
columnsEmptyText: {
|
|
@@ -391,10 +401,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
391
401
|
$: ComponentInternalInstance;
|
|
392
402
|
$data: {};
|
|
393
403
|
$props: Partial<{
|
|
394
|
-
labelPosition: "left" | "right" | "top";
|
|
395
|
-
modelValue: FieldValues;
|
|
396
404
|
columns: PlusColumn[];
|
|
397
|
-
layout: "
|
|
405
|
+
layout: "grid" | "flex";
|
|
406
|
+
modelValue: FieldValues;
|
|
407
|
+
labelPosition: "top" | "right" | "left";
|
|
398
408
|
inline: boolean;
|
|
399
409
|
showNumber: number;
|
|
400
410
|
defaultValues: FieldValues;
|
|
@@ -419,9 +429,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
419
429
|
searchIcon: Component | null;
|
|
420
430
|
resetIcon: Component | null;
|
|
421
431
|
}> & Omit<{
|
|
422
|
-
readonly modelValue: FieldValues;
|
|
423
432
|
readonly columns: PlusColumn[];
|
|
424
|
-
readonly layout: "
|
|
433
|
+
readonly layout: "grid" | "flex";
|
|
434
|
+
readonly modelValue: FieldValues;
|
|
425
435
|
readonly inline: boolean;
|
|
426
436
|
readonly showNumber: number;
|
|
427
437
|
readonly defaultValues: FieldValues;
|
|
@@ -443,31 +453,31 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
443
453
|
readonly expandText: string;
|
|
444
454
|
readonly searchLoading: boolean;
|
|
445
455
|
readonly needValidate: boolean;
|
|
446
|
-
readonly labelPosition?: "
|
|
456
|
+
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
447
457
|
readonly searchIcon?: Component | null | undefined;
|
|
448
458
|
readonly resetIcon?: Component | null | undefined;
|
|
449
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
450
459
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
451
460
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
461
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
452
462
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
453
463
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
454
464
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
455
|
-
labelPosition: {
|
|
456
|
-
type: PropType<"left" | "right" | "top">;
|
|
457
|
-
default: undefined;
|
|
458
|
-
};
|
|
459
|
-
modelValue: {
|
|
460
|
-
type: PropType<FieldValues>;
|
|
461
|
-
default: () => {};
|
|
462
|
-
};
|
|
463
465
|
columns: {
|
|
464
466
|
type: PropType<PlusColumn[]>;
|
|
465
467
|
default: () => never[];
|
|
466
468
|
};
|
|
467
469
|
layout: {
|
|
468
|
-
type: PropType<"
|
|
470
|
+
type: PropType<"grid" | "flex">;
|
|
469
471
|
default: "grid";
|
|
470
472
|
};
|
|
473
|
+
modelValue: {
|
|
474
|
+
type: PropType<FieldValues>;
|
|
475
|
+
default: () => {};
|
|
476
|
+
};
|
|
477
|
+
labelPosition: {
|
|
478
|
+
type: PropType<"top" | "right" | "left">;
|
|
479
|
+
default: undefined;
|
|
480
|
+
};
|
|
471
481
|
inline: {
|
|
472
482
|
type: PropType<boolean>;
|
|
473
483
|
default: boolean;
|
|
@@ -551,12 +561,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
551
561
|
default: undefined;
|
|
552
562
|
};
|
|
553
563
|
}>> & {
|
|
554
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
555
564
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
556
565
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
566
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
557
567
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
558
568
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
559
|
-
}, "
|
|
569
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
560
570
|
$attrs: {
|
|
561
571
|
[x: string]: unknown;
|
|
562
572
|
};
|
|
@@ -568,25 +578,25 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
568
578
|
}>;
|
|
569
579
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
570
580
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
571
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
581
|
+
$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);
|
|
572
582
|
$el: any;
|
|
573
583
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
574
|
-
labelPosition: {
|
|
575
|
-
type: PropType<"left" | "right" | "top">;
|
|
576
|
-
default: undefined;
|
|
577
|
-
};
|
|
578
|
-
modelValue: {
|
|
579
|
-
type: PropType<FieldValues>;
|
|
580
|
-
default: () => {};
|
|
581
|
-
};
|
|
582
584
|
columns: {
|
|
583
585
|
type: PropType<PlusColumn[]>;
|
|
584
586
|
default: () => never[];
|
|
585
587
|
};
|
|
586
588
|
layout: {
|
|
587
|
-
type: PropType<"
|
|
589
|
+
type: PropType<"grid" | "flex">;
|
|
588
590
|
default: "grid";
|
|
589
591
|
};
|
|
592
|
+
modelValue: {
|
|
593
|
+
type: PropType<FieldValues>;
|
|
594
|
+
default: () => {};
|
|
595
|
+
};
|
|
596
|
+
labelPosition: {
|
|
597
|
+
type: PropType<"top" | "right" | "left">;
|
|
598
|
+
default: undefined;
|
|
599
|
+
};
|
|
590
600
|
inline: {
|
|
591
601
|
type: PropType<boolean>;
|
|
592
602
|
default: boolean;
|
|
@@ -670,9 +680,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
670
680
|
default: undefined;
|
|
671
681
|
};
|
|
672
682
|
}>> & {
|
|
673
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
674
683
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
675
684
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
685
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
676
686
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
677
687
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
678
688
|
}, {
|
|
@@ -680,14 +690,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
680
690
|
$: ComponentInternalInstance;
|
|
681
691
|
$data: {};
|
|
682
692
|
$props: Partial<{
|
|
683
|
-
labelPosition: "left" | "right" | "top";
|
|
684
|
-
modelValue: FieldValues;
|
|
685
693
|
collapseDuration: number;
|
|
686
694
|
collapseTransition: boolean;
|
|
687
695
|
columns: PlusColumn[];
|
|
688
696
|
group: false | PlusFormGroupRow[];
|
|
689
|
-
layout: "
|
|
697
|
+
layout: "grid" | "flex";
|
|
698
|
+
modelValue: FieldValues;
|
|
690
699
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
700
|
+
labelPosition: "top" | "right" | "left";
|
|
691
701
|
labelWidth: string | number;
|
|
692
702
|
labelSuffix: string;
|
|
693
703
|
defaultValues: FieldValues;
|
|
@@ -706,7 +716,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
706
716
|
submitText: string;
|
|
707
717
|
resetText: string;
|
|
708
718
|
submitLoading: boolean;
|
|
709
|
-
footerAlign: "
|
|
719
|
+
footerAlign: "right" | "left" | "center";
|
|
710
720
|
cardProps: Partial< Mutable<CardProps> & {
|
|
711
721
|
style?: CSSProperties | undefined;
|
|
712
722
|
class?: any;
|
|
@@ -714,11 +724,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
714
724
|
prevent: boolean;
|
|
715
725
|
clearable: boolean;
|
|
716
726
|
}> & Omit<{
|
|
717
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
718
|
-
readonly modelValue: FieldValues;
|
|
719
727
|
readonly columns: PlusColumn[];
|
|
720
728
|
readonly group: false | PlusFormGroupRow[];
|
|
729
|
+
readonly modelValue: FieldValues;
|
|
721
730
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
731
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
722
732
|
readonly labelWidth: string | number;
|
|
723
733
|
readonly labelSuffix: string;
|
|
724
734
|
readonly defaultValues: FieldValues;
|
|
@@ -737,7 +747,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
737
747
|
readonly submitText: string;
|
|
738
748
|
readonly resetText: string;
|
|
739
749
|
readonly submitLoading: boolean;
|
|
740
|
-
readonly footerAlign: "
|
|
750
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
741
751
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
742
752
|
style?: CSSProperties | undefined;
|
|
743
753
|
class?: any;
|
|
@@ -746,22 +756,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
746
756
|
readonly clearable: boolean;
|
|
747
757
|
readonly collapseDuration?: number | undefined;
|
|
748
758
|
readonly collapseTransition?: boolean | undefined;
|
|
749
|
-
readonly layout?: "
|
|
750
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
759
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
751
760
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
752
761
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
753
762
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
763
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
754
764
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
755
765
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
756
766
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
757
|
-
labelPosition: {
|
|
758
|
-
type: PropType<"left" | "right" | "top">;
|
|
759
|
-
default: string;
|
|
760
|
-
};
|
|
761
|
-
modelValue: {
|
|
762
|
-
type: PropType<FieldValues>;
|
|
763
|
-
default: () => {};
|
|
764
|
-
};
|
|
765
767
|
collapseDuration: {
|
|
766
768
|
type: PropType<number>;
|
|
767
769
|
default: undefined;
|
|
@@ -779,13 +781,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
779
781
|
default: boolean;
|
|
780
782
|
};
|
|
781
783
|
layout: {
|
|
782
|
-
type: PropType<"
|
|
784
|
+
type: PropType<"grid" | "flex">;
|
|
783
785
|
default: undefined;
|
|
784
786
|
};
|
|
787
|
+
modelValue: {
|
|
788
|
+
type: PropType<FieldValues>;
|
|
789
|
+
default: () => {};
|
|
790
|
+
};
|
|
785
791
|
rules: {
|
|
786
792
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
787
793
|
default: () => {};
|
|
788
794
|
};
|
|
795
|
+
labelPosition: {
|
|
796
|
+
type: PropType<"top" | "right" | "left">;
|
|
797
|
+
default: string;
|
|
798
|
+
};
|
|
789
799
|
labelWidth: {
|
|
790
800
|
type: PropType<string | number>;
|
|
791
801
|
default: string;
|
|
@@ -841,7 +851,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
841
851
|
default: boolean;
|
|
842
852
|
};
|
|
843
853
|
footerAlign: {
|
|
844
|
-
type: PropType<"
|
|
854
|
+
type: PropType<"right" | "left" | "center">;
|
|
845
855
|
default: string;
|
|
846
856
|
};
|
|
847
857
|
cardProps: {
|
|
@@ -860,13 +870,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
860
870
|
default: boolean;
|
|
861
871
|
};
|
|
862
872
|
}>> & {
|
|
863
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
864
873
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
865
874
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
866
875
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
876
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
867
877
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
868
878
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
869
|
-
}, "
|
|
879
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
870
880
|
$attrs: {
|
|
871
881
|
[x: string]: unknown;
|
|
872
882
|
};
|
|
@@ -878,17 +888,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
878
888
|
}>;
|
|
879
889
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
880
890
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
881
|
-
$emit: ((event: "
|
|
891
|
+
$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);
|
|
882
892
|
$el: any;
|
|
883
893
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
884
|
-
labelPosition: {
|
|
885
|
-
type: PropType<"left" | "right" | "top">;
|
|
886
|
-
default: string;
|
|
887
|
-
};
|
|
888
|
-
modelValue: {
|
|
889
|
-
type: PropType<FieldValues>;
|
|
890
|
-
default: () => {};
|
|
891
|
-
};
|
|
892
894
|
collapseDuration: {
|
|
893
895
|
type: PropType<number>;
|
|
894
896
|
default: undefined;
|
|
@@ -906,13 +908,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
906
908
|
default: boolean;
|
|
907
909
|
};
|
|
908
910
|
layout: {
|
|
909
|
-
type: PropType<"
|
|
911
|
+
type: PropType<"grid" | "flex">;
|
|
910
912
|
default: undefined;
|
|
911
913
|
};
|
|
914
|
+
modelValue: {
|
|
915
|
+
type: PropType<FieldValues>;
|
|
916
|
+
default: () => {};
|
|
917
|
+
};
|
|
912
918
|
rules: {
|
|
913
919
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
914
920
|
default: () => {};
|
|
915
921
|
};
|
|
922
|
+
labelPosition: {
|
|
923
|
+
type: PropType<"top" | "right" | "left">;
|
|
924
|
+
default: string;
|
|
925
|
+
};
|
|
916
926
|
labelWidth: {
|
|
917
927
|
type: PropType<string | number>;
|
|
918
928
|
default: string;
|
|
@@ -968,7 +978,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
968
978
|
default: boolean;
|
|
969
979
|
};
|
|
970
980
|
footerAlign: {
|
|
971
|
-
type: PropType<"
|
|
981
|
+
type: PropType<"right" | "left" | "center">;
|
|
972
982
|
default: string;
|
|
973
983
|
};
|
|
974
984
|
cardProps: {
|
|
@@ -987,10 +997,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
987
997
|
default: boolean;
|
|
988
998
|
};
|
|
989
999
|
}>> & {
|
|
990
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
991
1000
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
992
1001
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
993
1002
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1003
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
994
1004
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
995
1005
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
996
1006
|
}, {
|
|
@@ -1005,14 +1015,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1005
1015
|
submitError: (errors: unknown) => void;
|
|
1006
1016
|
validate: (...args: any[]) => void;
|
|
1007
1017
|
}, string, {
|
|
1008
|
-
labelPosition: "left" | "right" | "top";
|
|
1009
|
-
modelValue: FieldValues;
|
|
1010
1018
|
collapseDuration: number;
|
|
1011
1019
|
collapseTransition: boolean;
|
|
1012
1020
|
columns: PlusColumn[];
|
|
1013
1021
|
group: false | PlusFormGroupRow[];
|
|
1014
|
-
layout: "
|
|
1022
|
+
layout: "grid" | "flex";
|
|
1023
|
+
modelValue: FieldValues;
|
|
1015
1024
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1025
|
+
labelPosition: "top" | "right" | "left";
|
|
1016
1026
|
labelWidth: string | number;
|
|
1017
1027
|
labelSuffix: string;
|
|
1018
1028
|
defaultValues: FieldValues;
|
|
@@ -1031,7 +1041,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1031
1041
|
submitText: string;
|
|
1032
1042
|
resetText: string;
|
|
1033
1043
|
submitLoading: boolean;
|
|
1034
|
-
footerAlign: "
|
|
1044
|
+
footerAlign: "right" | "left" | "center";
|
|
1035
1045
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1036
1046
|
style?: CSSProperties | undefined;
|
|
1037
1047
|
class?: any;
|
|
@@ -1059,14 +1069,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1059
1069
|
$nextTick: typeof nextTick;
|
|
1060
1070
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1061
1071
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1062
|
-
labelPosition: {
|
|
1063
|
-
type: PropType<"left" | "right" | "top">;
|
|
1064
|
-
default: string;
|
|
1065
|
-
};
|
|
1066
|
-
modelValue: {
|
|
1067
|
-
type: PropType<FieldValues>;
|
|
1068
|
-
default: () => {};
|
|
1069
|
-
};
|
|
1070
1072
|
collapseDuration: {
|
|
1071
1073
|
type: PropType<number>;
|
|
1072
1074
|
default: undefined;
|
|
@@ -1084,13 +1086,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1084
1086
|
default: boolean;
|
|
1085
1087
|
};
|
|
1086
1088
|
layout: {
|
|
1087
|
-
type: PropType<"
|
|
1089
|
+
type: PropType<"grid" | "flex">;
|
|
1088
1090
|
default: undefined;
|
|
1089
1091
|
};
|
|
1092
|
+
modelValue: {
|
|
1093
|
+
type: PropType<FieldValues>;
|
|
1094
|
+
default: () => {};
|
|
1095
|
+
};
|
|
1090
1096
|
rules: {
|
|
1091
1097
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1092
1098
|
default: () => {};
|
|
1093
1099
|
};
|
|
1100
|
+
labelPosition: {
|
|
1101
|
+
type: PropType<"top" | "right" | "left">;
|
|
1102
|
+
default: string;
|
|
1103
|
+
};
|
|
1094
1104
|
labelWidth: {
|
|
1095
1105
|
type: PropType<string | number>;
|
|
1096
1106
|
default: string;
|
|
@@ -1146,7 +1156,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1146
1156
|
default: boolean;
|
|
1147
1157
|
};
|
|
1148
1158
|
footerAlign: {
|
|
1149
|
-
type: PropType<"
|
|
1159
|
+
type: PropType<"right" | "left" | "center">;
|
|
1150
1160
|
default: string;
|
|
1151
1161
|
};
|
|
1152
1162
|
cardProps: {
|
|
@@ -1165,10 +1175,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1165
1175
|
default: boolean;
|
|
1166
1176
|
};
|
|
1167
1177
|
}>> & {
|
|
1168
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1169
1178
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1170
1179
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1171
1180
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1181
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1172
1182
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1173
1183
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1174
1184
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1188,19 +1198,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1188
1198
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1189
1199
|
columns?: PlusColumn[] | undefined;
|
|
1190
1200
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1191
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1201
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1192
1202
|
readonly label: string | ComputedRef<string>;
|
|
1193
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1203
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1194
1204
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1195
|
-
readonly tooltip: string |
|
|
1205
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1196
1206
|
style?: CSSProperties | undefined;
|
|
1197
1207
|
class?: any;
|
|
1198
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1208
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1199
1209
|
style?: CSSProperties | undefined;
|
|
1200
1210
|
class?: any;
|
|
1201
1211
|
} & RecordType>>;
|
|
1202
1212
|
readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
1203
1213
|
[key: string]: any;
|
|
1214
|
+
/**
|
|
1215
|
+
* 使用表头筛选 Hook
|
|
1216
|
+
* 使用 getter 函数传递 props 以保持响应性
|
|
1217
|
+
*/
|
|
1204
1218
|
style?: CSSProperties | undefined;
|
|
1205
1219
|
}>;
|
|
1206
1220
|
readonly fieldProps: PropsItemType<Partial<{
|
|
@@ -1262,12 +1276,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1262
1276
|
fieldInstance?: any;
|
|
1263
1277
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1264
1278
|
prop: string;
|
|
1265
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1279
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1266
1280
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1267
|
-
tooltip: string |
|
|
1281
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1268
1282
|
style?: CSSProperties | undefined;
|
|
1269
1283
|
class?: any;
|
|
1270
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1284
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1271
1285
|
style?: CSSProperties | undefined;
|
|
1272
1286
|
class?: any;
|
|
1273
1287
|
} & RecordType>>;
|
|
@@ -1296,19 +1310,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1296
1310
|
clearable: boolean;
|
|
1297
1311
|
index: number;
|
|
1298
1312
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1299
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1313
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1300
1314
|
readonly label: string | ComputedRef<string>;
|
|
1301
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1315
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1302
1316
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1303
|
-
readonly tooltip: string |
|
|
1317
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1304
1318
|
style?: CSSProperties | undefined;
|
|
1305
1319
|
class?: any;
|
|
1306
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1320
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1307
1321
|
style?: CSSProperties | undefined;
|
|
1308
1322
|
class?: any;
|
|
1309
1323
|
} & RecordType>>;
|
|
1310
1324
|
readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
1311
1325
|
[key: string]: any;
|
|
1326
|
+
/**
|
|
1327
|
+
* 使用表头筛选 Hook
|
|
1328
|
+
* 使用 getter 函数传递 props 以保持响应性
|
|
1329
|
+
*/
|
|
1312
1330
|
style?: CSSProperties | undefined;
|
|
1313
1331
|
}>;
|
|
1314
1332
|
readonly fieldProps: PropsItemType<Partial<{
|
|
@@ -1370,12 +1388,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1370
1388
|
fieldInstance?: any;
|
|
1371
1389
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1372
1390
|
prop: string;
|
|
1373
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1391
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1374
1392
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1375
|
-
tooltip: string |
|
|
1393
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1376
1394
|
style?: CSSProperties | undefined;
|
|
1377
1395
|
class?: any;
|
|
1378
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1396
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
1379
1397
|
style?: CSSProperties | undefined;
|
|
1380
1398
|
class?: any;
|
|
1381
1399
|
} & RecordType>>;
|
|
@@ -1427,10 +1445,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1427
1445
|
reset: (values: FieldValues) => void;
|
|
1428
1446
|
collapse: (isShowUnfold: boolean) => void;
|
|
1429
1447
|
}, string, {
|
|
1430
|
-
labelPosition: "left" | "right" | "top";
|
|
1431
|
-
modelValue: FieldValues;
|
|
1432
1448
|
columns: PlusColumn[];
|
|
1433
|
-
layout: "
|
|
1449
|
+
layout: "grid" | "flex";
|
|
1450
|
+
modelValue: FieldValues;
|
|
1451
|
+
labelPosition: "top" | "right" | "left";
|
|
1434
1452
|
inline: boolean;
|
|
1435
1453
|
showNumber: number;
|
|
1436
1454
|
defaultValues: FieldValues;
|
|
@@ -1475,22 +1493,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1475
1493
|
$nextTick: typeof nextTick;
|
|
1476
1494
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1477
1495
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1478
|
-
labelPosition: {
|
|
1479
|
-
type: PropType<"left" | "right" | "top">;
|
|
1480
|
-
default: undefined;
|
|
1481
|
-
};
|
|
1482
|
-
modelValue: {
|
|
1483
|
-
type: PropType<FieldValues>;
|
|
1484
|
-
default: () => {};
|
|
1485
|
-
};
|
|
1486
1496
|
columns: {
|
|
1487
1497
|
type: PropType<PlusColumn[]>;
|
|
1488
1498
|
default: () => never[];
|
|
1489
1499
|
};
|
|
1490
1500
|
layout: {
|
|
1491
|
-
type: PropType<"
|
|
1501
|
+
type: PropType<"grid" | "flex">;
|
|
1492
1502
|
default: "grid";
|
|
1493
1503
|
};
|
|
1504
|
+
modelValue: {
|
|
1505
|
+
type: PropType<FieldValues>;
|
|
1506
|
+
default: () => {};
|
|
1507
|
+
};
|
|
1508
|
+
labelPosition: {
|
|
1509
|
+
type: PropType<"top" | "right" | "left">;
|
|
1510
|
+
default: undefined;
|
|
1511
|
+
};
|
|
1494
1512
|
inline: {
|
|
1495
1513
|
type: PropType<boolean>;
|
|
1496
1514
|
default: boolean;
|
|
@@ -1574,9 +1592,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1574
1592
|
default: undefined;
|
|
1575
1593
|
};
|
|
1576
1594
|
}>> & {
|
|
1577
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1578
1595
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1579
1596
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1597
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1580
1598
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1581
1599
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1582
1600
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1584,14 +1602,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1584
1602
|
$: ComponentInternalInstance;
|
|
1585
1603
|
$data: {};
|
|
1586
1604
|
$props: Partial<{
|
|
1587
|
-
labelPosition: "left" | "right" | "top";
|
|
1588
|
-
modelValue: FieldValues;
|
|
1589
1605
|
collapseDuration: number;
|
|
1590
1606
|
collapseTransition: boolean;
|
|
1591
1607
|
columns: PlusColumn[];
|
|
1592
1608
|
group: false | PlusFormGroupRow[];
|
|
1593
|
-
layout: "
|
|
1609
|
+
layout: "grid" | "flex";
|
|
1610
|
+
modelValue: FieldValues;
|
|
1594
1611
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1612
|
+
labelPosition: "top" | "right" | "left";
|
|
1595
1613
|
labelWidth: string | number;
|
|
1596
1614
|
labelSuffix: string;
|
|
1597
1615
|
defaultValues: FieldValues;
|
|
@@ -1610,7 +1628,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1610
1628
|
submitText: string;
|
|
1611
1629
|
resetText: string;
|
|
1612
1630
|
submitLoading: boolean;
|
|
1613
|
-
footerAlign: "
|
|
1631
|
+
footerAlign: "right" | "left" | "center";
|
|
1614
1632
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1615
1633
|
style?: CSSProperties | undefined;
|
|
1616
1634
|
class?: any;
|
|
@@ -1618,11 +1636,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1618
1636
|
prevent: boolean;
|
|
1619
1637
|
clearable: boolean;
|
|
1620
1638
|
}> & Omit<{
|
|
1621
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
1622
|
-
readonly modelValue: FieldValues;
|
|
1623
1639
|
readonly columns: PlusColumn[];
|
|
1624
1640
|
readonly group: false | PlusFormGroupRow[];
|
|
1641
|
+
readonly modelValue: FieldValues;
|
|
1625
1642
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1643
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
1626
1644
|
readonly labelWidth: string | number;
|
|
1627
1645
|
readonly labelSuffix: string;
|
|
1628
1646
|
readonly defaultValues: FieldValues;
|
|
@@ -1641,7 +1659,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1641
1659
|
readonly submitText: string;
|
|
1642
1660
|
readonly resetText: string;
|
|
1643
1661
|
readonly submitLoading: boolean;
|
|
1644
|
-
readonly footerAlign: "
|
|
1662
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
1645
1663
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
1646
1664
|
style?: CSSProperties | undefined;
|
|
1647
1665
|
class?: any;
|
|
@@ -1650,22 +1668,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1650
1668
|
readonly clearable: boolean;
|
|
1651
1669
|
readonly collapseDuration?: number | undefined;
|
|
1652
1670
|
readonly collapseTransition?: boolean | undefined;
|
|
1653
|
-
readonly layout?: "
|
|
1654
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1671
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
1655
1672
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1656
1673
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1657
1674
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1675
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1658
1676
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1659
1677
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1660
1678
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1661
|
-
labelPosition: {
|
|
1662
|
-
type: PropType<"left" | "right" | "top">;
|
|
1663
|
-
default: string;
|
|
1664
|
-
};
|
|
1665
|
-
modelValue: {
|
|
1666
|
-
type: PropType<FieldValues>;
|
|
1667
|
-
default: () => {};
|
|
1668
|
-
};
|
|
1669
1679
|
collapseDuration: {
|
|
1670
1680
|
type: PropType<number>;
|
|
1671
1681
|
default: undefined;
|
|
@@ -1683,13 +1693,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1683
1693
|
default: boolean;
|
|
1684
1694
|
};
|
|
1685
1695
|
layout: {
|
|
1686
|
-
type: PropType<"
|
|
1696
|
+
type: PropType<"grid" | "flex">;
|
|
1687
1697
|
default: undefined;
|
|
1688
1698
|
};
|
|
1699
|
+
modelValue: {
|
|
1700
|
+
type: PropType<FieldValues>;
|
|
1701
|
+
default: () => {};
|
|
1702
|
+
};
|
|
1689
1703
|
rules: {
|
|
1690
1704
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1691
1705
|
default: () => {};
|
|
1692
1706
|
};
|
|
1707
|
+
labelPosition: {
|
|
1708
|
+
type: PropType<"top" | "right" | "left">;
|
|
1709
|
+
default: string;
|
|
1710
|
+
};
|
|
1693
1711
|
labelWidth: {
|
|
1694
1712
|
type: PropType<string | number>;
|
|
1695
1713
|
default: string;
|
|
@@ -1745,7 +1763,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1745
1763
|
default: boolean;
|
|
1746
1764
|
};
|
|
1747
1765
|
footerAlign: {
|
|
1748
|
-
type: PropType<"
|
|
1766
|
+
type: PropType<"right" | "left" | "center">;
|
|
1749
1767
|
default: string;
|
|
1750
1768
|
};
|
|
1751
1769
|
cardProps: {
|
|
@@ -1764,13 +1782,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1764
1782
|
default: boolean;
|
|
1765
1783
|
};
|
|
1766
1784
|
}>> & {
|
|
1767
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1768
1785
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1769
1786
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1770
1787
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1788
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1771
1789
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1772
1790
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1773
|
-
}, "
|
|
1791
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
1774
1792
|
$attrs: {
|
|
1775
1793
|
[x: string]: unknown;
|
|
1776
1794
|
};
|
|
@@ -1782,17 +1800,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1782
1800
|
}>;
|
|
1783
1801
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1784
1802
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1785
|
-
$emit: ((event: "
|
|
1803
|
+
$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);
|
|
1786
1804
|
$el: any;
|
|
1787
1805
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1788
|
-
labelPosition: {
|
|
1789
|
-
type: PropType<"left" | "right" | "top">;
|
|
1790
|
-
default: string;
|
|
1791
|
-
};
|
|
1792
|
-
modelValue: {
|
|
1793
|
-
type: PropType<FieldValues>;
|
|
1794
|
-
default: () => {};
|
|
1795
|
-
};
|
|
1796
1806
|
collapseDuration: {
|
|
1797
1807
|
type: PropType<number>;
|
|
1798
1808
|
default: undefined;
|
|
@@ -1810,13 +1820,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1810
1820
|
default: boolean;
|
|
1811
1821
|
};
|
|
1812
1822
|
layout: {
|
|
1813
|
-
type: PropType<"
|
|
1823
|
+
type: PropType<"grid" | "flex">;
|
|
1814
1824
|
default: undefined;
|
|
1815
1825
|
};
|
|
1826
|
+
modelValue: {
|
|
1827
|
+
type: PropType<FieldValues>;
|
|
1828
|
+
default: () => {};
|
|
1829
|
+
};
|
|
1816
1830
|
rules: {
|
|
1817
1831
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1818
1832
|
default: () => {};
|
|
1819
1833
|
};
|
|
1834
|
+
labelPosition: {
|
|
1835
|
+
type: PropType<"top" | "right" | "left">;
|
|
1836
|
+
default: string;
|
|
1837
|
+
};
|
|
1820
1838
|
labelWidth: {
|
|
1821
1839
|
type: PropType<string | number>;
|
|
1822
1840
|
default: string;
|
|
@@ -1872,7 +1890,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1872
1890
|
default: boolean;
|
|
1873
1891
|
};
|
|
1874
1892
|
footerAlign: {
|
|
1875
|
-
type: PropType<"
|
|
1893
|
+
type: PropType<"right" | "left" | "center">;
|
|
1876
1894
|
default: string;
|
|
1877
1895
|
};
|
|
1878
1896
|
cardProps: {
|
|
@@ -1891,10 +1909,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1891
1909
|
default: boolean;
|
|
1892
1910
|
};
|
|
1893
1911
|
}>> & {
|
|
1894
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1895
1912
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1896
1913
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1897
1914
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1915
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1898
1916
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1899
1917
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1900
1918
|
}, {
|
|
@@ -1909,14 +1927,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1909
1927
|
submitError: (errors: unknown) => void;
|
|
1910
1928
|
validate: (...args: any[]) => void;
|
|
1911
1929
|
}, string, {
|
|
1912
|
-
labelPosition: "left" | "right" | "top";
|
|
1913
|
-
modelValue: FieldValues;
|
|
1914
1930
|
collapseDuration: number;
|
|
1915
1931
|
collapseTransition: boolean;
|
|
1916
1932
|
columns: PlusColumn[];
|
|
1917
1933
|
group: false | PlusFormGroupRow[];
|
|
1918
|
-
layout: "
|
|
1934
|
+
layout: "grid" | "flex";
|
|
1935
|
+
modelValue: FieldValues;
|
|
1919
1936
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
1937
|
+
labelPosition: "top" | "right" | "left";
|
|
1920
1938
|
labelWidth: string | number;
|
|
1921
1939
|
labelSuffix: string;
|
|
1922
1940
|
defaultValues: FieldValues;
|
|
@@ -1935,7 +1953,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1935
1953
|
submitText: string;
|
|
1936
1954
|
resetText: string;
|
|
1937
1955
|
submitLoading: boolean;
|
|
1938
|
-
footerAlign: "
|
|
1956
|
+
footerAlign: "right" | "left" | "center";
|
|
1939
1957
|
cardProps: Partial< Mutable<CardProps> & {
|
|
1940
1958
|
style?: CSSProperties | undefined;
|
|
1941
1959
|
class?: any;
|
|
@@ -1963,14 +1981,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1963
1981
|
$nextTick: typeof nextTick;
|
|
1964
1982
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1965
1983
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1966
|
-
labelPosition: {
|
|
1967
|
-
type: PropType<"left" | "right" | "top">;
|
|
1968
|
-
default: string;
|
|
1969
|
-
};
|
|
1970
|
-
modelValue: {
|
|
1971
|
-
type: PropType<FieldValues>;
|
|
1972
|
-
default: () => {};
|
|
1973
|
-
};
|
|
1974
1984
|
collapseDuration: {
|
|
1975
1985
|
type: PropType<number>;
|
|
1976
1986
|
default: undefined;
|
|
@@ -1988,13 +1998,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1988
1998
|
default: boolean;
|
|
1989
1999
|
};
|
|
1990
2000
|
layout: {
|
|
1991
|
-
type: PropType<"
|
|
2001
|
+
type: PropType<"grid" | "flex">;
|
|
1992
2002
|
default: undefined;
|
|
1993
2003
|
};
|
|
2004
|
+
modelValue: {
|
|
2005
|
+
type: PropType<FieldValues>;
|
|
2006
|
+
default: () => {};
|
|
2007
|
+
};
|
|
1994
2008
|
rules: {
|
|
1995
2009
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
1996
2010
|
default: () => {};
|
|
1997
2011
|
};
|
|
2012
|
+
labelPosition: {
|
|
2013
|
+
type: PropType<"top" | "right" | "left">;
|
|
2014
|
+
default: string;
|
|
2015
|
+
};
|
|
1998
2016
|
labelWidth: {
|
|
1999
2017
|
type: PropType<string | number>;
|
|
2000
2018
|
default: string;
|
|
@@ -2050,7 +2068,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2050
2068
|
default: boolean;
|
|
2051
2069
|
};
|
|
2052
2070
|
footerAlign: {
|
|
2053
|
-
type: PropType<"
|
|
2071
|
+
type: PropType<"right" | "left" | "center">;
|
|
2054
2072
|
default: string;
|
|
2055
2073
|
};
|
|
2056
2074
|
cardProps: {
|
|
@@ -2069,10 +2087,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2069
2087
|
default: boolean;
|
|
2070
2088
|
};
|
|
2071
2089
|
}>> & {
|
|
2072
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2073
2090
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2074
2091
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2075
2092
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2093
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2076
2094
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2077
2095
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2078
2096
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2092,19 +2110,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2092
2110
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2093
2111
|
columns?: PlusColumn[] | undefined;
|
|
2094
2112
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2095
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2113
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2096
2114
|
readonly label: string | ComputedRef<string>;
|
|
2097
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2115
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2098
2116
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2099
|
-
readonly tooltip: string |
|
|
2117
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2100
2118
|
style?: CSSProperties | undefined;
|
|
2101
2119
|
class?: any;
|
|
2102
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2120
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2103
2121
|
style?: CSSProperties | undefined;
|
|
2104
2122
|
class?: any;
|
|
2105
2123
|
} & RecordType>>;
|
|
2106
2124
|
readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
2107
2125
|
[key: string]: any;
|
|
2126
|
+
/**
|
|
2127
|
+
* 使用表头筛选 Hook
|
|
2128
|
+
* 使用 getter 函数传递 props 以保持响应性
|
|
2129
|
+
*/
|
|
2108
2130
|
style?: CSSProperties | undefined;
|
|
2109
2131
|
}>;
|
|
2110
2132
|
readonly fieldProps: PropsItemType<Partial<{
|
|
@@ -2166,12 +2188,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2166
2188
|
fieldInstance?: any;
|
|
2167
2189
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2168
2190
|
prop: string;
|
|
2169
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2191
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2170
2192
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2171
|
-
tooltip: string |
|
|
2193
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2172
2194
|
style?: CSSProperties | undefined;
|
|
2173
2195
|
class?: any;
|
|
2174
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2196
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2175
2197
|
style?: CSSProperties | undefined;
|
|
2176
2198
|
class?: any;
|
|
2177
2199
|
} & RecordType>>;
|
|
@@ -2200,19 +2222,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2200
2222
|
clearable: boolean;
|
|
2201
2223
|
index: number;
|
|
2202
2224
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2203
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2225
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2204
2226
|
readonly label: string | ComputedRef<string>;
|
|
2205
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2227
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2206
2228
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2207
|
-
readonly tooltip: string |
|
|
2229
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2208
2230
|
style?: CSSProperties | undefined;
|
|
2209
2231
|
class?: any;
|
|
2210
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2232
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2211
2233
|
style?: CSSProperties | undefined;
|
|
2212
2234
|
class?: any;
|
|
2213
2235
|
} & RecordType>>;
|
|
2214
2236
|
readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
2215
2237
|
[key: string]: any;
|
|
2238
|
+
/**
|
|
2239
|
+
* 使用表头筛选 Hook
|
|
2240
|
+
* 使用 getter 函数传递 props 以保持响应性
|
|
2241
|
+
*/
|
|
2216
2242
|
style?: CSSProperties | undefined;
|
|
2217
2243
|
}>;
|
|
2218
2244
|
readonly fieldProps: PropsItemType<Partial<{
|
|
@@ -2274,12 +2300,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2274
2300
|
fieldInstance?: any;
|
|
2275
2301
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2276
2302
|
prop: string;
|
|
2277
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2303
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2278
2304
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2279
|
-
tooltip: string |
|
|
2305
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2280
2306
|
style?: CSSProperties | undefined;
|
|
2281
2307
|
class?: any;
|
|
2282
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2308
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2283
2309
|
style?: CSSProperties | undefined;
|
|
2284
2310
|
class?: any;
|
|
2285
2311
|
} & RecordType>>;
|
|
@@ -2326,19 +2352,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2326
2352
|
handleUnfold: (e: MouseEvent) => void;
|
|
2327
2353
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2328
2354
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2329
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
2355
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2330
2356
|
readonly label: string | ComputedRef<string>;
|
|
2331
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2357
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2332
2358
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2333
|
-
readonly tooltip: string |
|
|
2359
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2334
2360
|
style?: CSSProperties | undefined;
|
|
2335
2361
|
class?: any;
|
|
2336
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2362
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2337
2363
|
style?: CSSProperties | undefined;
|
|
2338
2364
|
class?: any;
|
|
2339
2365
|
} & RecordType>>;
|
|
2340
2366
|
readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
2341
2367
|
[key: string]: any;
|
|
2368
|
+
/**
|
|
2369
|
+
* 使用表头筛选 Hook
|
|
2370
|
+
* 使用 getter 函数传递 props 以保持响应性
|
|
2371
|
+
*/
|
|
2342
2372
|
style?: CSSProperties | undefined;
|
|
2343
2373
|
}>;
|
|
2344
2374
|
readonly fieldProps: PropsItemType<Partial<{
|
|
@@ -2400,12 +2430,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2400
2430
|
fieldInstance?: any;
|
|
2401
2431
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2402
2432
|
prop: string;
|
|
2403
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2433
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2404
2434
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2405
|
-
tooltip: string |
|
|
2435
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2406
2436
|
style?: CSSProperties | undefined;
|
|
2407
2437
|
class?: any;
|
|
2408
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2438
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
2409
2439
|
style?: CSSProperties | undefined;
|
|
2410
2440
|
class?: any;
|
|
2411
2441
|
} & RecordType>>;
|
|
@@ -2451,6 +2481,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2451
2481
|
columns: PlusColumn[];
|
|
2452
2482
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
2453
2483
|
row: any[];
|
|
2484
|
+
/** 分页配置 */
|
|
2454
2485
|
rowIndex: number;
|
|
2455
2486
|
column: TableColumnCtx<any[]>;
|
|
2456
2487
|
columnIndex: number;
|
|
@@ -2498,6 +2529,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2498
2529
|
readonly columns: PlusColumn[];
|
|
2499
2530
|
readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
2500
2531
|
row: any[];
|
|
2532
|
+
/** 分页配置 */
|
|
2501
2533
|
rowIndex: number;
|
|
2502
2534
|
column: TableColumnCtx<any[]>;
|
|
2503
2535
|
columnIndex: number;
|
|
@@ -2568,6 +2600,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2568
2600
|
headerCellStyle: {
|
|
2569
2601
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
2570
2602
|
row: any[];
|
|
2603
|
+
/** 分页配置 */
|
|
2571
2604
|
rowIndex: number;
|
|
2572
2605
|
column: TableColumnCtx<any[]>;
|
|
2573
2606
|
columnIndex: number;
|
|
@@ -2731,6 +2764,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2731
2764
|
headerCellStyle: {
|
|
2732
2765
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
2733
2766
|
row: any[];
|
|
2767
|
+
/** 分页配置 */
|
|
2734
2768
|
rowIndex: number;
|
|
2735
2769
|
column: TableColumnCtx<any[]>;
|
|
2736
2770
|
columnIndex: number;
|
|
@@ -2885,6 +2919,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2885
2919
|
columns: PlusColumn[];
|
|
2886
2920
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
2887
2921
|
row: any[];
|
|
2922
|
+
/** 分页配置 */
|
|
2888
2923
|
rowIndex: number;
|
|
2889
2924
|
column: TableColumnCtx<any[]>;
|
|
2890
2925
|
columnIndex: number;
|
|
@@ -2962,6 +2997,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2962
2997
|
headerCellStyle: {
|
|
2963
2998
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
2964
2999
|
row: any[];
|
|
3000
|
+
/** 分页配置 */
|
|
2965
3001
|
rowIndex: number;
|
|
2966
3002
|
column: TableColumnCtx<any[]>;
|
|
2967
3003
|
columnIndex: number;
|
|
@@ -3692,7 +3728,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3692
3728
|
columns: PlusColumn[];
|
|
3693
3729
|
immediate: boolean;
|
|
3694
3730
|
params: RecordType;
|
|
3695
|
-
pagination: false | Omit< PlusPaginationProps, "
|
|
3731
|
+
pagination: false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
3696
3732
|
columnsEmptyText: string;
|
|
3697
3733
|
postData: <T = RecordType[]>(data: T[]) => T[];
|
|
3698
3734
|
beforeSearchSubmit: <T_1 = RecordType>(params: T_1) => T_1;
|
|
@@ -3769,7 +3805,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3769
3805
|
required: true;
|
|
3770
3806
|
};
|
|
3771
3807
|
pagination: {
|
|
3772
|
-
type: PropType<false | Omit< PlusPaginationProps, "
|
|
3808
|
+
type: PropType<false | Omit< PlusPaginationProps, "total" | "modelValue" | "pageSizeList">>;
|
|
3773
3809
|
default: () => {};
|
|
3774
3810
|
};
|
|
3775
3811
|
columnsEmptyText: {
|
|
@@ -3842,10 +3878,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3842
3878
|
$: ComponentInternalInstance;
|
|
3843
3879
|
$data: {};
|
|
3844
3880
|
$props: Partial<{
|
|
3845
|
-
labelPosition: "left" | "right" | "top";
|
|
3846
|
-
modelValue: FieldValues;
|
|
3847
3881
|
columns: PlusColumn[];
|
|
3848
|
-
layout: "
|
|
3882
|
+
layout: "grid" | "flex";
|
|
3883
|
+
modelValue: FieldValues;
|
|
3884
|
+
labelPosition: "top" | "right" | "left";
|
|
3849
3885
|
inline: boolean;
|
|
3850
3886
|
showNumber: number;
|
|
3851
3887
|
defaultValues: FieldValues;
|
|
@@ -3870,9 +3906,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3870
3906
|
searchIcon: Component | null;
|
|
3871
3907
|
resetIcon: Component | null;
|
|
3872
3908
|
}> & Omit<{
|
|
3873
|
-
readonly modelValue: FieldValues;
|
|
3874
3909
|
readonly columns: PlusColumn[];
|
|
3875
|
-
readonly layout: "
|
|
3910
|
+
readonly layout: "grid" | "flex";
|
|
3911
|
+
readonly modelValue: FieldValues;
|
|
3876
3912
|
readonly inline: boolean;
|
|
3877
3913
|
readonly showNumber: number;
|
|
3878
3914
|
readonly defaultValues: FieldValues;
|
|
@@ -3894,31 +3930,31 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3894
3930
|
readonly expandText: string;
|
|
3895
3931
|
readonly searchLoading: boolean;
|
|
3896
3932
|
readonly needValidate: boolean;
|
|
3897
|
-
readonly labelPosition?: "
|
|
3933
|
+
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
3898
3934
|
readonly searchIcon?: Component | null | undefined;
|
|
3899
3935
|
readonly resetIcon?: Component | null | undefined;
|
|
3900
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3901
3936
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3902
3937
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
3938
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3903
3939
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
3904
3940
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
3905
3941
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3906
|
-
labelPosition: {
|
|
3907
|
-
type: PropType<"left" | "right" | "top">;
|
|
3908
|
-
default: undefined;
|
|
3909
|
-
};
|
|
3910
|
-
modelValue: {
|
|
3911
|
-
type: PropType<FieldValues>;
|
|
3912
|
-
default: () => {};
|
|
3913
|
-
};
|
|
3914
3942
|
columns: {
|
|
3915
3943
|
type: PropType<PlusColumn[]>;
|
|
3916
3944
|
default: () => never[];
|
|
3917
3945
|
};
|
|
3918
3946
|
layout: {
|
|
3919
|
-
type: PropType<"
|
|
3947
|
+
type: PropType<"grid" | "flex">;
|
|
3920
3948
|
default: "grid";
|
|
3921
3949
|
};
|
|
3950
|
+
modelValue: {
|
|
3951
|
+
type: PropType<FieldValues>;
|
|
3952
|
+
default: () => {};
|
|
3953
|
+
};
|
|
3954
|
+
labelPosition: {
|
|
3955
|
+
type: PropType<"top" | "right" | "left">;
|
|
3956
|
+
default: undefined;
|
|
3957
|
+
};
|
|
3922
3958
|
inline: {
|
|
3923
3959
|
type: PropType<boolean>;
|
|
3924
3960
|
default: boolean;
|
|
@@ -4002,12 +4038,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4002
4038
|
default: undefined;
|
|
4003
4039
|
};
|
|
4004
4040
|
}>> & {
|
|
4005
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4006
4041
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4007
4042
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4043
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4008
4044
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
4009
4045
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
4010
|
-
}, "
|
|
4046
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
4011
4047
|
$attrs: {
|
|
4012
4048
|
[x: string]: unknown;
|
|
4013
4049
|
};
|
|
@@ -4019,25 +4055,25 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4019
4055
|
}>;
|
|
4020
4056
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4021
4057
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4022
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "
|
|
4058
|
+
$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);
|
|
4023
4059
|
$el: any;
|
|
4024
4060
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4025
|
-
labelPosition: {
|
|
4026
|
-
type: PropType<"left" | "right" | "top">;
|
|
4027
|
-
default: undefined;
|
|
4028
|
-
};
|
|
4029
|
-
modelValue: {
|
|
4030
|
-
type: PropType<FieldValues>;
|
|
4031
|
-
default: () => {};
|
|
4032
|
-
};
|
|
4033
4061
|
columns: {
|
|
4034
4062
|
type: PropType<PlusColumn[]>;
|
|
4035
4063
|
default: () => never[];
|
|
4036
4064
|
};
|
|
4037
4065
|
layout: {
|
|
4038
|
-
type: PropType<"
|
|
4066
|
+
type: PropType<"grid" | "flex">;
|
|
4039
4067
|
default: "grid";
|
|
4040
4068
|
};
|
|
4069
|
+
modelValue: {
|
|
4070
|
+
type: PropType<FieldValues>;
|
|
4071
|
+
default: () => {};
|
|
4072
|
+
};
|
|
4073
|
+
labelPosition: {
|
|
4074
|
+
type: PropType<"top" | "right" | "left">;
|
|
4075
|
+
default: undefined;
|
|
4076
|
+
};
|
|
4041
4077
|
inline: {
|
|
4042
4078
|
type: PropType<boolean>;
|
|
4043
4079
|
default: boolean;
|
|
@@ -4121,9 +4157,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4121
4157
|
default: undefined;
|
|
4122
4158
|
};
|
|
4123
4159
|
}>> & {
|
|
4124
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4125
4160
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4126
4161
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4162
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4127
4163
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
4128
4164
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
4129
4165
|
}, {
|
|
@@ -4131,14 +4167,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4131
4167
|
$: ComponentInternalInstance;
|
|
4132
4168
|
$data: {};
|
|
4133
4169
|
$props: Partial<{
|
|
4134
|
-
labelPosition: "left" | "right" | "top";
|
|
4135
|
-
modelValue: FieldValues;
|
|
4136
4170
|
collapseDuration: number;
|
|
4137
4171
|
collapseTransition: boolean;
|
|
4138
4172
|
columns: PlusColumn[];
|
|
4139
4173
|
group: false | PlusFormGroupRow[];
|
|
4140
|
-
layout: "
|
|
4174
|
+
layout: "grid" | "flex";
|
|
4175
|
+
modelValue: FieldValues;
|
|
4141
4176
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4177
|
+
labelPosition: "top" | "right" | "left";
|
|
4142
4178
|
labelWidth: string | number;
|
|
4143
4179
|
labelSuffix: string;
|
|
4144
4180
|
defaultValues: FieldValues;
|
|
@@ -4157,7 +4193,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4157
4193
|
submitText: string;
|
|
4158
4194
|
resetText: string;
|
|
4159
4195
|
submitLoading: boolean;
|
|
4160
|
-
footerAlign: "
|
|
4196
|
+
footerAlign: "right" | "left" | "center";
|
|
4161
4197
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4162
4198
|
style?: CSSProperties | undefined;
|
|
4163
4199
|
class?: any;
|
|
@@ -4165,11 +4201,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4165
4201
|
prevent: boolean;
|
|
4166
4202
|
clearable: boolean;
|
|
4167
4203
|
}> & Omit<{
|
|
4168
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
4169
|
-
readonly modelValue: FieldValues;
|
|
4170
4204
|
readonly columns: PlusColumn[];
|
|
4171
4205
|
readonly group: false | PlusFormGroupRow[];
|
|
4206
|
+
readonly modelValue: FieldValues;
|
|
4172
4207
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4208
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
4173
4209
|
readonly labelWidth: string | number;
|
|
4174
4210
|
readonly labelSuffix: string;
|
|
4175
4211
|
readonly defaultValues: FieldValues;
|
|
@@ -4188,7 +4224,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4188
4224
|
readonly submitText: string;
|
|
4189
4225
|
readonly resetText: string;
|
|
4190
4226
|
readonly submitLoading: boolean;
|
|
4191
|
-
readonly footerAlign: "
|
|
4227
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
4192
4228
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
4193
4229
|
style?: CSSProperties | undefined;
|
|
4194
4230
|
class?: any;
|
|
@@ -4197,22 +4233,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4197
4233
|
readonly clearable: boolean;
|
|
4198
4234
|
readonly collapseDuration?: number | undefined;
|
|
4199
4235
|
readonly collapseTransition?: boolean | undefined;
|
|
4200
|
-
readonly layout?: "
|
|
4201
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4236
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
4202
4237
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4203
4238
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4204
4239
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4240
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4205
4241
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4206
4242
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4207
4243
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
4208
|
-
labelPosition: {
|
|
4209
|
-
type: PropType<"left" | "right" | "top">;
|
|
4210
|
-
default: string;
|
|
4211
|
-
};
|
|
4212
|
-
modelValue: {
|
|
4213
|
-
type: PropType<FieldValues>;
|
|
4214
|
-
default: () => {};
|
|
4215
|
-
};
|
|
4216
4244
|
collapseDuration: {
|
|
4217
4245
|
type: PropType<number>;
|
|
4218
4246
|
default: undefined;
|
|
@@ -4230,13 +4258,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4230
4258
|
default: boolean;
|
|
4231
4259
|
};
|
|
4232
4260
|
layout: {
|
|
4233
|
-
type: PropType<"
|
|
4261
|
+
type: PropType<"grid" | "flex">;
|
|
4234
4262
|
default: undefined;
|
|
4235
4263
|
};
|
|
4264
|
+
modelValue: {
|
|
4265
|
+
type: PropType<FieldValues>;
|
|
4266
|
+
default: () => {};
|
|
4267
|
+
};
|
|
4236
4268
|
rules: {
|
|
4237
4269
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4238
4270
|
default: () => {};
|
|
4239
4271
|
};
|
|
4272
|
+
labelPosition: {
|
|
4273
|
+
type: PropType<"top" | "right" | "left">;
|
|
4274
|
+
default: string;
|
|
4275
|
+
};
|
|
4240
4276
|
labelWidth: {
|
|
4241
4277
|
type: PropType<string | number>;
|
|
4242
4278
|
default: string;
|
|
@@ -4292,7 +4328,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4292
4328
|
default: boolean;
|
|
4293
4329
|
};
|
|
4294
4330
|
footerAlign: {
|
|
4295
|
-
type: PropType<"
|
|
4331
|
+
type: PropType<"right" | "left" | "center">;
|
|
4296
4332
|
default: string;
|
|
4297
4333
|
};
|
|
4298
4334
|
cardProps: {
|
|
@@ -4311,13 +4347,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4311
4347
|
default: boolean;
|
|
4312
4348
|
};
|
|
4313
4349
|
}>> & {
|
|
4314
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4315
4350
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4316
4351
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4317
4352
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4353
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4318
4354
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4319
4355
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4320
|
-
}, "
|
|
4356
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
4321
4357
|
$attrs: {
|
|
4322
4358
|
[x: string]: unknown;
|
|
4323
4359
|
};
|
|
@@ -4329,17 +4365,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4329
4365
|
}>;
|
|
4330
4366
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4331
4367
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4332
|
-
$emit: ((event: "
|
|
4368
|
+
$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);
|
|
4333
4369
|
$el: any;
|
|
4334
4370
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4335
|
-
labelPosition: {
|
|
4336
|
-
type: PropType<"left" | "right" | "top">;
|
|
4337
|
-
default: string;
|
|
4338
|
-
};
|
|
4339
|
-
modelValue: {
|
|
4340
|
-
type: PropType<FieldValues>;
|
|
4341
|
-
default: () => {};
|
|
4342
|
-
};
|
|
4343
4371
|
collapseDuration: {
|
|
4344
4372
|
type: PropType<number>;
|
|
4345
4373
|
default: undefined;
|
|
@@ -4357,13 +4385,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4357
4385
|
default: boolean;
|
|
4358
4386
|
};
|
|
4359
4387
|
layout: {
|
|
4360
|
-
type: PropType<"
|
|
4388
|
+
type: PropType<"grid" | "flex">;
|
|
4361
4389
|
default: undefined;
|
|
4362
4390
|
};
|
|
4391
|
+
modelValue: {
|
|
4392
|
+
type: PropType<FieldValues>;
|
|
4393
|
+
default: () => {};
|
|
4394
|
+
};
|
|
4363
4395
|
rules: {
|
|
4364
4396
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4365
4397
|
default: () => {};
|
|
4366
4398
|
};
|
|
4399
|
+
labelPosition: {
|
|
4400
|
+
type: PropType<"top" | "right" | "left">;
|
|
4401
|
+
default: string;
|
|
4402
|
+
};
|
|
4367
4403
|
labelWidth: {
|
|
4368
4404
|
type: PropType<string | number>;
|
|
4369
4405
|
default: string;
|
|
@@ -4419,7 +4455,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4419
4455
|
default: boolean;
|
|
4420
4456
|
};
|
|
4421
4457
|
footerAlign: {
|
|
4422
|
-
type: PropType<"
|
|
4458
|
+
type: PropType<"right" | "left" | "center">;
|
|
4423
4459
|
default: string;
|
|
4424
4460
|
};
|
|
4425
4461
|
cardProps: {
|
|
@@ -4438,10 +4474,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4438
4474
|
default: boolean;
|
|
4439
4475
|
};
|
|
4440
4476
|
}>> & {
|
|
4441
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4442
4477
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4443
4478
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4444
4479
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4480
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4445
4481
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4446
4482
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4447
4483
|
}, {
|
|
@@ -4456,14 +4492,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4456
4492
|
submitError: (errors: unknown) => void;
|
|
4457
4493
|
validate: (...args: any[]) => void;
|
|
4458
4494
|
}, string, {
|
|
4459
|
-
labelPosition: "left" | "right" | "top";
|
|
4460
|
-
modelValue: FieldValues;
|
|
4461
4495
|
collapseDuration: number;
|
|
4462
4496
|
collapseTransition: boolean;
|
|
4463
4497
|
columns: PlusColumn[];
|
|
4464
4498
|
group: false | PlusFormGroupRow[];
|
|
4465
|
-
layout: "
|
|
4499
|
+
layout: "grid" | "flex";
|
|
4500
|
+
modelValue: FieldValues;
|
|
4466
4501
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
4502
|
+
labelPosition: "top" | "right" | "left";
|
|
4467
4503
|
labelWidth: string | number;
|
|
4468
4504
|
labelSuffix: string;
|
|
4469
4505
|
defaultValues: FieldValues;
|
|
@@ -4482,7 +4518,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4482
4518
|
submitText: string;
|
|
4483
4519
|
resetText: string;
|
|
4484
4520
|
submitLoading: boolean;
|
|
4485
|
-
footerAlign: "
|
|
4521
|
+
footerAlign: "right" | "left" | "center";
|
|
4486
4522
|
cardProps: Partial< Mutable<CardProps> & {
|
|
4487
4523
|
style?: CSSProperties | undefined;
|
|
4488
4524
|
class?: any;
|
|
@@ -4510,14 +4546,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4510
4546
|
$nextTick: typeof nextTick;
|
|
4511
4547
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
4512
4548
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4513
|
-
labelPosition: {
|
|
4514
|
-
type: PropType<"left" | "right" | "top">;
|
|
4515
|
-
default: string;
|
|
4516
|
-
};
|
|
4517
|
-
modelValue: {
|
|
4518
|
-
type: PropType<FieldValues>;
|
|
4519
|
-
default: () => {};
|
|
4520
|
-
};
|
|
4521
4549
|
collapseDuration: {
|
|
4522
4550
|
type: PropType<number>;
|
|
4523
4551
|
default: undefined;
|
|
@@ -4535,13 +4563,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4535
4563
|
default: boolean;
|
|
4536
4564
|
};
|
|
4537
4565
|
layout: {
|
|
4538
|
-
type: PropType<"
|
|
4566
|
+
type: PropType<"grid" | "flex">;
|
|
4539
4567
|
default: undefined;
|
|
4540
4568
|
};
|
|
4569
|
+
modelValue: {
|
|
4570
|
+
type: PropType<FieldValues>;
|
|
4571
|
+
default: () => {};
|
|
4572
|
+
};
|
|
4541
4573
|
rules: {
|
|
4542
4574
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
4543
4575
|
default: () => {};
|
|
4544
4576
|
};
|
|
4577
|
+
labelPosition: {
|
|
4578
|
+
type: PropType<"top" | "right" | "left">;
|
|
4579
|
+
default: string;
|
|
4580
|
+
};
|
|
4545
4581
|
labelWidth: {
|
|
4546
4582
|
type: PropType<string | number>;
|
|
4547
4583
|
default: string;
|
|
@@ -4597,7 +4633,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4597
4633
|
default: boolean;
|
|
4598
4634
|
};
|
|
4599
4635
|
footerAlign: {
|
|
4600
|
-
type: PropType<"
|
|
4636
|
+
type: PropType<"right" | "left" | "center">;
|
|
4601
4637
|
default: string;
|
|
4602
4638
|
};
|
|
4603
4639
|
cardProps: {
|
|
@@ -4616,10 +4652,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4616
4652
|
default: boolean;
|
|
4617
4653
|
};
|
|
4618
4654
|
}>> & {
|
|
4619
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4620
4655
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4621
4656
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
4622
4657
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
4658
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4623
4659
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
4624
4660
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
4625
4661
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -4639,19 +4675,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4639
4675
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
4640
4676
|
columns?: PlusColumn[] | undefined;
|
|
4641
4677
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4642
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4678
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4643
4679
|
readonly label: string | ComputedRef<string>;
|
|
4644
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4680
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4645
4681
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4646
|
-
readonly tooltip: string |
|
|
4682
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4647
4683
|
style?: CSSProperties | undefined;
|
|
4648
4684
|
class?: any;
|
|
4649
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4685
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4650
4686
|
style?: CSSProperties | undefined;
|
|
4651
4687
|
class?: any;
|
|
4652
4688
|
} & RecordType>>;
|
|
4653
4689
|
readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
4654
4690
|
[key: string]: any;
|
|
4691
|
+
/**
|
|
4692
|
+
* 使用表头筛选 Hook
|
|
4693
|
+
* 使用 getter 函数传递 props 以保持响应性
|
|
4694
|
+
*/
|
|
4655
4695
|
style?: CSSProperties | undefined;
|
|
4656
4696
|
}>;
|
|
4657
4697
|
readonly fieldProps: PropsItemType<Partial<{
|
|
@@ -4713,12 +4753,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4713
4753
|
fieldInstance?: any;
|
|
4714
4754
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4715
4755
|
prop: string;
|
|
4716
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4756
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4717
4757
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4718
|
-
tooltip: string |
|
|
4758
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4719
4759
|
style?: CSSProperties | undefined;
|
|
4720
4760
|
class?: any;
|
|
4721
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4761
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4722
4762
|
style?: CSSProperties | undefined;
|
|
4723
4763
|
class?: any;
|
|
4724
4764
|
} & RecordType>>;
|
|
@@ -4747,19 +4787,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4747
4787
|
clearable: boolean;
|
|
4748
4788
|
index: number;
|
|
4749
4789
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
4750
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4790
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4751
4791
|
readonly label: string | ComputedRef<string>;
|
|
4752
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4792
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4753
4793
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4754
|
-
readonly tooltip: string |
|
|
4794
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4755
4795
|
style?: CSSProperties | undefined;
|
|
4756
4796
|
class?: any;
|
|
4757
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4797
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4758
4798
|
style?: CSSProperties | undefined;
|
|
4759
4799
|
class?: any;
|
|
4760
4800
|
} & RecordType>>;
|
|
4761
4801
|
readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
4762
4802
|
[key: string]: any;
|
|
4803
|
+
/**
|
|
4804
|
+
* 使用表头筛选 Hook
|
|
4805
|
+
* 使用 getter 函数传递 props 以保持响应性
|
|
4806
|
+
*/
|
|
4763
4807
|
style?: CSSProperties | undefined;
|
|
4764
4808
|
}>;
|
|
4765
4809
|
readonly fieldProps: PropsItemType<Partial<{
|
|
@@ -4821,12 +4865,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4821
4865
|
fieldInstance?: any;
|
|
4822
4866
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4823
4867
|
prop: string;
|
|
4824
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4868
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4825
4869
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4826
|
-
tooltip: string |
|
|
4870
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4827
4871
|
style?: CSSProperties | undefined;
|
|
4828
4872
|
class?: any;
|
|
4829
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4873
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4830
4874
|
style?: CSSProperties | undefined;
|
|
4831
4875
|
class?: any;
|
|
4832
4876
|
} & RecordType>>;
|
|
@@ -4878,10 +4922,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4878
4922
|
reset: (values: FieldValues) => void;
|
|
4879
4923
|
collapse: (isShowUnfold: boolean) => void;
|
|
4880
4924
|
}, string, {
|
|
4881
|
-
labelPosition: "left" | "right" | "top";
|
|
4882
|
-
modelValue: FieldValues;
|
|
4883
4925
|
columns: PlusColumn[];
|
|
4884
|
-
layout: "
|
|
4926
|
+
layout: "grid" | "flex";
|
|
4927
|
+
modelValue: FieldValues;
|
|
4928
|
+
labelPosition: "top" | "right" | "left";
|
|
4885
4929
|
inline: boolean;
|
|
4886
4930
|
showNumber: number;
|
|
4887
4931
|
defaultValues: FieldValues;
|
|
@@ -4926,22 +4970,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4926
4970
|
$nextTick: typeof nextTick;
|
|
4927
4971
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
4928
4972
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4929
|
-
labelPosition: {
|
|
4930
|
-
type: PropType<"left" | "right" | "top">;
|
|
4931
|
-
default: undefined;
|
|
4932
|
-
};
|
|
4933
|
-
modelValue: {
|
|
4934
|
-
type: PropType<FieldValues>;
|
|
4935
|
-
default: () => {};
|
|
4936
|
-
};
|
|
4937
4973
|
columns: {
|
|
4938
4974
|
type: PropType<PlusColumn[]>;
|
|
4939
4975
|
default: () => never[];
|
|
4940
4976
|
};
|
|
4941
4977
|
layout: {
|
|
4942
|
-
type: PropType<"
|
|
4978
|
+
type: PropType<"grid" | "flex">;
|
|
4943
4979
|
default: "grid";
|
|
4944
4980
|
};
|
|
4981
|
+
modelValue: {
|
|
4982
|
+
type: PropType<FieldValues>;
|
|
4983
|
+
default: () => {};
|
|
4984
|
+
};
|
|
4985
|
+
labelPosition: {
|
|
4986
|
+
type: PropType<"top" | "right" | "left">;
|
|
4987
|
+
default: undefined;
|
|
4988
|
+
};
|
|
4945
4989
|
inline: {
|
|
4946
4990
|
type: PropType<boolean>;
|
|
4947
4991
|
default: boolean;
|
|
@@ -5025,9 +5069,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5025
5069
|
default: undefined;
|
|
5026
5070
|
};
|
|
5027
5071
|
}>> & {
|
|
5028
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5029
5072
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5030
5073
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5074
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5031
5075
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
5032
5076
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
5033
5077
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -5035,14 +5079,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5035
5079
|
$: ComponentInternalInstance;
|
|
5036
5080
|
$data: {};
|
|
5037
5081
|
$props: Partial<{
|
|
5038
|
-
labelPosition: "left" | "right" | "top";
|
|
5039
|
-
modelValue: FieldValues;
|
|
5040
5082
|
collapseDuration: number;
|
|
5041
5083
|
collapseTransition: boolean;
|
|
5042
5084
|
columns: PlusColumn[];
|
|
5043
5085
|
group: false | PlusFormGroupRow[];
|
|
5044
|
-
layout: "
|
|
5086
|
+
layout: "grid" | "flex";
|
|
5087
|
+
modelValue: FieldValues;
|
|
5045
5088
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5089
|
+
labelPosition: "top" | "right" | "left";
|
|
5046
5090
|
labelWidth: string | number;
|
|
5047
5091
|
labelSuffix: string;
|
|
5048
5092
|
defaultValues: FieldValues;
|
|
@@ -5061,7 +5105,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5061
5105
|
submitText: string;
|
|
5062
5106
|
resetText: string;
|
|
5063
5107
|
submitLoading: boolean;
|
|
5064
|
-
footerAlign: "
|
|
5108
|
+
footerAlign: "right" | "left" | "center";
|
|
5065
5109
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5066
5110
|
style?: CSSProperties | undefined;
|
|
5067
5111
|
class?: any;
|
|
@@ -5069,11 +5113,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5069
5113
|
prevent: boolean;
|
|
5070
5114
|
clearable: boolean;
|
|
5071
5115
|
}> & Omit<{
|
|
5072
|
-
readonly labelPosition: "left" | "right" | "top";
|
|
5073
|
-
readonly modelValue: FieldValues;
|
|
5074
5116
|
readonly columns: PlusColumn[];
|
|
5075
5117
|
readonly group: false | PlusFormGroupRow[];
|
|
5118
|
+
readonly modelValue: FieldValues;
|
|
5076
5119
|
readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5120
|
+
readonly labelPosition: "top" | "right" | "left";
|
|
5077
5121
|
readonly labelWidth: string | number;
|
|
5078
5122
|
readonly labelSuffix: string;
|
|
5079
5123
|
readonly defaultValues: FieldValues;
|
|
@@ -5092,7 +5136,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5092
5136
|
readonly submitText: string;
|
|
5093
5137
|
readonly resetText: string;
|
|
5094
5138
|
readonly submitLoading: boolean;
|
|
5095
|
-
readonly footerAlign: "
|
|
5139
|
+
readonly footerAlign: "right" | "left" | "center";
|
|
5096
5140
|
readonly cardProps: Partial< Mutable<CardProps> & {
|
|
5097
5141
|
style?: CSSProperties | undefined;
|
|
5098
5142
|
class?: any;
|
|
@@ -5101,22 +5145,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5101
5145
|
readonly clearable: boolean;
|
|
5102
5146
|
readonly collapseDuration?: number | undefined;
|
|
5103
5147
|
readonly collapseTransition?: boolean | undefined;
|
|
5104
|
-
readonly layout?: "
|
|
5105
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5148
|
+
readonly layout?: "grid" | "flex" | undefined;
|
|
5106
5149
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5107
5150
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5108
5151
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5152
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5109
5153
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5110
5154
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5111
5155
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
5112
|
-
labelPosition: {
|
|
5113
|
-
type: PropType<"left" | "right" | "top">;
|
|
5114
|
-
default: string;
|
|
5115
|
-
};
|
|
5116
|
-
modelValue: {
|
|
5117
|
-
type: PropType<FieldValues>;
|
|
5118
|
-
default: () => {};
|
|
5119
|
-
};
|
|
5120
5156
|
collapseDuration: {
|
|
5121
5157
|
type: PropType<number>;
|
|
5122
5158
|
default: undefined;
|
|
@@ -5134,13 +5170,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5134
5170
|
default: boolean;
|
|
5135
5171
|
};
|
|
5136
5172
|
layout: {
|
|
5137
|
-
type: PropType<"
|
|
5173
|
+
type: PropType<"grid" | "flex">;
|
|
5138
5174
|
default: undefined;
|
|
5139
5175
|
};
|
|
5176
|
+
modelValue: {
|
|
5177
|
+
type: PropType<FieldValues>;
|
|
5178
|
+
default: () => {};
|
|
5179
|
+
};
|
|
5140
5180
|
rules: {
|
|
5141
5181
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5142
5182
|
default: () => {};
|
|
5143
5183
|
};
|
|
5184
|
+
labelPosition: {
|
|
5185
|
+
type: PropType<"top" | "right" | "left">;
|
|
5186
|
+
default: string;
|
|
5187
|
+
};
|
|
5144
5188
|
labelWidth: {
|
|
5145
5189
|
type: PropType<string | number>;
|
|
5146
5190
|
default: string;
|
|
@@ -5196,7 +5240,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5196
5240
|
default: boolean;
|
|
5197
5241
|
};
|
|
5198
5242
|
footerAlign: {
|
|
5199
|
-
type: PropType<"
|
|
5243
|
+
type: PropType<"right" | "left" | "center">;
|
|
5200
5244
|
default: string;
|
|
5201
5245
|
};
|
|
5202
5246
|
cardProps: {
|
|
@@ -5215,13 +5259,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5215
5259
|
default: boolean;
|
|
5216
5260
|
};
|
|
5217
5261
|
}>> & {
|
|
5218
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5219
5262
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5220
5263
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5221
5264
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5265
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5222
5266
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5223
5267
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5224
|
-
}, "
|
|
5268
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
5225
5269
|
$attrs: {
|
|
5226
5270
|
[x: string]: unknown;
|
|
5227
5271
|
};
|
|
@@ -5233,17 +5277,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5233
5277
|
}>;
|
|
5234
5278
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5235
5279
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
5236
|
-
$emit: ((event: "
|
|
5280
|
+
$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);
|
|
5237
5281
|
$el: any;
|
|
5238
5282
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
5239
|
-
labelPosition: {
|
|
5240
|
-
type: PropType<"left" | "right" | "top">;
|
|
5241
|
-
default: string;
|
|
5242
|
-
};
|
|
5243
|
-
modelValue: {
|
|
5244
|
-
type: PropType<FieldValues>;
|
|
5245
|
-
default: () => {};
|
|
5246
|
-
};
|
|
5247
5283
|
collapseDuration: {
|
|
5248
5284
|
type: PropType<number>;
|
|
5249
5285
|
default: undefined;
|
|
@@ -5261,13 +5297,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5261
5297
|
default: boolean;
|
|
5262
5298
|
};
|
|
5263
5299
|
layout: {
|
|
5264
|
-
type: PropType<"
|
|
5300
|
+
type: PropType<"grid" | "flex">;
|
|
5265
5301
|
default: undefined;
|
|
5266
5302
|
};
|
|
5303
|
+
modelValue: {
|
|
5304
|
+
type: PropType<FieldValues>;
|
|
5305
|
+
default: () => {};
|
|
5306
|
+
};
|
|
5267
5307
|
rules: {
|
|
5268
5308
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5269
5309
|
default: () => {};
|
|
5270
5310
|
};
|
|
5311
|
+
labelPosition: {
|
|
5312
|
+
type: PropType<"top" | "right" | "left">;
|
|
5313
|
+
default: string;
|
|
5314
|
+
};
|
|
5271
5315
|
labelWidth: {
|
|
5272
5316
|
type: PropType<string | number>;
|
|
5273
5317
|
default: string;
|
|
@@ -5323,7 +5367,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5323
5367
|
default: boolean;
|
|
5324
5368
|
};
|
|
5325
5369
|
footerAlign: {
|
|
5326
|
-
type: PropType<"
|
|
5370
|
+
type: PropType<"right" | "left" | "center">;
|
|
5327
5371
|
default: string;
|
|
5328
5372
|
};
|
|
5329
5373
|
cardProps: {
|
|
@@ -5342,10 +5386,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5342
5386
|
default: boolean;
|
|
5343
5387
|
};
|
|
5344
5388
|
}>> & {
|
|
5345
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5346
5389
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5347
5390
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5348
5391
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5392
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5349
5393
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5350
5394
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5351
5395
|
}, {
|
|
@@ -5360,14 +5404,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5360
5404
|
submitError: (errors: unknown) => void;
|
|
5361
5405
|
validate: (...args: any[]) => void;
|
|
5362
5406
|
}, string, {
|
|
5363
|
-
labelPosition: "left" | "right" | "top";
|
|
5364
|
-
modelValue: FieldValues;
|
|
5365
5407
|
collapseDuration: number;
|
|
5366
5408
|
collapseTransition: boolean;
|
|
5367
5409
|
columns: PlusColumn[];
|
|
5368
5410
|
group: false | PlusFormGroupRow[];
|
|
5369
|
-
layout: "
|
|
5411
|
+
layout: "grid" | "flex";
|
|
5412
|
+
modelValue: FieldValues;
|
|
5370
5413
|
rules: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
5414
|
+
labelPosition: "top" | "right" | "left";
|
|
5371
5415
|
labelWidth: string | number;
|
|
5372
5416
|
labelSuffix: string;
|
|
5373
5417
|
defaultValues: FieldValues;
|
|
@@ -5386,7 +5430,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5386
5430
|
submitText: string;
|
|
5387
5431
|
resetText: string;
|
|
5388
5432
|
submitLoading: boolean;
|
|
5389
|
-
footerAlign: "
|
|
5433
|
+
footerAlign: "right" | "left" | "center";
|
|
5390
5434
|
cardProps: Partial< Mutable<CardProps> & {
|
|
5391
5435
|
style?: CSSProperties | undefined;
|
|
5392
5436
|
class?: any;
|
|
@@ -5414,14 +5458,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5414
5458
|
$nextTick: typeof nextTick;
|
|
5415
5459
|
$watch<T_2 extends string | ((...args: any) => any)>(source: T_2, cb: T_2 extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
5416
5460
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
5417
|
-
labelPosition: {
|
|
5418
|
-
type: PropType<"left" | "right" | "top">;
|
|
5419
|
-
default: string;
|
|
5420
|
-
};
|
|
5421
|
-
modelValue: {
|
|
5422
|
-
type: PropType<FieldValues>;
|
|
5423
|
-
default: () => {};
|
|
5424
|
-
};
|
|
5425
5461
|
collapseDuration: {
|
|
5426
5462
|
type: PropType<number>;
|
|
5427
5463
|
default: undefined;
|
|
@@ -5439,13 +5475,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5439
5475
|
default: boolean;
|
|
5440
5476
|
};
|
|
5441
5477
|
layout: {
|
|
5442
|
-
type: PropType<"
|
|
5478
|
+
type: PropType<"grid" | "flex">;
|
|
5443
5479
|
default: undefined;
|
|
5444
5480
|
};
|
|
5481
|
+
modelValue: {
|
|
5482
|
+
type: PropType<FieldValues>;
|
|
5483
|
+
default: () => {};
|
|
5484
|
+
};
|
|
5445
5485
|
rules: {
|
|
5446
5486
|
type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
5447
5487
|
default: () => {};
|
|
5448
5488
|
};
|
|
5489
|
+
labelPosition: {
|
|
5490
|
+
type: PropType<"top" | "right" | "left">;
|
|
5491
|
+
default: string;
|
|
5492
|
+
};
|
|
5449
5493
|
labelWidth: {
|
|
5450
5494
|
type: PropType<string | number>;
|
|
5451
5495
|
default: string;
|
|
@@ -5501,7 +5545,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5501
5545
|
default: boolean;
|
|
5502
5546
|
};
|
|
5503
5547
|
footerAlign: {
|
|
5504
|
-
type: PropType<"
|
|
5548
|
+
type: PropType<"right" | "left" | "center">;
|
|
5505
5549
|
default: string;
|
|
5506
5550
|
};
|
|
5507
5551
|
cardProps: {
|
|
@@ -5520,10 +5564,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5520
5564
|
default: boolean;
|
|
5521
5565
|
};
|
|
5522
5566
|
}>> & {
|
|
5523
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5524
5567
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5525
5568
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
5526
5569
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
5570
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5527
5571
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
5528
5572
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
5529
5573
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -5543,19 +5587,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5543
5587
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
5544
5588
|
columns?: PlusColumn[] | undefined;
|
|
5545
5589
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5546
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5590
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5547
5591
|
readonly label: string | ComputedRef<string>;
|
|
5548
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5592
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5549
5593
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5550
|
-
readonly tooltip: string |
|
|
5594
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5551
5595
|
style?: CSSProperties | undefined;
|
|
5552
5596
|
class?: any;
|
|
5553
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5597
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5554
5598
|
style?: CSSProperties | undefined;
|
|
5555
5599
|
class?: any;
|
|
5556
5600
|
} & RecordType>>;
|
|
5557
5601
|
readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
5558
5602
|
[key: string]: any;
|
|
5603
|
+
/**
|
|
5604
|
+
* 使用表头筛选 Hook
|
|
5605
|
+
* 使用 getter 函数传递 props 以保持响应性
|
|
5606
|
+
*/
|
|
5559
5607
|
style?: CSSProperties | undefined;
|
|
5560
5608
|
}>;
|
|
5561
5609
|
readonly fieldProps: PropsItemType<Partial<{
|
|
@@ -5617,12 +5665,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5617
5665
|
fieldInstance?: any;
|
|
5618
5666
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5619
5667
|
prop: string;
|
|
5620
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5668
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5621
5669
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5622
|
-
tooltip: string |
|
|
5670
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5623
5671
|
style?: CSSProperties | undefined;
|
|
5624
5672
|
class?: any;
|
|
5625
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5673
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5626
5674
|
style?: CSSProperties | undefined;
|
|
5627
5675
|
class?: any;
|
|
5628
5676
|
} & RecordType>>;
|
|
@@ -5651,19 +5699,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5651
5699
|
clearable: boolean;
|
|
5652
5700
|
index: number;
|
|
5653
5701
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
5654
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5702
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5655
5703
|
readonly label: string | ComputedRef<string>;
|
|
5656
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5704
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5657
5705
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5658
|
-
readonly tooltip: string |
|
|
5706
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5659
5707
|
style?: CSSProperties | undefined;
|
|
5660
5708
|
class?: any;
|
|
5661
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5709
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5662
5710
|
style?: CSSProperties | undefined;
|
|
5663
5711
|
class?: any;
|
|
5664
5712
|
} & RecordType>>;
|
|
5665
5713
|
readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
5666
5714
|
[key: string]: any;
|
|
5715
|
+
/**
|
|
5716
|
+
* 使用表头筛选 Hook
|
|
5717
|
+
* 使用 getter 函数传递 props 以保持响应性
|
|
5718
|
+
*/
|
|
5667
5719
|
style?: CSSProperties | undefined;
|
|
5668
5720
|
}>;
|
|
5669
5721
|
readonly fieldProps: PropsItemType<Partial<{
|
|
@@ -5725,12 +5777,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5725
5777
|
fieldInstance?: any;
|
|
5726
5778
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5727
5779
|
prop: string;
|
|
5728
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5780
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5729
5781
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5730
|
-
tooltip: string |
|
|
5782
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5731
5783
|
style?: CSSProperties | undefined;
|
|
5732
5784
|
class?: any;
|
|
5733
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5785
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5734
5786
|
style?: CSSProperties | undefined;
|
|
5735
5787
|
class?: any;
|
|
5736
5788
|
} & RecordType>>;
|
|
@@ -5777,19 +5829,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5777
5829
|
handleUnfold: (e: MouseEvent) => void;
|
|
5778
5830
|
}> & {} & ComponentCustomProperties & {} & {
|
|
5779
5831
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
5780
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
5832
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5781
5833
|
readonly label: string | ComputedRef<string>;
|
|
5782
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
5834
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5783
5835
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5784
|
-
readonly tooltip: string |
|
|
5836
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5785
5837
|
style?: CSSProperties | undefined;
|
|
5786
5838
|
class?: any;
|
|
5787
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5839
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5788
5840
|
style?: CSSProperties | undefined;
|
|
5789
5841
|
class?: any;
|
|
5790
5842
|
} & RecordType>>;
|
|
5791
5843
|
readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
5792
5844
|
[key: string]: any;
|
|
5845
|
+
/**
|
|
5846
|
+
* 使用表头筛选 Hook
|
|
5847
|
+
* 使用 getter 函数传递 props 以保持响应性
|
|
5848
|
+
*/
|
|
5793
5849
|
style?: CSSProperties | undefined;
|
|
5794
5850
|
}>;
|
|
5795
5851
|
readonly fieldProps: PropsItemType<Partial<{
|
|
@@ -5851,12 +5907,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5851
5907
|
fieldInstance?: any;
|
|
5852
5908
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5853
5909
|
prop: string;
|
|
5854
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
5910
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5855
5911
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5856
|
-
tooltip: string |
|
|
5912
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5857
5913
|
style?: CSSProperties | undefined;
|
|
5858
5914
|
class?: any;
|
|
5859
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5915
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
5860
5916
|
style?: CSSProperties | undefined;
|
|
5861
5917
|
class?: any;
|
|
5862
5918
|
} & RecordType>>;
|
|
@@ -5902,6 +5958,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5902
5958
|
columns: PlusColumn[];
|
|
5903
5959
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
5904
5960
|
row: any[];
|
|
5961
|
+
/** 分页配置 */
|
|
5905
5962
|
rowIndex: number;
|
|
5906
5963
|
column: TableColumnCtx<any[]>;
|
|
5907
5964
|
columnIndex: number;
|
|
@@ -5949,6 +6006,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5949
6006
|
readonly columns: PlusColumn[];
|
|
5950
6007
|
readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
5951
6008
|
row: any[];
|
|
6009
|
+
/** 分页配置 */
|
|
5952
6010
|
rowIndex: number;
|
|
5953
6011
|
column: TableColumnCtx<any[]>;
|
|
5954
6012
|
columnIndex: number;
|
|
@@ -6019,6 +6077,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6019
6077
|
headerCellStyle: {
|
|
6020
6078
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
6021
6079
|
row: any[];
|
|
6080
|
+
/** 分页配置 */
|
|
6022
6081
|
rowIndex: number;
|
|
6023
6082
|
column: TableColumnCtx<any[]>;
|
|
6024
6083
|
columnIndex: number;
|
|
@@ -6182,6 +6241,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6182
6241
|
headerCellStyle: {
|
|
6183
6242
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
6184
6243
|
row: any[];
|
|
6244
|
+
/** 分页配置 */
|
|
6185
6245
|
rowIndex: number;
|
|
6186
6246
|
column: TableColumnCtx<any[]>;
|
|
6187
6247
|
columnIndex: number;
|
|
@@ -6336,6 +6396,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6336
6396
|
columns: PlusColumn[];
|
|
6337
6397
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
6338
6398
|
row: any[];
|
|
6399
|
+
/** 分页配置 */
|
|
6339
6400
|
rowIndex: number;
|
|
6340
6401
|
column: TableColumnCtx<any[]>;
|
|
6341
6402
|
columnIndex: number;
|
|
@@ -6413,6 +6474,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
6413
6474
|
headerCellStyle: {
|
|
6414
6475
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
6415
6476
|
row: any[];
|
|
6477
|
+
/** 分页配置 */
|
|
6416
6478
|
rowIndex: number;
|
|
6417
6479
|
column: TableColumnCtx<any[]>;
|
|
6418
6480
|
columnIndex: number;
|
|
@@ -7127,19 +7189,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7127
7189
|
setTableData: (data?: RecordType[] | undefined, _total?: number | undefined) => void;
|
|
7128
7190
|
}> & {} & ComponentCustomProperties & {} & {
|
|
7129
7191
|
$slots: Partial<Record<never, (_: {
|
|
7130
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
7192
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
7131
7193
|
readonly label: string | ComputedRef<string>;
|
|
7132
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
7194
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7133
7195
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7134
|
-
readonly tooltip: string |
|
|
7196
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7135
7197
|
style?: CSSProperties | undefined;
|
|
7136
7198
|
class?: any;
|
|
7137
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7199
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7138
7200
|
style?: CSSProperties | undefined;
|
|
7139
7201
|
class?: any;
|
|
7140
7202
|
} & RecordType>>;
|
|
7141
7203
|
readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
7142
7204
|
[key: string]: any;
|
|
7205
|
+
/**
|
|
7206
|
+
* 使用表头筛选 Hook
|
|
7207
|
+
* 使用 getter 函数传递 props 以保持响应性
|
|
7208
|
+
*/
|
|
7143
7209
|
style?: CSSProperties | undefined;
|
|
7144
7210
|
}>;
|
|
7145
7211
|
readonly fieldProps: PropsItemType<Partial<{
|
|
@@ -7201,12 +7267,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7201
7267
|
fieldInstance?: any;
|
|
7202
7268
|
valueIsReady?: Ref<boolean> | undefined;
|
|
7203
7269
|
prop: string;
|
|
7204
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
7270
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7205
7271
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7206
|
-
tooltip: string |
|
|
7272
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7207
7273
|
style?: CSSProperties | undefined;
|
|
7208
7274
|
class?: any;
|
|
7209
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7275
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7210
7276
|
style?: CSSProperties | undefined;
|
|
7211
7277
|
class?: any;
|
|
7212
7278
|
} & RecordType>>;
|
|
@@ -7270,6 +7336,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7270
7336
|
columns: PlusColumn[];
|
|
7271
7337
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
7272
7338
|
row: any[];
|
|
7339
|
+
/** 分页配置 */
|
|
7273
7340
|
rowIndex: number;
|
|
7274
7341
|
column: TableColumnCtx<any[]>;
|
|
7275
7342
|
columnIndex: number;
|
|
@@ -7317,6 +7384,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7317
7384
|
readonly columns: PlusColumn[];
|
|
7318
7385
|
readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
7319
7386
|
row: any[];
|
|
7387
|
+
/** 分页配置 */
|
|
7320
7388
|
rowIndex: number;
|
|
7321
7389
|
column: TableColumnCtx<any[]>;
|
|
7322
7390
|
columnIndex: number;
|
|
@@ -7387,6 +7455,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7387
7455
|
headerCellStyle: {
|
|
7388
7456
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
7389
7457
|
row: any[];
|
|
7458
|
+
/** 分页配置 */
|
|
7390
7459
|
rowIndex: number;
|
|
7391
7460
|
column: TableColumnCtx<any[]>;
|
|
7392
7461
|
columnIndex: number;
|
|
@@ -7550,6 +7619,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7550
7619
|
headerCellStyle: {
|
|
7551
7620
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
7552
7621
|
row: any[];
|
|
7622
|
+
/** 分页配置 */
|
|
7553
7623
|
rowIndex: number;
|
|
7554
7624
|
column: TableColumnCtx<any[]>;
|
|
7555
7625
|
columnIndex: number;
|
|
@@ -7704,6 +7774,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7704
7774
|
columns: PlusColumn[];
|
|
7705
7775
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
7706
7776
|
row: any[];
|
|
7777
|
+
/** 分页配置 */
|
|
7707
7778
|
rowIndex: number;
|
|
7708
7779
|
column: TableColumnCtx<any[]>;
|
|
7709
7780
|
columnIndex: number;
|
|
@@ -7781,6 +7852,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7781
7852
|
headerCellStyle: {
|
|
7782
7853
|
type: PropType<Partial< CSSProperties> | Partial<(data: {
|
|
7783
7854
|
row: any[];
|
|
7855
|
+
/** 分页配置 */
|
|
7784
7856
|
rowIndex: number;
|
|
7785
7857
|
column: TableColumnCtx<any[]>;
|
|
7786
7858
|
columnIndex: number;
|
|
@@ -7961,6 +8033,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7961
8033
|
resetAllHeaderFilters: (defaults?: {
|
|
7962
8034
|
field: string;
|
|
7963
8035
|
op: string;
|
|
8036
|
+
/** 表格卡片属性配置 */
|
|
7964
8037
|
value?: string | undefined;
|
|
7965
8038
|
}[] | undefined) => void;
|
|
7966
8039
|
getList: () => Promise<void> | undefined;
|
|
@@ -7997,20 +8070,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
7997
8070
|
columnCacheKey: undefined;
|
|
7998
8071
|
disableColumnCache: boolean;
|
|
7999
8072
|
columnSettingsText: undefined;
|
|
8073
|
+
dragScroll: boolean;
|
|
8000
8074
|
}>>> & {
|
|
8001
8075
|
"onHeader-filter-confirm"?: ((payload: HeaderFilterPayload) => any) | undefined;
|
|
8002
8076
|
"onHeader-filter-reset"?: ((payload: HeaderFilterResetPayload) => any) | undefined;
|
|
8003
8077
|
}, {
|
|
8004
|
-
showSearch: boolean;
|
|
8005
|
-
columnSettingsText: string;
|
|
8006
8078
|
search: false | Partial<PlusSearchSelfProps & Record<string, unknown>>;
|
|
8007
8079
|
headerFilter: boolean | HeaderFilterConfig;
|
|
8008
8080
|
pagination: false | Record<string, unknown>;
|
|
8081
|
+
showSearch: boolean;
|
|
8082
|
+
columnSettingsText: string;
|
|
8009
8083
|
isCard: boolean;
|
|
8010
8084
|
hideHeaderFilter: boolean;
|
|
8011
8085
|
hideColumnSettingsIcon: boolean;
|
|
8012
8086
|
columnCacheKey: string;
|
|
8013
8087
|
disableColumnCache: boolean;
|
|
8088
|
+
dragScroll: boolean | UseTableDragScrollOptions;
|
|
8014
8089
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: any) => any>> & {
|
|
8015
8090
|
"column-settings-icon"?(_: {}): any;
|
|
8016
8091
|
default?(_: {}): any;
|