yc-pro-components 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) 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 +543 -453
  27. package/es/components/page/src/index.vue.d.ts +185 -155
  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 +193 -155
  35. package/es/components/search/src/index.vue.d.ts +56 -50
  36. package/es/components/search/src/index.vue2.mjs +14 -4
  37. package/es/components/search/src/type.d.ts +9 -0
  38. package/es/components/sidebar/index.d.ts +15 -15
  39. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  40. package/es/components/steps-form/index.d.ts +23 -23
  41. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  42. package/es/components/table/index.d.ts +54 -54
  43. package/es/components/table/src/index.vue.d.ts +18 -18
  44. package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  45. package/es/components/table/src/table-column.vue.d.ts +37 -37
  46. package/es/components/utils/index.d.ts +2 -2
  47. package/es/components/yc-dialog/index.d.ts +24 -24
  48. package/es/components/yc-download-dialog/index.d.ts +19 -19
  49. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  50. package/es/components/yc-form-container-header/index.d.ts +12 -12
  51. package/es/components/yc-more-actions/index.d.ts +46 -46
  52. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  53. package/es/components/yc-plus-page/src/index.vue.d.ts +445 -518
  54. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  55. package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
  56. package/es/components/yc-segmented/index.d.ts +2 -2
  57. package/es/components/yc-segmented/src/index.d.ts +2 -2
  58. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  59. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  60. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  61. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  62. package/es/hooks/usePlusFormReset.d.ts +208 -208
  63. package/es/index.css +1 -1
  64. package/index.css +9 -5
  65. package/index.js +23 -7
  66. package/index.min.css +1 -1
  67. package/index.min.js +6 -6
  68. package/index.min.mjs +7 -7
  69. package/index.mjs +23 -7
  70. package/lib/components/check-card/index.d.ts +61 -61
  71. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  72. package/lib/components/check-card-group/index.d.ts +43 -43
  73. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  74. package/lib/components/date-picker/index.d.ts +10 -10
  75. package/lib/components/date-picker/src/index.vue.d.ts +2 -2
  76. package/lib/components/dialog/index.d.ts +26 -26
  77. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  78. package/lib/components/dialog-form/index.d.ts +31 -31
  79. package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
  80. package/lib/components/display-item/index.d.ts +41 -41
  81. package/lib/components/display-item/src/index.vue.d.ts +22 -22
  82. package/lib/components/drawer-form/index.d.ts +50 -50
  83. package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
  84. package/lib/components/form/index.d.ts +45 -45
  85. package/lib/components/form/src/form-content.vue.d.ts +20 -20
  86. package/lib/components/form/src/index.vue.d.ts +17 -17
  87. package/lib/components/form-item/index.d.ts +42 -42
  88. package/lib/components/form-item/src/index.vue.d.ts +12 -12
  89. package/lib/components/header/index.d.ts +19 -19
  90. package/lib/components/header/src/index.vue.d.ts +1 -1
  91. package/lib/components/input-tag/index.d.ts +20 -20
  92. package/lib/components/input-tag/src/index.vue.d.ts +8 -8
  93. package/lib/components/layout/index.d.ts +30 -30
  94. package/lib/components/layout/src/index.vue.d.ts +10 -10
  95. package/lib/components/page/index.d.ts +543 -453
  96. package/lib/components/page/src/index.vue.d.ts +185 -155
  97. package/lib/components/pagination/index.d.ts +42 -42
  98. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  99. package/lib/components/radio/index.d.ts +35 -35
  100. package/lib/components/radio/src/index.vue.d.ts +27 -27
  101. package/lib/components/render/index.d.ts +3 -3
  102. package/lib/components/render/src/index.vue.d.ts +1 -1
  103. package/lib/components/search/index.d.ts +193 -155
  104. package/lib/components/search/src/index.vue.d.ts +56 -50
  105. package/lib/components/search/src/index.vue2.js +13 -3
  106. package/lib/components/search/src/type.d.ts +9 -0
  107. package/lib/components/sidebar/index.d.ts +15 -15
  108. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  109. package/lib/components/steps-form/index.d.ts +23 -23
  110. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  111. package/lib/components/table/index.d.ts +54 -54
  112. package/lib/components/table/src/index.vue.d.ts +18 -18
  113. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  114. package/lib/components/table/src/table-column.vue.d.ts +37 -37
  115. package/lib/components/utils/index.d.ts +2 -2
  116. package/lib/components/yc-dialog/index.d.ts +24 -24
  117. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  118. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  119. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  120. package/lib/components/yc-more-actions/index.d.ts +46 -46
  121. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  122. package/lib/components/yc-plus-page/src/index.vue.d.ts +445 -518
  123. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  124. package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
  125. package/lib/components/yc-segmented/index.d.ts +2 -2
  126. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  127. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  128. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  129. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  130. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  131. package/lib/hooks/usePlusFormReset.d.ts +208 -208
  132. package/lib/index.css +1 -1
  133. package/locale/en.js +1 -1
  134. package/locale/en.min.js +1 -1
  135. package/locale/en.min.mjs +1 -1
  136. package/locale/en.mjs +1 -1
  137. package/locale/ja.js +1 -1
  138. package/locale/ja.min.js +1 -1
  139. package/locale/ja.min.mjs +1 -1
  140. package/locale/ja.mjs +1 -1
  141. package/locale/ko.js +1 -1
  142. package/locale/ko.min.js +1 -1
  143. package/locale/ko.min.mjs +1 -1
  144. package/locale/ko.mjs +1 -1
  145. package/locale/zh-cn.js +1 -1
  146. package/locale/zh-cn.min.js +1 -1
  147. package/locale/zh-cn.min.mjs +1 -1
  148. package/locale/zh-cn.mjs +1 -1
  149. package/locale/zh-tw.js +1 -1
  150. package/locale/zh-tw.min.js +1 -1
  151. package/locale/zh-tw.min.mjs +1 -1
  152. package/locale/zh-tw.mjs +1 -1
  153. package/package.json +1 -1
  154. package/theme-chalk/index.css +1 -1
  155. package/theme-chalk/plus-page.css +1 -1
  156. package/theme-chalk/src/page.scss +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: () => Promise<boolean>;
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">> & {
1441
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
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>>;
@@ -1506,12 +1506,12 @@ export declare const PlusForm: {
1506
1506
  fieldInstance?: any;
1507
1507
  valueIsReady?: Ref<boolean> | undefined;
1508
1508
  prop: string;
1509
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1509
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1510
1510
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1511
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1511
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
1512
1512
  style?: CSSProperties | undefined;
1513
1513
  class?: any;
1514
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1514
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1515
1515
  style?: CSSProperties | undefined;
1516
1516
  class?: any;
1517
1517
  } & RecordType>>;
@@ -1534,14 +1534,14 @@ export declare const PlusForm: {
1534
1534
  clearable: boolean;
1535
1535
  index: number;
1536
1536
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1537
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
1537
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
1538
1538
  readonly label: string | ComputedRef<string>;
1539
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1539
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1540
1540
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1541
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1541
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1542
1542
  style?: CSSProperties | undefined;
1543
1543
  class?: any;
1544
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1544
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1545
1545
  style?: CSSProperties | undefined;
1546
1546
  class?: any;
1547
1547
  } & RecordType>>;
@@ -1602,12 +1602,12 @@ export declare const PlusForm: {
1602
1602
  fieldInstance?: any;
1603
1603
  valueIsReady?: Ref<boolean> | undefined;
1604
1604
  prop: string;
1605
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1605
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1606
1606
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1607
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1607
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
1608
1608
  style?: CSSProperties | undefined;
1609
1609
  class?: any;
1610
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1610
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1611
1611
  style?: CSSProperties | undefined;
1612
1612
  class?: any;
1613
1613
  } & 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;
@@ -191,14 +191,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
191
191
  label?: string | undefined;
192
192
  }) => RenderTypes) | undefined;
193
193
  }) => any>> & Partial<Record<string, (_: {
194
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
194
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
195
195
  readonly label: string | ComputedRef<string>;
196
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
196
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
197
197
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
198
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
198
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
199
199
  style?: CSSProperties | undefined;
200
200
  class?: any;
201
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
201
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
202
202
  style?: CSSProperties | undefined;
203
203
  class?: any;
204
204
  } & RecordType>>;
@@ -259,12 +259,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
259
259
  fieldInstance?: any;
260
260
  valueIsReady?: Ref<boolean> | undefined;
261
261
  prop: string;
262
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
262
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
263
263
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
264
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
264
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
265
265
  style?: CSSProperties | undefined;
266
266
  class?: any;
267
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
267
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
268
268
  style?: CSSProperties | undefined;
269
269
  class?: any;
270
270
  } & RecordType>>;
@@ -287,14 +287,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
287
287
  clearable: boolean;
288
288
  index: number;
289
289
  }) => any>> & Partial<Record<string, (_: {
290
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
290
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
291
291
  readonly label: string | ComputedRef<string>;
292
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
292
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
293
293
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
294
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
294
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
295
295
  style?: CSSProperties | undefined;
296
296
  class?: any;
297
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
297
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
298
298
  style?: CSSProperties | undefined;
299
299
  class?: any;
300
300
  } & RecordType>>;
@@ -355,12 +355,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
355
355
  fieldInstance?: any;
356
356
  valueIsReady?: Ref<boolean> | undefined;
357
357
  prop: string;
358
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
358
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
359
359
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
360
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
360
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
361
361
  style?: CSSProperties | undefined;
362
362
  class?: any;
363
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
363
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
364
364
  style?: CSSProperties | undefined;
365
365
  class?: any;
366
366
  } & RecordType>>;
@@ -405,10 +405,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
405
405
  value: string | number;
406
406
  row: RecordType;
407
407
  }) => OptionsRow<undefined>) | undefined;
408
- tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
408
+ tooltip?: string | Partial< Mutable<ElTooltipProps> & {
409
409
  style?: CSSProperties | undefined;
410
410
  class?: any;
411
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
411
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
412
412
  style?: CSSProperties | undefined;
413
413
  class?: any;
414
414
  } & 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">> & {
402
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
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>>;
@@ -467,12 +467,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
467
467
  fieldInstance?: any;
468
468
  valueIsReady?: Ref<boolean> | undefined;
469
469
  prop: string;
470
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
470
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
471
471
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
472
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
472
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
473
473
  style?: CSSProperties | undefined;
474
474
  class?: any;
475
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
475
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
476
476
  style?: CSSProperties | undefined;
477
477
  class?: any;
478
478
  } & RecordType>>;
@@ -495,14 +495,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
495
495
  clearable: boolean;
496
496
  index: number;
497
497
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
498
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
498
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
499
499
  readonly label: string | ComputedRef<string>;
500
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
500
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
501
501
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
502
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
502
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
503
503
  style?: CSSProperties | undefined;
504
504
  class?: any;
505
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
505
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
506
506
  style?: CSSProperties | undefined;
507
507
  class?: any;
508
508
  } & RecordType>>;
@@ -563,12 +563,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
563
563
  fieldInstance?: any;
564
564
  valueIsReady?: Ref<boolean> | undefined;
565
565
  prop: string;
566
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
566
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
567
567
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
568
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
568
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
569
569
  style?: CSSProperties | undefined;
570
570
  class?: any;
571
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
571
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
572
572
  style?: CSSProperties | undefined;
573
573
  class?: any;
574
574
  } & RecordType>>;