yc-pro-components 0.0.24 → 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 (198) 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 +157 -138
  18. package/es/components/form/src/form-content.vue.d.ts +33 -29
  19. package/es/components/form/src/form-content.vue2.mjs +106 -96
  20. package/es/components/form/src/index.vue.d.ts +28 -25
  21. package/es/components/form/src/index.vue2.mjs +5 -2
  22. package/es/components/form/src/type.d.ts +4 -0
  23. package/es/components/form-item/index.d.ts +150 -150
  24. package/es/components/form-item/src/form-item.mjs +2 -1
  25. package/es/components/form-item/src/index.vue.d.ts +21 -21
  26. package/es/components/form-item/src/index.vue2.mjs +22 -18
  27. package/es/components/header/index.d.ts +19 -19
  28. package/es/components/header/src/index.vue.d.ts +1 -1
  29. package/es/components/input-tag/index.d.ts +16 -16
  30. package/es/components/input-tag/src/index.vue.d.ts +8 -8
  31. package/es/components/layout/index.d.ts +30 -30
  32. package/es/components/layout/src/index.vue.d.ts +10 -10
  33. package/es/components/page/index.d.ts +1175 -1040
  34. package/es/components/page/src/index.vue.d.ts +383 -338
  35. package/es/components/pagination/index.d.ts +38 -38
  36. package/es/components/pagination/src/index.vue.d.ts +2 -2
  37. package/es/components/radio/index.d.ts +34 -34
  38. package/es/components/radio/src/index.vue.d.ts +26 -26
  39. package/es/components/render/index.d.ts +17 -17
  40. package/es/components/render/src/index.vue.d.ts +2 -2
  41. package/es/components/search/index.d.ts +494 -430
  42. package/es/components/search/src/index.vue.d.ts +143 -125
  43. package/es/components/search/src/index.vue2.mjs +3 -1
  44. package/es/components/search/src/type.d.ts +7 -0
  45. package/es/components/sidebar/index.d.ts +15 -15
  46. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  47. package/es/components/steps-form/index.d.ts +19 -19
  48. package/es/components/steps-form/src/index.vue.d.ts +1 -1
  49. package/es/components/table/index.d.ts +38 -38
  50. package/es/components/table/src/index.vue.d.ts +7 -7
  51. package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
  52. package/es/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
  53. package/es/components/table/src/table-column.vue.d.ts +24 -24
  54. package/es/components/table/src/table-title-bar.vue2.mjs +1 -0
  55. package/es/components/utils/index.d.ts +15 -15
  56. package/es/components/yc-count-to/index.d.ts +1 -1
  57. package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
  58. package/es/components/yc-dialog/index.d.ts +24 -24
  59. package/es/components/yc-dialog/src/index.vue2.mjs +1 -1
  60. package/es/components/yc-drawer/src/index.vue.mjs +1 -1
  61. package/es/components/yc-drawer/src/index.vue2.mjs +1 -1
  62. package/es/components/yc-drawer/store.d.ts +6 -6
  63. package/es/components/yc-more-actions/index.d.ts +6 -6
  64. package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
  65. package/es/components/yc-plus-page/src/index.vue.d.ts +826 -736
  66. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  67. package/es/components/yc-plus-page/src/index.vue2.mjs +2 -15
  68. package/es/components/yc-plus-tree/src/index.vue.d.ts +6 -1
  69. package/es/components/yc-plus-tree/src/index.vue.mjs +1 -1
  70. package/es/components/yc-plus-tree/src/index.vue2.mjs +14 -6
  71. package/es/components/yc-segmented/index.d.ts +1 -1
  72. package/es/components/yc-segmented/src/index.d.ts +1 -1
  73. package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
  74. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  75. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  76. package/es/hooks/usePlusFormReset.d.ts +208 -208
  77. package/es/index.css +3 -3
  78. package/index.css +54 -54
  79. package/index.js +160 -144
  80. package/index.min.css +3 -3
  81. package/index.min.js +7 -7
  82. package/index.min.mjs +7 -7
  83. package/index.mjs +160 -144
  84. package/lib/components/check-card/index.d.ts +76 -76
  85. package/lib/components/check-card/src/index.vue.d.ts +14 -14
  86. package/lib/components/check-card-group/index.d.ts +57 -57
  87. package/lib/components/check-card-group/src/index.vue.d.ts +20 -20
  88. package/lib/components/date-picker/index.d.ts +10 -10
  89. package/lib/components/date-picker/src/index.vue.d.ts +2 -2
  90. package/lib/components/descriptions/index.d.ts +39 -39
  91. package/lib/components/descriptions/src/index.vue.d.ts +2 -2
  92. package/lib/components/dialog/index.d.ts +45 -45
  93. package/lib/components/dialog/src/index.vue.d.ts +3 -3
  94. package/lib/components/dialog-form/index.d.ts +47 -47
  95. package/lib/components/dialog-form/src/index.vue.d.ts +11 -11
  96. package/lib/components/display-item/index.d.ts +24 -24
  97. package/lib/components/display-item/src/index.vue.d.ts +24 -24
  98. package/lib/components/drawer-form/index.d.ts +31 -31
  99. package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
  100. package/lib/components/form/index.d.ts +157 -138
  101. package/lib/components/form/src/form-content.vue.d.ts +33 -29
  102. package/lib/components/form/src/form-content.vue2.js +105 -95
  103. package/lib/components/form/src/index.vue.d.ts +28 -25
  104. package/lib/components/form/src/index.vue2.js +5 -2
  105. package/lib/components/form/src/type.d.ts +4 -0
  106. package/lib/components/form-item/index.d.ts +150 -150
  107. package/lib/components/form-item/src/form-item.js +2 -1
  108. package/lib/components/form-item/src/index.vue.d.ts +21 -21
  109. package/lib/components/form-item/src/index.vue2.js +21 -17
  110. package/lib/components/header/index.d.ts +19 -19
  111. package/lib/components/header/src/index.vue.d.ts +1 -1
  112. package/lib/components/input-tag/index.d.ts +16 -16
  113. package/lib/components/input-tag/src/index.vue.d.ts +8 -8
  114. package/lib/components/layout/index.d.ts +30 -30
  115. package/lib/components/layout/src/index.vue.d.ts +10 -10
  116. package/lib/components/page/index.d.ts +1175 -1040
  117. package/lib/components/page/src/index.vue.d.ts +383 -338
  118. package/lib/components/pagination/index.d.ts +38 -38
  119. package/lib/components/pagination/src/index.vue.d.ts +2 -2
  120. package/lib/components/radio/index.d.ts +34 -34
  121. package/lib/components/radio/src/index.vue.d.ts +26 -26
  122. package/lib/components/render/index.d.ts +17 -17
  123. package/lib/components/render/src/index.vue.d.ts +2 -2
  124. package/lib/components/search/index.d.ts +494 -430
  125. package/lib/components/search/src/index.vue.d.ts +143 -125
  126. package/lib/components/search/src/index.vue2.js +3 -1
  127. package/lib/components/search/src/type.d.ts +7 -0
  128. package/lib/components/sidebar/index.d.ts +15 -15
  129. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  130. package/lib/components/steps-form/index.d.ts +19 -19
  131. package/lib/components/steps-form/src/index.vue.d.ts +1 -1
  132. package/lib/components/table/index.d.ts +38 -38
  133. package/lib/components/table/src/index.vue.d.ts +7 -7
  134. package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
  135. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +6 -6
  136. package/lib/components/table/src/table-column.vue.d.ts +24 -24
  137. package/lib/components/table/src/table-title-bar.vue2.js +1 -0
  138. package/lib/components/utils/index.d.ts +15 -15
  139. package/lib/components/yc-count-to/index.d.ts +1 -1
  140. package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
  141. package/lib/components/yc-dialog/index.d.ts +24 -24
  142. package/lib/components/yc-dialog/src/index.vue2.js +1 -1
  143. package/lib/components/yc-drawer/src/index.vue.js +1 -1
  144. package/lib/components/yc-drawer/src/index.vue2.js +1 -1
  145. package/lib/components/yc-drawer/store.d.ts +6 -6
  146. package/lib/components/yc-more-actions/index.d.ts +6 -6
  147. package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
  148. package/lib/components/yc-plus-page/src/index.vue.d.ts +826 -736
  149. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  150. package/lib/components/yc-plus-page/src/index.vue2.js +2 -15
  151. package/lib/components/yc-plus-tree/src/index.vue.d.ts +6 -1
  152. package/lib/components/yc-plus-tree/src/index.vue.js +1 -1
  153. package/lib/components/yc-plus-tree/src/index.vue2.js +13 -5
  154. package/lib/components/yc-segmented/index.d.ts +1 -1
  155. package/lib/components/yc-segmented/src/index.d.ts +1 -1
  156. package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
  157. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  158. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  159. package/lib/hooks/usePlusFormReset.d.ts +208 -208
  160. package/lib/index.css +3 -3
  161. package/locale/en.js +1 -1
  162. package/locale/en.min.js +1 -1
  163. package/locale/en.min.mjs +1 -1
  164. package/locale/en.mjs +1 -1
  165. package/locale/ja.js +1 -1
  166. package/locale/ja.min.js +1 -1
  167. package/locale/ja.min.mjs +1 -1
  168. package/locale/ja.mjs +1 -1
  169. package/locale/ko.js +1 -1
  170. package/locale/ko.min.js +1 -1
  171. package/locale/ko.min.mjs +1 -1
  172. package/locale/ko.mjs +1 -1
  173. package/locale/zh-cn.js +1 -1
  174. package/locale/zh-cn.min.js +1 -1
  175. package/locale/zh-cn.min.mjs +1 -1
  176. package/locale/zh-cn.mjs +1 -1
  177. package/locale/zh-tw.js +1 -1
  178. package/locale/zh-tw.min.js +1 -1
  179. package/locale/zh-tw.min.mjs +1 -1
  180. package/locale/zh-tw.mjs +1 -1
  181. package/package.json +1 -1
  182. package/theme-chalk/index.css +1 -1
  183. package/theme-chalk/plus-dialog.css +1 -1
  184. package/theme-chalk/plus-display-item.css +1 -1
  185. package/theme-chalk/plus-form.css +1 -1
  186. package/theme-chalk/plus-search.css +1 -1
  187. package/theme-chalk/plus-table.css +1 -1
  188. package/theme-chalk/plus-yc-dialog.css +1 -1
  189. package/theme-chalk/plus-yc-drawer.css +1 -1
  190. package/theme-chalk/plus-yc-plus-tree.css +1 -1
  191. package/theme-chalk/src/dialog.scss +45 -0
  192. package/theme-chalk/src/display-item.scss +1 -0
  193. package/theme-chalk/src/form.scss +20 -0
  194. package/theme-chalk/src/search.scss +125 -0
  195. package/theme-chalk/src/table.scss +10 -0
  196. package/theme-chalk/src/yc-dialog.scss +50 -0
  197. package/theme-chalk/src/yc-drawer.scss +1 -1
  198. package/theme-chalk/src/yc-plus-tree.scss +1 -0
@@ -4,32 +4,28 @@ import { LooseRequired } from '@vue/shared';
4
4
  import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
5
5
  import { EpPropMergeType, EpPropFinalized, Arrayable } from 'element-plus/es/utils';
6
6
  import { ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, FormItemProp, FormItemRule, FormContext, FormItemContext, FormValidateFailure, FormValidateCallback, FormValidationResult } from 'element-plus';
7
- import { RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, OptionsRow, TableValueType, FieldValueType, PlusColumn, FormItemValueType } from 'packages/yc-components';
7
+ import { Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, OptionsRow, FieldValueType, PlusColumn, TableValueType, FormItemValueType } from 'packages/yc-components';
8
8
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, Slot, DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
9
9
  export type { PlusFormItemProps } from './src/index.vue';
10
10
  export declare const PlusFormItem: {
11
11
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
12
- index: {
13
- type: PropType<number>;
14
- default: number;
15
- };
16
- modelValue: {
17
- type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
18
- default: string;
12
+ prop: {
13
+ type: PropType<string>;
14
+ required: true;
19
15
  };
20
16
  label: {
21
17
  type: PropType<string | ComputedRef<string>>;
22
18
  default: string;
23
19
  };
24
- prop: {
25
- type: PropType<string>;
26
- required: true;
20
+ index: {
21
+ type: PropType<number>;
22
+ default: number;
27
23
  };
28
24
  tooltip: {
29
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
25
+ type: PropType<string | Partial< Mutable<ElTooltipProps> & {
30
26
  style?: CSSProperties | undefined;
31
27
  class?: any;
32
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
28
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
33
29
  style?: CSSProperties | undefined;
34
30
  class?: any;
35
31
  } & RecordType>>>;
@@ -57,7 +53,7 @@ export declare const PlusFormItem: {
57
53
  };
58
54
  rows: number;
59
55
  autocomplete: string;
60
- 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";
56
+ 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";
61
57
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
62
58
  step: string | number;
63
59
  format: string | ProgressFn | undefined;
@@ -73,6 +69,10 @@ export declare const PlusFormItem: {
73
69
  type: PropType<OptionsType>;
74
70
  default: () => never[];
75
71
  };
72
+ modelValue: {
73
+ type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
74
+ default: string;
75
+ };
76
76
  fieldSlots: {
77
77
  type: PropType<{
78
78
  [slotName: string]: (data?: any) => RenderTypes;
@@ -91,24 +91,12 @@ export declare const PlusFormItem: {
91
91
  type: PropType<boolean>;
92
92
  default: boolean;
93
93
  };
94
- valueType: {
95
- type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
96
- default: undefined;
97
- };
98
94
  renderField: {
99
95
  type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
100
96
  default: undefined;
101
97
  };
102
- renderLabel: {
103
- type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
104
- default: undefined;
105
- };
106
- renderErrorMessage: {
107
- type: PropType<(props: PlusColumn & {
108
- value?: FieldValueType;
109
- error?: string | undefined;
110
- label?: string | undefined;
111
- }) => RenderTypes>;
98
+ valueType: {
99
+ type: PropType< TableValueType | "rate" | "input-number" | "slider" | "switch" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "tree-select">;
112
100
  default: undefined;
113
101
  };
114
102
  optionsMap: {
@@ -127,6 +115,18 @@ export declare const PlusFormItem: {
127
115
  }>;
128
116
  default: undefined;
129
117
  };
118
+ renderLabel: {
119
+ type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
120
+ default: undefined;
121
+ };
122
+ renderErrorMessage: {
123
+ type: PropType<(props: PlusColumn & {
124
+ value?: FieldValueType;
125
+ error?: string | undefined;
126
+ label?: string | undefined;
127
+ }) => RenderTypes>;
128
+ default: undefined;
129
+ };
130
130
  }>> & {
131
131
  "onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
132
132
  onChange?: ((value: FieldValueType) => any) | undefined;
@@ -468,27 +468,23 @@ export declare const PlusFormItem: {
468
468
  "update:modelValue": (value: FieldValueType) => void;
469
469
  change: (value: FieldValueType) => void;
470
470
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
471
- index: {
472
- type: PropType<number>;
473
- default: number;
474
- };
475
- modelValue: {
476
- type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
477
- default: string;
471
+ prop: {
472
+ type: PropType<string>;
473
+ required: true;
478
474
  };
479
475
  label: {
480
476
  type: PropType<string | ComputedRef<string>>;
481
477
  default: string;
482
478
  };
483
- prop: {
484
- type: PropType<string>;
485
- required: true;
479
+ index: {
480
+ type: PropType<number>;
481
+ default: number;
486
482
  };
487
483
  tooltip: {
488
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
484
+ type: PropType<string | Partial< Mutable<ElTooltipProps> & {
489
485
  style?: CSSProperties | undefined;
490
486
  class?: any;
491
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
487
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
492
488
  style?: CSSProperties | undefined;
493
489
  class?: any;
494
490
  } & RecordType>>>;
@@ -516,7 +512,7 @@ export declare const PlusFormItem: {
516
512
  };
517
513
  rows: number;
518
514
  autocomplete: string;
519
- 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";
515
+ 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";
520
516
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
521
517
  step: string | number;
522
518
  format: string | ProgressFn | undefined;
@@ -532,6 +528,10 @@ export declare const PlusFormItem: {
532
528
  type: PropType<OptionsType>;
533
529
  default: () => never[];
534
530
  };
531
+ modelValue: {
532
+ type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
533
+ default: string;
534
+ };
535
535
  fieldSlots: {
536
536
  type: PropType<{
537
537
  [slotName: string]: (data?: any) => RenderTypes;
@@ -550,24 +550,12 @@ export declare const PlusFormItem: {
550
550
  type: PropType<boolean>;
551
551
  default: boolean;
552
552
  };
553
- valueType: {
554
- type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
555
- default: undefined;
556
- };
557
553
  renderField: {
558
554
  type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
559
555
  default: undefined;
560
556
  };
561
- renderLabel: {
562
- type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
563
- default: undefined;
564
- };
565
- renderErrorMessage: {
566
- type: PropType<(props: PlusColumn & {
567
- value?: FieldValueType;
568
- error?: string | undefined;
569
- label?: string | undefined;
570
- }) => RenderTypes>;
557
+ valueType: {
558
+ type: PropType< TableValueType | "rate" | "input-number" | "slider" | "switch" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "tree-select">;
571
559
  default: undefined;
572
560
  };
573
561
  optionsMap: {
@@ -586,13 +574,24 @@ export declare const PlusFormItem: {
586
574
  }>;
587
575
  default: undefined;
588
576
  };
577
+ renderLabel: {
578
+ type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
579
+ default: undefined;
580
+ };
581
+ renderErrorMessage: {
582
+ type: PropType<(props: PlusColumn & {
583
+ value?: FieldValueType;
584
+ error?: string | undefined;
585
+ label?: string | undefined;
586
+ }) => RenderTypes>;
587
+ default: undefined;
588
+ };
589
589
  }>> & {
590
590
  "onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
591
591
  onChange?: ((value: FieldValueType) => any) | undefined;
592
592
  }, {
593
- index: number;
594
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
595
593
  label: string | ComputedRef<string>;
594
+ index: number;
596
595
  tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
597
596
  style?: CSSProperties | undefined;
598
597
  class?: any;
@@ -618,7 +617,7 @@ export declare const PlusFormItem: {
618
617
  };
619
618
  rows: number;
620
619
  autocomplete: string;
621
- 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";
620
+ 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";
622
621
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
623
622
  step: string | number;
624
623
  format: string | ProgressFn | undefined;
@@ -629,20 +628,15 @@ export declare const PlusFormItem: {
629
628
  autosize: InputAutoSize;
630
629
  } & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
631
630
  options: OptionsType;
631
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
632
632
  fieldSlots: {
633
633
  [slotName: string]: (data?: any) => RenderTypes;
634
634
  };
635
635
  fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
636
636
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
637
637
  clearable: boolean;
638
- valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
639
638
  renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
640
- renderLabel: (label: string, props: PlusColumn) => RenderTypes;
641
- renderErrorMessage: (props: PlusColumn & {
642
- value?: FieldValueType;
643
- error?: string | undefined;
644
- label?: string | undefined;
645
- }) => RenderTypes;
639
+ valueType: TableValueType | "rate" | "input-number" | "slider" | "switch" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "tree-select";
646
640
  optionsMap: {
647
641
  label?: string | undefined;
648
642
  value?: string | undefined;
@@ -653,6 +647,12 @@ export declare const PlusFormItem: {
653
647
  transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
654
648
  dictCode?: string | undefined;
655
649
  };
650
+ renderLabel: (label: string, props: PlusColumn) => RenderTypes;
651
+ renderErrorMessage: (props: PlusColumn & {
652
+ value?: FieldValueType;
653
+ error?: string | undefined;
654
+ label?: string | undefined;
655
+ }) => RenderTypes;
656
656
  }, true, {}, {}, {
657
657
  P: {};
658
658
  B: {};
@@ -661,27 +661,23 @@ export declare const PlusFormItem: {
661
661
  M: {};
662
662
  Defaults: {};
663
663
  }, Readonly< ExtractPropTypes<{
664
- index: {
665
- type: PropType<number>;
666
- default: number;
667
- };
668
- modelValue: {
669
- type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
670
- default: string;
664
+ prop: {
665
+ type: PropType<string>;
666
+ required: true;
671
667
  };
672
668
  label: {
673
669
  type: PropType<string | ComputedRef<string>>;
674
670
  default: string;
675
671
  };
676
- prop: {
677
- type: PropType<string>;
678
- required: true;
672
+ index: {
673
+ type: PropType<number>;
674
+ default: number;
679
675
  };
680
676
  tooltip: {
681
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
677
+ type: PropType<string | Partial< Mutable<ElTooltipProps> & {
682
678
  style?: CSSProperties | undefined;
683
679
  class?: any;
684
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
680
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
685
681
  style?: CSSProperties | undefined;
686
682
  class?: any;
687
683
  } & RecordType>>>;
@@ -709,7 +705,7 @@ export declare const PlusFormItem: {
709
705
  };
710
706
  rows: number;
711
707
  autocomplete: string;
712
- 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";
708
+ 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";
713
709
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
714
710
  step: string | number;
715
711
  format: string | ProgressFn | undefined;
@@ -725,6 +721,10 @@ export declare const PlusFormItem: {
725
721
  type: PropType<OptionsType>;
726
722
  default: () => never[];
727
723
  };
724
+ modelValue: {
725
+ type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
726
+ default: string;
727
+ };
728
728
  fieldSlots: {
729
729
  type: PropType<{
730
730
  [slotName: string]: (data?: any) => RenderTypes;
@@ -743,24 +743,12 @@ export declare const PlusFormItem: {
743
743
  type: PropType<boolean>;
744
744
  default: boolean;
745
745
  };
746
- valueType: {
747
- type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
748
- default: undefined;
749
- };
750
746
  renderField: {
751
747
  type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
752
748
  default: undefined;
753
749
  };
754
- renderLabel: {
755
- type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
756
- default: undefined;
757
- };
758
- renderErrorMessage: {
759
- type: PropType<(props: PlusColumn & {
760
- value?: FieldValueType;
761
- error?: string | undefined;
762
- label?: string | undefined;
763
- }) => RenderTypes>;
750
+ valueType: {
751
+ type: PropType< TableValueType | "rate" | "input-number" | "slider" | "switch" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "tree-select">;
764
752
  default: undefined;
765
753
  };
766
754
  optionsMap: {
@@ -779,6 +767,18 @@ export declare const PlusFormItem: {
779
767
  }>;
780
768
  default: undefined;
781
769
  };
770
+ renderLabel: {
771
+ type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
772
+ default: undefined;
773
+ };
774
+ renderErrorMessage: {
775
+ type: PropType<(props: PlusColumn & {
776
+ value?: FieldValueType;
777
+ error?: string | undefined;
778
+ label?: string | undefined;
779
+ }) => RenderTypes>;
780
+ default: undefined;
781
+ };
782
782
  }>> & {
783
783
  "onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
784
784
  onChange?: ((value: FieldValueType) => any) | undefined;
@@ -1117,9 +1117,8 @@ export declare const PlusFormItem: {
1117
1117
  }> | null | undefined>;
1118
1118
  fieldInstance: Ref<any>;
1119
1119
  }, {}, {}, {}, {
1120
- index: number;
1121
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1122
1120
  label: string | ComputedRef<string>;
1121
+ index: number;
1123
1122
  tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1124
1123
  style?: CSSProperties | undefined;
1125
1124
  class?: any;
@@ -1145,7 +1144,7 @@ export declare const PlusFormItem: {
1145
1144
  };
1146
1145
  rows: number;
1147
1146
  autocomplete: string;
1148
- 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";
1147
+ 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";
1149
1148
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1150
1149
  step: string | number;
1151
1150
  format: string | ProgressFn | undefined;
@@ -1156,20 +1155,15 @@ export declare const PlusFormItem: {
1156
1155
  autosize: InputAutoSize;
1157
1156
  } & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
1158
1157
  options: OptionsType;
1158
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1159
1159
  fieldSlots: {
1160
1160
  [slotName: string]: (data?: any) => RenderTypes;
1161
1161
  };
1162
1162
  fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
1163
1163
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1164
1164
  clearable: boolean;
1165
- valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
1166
1165
  renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
1167
- renderLabel: (label: string, props: PlusColumn) => RenderTypes;
1168
- renderErrorMessage: (props: PlusColumn & {
1169
- value?: FieldValueType;
1170
- error?: string | undefined;
1171
- label?: string | undefined;
1172
- }) => RenderTypes;
1166
+ valueType: TableValueType | "rate" | "input-number" | "slider" | "switch" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "tree-select";
1173
1167
  optionsMap: {
1174
1168
  label?: string | undefined;
1175
1169
  value?: string | undefined;
@@ -1180,32 +1174,34 @@ export declare const PlusFormItem: {
1180
1174
  transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1181
1175
  dictCode?: string | undefined;
1182
1176
  };
1177
+ renderLabel: (label: string, props: PlusColumn) => RenderTypes;
1178
+ renderErrorMessage: (props: PlusColumn & {
1179
+ value?: FieldValueType;
1180
+ error?: string | undefined;
1181
+ label?: string | undefined;
1182
+ }) => RenderTypes;
1183
1183
  }>;
1184
1184
  __isFragment?: undefined;
1185
1185
  __isTeleport?: undefined;
1186
1186
  __isSuspense?: undefined;
1187
1187
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
1188
- index: {
1189
- type: PropType<number>;
1190
- default: number;
1191
- };
1192
- modelValue: {
1193
- type: PropType<string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
1194
- default: string;
1188
+ prop: {
1189
+ type: PropType<string>;
1190
+ required: true;
1195
1191
  };
1196
1192
  label: {
1197
1193
  type: PropType<string | ComputedRef<string>>;
1198
1194
  default: string;
1199
1195
  };
1200
- prop: {
1201
- type: PropType<string>;
1202
- required: true;
1196
+ index: {
1197
+ type: PropType<number>;
1198
+ default: number;
1203
1199
  };
1204
1200
  tooltip: {
1205
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1201
+ type: PropType<string | Partial< Mutable<ElTooltipProps> & {
1206
1202
  style?: CSSProperties | undefined;
1207
1203
  class?: any;
1208
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1204
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1209
1205
  style?: CSSProperties | undefined;
1210
1206
  class?: any;
1211
1207
  } & RecordType>>>;
@@ -1233,7 +1229,7 @@ export declare const PlusFormItem: {
1233
1229
  };
1234
1230
  rows: number;
1235
1231
  autocomplete: string;
1236
- 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";
1232
+ 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";
1237
1233
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1238
1234
  step: string | number;
1239
1235
  format: string | ProgressFn | undefined;
@@ -1249,6 +1245,10 @@ export declare const PlusFormItem: {
1249
1245
  type: PropType<OptionsType>;
1250
1246
  default: () => never[];
1251
1247
  };
1248
+ modelValue: {
1249
+ type: PropType<string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null>;
1250
+ default: string;
1251
+ };
1252
1252
  fieldSlots: {
1253
1253
  type: PropType<{
1254
1254
  [slotName: string]: (data?: any) => RenderTypes;
@@ -1267,24 +1267,12 @@ export declare const PlusFormItem: {
1267
1267
  type: PropType<boolean>;
1268
1268
  default: boolean;
1269
1269
  };
1270
- valueType: {
1271
- type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
1272
- default: undefined;
1273
- };
1274
1270
  renderField: {
1275
1271
  type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
1276
1272
  default: undefined;
1277
1273
  };
1278
- renderLabel: {
1279
- type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
1280
- default: undefined;
1281
- };
1282
- renderErrorMessage: {
1283
- type: PropType<(props: PlusColumn & {
1284
- value?: FieldValueType;
1285
- error?: string | undefined;
1286
- label?: string | undefined;
1287
- }) => RenderTypes>;
1274
+ valueType: {
1275
+ type: PropType< TableValueType | "rate" | "input-number" | "slider" | "switch" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "tree-select">;
1288
1276
  default: undefined;
1289
1277
  };
1290
1278
  optionsMap: {
@@ -1303,6 +1291,18 @@ export declare const PlusFormItem: {
1303
1291
  }>;
1304
1292
  default: undefined;
1305
1293
  };
1294
+ renderLabel: {
1295
+ type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
1296
+ default: undefined;
1297
+ };
1298
+ renderErrorMessage: {
1299
+ type: PropType<(props: PlusColumn & {
1300
+ value?: FieldValueType;
1301
+ error?: string | undefined;
1302
+ label?: string | undefined;
1303
+ }) => RenderTypes>;
1304
+ default: undefined;
1305
+ };
1306
1306
  }>> & {
1307
1307
  "onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
1308
1308
  onChange?: ((value: FieldValueType) => any) | undefined;
@@ -1644,9 +1644,8 @@ export declare const PlusFormItem: {
1644
1644
  "update:modelValue": (value: FieldValueType) => void;
1645
1645
  change: (value: FieldValueType) => void;
1646
1646
  }, string, {
1647
- index: number;
1648
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1649
1647
  label: string | ComputedRef<string>;
1648
+ index: number;
1650
1649
  tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1651
1650
  style?: CSSProperties | undefined;
1652
1651
  class?: any;
@@ -1672,7 +1671,7 @@ export declare const PlusFormItem: {
1672
1671
  };
1673
1672
  rows: number;
1674
1673
  autocomplete: string;
1675
- 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";
1674
+ 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";
1676
1675
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1677
1676
  step: string | number;
1678
1677
  format: string | ProgressFn | undefined;
@@ -1683,20 +1682,15 @@ export declare const PlusFormItem: {
1683
1682
  autosize: InputAutoSize;
1684
1683
  } & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
1685
1684
  options: OptionsType;
1685
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1686
1686
  fieldSlots: {
1687
1687
  [slotName: string]: (data?: any) => RenderTypes;
1688
1688
  };
1689
1689
  fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
1690
1690
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1691
1691
  clearable: boolean;
1692
- valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
1693
1692
  renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
1694
- renderLabel: (label: string, props: PlusColumn) => RenderTypes;
1695
- renderErrorMessage: (props: PlusColumn & {
1696
- value?: FieldValueType;
1697
- error?: string | undefined;
1698
- label?: string | undefined;
1699
- }) => RenderTypes;
1693
+ valueType: TableValueType | "rate" | "input-number" | "slider" | "switch" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "textarea" | "input" | "text" | "tree-select";
1700
1694
  optionsMap: {
1701
1695
  label?: string | undefined;
1702
1696
  value?: string | undefined;
@@ -1707,6 +1701,12 @@ export declare const PlusFormItem: {
1707
1701
  transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1708
1702
  dictCode?: string | undefined;
1709
1703
  };
1704
+ renderLabel: (label: string, props: PlusColumn) => RenderTypes;
1705
+ renderErrorMessage: (props: PlusColumn & {
1706
+ value?: FieldValueType;
1707
+ error?: string | undefined;
1708
+ label?: string | undefined;
1709
+ }) => RenderTypes;
1710
1710
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1711
1711
  $slots: Partial<Record<string, (_: {
1712
1712
  label: string;
@@ -1716,12 +1716,12 @@ export declare const PlusFormItem: {
1716
1716
  fieldInstance?: any;
1717
1717
  valueIsReady?: Ref<boolean> | undefined;
1718
1718
  prop: string;
1719
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1719
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1720
1720
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1721
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1721
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
1722
1722
  style?: CSSProperties | undefined;
1723
1723
  class?: any;
1724
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1724
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1725
1725
  style?: CSSProperties | undefined;
1726
1726
  class?: any;
1727
1727
  } & RecordType>>;
@@ -1750,14 +1750,14 @@ export declare const PlusFormItem: {
1750
1750
  clearable: boolean;
1751
1751
  index: number;
1752
1752
  }) => any>> & Partial<Record<string, (_: {
1753
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1753
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
1754
1754
  readonly label: string | ComputedRef<string>;
1755
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1755
+ readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1756
1756
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1757
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1757
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1758
1758
  style?: CSSProperties | undefined;
1759
1759
  class?: any;
1760
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1760
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1761
1761
  style?: CSSProperties | undefined;
1762
1762
  class?: any;
1763
1763
  } & RecordType>>;
@@ -1779,7 +1779,7 @@ export declare const PlusFormItem: {
1779
1779
  };
1780
1780
  rows: number;
1781
1781
  autocomplete: string;
1782
- 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";
1782
+ 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";
1783
1783
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1784
1784
  step: string | number;
1785
1785
  format: string | ProgressFn | undefined;
@@ -1824,12 +1824,12 @@ export declare const PlusFormItem: {
1824
1824
  fieldInstance?: any;
1825
1825
  valueIsReady?: Ref<boolean> | undefined;
1826
1826
  prop: string;
1827
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1827
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
1828
1828
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1829
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1829
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
1830
1830
  style?: CSSProperties | undefined;
1831
1831
  class?: any;
1832
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1832
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1833
1833
  style?: CSSProperties | undefined;
1834
1834
  class?: any;
1835
1835
  } & RecordType>>;