yc-pro-components 0.0.19 → 0.0.20

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 (151) 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 +10 -10
  6. package/es/components/date-picker/src/index.vue.d.ts +2 -2
  7. package/es/components/dialog/index.d.ts +26 -26
  8. package/es/components/dialog/src/index.vue.d.ts +2 -2
  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 +50 -50
  14. package/es/components/drawer-form/src/index.vue.d.ts +10 -10
  15. package/es/components/form/index.d.ts +45 -45
  16. package/es/components/form/src/form-content.vue.d.ts +20 -20
  17. package/es/components/form/src/index.vue.d.ts +17 -17
  18. package/es/components/form-item/index.d.ts +42 -42
  19. package/es/components/form-item/src/index.vue.d.ts +12 -12
  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/input-tag/index.d.ts +20 -20
  23. package/es/components/input-tag/src/index.vue.d.ts +8 -8
  24. package/es/components/layout/index.d.ts +30 -30
  25. package/es/components/layout/src/index.vue.d.ts +10 -10
  26. package/es/components/page/index.d.ts +452 -452
  27. package/es/components/page/src/index.vue.d.ts +154 -154
  28. package/es/components/pagination/index.d.ts +42 -42
  29. package/es/components/pagination/src/index.vue.d.ts +3 -3
  30. package/es/components/radio/index.d.ts +35 -35
  31. package/es/components/radio/src/index.vue.d.ts +27 -27
  32. package/es/components/render/index.d.ts +3 -3
  33. package/es/components/render/src/index.vue.d.ts +1 -1
  34. package/es/components/search/index.d.ts +154 -154
  35. package/es/components/search/src/index.vue.d.ts +50 -50
  36. package/es/components/sidebar/index.d.ts +15 -15
  37. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  38. package/es/components/steps-form/index.d.ts +23 -23
  39. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  40. package/es/components/table/index.d.ts +54 -54
  41. package/es/components/table/src/index.vue.d.ts +18 -18
  42. package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  43. package/es/components/table/src/table-column.vue.d.ts +37 -37
  44. package/es/components/utils/index.d.ts +2 -2
  45. package/es/components/yc-dialog/index.d.ts +24 -24
  46. package/es/components/yc-download-dialog/index.d.ts +19 -19
  47. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  48. package/es/components/yc-form-container-header/index.d.ts +12 -12
  49. package/es/components/yc-more-actions/index.d.ts +46 -46
  50. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  51. package/es/components/yc-plus-page/src/index.vue.d.ts +360 -360
  52. package/es/components/yc-segmented/index.d.ts +2 -2
  53. package/es/components/yc-segmented/src/index.d.ts +2 -2
  54. package/es/components/yc-select-v2/src/directive.d.ts +0 -4
  55. package/es/components/yc-select-v2/src/directive.mjs +70 -17
  56. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  57. package/es/components/yc-select-v2/src/index.vue2.mjs +18 -6
  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/usePlusFormReset.d.ts +208 -208
  62. package/es/index.css +1 -0
  63. package/index.css +14 -0
  64. package/index.js +88 -21
  65. package/index.min.css +1 -0
  66. package/index.min.js +4 -4
  67. package/index.min.mjs +5 -5
  68. package/index.mjs +88 -21
  69. package/lib/components/check-card/index.d.ts +61 -61
  70. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  71. package/lib/components/check-card-group/index.d.ts +43 -43
  72. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  73. package/lib/components/date-picker/index.d.ts +10 -10
  74. package/lib/components/date-picker/src/index.vue.d.ts +2 -2
  75. package/lib/components/dialog/index.d.ts +26 -26
  76. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  77. package/lib/components/dialog-form/index.d.ts +31 -31
  78. package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
  79. package/lib/components/display-item/index.d.ts +41 -41
  80. package/lib/components/display-item/src/index.vue.d.ts +22 -22
  81. package/lib/components/drawer-form/index.d.ts +50 -50
  82. package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
  83. package/lib/components/form/index.d.ts +45 -45
  84. package/lib/components/form/src/form-content.vue.d.ts +20 -20
  85. package/lib/components/form/src/index.vue.d.ts +17 -17
  86. package/lib/components/form-item/index.d.ts +42 -42
  87. package/lib/components/form-item/src/index.vue.d.ts +12 -12
  88. package/lib/components/header/index.d.ts +19 -19
  89. package/lib/components/header/src/index.vue.d.ts +1 -1
  90. package/lib/components/input-tag/index.d.ts +20 -20
  91. package/lib/components/input-tag/src/index.vue.d.ts +8 -8
  92. package/lib/components/layout/index.d.ts +30 -30
  93. package/lib/components/layout/src/index.vue.d.ts +10 -10
  94. package/lib/components/page/index.d.ts +452 -452
  95. package/lib/components/page/src/index.vue.d.ts +154 -154
  96. package/lib/components/pagination/index.d.ts +42 -42
  97. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  98. package/lib/components/radio/index.d.ts +35 -35
  99. package/lib/components/radio/src/index.vue.d.ts +27 -27
  100. package/lib/components/render/index.d.ts +3 -3
  101. package/lib/components/render/src/index.vue.d.ts +1 -1
  102. package/lib/components/search/index.d.ts +154 -154
  103. package/lib/components/search/src/index.vue.d.ts +50 -50
  104. package/lib/components/sidebar/index.d.ts +15 -15
  105. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  106. package/lib/components/steps-form/index.d.ts +23 -23
  107. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  108. package/lib/components/table/index.d.ts +54 -54
  109. package/lib/components/table/src/index.vue.d.ts +18 -18
  110. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  111. package/lib/components/table/src/table-column.vue.d.ts +37 -37
  112. package/lib/components/utils/index.d.ts +2 -2
  113. package/lib/components/yc-dialog/index.d.ts +24 -24
  114. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  115. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  116. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  117. package/lib/components/yc-more-actions/index.d.ts +46 -46
  118. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  119. package/lib/components/yc-plus-page/src/index.vue.d.ts +360 -360
  120. package/lib/components/yc-segmented/index.d.ts +2 -2
  121. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  122. package/lib/components/yc-select-v2/src/directive.d.ts +0 -4
  123. package/lib/components/yc-select-v2/src/directive.js +70 -17
  124. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  125. package/lib/components/yc-select-v2/src/index.vue2.js +17 -5
  126. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  127. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  128. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  129. package/lib/hooks/usePlusFormReset.d.ts +208 -208
  130. package/lib/index.css +1 -0
  131. package/locale/en.js +1 -1
  132. package/locale/en.min.js +1 -1
  133. package/locale/en.min.mjs +1 -1
  134. package/locale/en.mjs +1 -1
  135. package/locale/ja.js +1 -1
  136. package/locale/ja.min.js +1 -1
  137. package/locale/ja.min.mjs +1 -1
  138. package/locale/ja.mjs +1 -1
  139. package/locale/ko.js +1 -1
  140. package/locale/ko.min.js +1 -1
  141. package/locale/ko.min.mjs +1 -1
  142. package/locale/ko.mjs +1 -1
  143. package/locale/zh-cn.js +1 -1
  144. package/locale/zh-cn.min.js +1 -1
  145. package/locale/zh-cn.min.mjs +1 -1
  146. package/locale/zh-cn.mjs +1 -1
  147. package/locale/zh-tw.js +1 -1
  148. package/locale/zh-tw.min.js +1 -1
  149. package/locale/zh-tw.min.mjs +1 -1
  150. package/locale/zh-tw.mjs +1 -1
  151. package/package.json +1 -1
@@ -3,7 +3,7 @@ import { LooseRequired } from '@vue/shared';
3
3
  import { FormItemRule, RowProps, ColProps, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
4
4
  import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
5
5
  import { PlusFormGroupRow } from './src/type';
6
- import { FieldValues, PlusColumn, Mutable, RecordType, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
6
+ import { PlusColumn, FieldValues, Mutable, RecordType, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
7
7
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Component } from 'vue';
8
8
  import { default as Form } from './src/index.vue';
9
9
 
@@ -11,10 +11,6 @@ export type PlusFormInstance = InstanceType<typeof Form>;
11
11
  export * from './src/type';
12
12
  export declare const PlusForm: {
13
13
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
14
- modelValue: {
15
- type: PropType<FieldValues>;
16
- default: () => {};
17
- };
18
14
  collapseDuration: {
19
15
  type: PropType<number>;
20
16
  default: undefined;
@@ -31,6 +27,10 @@ export declare const PlusForm: {
31
27
  type: PropType<false | PlusFormGroupRow[]>;
32
28
  default: boolean;
33
29
  };
30
+ modelValue: {
31
+ type: PropType<FieldValues>;
32
+ default: () => {};
33
+ };
34
34
  rules: {
35
35
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
36
36
  default: () => {};
@@ -94,7 +94,7 @@ export declare const PlusForm: {
94
94
  default: boolean;
95
95
  };
96
96
  footerAlign: {
97
- type: PropType<"center" | "right" | "left">;
97
+ type: PropType<"right" | "left" | "center">;
98
98
  default: string;
99
99
  };
100
100
  cardProps: {
@@ -113,10 +113,10 @@ export declare const PlusForm: {
113
113
  default: boolean;
114
114
  };
115
115
  }>> & {
116
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
117
116
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
118
117
  onReset?: ((values: FieldValues) => any) | undefined;
119
118
  onSubmit?: ((values: FieldValues) => any) | undefined;
119
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
120
120
  onValidate?: ((...args: any[]) => any) | undefined;
121
121
  onSubmitError?: ((errors: unknown) => any) | undefined;
122
122
  }, {
@@ -412,10 +412,6 @@ export declare const PlusForm: {
412
412
  submitError: (errors: unknown) => void;
413
413
  validate: (...args: any[]) => void;
414
414
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
415
- modelValue: {
416
- type: PropType<FieldValues>;
417
- default: () => {};
418
- };
419
415
  collapseDuration: {
420
416
  type: PropType<number>;
421
417
  default: undefined;
@@ -432,6 +428,10 @@ export declare const PlusForm: {
432
428
  type: PropType<false | PlusFormGroupRow[]>;
433
429
  default: boolean;
434
430
  };
431
+ modelValue: {
432
+ type: PropType<FieldValues>;
433
+ default: () => {};
434
+ };
435
435
  rules: {
436
436
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
437
437
  default: () => {};
@@ -495,7 +495,7 @@ export declare const PlusForm: {
495
495
  default: boolean;
496
496
  };
497
497
  footerAlign: {
498
- type: PropType<"center" | "right" | "left">;
498
+ type: PropType<"right" | "left" | "center">;
499
499
  default: string;
500
500
  };
501
501
  cardProps: {
@@ -514,18 +514,18 @@ export declare const PlusForm: {
514
514
  default: boolean;
515
515
  };
516
516
  }>> & {
517
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
518
517
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
519
518
  onReset?: ((values: FieldValues) => any) | undefined;
520
519
  onSubmit?: ((values: FieldValues) => any) | undefined;
520
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
521
521
  onValidate?: ((...args: any[]) => any) | undefined;
522
522
  onSubmitError?: ((errors: unknown) => any) | undefined;
523
523
  }, {
524
- modelValue: FieldValues;
525
524
  collapseDuration: number;
526
525
  collapseTransition: boolean;
527
526
  columns: PlusColumn[];
528
527
  group: false | PlusFormGroupRow[];
528
+ modelValue: FieldValues;
529
529
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
530
530
  labelPosition: "top" | "right" | "left";
531
531
  labelWidth: string | number;
@@ -546,7 +546,7 @@ export declare const PlusForm: {
546
546
  submitText: string;
547
547
  resetText: string;
548
548
  submitLoading: boolean;
549
- footerAlign: "center" | "right" | "left";
549
+ footerAlign: "right" | "left" | "center";
550
550
  cardProps: Partial< Mutable<CardProps> & {
551
551
  style?: CSSProperties | undefined;
552
552
  class?: any;
@@ -561,10 +561,6 @@ export declare const PlusForm: {
561
561
  M: {};
562
562
  Defaults: {};
563
563
  }, Readonly< ExtractPropTypes<{
564
- modelValue: {
565
- type: PropType<FieldValues>;
566
- default: () => {};
567
- };
568
564
  collapseDuration: {
569
565
  type: PropType<number>;
570
566
  default: undefined;
@@ -581,6 +577,10 @@ export declare const PlusForm: {
581
577
  type: PropType<false | PlusFormGroupRow[]>;
582
578
  default: boolean;
583
579
  };
580
+ modelValue: {
581
+ type: PropType<FieldValues>;
582
+ default: () => {};
583
+ };
584
584
  rules: {
585
585
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
586
586
  default: () => {};
@@ -644,7 +644,7 @@ export declare const PlusForm: {
644
644
  default: boolean;
645
645
  };
646
646
  footerAlign: {
647
- type: PropType<"center" | "right" | "left">;
647
+ type: PropType<"right" | "left" | "center">;
648
648
  default: string;
649
649
  };
650
650
  cardProps: {
@@ -663,10 +663,10 @@ export declare const PlusForm: {
663
663
  default: boolean;
664
664
  };
665
665
  }>> & {
666
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
667
666
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
668
667
  onReset?: ((values: FieldValues) => any) | undefined;
669
668
  onSubmit?: ((values: FieldValues) => any) | undefined;
669
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
670
670
  onValidate?: ((...args: any[]) => any) | undefined;
671
671
  onSubmitError?: ((errors: unknown) => any) | undefined;
672
672
  }, {
@@ -955,11 +955,11 @@ export declare const PlusForm: {
955
955
  handleSubmit: () => void;
956
956
  handleReset: () => void;
957
957
  }, {}, {}, {}, {
958
- modelValue: FieldValues;
959
958
  collapseDuration: number;
960
959
  collapseTransition: boolean;
961
960
  columns: PlusColumn[];
962
961
  group: false | PlusFormGroupRow[];
962
+ modelValue: FieldValues;
963
963
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
964
964
  labelPosition: "top" | "right" | "left";
965
965
  labelWidth: string | number;
@@ -980,7 +980,7 @@ export declare const PlusForm: {
980
980
  submitText: string;
981
981
  resetText: string;
982
982
  submitLoading: boolean;
983
- footerAlign: "center" | "right" | "left";
983
+ footerAlign: "right" | "left" | "center";
984
984
  cardProps: Partial< Mutable<CardProps> & {
985
985
  style?: CSSProperties | undefined;
986
986
  class?: any;
@@ -992,10 +992,6 @@ export declare const PlusForm: {
992
992
  __isTeleport?: undefined;
993
993
  __isSuspense?: undefined;
994
994
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
995
- modelValue: {
996
- type: PropType<FieldValues>;
997
- default: () => {};
998
- };
999
995
  collapseDuration: {
1000
996
  type: PropType<number>;
1001
997
  default: undefined;
@@ -1012,6 +1008,10 @@ export declare const PlusForm: {
1012
1008
  type: PropType<false | PlusFormGroupRow[]>;
1013
1009
  default: boolean;
1014
1010
  };
1011
+ modelValue: {
1012
+ type: PropType<FieldValues>;
1013
+ default: () => {};
1014
+ };
1015
1015
  rules: {
1016
1016
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1017
1017
  default: () => {};
@@ -1075,7 +1075,7 @@ export declare const PlusForm: {
1075
1075
  default: boolean;
1076
1076
  };
1077
1077
  footerAlign: {
1078
- type: PropType<"center" | "right" | "left">;
1078
+ type: PropType<"right" | "left" | "center">;
1079
1079
  default: string;
1080
1080
  };
1081
1081
  cardProps: {
@@ -1094,10 +1094,10 @@ export declare const PlusForm: {
1094
1094
  default: boolean;
1095
1095
  };
1096
1096
  }>> & {
1097
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1098
1097
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1099
1098
  onReset?: ((values: FieldValues) => any) | undefined;
1100
1099
  onSubmit?: ((values: FieldValues) => any) | undefined;
1100
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1101
1101
  onValidate?: ((...args: any[]) => any) | undefined;
1102
1102
  onSubmitError?: ((errors: unknown) => any) | undefined;
1103
1103
  }, {
@@ -1393,11 +1393,11 @@ export declare const PlusForm: {
1393
1393
  submitError: (errors: unknown) => void;
1394
1394
  validate: (...args: any[]) => void;
1395
1395
  }, string, {
1396
- modelValue: FieldValues;
1397
1396
  collapseDuration: number;
1398
1397
  collapseTransition: boolean;
1399
1398
  columns: PlusColumn[];
1400
1399
  group: false | PlusFormGroupRow[];
1400
+ modelValue: FieldValues;
1401
1401
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
1402
1402
  labelPosition: "top" | "right" | "left";
1403
1403
  labelWidth: string | number;
@@ -1418,7 +1418,7 @@ export declare const PlusForm: {
1418
1418
  submitText: string;
1419
1419
  resetText: string;
1420
1420
  submitLoading: boolean;
1421
- footerAlign: "center" | "right" | "left";
1421
+ footerAlign: "right" | "left" | "center";
1422
1422
  cardProps: Partial< Mutable<CardProps> & {
1423
1423
  style?: CSSProperties | undefined;
1424
1424
  class?: any;
@@ -1438,14 +1438,14 @@ export declare const PlusForm: {
1438
1438
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
1439
1439
  columns?: PlusColumn[] | undefined;
1440
1440
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1441
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1441
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1442
1442
  readonly label: string | ComputedRef<string>;
1443
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1443
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1444
1444
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1445
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1445
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1446
1446
  style?: CSSProperties | undefined;
1447
1447
  class?: any;
1448
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1448
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1449
1449
  style?: CSSProperties | undefined;
1450
1450
  class?: any;
1451
1451
  } & RecordType>>;
@@ -1512,12 +1512,12 @@ export declare const PlusForm: {
1512
1512
  fieldInstance?: any;
1513
1513
  valueIsReady?: Ref<boolean> | undefined;
1514
1514
  prop: string;
1515
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1515
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1516
1516
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1517
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1517
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
1518
1518
  style?: CSSProperties | undefined;
1519
1519
  class?: any;
1520
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1520
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1521
1521
  style?: CSSProperties | undefined;
1522
1522
  class?: any;
1523
1523
  } & RecordType>>;
@@ -1546,14 +1546,14 @@ export declare const PlusForm: {
1546
1546
  clearable: boolean;
1547
1547
  index: number;
1548
1548
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1549
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1549
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1550
1550
  readonly label: string | ComputedRef<string>;
1551
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1551
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1552
1552
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1553
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1553
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1554
1554
  style?: CSSProperties | undefined;
1555
1555
  class?: any;
1556
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1556
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1557
1557
  style?: CSSProperties | undefined;
1558
1558
  class?: any;
1559
1559
  } & RecordType>>;
@@ -1620,12 +1620,12 @@ export declare const PlusForm: {
1620
1620
  fieldInstance?: any;
1621
1621
  valueIsReady?: Ref<boolean> | undefined;
1622
1622
  prop: string;
1623
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1623
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1624
1624
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1625
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1625
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
1626
1626
  style?: CSSProperties | undefined;
1627
1627
  class?: any;
1628
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1628
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1629
1629
  style?: CSSProperties | undefined;
1630
1630
  class?: any;
1631
1631
  } & RecordType>>;
@@ -54,13 +54,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
54
54
  collapseTransition: undefined;
55
55
  clearable: boolean;
56
56
  }>>> & {
57
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
58
57
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
58
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
59
59
  }, {
60
- modelValue: FieldValues;
61
60
  collapseDuration: number;
62
61
  collapseTransition: boolean;
63
62
  columns: PlusColumn[];
63
+ modelValue: FieldValues;
64
64
  hasLabel: boolean;
65
65
  rowProps: Partial< Mutable<RowProps> & {
66
66
  style?: CSSProperties | undefined;
@@ -94,10 +94,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
94
94
  value: string | number;
95
95
  row: RecordType;
96
96
  }) => OptionsRow<undefined>) | undefined;
97
- tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
97
+ tooltip?: string | Partial< Mutable<ElTooltipProps> & {
98
98
  style?: CSSProperties | undefined;
99
99
  class?: any;
100
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
100
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
101
101
  style?: CSSProperties | undefined;
102
102
  class?: any;
103
103
  } & RecordType>> | undefined;
@@ -198,14 +198,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
198
198
  label?: string | undefined;
199
199
  }) => RenderTypes) | undefined;
200
200
  }) => any>> & Partial<Record<string, (_: {
201
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
201
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
202
202
  readonly label: string | ComputedRef<string>;
203
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
203
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
204
204
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
205
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
205
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
206
206
  style?: CSSProperties | undefined;
207
207
  class?: any;
208
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
208
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
209
209
  style?: CSSProperties | undefined;
210
210
  class?: any;
211
211
  } & RecordType>>;
@@ -272,12 +272,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
272
272
  fieldInstance?: any;
273
273
  valueIsReady?: Ref<boolean> | undefined;
274
274
  prop: string;
275
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
275
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
276
276
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
277
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
277
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
278
278
  style?: CSSProperties | undefined;
279
279
  class?: any;
280
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
280
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
281
281
  style?: CSSProperties | undefined;
282
282
  class?: any;
283
283
  } & RecordType>>;
@@ -306,14 +306,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
306
306
  clearable: boolean;
307
307
  index: number;
308
308
  }) => any>> & Partial<Record<string, (_: {
309
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
309
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
310
310
  readonly label: string | ComputedRef<string>;
311
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
311
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
312
312
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
313
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
313
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
314
314
  style?: CSSProperties | undefined;
315
315
  class?: any;
316
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
316
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
317
317
  style?: CSSProperties | undefined;
318
318
  class?: any;
319
319
  } & RecordType>>;
@@ -380,12 +380,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
380
380
  fieldInstance?: any;
381
381
  valueIsReady?: Ref<boolean> | undefined;
382
382
  prop: string;
383
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
383
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
384
384
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
385
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
385
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
386
386
  style?: CSSProperties | undefined;
387
387
  class?: any;
388
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
388
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
389
389
  style?: CSSProperties | undefined;
390
390
  class?: any;
391
391
  } & RecordType>>;
@@ -436,10 +436,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
436
436
  value: string | number;
437
437
  row: RecordType;
438
438
  }) => OptionsRow<undefined>) | undefined;
439
- tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
439
+ tooltip?: string | Partial< Mutable<ElTooltipProps> & {
440
440
  style?: CSSProperties | undefined;
441
441
  class?: any;
442
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
442
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
443
443
  style?: CSSProperties | undefined;
444
444
  class?: any;
445
445
  } & RecordType>> | undefined;
@@ -348,18 +348,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
348
348
  collapseTransition: undefined;
349
349
  clearable: boolean;
350
350
  }>>> & {
351
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
352
351
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
353
352
  onReset?: ((values: FieldValues) => any) | undefined;
354
353
  onSubmit?: ((values: FieldValues) => any) | undefined;
354
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
355
355
  onValidate?: ((...args: any[]) => any) | undefined;
356
356
  onSubmitError?: ((errors: unknown) => any) | undefined;
357
357
  }, {
358
- modelValue: FieldValues;
359
358
  collapseDuration: number;
360
359
  collapseTransition: boolean;
361
360
  columns: PlusColumn[];
362
361
  group: false | PlusFormGroupRow[];
362
+ modelValue: FieldValues;
363
363
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
364
364
  labelPosition: "top" | "right" | "left";
365
365
  labelWidth: string | number;
@@ -380,7 +380,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
380
380
  submitText: string;
381
381
  resetText: string;
382
382
  submitLoading: boolean;
383
- footerAlign: "center" | "right" | "left";
383
+ footerAlign: "right" | "left" | "center";
384
384
  cardProps: Partial< Mutable<CardProps> & {
385
385
  style?: CSSProperties | undefined;
386
386
  class?: any;
@@ -399,14 +399,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
399
399
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
400
400
  columns?: PlusColumn[] | undefined;
401
401
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
402
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
402
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
403
403
  readonly label: string | ComputedRef<string>;
404
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
404
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
405
405
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
406
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
406
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
407
407
  style?: CSSProperties | undefined;
408
408
  class?: any;
409
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
409
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
410
410
  style?: CSSProperties | undefined;
411
411
  class?: any;
412
412
  } & RecordType>>;
@@ -473,12 +473,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
473
473
  fieldInstance?: any;
474
474
  valueIsReady?: Ref<boolean> | undefined;
475
475
  prop: string;
476
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
476
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
477
477
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
478
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
478
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
479
479
  style?: CSSProperties | undefined;
480
480
  class?: any;
481
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
481
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
482
482
  style?: CSSProperties | undefined;
483
483
  class?: any;
484
484
  } & RecordType>>;
@@ -507,14 +507,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
507
507
  clearable: boolean;
508
508
  index: number;
509
509
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
510
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
510
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
511
511
  readonly label: string | ComputedRef<string>;
512
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
512
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
513
513
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
514
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
514
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
515
515
  style?: CSSProperties | undefined;
516
516
  class?: any;
517
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
517
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
518
518
  style?: CSSProperties | undefined;
519
519
  class?: any;
520
520
  } & RecordType>>;
@@ -581,12 +581,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
581
581
  fieldInstance?: any;
582
582
  valueIsReady?: Ref<boolean> | undefined;
583
583
  prop: string;
584
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
584
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
585
585
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
586
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
586
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
587
587
  style?: CSSProperties | undefined;
588
588
  class?: any;
589
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
589
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
590
590
  style?: CSSProperties | undefined;
591
591
  class?: any;
592
592
  } & RecordType>>;