yc-pro-components 0.0.25 → 0.0.26

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 (174) hide show
  1. package/es/components/check-card/index.d.ts +57 -57
  2. package/es/components/check-card/src/index.vue.d.ts +14 -14
  3. package/es/components/check-card-group/index.d.ts +22 -22
  4. package/es/components/check-card-group/src/index.vue.d.ts +19 -19
  5. package/es/components/date-picker/index.d.ts +1 -1
  6. package/es/components/date-picker/src/index.vue.d.ts +1 -1
  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 +19 -19
  10. package/es/components/dialog/src/index.vue.d.ts +1 -1
  11. package/es/components/dialog-form/index.d.ts +47 -47
  12. package/es/components/dialog-form/src/index.vue.d.ts +7 -7
  13. package/es/components/display-item/index.d.ts +32 -32
  14. package/es/components/display-item/src/index.vue.d.ts +13 -13
  15. package/es/components/drawer-form/index.d.ts +28 -28
  16. package/es/components/drawer-form/src/index.vue.d.ts +6 -6
  17. package/es/components/form/index.d.ts +107 -107
  18. package/es/components/form/src/form-content.vue.d.ts +17 -17
  19. package/es/components/form/src/index.vue.d.ts +16 -16
  20. package/es/components/form-item/index.d.ts +128 -128
  21. package/es/components/form-item/src/form-item.mjs +2 -1
  22. package/es/components/form-item/src/index.vue.d.ts +16 -16
  23. package/es/components/header/index.d.ts +19 -19
  24. package/es/components/header/src/index.vue.d.ts +1 -1
  25. package/es/components/input-tag/index.d.ts +11 -11
  26. package/es/components/input-tag/src/index.vue.d.ts +3 -3
  27. package/es/components/page/index.d.ts +900 -900
  28. package/es/components/page/src/index.vue.d.ts +289 -289
  29. package/es/components/pagination/index.d.ts +4 -4
  30. package/es/components/pagination/src/index.vue.d.ts +1 -1
  31. package/es/components/radio/index.d.ts +26 -26
  32. package/es/components/radio/src/index.vue.d.ts +26 -26
  33. package/es/components/render/index.d.ts +17 -17
  34. package/es/components/render/src/index.vue.d.ts +2 -2
  35. package/es/components/search/index.d.ts +328 -328
  36. package/es/components/search/src/index.vue.d.ts +95 -95
  37. package/es/components/steps-form/index.d.ts +23 -23
  38. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  39. package/es/components/table/index.d.ts +74 -74
  40. package/es/components/table/src/index.vue.d.ts +19 -19
  41. package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
  42. package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  43. package/es/components/table/src/table-column.vue.d.ts +28 -28
  44. package/es/components/table/src/table-title-bar.vue2.mjs +1 -0
  45. package/es/components/utils/index.d.ts +15 -15
  46. package/es/components/yc-count-to/index.d.ts +1 -1
  47. package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
  48. package/es/components/yc-dialog/src/index.vue2.mjs +1 -1
  49. package/es/components/yc-download-dialog/index.d.ts +19 -19
  50. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  51. package/es/components/yc-drawer/src/index.vue.mjs +1 -1
  52. package/es/components/yc-drawer/src/index.vue2.mjs +1 -1
  53. package/es/components/yc-drawer/store.d.ts +6 -6
  54. package/es/components/yc-form-container-header/index.d.ts +12 -12
  55. package/es/components/yc-more-actions/index.d.ts +46 -46
  56. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  57. package/es/components/yc-plus-page/src/index.vue.d.ts +677 -677
  58. package/es/components/yc-plus-tree/src/index.vue.d.ts +6 -1
  59. package/es/components/yc-plus-tree/src/index.vue.mjs +1 -1
  60. package/es/components/yc-plus-tree/src/index.vue2.mjs +14 -6
  61. package/es/components/yc-segmented/index.d.ts +1 -1
  62. package/es/components/yc-segmented/src/index.d.ts +1 -1
  63. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  64. package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
  65. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  66. package/es/hooks/usePlusFormReset.d.ts +193 -193
  67. package/es/index.css +2 -2
  68. package/index.css +48 -48
  69. package/index.js +21 -11
  70. package/index.min.css +2 -2
  71. package/index.min.js +7 -7
  72. package/index.min.mjs +7 -7
  73. package/index.mjs +21 -11
  74. package/lib/components/check-card/index.d.ts +57 -57
  75. package/lib/components/check-card/src/index.vue.d.ts +14 -14
  76. package/lib/components/check-card-group/index.d.ts +22 -22
  77. package/lib/components/check-card-group/src/index.vue.d.ts +19 -19
  78. package/lib/components/date-picker/index.d.ts +1 -1
  79. package/lib/components/date-picker/src/index.vue.d.ts +1 -1
  80. package/lib/components/descriptions/index.d.ts +39 -39
  81. package/lib/components/descriptions/src/index.vue.d.ts +2 -2
  82. package/lib/components/dialog/index.d.ts +19 -19
  83. package/lib/components/dialog/src/index.vue.d.ts +1 -1
  84. package/lib/components/dialog-form/index.d.ts +47 -47
  85. package/lib/components/dialog-form/src/index.vue.d.ts +7 -7
  86. package/lib/components/display-item/index.d.ts +32 -32
  87. package/lib/components/display-item/src/index.vue.d.ts +13 -13
  88. package/lib/components/drawer-form/index.d.ts +28 -28
  89. package/lib/components/drawer-form/src/index.vue.d.ts +6 -6
  90. package/lib/components/form/index.d.ts +107 -107
  91. package/lib/components/form/src/form-content.vue.d.ts +17 -17
  92. package/lib/components/form/src/index.vue.d.ts +16 -16
  93. package/lib/components/form-item/index.d.ts +128 -128
  94. package/lib/components/form-item/src/form-item.js +2 -1
  95. package/lib/components/form-item/src/index.vue.d.ts +16 -16
  96. package/lib/components/header/index.d.ts +19 -19
  97. package/lib/components/header/src/index.vue.d.ts +1 -1
  98. package/lib/components/input-tag/index.d.ts +11 -11
  99. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  100. package/lib/components/page/index.d.ts +900 -900
  101. package/lib/components/page/src/index.vue.d.ts +289 -289
  102. package/lib/components/pagination/index.d.ts +4 -4
  103. package/lib/components/pagination/src/index.vue.d.ts +1 -1
  104. package/lib/components/radio/index.d.ts +26 -26
  105. package/lib/components/radio/src/index.vue.d.ts +26 -26
  106. package/lib/components/render/index.d.ts +17 -17
  107. package/lib/components/render/src/index.vue.d.ts +2 -2
  108. package/lib/components/search/index.d.ts +328 -328
  109. package/lib/components/search/src/index.vue.d.ts +95 -95
  110. package/lib/components/steps-form/index.d.ts +23 -23
  111. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  112. package/lib/components/table/index.d.ts +74 -74
  113. package/lib/components/table/src/index.vue.d.ts +19 -19
  114. package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
  115. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  116. package/lib/components/table/src/table-column.vue.d.ts +28 -28
  117. package/lib/components/table/src/table-title-bar.vue2.js +1 -0
  118. package/lib/components/utils/index.d.ts +15 -15
  119. package/lib/components/yc-count-to/index.d.ts +1 -1
  120. package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
  121. package/lib/components/yc-dialog/src/index.vue2.js +1 -1
  122. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  123. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  124. package/lib/components/yc-drawer/src/index.vue.js +1 -1
  125. package/lib/components/yc-drawer/src/index.vue2.js +1 -1
  126. package/lib/components/yc-drawer/store.d.ts +6 -6
  127. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  128. package/lib/components/yc-more-actions/index.d.ts +46 -46
  129. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  130. package/lib/components/yc-plus-page/src/index.vue.d.ts +677 -677
  131. package/lib/components/yc-plus-tree/src/index.vue.d.ts +6 -1
  132. package/lib/components/yc-plus-tree/src/index.vue.js +1 -1
  133. package/lib/components/yc-plus-tree/src/index.vue2.js +13 -5
  134. package/lib/components/yc-segmented/index.d.ts +1 -1
  135. package/lib/components/yc-segmented/src/index.d.ts +1 -1
  136. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  137. package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
  138. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  139. package/lib/hooks/usePlusFormReset.d.ts +193 -193
  140. package/lib/index.css +2 -2
  141. package/locale/en.js +1 -1
  142. package/locale/en.min.js +1 -1
  143. package/locale/en.min.mjs +1 -1
  144. package/locale/en.mjs +1 -1
  145. package/locale/ja.js +1 -1
  146. package/locale/ja.min.js +1 -1
  147. package/locale/ja.min.mjs +1 -1
  148. package/locale/ja.mjs +1 -1
  149. package/locale/ko.js +1 -1
  150. package/locale/ko.min.js +1 -1
  151. package/locale/ko.min.mjs +1 -1
  152. package/locale/ko.mjs +1 -1
  153. package/locale/zh-cn.js +1 -1
  154. package/locale/zh-cn.min.js +1 -1
  155. package/locale/zh-cn.min.mjs +1 -1
  156. package/locale/zh-cn.mjs +1 -1
  157. package/locale/zh-tw.js +1 -1
  158. package/locale/zh-tw.min.js +1 -1
  159. package/locale/zh-tw.min.mjs +1 -1
  160. package/locale/zh-tw.mjs +1 -1
  161. package/package.json +1 -1
  162. package/theme-chalk/index.css +1 -1
  163. package/theme-chalk/plus-dialog.css +1 -1
  164. package/theme-chalk/plus-display-item.css +1 -1
  165. package/theme-chalk/plus-table.css +1 -1
  166. package/theme-chalk/plus-yc-dialog.css +1 -1
  167. package/theme-chalk/plus-yc-drawer.css +1 -1
  168. package/theme-chalk/plus-yc-plus-tree.css +1 -1
  169. package/theme-chalk/src/dialog.scss +45 -0
  170. package/theme-chalk/src/display-item.scss +1 -0
  171. package/theme-chalk/src/table.scss +10 -0
  172. package/theme-chalk/src/yc-dialog.scss +50 -0
  173. package/theme-chalk/src/yc-drawer.scss +1 -1
  174. package/theme-chalk/src/yc-plus-tree.scss +1 -0
@@ -2,7 +2,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
2
2
  import { EpPropMergeType } from 'element-plus/es/utils';
3
3
  import { 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 { LooseRequired } from '@vue/shared';
5
- import { RecordType, PlusFormProps, PlusColumn, FieldValueType, PlusFormItemProps, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'packages/yc-components';
5
+ import { PlusFormProps, RecordType, PlusColumn, FieldValueType, PlusFormItemProps, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'packages/yc-components';
6
6
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, CSSProperties } from 'vue';
7
7
  import { default as DisplayItem } from './src/index.vue';
8
8
 
@@ -14,14 +14,14 @@ export declare const PlusDisplayItem: {
14
14
  type: PropType<number>;
15
15
  default: number;
16
16
  };
17
- rest: {
18
- type: PropType<RecordType>;
19
- default: () => {};
20
- };
21
17
  formProps: {
22
18
  type: PropType<PlusFormProps>;
23
19
  default: () => {};
24
20
  };
21
+ rest: {
22
+ type: PropType<RecordType>;
23
+ default: () => {};
24
+ };
25
25
  column: {
26
26
  type: PropType<PlusColumn>;
27
27
  required: true;
@@ -67,14 +67,14 @@ export declare const PlusDisplayItem: {
67
67
  type: PropType<number>;
68
68
  default: number;
69
69
  };
70
- rest: {
71
- type: PropType<RecordType>;
72
- default: () => {};
73
- };
74
70
  formProps: {
75
71
  type: PropType<PlusFormProps>;
76
72
  default: () => {};
77
73
  };
74
+ rest: {
75
+ type: PropType<RecordType>;
76
+ default: () => {};
77
+ };
78
78
  column: {
79
79
  type: PropType<PlusColumn>;
80
80
  required: true;
@@ -100,8 +100,8 @@ export declare const PlusDisplayItem: {
100
100
  }) => any) | undefined;
101
101
  }, {
102
102
  index: number;
103
- rest: RecordType;
104
103
  formProps: PlusFormProps;
104
+ rest: RecordType;
105
105
  column: PlusColumn;
106
106
  row: RecordType;
107
107
  editable: boolean | "click" | "dblclick";
@@ -117,14 +117,14 @@ export declare const PlusDisplayItem: {
117
117
  type: PropType<number>;
118
118
  default: number;
119
119
  };
120
- rest: {
121
- type: PropType<RecordType>;
122
- default: () => {};
123
- };
124
120
  formProps: {
125
121
  type: PropType<PlusFormProps>;
126
122
  default: () => {};
127
123
  };
124
+ rest: {
125
+ type: PropType<RecordType>;
126
+ default: () => {};
127
+ };
128
128
  column: {
129
129
  type: PropType<PlusColumn>;
130
130
  required: true;
@@ -161,8 +161,8 @@ export declare const PlusDisplayItem: {
161
161
  };
162
162
  }, {}, {}, {}, {
163
163
  index: number;
164
- rest: RecordType;
165
164
  formProps: PlusFormProps;
165
+ rest: RecordType;
166
166
  column: PlusColumn;
167
167
  row: RecordType;
168
168
  editable: boolean | "click" | "dblclick";
@@ -175,14 +175,14 @@ export declare const PlusDisplayItem: {
175
175
  type: PropType<number>;
176
176
  default: number;
177
177
  };
178
- rest: {
179
- type: PropType<RecordType>;
180
- default: () => {};
181
- };
182
178
  formProps: {
183
179
  type: PropType<PlusFormProps>;
184
180
  default: () => {};
185
181
  };
182
+ rest: {
183
+ type: PropType<RecordType>;
184
+ default: () => {};
185
+ };
186
186
  column: {
187
187
  type: PropType<PlusColumn>;
188
188
  required: true;
@@ -225,16 +225,16 @@ export declare const PlusDisplayItem: {
225
225
  }) => void;
226
226
  }, string, {
227
227
  index: number;
228
- rest: RecordType;
229
228
  formProps: PlusFormProps;
229
+ rest: RecordType;
230
230
  column: PlusColumn;
231
231
  row: RecordType;
232
232
  editable: boolean | "click" | "dblclick";
233
233
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
234
234
  $slots: Partial<Record<string, (_: {
235
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
235
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
236
236
  readonly label: string | ComputedRef<string>;
237
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
237
+ readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
238
238
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
239
239
  readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
240
240
  style?: CSSProperties | undefined;
@@ -261,7 +261,7 @@ export declare const PlusDisplayItem: {
261
261
  };
262
262
  rows: number;
263
263
  autocomplete: string;
264
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
264
+ type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
265
265
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
266
266
  step: string | number;
267
267
  format: string | ProgressFn | undefined;
@@ -306,7 +306,7 @@ export declare const PlusDisplayItem: {
306
306
  fieldInstance?: any;
307
307
  valueIsReady?: Ref<boolean> | undefined;
308
308
  prop: string;
309
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
309
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
310
310
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
311
311
  tooltip: string | Partial< Mutable<ElTooltipProps> & {
312
312
  style?: CSSProperties | undefined;
@@ -340,9 +340,9 @@ export declare const PlusDisplayItem: {
340
340
  clearable: boolean;
341
341
  index: number;
342
342
  }) => any>> & Partial<Record<string, (_: {
343
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
343
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
344
344
  readonly label: string | ComputedRef<string>;
345
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
345
+ readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
346
346
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
347
347
  readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
348
348
  style?: CSSProperties | undefined;
@@ -369,7 +369,7 @@ export declare const PlusDisplayItem: {
369
369
  };
370
370
  rows: number;
371
371
  autocomplete: string;
372
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
372
+ type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
373
373
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
374
374
  step: string | number;
375
375
  format: string | ProgressFn | undefined;
@@ -414,7 +414,7 @@ export declare const PlusDisplayItem: {
414
414
  fieldInstance?: any;
415
415
  valueIsReady?: Ref<boolean> | undefined;
416
416
  prop: string;
417
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
417
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
418
418
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
419
419
  tooltip: string | Partial< Mutable<ElTooltipProps> & {
420
420
  style?: CSSProperties | undefined;
@@ -448,9 +448,9 @@ export declare const PlusDisplayItem: {
448
448
  clearable: boolean;
449
449
  index: number;
450
450
  }) => any>> & Partial<Record<string, (_: {
451
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
451
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
452
452
  readonly label: string | ComputedRef<string>;
453
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
453
+ readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
454
454
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
455
455
  readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
456
456
  style?: CSSProperties | undefined;
@@ -477,7 +477,7 @@ export declare const PlusDisplayItem: {
477
477
  };
478
478
  rows: number;
479
479
  autocomplete: string;
480
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
480
+ type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
481
481
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
482
482
  step: string | number;
483
483
  format: string | ProgressFn | undefined;
@@ -522,7 +522,7 @@ export declare const PlusDisplayItem: {
522
522
  fieldInstance?: any;
523
523
  valueIsReady?: Ref<boolean> | undefined;
524
524
  prop: string;
525
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
525
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
526
526
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
527
527
  tooltip: string | Partial< Mutable<ElTooltipProps> & {
528
528
  style?: CSSProperties | undefined;
@@ -71,15 +71,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
71
71
  }) => any) | undefined;
72
72
  }, {
73
73
  index: number;
74
- rest: RecordType;
75
74
  formProps: PlusFormProps;
75
+ rest: RecordType;
76
76
  column: PlusColumn;
77
77
  row: RecordType;
78
78
  editable: boolean | "click" | "dblclick";
79
79
  }, {}>, Partial<Record<string, (_: {
80
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
80
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
81
81
  readonly label: string | ComputedRef<string>;
82
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
82
+ readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
83
83
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
84
84
  readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
85
85
  style?: CSSProperties | undefined;
@@ -106,7 +106,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
106
106
  };
107
107
  rows: number;
108
108
  autocomplete: string;
109
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
109
+ type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
110
110
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
111
111
  step: string | number;
112
112
  format: string | ProgressFn | undefined;
@@ -151,7 +151,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
151
151
  fieldInstance?: any;
152
152
  valueIsReady?: Ref<boolean> | undefined;
153
153
  prop: string;
154
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
154
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
155
155
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
156
156
  tooltip: string | Partial< Mutable<ElTooltipProps> & {
157
157
  style?: CSSProperties | undefined;
@@ -185,9 +185,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
185
185
  clearable: boolean;
186
186
  index: number;
187
187
  }) => any>> & Partial<Record<string, (_: {
188
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
188
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
189
189
  readonly label: string | ComputedRef<string>;
190
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
190
+ readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
191
191
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
192
192
  readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
193
193
  style?: CSSProperties | undefined;
@@ -214,7 +214,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
214
214
  };
215
215
  rows: number;
216
216
  autocomplete: string;
217
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
217
+ type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
218
218
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
219
219
  step: string | number;
220
220
  format: string | ProgressFn | undefined;
@@ -259,7 +259,7 @@ 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] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
262
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
263
263
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
264
264
  tooltip: string | Partial< Mutable<ElTooltipProps> & {
265
265
  style?: CSSProperties | undefined;
@@ -293,9 +293,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
293
293
  clearable: boolean;
294
294
  index: number;
295
295
  }) => any>> & Partial<Record<string, (_: {
296
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
296
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
297
297
  readonly label: string | ComputedRef<string>;
298
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
298
+ readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
299
299
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
300
300
  readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
301
301
  style?: CSSProperties | undefined;
@@ -322,7 +322,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
322
322
  };
323
323
  rows: number;
324
324
  autocomplete: string;
325
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
325
+ type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
326
326
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
327
327
  step: string | number;
328
328
  format: string | ProgressFn | undefined;
@@ -367,7 +367,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
367
367
  fieldInstance?: any;
368
368
  valueIsReady?: Ref<boolean> | undefined;
369
369
  prop: string;
370
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
370
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
371
371
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
372
372
  tooltip: string | Partial< Mutable<ElTooltipProps> & {
373
373
  style?: CSSProperties | undefined;
@@ -2,16 +2,12 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
2
2
  import { LooseRequired } from '@vue/shared';
3
3
  import { EpPropFinalized, EpPropMergeType, SFCWithInstall, Arrayable } from 'element-plus/es/utils';
4
4
  import { DrawerProps, DialogBeforeCloseFn, Translator, FormItemRule, 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
- import { PlusFormProps, FieldValues, Mutable, RecordType, PlusColumn, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
5
+ import { FieldValues, PlusFormProps, Mutable, RecordType, PlusColumn, 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, Component, ComputedOptions, MethodOptions, Slot, ComputedRef, DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
7
7
  export type { PlusDrawerFormProps } from './src/index.vue';
8
8
  export type PlusDrawerFormInstance = InstanceType<typeof PlusDrawerForm>;
9
9
  export declare const PlusDrawerForm: {
10
10
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
11
- form: {
12
- type: PropType<PlusFormProps>;
13
- default: () => {};
14
- };
15
11
  visible: {
16
12
  type: PropType<boolean>;
17
13
  default: boolean;
@@ -24,6 +20,10 @@ export declare const PlusDrawerForm: {
24
20
  type: PropType<FieldValues>;
25
21
  default: () => {};
26
22
  };
23
+ form: {
24
+ type: PropType<PlusFormProps>;
25
+ default: () => {};
26
+ };
27
27
  hasErrorTip: {
28
28
  type: PropType<boolean>;
29
29
  default: boolean;
@@ -52,9 +52,9 @@ export declare const PlusDrawerForm: {
52
52
  default: () => {};
53
53
  };
54
54
  }>> & {
55
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
56
55
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
57
56
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
57
+ onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
58
58
  onCancel?: (() => any) | undefined;
59
59
  onConfirm?: ((values: FieldValues) => any) | undefined;
60
60
  onConfirmError?: ((errors: unknown) => any) | undefined;
@@ -1087,10 +1087,6 @@ export declare const PlusDrawerForm: {
1087
1087
  cancel: () => void;
1088
1088
  confirmError: (errors: unknown) => void;
1089
1089
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
1090
- form: {
1091
- type: PropType<PlusFormProps>;
1092
- default: () => {};
1093
- };
1094
1090
  visible: {
1095
1091
  type: PropType<boolean>;
1096
1092
  default: boolean;
@@ -1103,6 +1099,10 @@ export declare const PlusDrawerForm: {
1103
1099
  type: PropType<FieldValues>;
1104
1100
  default: () => {};
1105
1101
  };
1102
+ form: {
1103
+ type: PropType<PlusFormProps>;
1104
+ default: () => {};
1105
+ };
1106
1106
  hasErrorTip: {
1107
1107
  type: PropType<boolean>;
1108
1108
  default: boolean;
@@ -1131,17 +1131,17 @@ export declare const PlusDrawerForm: {
1131
1131
  default: () => {};
1132
1132
  };
1133
1133
  }>> & {
1134
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1135
1134
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1136
1135
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1136
+ onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1137
1137
  onCancel?: (() => any) | undefined;
1138
1138
  onConfirm?: ((values: FieldValues) => any) | undefined;
1139
1139
  onConfirmError?: ((errors: unknown) => any) | undefined;
1140
1140
  }, {
1141
- form: PlusFormProps;
1142
1141
  visible: boolean;
1143
1142
  size: string | number;
1144
1143
  modelValue: FieldValues;
1144
+ form: PlusFormProps;
1145
1145
  hasErrorTip: boolean;
1146
1146
  hasFooter: boolean;
1147
1147
  confirmLoading: boolean;
@@ -1159,10 +1159,6 @@ export declare const PlusDrawerForm: {
1159
1159
  M: {};
1160
1160
  Defaults: {};
1161
1161
  }, Readonly< ExtractPropTypes<{
1162
- form: {
1163
- type: PropType<PlusFormProps>;
1164
- default: () => {};
1165
- };
1166
1162
  visible: {
1167
1163
  type: PropType<boolean>;
1168
1164
  default: boolean;
@@ -1175,6 +1171,10 @@ export declare const PlusDrawerForm: {
1175
1171
  type: PropType<FieldValues>;
1176
1172
  default: () => {};
1177
1173
  };
1174
+ form: {
1175
+ type: PropType<PlusFormProps>;
1176
+ default: () => {};
1177
+ };
1178
1178
  hasErrorTip: {
1179
1179
  type: PropType<boolean>;
1180
1180
  default: boolean;
@@ -1203,9 +1203,9 @@ export declare const PlusDrawerForm: {
1203
1203
  default: () => {};
1204
1204
  };
1205
1205
  }>> & {
1206
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1207
1206
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1208
1207
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1208
+ onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1209
1209
  onCancel?: (() => any) | undefined;
1210
1210
  onConfirm?: ((values: FieldValues) => any) | undefined;
1211
1211
  onConfirmError?: ((errors: unknown) => any) | undefined;
@@ -2231,10 +2231,10 @@ export declare const PlusDrawerForm: {
2231
2231
  readonly scrollToError: boolean;
2232
2232
  }>>;
2233
2233
  }, {}, {}, {}, {
2234
- form: PlusFormProps;
2235
2234
  visible: boolean;
2236
2235
  size: string | number;
2237
2236
  modelValue: FieldValues;
2237
+ form: PlusFormProps;
2238
2238
  hasErrorTip: boolean;
2239
2239
  hasFooter: boolean;
2240
2240
  confirmLoading: boolean;
@@ -2249,10 +2249,6 @@ export declare const PlusDrawerForm: {
2249
2249
  __isTeleport?: undefined;
2250
2250
  __isSuspense?: undefined;
2251
2251
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
2252
- form: {
2253
- type: PropType<PlusFormProps>;
2254
- default: () => {};
2255
- };
2256
2252
  visible: {
2257
2253
  type: PropType<boolean>;
2258
2254
  default: boolean;
@@ -2265,6 +2261,10 @@ export declare const PlusDrawerForm: {
2265
2261
  type: PropType<FieldValues>;
2266
2262
  default: () => {};
2267
2263
  };
2264
+ form: {
2265
+ type: PropType<PlusFormProps>;
2266
+ default: () => {};
2267
+ };
2268
2268
  hasErrorTip: {
2269
2269
  type: PropType<boolean>;
2270
2270
  default: boolean;
@@ -2293,9 +2293,9 @@ export declare const PlusDrawerForm: {
2293
2293
  default: () => {};
2294
2294
  };
2295
2295
  }>> & {
2296
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
2297
2296
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
2298
2297
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
2298
+ onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
2299
2299
  onCancel?: (() => any) | undefined;
2300
2300
  onConfirm?: ((values: FieldValues) => any) | undefined;
2301
2301
  onConfirmError?: ((errors: unknown) => any) | undefined;
@@ -3328,10 +3328,10 @@ export declare const PlusDrawerForm: {
3328
3328
  cancel: () => void;
3329
3329
  confirmError: (errors: unknown) => void;
3330
3330
  }, string, {
3331
- form: PlusFormProps;
3332
3331
  visible: boolean;
3333
3332
  size: string | number;
3334
3333
  modelValue: FieldValues;
3334
+ form: PlusFormProps;
3335
3335
  hasErrorTip: boolean;
3336
3336
  hasFooter: boolean;
3337
3337
  confirmLoading: boolean;
@@ -3343,9 +3343,9 @@ export declare const PlusDrawerForm: {
3343
3343
  } & RecordType>;
3344
3344
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
3345
3345
  $slots: Partial<Record<NonNullable<string | number>, (_: {
3346
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
3346
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
3347
3347
  readonly label: string | ComputedRef<string>;
3348
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
3348
+ readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
3349
3349
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
3350
3350
  readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
3351
3351
  style?: CSSProperties | undefined;
@@ -3372,7 +3372,7 @@ export declare const PlusDrawerForm: {
3372
3372
  };
3373
3373
  rows: number;
3374
3374
  autocomplete: string;
3375
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
3375
+ type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
3376
3376
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
3377
3377
  step: string | number;
3378
3378
  format: string | ProgressFn | undefined;
@@ -3417,7 +3417,7 @@ export declare const PlusDrawerForm: {
3417
3417
  fieldInstance?: any;
3418
3418
  valueIsReady?: Ref<boolean> | undefined;
3419
3419
  prop: string;
3420
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
3420
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
3421
3421
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
3422
3422
  tooltip: string | Partial< Mutable<ElTooltipProps> & {
3423
3423
  style?: CSSProperties | undefined;
@@ -1087,17 +1087,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1087
1087
  drawer: () => {};
1088
1088
  form: () => {};
1089
1089
  }>>> & {
1090
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1091
1090
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1092
1091
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1092
+ onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1093
1093
  onCancel?: (() => any) | undefined;
1094
1094
  onConfirm?: ((values: FieldValues) => any) | undefined;
1095
1095
  onConfirmError?: ((errors: unknown) => any) | undefined;
1096
1096
  }, {
1097
- form: PlusFormProps;
1098
1097
  visible: boolean;
1099
1098
  size: string | number;
1100
1099
  modelValue: FieldValues;
1100
+ form: PlusFormProps;
1101
1101
  hasErrorTip: boolean;
1102
1102
  hasFooter: boolean;
1103
1103
  confirmLoading: boolean;
@@ -1108,9 +1108,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1108
1108
  class?: any;
1109
1109
  } & RecordType>;
1110
1110
  }, {}>, Partial<Record<NonNullable<string | number>, (_: {
1111
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1111
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
1112
1112
  readonly label: string | ComputedRef<string>;
1113
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1113
+ readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1114
1114
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1115
1115
  readonly tooltip: string | Partial<Mutable< ElTooltipProps> & {
1116
1116
  style?: CSSProperties | undefined;
@@ -1137,7 +1137,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1137
1137
  };
1138
1138
  rows: number;
1139
1139
  autocomplete: string;
1140
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
1140
+ type: "" | "number" | "default" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "search" | "time" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
1141
1141
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1142
1142
  step: string | number;
1143
1143
  format: string | ProgressFn | undefined;
@@ -1182,7 +1182,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1182
1182
  fieldInstance?: any;
1183
1183
  valueIsReady?: Ref<boolean> | undefined;
1184
1184
  prop: string;
1185
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1185
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1186
1186
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1187
1187
  tooltip: string | Partial<Mutable< ElTooltipProps> & {
1188
1188
  style?: CSSProperties | undefined;