yc-pro-components 0.0.52 → 0.0.56

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 (157) 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 +20 -20
  6. package/es/components/date-picker/src/index.vue.d.ts +12 -12
  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 +65 -65
  14. package/es/components/drawer-form/src/index.vue.d.ts +15 -15
  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 +48 -48
  19. package/es/components/form-item/src/index.vue.d.ts +14 -14
  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 +15 -15
  23. package/es/components/input-tag/src/index.vue.d.ts +3 -3
  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 +344 -344
  27. package/es/components/page/src/index.vue.d.ts +118 -118
  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/src/table-column.vue.d.ts +37 -37
  41. package/es/components/utils/index.d.ts +2 -2
  42. package/es/components/yc-dialog/index.d.ts +24 -24
  43. package/es/components/yc-download-dialog/index.d.ts +19 -19
  44. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  45. package/es/components/yc-form-container-header/index.d.ts +12 -12
  46. package/es/components/yc-more-actions/index.d.ts +46 -46
  47. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  48. package/es/components/yc-plus-page/src/index.vue.d.ts +235 -235
  49. package/es/components/yc-segmented/index.d.ts +2 -2
  50. package/es/components/yc-segmented/src/index.d.ts +2 -2
  51. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  52. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  53. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  54. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  55. package/es/defaults.mjs +9 -2
  56. package/es/directives/dist/fn-perm.mjs +12 -0
  57. package/es/hooks/usePlusFormReset.d.ts +238 -238
  58. package/es/index.css +11 -11
  59. package/es/index.d.ts +1 -0
  60. package/es/index.mjs +9 -1
  61. package/es/utils/dist/permission.mjs +3 -0
  62. package/es/version.d.ts +1 -1
  63. package/es/version.mjs +1 -1
  64. package/es/yc-components/index.d.ts +1 -0
  65. package/es/yc-components/version.d.ts +1 -1
  66. package/index.js +13 -18
  67. package/index.min.js +11 -11
  68. package/index.min.mjs +11 -11
  69. package/index.mjs +7 -15
  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 +20 -20
  75. package/lib/components/date-picker/src/index.vue.d.ts +12 -12
  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 +65 -65
  83. package/lib/components/drawer-form/src/index.vue.d.ts +15 -15
  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 +48 -48
  88. package/lib/components/form-item/src/index.vue.d.ts +14 -14
  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 +15 -15
  92. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  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 +344 -344
  96. package/lib/components/page/src/index.vue.d.ts +118 -118
  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 +154 -154
  104. package/lib/components/search/src/index.vue.d.ts +50 -50
  105. package/lib/components/sidebar/index.d.ts +15 -15
  106. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  107. package/lib/components/steps-form/index.d.ts +23 -23
  108. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  109. package/lib/components/table/src/table-column.vue.d.ts +37 -37
  110. package/lib/components/utils/index.d.ts +2 -2
  111. package/lib/components/yc-dialog/index.d.ts +24 -24
  112. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  113. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  114. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  115. package/lib/components/yc-more-actions/index.d.ts +46 -46
  116. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  117. package/lib/components/yc-plus-page/src/index.vue.d.ts +235 -235
  118. package/lib/components/yc-segmented/index.d.ts +2 -2
  119. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  120. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  121. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  122. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  123. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  124. package/lib/defaults.js +9 -2
  125. package/lib/directives/dist/fn-perm.js +14 -0
  126. package/lib/hooks/usePlusFormReset.d.ts +238 -238
  127. package/lib/index.css +10 -10
  128. package/lib/index.d.ts +1 -0
  129. package/lib/index.js +12 -2
  130. package/lib/utils/dist/permission.js +6 -0
  131. package/lib/version.d.ts +1 -1
  132. package/lib/version.js +1 -1
  133. package/lib/yc-components/index.d.ts +1 -0
  134. package/lib/yc-components/version.d.ts +1 -1
  135. package/locale/en.js +1 -1
  136. package/locale/en.min.js +1 -1
  137. package/locale/en.min.mjs +1 -1
  138. package/locale/en.mjs +1 -1
  139. package/locale/ja.js +1 -1
  140. package/locale/ja.min.js +1 -1
  141. package/locale/ja.min.mjs +1 -1
  142. package/locale/ja.mjs +1 -1
  143. package/locale/ko.js +1 -1
  144. package/locale/ko.min.js +1 -1
  145. package/locale/ko.min.mjs +1 -1
  146. package/locale/ko.mjs +1 -1
  147. package/locale/zh-cn.js +1 -1
  148. package/locale/zh-cn.min.js +1 -1
  149. package/locale/zh-cn.min.mjs +1 -1
  150. package/locale/zh-cn.mjs +1 -1
  151. package/locale/zh-tw.js +1 -1
  152. package/locale/zh-tw.min.js +1 -1
  153. package/locale/zh-tw.min.mjs +1 -1
  154. package/locale/zh-tw.mjs +1 -1
  155. package/package.json +1 -1
  156. package/es/directives/dist/index.mjs +0 -14
  157. package/lib/directives/dist/index.js +0 -16
@@ -2,7 +2,7 @@ import { LooseRequired } from '@vue/shared';
2
2
  import { FormItemRule, RowProps, ColProps, CardProps, FormInstance, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
3
3
  import { Arrayable, EpPropMergeType } from 'element-plus/es/utils';
4
4
  import { PlusFormGroupRow } from './src/type';
5
- import { FieldValues, PlusColumn, Mutable, RecordType, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
5
+ import { PlusColumn, FieldValues, Mutable, RecordType, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
6
6
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, ComputedRef, Component } from 'vue';
7
7
  import { default as Form } from './src/index.vue';
8
8
 
@@ -10,10 +10,6 @@ export type PlusFormInstance = InstanceType<typeof Form>;
10
10
  export * from './src/type';
11
11
  export declare const PlusForm: {
12
12
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
13
- modelValue: {
14
- type: PropType<FieldValues>;
15
- default: () => {};
16
- };
17
13
  collapseDuration: {
18
14
  type: PropType<number>;
19
15
  default: undefined;
@@ -34,6 +30,10 @@ export declare const PlusForm: {
34
30
  type: PropType<"grid" | "flex">;
35
31
  default: undefined;
36
32
  };
33
+ modelValue: {
34
+ type: PropType<FieldValues>;
35
+ default: () => {};
36
+ };
37
37
  rules: {
38
38
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
39
39
  default: () => {};
@@ -97,7 +97,7 @@ export declare const PlusForm: {
97
97
  default: boolean;
98
98
  };
99
99
  footerAlign: {
100
- type: PropType<"center" | "right" | "left">;
100
+ type: PropType<"right" | "left" | "center">;
101
101
  default: string;
102
102
  };
103
103
  cardProps: {
@@ -116,10 +116,10 @@ export declare const PlusForm: {
116
116
  default: boolean;
117
117
  };
118
118
  }>> & {
119
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
120
119
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
121
120
  onReset?: ((values: FieldValues) => any) | undefined;
122
121
  onSubmit?: ((values: FieldValues) => any) | undefined;
122
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
123
123
  onValidate?: ((...args: any[]) => any) | undefined;
124
124
  onSubmitError?: ((errors: unknown) => any) | undefined;
125
125
  }, {
@@ -134,10 +134,6 @@ export declare const PlusForm: {
134
134
  submitError: (errors: unknown) => void;
135
135
  validate: (...args: any[]) => void;
136
136
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
137
- modelValue: {
138
- type: PropType<FieldValues>;
139
- default: () => {};
140
- };
141
137
  collapseDuration: {
142
138
  type: PropType<number>;
143
139
  default: undefined;
@@ -158,6 +154,10 @@ export declare const PlusForm: {
158
154
  type: PropType<"grid" | "flex">;
159
155
  default: undefined;
160
156
  };
157
+ modelValue: {
158
+ type: PropType<FieldValues>;
159
+ default: () => {};
160
+ };
161
161
  rules: {
162
162
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
163
163
  default: () => {};
@@ -221,7 +221,7 @@ export declare const PlusForm: {
221
221
  default: boolean;
222
222
  };
223
223
  footerAlign: {
224
- type: PropType<"center" | "right" | "left">;
224
+ type: PropType<"right" | "left" | "center">;
225
225
  default: string;
226
226
  };
227
227
  cardProps: {
@@ -240,19 +240,19 @@ export declare const PlusForm: {
240
240
  default: boolean;
241
241
  };
242
242
  }>> & {
243
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
244
243
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
245
244
  onReset?: ((values: FieldValues) => any) | undefined;
246
245
  onSubmit?: ((values: FieldValues) => any) | undefined;
246
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
247
247
  onValidate?: ((...args: any[]) => any) | undefined;
248
248
  onSubmitError?: ((errors: unknown) => any) | undefined;
249
249
  }, {
250
- modelValue: FieldValues;
251
250
  collapseDuration: number;
252
251
  collapseTransition: boolean;
253
252
  columns: PlusColumn[];
254
253
  group: false | PlusFormGroupRow[];
255
254
  layout: "grid" | "flex";
255
+ modelValue: FieldValues;
256
256
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
257
257
  labelPosition: "top" | "right" | "left";
258
258
  labelWidth: string | number;
@@ -273,7 +273,7 @@ export declare const PlusForm: {
273
273
  submitText: string;
274
274
  resetText: string;
275
275
  submitLoading: boolean;
276
- footerAlign: "center" | "right" | "left";
276
+ footerAlign: "right" | "left" | "center";
277
277
  cardProps: Partial< Mutable<CardProps> & {
278
278
  style?: CSSProperties | undefined;
279
279
  class?: any;
@@ -288,10 +288,6 @@ export declare const PlusForm: {
288
288
  M: {};
289
289
  Defaults: {};
290
290
  }, Readonly< ExtractPropTypes<{
291
- modelValue: {
292
- type: PropType<FieldValues>;
293
- default: () => {};
294
- };
295
291
  collapseDuration: {
296
292
  type: PropType<number>;
297
293
  default: undefined;
@@ -312,6 +308,10 @@ export declare const PlusForm: {
312
308
  type: PropType<"grid" | "flex">;
313
309
  default: undefined;
314
310
  };
311
+ modelValue: {
312
+ type: PropType<FieldValues>;
313
+ default: () => {};
314
+ };
315
315
  rules: {
316
316
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
317
317
  default: () => {};
@@ -375,7 +375,7 @@ export declare const PlusForm: {
375
375
  default: boolean;
376
376
  };
377
377
  footerAlign: {
378
- type: PropType<"center" | "right" | "left">;
378
+ type: PropType<"right" | "left" | "center">;
379
379
  default: string;
380
380
  };
381
381
  cardProps: {
@@ -394,10 +394,10 @@ export declare const PlusForm: {
394
394
  default: boolean;
395
395
  };
396
396
  }>> & {
397
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
398
397
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
399
398
  onReset?: ((values: FieldValues) => any) | undefined;
400
399
  onSubmit?: ((values: FieldValues) => any) | undefined;
400
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
401
401
  onValidate?: ((...args: any[]) => any) | undefined;
402
402
  onSubmitError?: ((errors: unknown) => any) | undefined;
403
403
  }, {
@@ -405,12 +405,12 @@ export declare const PlusForm: {
405
405
  handleSubmit: () => void;
406
406
  handleReset: () => void;
407
407
  }, {}, {}, {}, {
408
- modelValue: FieldValues;
409
408
  collapseDuration: number;
410
409
  collapseTransition: boolean;
411
410
  columns: PlusColumn[];
412
411
  group: false | PlusFormGroupRow[];
413
412
  layout: "grid" | "flex";
413
+ modelValue: FieldValues;
414
414
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
415
415
  labelPosition: "top" | "right" | "left";
416
416
  labelWidth: string | number;
@@ -431,7 +431,7 @@ export declare const PlusForm: {
431
431
  submitText: string;
432
432
  resetText: string;
433
433
  submitLoading: boolean;
434
- footerAlign: "center" | "right" | "left";
434
+ footerAlign: "right" | "left" | "center";
435
435
  cardProps: Partial< Mutable<CardProps> & {
436
436
  style?: CSSProperties | undefined;
437
437
  class?: any;
@@ -443,10 +443,6 @@ export declare const PlusForm: {
443
443
  __isTeleport?: undefined;
444
444
  __isSuspense?: undefined;
445
445
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
446
- modelValue: {
447
- type: PropType<FieldValues>;
448
- default: () => {};
449
- };
450
446
  collapseDuration: {
451
447
  type: PropType<number>;
452
448
  default: undefined;
@@ -467,6 +463,10 @@ export declare const PlusForm: {
467
463
  type: PropType<"grid" | "flex">;
468
464
  default: undefined;
469
465
  };
466
+ modelValue: {
467
+ type: PropType<FieldValues>;
468
+ default: () => {};
469
+ };
470
470
  rules: {
471
471
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
472
472
  default: () => {};
@@ -530,7 +530,7 @@ export declare const PlusForm: {
530
530
  default: boolean;
531
531
  };
532
532
  footerAlign: {
533
- type: PropType<"center" | "right" | "left">;
533
+ type: PropType<"right" | "left" | "center">;
534
534
  default: string;
535
535
  };
536
536
  cardProps: {
@@ -549,10 +549,10 @@ export declare const PlusForm: {
549
549
  default: boolean;
550
550
  };
551
551
  }>> & {
552
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
553
552
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
554
553
  onReset?: ((values: FieldValues) => any) | undefined;
555
554
  onSubmit?: ((values: FieldValues) => any) | undefined;
555
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
556
556
  onValidate?: ((...args: any[]) => any) | undefined;
557
557
  onSubmitError?: ((errors: unknown) => any) | undefined;
558
558
  }, {
@@ -567,12 +567,12 @@ export declare const PlusForm: {
567
567
  submitError: (errors: unknown) => void;
568
568
  validate: (...args: any[]) => void;
569
569
  }, string, {
570
- modelValue: FieldValues;
571
570
  collapseDuration: number;
572
571
  collapseTransition: boolean;
573
572
  columns: PlusColumn[];
574
573
  group: false | PlusFormGroupRow[];
575
574
  layout: "grid" | "flex";
575
+ modelValue: FieldValues;
576
576
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
577
577
  labelPosition: "top" | "right" | "left";
578
578
  labelWidth: string | number;
@@ -593,7 +593,7 @@ export declare const PlusForm: {
593
593
  submitText: string;
594
594
  resetText: string;
595
595
  submitLoading: boolean;
596
- footerAlign: "center" | "right" | "left";
596
+ footerAlign: "right" | "left" | "center";
597
597
  cardProps: Partial< Mutable<CardProps> & {
598
598
  style?: CSSProperties | undefined;
599
599
  class?: any;
@@ -613,14 +613,14 @@ export declare const PlusForm: {
613
613
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
614
614
  columns?: PlusColumn[] | undefined;
615
615
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
616
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
616
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
617
617
  readonly label: string | ComputedRef<string>;
618
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
618
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
619
619
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
620
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
620
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
621
621
  style?: CSSProperties | undefined;
622
622
  class?: any;
623
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
623
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
624
624
  style?: CSSProperties | undefined;
625
625
  class?: any;
626
626
  } & RecordType>>;
@@ -687,12 +687,12 @@ export declare const PlusForm: {
687
687
  fieldInstance?: any;
688
688
  valueIsReady?: Ref<boolean> | undefined;
689
689
  prop: string;
690
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
690
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
691
691
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
692
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
692
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
693
693
  style?: CSSProperties | undefined;
694
694
  class?: any;
695
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
695
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
696
696
  style?: CSSProperties | undefined;
697
697
  class?: any;
698
698
  } & RecordType>>;
@@ -721,14 +721,14 @@ export declare const PlusForm: {
721
721
  clearable: boolean;
722
722
  index: number;
723
723
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
724
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
724
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
725
725
  readonly label: string | ComputedRef<string>;
726
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
726
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
727
727
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
728
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
728
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
729
729
  style?: CSSProperties | undefined;
730
730
  class?: any;
731
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
731
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
732
732
  style?: CSSProperties | undefined;
733
733
  class?: any;
734
734
  } & RecordType>>;
@@ -795,12 +795,12 @@ export declare const PlusForm: {
795
795
  fieldInstance?: any;
796
796
  valueIsReady?: Ref<boolean> | undefined;
797
797
  prop: string;
798
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
798
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
799
799
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
800
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
800
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
801
801
  style?: CSSProperties | undefined;
802
802
  class?: any;
803
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
803
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
804
804
  style?: CSSProperties | undefined;
805
805
  class?: any;
806
806
  } & RecordType>>;
@@ -62,14 +62,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
62
62
  collapseTransition: undefined;
63
63
  clearable: boolean;
64
64
  }>>> & {
65
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
66
65
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
66
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
67
67
  }, {
68
- modelValue: FieldValues;
69
68
  collapseDuration: number;
70
69
  collapseTransition: boolean;
71
70
  columns: PlusColumn[];
72
71
  layout: "grid" | "flex";
72
+ modelValue: FieldValues;
73
73
  rowProps: Partial< Mutable<RowProps> & {
74
74
  style?: CSSProperties | undefined;
75
75
  class?: any;
@@ -103,10 +103,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
103
103
  value: string | number;
104
104
  row: RecordType;
105
105
  }) => OptionsRow<undefined>) | undefined;
106
- tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
106
+ tooltip?: string | Partial< Mutable<ElTooltipProps> & {
107
107
  style?: CSSProperties | undefined;
108
108
  class?: any;
109
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
109
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
110
110
  style?: CSSProperties | undefined;
111
111
  class?: any;
112
112
  } & RecordType>> | undefined;
@@ -210,14 +210,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
210
210
  label?: string | undefined;
211
211
  }) => RenderTypes) | undefined;
212
212
  }) => any>> & Partial<Record<string, (_: {
213
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
213
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
214
214
  readonly label: string | ComputedRef<string>;
215
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
215
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
216
216
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
217
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
217
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
218
218
  style?: CSSProperties | undefined;
219
219
  class?: any;
220
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
220
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
221
221
  style?: CSSProperties | undefined;
222
222
  class?: any;
223
223
  } & RecordType>>;
@@ -284,12 +284,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
284
284
  fieldInstance?: any;
285
285
  valueIsReady?: Ref<boolean> | undefined;
286
286
  prop: string;
287
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
287
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
288
288
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
289
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
289
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
290
290
  style?: CSSProperties | undefined;
291
291
  class?: any;
292
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
292
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
293
293
  style?: CSSProperties | undefined;
294
294
  class?: any;
295
295
  } & RecordType>>;
@@ -318,14 +318,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
318
318
  clearable: boolean;
319
319
  index: number;
320
320
  }) => any>> & Partial<Record<string, (_: {
321
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
321
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
322
322
  readonly label: string | ComputedRef<string>;
323
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
323
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
324
324
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
325
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
325
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
326
326
  style?: CSSProperties | undefined;
327
327
  class?: any;
328
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
328
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
329
329
  style?: CSSProperties | undefined;
330
330
  class?: any;
331
331
  } & RecordType>>;
@@ -392,12 +392,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
392
392
  fieldInstance?: any;
393
393
  valueIsReady?: Ref<boolean> | undefined;
394
394
  prop: string;
395
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
395
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
396
396
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
397
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
397
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
398
398
  style?: CSSProperties | undefined;
399
399
  class?: any;
400
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
400
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
401
401
  style?: CSSProperties | undefined;
402
402
  class?: any;
403
403
  } & RecordType>>;
@@ -448,10 +448,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
448
448
  value: string | number;
449
449
  row: RecordType;
450
450
  }) => OptionsRow<undefined>) | undefined;
451
- tooltip?: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
451
+ tooltip?: string | Partial< Mutable<ElTooltipProps> & {
452
452
  style?: CSSProperties | undefined;
453
453
  class?: any;
454
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
454
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
455
455
  style?: CSSProperties | undefined;
456
456
  class?: any;
457
457
  } & RecordType>> | undefined;
@@ -68,19 +68,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
68
68
  collapseTransition: undefined;
69
69
  clearable: boolean;
70
70
  }>>> & {
71
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
72
71
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
73
72
  onReset?: ((values: FieldValues) => any) | undefined;
74
73
  onSubmit?: ((values: FieldValues) => any) | undefined;
74
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
75
75
  onValidate?: ((...args: any[]) => any) | undefined;
76
76
  onSubmitError?: ((errors: unknown) => any) | undefined;
77
77
  }, {
78
- modelValue: FieldValues;
79
78
  collapseDuration: number;
80
79
  collapseTransition: boolean;
81
80
  columns: PlusColumn[];
82
81
  group: false | PlusFormGroupRow[];
83
82
  layout: "grid" | "flex";
83
+ modelValue: FieldValues;
84
84
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
85
85
  labelPosition: "top" | "right" | "left";
86
86
  labelWidth: string | number;
@@ -101,7 +101,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
101
101
  submitText: string;
102
102
  resetText: string;
103
103
  submitLoading: boolean;
104
- footerAlign: "center" | "right" | "left";
104
+ footerAlign: "right" | "left" | "center";
105
105
  cardProps: Partial< Mutable<CardProps> & {
106
106
  style?: CSSProperties | undefined;
107
107
  class?: any;
@@ -120,14 +120,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
120
120
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
121
121
  columns?: PlusColumn[] | undefined;
122
122
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
123
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
123
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
124
124
  readonly label: string | ComputedRef<string>;
125
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
125
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
126
126
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
127
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
127
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
128
128
  style?: CSSProperties | undefined;
129
129
  class?: any;
130
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
130
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
131
131
  style?: CSSProperties | undefined;
132
132
  class?: any;
133
133
  } & RecordType>>;
@@ -194,12 +194,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
194
194
  fieldInstance?: any;
195
195
  valueIsReady?: Ref<boolean> | undefined;
196
196
  prop: string;
197
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
197
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
198
198
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
199
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
199
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
200
200
  style?: CSSProperties | undefined;
201
201
  class?: any;
202
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
202
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
203
203
  style?: CSSProperties | undefined;
204
204
  class?: any;
205
205
  } & RecordType>>;
@@ -228,14 +228,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
228
228
  clearable: boolean;
229
229
  index: number;
230
230
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
231
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
231
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
232
232
  readonly label: string | ComputedRef<string>;
233
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
233
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
234
234
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
235
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
235
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
236
236
  style?: CSSProperties | undefined;
237
237
  class?: any;
238
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
238
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
239
239
  style?: CSSProperties | undefined;
240
240
  class?: any;
241
241
  } & RecordType>>;
@@ -302,12 +302,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
302
302
  fieldInstance?: any;
303
303
  valueIsReady?: Ref<boolean> | undefined;
304
304
  prop: string;
305
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
305
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
306
306
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
307
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
307
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
308
308
  style?: CSSProperties | undefined;
309
309
  class?: any;
310
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
310
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
311
311
  style?: CSSProperties | undefined;
312
312
  class?: any;
313
313
  } & RecordType>>;