yc-pro-components 0.0.76 → 0.0.78

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.
Files changed (166) hide show
  1. package/es/components/check-card/index.d.ts +61 -61
  2. package/es/components/check-card/src/index.vue.d.ts +4 -4
  3. package/es/components/check-card-group/index.d.ts +43 -43
  4. package/es/components/check-card-group/src/index.vue.d.ts +3 -3
  5. package/es/components/date-picker/index.d.ts +30 -30
  6. package/es/components/date-picker/src/index.vue.d.ts +22 -22
  7. package/es/components/dialog/index.d.ts +45 -45
  8. package/es/components/dialog/src/index.vue.d.ts +3 -3
  9. package/es/components/dialog-form/index.d.ts +31 -31
  10. package/es/components/dialog-form/src/index.vue.d.ts +9 -9
  11. package/es/components/display-item/index.d.ts +41 -41
  12. package/es/components/display-item/src/index.vue.d.ts +22 -22
  13. package/es/components/drawer-form/index.d.ts +68 -68
  14. package/es/components/drawer-form/src/index.vue.d.ts +16 -16
  15. package/es/components/form/index.d.ts +71 -71
  16. package/es/components/form/src/form-content.vue.d.ts +21 -21
  17. package/es/components/form/src/index.vue.d.ts +19 -19
  18. package/es/components/form-item/index.d.ts +69 -69
  19. package/es/components/form-item/src/index.vue.d.ts +21 -21
  20. package/es/components/header/index.d.ts +19 -19
  21. package/es/components/header/src/index.vue.d.ts +1 -1
  22. package/es/components/index.mjs +1 -0
  23. package/es/components/input-tag/index.d.ts +15 -15
  24. package/es/components/input-tag/src/index.vue.d.ts +3 -3
  25. package/es/components/layout/index.d.ts +30 -30
  26. package/es/components/layout/src/index.vue.d.ts +10 -10
  27. package/es/components/page/index.d.ts +533 -533
  28. package/es/components/page/src/index.vue.d.ts +181 -181
  29. package/es/components/pagination/index.d.ts +42 -42
  30. package/es/components/pagination/src/index.vue.d.ts +3 -3
  31. package/es/components/radio/index.d.ts +35 -35
  32. package/es/components/radio/src/index.vue.d.ts +27 -27
  33. package/es/components/render/index.d.ts +3 -3
  34. package/es/components/render/src/index.vue.d.ts +1 -1
  35. package/es/components/search/index.d.ts +243 -243
  36. package/es/components/search/src/index.vue.d.ts +73 -73
  37. package/es/components/sidebar/index.d.ts +15 -15
  38. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  39. package/es/components/steps-form/index.d.ts +23 -23
  40. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  41. package/es/components/table/src/table-column.vue.d.ts +37 -37
  42. package/es/components/utils/index.d.ts +2 -2
  43. package/es/components/yc-dialog/index.d.ts +24 -24
  44. package/es/components/yc-download-dialog/index.d.ts +19 -19
  45. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  46. package/es/components/yc-form-container-header/index.d.ts +12 -12
  47. package/es/components/yc-more-actions/index.d.ts +46 -46
  48. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  49. package/es/components/yc-plus-page/index.d.ts +2 -0
  50. package/es/components/yc-plus-page/index.mjs +1 -0
  51. package/es/components/yc-plus-page/src/index.vue.d.ts +436 -361
  52. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  53. package/es/components/yc-plus-page/src/index.vue2.mjs +90 -58
  54. package/es/components/yc-plus-page/src/type.d.ts +9 -0
  55. package/es/components/yc-segmented/index.d.ts +2 -2
  56. package/es/components/yc-segmented/src/index.d.ts +2 -2
  57. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  58. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  59. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  60. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  61. package/es/hooks/index.d.ts +1 -0
  62. package/es/hooks/index.mjs +1 -0
  63. package/es/hooks/usePlusFormReset.d.ts +244 -244
  64. package/es/hooks/useTableDragScroll.d.ts +35 -0
  65. package/es/hooks/useTableDragScroll.mjs +201 -0
  66. package/es/index.css +10 -10
  67. package/es/index.mjs +1 -0
  68. package/es/version.d.ts +1 -1
  69. package/es/version.mjs +1 -1
  70. package/es/yc-components/version.d.ts +1 -1
  71. package/index.js +290 -60
  72. package/index.min.css +1 -1
  73. package/index.min.js +12 -11
  74. package/index.min.mjs +12 -11
  75. package/index.mjs +290 -61
  76. package/lib/components/check-card/index.d.ts +61 -61
  77. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  78. package/lib/components/check-card-group/index.d.ts +43 -43
  79. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  80. package/lib/components/date-picker/index.d.ts +30 -30
  81. package/lib/components/date-picker/src/index.vue.d.ts +22 -22
  82. package/lib/components/dialog/index.d.ts +45 -45
  83. package/lib/components/dialog/src/index.vue.d.ts +3 -3
  84. package/lib/components/dialog-form/index.d.ts +31 -31
  85. package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
  86. package/lib/components/display-item/index.d.ts +41 -41
  87. package/lib/components/display-item/src/index.vue.d.ts +22 -22
  88. package/lib/components/drawer-form/index.d.ts +68 -68
  89. package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
  90. package/lib/components/form/index.d.ts +71 -71
  91. package/lib/components/form/src/form-content.vue.d.ts +21 -21
  92. package/lib/components/form/src/index.vue.d.ts +19 -19
  93. package/lib/components/form-item/index.d.ts +69 -69
  94. package/lib/components/form-item/src/index.vue.d.ts +21 -21
  95. package/lib/components/header/index.d.ts +19 -19
  96. package/lib/components/header/src/index.vue.d.ts +1 -1
  97. package/lib/components/index.js +2 -0
  98. package/lib/components/input-tag/index.d.ts +15 -15
  99. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  100. package/lib/components/layout/index.d.ts +30 -30
  101. package/lib/components/layout/src/index.vue.d.ts +10 -10
  102. package/lib/components/page/index.d.ts +533 -533
  103. package/lib/components/page/src/index.vue.d.ts +181 -181
  104. package/lib/components/pagination/index.d.ts +42 -42
  105. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  106. package/lib/components/radio/index.d.ts +35 -35
  107. package/lib/components/radio/src/index.vue.d.ts +27 -27
  108. package/lib/components/render/index.d.ts +3 -3
  109. package/lib/components/render/src/index.vue.d.ts +1 -1
  110. package/lib/components/search/index.d.ts +243 -243
  111. package/lib/components/search/src/index.vue.d.ts +73 -73
  112. package/lib/components/sidebar/index.d.ts +15 -15
  113. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  114. package/lib/components/steps-form/index.d.ts +23 -23
  115. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  116. package/lib/components/table/src/table-column.vue.d.ts +37 -37
  117. package/lib/components/utils/index.d.ts +2 -2
  118. package/lib/components/yc-dialog/index.d.ts +24 -24
  119. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  120. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  121. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  122. package/lib/components/yc-more-actions/index.d.ts +46 -46
  123. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  124. package/lib/components/yc-plus-page/index.d.ts +2 -0
  125. package/lib/components/yc-plus-page/index.js +2 -0
  126. package/lib/components/yc-plus-page/src/index.vue.d.ts +436 -361
  127. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  128. package/lib/components/yc-plus-page/src/index.vue2.js +89 -57
  129. package/lib/components/yc-plus-page/src/type.d.ts +9 -0
  130. package/lib/components/yc-segmented/index.d.ts +2 -2
  131. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  132. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  133. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  134. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  135. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  136. package/lib/hooks/index.d.ts +1 -0
  137. package/lib/hooks/index.js +2 -0
  138. package/lib/hooks/usePlusFormReset.d.ts +244 -244
  139. package/lib/hooks/useTableDragScroll.d.ts +35 -0
  140. package/lib/hooks/useTableDragScroll.js +203 -0
  141. package/lib/index.css +11 -11
  142. package/lib/index.js +2 -0
  143. package/lib/version.d.ts +1 -1
  144. package/lib/version.js +1 -1
  145. package/lib/yc-components/version.d.ts +1 -1
  146. package/locale/en.js +1 -1
  147. package/locale/en.min.js +1 -1
  148. package/locale/en.min.mjs +1 -1
  149. package/locale/en.mjs +1 -1
  150. package/locale/ja.js +1 -1
  151. package/locale/ja.min.js +1 -1
  152. package/locale/ja.min.mjs +1 -1
  153. package/locale/ja.mjs +1 -1
  154. package/locale/ko.js +1 -1
  155. package/locale/ko.min.js +1 -1
  156. package/locale/ko.min.mjs +1 -1
  157. package/locale/ko.mjs +1 -1
  158. package/locale/zh-cn.js +1 -1
  159. package/locale/zh-cn.min.js +1 -1
  160. package/locale/zh-cn.min.mjs +1 -1
  161. package/locale/zh-cn.mjs +1 -1
  162. package/locale/zh-tw.js +1 -1
  163. package/locale/zh-tw.min.js +1 -1
  164. package/locale/zh-tw.min.mjs +1 -1
  165. package/locale/zh-tw.mjs +1 -1
  166. 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, "total" | "modelValue" | "pageSizeList">;
114
+ pagination: false | Omit< PlusPaginationProps, "modelValue" | "total" | "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, "total" | "modelValue" | "pageSizeList">;
151
+ readonly pagination: false | Omit< PlusPaginationProps, "modelValue" | "total" | "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, "total" | "modelValue" | "pageSizeList">>;
213
+ type: PropType<false | Omit< PlusPaginationProps, "modelValue" | "total" | "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, "total" | "modelValue" | "pageSizeList">>;
331
+ type: PropType<false | Omit< PlusPaginationProps, "modelValue" | "total" | "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
- columns: PlusColumn[];
395
- layout: "grid" | "flex";
404
+ labelPosition: "left" | "right" | "top";
396
405
  modelValue: FieldValues;
397
- labelPosition: "top" | "right" | "left";
406
+ columns: PlusColumn[];
407
+ layout: "flex" | "grid";
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 columns: PlusColumn[];
423
- readonly layout: "grid" | "flex";
424
432
  readonly modelValue: FieldValues;
433
+ readonly columns: PlusColumn[];
434
+ readonly layout: "flex" | "grid";
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?: "top" | "right" | "left" | undefined;
456
+ readonly labelPosition?: "left" | "right" | "top" | undefined;
447
457
  readonly searchIcon?: Component | null | undefined;
448
458
  readonly resetIcon?: Component | null | undefined;
459
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
449
460
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
450
461
  onReset?: ((values: FieldValues) => any) | undefined;
451
- "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<{
465
+ labelPosition: {
466
+ type: PropType<"left" | "right" | "top">;
467
+ default: undefined;
468
+ };
469
+ modelValue: {
470
+ type: PropType<FieldValues>;
471
+ default: () => {};
472
+ };
455
473
  columns: {
456
474
  type: PropType<PlusColumn[]>;
457
475
  default: () => never[];
458
476
  };
459
477
  layout: {
460
- type: PropType<"grid" | "flex">;
478
+ type: PropType<"flex" | "grid">;
461
479
  default: "grid";
462
480
  };
463
- modelValue: {
464
- type: PropType<FieldValues>;
465
- default: () => {};
466
- };
467
- labelPosition: {
468
- type: PropType<"top" | "right" | "left">;
469
- default: undefined;
470
- };
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
  }>> & {
564
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
554
565
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
555
566
  onReset?: ((values: FieldValues) => any) | undefined;
556
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
557
567
  onSearch?: ((values: FieldValues) => any) | undefined;
558
568
  onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
559
- }, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
569
+ }, "labelPosition" | "modelValue" | "columns" | "layout" | "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: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
581
+ $emit: ((event: "search", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", 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<{
584
+ labelPosition: {
585
+ type: PropType<"left" | "right" | "top">;
586
+ default: undefined;
587
+ };
588
+ modelValue: {
589
+ type: PropType<FieldValues>;
590
+ default: () => {};
591
+ };
574
592
  columns: {
575
593
  type: PropType<PlusColumn[]>;
576
594
  default: () => never[];
577
595
  };
578
596
  layout: {
579
- type: PropType<"grid" | "flex">;
597
+ type: PropType<"flex" | "grid">;
580
598
  default: "grid";
581
599
  };
582
- modelValue: {
583
- type: PropType<FieldValues>;
584
- default: () => {};
585
- };
586
- labelPosition: {
587
- type: PropType<"top" | "right" | "left">;
588
- default: undefined;
589
- };
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
  }>> & {
683
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
673
684
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
674
685
  onReset?: ((values: FieldValues) => any) | undefined;
675
- "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<{
693
+ labelPosition: "left" | "right" | "top";
694
+ modelValue: FieldValues;
683
695
  collapseDuration: number;
684
696
  collapseTransition: boolean;
685
697
  columns: PlusColumn[];
686
698
  group: false | PlusFormGroupRow[];
687
- layout: "grid" | "flex";
688
- modelValue: FieldValues;
699
+ layout: "flex" | "grid";
689
700
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
690
- 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: "right" | "left" | "center";
719
+ footerAlign: "left" | "right" | "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<{
727
+ readonly labelPosition: "left" | "right" | "top";
728
+ readonly modelValue: FieldValues;
717
729
  readonly columns: PlusColumn[];
718
730
  readonly group: false | PlusFormGroupRow[];
719
- readonly modelValue: FieldValues;
720
731
  readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
721
- 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: "right" | "left" | "center";
750
+ readonly footerAlign: "left" | "right" | "center";
741
751
  readonly cardProps: Partial< Mutable<CardProps> & {
742
752
  style?: CSSProperties | undefined;
743
753
  class?: any;
@@ -746,14 +756,22 @@ 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?: "grid" | "flex" | undefined;
759
+ readonly layout?: "flex" | "grid" | undefined;
760
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
750
761
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
751
762
  onReset?: ((values: FieldValues) => any) | undefined;
752
763
  onSubmit?: ((values: FieldValues) => any) | undefined;
753
- "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<{
767
+ labelPosition: {
768
+ type: PropType<"left" | "right" | "top">;
769
+ default: string;
770
+ };
771
+ modelValue: {
772
+ type: PropType<FieldValues>;
773
+ default: () => {};
774
+ };
757
775
  collapseDuration: {
758
776
  type: PropType<number>;
759
777
  default: undefined;
@@ -771,21 +789,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
771
789
  default: boolean;
772
790
  };
773
791
  layout: {
774
- type: PropType<"grid" | "flex">;
792
+ type: PropType<"flex" | "grid">;
775
793
  default: undefined;
776
794
  };
777
- modelValue: {
778
- type: PropType<FieldValues>;
779
- default: () => {};
780
- };
781
795
  rules: {
782
796
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
783
797
  default: () => {};
784
798
  };
785
- labelPosition: {
786
- type: PropType<"top" | "right" | "left">;
787
- default: string;
788
- };
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<"right" | "left" | "center">;
854
+ type: PropType<"left" | "right" | "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
  }>> & {
873
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
863
874
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
864
875
  onReset?: ((values: FieldValues) => any) | undefined;
865
876
  onSubmit?: ((values: FieldValues) => any) | undefined;
866
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
867
877
  onValidate?: ((...args: any[]) => any) | undefined;
868
878
  onSubmitError?: ((errors: unknown) => any) | undefined;
869
- }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
879
+ }, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "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,9 +888,17 @@ 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: "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);
891
+ $emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", 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<{
894
+ labelPosition: {
895
+ type: PropType<"left" | "right" | "top">;
896
+ default: string;
897
+ };
898
+ modelValue: {
899
+ type: PropType<FieldValues>;
900
+ default: () => {};
901
+ };
884
902
  collapseDuration: {
885
903
  type: PropType<number>;
886
904
  default: undefined;
@@ -898,21 +916,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
898
916
  default: boolean;
899
917
  };
900
918
  layout: {
901
- type: PropType<"grid" | "flex">;
919
+ type: PropType<"flex" | "grid">;
902
920
  default: undefined;
903
921
  };
904
- modelValue: {
905
- type: PropType<FieldValues>;
906
- default: () => {};
907
- };
908
922
  rules: {
909
923
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
910
924
  default: () => {};
911
925
  };
912
- labelPosition: {
913
- type: PropType<"top" | "right" | "left">;
914
- default: string;
915
- };
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<"right" | "left" | "center">;
981
+ type: PropType<"left" | "right" | "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
  }>> & {
1000
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
990
1001
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
991
1002
  onReset?: ((values: FieldValues) => any) | undefined;
992
1003
  onSubmit?: ((values: FieldValues) => any) | undefined;
993
- "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, {
1018
+ labelPosition: "left" | "right" | "top";
1019
+ modelValue: FieldValues;
1008
1020
  collapseDuration: number;
1009
1021
  collapseTransition: boolean;
1010
1022
  columns: PlusColumn[];
1011
1023
  group: false | PlusFormGroupRow[];
1012
- layout: "grid" | "flex";
1013
- modelValue: FieldValues;
1024
+ layout: "flex" | "grid";
1014
1025
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
1015
- 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: "right" | "left" | "center";
1044
+ footerAlign: "left" | "right" | "center";
1035
1045
  cardProps: Partial< Mutable<CardProps> & {
1036
1046
  style?: CSSProperties | undefined;
1037
1047
  class?: any;
@@ -1059,6 +1069,14 @@ 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<{
1072
+ labelPosition: {
1073
+ type: PropType<"left" | "right" | "top">;
1074
+ default: string;
1075
+ };
1076
+ modelValue: {
1077
+ type: PropType<FieldValues>;
1078
+ default: () => {};
1079
+ };
1062
1080
  collapseDuration: {
1063
1081
  type: PropType<number>;
1064
1082
  default: undefined;
@@ -1076,21 +1094,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1076
1094
  default: boolean;
1077
1095
  };
1078
1096
  layout: {
1079
- type: PropType<"grid" | "flex">;
1097
+ type: PropType<"flex" | "grid">;
1080
1098
  default: undefined;
1081
1099
  };
1082
- modelValue: {
1083
- type: PropType<FieldValues>;
1084
- default: () => {};
1085
- };
1086
1100
  rules: {
1087
1101
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1088
1102
  default: () => {};
1089
1103
  };
1090
- labelPosition: {
1091
- type: PropType<"top" | "right" | "left">;
1092
- default: string;
1093
- };
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<"right" | "left" | "center">;
1159
+ type: PropType<"left" | "right" | "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
  }>> & {
1178
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1168
1179
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1169
1180
  onReset?: ((values: FieldValues) => any) | undefined;
1170
1181
  onSubmit?: ((values: FieldValues) => any) | undefined;
1171
- "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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1201
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1203
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1194
1204
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1195
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1205
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1196
1206
  style?: CSSProperties | undefined;
1197
1207
  class?: any;
1198
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1208
+ } & RecordType> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1279
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1266
1280
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1267
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
1281
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1268
1282
  style?: CSSProperties | undefined;
1269
1283
  class?: any;
1270
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1284
+ } & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1313
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1315
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1302
1316
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1303
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1317
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1304
1318
  style?: CSSProperties | undefined;
1305
1319
  class?: any;
1306
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1320
+ } & RecordType> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1391
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1374
1392
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1375
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
1393
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1376
1394
  style?: CSSProperties | undefined;
1377
1395
  class?: any;
1378
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1396
+ } & RecordType> | 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
- columns: PlusColumn[];
1431
- layout: "grid" | "flex";
1448
+ labelPosition: "left" | "right" | "top";
1432
1449
  modelValue: FieldValues;
1433
- labelPosition: "top" | "right" | "left";
1450
+ columns: PlusColumn[];
1451
+ layout: "flex" | "grid";
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<{
1496
+ labelPosition: {
1497
+ type: PropType<"left" | "right" | "top">;
1498
+ default: undefined;
1499
+ };
1500
+ modelValue: {
1501
+ type: PropType<FieldValues>;
1502
+ default: () => {};
1503
+ };
1478
1504
  columns: {
1479
1505
  type: PropType<PlusColumn[]>;
1480
1506
  default: () => never[];
1481
1507
  };
1482
1508
  layout: {
1483
- type: PropType<"grid" | "flex">;
1509
+ type: PropType<"flex" | "grid">;
1484
1510
  default: "grid";
1485
1511
  };
1486
- modelValue: {
1487
- type: PropType<FieldValues>;
1488
- default: () => {};
1489
- };
1490
- labelPosition: {
1491
- type: PropType<"top" | "right" | "left">;
1492
- default: undefined;
1493
- };
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
  }>> & {
1595
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1577
1596
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1578
1597
  onReset?: ((values: FieldValues) => any) | undefined;
1579
- "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<{
1605
+ labelPosition: "left" | "right" | "top";
1606
+ modelValue: FieldValues;
1587
1607
  collapseDuration: number;
1588
1608
  collapseTransition: boolean;
1589
1609
  columns: PlusColumn[];
1590
1610
  group: false | PlusFormGroupRow[];
1591
- layout: "grid" | "flex";
1592
- modelValue: FieldValues;
1611
+ layout: "flex" | "grid";
1593
1612
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
1594
- 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: "right" | "left" | "center";
1631
+ footerAlign: "left" | "right" | "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<{
1639
+ readonly labelPosition: "left" | "right" | "top";
1640
+ readonly modelValue: FieldValues;
1621
1641
  readonly columns: PlusColumn[];
1622
1642
  readonly group: false | PlusFormGroupRow[];
1623
- readonly modelValue: FieldValues;
1624
1643
  readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
1625
- 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: "right" | "left" | "center";
1662
+ readonly footerAlign: "left" | "right" | "center";
1645
1663
  readonly cardProps: Partial< Mutable<CardProps> & {
1646
1664
  style?: CSSProperties | undefined;
1647
1665
  class?: any;
@@ -1650,14 +1668,22 @@ 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?: "grid" | "flex" | undefined;
1671
+ readonly layout?: "flex" | "grid" | undefined;
1672
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1654
1673
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1655
1674
  onReset?: ((values: FieldValues) => any) | undefined;
1656
1675
  onSubmit?: ((values: FieldValues) => any) | undefined;
1657
- "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<{
1679
+ labelPosition: {
1680
+ type: PropType<"left" | "right" | "top">;
1681
+ default: string;
1682
+ };
1683
+ modelValue: {
1684
+ type: PropType<FieldValues>;
1685
+ default: () => {};
1686
+ };
1661
1687
  collapseDuration: {
1662
1688
  type: PropType<number>;
1663
1689
  default: undefined;
@@ -1675,21 +1701,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1675
1701
  default: boolean;
1676
1702
  };
1677
1703
  layout: {
1678
- type: PropType<"grid" | "flex">;
1704
+ type: PropType<"flex" | "grid">;
1679
1705
  default: undefined;
1680
1706
  };
1681
- modelValue: {
1682
- type: PropType<FieldValues>;
1683
- default: () => {};
1684
- };
1685
1707
  rules: {
1686
1708
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1687
1709
  default: () => {};
1688
1710
  };
1689
- labelPosition: {
1690
- type: PropType<"top" | "right" | "left">;
1691
- default: string;
1692
- };
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<"right" | "left" | "center">;
1766
+ type: PropType<"left" | "right" | "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
  }>> & {
1785
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1767
1786
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1768
1787
  onReset?: ((values: FieldValues) => any) | undefined;
1769
1788
  onSubmit?: ((values: FieldValues) => any) | undefined;
1770
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1771
1789
  onValidate?: ((...args: any[]) => any) | undefined;
1772
1790
  onSubmitError?: ((errors: unknown) => any) | undefined;
1773
- }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
1791
+ }, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "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,9 +1800,17 @@ 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: "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);
1803
+ $emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", 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<{
1806
+ labelPosition: {
1807
+ type: PropType<"left" | "right" | "top">;
1808
+ default: string;
1809
+ };
1810
+ modelValue: {
1811
+ type: PropType<FieldValues>;
1812
+ default: () => {};
1813
+ };
1788
1814
  collapseDuration: {
1789
1815
  type: PropType<number>;
1790
1816
  default: undefined;
@@ -1802,21 +1828,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1802
1828
  default: boolean;
1803
1829
  };
1804
1830
  layout: {
1805
- type: PropType<"grid" | "flex">;
1831
+ type: PropType<"flex" | "grid">;
1806
1832
  default: undefined;
1807
1833
  };
1808
- modelValue: {
1809
- type: PropType<FieldValues>;
1810
- default: () => {};
1811
- };
1812
1834
  rules: {
1813
1835
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1814
1836
  default: () => {};
1815
1837
  };
1816
- labelPosition: {
1817
- type: PropType<"top" | "right" | "left">;
1818
- default: string;
1819
- };
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<"right" | "left" | "center">;
1893
+ type: PropType<"left" | "right" | "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
  }>> & {
1912
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1894
1913
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1895
1914
  onReset?: ((values: FieldValues) => any) | undefined;
1896
1915
  onSubmit?: ((values: FieldValues) => any) | undefined;
1897
- "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, {
1930
+ labelPosition: "left" | "right" | "top";
1931
+ modelValue: FieldValues;
1912
1932
  collapseDuration: number;
1913
1933
  collapseTransition: boolean;
1914
1934
  columns: PlusColumn[];
1915
1935
  group: false | PlusFormGroupRow[];
1916
- layout: "grid" | "flex";
1917
- modelValue: FieldValues;
1936
+ layout: "flex" | "grid";
1918
1937
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
1919
- 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: "right" | "left" | "center";
1956
+ footerAlign: "left" | "right" | "center";
1939
1957
  cardProps: Partial< Mutable<CardProps> & {
1940
1958
  style?: CSSProperties | undefined;
1941
1959
  class?: any;
@@ -1963,6 +1981,14 @@ 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<{
1984
+ labelPosition: {
1985
+ type: PropType<"left" | "right" | "top">;
1986
+ default: string;
1987
+ };
1988
+ modelValue: {
1989
+ type: PropType<FieldValues>;
1990
+ default: () => {};
1991
+ };
1966
1992
  collapseDuration: {
1967
1993
  type: PropType<number>;
1968
1994
  default: undefined;
@@ -1980,21 +2006,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1980
2006
  default: boolean;
1981
2007
  };
1982
2008
  layout: {
1983
- type: PropType<"grid" | "flex">;
2009
+ type: PropType<"flex" | "grid">;
1984
2010
  default: undefined;
1985
2011
  };
1986
- modelValue: {
1987
- type: PropType<FieldValues>;
1988
- default: () => {};
1989
- };
1990
2012
  rules: {
1991
2013
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1992
2014
  default: () => {};
1993
2015
  };
1994
- labelPosition: {
1995
- type: PropType<"top" | "right" | "left">;
1996
- default: string;
1997
- };
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<"right" | "left" | "center">;
2071
+ type: PropType<"left" | "right" | "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
  }>> & {
2090
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
2072
2091
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
2073
2092
  onReset?: ((values: FieldValues) => any) | undefined;
2074
2093
  onSubmit?: ((values: FieldValues) => any) | undefined;
2075
- "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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2113
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2115
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2098
2116
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2099
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
2117
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
2100
2118
  style?: CSSProperties | undefined;
2101
2119
  class?: any;
2102
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2120
+ } & RecordType> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2191
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2170
2192
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2171
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
2193
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
2172
2194
  style?: CSSProperties | undefined;
2173
2195
  class?: any;
2174
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2196
+ } & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2225
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2227
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2206
2228
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2207
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
2229
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
2208
2230
  style?: CSSProperties | undefined;
2209
2231
  class?: any;
2210
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2232
+ } & RecordType> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2303
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2278
2304
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2279
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
2305
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
2280
2306
  style?: CSSProperties | undefined;
2281
2307
  class?: any;
2282
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2308
+ } & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2355
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2357
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2332
2358
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2333
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
2359
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
2334
2360
  style?: CSSProperties | undefined;
2335
2361
  class?: any;
2336
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2362
+ } & RecordType> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2433
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2404
2434
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2405
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
2435
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
2406
2436
  style?: CSSProperties | undefined;
2407
2437
  class?: any;
2408
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2438
+ } & RecordType> | 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, "total" | "modelValue" | "pageSizeList">;
3731
+ pagination: false | Omit< PlusPaginationProps, "modelValue" | "total" | "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, "total" | "modelValue" | "pageSizeList">>;
3808
+ type: PropType<false | Omit< PlusPaginationProps, "modelValue" | "total" | "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
- columns: PlusColumn[];
3846
- layout: "grid" | "flex";
3881
+ labelPosition: "left" | "right" | "top";
3847
3882
  modelValue: FieldValues;
3848
- labelPosition: "top" | "right" | "left";
3883
+ columns: PlusColumn[];
3884
+ layout: "flex" | "grid";
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 columns: PlusColumn[];
3874
- readonly layout: "grid" | "flex";
3875
3909
  readonly modelValue: FieldValues;
3910
+ readonly columns: PlusColumn[];
3911
+ readonly layout: "flex" | "grid";
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?: "top" | "right" | "left" | undefined;
3933
+ readonly labelPosition?: "left" | "right" | "top" | undefined;
3898
3934
  readonly searchIcon?: Component | null | undefined;
3899
3935
  readonly resetIcon?: Component | null | undefined;
3936
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
3900
3937
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
3901
3938
  onReset?: ((values: FieldValues) => any) | undefined;
3902
- "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<{
3942
+ labelPosition: {
3943
+ type: PropType<"left" | "right" | "top">;
3944
+ default: undefined;
3945
+ };
3946
+ modelValue: {
3947
+ type: PropType<FieldValues>;
3948
+ default: () => {};
3949
+ };
3906
3950
  columns: {
3907
3951
  type: PropType<PlusColumn[]>;
3908
3952
  default: () => never[];
3909
3953
  };
3910
3954
  layout: {
3911
- type: PropType<"grid" | "flex">;
3955
+ type: PropType<"flex" | "grid">;
3912
3956
  default: "grid";
3913
3957
  };
3914
- modelValue: {
3915
- type: PropType<FieldValues>;
3916
- default: () => {};
3917
- };
3918
- labelPosition: {
3919
- type: PropType<"top" | "right" | "left">;
3920
- default: undefined;
3921
- };
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
  }>> & {
4041
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
4005
4042
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
4006
4043
  onReset?: ((values: FieldValues) => any) | undefined;
4007
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
4008
4044
  onSearch?: ((values: FieldValues) => any) | undefined;
4009
4045
  onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
4010
- }, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
4046
+ }, "labelPosition" | "modelValue" | "columns" | "layout" | "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: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
4058
+ $emit: ((event: "search", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", 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<{
4061
+ labelPosition: {
4062
+ type: PropType<"left" | "right" | "top">;
4063
+ default: undefined;
4064
+ };
4065
+ modelValue: {
4066
+ type: PropType<FieldValues>;
4067
+ default: () => {};
4068
+ };
4025
4069
  columns: {
4026
4070
  type: PropType<PlusColumn[]>;
4027
4071
  default: () => never[];
4028
4072
  };
4029
4073
  layout: {
4030
- type: PropType<"grid" | "flex">;
4074
+ type: PropType<"flex" | "grid">;
4031
4075
  default: "grid";
4032
4076
  };
4033
- modelValue: {
4034
- type: PropType<FieldValues>;
4035
- default: () => {};
4036
- };
4037
- labelPosition: {
4038
- type: PropType<"top" | "right" | "left">;
4039
- default: undefined;
4040
- };
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
  }>> & {
4160
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
4124
4161
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
4125
4162
  onReset?: ((values: FieldValues) => any) | undefined;
4126
- "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<{
4170
+ labelPosition: "left" | "right" | "top";
4171
+ modelValue: FieldValues;
4134
4172
  collapseDuration: number;
4135
4173
  collapseTransition: boolean;
4136
4174
  columns: PlusColumn[];
4137
4175
  group: false | PlusFormGroupRow[];
4138
- layout: "grid" | "flex";
4139
- modelValue: FieldValues;
4176
+ layout: "flex" | "grid";
4140
4177
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
4141
- 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: "right" | "left" | "center";
4196
+ footerAlign: "left" | "right" | "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<{
4204
+ readonly labelPosition: "left" | "right" | "top";
4205
+ readonly modelValue: FieldValues;
4168
4206
  readonly columns: PlusColumn[];
4169
4207
  readonly group: false | PlusFormGroupRow[];
4170
- readonly modelValue: FieldValues;
4171
4208
  readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
4172
- 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: "right" | "left" | "center";
4227
+ readonly footerAlign: "left" | "right" | "center";
4192
4228
  readonly cardProps: Partial< Mutable<CardProps> & {
4193
4229
  style?: CSSProperties | undefined;
4194
4230
  class?: any;
@@ -4197,14 +4233,22 @@ 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?: "grid" | "flex" | undefined;
4236
+ readonly layout?: "flex" | "grid" | undefined;
4237
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
4201
4238
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
4202
4239
  onReset?: ((values: FieldValues) => any) | undefined;
4203
4240
  onSubmit?: ((values: FieldValues) => any) | undefined;
4204
- "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<{
4244
+ labelPosition: {
4245
+ type: PropType<"left" | "right" | "top">;
4246
+ default: string;
4247
+ };
4248
+ modelValue: {
4249
+ type: PropType<FieldValues>;
4250
+ default: () => {};
4251
+ };
4208
4252
  collapseDuration: {
4209
4253
  type: PropType<number>;
4210
4254
  default: undefined;
@@ -4222,21 +4266,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
4222
4266
  default: boolean;
4223
4267
  };
4224
4268
  layout: {
4225
- type: PropType<"grid" | "flex">;
4269
+ type: PropType<"flex" | "grid">;
4226
4270
  default: undefined;
4227
4271
  };
4228
- modelValue: {
4229
- type: PropType<FieldValues>;
4230
- default: () => {};
4231
- };
4232
4272
  rules: {
4233
4273
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
4234
4274
  default: () => {};
4235
4275
  };
4236
- labelPosition: {
4237
- type: PropType<"top" | "right" | "left">;
4238
- default: string;
4239
- };
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<"right" | "left" | "center">;
4331
+ type: PropType<"left" | "right" | "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
  }>> & {
4350
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
4314
4351
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
4315
4352
  onReset?: ((values: FieldValues) => any) | undefined;
4316
4353
  onSubmit?: ((values: FieldValues) => any) | undefined;
4317
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
4318
4354
  onValidate?: ((...args: any[]) => any) | undefined;
4319
4355
  onSubmitError?: ((errors: unknown) => any) | undefined;
4320
- }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
4356
+ }, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "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,9 +4365,17 @@ 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: "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);
4368
+ $emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", 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<{
4371
+ labelPosition: {
4372
+ type: PropType<"left" | "right" | "top">;
4373
+ default: string;
4374
+ };
4375
+ modelValue: {
4376
+ type: PropType<FieldValues>;
4377
+ default: () => {};
4378
+ };
4335
4379
  collapseDuration: {
4336
4380
  type: PropType<number>;
4337
4381
  default: undefined;
@@ -4349,21 +4393,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
4349
4393
  default: boolean;
4350
4394
  };
4351
4395
  layout: {
4352
- type: PropType<"grid" | "flex">;
4396
+ type: PropType<"flex" | "grid">;
4353
4397
  default: undefined;
4354
4398
  };
4355
- modelValue: {
4356
- type: PropType<FieldValues>;
4357
- default: () => {};
4358
- };
4359
4399
  rules: {
4360
4400
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
4361
4401
  default: () => {};
4362
4402
  };
4363
- labelPosition: {
4364
- type: PropType<"top" | "right" | "left">;
4365
- default: string;
4366
- };
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<"right" | "left" | "center">;
4458
+ type: PropType<"left" | "right" | "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
  }>> & {
4477
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
4441
4478
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
4442
4479
  onReset?: ((values: FieldValues) => any) | undefined;
4443
4480
  onSubmit?: ((values: FieldValues) => any) | undefined;
4444
- "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, {
4495
+ labelPosition: "left" | "right" | "top";
4496
+ modelValue: FieldValues;
4459
4497
  collapseDuration: number;
4460
4498
  collapseTransition: boolean;
4461
4499
  columns: PlusColumn[];
4462
4500
  group: false | PlusFormGroupRow[];
4463
- layout: "grid" | "flex";
4464
- modelValue: FieldValues;
4501
+ layout: "flex" | "grid";
4465
4502
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
4466
- 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: "right" | "left" | "center";
4521
+ footerAlign: "left" | "right" | "center";
4486
4522
  cardProps: Partial< Mutable<CardProps> & {
4487
4523
  style?: CSSProperties | undefined;
4488
4524
  class?: any;
@@ -4510,6 +4546,14 @@ 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<{
4549
+ labelPosition: {
4550
+ type: PropType<"left" | "right" | "top">;
4551
+ default: string;
4552
+ };
4553
+ modelValue: {
4554
+ type: PropType<FieldValues>;
4555
+ default: () => {};
4556
+ };
4513
4557
  collapseDuration: {
4514
4558
  type: PropType<number>;
4515
4559
  default: undefined;
@@ -4527,21 +4571,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
4527
4571
  default: boolean;
4528
4572
  };
4529
4573
  layout: {
4530
- type: PropType<"grid" | "flex">;
4574
+ type: PropType<"flex" | "grid">;
4531
4575
  default: undefined;
4532
4576
  };
4533
- modelValue: {
4534
- type: PropType<FieldValues>;
4535
- default: () => {};
4536
- };
4537
4577
  rules: {
4538
4578
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
4539
4579
  default: () => {};
4540
4580
  };
4541
- labelPosition: {
4542
- type: PropType<"top" | "right" | "left">;
4543
- default: string;
4544
- };
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<"right" | "left" | "center">;
4636
+ type: PropType<"left" | "right" | "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
  }>> & {
4655
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
4619
4656
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
4620
4657
  onReset?: ((values: FieldValues) => any) | undefined;
4621
4658
  onSubmit?: ((values: FieldValues) => any) | undefined;
4622
- "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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
4678
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
4680
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
4645
4681
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
4646
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
4682
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
4647
4683
  style?: CSSProperties | undefined;
4648
4684
  class?: any;
4649
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
4685
+ } & RecordType> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
4756
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
4717
4757
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
4718
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
4758
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
4719
4759
  style?: CSSProperties | undefined;
4720
4760
  class?: any;
4721
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
4761
+ } & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
4790
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
4792
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
4753
4793
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
4754
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
4794
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
4755
4795
  style?: CSSProperties | undefined;
4756
4796
  class?: any;
4757
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
4797
+ } & RecordType> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
4868
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
4825
4869
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
4826
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
4870
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
4827
4871
  style?: CSSProperties | undefined;
4828
4872
  class?: any;
4829
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
4873
+ } & RecordType> | 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
- columns: PlusColumn[];
4882
- layout: "grid" | "flex";
4925
+ labelPosition: "left" | "right" | "top";
4883
4926
  modelValue: FieldValues;
4884
- labelPosition: "top" | "right" | "left";
4927
+ columns: PlusColumn[];
4928
+ layout: "flex" | "grid";
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<{
4973
+ labelPosition: {
4974
+ type: PropType<"left" | "right" | "top">;
4975
+ default: undefined;
4976
+ };
4977
+ modelValue: {
4978
+ type: PropType<FieldValues>;
4979
+ default: () => {};
4980
+ };
4929
4981
  columns: {
4930
4982
  type: PropType<PlusColumn[]>;
4931
4983
  default: () => never[];
4932
4984
  };
4933
4985
  layout: {
4934
- type: PropType<"grid" | "flex">;
4986
+ type: PropType<"flex" | "grid">;
4935
4987
  default: "grid";
4936
4988
  };
4937
- modelValue: {
4938
- type: PropType<FieldValues>;
4939
- default: () => {};
4940
- };
4941
- labelPosition: {
4942
- type: PropType<"top" | "right" | "left">;
4943
- default: undefined;
4944
- };
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
  }>> & {
5072
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
5028
5073
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
5029
5074
  onReset?: ((values: FieldValues) => any) | undefined;
5030
- "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<{
5082
+ labelPosition: "left" | "right" | "top";
5083
+ modelValue: FieldValues;
5038
5084
  collapseDuration: number;
5039
5085
  collapseTransition: boolean;
5040
5086
  columns: PlusColumn[];
5041
5087
  group: false | PlusFormGroupRow[];
5042
- layout: "grid" | "flex";
5043
- modelValue: FieldValues;
5088
+ layout: "flex" | "grid";
5044
5089
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
5045
- 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: "right" | "left" | "center";
5108
+ footerAlign: "left" | "right" | "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<{
5116
+ readonly labelPosition: "left" | "right" | "top";
5117
+ readonly modelValue: FieldValues;
5072
5118
  readonly columns: PlusColumn[];
5073
5119
  readonly group: false | PlusFormGroupRow[];
5074
- readonly modelValue: FieldValues;
5075
5120
  readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
5076
- 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: "right" | "left" | "center";
5139
+ readonly footerAlign: "left" | "right" | "center";
5096
5140
  readonly cardProps: Partial< Mutable<CardProps> & {
5097
5141
  style?: CSSProperties | undefined;
5098
5142
  class?: any;
@@ -5101,14 +5145,22 @@ 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?: "grid" | "flex" | undefined;
5148
+ readonly layout?: "flex" | "grid" | undefined;
5149
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
5105
5150
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
5106
5151
  onReset?: ((values: FieldValues) => any) | undefined;
5107
5152
  onSubmit?: ((values: FieldValues) => any) | undefined;
5108
- "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<{
5156
+ labelPosition: {
5157
+ type: PropType<"left" | "right" | "top">;
5158
+ default: string;
5159
+ };
5160
+ modelValue: {
5161
+ type: PropType<FieldValues>;
5162
+ default: () => {};
5163
+ };
5112
5164
  collapseDuration: {
5113
5165
  type: PropType<number>;
5114
5166
  default: undefined;
@@ -5126,21 +5178,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
5126
5178
  default: boolean;
5127
5179
  };
5128
5180
  layout: {
5129
- type: PropType<"grid" | "flex">;
5181
+ type: PropType<"flex" | "grid">;
5130
5182
  default: undefined;
5131
5183
  };
5132
- modelValue: {
5133
- type: PropType<FieldValues>;
5134
- default: () => {};
5135
- };
5136
5184
  rules: {
5137
5185
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
5138
5186
  default: () => {};
5139
5187
  };
5140
- labelPosition: {
5141
- type: PropType<"top" | "right" | "left">;
5142
- default: string;
5143
- };
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<"right" | "left" | "center">;
5243
+ type: PropType<"left" | "right" | "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
  }>> & {
5262
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
5218
5263
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
5219
5264
  onReset?: ((values: FieldValues) => any) | undefined;
5220
5265
  onSubmit?: ((values: FieldValues) => any) | undefined;
5221
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
5222
5266
  onValidate?: ((...args: any[]) => any) | undefined;
5223
5267
  onSubmitError?: ((errors: unknown) => any) | undefined;
5224
- }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
5268
+ }, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "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,9 +5277,17 @@ 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: "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);
5280
+ $emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", 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<{
5283
+ labelPosition: {
5284
+ type: PropType<"left" | "right" | "top">;
5285
+ default: string;
5286
+ };
5287
+ modelValue: {
5288
+ type: PropType<FieldValues>;
5289
+ default: () => {};
5290
+ };
5239
5291
  collapseDuration: {
5240
5292
  type: PropType<number>;
5241
5293
  default: undefined;
@@ -5253,21 +5305,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
5253
5305
  default: boolean;
5254
5306
  };
5255
5307
  layout: {
5256
- type: PropType<"grid" | "flex">;
5308
+ type: PropType<"flex" | "grid">;
5257
5309
  default: undefined;
5258
5310
  };
5259
- modelValue: {
5260
- type: PropType<FieldValues>;
5261
- default: () => {};
5262
- };
5263
5311
  rules: {
5264
5312
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
5265
5313
  default: () => {};
5266
5314
  };
5267
- labelPosition: {
5268
- type: PropType<"top" | "right" | "left">;
5269
- default: string;
5270
- };
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<"right" | "left" | "center">;
5370
+ type: PropType<"left" | "right" | "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
  }>> & {
5389
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
5345
5390
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
5346
5391
  onReset?: ((values: FieldValues) => any) | undefined;
5347
5392
  onSubmit?: ((values: FieldValues) => any) | undefined;
5348
- "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, {
5407
+ labelPosition: "left" | "right" | "top";
5408
+ modelValue: FieldValues;
5363
5409
  collapseDuration: number;
5364
5410
  collapseTransition: boolean;
5365
5411
  columns: PlusColumn[];
5366
5412
  group: false | PlusFormGroupRow[];
5367
- layout: "grid" | "flex";
5368
- modelValue: FieldValues;
5413
+ layout: "flex" | "grid";
5369
5414
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
5370
- 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: "right" | "left" | "center";
5433
+ footerAlign: "left" | "right" | "center";
5390
5434
  cardProps: Partial< Mutable<CardProps> & {
5391
5435
  style?: CSSProperties | undefined;
5392
5436
  class?: any;
@@ -5414,6 +5458,14 @@ 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<{
5461
+ labelPosition: {
5462
+ type: PropType<"left" | "right" | "top">;
5463
+ default: string;
5464
+ };
5465
+ modelValue: {
5466
+ type: PropType<FieldValues>;
5467
+ default: () => {};
5468
+ };
5417
5469
  collapseDuration: {
5418
5470
  type: PropType<number>;
5419
5471
  default: undefined;
@@ -5431,21 +5483,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
5431
5483
  default: boolean;
5432
5484
  };
5433
5485
  layout: {
5434
- type: PropType<"grid" | "flex">;
5486
+ type: PropType<"flex" | "grid">;
5435
5487
  default: undefined;
5436
5488
  };
5437
- modelValue: {
5438
- type: PropType<FieldValues>;
5439
- default: () => {};
5440
- };
5441
5489
  rules: {
5442
5490
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
5443
5491
  default: () => {};
5444
5492
  };
5445
- labelPosition: {
5446
- type: PropType<"top" | "right" | "left">;
5447
- default: string;
5448
- };
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<"right" | "left" | "center">;
5548
+ type: PropType<"left" | "right" | "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
  }>> & {
5567
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
5523
5568
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
5524
5569
  onReset?: ((values: FieldValues) => any) | undefined;
5525
5570
  onSubmit?: ((values: FieldValues) => any) | undefined;
5526
- "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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
5590
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5592
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5549
5593
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
5550
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
5594
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
5551
5595
  style?: CSSProperties | undefined;
5552
5596
  class?: any;
5553
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
5597
+ } & RecordType> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5668
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5621
5669
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
5622
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
5670
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
5623
5671
  style?: CSSProperties | undefined;
5624
5672
  class?: any;
5625
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
5673
+ } & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
5702
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5704
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5657
5705
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
5658
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
5706
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
5659
5707
  style?: CSSProperties | undefined;
5660
5708
  class?: any;
5661
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
5709
+ } & RecordType> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5780
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5729
5781
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
5730
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
5782
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
5731
5783
  style?: CSSProperties | undefined;
5732
5784
  class?: any;
5733
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
5785
+ } & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
5832
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5834
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5783
5835
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
5784
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
5836
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
5785
5837
  style?: CSSProperties | undefined;
5786
5838
  class?: any;
5787
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
5839
+ } & RecordType> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5910
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
5855
5911
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
5856
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
5912
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
5857
5913
  style?: CSSProperties | undefined;
5858
5914
  class?: any;
5859
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
5915
+ } & RecordType> | 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" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
7192
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
7194
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
7133
7195
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
7134
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
7196
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
7135
7197
  style?: CSSProperties | undefined;
7136
7198
  class?: any;
7137
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
7199
+ } & RecordType> | 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
7270
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
7205
7271
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
7206
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
7272
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
7207
7273
  style?: CSSProperties | undefined;
7208
7274
  class?: any;
7209
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
7275
+ } & RecordType> | 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
  }, {
8078
+ showSearch: boolean;
8079
+ columnSettingsText: string;
8004
8080
  search: false | Partial<PlusSearchSelfProps & Record<string, unknown>>;
8005
8081
  headerFilter: boolean | HeaderFilterConfig;
8006
8082
  pagination: false | Record<string, unknown>;
8007
- showSearch: boolean;
8008
- 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;