yc-pro-components 0.0.7 → 0.0.9

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 +76 -76
  2. package/es/components/check-card/src/index.vue.d.ts +14 -14
  3. package/es/components/check-card-group/index.d.ts +57 -57
  4. package/es/components/check-card-group/src/index.vue.d.ts +20 -20
  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/descriptions/index.d.ts +39 -39
  8. package/es/components/descriptions/src/index.vue.d.ts +2 -2
  9. package/es/components/dialog/index.d.ts +45 -45
  10. package/es/components/dialog/src/index.vue.d.ts +3 -3
  11. package/es/components/dialog-form/index.d.ts +47 -47
  12. package/es/components/dialog-form/src/index.vue.d.ts +11 -11
  13. package/es/components/display-item/index.d.ts +24 -24
  14. package/es/components/display-item/src/index.vue.d.ts +24 -24
  15. package/es/components/drawer-form/index.d.ts +31 -31
  16. package/es/components/drawer-form/src/index.vue.d.ts +10 -10
  17. package/es/components/form/index.d.ts +138 -138
  18. package/es/components/form/src/form-content.vue.d.ts +29 -29
  19. package/es/components/form/src/index.vue.d.ts +25 -25
  20. package/es/components/form-item/index.d.ts +128 -128
  21. package/es/components/form-item/src/index.vue.d.ts +19 -19
  22. package/es/components/header/index.d.ts +19 -19
  23. package/es/components/header/src/index.vue.d.ts +1 -1
  24. package/es/components/input-tag/index.d.ts +16 -16
  25. package/es/components/input-tag/src/index.vue.d.ts +8 -8
  26. package/es/components/layout/index.d.ts +30 -30
  27. package/es/components/layout/src/index.vue.d.ts +10 -10
  28. package/es/components/page/index.d.ts +1035 -1035
  29. package/es/components/page/src/index.vue.d.ts +337 -337
  30. package/es/components/pagination/index.d.ts +38 -38
  31. package/es/components/pagination/src/index.vue.d.ts +2 -2
  32. package/es/components/radio/index.d.ts +34 -34
  33. package/es/components/radio/src/index.vue.d.ts +26 -26
  34. package/es/components/render/index.d.ts +17 -17
  35. package/es/components/render/src/index.vue.d.ts +2 -2
  36. package/es/components/search/index.d.ts +426 -426
  37. package/es/components/search/src/index.vue.d.ts +125 -125
  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 +19 -19
  41. package/es/components/steps-form/src/index.vue.d.ts +1 -1
  42. package/es/components/table/index.d.ts +38 -38
  43. package/es/components/table/src/index.vue.d.ts +7 -7
  44. package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
  45. package/es/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
  46. package/es/components/table/src/table-column.vue.d.ts +24 -24
  47. package/es/components/utils/index.d.ts +15 -15
  48. package/es/components/yc-count-to/index.d.ts +1 -1
  49. package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
  50. package/es/components/yc-dialog/index.d.ts +24 -24
  51. package/es/components/yc-drawer/store.d.ts +6 -6
  52. package/es/components/yc-more-actions/index.d.ts +6 -6
  53. package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
  54. package/es/components/yc-plus-page/src/index.vue.d.ts +735 -735
  55. package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  56. package/es/components/yc-segmented/index.d.ts +1 -1
  57. package/es/components/yc-segmented/src/index.d.ts +1 -1
  58. package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
  59. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  60. package/es/components/yc-status-dialog/src/index.vue.mjs +1 -1
  61. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  62. package/es/hooks/usePlusFormReset.d.ts +208 -208
  63. package/es/index.css +1 -1
  64. package/index.css +8 -7
  65. package/index.js +2 -2
  66. package/index.min.css +1 -1
  67. package/index.min.js +2 -2
  68. package/index.min.mjs +2 -2
  69. package/index.mjs +2 -2
  70. package/lib/components/check-card/index.d.ts +76 -76
  71. package/lib/components/check-card/src/index.vue.d.ts +14 -14
  72. package/lib/components/check-card-group/index.d.ts +57 -57
  73. package/lib/components/check-card-group/src/index.vue.d.ts +20 -20
  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/descriptions/index.d.ts +39 -39
  77. package/lib/components/descriptions/src/index.vue.d.ts +2 -2
  78. package/lib/components/dialog/index.d.ts +45 -45
  79. package/lib/components/dialog/src/index.vue.d.ts +3 -3
  80. package/lib/components/dialog-form/index.d.ts +47 -47
  81. package/lib/components/dialog-form/src/index.vue.d.ts +11 -11
  82. package/lib/components/display-item/index.d.ts +24 -24
  83. package/lib/components/display-item/src/index.vue.d.ts +24 -24
  84. package/lib/components/drawer-form/index.d.ts +31 -31
  85. package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
  86. package/lib/components/form/index.d.ts +138 -138
  87. package/lib/components/form/src/form-content.vue.d.ts +29 -29
  88. package/lib/components/form/src/index.vue.d.ts +25 -25
  89. package/lib/components/form-item/index.d.ts +128 -128
  90. package/lib/components/form-item/src/index.vue.d.ts +19 -19
  91. package/lib/components/header/index.d.ts +19 -19
  92. package/lib/components/header/src/index.vue.d.ts +1 -1
  93. package/lib/components/input-tag/index.d.ts +16 -16
  94. package/lib/components/input-tag/src/index.vue.d.ts +8 -8
  95. package/lib/components/layout/index.d.ts +30 -30
  96. package/lib/components/layout/src/index.vue.d.ts +10 -10
  97. package/lib/components/page/index.d.ts +1035 -1035
  98. package/lib/components/page/src/index.vue.d.ts +337 -337
  99. package/lib/components/pagination/index.d.ts +38 -38
  100. package/lib/components/pagination/src/index.vue.d.ts +2 -2
  101. package/lib/components/radio/index.d.ts +34 -34
  102. package/lib/components/radio/src/index.vue.d.ts +26 -26
  103. package/lib/components/render/index.d.ts +17 -17
  104. package/lib/components/render/src/index.vue.d.ts +2 -2
  105. package/lib/components/search/index.d.ts +426 -426
  106. package/lib/components/search/src/index.vue.d.ts +125 -125
  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 +19 -19
  110. package/lib/components/steps-form/src/index.vue.d.ts +1 -1
  111. package/lib/components/table/index.d.ts +38 -38
  112. package/lib/components/table/src/index.vue.d.ts +7 -7
  113. package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
  114. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
  115. package/lib/components/table/src/table-column.vue.d.ts +24 -24
  116. package/lib/components/utils/index.d.ts +15 -15
  117. package/lib/components/yc-count-to/index.d.ts +1 -1
  118. package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
  119. package/lib/components/yc-dialog/index.d.ts +24 -24
  120. package/lib/components/yc-drawer/store.d.ts +6 -6
  121. package/lib/components/yc-more-actions/index.d.ts +6 -6
  122. package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
  123. package/lib/components/yc-plus-page/src/index.vue.d.ts +735 -735
  124. package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  125. package/lib/components/yc-segmented/index.d.ts +1 -1
  126. package/lib/components/yc-segmented/src/index.d.ts +1 -1
  127. package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
  128. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  129. package/lib/components/yc-status-dialog/src/index.vue.js +1 -1
  130. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  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-yc-status-dialog.css +1 -1
  156. package/theme-chalk/src/yc-status-dialog.scss +1 -0
@@ -1,7 +1,7 @@
1
1
  import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
2
2
  import { PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
3
3
  import { LooseRequired } from '@vue/shared';
4
- import { FormItemRule, ColProps, RowProps, 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
+ 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';
5
5
  import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
6
6
  import { PlusFormGroupRow } from 'yc-pro-components/es/components/form';
7
7
  import { PlusSearchSelfProps as PlusSearchProps } from './type';
@@ -40,69 +40,69 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
40
40
  $: ComponentInternalInstance;
41
41
  $data: {};
42
42
  $props: Partial<{
43
+ modelValue: FieldValues;
44
+ collapseDuration: number;
45
+ collapseTransition: boolean;
43
46
  columns: PlusColumn[];
44
47
  group: false | PlusFormGroupRow[];
45
- modelValue: FieldValues;
46
48
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
47
49
  labelPosition: "top" | "right" | "left";
48
50
  labelWidth: string | number;
49
51
  labelSuffix: string;
50
52
  hasLabel: boolean;
51
- clearable: boolean;
52
- colProps: Partial< Mutable<ColProps> & {
53
+ defaultValues: FieldValues;
54
+ rowProps: Partial< Mutable<RowProps> & {
53
55
  style?: CSSProperties | undefined;
54
56
  class?: any;
55
57
  } & RecordType>;
56
- collapseDuration: number;
57
- collapseTransition: boolean;
58
- rowProps: Partial< Mutable<RowProps> & {
58
+ colProps: Partial< Mutable<ColProps> & {
59
59
  style?: CSSProperties | undefined;
60
60
  class?: any;
61
61
  } & RecordType>;
62
- defaultValues: FieldValues;
63
62
  hasErrorTip: boolean;
64
63
  hasFooter: boolean;
65
64
  hasReset: boolean;
66
65
  submitText: string;
67
66
  resetText: string;
68
67
  submitLoading: boolean;
69
- footerAlign: "right" | "left" | "center";
68
+ footerAlign: "center" | "right" | "left";
70
69
  cardProps: Partial< Mutable<CardProps> & {
71
70
  style?: CSSProperties | undefined;
72
71
  class?: any;
73
72
  } & RecordType>;
74
73
  prevent: boolean;
74
+ clearable: boolean;
75
75
  }> & Omit<{
76
+ readonly modelValue: FieldValues;
76
77
  readonly columns: PlusColumn[];
77
78
  readonly group: false | PlusFormGroupRow[];
78
- readonly modelValue: FieldValues;
79
79
  readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
80
80
  readonly labelPosition: "top" | "right" | "left";
81
81
  readonly labelWidth: string | number;
82
82
  readonly labelSuffix: string;
83
83
  readonly hasLabel: boolean;
84
- readonly clearable: boolean;
85
- readonly colProps: Partial< Mutable<ColProps> & {
84
+ readonly defaultValues: FieldValues;
85
+ readonly rowProps: Partial< Mutable<RowProps> & {
86
86
  style?: CSSProperties | undefined;
87
87
  class?: any;
88
88
  } & RecordType>;
89
- readonly rowProps: Partial< Mutable<RowProps> & {
89
+ readonly colProps: Partial< Mutable<ColProps> & {
90
90
  style?: CSSProperties | undefined;
91
91
  class?: any;
92
92
  } & RecordType>;
93
- readonly defaultValues: FieldValues;
94
93
  readonly hasErrorTip: boolean;
95
94
  readonly hasFooter: boolean;
96
95
  readonly hasReset: boolean;
97
96
  readonly submitText: string;
98
97
  readonly resetText: string;
99
98
  readonly submitLoading: boolean;
100
- readonly footerAlign: "right" | "left" | "center";
99
+ readonly footerAlign: "center" | "right" | "left";
101
100
  readonly cardProps: Partial< Mutable<CardProps> & {
102
101
  style?: CSSProperties | undefined;
103
102
  class?: any;
104
103
  } & RecordType>;
105
104
  readonly prevent: boolean;
105
+ readonly clearable: boolean;
106
106
  readonly collapseDuration?: number | undefined;
107
107
  readonly collapseTransition?: boolean | undefined;
108
108
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
@@ -112,6 +112,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
112
112
  onValidate?: ((...args: any[]) => any) | undefined;
113
113
  onSubmitError?: ((errors: unknown) => any) | undefined;
114
114
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
115
+ modelValue: {
116
+ type: PropType<FieldValues>;
117
+ default: () => {};
118
+ };
119
+ collapseDuration: {
120
+ type: PropType<number>;
121
+ default: undefined;
122
+ };
123
+ collapseTransition: {
124
+ type: PropType<boolean>;
125
+ default: undefined;
126
+ };
115
127
  columns: {
116
128
  type: PropType<PlusColumn[]>;
117
129
  default: () => never[];
@@ -120,10 +132,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
120
132
  type: PropType<false | PlusFormGroupRow[]>;
121
133
  default: boolean;
122
134
  };
123
- modelValue: {
124
- type: PropType<FieldValues>;
125
- default: () => {};
126
- };
127
135
  rules: {
128
136
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
129
137
  default: () => {};
@@ -144,25 +152,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
144
152
  type: PropType<boolean>;
145
153
  default: boolean;
146
154
  };
147
- clearable: {
148
- type: PropType<boolean>;
149
- default: boolean;
150
- };
151
- colProps: {
152
- type: PropType<Partial< Mutable<ColProps> & {
153
- style?: CSSProperties | undefined;
154
- class?: any;
155
- } & RecordType>>;
155
+ defaultValues: {
156
+ type: PropType<FieldValues>;
156
157
  default: () => {};
157
158
  };
158
- collapseDuration: {
159
- type: PropType<number>;
160
- default: undefined;
161
- };
162
- collapseTransition: {
163
- type: PropType<boolean>;
164
- default: undefined;
165
- };
166
159
  rowProps: {
167
160
  type: PropType<Partial< Mutable<RowProps> & {
168
161
  style?: CSSProperties | undefined;
@@ -170,8 +163,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
170
163
  } & RecordType>>;
171
164
  default: () => {};
172
165
  };
173
- defaultValues: {
174
- type: PropType<FieldValues>;
166
+ colProps: {
167
+ type: PropType<Partial< Mutable<ColProps> & {
168
+ style?: CSSProperties | undefined;
169
+ class?: any;
170
+ } & RecordType>>;
175
171
  default: () => {};
176
172
  };
177
173
  hasErrorTip: {
@@ -199,7 +195,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
199
195
  default: boolean;
200
196
  };
201
197
  footerAlign: {
202
- type: PropType<"right" | "left" | "center">;
198
+ type: PropType<"center" | "right" | "left">;
203
199
  default: string;
204
200
  };
205
201
  cardProps: {
@@ -213,6 +209,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
213
209
  type: PropType<boolean>;
214
210
  default: boolean;
215
211
  };
212
+ clearable: {
213
+ type: PropType<boolean>;
214
+ default: boolean;
215
+ };
216
216
  }>> & {
217
217
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
218
218
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
@@ -220,7 +220,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
220
220
  onSubmit?: ((values: FieldValues) => any) | undefined;
221
221
  onValidate?: ((...args: any[]) => any) | undefined;
222
222
  onSubmitError?: ((errors: unknown) => any) | undefined;
223
- }, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
223
+ }, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
224
224
  $attrs: {
225
225
  [x: string]: unknown;
226
226
  };
@@ -232,9 +232,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
232
232
  }>;
233
233
  $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
234
234
  $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
235
- $emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
235
+ $emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
236
236
  $el: any;
237
237
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
238
+ modelValue: {
239
+ type: PropType<FieldValues>;
240
+ default: () => {};
241
+ };
242
+ collapseDuration: {
243
+ type: PropType<number>;
244
+ default: undefined;
245
+ };
246
+ collapseTransition: {
247
+ type: PropType<boolean>;
248
+ default: undefined;
249
+ };
238
250
  columns: {
239
251
  type: PropType<PlusColumn[]>;
240
252
  default: () => never[];
@@ -243,10 +255,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
243
255
  type: PropType<false | PlusFormGroupRow[]>;
244
256
  default: boolean;
245
257
  };
246
- modelValue: {
247
- type: PropType<FieldValues>;
248
- default: () => {};
249
- };
250
258
  rules: {
251
259
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
252
260
  default: () => {};
@@ -267,25 +275,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
267
275
  type: PropType<boolean>;
268
276
  default: boolean;
269
277
  };
270
- clearable: {
271
- type: PropType<boolean>;
272
- default: boolean;
273
- };
274
- colProps: {
275
- type: PropType<Partial< Mutable<ColProps> & {
276
- style?: CSSProperties | undefined;
277
- class?: any;
278
- } & RecordType>>;
278
+ defaultValues: {
279
+ type: PropType<FieldValues>;
279
280
  default: () => {};
280
281
  };
281
- collapseDuration: {
282
- type: PropType<number>;
283
- default: undefined;
284
- };
285
- collapseTransition: {
286
- type: PropType<boolean>;
287
- default: undefined;
288
- };
289
282
  rowProps: {
290
283
  type: PropType<Partial< Mutable<RowProps> & {
291
284
  style?: CSSProperties | undefined;
@@ -293,8 +286,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
293
286
  } & RecordType>>;
294
287
  default: () => {};
295
288
  };
296
- defaultValues: {
297
- type: PropType<FieldValues>;
289
+ colProps: {
290
+ type: PropType<Partial< Mutable<ColProps> & {
291
+ style?: CSSProperties | undefined;
292
+ class?: any;
293
+ } & RecordType>>;
298
294
  default: () => {};
299
295
  };
300
296
  hasErrorTip: {
@@ -322,7 +318,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
322
318
  default: boolean;
323
319
  };
324
320
  footerAlign: {
325
- type: PropType<"right" | "left" | "center">;
321
+ type: PropType<"center" | "right" | "left">;
326
322
  default: string;
327
323
  };
328
324
  cardProps: {
@@ -336,6 +332,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
336
332
  type: PropType<boolean>;
337
333
  default: boolean;
338
334
  };
335
+ clearable: {
336
+ type: PropType<boolean>;
337
+ default: boolean;
338
+ };
339
339
  }>> & {
340
340
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
341
341
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
@@ -636,38 +636,38 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
636
636
  submitError: (errors: unknown) => void;
637
637
  validate: (...args: any[]) => void;
638
638
  }, string, {
639
+ modelValue: FieldValues;
640
+ collapseDuration: number;
641
+ collapseTransition: boolean;
639
642
  columns: PlusColumn[];
640
643
  group: false | PlusFormGroupRow[];
641
- modelValue: FieldValues;
642
644
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
643
645
  labelPosition: "top" | "right" | "left";
644
646
  labelWidth: string | number;
645
647
  labelSuffix: string;
646
648
  hasLabel: boolean;
647
- clearable: boolean;
648
- colProps: Partial< Mutable<ColProps> & {
649
+ defaultValues: FieldValues;
650
+ rowProps: Partial< Mutable<RowProps> & {
649
651
  style?: CSSProperties | undefined;
650
652
  class?: any;
651
653
  } & RecordType>;
652
- collapseDuration: number;
653
- collapseTransition: boolean;
654
- rowProps: Partial< Mutable<RowProps> & {
654
+ colProps: Partial< Mutable<ColProps> & {
655
655
  style?: CSSProperties | undefined;
656
656
  class?: any;
657
657
  } & RecordType>;
658
- defaultValues: FieldValues;
659
658
  hasErrorTip: boolean;
660
659
  hasFooter: boolean;
661
660
  hasReset: boolean;
662
661
  submitText: string;
663
662
  resetText: string;
664
663
  submitLoading: boolean;
665
- footerAlign: "right" | "left" | "center";
664
+ footerAlign: "center" | "right" | "left";
666
665
  cardProps: Partial< Mutable<CardProps> & {
667
666
  style?: CSSProperties | undefined;
668
667
  class?: any;
669
668
  } & RecordType>;
670
669
  prevent: boolean;
670
+ clearable: boolean;
671
671
  }, {}, string, {}> & {
672
672
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
673
673
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -689,6 +689,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
689
689
  $nextTick: nextTick;
690
690
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
691
691
  } & Omit<Readonly< ExtractPropTypes<{
692
+ modelValue: {
693
+ type: PropType<FieldValues>;
694
+ default: () => {};
695
+ };
696
+ collapseDuration: {
697
+ type: PropType<number>;
698
+ default: undefined;
699
+ };
700
+ collapseTransition: {
701
+ type: PropType<boolean>;
702
+ default: undefined;
703
+ };
692
704
  columns: {
693
705
  type: PropType<PlusColumn[]>;
694
706
  default: () => never[];
@@ -697,10 +709,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
697
709
  type: PropType<false | PlusFormGroupRow[]>;
698
710
  default: boolean;
699
711
  };
700
- modelValue: {
701
- type: PropType<FieldValues>;
702
- default: () => {};
703
- };
704
712
  rules: {
705
713
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
706
714
  default: () => {};
@@ -721,25 +729,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
721
729
  type: PropType<boolean>;
722
730
  default: boolean;
723
731
  };
724
- clearable: {
725
- type: PropType<boolean>;
726
- default: boolean;
727
- };
728
- colProps: {
729
- type: PropType<Partial< Mutable<ColProps> & {
730
- style?: CSSProperties | undefined;
731
- class?: any;
732
- } & RecordType>>;
732
+ defaultValues: {
733
+ type: PropType<FieldValues>;
733
734
  default: () => {};
734
735
  };
735
- collapseDuration: {
736
- type: PropType<number>;
737
- default: undefined;
738
- };
739
- collapseTransition: {
740
- type: PropType<boolean>;
741
- default: undefined;
742
- };
743
736
  rowProps: {
744
737
  type: PropType<Partial< Mutable<RowProps> & {
745
738
  style?: CSSProperties | undefined;
@@ -747,8 +740,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
747
740
  } & RecordType>>;
748
741
  default: () => {};
749
742
  };
750
- defaultValues: {
751
- type: PropType<FieldValues>;
743
+ colProps: {
744
+ type: PropType<Partial< Mutable<ColProps> & {
745
+ style?: CSSProperties | undefined;
746
+ class?: any;
747
+ } & RecordType>>;
752
748
  default: () => {};
753
749
  };
754
750
  hasErrorTip: {
@@ -776,7 +772,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
776
772
  default: boolean;
777
773
  };
778
774
  footerAlign: {
779
- type: PropType<"right" | "left" | "center">;
775
+ type: PropType<"center" | "right" | "left">;
780
776
  default: string;
781
777
  };
782
778
  cardProps: {
@@ -790,6 +786,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
790
786
  type: PropType<boolean>;
791
787
  default: boolean;
792
788
  };
789
+ clearable: {
790
+ type: PropType<boolean>;
791
+ default: boolean;
792
+ };
793
793
  }>> & {
794
794
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
795
795
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
@@ -1095,14 +1095,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1095
1095
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
1096
1096
  columns?: PlusColumn[] | undefined;
1097
1097
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1098
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
1098
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
1099
1099
  readonly label: string | ComputedRef<string>;
1100
- readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1100
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1101
1101
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1102
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1102
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1103
1103
  style?: CSSProperties | undefined;
1104
1104
  class?: any;
1105
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1105
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1106
1106
  style?: CSSProperties | undefined;
1107
1107
  class?: any;
1108
1108
  } & RecordType>>;
@@ -1124,7 +1124,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1124
1124
  };
1125
1125
  rows: number;
1126
1126
  autocomplete: string;
1127
- type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
1127
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
1128
1128
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1129
1129
  step: string | number;
1130
1130
  format: string | ProgressFn | undefined;
@@ -1163,12 +1163,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1163
1163
  fieldInstance?: any;
1164
1164
  valueIsReady?: Ref<boolean> | undefined;
1165
1165
  prop: string;
1166
- modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1166
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1167
1167
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1168
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
1168
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1169
1169
  style?: CSSProperties | undefined;
1170
1170
  class?: any;
1171
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1171
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1172
1172
  style?: CSSProperties | undefined;
1173
1173
  class?: any;
1174
1174
  } & RecordType>>;
@@ -1191,14 +1191,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1191
1191
  clearable: boolean;
1192
1192
  index: number;
1193
1193
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1194
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
1194
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
1195
1195
  readonly label: string | ComputedRef<string>;
1196
- readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1196
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1197
1197
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1198
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1198
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1199
1199
  style?: CSSProperties | undefined;
1200
1200
  class?: any;
1201
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1201
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1202
1202
  style?: CSSProperties | undefined;
1203
1203
  class?: any;
1204
1204
  } & RecordType>>;
@@ -1220,7 +1220,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1220
1220
  };
1221
1221
  rows: number;
1222
1222
  autocomplete: string;
1223
- type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
1223
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
1224
1224
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1225
1225
  step: string | number;
1226
1226
  format: string | ProgressFn | undefined;
@@ -1259,12 +1259,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1259
1259
  fieldInstance?: any;
1260
1260
  valueIsReady?: Ref<boolean> | undefined;
1261
1261
  prop: string;
1262
- modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1262
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1263
1263
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1264
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
1264
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1265
1265
  style?: CSSProperties | undefined;
1266
1266
  class?: any;
1267
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1267
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1268
1268
  style?: CSSProperties | undefined;
1269
1269
  class?: any;
1270
1270
  } & RecordType>>;
@@ -1343,20 +1343,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1343
1343
  onSearch?: ((values: FieldValues) => any) | undefined;
1344
1344
  onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
1345
1345
  }, {
1346
- columns: PlusColumn[];
1347
1346
  modelValue: FieldValues;
1347
+ columns: PlusColumn[];
1348
1348
  labelPosition: "top" | "right" | "left";
1349
1349
  inline: boolean;
1350
1350
  showNumber: number;
1351
- colProps: Partial< Mutable<ColProps> & {
1351
+ defaultValues: FieldValues;
1352
+ rowProps: Partial< Mutable<RowProps> & {
1352
1353
  style?: CSSProperties | undefined;
1353
1354
  class?: any;
1354
1355
  } & RecordType>;
1355
- rowProps: Partial< Mutable<RowProps> & {
1356
+ colProps: Partial< Mutable<ColProps> & {
1356
1357
  style?: CSSProperties | undefined;
1357
1358
  class?: any;
1358
1359
  } & RecordType>;
1359
- defaultValues: FieldValues;
1360
1360
  hasFooter: boolean;
1361
1361
  hasReset: boolean;
1362
1362
  resetText: string;
@@ -1368,14 +1368,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1368
1368
  searchLoading: boolean;
1369
1369
  needValidate: boolean;
1370
1370
  }, {}>, Partial<Record<NonNullable<string | number>, (_: {
1371
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
1371
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
1372
1372
  readonly label: string | ComputedRef<string>;
1373
- readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1373
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1374
1374
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1375
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1375
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1376
1376
  style?: CSSProperties | undefined;
1377
1377
  class?: any;
1378
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1378
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1379
1379
  style?: CSSProperties | undefined;
1380
1380
  class?: any;
1381
1381
  } & RecordType>>;
@@ -1397,7 +1397,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1397
1397
  };
1398
1398
  rows: number;
1399
1399
  autocomplete: string;
1400
- type: "" | "number" | "default" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
1400
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
1401
1401
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1402
1402
  step: string | number;
1403
1403
  format: string | ProgressFn | undefined;
@@ -1436,12 +1436,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1436
1436
  fieldInstance?: any;
1437
1437
  valueIsReady?: Ref<boolean> | undefined;
1438
1438
  prop: string;
1439
- modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1439
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1440
1440
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1441
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
1441
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1442
1442
  style?: CSSProperties | undefined;
1443
1443
  class?: any;
1444
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1444
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1445
1445
  style?: CSSProperties | undefined;
1446
1446
  class?: any;
1447
1447
  } & RecordType>>;