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
@@ -27,15 +27,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
27
27
  $data: {};
28
28
  $props: Partial<{
29
29
  index: number;
30
- formProps: PlusFormProps;
31
30
  rest: RecordType;
31
+ formProps: PlusFormProps;
32
32
  column: PlusColumn;
33
33
  row: RecordType;
34
34
  editable: boolean | "click" | "dblclick";
35
35
  }> & Omit<{
36
36
  readonly index: number;
37
- readonly formProps: PlusFormProps;
38
37
  readonly rest: RecordType;
38
+ readonly formProps: PlusFormProps;
39
39
  readonly column: PlusColumn;
40
40
  readonly row: RecordType;
41
41
  readonly editable: boolean | "click" | "dblclick";
@@ -49,14 +49,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
49
49
  type: PropType<number>;
50
50
  default: number;
51
51
  };
52
- formProps: {
53
- type: PropType<PlusFormProps>;
54
- default: () => {};
55
- };
56
52
  rest: {
57
53
  type: PropType<RecordType>;
58
54
  default: () => {};
59
55
  };
56
+ formProps: {
57
+ type: PropType<PlusFormProps>;
58
+ default: () => {};
59
+ };
60
60
  column: {
61
61
  type: PropType<PlusColumn>;
62
62
  required: true;
@@ -80,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
80
80
  prop: string;
81
81
  row: RecordType;
82
82
  }) => any) | undefined;
83
- }, "index" | "formProps" | "rest" | "column" | "row" | "editable">;
83
+ }, "index" | "rest" | "formProps" | "column" | "row" | "editable">;
84
84
  $attrs: {
85
85
  [x: string]: unknown;
86
86
  };
@@ -103,14 +103,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
103
103
  type: PropType<number>;
104
104
  default: number;
105
105
  };
106
- formProps: {
107
- type: PropType<PlusFormProps>;
108
- default: () => {};
109
- };
110
106
  rest: {
111
107
  type: PropType<RecordType>;
112
108
  default: () => {};
113
109
  };
110
+ formProps: {
111
+ type: PropType<PlusFormProps>;
112
+ default: () => {};
113
+ };
114
114
  column: {
115
115
  type: PropType<PlusColumn>;
116
116
  required: true;
@@ -153,8 +153,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
153
153
  }) => void;
154
154
  }, string, {
155
155
  index: number;
156
- formProps: PlusFormProps;
157
156
  rest: RecordType;
157
+ formProps: PlusFormProps;
158
158
  column: PlusColumn;
159
159
  row: RecordType;
160
160
  editable: boolean | "click" | "dblclick";
@@ -183,14 +183,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
183
183
  type: PropType<number>;
184
184
  default: number;
185
185
  };
186
- formProps: {
187
- type: PropType<PlusFormProps>;
188
- default: () => {};
189
- };
190
186
  rest: {
191
187
  type: PropType<RecordType>;
192
188
  default: () => {};
193
189
  };
190
+ formProps: {
191
+ type: PropType<PlusFormProps>;
192
+ default: () => {};
193
+ };
194
194
  column: {
195
195
  type: PropType<PlusColumn>;
196
196
  required: true;
@@ -227,14 +227,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
227
227
  };
228
228
  }> & {} & ComponentCustomProperties & {} & {
229
229
  $slots: Partial<Record<string, (_: {
230
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
230
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
231
231
  readonly label: string | ComputedRef<string>;
232
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
232
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
233
233
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
234
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
234
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
235
235
  style?: CSSProperties | undefined;
236
236
  class?: any;
237
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
237
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
238
238
  style?: CSSProperties | undefined;
239
239
  class?: any;
240
240
  } & RecordType>>;
@@ -256,7 +256,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
256
256
  };
257
257
  rows: number;
258
258
  autocomplete: string;
259
- 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";
259
+ 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";
260
260
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
261
261
  step: string | number;
262
262
  format: string | ProgressFn | undefined;
@@ -283,6 +283,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
283
283
  label?: string | undefined;
284
284
  value?: string | undefined;
285
285
  } | undefined;
286
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
287
+ store?: any;
288
+ method?: string | undefined;
289
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
290
+ dictCode?: string | undefined;
291
+ } | undefined;
286
292
  readonly clearable: boolean;
287
293
  readonly index: number;
288
294
  } & {
@@ -295,12 +301,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
295
301
  fieldInstance?: any;
296
302
  valueIsReady?: Ref<boolean> | undefined;
297
303
  prop: string;
298
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
304
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
299
305
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
300
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
306
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
301
307
  style?: CSSProperties | undefined;
302
308
  class?: any;
303
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
309
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
304
310
  style?: CSSProperties | undefined;
305
311
  class?: any;
306
312
  } & RecordType>>;
@@ -320,17 +326,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
320
326
  label?: string | undefined;
321
327
  value?: string | undefined;
322
328
  } | undefined;
329
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
330
+ store?: any;
331
+ method?: string | undefined;
332
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
333
+ dictCode?: string | undefined;
334
+ } | undefined;
323
335
  clearable: boolean;
324
336
  index: number;
325
337
  }) => any>> & Partial<Record<string, (_: {
326
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
338
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
327
339
  readonly label: string | ComputedRef<string>;
328
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
340
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
329
341
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
330
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
342
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
331
343
  style?: CSSProperties | undefined;
332
344
  class?: any;
333
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
345
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
334
346
  style?: CSSProperties | undefined;
335
347
  class?: any;
336
348
  } & RecordType>>;
@@ -352,7 +364,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
352
364
  };
353
365
  rows: number;
354
366
  autocomplete: string;
355
- 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";
367
+ 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";
356
368
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
357
369
  step: string | number;
358
370
  format: string | ProgressFn | undefined;
@@ -379,6 +391,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
379
391
  label?: string | undefined;
380
392
  value?: string | undefined;
381
393
  } | undefined;
394
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
395
+ store?: any;
396
+ method?: string | undefined;
397
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
398
+ dictCode?: string | undefined;
399
+ } | undefined;
382
400
  readonly clearable: boolean;
383
401
  readonly index: number;
384
402
  } & {
@@ -391,12 +409,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
391
409
  fieldInstance?: any;
392
410
  valueIsReady?: Ref<boolean> | undefined;
393
411
  prop: string;
394
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
412
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
395
413
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
396
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
414
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
397
415
  style?: CSSProperties | undefined;
398
416
  class?: any;
399
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
417
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
400
418
  style?: CSSProperties | undefined;
401
419
  class?: any;
402
420
  } & RecordType>>;
@@ -416,17 +434,23 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
416
434
  label?: string | undefined;
417
435
  value?: string | undefined;
418
436
  } | undefined;
437
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
438
+ store?: any;
439
+ method?: string | undefined;
440
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
441
+ dictCode?: string | undefined;
442
+ } | undefined;
419
443
  clearable: boolean;
420
444
  index: number;
421
445
  }) => any>> & Partial<Record<string, (_: {
422
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
446
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
423
447
  readonly label: string | ComputedRef<string>;
424
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
448
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
425
449
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
426
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
450
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
427
451
  style?: CSSProperties | undefined;
428
452
  class?: any;
429
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
453
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
430
454
  style?: CSSProperties | undefined;
431
455
  class?: any;
432
456
  } & RecordType>>;
@@ -448,7 +472,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
448
472
  };
449
473
  rows: number;
450
474
  autocomplete: string;
451
- 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";
475
+ 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";
452
476
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
453
477
  step: string | number;
454
478
  format: string | ProgressFn | undefined;
@@ -475,6 +499,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
475
499
  label?: string | undefined;
476
500
  value?: string | undefined;
477
501
  } | undefined;
502
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
503
+ store?: any;
504
+ method?: string | undefined;
505
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
506
+ dictCode?: string | undefined;
507
+ } | undefined;
478
508
  readonly clearable: boolean;
479
509
  readonly index: number;
480
510
  } & {
@@ -487,12 +517,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
487
517
  fieldInstance?: any;
488
518
  valueIsReady?: Ref<boolean> | undefined;
489
519
  prop: string;
490
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
520
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
491
521
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
492
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
522
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
493
523
  style?: CSSProperties | undefined;
494
524
  class?: any;
495
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
525
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
496
526
  style?: CSSProperties | undefined;
497
527
  class?: any;
498
528
  } & RecordType>>;
@@ -512,6 +542,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
512
542
  label?: string | undefined;
513
543
  value?: string | undefined;
514
544
  } | undefined;
545
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
546
+ store?: any;
547
+ method?: string | undefined;
548
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
549
+ dictCode?: string | undefined;
550
+ } | undefined;
515
551
  clearable: boolean;
516
552
  index: number;
517
553
  }) => any>> & Partial<Record<string, (_: {
@@ -1,4 +1,4 @@
1
- import { RouteRecordName, RouteLocationNormalized, RouteComponent, RouteMeta, RouteRecordRedirectOption, NavigationGuardWithThis } from 'vue-router';
1
+ import { RouteRecordName, RouteLocationNormalized, RouteMeta, RouteComponent, RouteRecordRedirectOption, NavigationGuardWithThis } from 'vue-router';
2
2
  import { SetupContext, VNode, RendererNode, RendererElement, Component } from 'vue';
3
3
  import { FieldValueType, RecordType, PlusColumn, PlusRouteRecordRaw } from 'yc-pro-components/es/types';
4
4
 
@@ -120,7 +120,6 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
120
120
  __children: PlusRouteRecordRaw[] | undefined;
121
121
  name?: RouteRecordName | undefined;
122
122
  props?: (boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)) | Record<string, boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)> | undefined;
123
- components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
124
123
  meta?: ( RouteMeta & {
125
124
  title?: string | undefined;
126
125
  icon?: VNode<RendererNode, RendererElement, {
@@ -138,6 +137,7 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
138
137
  end?: boolean | undefined;
139
138
  sensitive?: boolean | undefined;
140
139
  strict?: boolean | undefined;
140
+ components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
141
141
  redirect?: RouteRecordRedirectOption | undefined;
142
142
  alias?: string | string[] | undefined;
143
143
  beforeEnter?: NavigationGuardWithThis<undefined> | NavigationGuardWithThis<undefined>[] | undefined;
@@ -6,12 +6,12 @@ export * from './src/type';
6
6
  export type YcDialogInstance = InstanceType<typeof YcDialogComponent>;
7
7
  export declare const YcDialog: {
8
8
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
9
- size: {
10
- type: PropType<DialogSize>;
11
- };
12
9
  width: {
13
10
  type: PropType<string | number>;
14
11
  };
12
+ size: {
13
+ type: PropType<DialogSize>;
14
+ };
15
15
  maxHeight: {
16
16
  type: PropType<string | number | false>;
17
17
  default: string;
@@ -21,12 +21,12 @@ export declare const YcDialog: {
21
21
  default: boolean;
22
22
  };
23
23
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
24
- size: {
25
- type: PropType<DialogSize>;
26
- };
27
24
  width: {
28
25
  type: PropType<string | number>;
29
26
  };
27
+ size: {
28
+ type: PropType<DialogSize>;
29
+ };
30
30
  maxHeight: {
31
31
  type: PropType<string | number | false>;
32
32
  default: string;
@@ -46,12 +46,12 @@ export declare const YcDialog: {
46
46
  M: {};
47
47
  Defaults: {};
48
48
  }, Readonly< ExtractPropTypes<{
49
- size: {
50
- type: PropType<DialogSize>;
51
- };
52
49
  width: {
53
50
  type: PropType<string | number>;
54
51
  };
52
+ size: {
53
+ type: PropType<DialogSize>;
54
+ };
55
55
  maxHeight: {
56
56
  type: PropType<string | number | false>;
57
57
  default: string;
@@ -68,12 +68,12 @@ export declare const YcDialog: {
68
68
  __isTeleport?: undefined;
69
69
  __isSuspense?: undefined;
70
70
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
71
- size: {
72
- type: PropType<DialogSize>;
73
- };
74
71
  width: {
75
72
  type: PropType<string | number>;
76
73
  };
74
+ size: {
75
+ type: PropType<DialogSize>;
76
+ };
77
77
  maxHeight: {
78
78
  type: PropType<string | number | false>;
79
79
  default: string;
@@ -94,12 +94,12 @@ export declare const YcDialog: {
94
94
  });
95
95
  export declare const ReDialog: {
96
96
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
97
- size: {
98
- type: PropType<DialogSize>;
99
- };
100
97
  width: {
101
98
  type: PropType<string | number>;
102
99
  };
100
+ size: {
101
+ type: PropType<DialogSize>;
102
+ };
103
103
  maxHeight: {
104
104
  type: PropType<string | number | false>;
105
105
  default: string;
@@ -109,12 +109,12 @@ export declare const ReDialog: {
109
109
  default: boolean;
110
110
  };
111
111
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
112
- size: {
113
- type: PropType<DialogSize>;
114
- };
115
112
  width: {
116
113
  type: PropType<string | number>;
117
114
  };
115
+ size: {
116
+ type: PropType<DialogSize>;
117
+ };
118
118
  maxHeight: {
119
119
  type: PropType<string | number | false>;
120
120
  default: string;
@@ -134,12 +134,12 @@ export declare const ReDialog: {
134
134
  M: {};
135
135
  Defaults: {};
136
136
  }, Readonly< ExtractPropTypes<{
137
- size: {
138
- type: PropType<DialogSize>;
139
- };
140
137
  width: {
141
138
  type: PropType<string | number>;
142
139
  };
140
+ size: {
141
+ type: PropType<DialogSize>;
142
+ };
143
143
  maxHeight: {
144
144
  type: PropType<string | number | false>;
145
145
  default: string;
@@ -156,12 +156,12 @@ export declare const ReDialog: {
156
156
  __isTeleport?: undefined;
157
157
  __isSuspense?: undefined;
158
158
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
159
- size: {
160
- type: PropType<DialogSize>;
161
- };
162
159
  width: {
163
160
  type: PropType<string | number>;
164
161
  };
162
+ size: {
163
+ type: PropType<DialogSize>;
164
+ };
165
165
  maxHeight: {
166
166
  type: PropType<string | number | false>;
167
167
  default: string;
@@ -6,14 +6,14 @@ import { default as YcDownloadDialog } from './src/index.vue';
6
6
  /** 批量导入下载对话框组件 */
7
7
  export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
8
8
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
9
- modelValue: {
10
- type: PropType<boolean>;
11
- default: boolean;
12
- };
13
9
  title: {
14
10
  type: PropType<string>;
15
11
  default: string;
16
12
  };
13
+ modelValue: {
14
+ type: PropType<boolean>;
15
+ default: boolean;
16
+ };
17
17
  templateUrl: {
18
18
  type: PropType<string>;
19
19
  };
@@ -50,14 +50,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
50
50
  "upload-error": (error: any, file: any) => void;
51
51
  "download-template": () => void;
52
52
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
53
- modelValue: {
54
- type: PropType<boolean>;
55
- default: boolean;
56
- };
57
53
  title: {
58
54
  type: PropType<string>;
59
55
  default: string;
60
56
  };
57
+ modelValue: {
58
+ type: PropType<boolean>;
59
+ default: boolean;
60
+ };
61
61
  templateUrl: {
62
62
  type: PropType<string>;
63
63
  };
@@ -87,8 +87,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
87
87
  "onUpload-error"?: ((error: any, file: any) => any) | undefined;
88
88
  "onDownload-template"?: (() => any) | undefined;
89
89
  }, {
90
- modelValue: boolean;
91
90
  title: string;
91
+ modelValue: boolean;
92
92
  templateText: string;
93
93
  uploadAction: string;
94
94
  }, true, {}, {}, {
@@ -99,14 +99,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
99
99
  M: {};
100
100
  Defaults: {};
101
101
  }, Readonly< ExtractPropTypes<{
102
- modelValue: {
103
- type: PropType<boolean>;
104
- default: boolean;
105
- };
106
102
  title: {
107
103
  type: PropType<string>;
108
104
  default: string;
109
105
  };
106
+ modelValue: {
107
+ type: PropType<boolean>;
108
+ default: boolean;
109
+ };
110
110
  templateUrl: {
111
111
  type: PropType<string>;
112
112
  };
@@ -138,8 +138,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
138
138
  }, {
139
139
  fetchUploadRecords: () => Promise<void>;
140
140
  }, {}, {}, {}, {
141
- modelValue: boolean;
142
141
  title: string;
142
+ modelValue: boolean;
143
143
  templateText: string;
144
144
  uploadAction: string;
145
145
  }>;
@@ -147,14 +147,14 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
147
147
  __isTeleport?: undefined;
148
148
  __isSuspense?: undefined;
149
149
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
150
- modelValue: {
151
- type: PropType<boolean>;
152
- default: boolean;
153
- };
154
150
  title: {
155
151
  type: PropType<string>;
156
152
  default: string;
157
153
  };
154
+ modelValue: {
155
+ type: PropType<boolean>;
156
+ default: boolean;
157
+ };
158
158
  templateUrl: {
159
159
  type: PropType<string>;
160
160
  };
@@ -191,8 +191,8 @@ export declare const YcDownloadDialogWithInstall: SFCWithInstall<{
191
191
  "upload-error": (error: any, file: any) => void;
192
192
  "download-template": () => void;
193
193
  }, string, {
194
- modelValue: boolean;
195
194
  title: string;
195
+ modelValue: boolean;
196
196
  templateText: string;
197
197
  uploadAction: string;
198
198
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
@@ -24,8 +24,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
24
24
  "onUpload-error"?: ((error: any, file: any) => any) | undefined;
25
25
  "onDownload-template"?: (() => any) | undefined;
26
26
  }, {
27
- modelValue: boolean;
28
27
  title: string;
28
+ modelValue: boolean;
29
29
  templateText: string;
30
30
  uploadAction: string;
31
31
  }, {}>, {
@@ -5,13 +5,13 @@ import { default as YcFormContainerHeaderComponent } from './src/index.vue';
5
5
  export * from './src/type';
6
6
  export type YcFormContainerHeaderInstance = InstanceType<typeof YcFormContainerHeaderComponent>;
7
7
  export declare const YcFormContainerHeader: DefineComponent<{
8
- class: {
9
- type: PropType<string>;
10
- };
11
8
  title: {
12
9
  type: PropType<string>;
13
10
  required: true;
14
11
  };
12
+ class: {
13
+ type: PropType<string>;
14
+ };
15
15
  titleColor: {
16
16
  type: PropType<string>;
17
17
  default: undefined;
@@ -21,13 +21,13 @@ export declare const YcFormContainerHeader: DefineComponent<{
21
21
  default: undefined;
22
22
  };
23
23
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
24
- class: {
25
- type: PropType<string>;
26
- };
27
24
  title: {
28
25
  type: PropType<string>;
29
26
  required: true;
30
27
  };
28
+ class: {
29
+ type: PropType<string>;
30
+ };
31
31
  titleColor: {
32
32
  type: PropType<string>;
33
33
  default: undefined;
@@ -41,13 +41,13 @@ export declare const YcFormContainerHeader: DefineComponent<{
41
41
  gradientColors: GradientColors;
42
42
  }, {}>;
43
43
  export declare const ReFormContainerHeader: DefineComponent<{
44
- class: {
45
- type: PropType<string>;
46
- };
47
44
  title: {
48
45
  type: PropType<string>;
49
46
  required: true;
50
47
  };
48
+ class: {
49
+ type: PropType<string>;
50
+ };
51
51
  titleColor: {
52
52
  type: PropType<string>;
53
53
  default: undefined;
@@ -57,13 +57,13 @@ export declare const ReFormContainerHeader: DefineComponent<{
57
57
  default: undefined;
58
58
  };
59
59
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
60
- class: {
61
- type: PropType<string>;
62
- };
63
60
  title: {
64
61
  type: PropType<string>;
65
62
  required: true;
66
63
  };
64
+ class: {
65
+ type: PropType<string>;
66
+ };
67
67
  titleColor: {
68
68
  type: PropType<string>;
69
69
  default: undefined;