yc-pro-components 0.0.11 → 0.0.13

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 (194) hide show
  1. package/es/components/check-card/index.d.ts +61 -61
  2. package/es/components/check-card/src/index.vue.d.ts +4 -4
  3. package/es/components/check-card-group/index.d.ts +43 -43
  4. package/es/components/check-card-group/src/index.vue.d.ts +3 -3
  5. package/es/components/date-picker/index.d.ts +10 -10
  6. package/es/components/date-picker/src/index.vue.d.ts +2 -2
  7. package/es/components/dialog/index.d.ts +26 -26
  8. package/es/components/dialog/src/index.vue.d.ts +2 -2
  9. package/es/components/dialog-form/index.d.ts +44 -32
  10. package/es/components/dialog-form/src/index.vue.d.ts +22 -10
  11. package/es/components/display-item/index.d.ts +80 -44
  12. package/es/components/display-item/src/index.vue.d.ts +61 -25
  13. package/es/components/drawer-form/index.d.ts +63 -51
  14. package/es/components/drawer-form/src/index.vue.d.ts +23 -11
  15. package/es/components/form/index.d.ts +71 -47
  16. package/es/components/form/src/form-content.vue.d.ts +60 -24
  17. package/es/components/form/src/index.vue.d.ts +43 -19
  18. package/es/components/form-item/index.d.ts +129 -57
  19. package/es/components/form-item/src/index.vue.d.ts +46 -15
  20. package/es/components/form-item/src/index.vue2.mjs +1 -0
  21. package/es/components/header/index.d.ts +19 -19
  22. package/es/components/header/src/index.vue.d.ts +1 -1
  23. package/es/components/input-tag/index.d.ts +20 -20
  24. package/es/components/input-tag/src/index.vue.d.ts +8 -8
  25. package/es/components/layout/index.d.ts +30 -30
  26. package/es/components/layout/src/index.vue.d.ts +10 -10
  27. package/es/components/page/index.d.ts +751 -469
  28. package/es/components/page/src/index.vue.d.ts +263 -161
  29. package/es/components/page/src/index.vue2.mjs +1 -1
  30. package/es/components/pagination/index.d.ts +42 -42
  31. package/es/components/pagination/src/index.vue.d.ts +3 -3
  32. package/es/components/radio/index.d.ts +35 -35
  33. package/es/components/radio/src/index.vue.d.ts +27 -27
  34. package/es/components/render/index.d.ts +6 -6
  35. package/es/components/render/src/index.vue.d.ts +2 -2
  36. package/es/components/search/index.d.ts +284 -162
  37. package/es/components/search/src/index.vue.d.ts +95 -53
  38. package/es/components/search/src/index.vue2.mjs +14 -4
  39. package/es/components/search/src/type.d.ts +9 -0
  40. package/es/components/sidebar/index.d.ts +15 -15
  41. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  42. package/es/components/steps-form/index.d.ts +23 -23
  43. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  44. package/es/components/table/index.d.ts +54 -54
  45. package/es/components/table/src/index.vue.d.ts +18 -18
  46. package/es/components/table/src/table-action-bar.vue2.mjs +1 -1
  47. package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  48. package/es/components/table/src/table-column.vue.d.ts +76 -40
  49. package/es/components/utils/index.d.ts +2 -2
  50. package/es/components/yc-dialog/index.d.ts +24 -24
  51. package/es/components/yc-download-dialog/index.d.ts +19 -19
  52. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  53. package/es/components/yc-form-container-header/index.d.ts +12 -12
  54. package/es/components/yc-more-actions/index.d.ts +46 -46
  55. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  56. package/es/components/yc-plus-page/src/index.vue.d.ts +588 -529
  57. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  58. package/es/components/yc-plus-page/src/index.vue2.mjs +8 -2
  59. package/es/components/yc-segmented/index.d.ts +2 -2
  60. package/es/components/yc-segmented/src/index.d.ts +2 -2
  61. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  62. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  63. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  64. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  65. package/es/constants/dict.d.ts +78 -0
  66. package/es/constants/dict.mjs +3 -0
  67. package/es/constants/index.d.ts +1 -0
  68. package/es/constants/index.mjs +1 -0
  69. package/es/hooks/index.d.ts +1 -0
  70. package/es/hooks/index.mjs +1 -0
  71. package/es/hooks/useDictInjection.d.ts +38 -0
  72. package/es/hooks/useDictInjection.mjs +18 -0
  73. package/es/hooks/useGetOptions.mjs +118 -30
  74. package/es/hooks/usePlusFormReset.d.ts +286 -214
  75. package/es/index.css +1 -1
  76. package/es/index.d.ts +1 -1
  77. package/es/index.mjs +2 -0
  78. package/es/types/plus.d.ts +74 -0
  79. package/es/version.d.ts +1 -1
  80. package/es/version.mjs +1 -1
  81. package/es/yc-components/index.d.ts +1 -1
  82. package/es/yc-components/version.d.ts +1 -1
  83. package/index.css +9 -5
  84. package/index.js +187 -65
  85. package/index.min.css +1 -1
  86. package/index.min.js +7 -7
  87. package/index.min.mjs +7 -7
  88. package/index.mjs +187 -67
  89. package/lib/components/check-card/index.d.ts +61 -61
  90. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  91. package/lib/components/check-card-group/index.d.ts +43 -43
  92. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  93. package/lib/components/date-picker/index.d.ts +10 -10
  94. package/lib/components/date-picker/src/index.vue.d.ts +2 -2
  95. package/lib/components/dialog/index.d.ts +26 -26
  96. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  97. package/lib/components/dialog-form/index.d.ts +44 -32
  98. package/lib/components/dialog-form/src/index.vue.d.ts +22 -10
  99. package/lib/components/display-item/index.d.ts +80 -44
  100. package/lib/components/display-item/src/index.vue.d.ts +61 -25
  101. package/lib/components/drawer-form/index.d.ts +63 -51
  102. package/lib/components/drawer-form/src/index.vue.d.ts +23 -11
  103. package/lib/components/form/index.d.ts +71 -47
  104. package/lib/components/form/src/form-content.vue.d.ts +60 -24
  105. package/lib/components/form/src/index.vue.d.ts +43 -19
  106. package/lib/components/form-item/index.d.ts +129 -57
  107. package/lib/components/form-item/src/index.vue.d.ts +46 -15
  108. package/lib/components/form-item/src/index.vue2.js +1 -0
  109. package/lib/components/header/index.d.ts +19 -19
  110. package/lib/components/header/src/index.vue.d.ts +1 -1
  111. package/lib/components/input-tag/index.d.ts +20 -20
  112. package/lib/components/input-tag/src/index.vue.d.ts +8 -8
  113. package/lib/components/layout/index.d.ts +30 -30
  114. package/lib/components/layout/src/index.vue.d.ts +10 -10
  115. package/lib/components/page/index.d.ts +751 -469
  116. package/lib/components/page/src/index.vue.d.ts +263 -161
  117. package/lib/components/page/src/index.vue2.js +1 -1
  118. package/lib/components/pagination/index.d.ts +42 -42
  119. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  120. package/lib/components/radio/index.d.ts +35 -35
  121. package/lib/components/radio/src/index.vue.d.ts +27 -27
  122. package/lib/components/render/index.d.ts +6 -6
  123. package/lib/components/render/src/index.vue.d.ts +2 -2
  124. package/lib/components/search/index.d.ts +284 -162
  125. package/lib/components/search/src/index.vue.d.ts +95 -53
  126. package/lib/components/search/src/index.vue2.js +13 -3
  127. package/lib/components/search/src/type.d.ts +9 -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 +23 -23
  131. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  132. package/lib/components/table/index.d.ts +54 -54
  133. package/lib/components/table/src/index.vue.d.ts +18 -18
  134. package/lib/components/table/src/table-action-bar.vue2.js +1 -1
  135. package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
  136. package/lib/components/table/src/table-column.vue.d.ts +76 -40
  137. package/lib/components/utils/index.d.ts +2 -2
  138. package/lib/components/yc-dialog/index.d.ts +24 -24
  139. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  140. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  141. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  142. package/lib/components/yc-more-actions/index.d.ts +46 -46
  143. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  144. package/lib/components/yc-plus-page/src/index.vue.d.ts +588 -529
  145. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  146. package/lib/components/yc-plus-page/src/index.vue2.js +8 -2
  147. package/lib/components/yc-segmented/index.d.ts +2 -2
  148. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  149. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  150. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  151. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  152. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  153. package/lib/constants/dict.d.ts +78 -0
  154. package/lib/constants/dict.js +5 -0
  155. package/lib/constants/index.d.ts +1 -0
  156. package/lib/constants/index.js +2 -0
  157. package/lib/hooks/index.d.ts +1 -0
  158. package/lib/hooks/index.js +2 -0
  159. package/lib/hooks/useDictInjection.d.ts +38 -0
  160. package/lib/hooks/useDictInjection.js +20 -0
  161. package/lib/hooks/useGetOptions.js +117 -29
  162. package/lib/hooks/usePlusFormReset.d.ts +286 -214
  163. package/lib/index.css +1 -1
  164. package/lib/index.d.ts +1 -1
  165. package/lib/index.js +4 -0
  166. package/lib/types/plus.d.ts +74 -0
  167. package/lib/version.d.ts +1 -1
  168. package/lib/version.js +1 -1
  169. package/lib/yc-components/index.d.ts +1 -1
  170. package/lib/yc-components/version.d.ts +1 -1
  171. package/locale/en.js +1 -1
  172. package/locale/en.min.js +1 -1
  173. package/locale/en.min.mjs +1 -1
  174. package/locale/en.mjs +1 -1
  175. package/locale/ja.js +1 -1
  176. package/locale/ja.min.js +1 -1
  177. package/locale/ja.min.mjs +1 -1
  178. package/locale/ja.mjs +1 -1
  179. package/locale/ko.js +1 -1
  180. package/locale/ko.min.js +1 -1
  181. package/locale/ko.min.mjs +1 -1
  182. package/locale/ko.mjs +1 -1
  183. package/locale/zh-cn.js +1 -1
  184. package/locale/zh-cn.min.js +1 -1
  185. package/locale/zh-cn.min.mjs +1 -1
  186. package/locale/zh-cn.mjs +1 -1
  187. package/locale/zh-tw.js +1 -1
  188. package/locale/zh-tw.min.js +1 -1
  189. package/locale/zh-tw.min.mjs +1 -1
  190. package/locale/zh-tw.mjs +1 -1
  191. package/package.json +1 -1
  192. package/theme-chalk/index.css +1 -1
  193. package/theme-chalk/plus-page.css +1 -1
  194. package/theme-chalk/src/page.scss +1 -1
@@ -71,20 +71,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
71
71
  }) => any) | undefined;
72
72
  }, {
73
73
  index: number;
74
- formProps: PlusFormProps;
75
74
  rest: RecordType;
75
+ formProps: PlusFormProps;
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" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
80
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
81
81
  readonly label: string | ComputedRef<string>;
82
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
82
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
83
83
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
84
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
84
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
85
85
  style?: CSSProperties | undefined;
86
86
  class?: any;
87
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
87
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
88
88
  style?: CSSProperties | undefined;
89
89
  class?: any;
90
90
  } & RecordType>>;
@@ -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" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
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";
110
110
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
111
111
  step: string | number;
112
112
  format: string | ProgressFn | undefined;
@@ -133,6 +133,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
133
133
  label?: string | undefined;
134
134
  value?: string | undefined;
135
135
  } | undefined;
136
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
137
+ store?: any;
138
+ method?: string | undefined;
139
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
140
+ dictCode?: string | undefined;
141
+ } | undefined;
136
142
  readonly clearable: boolean;
137
143
  readonly index: number;
138
144
  } & {
@@ -145,12 +151,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
145
151
  fieldInstance?: any;
146
152
  valueIsReady?: Ref<boolean> | undefined;
147
153
  prop: string;
148
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
154
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
149
155
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
150
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
156
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
151
157
  style?: CSSProperties | undefined;
152
158
  class?: any;
153
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
159
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
154
160
  style?: CSSProperties | undefined;
155
161
  class?: any;
156
162
  } & RecordType>>;
@@ -170,17 +176,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
170
176
  label?: string | undefined;
171
177
  value?: string | undefined;
172
178
  } | undefined;
179
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
180
+ store?: any;
181
+ method?: string | undefined;
182
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
183
+ dictCode?: string | undefined;
184
+ } | undefined;
173
185
  clearable: boolean;
174
186
  index: number;
175
187
  }) => any>> & Partial<Record<string, (_: {
176
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
188
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
177
189
  readonly label: string | ComputedRef<string>;
178
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
190
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
179
191
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
180
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
192
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
181
193
  style?: CSSProperties | undefined;
182
194
  class?: any;
183
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
195
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
184
196
  style?: CSSProperties | undefined;
185
197
  class?: any;
186
198
  } & RecordType>>;
@@ -202,7 +214,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
202
214
  };
203
215
  rows: number;
204
216
  autocomplete: string;
205
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
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";
206
218
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
207
219
  step: string | number;
208
220
  format: string | ProgressFn | undefined;
@@ -229,6 +241,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
229
241
  label?: string | undefined;
230
242
  value?: string | undefined;
231
243
  } | undefined;
244
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
245
+ store?: any;
246
+ method?: string | undefined;
247
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
248
+ dictCode?: string | undefined;
249
+ } | undefined;
232
250
  readonly clearable: boolean;
233
251
  readonly index: number;
234
252
  } & {
@@ -241,12 +259,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
241
259
  fieldInstance?: any;
242
260
  valueIsReady?: Ref<boolean> | undefined;
243
261
  prop: string;
244
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
262
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
245
263
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
246
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
264
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
247
265
  style?: CSSProperties | undefined;
248
266
  class?: any;
249
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
267
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
250
268
  style?: CSSProperties | undefined;
251
269
  class?: any;
252
270
  } & RecordType>>;
@@ -266,17 +284,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
266
284
  label?: string | undefined;
267
285
  value?: string | undefined;
268
286
  } | undefined;
287
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
288
+ store?: any;
289
+ method?: string | undefined;
290
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
291
+ dictCode?: string | undefined;
292
+ } | undefined;
269
293
  clearable: boolean;
270
294
  index: number;
271
295
  }) => any>> & Partial<Record<string, (_: {
272
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
296
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
273
297
  readonly label: string | ComputedRef<string>;
274
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
298
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
275
299
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
276
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
300
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
277
301
  style?: CSSProperties | undefined;
278
302
  class?: any;
279
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
303
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
280
304
  style?: CSSProperties | undefined;
281
305
  class?: any;
282
306
  } & RecordType>>;
@@ -298,7 +322,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
298
322
  };
299
323
  rows: number;
300
324
  autocomplete: string;
301
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
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";
302
326
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
303
327
  step: string | number;
304
328
  format: string | ProgressFn | undefined;
@@ -325,6 +349,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
325
349
  label?: string | undefined;
326
350
  value?: string | undefined;
327
351
  } | undefined;
352
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
353
+ store?: any;
354
+ method?: string | undefined;
355
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
356
+ dictCode?: string | undefined;
357
+ } | undefined;
328
358
  readonly clearable: boolean;
329
359
  readonly index: number;
330
360
  } & {
@@ -337,12 +367,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
337
367
  fieldInstance?: any;
338
368
  valueIsReady?: Ref<boolean> | undefined;
339
369
  prop: string;
340
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
370
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
341
371
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
342
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
372
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
343
373
  style?: CSSProperties | undefined;
344
374
  class?: any;
345
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
375
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
346
376
  style?: CSSProperties | undefined;
347
377
  class?: any;
348
378
  } & RecordType>>;
@@ -362,6 +392,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
362
392
  label?: string | undefined;
363
393
  value?: string | undefined;
364
394
  } | undefined;
395
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise<OptionsRow<undefined>[]>) | {
396
+ store?: any;
397
+ method?: string | undefined;
398
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
399
+ dictCode?: string | undefined;
400
+ } | undefined;
365
401
  clearable: boolean;
366
402
  index: number;
367
403
  }) => any>> & Partial<Record<string, (_: {
@@ -2,20 +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 { FieldValues, PlusFormProps, Mutable, RecordType, PlusColumn, PlusFormItemProps, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'packages/yc-components';
5
+ import { PlusFormProps, FieldValues, 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
- size: {
12
- type: PropType<string | number>;
13
- default: string;
14
- };
15
- modelValue: {
16
- type: PropType<FieldValues>;
17
- default: () => {};
18
- };
19
11
  form: {
20
12
  type: PropType<PlusFormProps>;
21
13
  default: () => {};
@@ -24,6 +16,14 @@ export declare const PlusDrawerForm: {
24
16
  type: PropType<boolean>;
25
17
  default: boolean;
26
18
  };
19
+ size: {
20
+ type: PropType<string | number>;
21
+ default: string;
22
+ };
23
+ modelValue: {
24
+ type: PropType<FieldValues>;
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
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
56
55
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
57
56
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
57
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
58
58
  onCancel?: (() => any) | undefined;
59
59
  onConfirm?: ((values: FieldValues) => any) | undefined;
60
60
  onConfirmError?: ((errors: unknown) => any) | undefined;
@@ -1087,14 +1087,6 @@ export declare const PlusDrawerForm: {
1087
1087
  cancel: () => void;
1088
1088
  confirmError: (errors: unknown) => void;
1089
1089
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
1090
- size: {
1091
- type: PropType<string | number>;
1092
- default: string;
1093
- };
1094
- modelValue: {
1095
- type: PropType<FieldValues>;
1096
- default: () => {};
1097
- };
1098
1090
  form: {
1099
1091
  type: PropType<PlusFormProps>;
1100
1092
  default: () => {};
@@ -1103,6 +1095,14 @@ export declare const PlusDrawerForm: {
1103
1095
  type: PropType<boolean>;
1104
1096
  default: boolean;
1105
1097
  };
1098
+ size: {
1099
+ type: PropType<string | number>;
1100
+ default: string;
1101
+ };
1102
+ modelValue: {
1103
+ type: PropType<FieldValues>;
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
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1135
1134
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1136
1135
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1136
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1137
1137
  onCancel?: (() => any) | undefined;
1138
1138
  onConfirm?: ((values: FieldValues) => any) | undefined;
1139
1139
  onConfirmError?: ((errors: unknown) => any) | undefined;
1140
1140
  }, {
1141
- size: string | number;
1142
- modelValue: FieldValues;
1143
1141
  form: PlusFormProps;
1144
1142
  visible: boolean;
1143
+ size: string | number;
1144
+ modelValue: FieldValues;
1145
1145
  hasErrorTip: boolean;
1146
1146
  hasFooter: boolean;
1147
1147
  confirmLoading: boolean;
@@ -1159,14 +1159,6 @@ export declare const PlusDrawerForm: {
1159
1159
  M: {};
1160
1160
  Defaults: {};
1161
1161
  }, Readonly< ExtractPropTypes<{
1162
- size: {
1163
- type: PropType<string | number>;
1164
- default: string;
1165
- };
1166
- modelValue: {
1167
- type: PropType<FieldValues>;
1168
- default: () => {};
1169
- };
1170
1162
  form: {
1171
1163
  type: PropType<PlusFormProps>;
1172
1164
  default: () => {};
@@ -1175,6 +1167,14 @@ export declare const PlusDrawerForm: {
1175
1167
  type: PropType<boolean>;
1176
1168
  default: boolean;
1177
1169
  };
1170
+ size: {
1171
+ type: PropType<string | number>;
1172
+ default: string;
1173
+ };
1174
+ modelValue: {
1175
+ type: PropType<FieldValues>;
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
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1207
1206
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1208
1207
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1208
+ "onUpdate:modelValue"?: ((values: FieldValues) => 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
- size: string | number;
2235
- modelValue: FieldValues;
2236
2234
  form: PlusFormProps;
2237
2235
  visible: boolean;
2236
+ size: string | number;
2237
+ modelValue: FieldValues;
2238
2238
  hasErrorTip: boolean;
2239
2239
  hasFooter: boolean;
2240
2240
  confirmLoading: boolean;
@@ -2249,14 +2249,6 @@ export declare const PlusDrawerForm: {
2249
2249
  __isTeleport?: undefined;
2250
2250
  __isSuspense?: undefined;
2251
2251
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
2252
- size: {
2253
- type: PropType<string | number>;
2254
- default: string;
2255
- };
2256
- modelValue: {
2257
- type: PropType<FieldValues>;
2258
- default: () => {};
2259
- };
2260
2252
  form: {
2261
2253
  type: PropType<PlusFormProps>;
2262
2254
  default: () => {};
@@ -2265,6 +2257,14 @@ export declare const PlusDrawerForm: {
2265
2257
  type: PropType<boolean>;
2266
2258
  default: boolean;
2267
2259
  };
2260
+ size: {
2261
+ type: PropType<string | number>;
2262
+ default: string;
2263
+ };
2264
+ modelValue: {
2265
+ type: PropType<FieldValues>;
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
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
2297
2296
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
2298
2297
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
2298
+ "onUpdate:modelValue"?: ((values: FieldValues) => 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
- size: string | number;
3332
- modelValue: FieldValues;
3333
3331
  form: PlusFormProps;
3334
3332
  visible: boolean;
3333
+ size: string | number;
3334
+ modelValue: FieldValues;
3335
3335
  hasErrorTip: boolean;
3336
3336
  hasFooter: boolean;
3337
3337
  confirmLoading: boolean;
@@ -3343,14 +3343,14 @@ 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" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
3346
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
3347
3347
  readonly label: string | ComputedRef<string>;
3348
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
3348
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
3349
3349
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
3350
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
3350
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
3351
3351
  style?: CSSProperties | undefined;
3352
3352
  class?: any;
3353
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
3353
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
3354
3354
  style?: CSSProperties | undefined;
3355
3355
  class?: any;
3356
3356
  } & RecordType>>;
@@ -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" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
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";
3376
3376
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
3377
3377
  step: string | number;
3378
3378
  format: string | ProgressFn | undefined;
@@ -3399,6 +3399,12 @@ export declare const PlusDrawerForm: {
3399
3399
  label?: string | undefined;
3400
3400
  value?: string | undefined;
3401
3401
  } | undefined;
3402
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
3403
+ store?: any;
3404
+ method?: string | undefined;
3405
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
3406
+ dictCode?: string | undefined;
3407
+ } | undefined;
3402
3408
  readonly clearable: boolean;
3403
3409
  readonly index: number;
3404
3410
  } & {
@@ -3411,12 +3417,12 @@ export declare const PlusDrawerForm: {
3411
3417
  fieldInstance?: any;
3412
3418
  valueIsReady?: Ref<boolean> | undefined;
3413
3419
  prop: string;
3414
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
3420
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
3415
3421
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
3416
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
3422
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
3417
3423
  style?: CSSProperties | undefined;
3418
3424
  class?: any;
3419
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
3425
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
3420
3426
  style?: CSSProperties | undefined;
3421
3427
  class?: any;
3422
3428
  } & RecordType>>;
@@ -3436,6 +3442,12 @@ export declare const PlusDrawerForm: {
3436
3442
  label?: string | undefined;
3437
3443
  value?: string | undefined;
3438
3444
  } | undefined;
3445
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
3446
+ store?: any;
3447
+ method?: string | undefined;
3448
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
3449
+ dictCode?: string | undefined;
3450
+ } | undefined;
3439
3451
  clearable: boolean;
3440
3452
  index: number;
3441
3453
  }) => any>> & {
@@ -1087,17 +1087,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1087
1087
  drawer: () => {};
1088
1088
  form: () => {};
1089
1089
  }>>> & {
1090
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1091
1090
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1092
1091
  "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1092
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1093
1093
  onCancel?: (() => any) | undefined;
1094
1094
  onConfirm?: ((values: FieldValues) => any) | undefined;
1095
1095
  onConfirmError?: ((errors: unknown) => any) | undefined;
1096
1096
  }, {
1097
- size: string | number;
1098
- modelValue: FieldValues;
1099
1097
  form: PlusFormProps;
1100
1098
  visible: boolean;
1099
+ size: string | number;
1100
+ modelValue: FieldValues;
1101
1101
  hasErrorTip: boolean;
1102
1102
  hasFooter: boolean;
1103
1103
  confirmLoading: boolean;
@@ -1108,14 +1108,14 @@ 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" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
1111
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1112
1112
  readonly label: string | ComputedRef<string>;
1113
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1113
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1114
1114
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1115
- readonly tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
1115
+ readonly tooltip: string | Partial<Mutable< ElTooltipProps> & {
1116
1116
  style?: CSSProperties | undefined;
1117
1117
  class?: any;
1118
- } & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
1118
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
1119
1119
  style?: CSSProperties | undefined;
1120
1120
  class?: any;
1121
1121
  } & RecordType>>;
@@ -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" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
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";
1141
1141
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1142
1142
  step: string | number;
1143
1143
  format: string | ProgressFn | undefined;
@@ -1164,6 +1164,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1164
1164
  label?: string | undefined;
1165
1165
  value?: string | undefined;
1166
1166
  } | undefined;
1167
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1168
+ store?: any;
1169
+ method?: string | undefined;
1170
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1171
+ dictCode?: string | undefined;
1172
+ } | undefined;
1167
1173
  readonly clearable: boolean;
1168
1174
  readonly index: number;
1169
1175
  } & {
@@ -1176,12 +1182,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1176
1182
  fieldInstance?: any;
1177
1183
  valueIsReady?: Ref<boolean> | undefined;
1178
1184
  prop: string;
1179
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1185
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1180
1186
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1181
- tooltip: string | ComputedRef<string> | Partial<Mutable< ElTooltipProps> & {
1187
+ tooltip: string | Partial<Mutable< ElTooltipProps> & {
1182
1188
  style?: CSSProperties | undefined;
1183
1189
  class?: any;
1184
- } & RecordType> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
1190
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial<Mutable< ElTooltipProps> & {
1185
1191
  style?: CSSProperties | undefined;
1186
1192
  class?: any;
1187
1193
  } & RecordType>>;
@@ -1201,6 +1207,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
1201
1207
  label?: string | undefined;
1202
1208
  value?: string | undefined;
1203
1209
  } | undefined;
1210
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1211
+ store?: any;
1212
+ method?: string | undefined;
1213
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1214
+ dictCode?: string | undefined;
1215
+ } | undefined;
1204
1216
  clearable: boolean;
1205
1217
  index: number;
1206
1218
  }) => any>> & {