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
@@ -42,7 +42,8 @@ const FieldComponentMap = {
42
42
  },
43
43
  "input-number": {
44
44
  component: ElInputNumber,
45
- props: { placeholder: "plus.field.pleaseEnter" }
45
+ // align: 'left' 设置输入文本靠左对齐 (Element Plus 2.10.5+)
46
+ props: { placeholder: "plus.field.pleaseEnter", align: "left" }
46
47
  },
47
48
  radio: {
48
49
  component: ElRadioGroup,
@@ -420,9 +420,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
420
420
  "onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
421
421
  onChange?: ((value: FieldValueType) => any) | undefined;
422
422
  }, {
423
- index: number;
424
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
425
423
  label: string | ComputedRef<string>;
424
+ index: number;
426
425
  tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
427
426
  style?: CSSProperties | undefined;
428
427
  class?: any;
@@ -448,7 +447,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
448
447
  };
449
448
  rows: number;
450
449
  autocomplete: string;
451
- 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";
450
+ 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";
452
451
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
453
452
  step: string | number;
454
453
  format: string | ProgressFn | undefined;
@@ -459,20 +458,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
459
458
  autosize: InputAutoSize;
460
459
  } & 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>>>>;
461
460
  options: OptionsType;
461
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
462
462
  fieldSlots: {
463
463
  [slotName: string]: (data?: any) => RenderTypes;
464
464
  };
465
465
  fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
466
466
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
467
467
  clearable: boolean;
468
- 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";
469
468
  renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
470
- renderLabel: (label: string, props: PlusColumn) => RenderTypes;
471
- renderErrorMessage: (props: PlusColumn & {
472
- value?: FieldValueType;
473
- error?: string | undefined;
474
- label?: string | undefined;
475
- }) => RenderTypes;
469
+ 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";
476
470
  optionsMap: {
477
471
  label?: string | undefined;
478
472
  value?: string | undefined;
@@ -483,6 +477,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
483
477
  transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
484
478
  dictCode?: string | undefined;
485
479
  };
480
+ renderLabel: (label: string, props: PlusColumn) => RenderTypes;
481
+ renderErrorMessage: (props: PlusColumn & {
482
+ value?: FieldValueType;
483
+ error?: string | undefined;
484
+ label?: string | undefined;
485
+ }) => RenderTypes;
486
486
  }, {}>, Partial<Record<string, (_: {
487
487
  label: string;
488
488
  fieldProps: RecordType;
@@ -491,12 +491,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
491
491
  fieldInstance?: any;
492
492
  valueIsReady?: Ref<boolean> | undefined;
493
493
  prop: string;
494
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
494
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
495
495
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
496
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
496
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
497
497
  style?: CSSProperties | undefined;
498
498
  class?: any;
499
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
499
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
500
500
  style?: CSSProperties | undefined;
501
501
  class?: any;
502
502
  } & RecordType>>;
@@ -525,14 +525,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
525
525
  clearable: boolean;
526
526
  index: number;
527
527
  }) => any>> & Partial<Record<string, (_: {
528
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
528
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "autoDict" | "renderLabel" | "renderErrorMessage">> & {
529
529
  readonly label: string | ComputedRef<string>;
530
- readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
530
+ readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
531
531
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
532
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
532
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
533
533
  style?: CSSProperties | undefined;
534
534
  class?: any;
535
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
535
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
536
536
  style?: CSSProperties | undefined;
537
537
  class?: any;
538
538
  } & RecordType>>;
@@ -554,7 +554,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
554
554
  };
555
555
  rows: number;
556
556
  autocomplete: string;
557
- 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";
557
+ 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";
558
558
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
559
559
  step: string | number;
560
560
  format: string | ProgressFn | undefined;
@@ -599,12 +599,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
599
599
  fieldInstance?: any;
600
600
  valueIsReady?: Ref<boolean> | undefined;
601
601
  prop: string;
602
- modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
602
+ modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
603
603
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
604
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
604
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
605
605
  style?: CSSProperties | undefined;
606
606
  class?: any;
607
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
607
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
608
608
  style?: CSSProperties | undefined;
609
609
  class?: any;
610
610
  } & RecordType>>;
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, inject, unref, watch, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementBlock, Fragment, createCommentVNode, renderSlot, renderList, resolveDynamicComponent, normalizeProps, createTextVNode, toDisplayString, guardReactiveProps, createElementVNode, createVNode } from 'vue';
1
+ import { defineComponent, ref, computed, inject, unref, watch, openBlock, createBlock, mergeProps, createSlots, withCtx, createElementBlock, createCommentVNode, renderSlot, Fragment, renderList, resolveDynamicComponent, normalizeProps, createTextVNode, toDisplayString, guardReactiveProps, createElementVNode, createVNode } from 'vue';
2
2
  import { getLabel, getCustomProps, getFieldSlotName, getLabelSlotName, getTooltip, versionIsLessThan260 } from '../../utils/index.mjs';
3
3
  import { QuestionFilled } from '@element-plus/icons-vue';
4
4
  import { useGetOptions } from '../../../hooks/useGetOptions.mjs';
@@ -12,6 +12,14 @@ import { isFunction, isArray, isDate } from '../../utils/is.mjs';
12
12
 
13
13
  const _hoisted_1 = { class: "el-form-item__error" };
14
14
  const _hoisted_2 = { class: "plus-form-item__label" };
15
+ const _hoisted_3 = {
16
+ key: 0,
17
+ class: "plus-form-item-field"
18
+ };
19
+ const _hoisted_4 = {
20
+ key: 1,
21
+ class: "plus-form-item-field"
22
+ };
15
23
  var _sfc_main = /* @__PURE__ */ defineComponent({
16
24
  ...{
17
25
  name: "PlusFormItem"
@@ -226,23 +234,19 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
226
234
  "label-width": _ctx.hasLabel ? (_a = customFormItemProps.value) == null ? void 0 : _a.labelWidth : "0px"
227
235
  }), createSlots({
228
236
  default: withCtx(() => [
229
- _ctx.renderField && unref(isFunction)(_ctx.renderField) ? (openBlock(), createElementBlock(
230
- Fragment,
231
- { key: 0 },
232
- [
233
- valueIsReady.value ? (openBlock(), createBlock(unref(PlusRender), {
234
- key: 0,
235
- render: _ctx.renderField,
236
- params: params.value,
237
- "callback-value": state.value,
238
- "custom-field-props": customFieldProps.value,
239
- "render-type": "form",
240
- "handle-change": handleChange
241
- }, null, 8, ["render", "params", "callback-value", "custom-field-props"])) : createCommentVNode("v-if", true)
242
- ],
243
- 64
244
- /* STABLE_FRAGMENT */
245
- )) : _ctx.$slots[unref(getFieldSlotName)(_ctx.prop)] ? renderSlot(_ctx.$slots, unref(getFieldSlotName)(_ctx.prop), mergeProps({ key: 1 }, params.value, { column: props })) : _ctx.valueType === "select" && customFieldProps.value.multiple === true ? (openBlock(), createBlock(unref(ElSelect$1), mergeProps({
237
+ _ctx.renderField && unref(isFunction)(_ctx.renderField) ? (openBlock(), createElementBlock("div", _hoisted_3, [
238
+ valueIsReady.value ? (openBlock(), createBlock(unref(PlusRender), {
239
+ key: 0,
240
+ render: _ctx.renderField,
241
+ params: params.value,
242
+ "callback-value": state.value,
243
+ "custom-field-props": customFieldProps.value,
244
+ "render-type": "form",
245
+ "handle-change": handleChange
246
+ }, null, 8, ["render", "params", "callback-value", "custom-field-props"])) : createCommentVNode("v-if", true)
247
+ ])) : _ctx.$slots[unref(getFieldSlotName)(_ctx.prop)] ? (openBlock(), createElementBlock("div", _hoisted_4, [
248
+ renderSlot(_ctx.$slots, unref(getFieldSlotName)(_ctx.prop), mergeProps(params.value, { column: props }))
249
+ ])) : _ctx.valueType === "select" && customFieldProps.value.multiple === true ? (openBlock(), createBlock(unref(ElSelect$1), mergeProps({
246
250
  key: 2,
247
251
  ref_key: "fieldInstance",
248
252
  ref: fieldInstance,
@@ -7,12 +7,12 @@ export declare const PlusHeader: {
7
7
  type: PropType<boolean>;
8
8
  default: boolean;
9
9
  };
10
- title: {
11
- type: PropType<string>;
10
+ trigger: {
11
+ type: PropType<"hover" | "click">;
12
12
  default: string;
13
13
  };
14
- trigger: {
15
- type: PropType<"click" | "hover">;
14
+ title: {
15
+ type: PropType<string>;
16
16
  default: string;
17
17
  };
18
18
  logo: {
@@ -71,12 +71,12 @@ export declare const PlusHeader: {
71
71
  type: PropType<boolean>;
72
72
  default: boolean;
73
73
  };
74
- title: {
75
- type: PropType<string>;
74
+ trigger: {
75
+ type: PropType<"hover" | "click">;
76
76
  default: string;
77
77
  };
78
- trigger: {
79
- type: PropType<"click" | "hover">;
78
+ title: {
79
+ type: PropType<string>;
80
80
  default: string;
81
81
  };
82
82
  logo: {
@@ -127,8 +127,8 @@ export declare const PlusHeader: {
127
127
  }) => any) | undefined;
128
128
  }, {
129
129
  fixed: boolean;
130
+ trigger: "hover" | "click";
130
131
  title: string;
131
- trigger: "click" | "hover";
132
132
  logo: string;
133
133
  logoutText: string;
134
134
  userInfo: {
@@ -155,12 +155,12 @@ export declare const PlusHeader: {
155
155
  type: PropType<boolean>;
156
156
  default: boolean;
157
157
  };
158
- title: {
159
- type: PropType<string>;
158
+ trigger: {
159
+ type: PropType<"hover" | "click">;
160
160
  default: string;
161
161
  };
162
- trigger: {
163
- type: PropType<"click" | "hover">;
162
+ title: {
163
+ type: PropType<string>;
164
164
  default: string;
165
165
  };
166
166
  logo: {
@@ -211,8 +211,8 @@ export declare const PlusHeader: {
211
211
  }) => any) | undefined;
212
212
  }, {}, {}, {}, {}, {
213
213
  fixed: boolean;
214
+ trigger: "hover" | "click";
214
215
  title: string;
215
- trigger: "click" | "hover";
216
216
  logo: string;
217
217
  logoutText: string;
218
218
  userInfo: {
@@ -236,12 +236,12 @@ export declare const PlusHeader: {
236
236
  type: PropType<boolean>;
237
237
  default: boolean;
238
238
  };
239
- title: {
240
- type: PropType<string>;
239
+ trigger: {
240
+ type: PropType<"hover" | "click">;
241
241
  default: string;
242
242
  };
243
- trigger: {
244
- type: PropType<"click" | "hover">;
243
+ title: {
244
+ type: PropType<string>;
245
245
  default: string;
246
246
  };
247
247
  logo: {
@@ -297,8 +297,8 @@ export declare const PlusHeader: {
297
297
  }) => void;
298
298
  }, string, {
299
299
  fixed: boolean;
300
+ trigger: "hover" | "click";
300
301
  title: string;
301
- trigger: "click" | "hover";
302
302
  logo: string;
303
303
  logoutText: string;
304
304
  userInfo: {
@@ -31,8 +31,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
31
31
  }) => any) | undefined;
32
32
  }, {
33
33
  fixed: boolean;
34
+ trigger: "hover" | "click";
34
35
  title: string;
35
- trigger: "click" | "hover";
36
36
  logo: string;
37
37
  logoutText: string;
38
38
  userInfo: {
@@ -7,10 +7,6 @@ import { PlusInputTagProps } from './src/index.vue';
7
7
 
8
8
  export type { PlusInputTagProps };
9
9
  export declare const PlusInputTag: DefineComponent<{
10
- modelValue: {
11
- type: PropType<string[]>;
12
- default: () => never[];
13
- };
14
10
  disabled: {
15
11
  type: PropType<boolean>;
16
12
  default: boolean;
@@ -19,6 +15,10 @@ export declare const PlusInputTag: DefineComponent<{
19
15
  type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
20
16
  default: () => string[];
21
17
  };
18
+ modelValue: {
19
+ type: PropType<string[]>;
20
+ default: () => never[];
21
+ };
22
22
  inputProps: {
23
23
  type: PropType<Partial< Mutable<InputProps> & {
24
24
  style?: CSSProperties | undefined;
@@ -70,7 +70,7 @@ export declare const PlusInputTag: DefineComponent<{
70
70
  };
71
71
  readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
72
72
  readonly resize: {
73
- readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
73
+ readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
74
74
  readonly required: false;
75
75
  readonly validator: ((val: unknown) => boolean) | undefined;
76
76
  __epPropKey: true;
@@ -167,7 +167,7 @@ export declare const PlusInputTag: DefineComponent<{
167
167
  };
168
168
  readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
169
169
  readonly resize: {
170
- readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
170
+ readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
171
171
  readonly required: false;
172
172
  readonly validator: ((val: unknown) => boolean) | undefined;
173
173
  __epPropKey: true;
@@ -438,7 +438,7 @@ export declare const PlusInputTag: DefineComponent<{
438
438
  };
439
439
  readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
440
440
  readonly resize: {
441
- readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
441
+ readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
442
442
  readonly required: false;
443
443
  readonly validator: ((val: unknown) => boolean) | undefined;
444
444
  __epPropKey: true;
@@ -558,7 +558,7 @@ export declare const PlusInputTag: DefineComponent<{
558
558
  };
559
559
  readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
560
560
  readonly resize: {
561
- readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
561
+ readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
562
562
  readonly required: false;
563
563
  readonly validator: ((val: unknown) => boolean) | undefined;
564
564
  __epPropKey: true;
@@ -655,7 +655,7 @@ export declare const PlusInputTag: DefineComponent<{
655
655
  };
656
656
  readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
657
657
  readonly resize: {
658
- readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
658
+ readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
659
659
  readonly required: false;
660
660
  readonly validator: ((val: unknown) => boolean) | undefined;
661
661
  __epPropKey: true;
@@ -1203,10 +1203,6 @@ export declare const PlusInputTag: DefineComponent<{
1203
1203
  enter: (value: string, event: MouseEvent) => void;
1204
1204
  space: (value: string, event: MouseEvent) => void;
1205
1205
  }, string, PublicProps, Readonly< ExtractPropTypes<{
1206
- modelValue: {
1207
- type: PropType<string[]>;
1208
- default: () => never[];
1209
- };
1210
1206
  disabled: {
1211
1207
  type: PropType<boolean>;
1212
1208
  default: boolean;
@@ -1215,6 +1211,10 @@ export declare const PlusInputTag: DefineComponent<{
1215
1211
  type: PropType<("blur" | "space" | "enter") | ("blur" | "space" | "enter")[]>;
1216
1212
  default: () => string[];
1217
1213
  };
1214
+ modelValue: {
1215
+ type: PropType<string[]>;
1216
+ default: () => never[];
1217
+ };
1218
1218
  inputProps: {
1219
1219
  type: PropType<Partial< Mutable<InputProps> & {
1220
1220
  style?: CSSProperties | undefined;
@@ -1242,16 +1242,16 @@ export declare const PlusInputTag: DefineComponent<{
1242
1242
  default: boolean;
1243
1243
  };
1244
1244
  }>> & {
1245
- "onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
1246
1245
  onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
1246
+ "onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
1247
1247
  onChange?: ((data: string[]) => any) | undefined;
1248
+ onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
1248
1249
  onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
1249
1250
  onRemove?: ((tag: string) => any) | undefined;
1250
- onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
1251
1251
  }, {
1252
- modelValue: string[];
1253
1252
  disabled: boolean;
1254
1253
  trigger: ("blur" | "space" | "enter") | ("blur" | "space" | "enter")[];
1254
+ modelValue: string[];
1255
1255
  inputProps: Partial< Mutable<InputProps> & {
1256
1256
  style?: CSSProperties | undefined;
1257
1257
  class?: any;
@@ -65,7 +65,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
65
65
  };
66
66
  readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
67
67
  readonly resize: {
68
- readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
68
+ readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
69
69
  readonly required: false;
70
70
  readonly validator: ((val: unknown) => boolean) | undefined;
71
71
  __epPropKey: true;
@@ -162,7 +162,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
162
162
  };
163
163
  readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
164
164
  readonly resize: {
165
- readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
165
+ readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
166
166
  readonly required: false;
167
167
  readonly validator: ((val: unknown) => boolean) | undefined;
168
168
  __epPropKey: true;
@@ -433,7 +433,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
433
433
  };
434
434
  readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
435
435
  readonly resize: {
436
- readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
436
+ readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
437
437
  readonly required: false;
438
438
  readonly validator: ((val: unknown) => boolean) | undefined;
439
439
  __epPropKey: true;
@@ -553,7 +553,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
553
553
  };
554
554
  readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
555
555
  readonly resize: {
556
- readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
556
+ readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
557
557
  readonly required: false;
558
558
  readonly validator: ((val: unknown) => boolean) | undefined;
559
559
  __epPropKey: true;
@@ -650,7 +650,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
650
650
  };
651
651
  readonly type: EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
652
652
  readonly resize: {
653
- readonly type: PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
653
+ readonly type: PropType<EpPropMergeType<StringConstructor, "both" | "none" | "horizontal" | "vertical", unknown>>;
654
654
  readonly required: false;
655
655
  readonly validator: ((val: unknown) => boolean) | undefined;
656
656
  __epPropKey: true;
@@ -1207,16 +1207,16 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
1207
1207
  formatTag: undefined;
1208
1208
  retainInputValue: boolean;
1209
1209
  }>>> & {
1210
- "onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
1211
1210
  onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
1211
+ "onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
1212
1212
  onChange?: ((data: string[]) => any) | undefined;
1213
+ onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
1213
1214
  onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
1214
1215
  onRemove?: ((tag: string) => any) | undefined;
1215
- onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
1216
1216
  }, {
1217
- modelValue: string[];
1218
1217
  disabled: boolean;
1219
1218
  trigger: TriggerType | TriggerType[];
1219
+ modelValue: string[];
1220
1220
  inputProps: Partial<Mutable<InputProps> & {
1221
1221
  style?: CSSProperties | undefined;
1222
1222
  class?: any;