yc-pro-components 0.0.84 → 0.0.85

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 (133) hide show
  1. package/es/components/check-card/index.d.ts +38 -38
  2. package/es/components/check-card/src/index.vue.d.ts +2 -2
  3. package/es/components/check-card-group/index.d.ts +19 -19
  4. package/es/components/check-card-group/src/index.vue.d.ts +1 -1
  5. package/es/components/date-picker/index.d.ts +10 -10
  6. package/es/components/date-picker/src/index.vue.d.ts +10 -10
  7. package/es/components/dialog-form/index.d.ts +11 -8
  8. package/es/components/dialog-form/src/index.vue.d.ts +11 -8
  9. package/es/components/display-item/index.d.ts +53 -44
  10. package/es/components/display-item/src/index.vue.d.ts +34 -25
  11. package/es/components/drawer-form/index.d.ts +36 -33
  12. package/es/components/drawer-form/src/index.vue.d.ts +14 -11
  13. package/es/components/form/index.d.ts +41 -16
  14. package/es/components/form/src/form-content.vue.d.ts +37 -22
  15. package/es/components/form/src/form-content.vue2.mjs +11 -2
  16. package/es/components/form/src/index.vue.d.ts +25 -16
  17. package/es/components/form/src/index.vue2.mjs +5 -2
  18. package/es/components/form/src/type.d.ts +5 -0
  19. package/es/components/form-item/index.d.ts +62 -39
  20. package/es/components/form-item/src/index.vue.d.ts +32 -17
  21. package/es/components/form-item/src/index.vue2.mjs +9 -3
  22. package/es/components/header/index.d.ts +19 -19
  23. package/es/components/header/src/index.vue.d.ts +1 -1
  24. package/es/components/input-tag/index.d.ts +9 -9
  25. package/es/components/input-tag/src/index.vue.d.ts +1 -1
  26. package/es/components/page/index.d.ts +320 -137
  27. package/es/components/page/src/index.vue.d.ts +114 -51
  28. package/es/components/radio/index.d.ts +23 -23
  29. package/es/components/radio/src/index.vue.d.ts +23 -23
  30. package/es/components/render/index.d.ts +6 -6
  31. package/es/components/render/src/index.vue.d.ts +2 -2
  32. package/es/components/search/index.d.ts +144 -59
  33. package/es/components/search/src/index.vue.d.ts +52 -25
  34. package/es/components/search/src/index.vue2.mjs +3 -1
  35. package/es/components/search/src/type.d.ts +5 -0
  36. package/es/components/table/src/table-column.vue.d.ts +49 -40
  37. package/es/components/yc-count-to/index.d.ts +1 -1
  38. package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
  39. package/es/components/yc-dialog/index.d.ts +24 -24
  40. package/es/components/yc-more-actions/index.d.ts +46 -46
  41. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  42. package/es/components/yc-plus-page/src/index.vue.d.ts +217 -94
  43. package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
  44. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  45. package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  46. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  47. package/es/hooks/usePlusFormReset.d.ts +126 -108
  48. package/es/index.css +7 -7
  49. package/es/types/form.d.ts +5 -0
  50. package/es/version.d.ts +1 -1
  51. package/es/version.mjs +1 -1
  52. package/es/yc-components/version.d.ts +1 -1
  53. package/index.css +1 -1
  54. package/index.js +30 -10
  55. package/index.min.js +11 -11
  56. package/index.min.mjs +12 -12
  57. package/index.mjs +30 -10
  58. package/lib/components/check-card/index.d.ts +38 -38
  59. package/lib/components/check-card/src/index.vue.d.ts +2 -2
  60. package/lib/components/check-card-group/index.d.ts +19 -19
  61. package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
  62. package/lib/components/date-picker/index.d.ts +10 -10
  63. package/lib/components/date-picker/src/index.vue.d.ts +10 -10
  64. package/lib/components/dialog-form/index.d.ts +11 -8
  65. package/lib/components/dialog-form/src/index.vue.d.ts +11 -8
  66. package/lib/components/display-item/index.d.ts +53 -44
  67. package/lib/components/display-item/src/index.vue.d.ts +34 -25
  68. package/lib/components/drawer-form/index.d.ts +36 -33
  69. package/lib/components/drawer-form/src/index.vue.d.ts +14 -11
  70. package/lib/components/form/index.d.ts +41 -16
  71. package/lib/components/form/src/form-content.vue.d.ts +37 -22
  72. package/lib/components/form/src/form-content.vue2.js +11 -2
  73. package/lib/components/form/src/index.vue.d.ts +25 -16
  74. package/lib/components/form/src/index.vue2.js +5 -2
  75. package/lib/components/form/src/type.d.ts +5 -0
  76. package/lib/components/form-item/index.d.ts +62 -39
  77. package/lib/components/form-item/src/index.vue.d.ts +32 -17
  78. package/lib/components/form-item/src/index.vue2.js +9 -3
  79. package/lib/components/header/index.d.ts +19 -19
  80. package/lib/components/header/src/index.vue.d.ts +1 -1
  81. package/lib/components/input-tag/index.d.ts +9 -9
  82. package/lib/components/input-tag/src/index.vue.d.ts +1 -1
  83. package/lib/components/page/index.d.ts +320 -137
  84. package/lib/components/page/src/index.vue.d.ts +114 -51
  85. package/lib/components/radio/index.d.ts +23 -23
  86. package/lib/components/radio/src/index.vue.d.ts +23 -23
  87. package/lib/components/render/index.d.ts +6 -6
  88. package/lib/components/render/src/index.vue.d.ts +2 -2
  89. package/lib/components/search/index.d.ts +144 -59
  90. package/lib/components/search/src/index.vue.d.ts +52 -25
  91. package/lib/components/search/src/index.vue2.js +3 -1
  92. package/lib/components/search/src/type.d.ts +5 -0
  93. package/lib/components/table/src/table-column.vue.d.ts +49 -40
  94. package/lib/components/yc-count-to/index.d.ts +1 -1
  95. package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
  96. package/lib/components/yc-dialog/index.d.ts +24 -24
  97. package/lib/components/yc-more-actions/index.d.ts +46 -46
  98. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  99. package/lib/components/yc-plus-page/src/index.vue.d.ts +217 -94
  100. package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
  101. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  102. package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  103. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  104. package/lib/hooks/usePlusFormReset.d.ts +126 -108
  105. package/lib/index.css +10 -10
  106. package/lib/types/form.d.ts +5 -0
  107. package/lib/version.d.ts +1 -1
  108. package/lib/version.js +1 -1
  109. package/lib/yc-components/version.d.ts +1 -1
  110. package/locale/en.js +1 -1
  111. package/locale/en.min.js +1 -1
  112. package/locale/en.min.mjs +1 -1
  113. package/locale/en.mjs +1 -1
  114. package/locale/ja.js +1 -1
  115. package/locale/ja.min.js +1 -1
  116. package/locale/ja.min.mjs +1 -1
  117. package/locale/ja.mjs +1 -1
  118. package/locale/ko.js +1 -1
  119. package/locale/ko.min.js +1 -1
  120. package/locale/ko.min.mjs +1 -1
  121. package/locale/ko.mjs +1 -1
  122. package/locale/zh-cn.js +1 -1
  123. package/locale/zh-cn.min.js +1 -1
  124. package/locale/zh-cn.min.mjs +1 -1
  125. package/locale/zh-cn.mjs +1 -1
  126. package/locale/zh-tw.js +1 -1
  127. package/locale/zh-tw.min.js +1 -1
  128. package/locale/zh-tw.min.mjs +1 -1
  129. package/locale/zh-tw.mjs +1 -1
  130. package/package.json +1 -1
  131. package/theme-chalk/index.css +1 -1
  132. package/theme-chalk/plus-form-item.css +1 -1
  133. package/theme-chalk/src/form-item.scss +60 -39
@@ -21,10 +21,10 @@ export declare const PlusFormItem: {
21
21
  required: true;
22
22
  };
23
23
  tooltip: {
24
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
24
+ type: PropType<string | Partial< Mutable<ElTooltipProps> & {
25
25
  style?: CSSProperties | undefined;
26
26
  class?: any;
27
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
27
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
28
28
  style?: CSSProperties | undefined;
29
29
  class?: any;
30
30
  } & RecordType>>>;
@@ -52,7 +52,7 @@ export declare const PlusFormItem: {
52
52
  };
53
53
  rows: number;
54
54
  autocomplete: string;
55
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
55
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
56
56
  loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
57
57
  step: string | number;
58
58
  format: string | ProgressFn | undefined;
@@ -69,7 +69,7 @@ export declare const PlusFormItem: {
69
69
  default: () => never[];
70
70
  };
71
71
  modelValue: {
72
- type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
72
+ type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
73
73
  default: string;
74
74
  };
75
75
  fieldSlots: {
@@ -82,6 +82,10 @@ export declare const PlusFormItem: {
82
82
  type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
83
83
  default: undefined;
84
84
  };
85
+ ellipsis: {
86
+ type: PropType<boolean>;
87
+ default: boolean;
88
+ };
85
89
  hasLabel: {
86
90
  type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
87
91
  default: boolean;
@@ -141,10 +145,10 @@ export declare const PlusFormItem: {
141
145
  }> & Omit<{
142
146
  readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
143
147
  readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
144
- readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
145
- readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
146
148
  readonly label?: string | undefined;
147
149
  readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
150
+ readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
151
+ readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
148
152
  readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
149
153
  readonly error?: string | undefined;
150
154
  readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
@@ -349,10 +353,10 @@ export declare const PlusFormItem: {
349
353
  required: true;
350
354
  };
351
355
  tooltip: {
352
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
356
+ type: PropType<string | Partial< Mutable<ElTooltipProps> & {
353
357
  style?: CSSProperties | undefined;
354
358
  class?: any;
355
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
359
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
356
360
  style?: CSSProperties | undefined;
357
361
  class?: any;
358
362
  } & RecordType>>>;
@@ -380,7 +384,7 @@ export declare const PlusFormItem: {
380
384
  };
381
385
  rows: number;
382
386
  autocomplete: string;
383
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
387
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
384
388
  loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
385
389
  step: string | number;
386
390
  format: string | ProgressFn | undefined;
@@ -397,7 +401,7 @@ export declare const PlusFormItem: {
397
401
  default: () => never[];
398
402
  };
399
403
  modelValue: {
400
- type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
404
+ type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
401
405
  default: string;
402
406
  };
403
407
  fieldSlots: {
@@ -410,6 +414,10 @@ export declare const PlusFormItem: {
410
414
  type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
411
415
  default: undefined;
412
416
  };
417
+ ellipsis: {
418
+ type: PropType<boolean>;
419
+ default: boolean;
420
+ };
413
421
  hasLabel: {
414
422
  type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
415
423
  default: boolean;
@@ -485,7 +493,7 @@ export declare const PlusFormItem: {
485
493
  };
486
494
  rows: number;
487
495
  autocomplete: string;
488
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
496
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
489
497
  loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
490
498
  step: string | number;
491
499
  format: string | ProgressFn | undefined;
@@ -496,11 +504,12 @@ export declare const PlusFormItem: {
496
504
  autosize: InputAutoSize;
497
505
  } & 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< SelectProps, 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>>>>;
498
506
  options: OptionsType;
499
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
507
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
500
508
  fieldSlots: {
501
509
  [slotName: string]: (data?: any) => RenderTypes;
502
510
  };
503
511
  fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
512
+ ellipsis: boolean;
504
513
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
505
514
  clearable: boolean;
506
515
  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";
@@ -542,10 +551,10 @@ export declare const PlusFormItem: {
542
551
  required: true;
543
552
  };
544
553
  tooltip: {
545
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
554
+ type: PropType<string | Partial< Mutable<ElTooltipProps> & {
546
555
  style?: CSSProperties | undefined;
547
556
  class?: any;
548
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
557
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
549
558
  style?: CSSProperties | undefined;
550
559
  class?: any;
551
560
  } & RecordType>>>;
@@ -573,7 +582,7 @@ export declare const PlusFormItem: {
573
582
  };
574
583
  rows: number;
575
584
  autocomplete: string;
576
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
585
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
577
586
  loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
578
587
  step: string | number;
579
588
  format: string | ProgressFn | undefined;
@@ -590,7 +599,7 @@ export declare const PlusFormItem: {
590
599
  default: () => never[];
591
600
  };
592
601
  modelValue: {
593
- type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
602
+ type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
594
603
  default: string;
595
604
  };
596
605
  fieldSlots: {
@@ -603,6 +612,10 @@ export declare const PlusFormItem: {
603
612
  type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
604
613
  default: undefined;
605
614
  };
615
+ ellipsis: {
616
+ type: PropType<boolean>;
617
+ default: boolean;
618
+ };
606
619
  hasLabel: {
607
620
  type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
608
621
  default: boolean;
@@ -662,10 +675,10 @@ export declare const PlusFormItem: {
662
675
  }> & Omit<{
663
676
  readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
664
677
  readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
665
- readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
666
- readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
667
678
  readonly label?: string | undefined;
668
679
  readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
680
+ readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
681
+ readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
669
682
  readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
670
683
  readonly error?: string | undefined;
671
684
  readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
@@ -881,7 +894,7 @@ export declare const PlusFormItem: {
881
894
  };
882
895
  rows: number;
883
896
  autocomplete: string;
884
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
897
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
885
898
  loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
886
899
  step: string | number;
887
900
  format: string | ProgressFn | undefined;
@@ -892,11 +905,12 @@ export declare const PlusFormItem: {
892
905
  autosize: InputAutoSize;
893
906
  } & 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< SelectProps, 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>>>>;
894
907
  options: OptionsType;
895
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
908
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
896
909
  fieldSlots: {
897
910
  [slotName: string]: (data?: any) => RenderTypes;
898
911
  };
899
912
  fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
913
+ ellipsis: boolean;
900
914
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
901
915
  clearable: boolean;
902
916
  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";
@@ -935,10 +949,10 @@ export declare const PlusFormItem: {
935
949
  required: true;
936
950
  };
937
951
  tooltip: {
938
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
952
+ type: PropType<string | Partial< Mutable<ElTooltipProps> & {
939
953
  style?: CSSProperties | undefined;
940
954
  class?: any;
941
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
955
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
942
956
  style?: CSSProperties | undefined;
943
957
  class?: any;
944
958
  } & RecordType>>>;
@@ -966,7 +980,7 @@ export declare const PlusFormItem: {
966
980
  };
967
981
  rows: number;
968
982
  autocomplete: string;
969
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
983
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
970
984
  loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
971
985
  step: string | number;
972
986
  format: string | ProgressFn | undefined;
@@ -983,7 +997,7 @@ export declare const PlusFormItem: {
983
997
  default: () => never[];
984
998
  };
985
999
  modelValue: {
986
- type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
1000
+ type: PropType<string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
987
1001
  default: string;
988
1002
  };
989
1003
  fieldSlots: {
@@ -996,6 +1010,10 @@ export declare const PlusFormItem: {
996
1010
  type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
997
1011
  default: undefined;
998
1012
  };
1013
+ ellipsis: {
1014
+ type: PropType<boolean>;
1015
+ default: boolean;
1016
+ };
999
1017
  hasLabel: {
1000
1018
  type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
1001
1019
  default: boolean;
@@ -1055,10 +1073,10 @@ export declare const PlusFormItem: {
1055
1073
  }> & Omit<{
1056
1074
  readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
1057
1075
  readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1058
- readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
1059
- readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
1060
1076
  readonly label?: string | undefined;
1061
1077
  readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
1078
+ readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
1079
+ readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
1062
1080
  readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
1063
1081
  readonly error?: string | undefined;
1064
1082
  readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
@@ -1277,7 +1295,7 @@ export declare const PlusFormItem: {
1277
1295
  };
1278
1296
  rows: number;
1279
1297
  autocomplete: string;
1280
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
1298
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
1281
1299
  loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1282
1300
  step: string | number;
1283
1301
  format: string | ProgressFn | undefined;
@@ -1288,11 +1306,12 @@ export declare const PlusFormItem: {
1288
1306
  autosize: InputAutoSize;
1289
1307
  } & 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< SelectProps, 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>>>>;
1290
1308
  options: OptionsType;
1291
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1309
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1292
1310
  fieldSlots: {
1293
1311
  [slotName: string]: (data?: any) => RenderTypes;
1294
1312
  };
1295
1313
  fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
1314
+ ellipsis: boolean;
1296
1315
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1297
1316
  clearable: boolean;
1298
1317
  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";
@@ -1322,12 +1341,12 @@ export declare const PlusFormItem: {
1322
1341
  fieldInstance?: any;
1323
1342
  valueIsReady?: Ref<boolean> | undefined;
1324
1343
  prop: string;
1325
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1344
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1326
1345
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1327
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1346
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
1328
1347
  style?: CSSProperties | undefined;
1329
1348
  class?: any;
1330
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1349
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1331
1350
  style?: CSSProperties | undefined;
1332
1351
  class?: any;
1333
1352
  } & RecordType>>;
@@ -1354,16 +1373,17 @@ export declare const PlusFormItem: {
1354
1373
  dictCode?: string | undefined;
1355
1374
  } | undefined;
1356
1375
  clearable: boolean;
1376
+ ellipsis: boolean;
1357
1377
  index: number;
1358
1378
  }) => any>> & Partial<Record<string, (_: {
1359
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1379
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1360
1380
  readonly label: string | ComputedRef<string>;
1361
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1381
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1362
1382
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1363
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1383
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1364
1384
  style?: CSSProperties | undefined;
1365
1385
  class?: any;
1366
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1386
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1367
1387
  style?: CSSProperties | undefined;
1368
1388
  class?: any;
1369
1389
  } & RecordType>>;
@@ -1385,7 +1405,7 @@ export declare const PlusFormItem: {
1385
1405
  };
1386
1406
  rows: number;
1387
1407
  autocomplete: string;
1388
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
1408
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
1389
1409
  loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1390
1410
  step: string | number;
1391
1411
  format: string | ProgressFn | undefined;
@@ -1419,8 +1439,10 @@ export declare const PlusFormItem: {
1419
1439
  dictCode?: string | undefined;
1420
1440
  } | undefined;
1421
1441
  readonly clearable: boolean;
1442
+ readonly ellipsis: boolean;
1422
1443
  readonly index: number;
1423
1444
  } & {
1445
+ readonly ellipsis: boolean;
1424
1446
  readonly clearable: boolean;
1425
1447
  };
1426
1448
  label: string;
@@ -1430,12 +1452,12 @@ export declare const PlusFormItem: {
1430
1452
  fieldInstance?: any;
1431
1453
  valueIsReady?: Ref<boolean> | undefined;
1432
1454
  prop: string;
1433
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1455
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1434
1456
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1435
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1457
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
1436
1458
  style?: CSSProperties | undefined;
1437
1459
  class?: any;
1438
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1460
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1439
1461
  style?: CSSProperties | undefined;
1440
1462
  class?: any;
1441
1463
  } & RecordType>>;
@@ -1462,6 +1484,7 @@ export declare const PlusFormItem: {
1462
1484
  dictCode?: string | undefined;
1463
1485
  } | undefined;
1464
1486
  clearable: boolean;
1487
+ ellipsis: boolean;
1465
1488
  index: number;
1466
1489
  }) => any>> & {
1467
1490
  "tooltip-icon"?(_: {}): any;
@@ -36,6 +36,10 @@ export interface PlusFormItemProps {
36
36
  * @version v0.1.18
37
37
  */
38
38
  clearable?: boolean;
39
+ /**
40
+ * 标签和占位符超出宽度时省略,悬停显示全文。默认关闭。
41
+ */
42
+ ellipsis?: boolean;
39
43
  }
40
44
  export interface PlusFormItemEmits {
41
45
  (e: 'update:modelValue', value: FieldValueType): void;
@@ -58,6 +62,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
58
62
  optionsMap: undefined;
59
63
  autoDict: undefined;
60
64
  clearable: boolean;
65
+ ellipsis: boolean;
61
66
  index: number;
62
67
  }>, {
63
68
  formItemInstance: Ref<({
@@ -71,10 +76,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
71
76
  }> & Omit<{
72
77
  readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
73
78
  readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
74
- readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
75
- readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
76
79
  readonly label?: string | undefined;
77
80
  readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
81
+ readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
82
+ readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
78
83
  readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
79
84
  readonly error?: string | undefined;
80
85
  readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
@@ -282,6 +287,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
282
287
  optionsMap: undefined;
283
288
  autoDict: undefined;
284
289
  clearable: boolean;
290
+ ellipsis: boolean;
285
291
  index: number;
286
292
  }>>> & {
287
293
  onChange?: ((value: FieldValueType) => any) | undefined;
@@ -316,9 +322,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
316
322
  */
317
323
  number?: boolean | undefined;
318
324
  };
319
- rows: number;
325
+ rows: number; /**
326
+ * 标签和占位符超出宽度时省略,悬停显示全文。默认关闭。
327
+ */
320
328
  autocomplete: string;
321
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
329
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
322
330
  loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
323
331
  step: string | number;
324
332
  format: string | ProgressFn | undefined;
@@ -329,11 +337,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
329
337
  autosize: InputAutoSize;
330
338
  } & 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< SelectProps, 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>>>>;
331
339
  options: OptionsType;
332
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
340
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
333
341
  fieldSlots: {
334
342
  [slotName: string]: (data?: any) => RenderTypes;
335
343
  };
336
344
  fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
345
+ ellipsis: boolean;
337
346
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
338
347
  clearable: boolean;
339
348
  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";
@@ -362,12 +371,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
362
371
  fieldInstance?: any;
363
372
  valueIsReady?: Ref<boolean> | undefined;
364
373
  prop: string;
365
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
374
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
366
375
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
367
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
376
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
368
377
  style?: CSSProperties | undefined;
369
378
  class?: any;
370
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
379
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
371
380
  style?: CSSProperties | undefined;
372
381
  class?: any;
373
382
  } & RecordType>>;
@@ -394,16 +403,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
394
403
  dictCode?: string | undefined;
395
404
  } | undefined;
396
405
  clearable: boolean;
406
+ ellipsis: boolean;
397
407
  index: number;
398
408
  }) => any>> & Partial<Record<string, (_: {
399
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
409
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
400
410
  readonly label: string | ComputedRef<string>;
401
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
411
+ readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
402
412
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
403
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
413
+ readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
404
414
  style?: CSSProperties | undefined;
405
415
  class?: any;
406
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
416
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
407
417
  style?: CSSProperties | undefined;
408
418
  class?: any;
409
419
  } & RecordType>>;
@@ -427,9 +437,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
427
437
  */
428
438
  number?: boolean | undefined;
429
439
  };
430
- rows: number;
440
+ rows: number; /**
441
+ * 标签和占位符超出宽度时省略,悬停显示全文。默认关闭。
442
+ */
431
443
  autocomplete: string;
432
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
444
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
433
445
  loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
434
446
  step: string | number;
435
447
  format: string | ProgressFn | undefined;
@@ -463,8 +475,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
463
475
  dictCode?: string | undefined;
464
476
  } | undefined;
465
477
  readonly clearable: boolean;
478
+ readonly ellipsis: boolean;
466
479
  readonly index: number;
467
480
  } & {
481
+ readonly ellipsis: boolean;
468
482
  readonly clearable: boolean;
469
483
  };
470
484
  label: string;
@@ -474,12 +488,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
474
488
  fieldInstance?: any;
475
489
  valueIsReady?: Ref<boolean> | undefined;
476
490
  prop: string;
477
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
491
+ modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
478
492
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
479
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
493
+ tooltip: string | Partial< Mutable<ElTooltipProps> & {
480
494
  style?: CSSProperties | undefined;
481
495
  class?: any;
482
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
496
+ } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
483
497
  style?: CSSProperties | undefined;
484
498
  class?: any;
485
499
  } & RecordType>>;
@@ -506,6 +520,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
506
520
  dictCode?: string | undefined;
507
521
  } | undefined;
508
522
  clearable: boolean;
523
+ ellipsis: boolean;
509
524
  index: number;
510
525
  }) => any>> & {
511
526
  "tooltip-icon"?(_: {}): any;
@@ -45,7 +45,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
45
45
  optionsMap: { default: void 0 },
46
46
  autoDict: { type: [Boolean, Function, Object], default: void 0 },
47
47
  index: { default: 0 },
48
- clearable: { type: Boolean, default: true }
48
+ clearable: { type: Boolean, default: true },
49
+ ellipsis: { type: Boolean, default: false }
49
50
  },
50
51
  emits: ["update:modelValue", "change"],
51
52
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -88,6 +89,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
88
89
  labelOverflow.value = el.scrollWidth > el.clientWidth + 1;
89
90
  };
90
91
  const showLabelTooltip = () => {
92
+ if (!props.ellipsis) return;
91
93
  syncLabelOverflow();
92
94
  if (labelTooltipTimer) clearTimeout(labelTooltipTimer);
93
95
  if (!labelOverflow.value || !labelTooltipContent.value) {
@@ -112,6 +114,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
112
114
  placeholderTooltipContent.value = "";
113
115
  };
114
116
  const handlePlaceholderHover = (event) => {
117
+ if (!props.ellipsis) return;
115
118
  const root = event.currentTarget;
116
119
  if (!(root instanceof HTMLElement)) return;
117
120
  const hit = findPlaceholderOverflow(root, event.target, {
@@ -310,7 +313,10 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
310
313
  ref: formItemInstance,
311
314
  label: _ctx.hasLabel ? labelValue.value : "",
312
315
  prop: _ctx.prop,
313
- class: ["plus-form-item", { "plus-form-item--no-label": !_ctx.hasLabel }]
316
+ class: ["plus-form-item", {
317
+ "plus-form-item--no-label": !_ctx.hasLabel,
318
+ "plus-form-item--ellipsis": _ctx.ellipsis
319
+ }]
314
320
  }, customFormItemProps.value, {
315
321
  "label-width": _ctx.hasLabel ? (_a = customFormItemProps.value) == null ? void 0 : _a.labelWidth : "0px"
316
322
  }), createSlots({
@@ -692,7 +698,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
692
698
  "onUpdate:visible": _cache[0] || (_cache[0] = ($event) => labelTooltipVisible.value = $event),
693
699
  content: labelTooltipContent.value,
694
700
  placement: "top",
695
- disabled: !labelOverflow.value || !labelTooltipContent.value
701
+ disabled: !_ctx.ellipsis || !labelOverflow.value || !labelTooltipContent.value
696
702
  }, {
697
703
  default: withCtx(() => [
698
704
  createElementVNode(