yc-pro-components 0.0.83 → 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 (91) hide show
  1. package/es/components/dialog-form/index.d.ts +4 -1
  2. package/es/components/dialog-form/src/index.vue.d.ts +4 -1
  3. package/es/components/display-item/index.d.ts +12 -3
  4. package/es/components/display-item/src/index.vue.d.ts +12 -3
  5. package/es/components/drawer-form/index.d.ts +4 -1
  6. package/es/components/drawer-form/src/index.vue.d.ts +4 -1
  7. package/es/components/form/index.d.ts +27 -2
  8. package/es/components/form/src/form-content.vue.d.ts +17 -2
  9. package/es/components/form/src/form-content.vue2.mjs +11 -2
  10. package/es/components/form/src/index.vue.d.ts +11 -2
  11. package/es/components/form/src/index.vue2.mjs +5 -2
  12. package/es/components/form/src/type.d.ts +5 -0
  13. package/es/components/form-item/index.d.ts +24 -1
  14. package/es/components/form-item/src/index.vue.d.ts +28 -5
  15. package/es/components/form-item/src/index.vue2.mjs +437 -303
  16. package/es/components/form-item/src/overflow-tooltip.d.ts +16 -0
  17. package/es/components/form-item/src/overflow-tooltip.mjs +67 -0
  18. package/es/components/page/index.d.ts +208 -25
  19. package/es/components/page/src/index.vue.d.ts +72 -9
  20. package/es/components/search/index.d.ts +95 -10
  21. package/es/components/search/src/index.vue.d.ts +31 -4
  22. package/es/components/search/src/index.vue2.mjs +3 -1
  23. package/es/components/search/src/type.d.ts +5 -0
  24. package/es/components/table/src/table-column.vue.d.ts +12 -3
  25. package/es/components/yc-plus-page/src/index.vue.d.ts +140 -17
  26. package/es/hooks/usePlusFormReset.d.ts +24 -6
  27. package/es/index.css +10 -10
  28. package/es/types/form.d.ts +5 -0
  29. package/es/version.d.ts +1 -1
  30. package/es/version.mjs +1 -1
  31. package/es/yc-components/version.d.ts +1 -1
  32. package/index.css +1 -1
  33. package/index.js +522 -309
  34. package/index.min.js +12 -12
  35. package/index.min.mjs +12 -12
  36. package/index.mjs +522 -309
  37. package/lib/components/dialog-form/index.d.ts +4 -1
  38. package/lib/components/dialog-form/src/index.vue.d.ts +4 -1
  39. package/lib/components/display-item/index.d.ts +12 -3
  40. package/lib/components/display-item/src/index.vue.d.ts +12 -3
  41. package/lib/components/drawer-form/index.d.ts +4 -1
  42. package/lib/components/drawer-form/src/index.vue.d.ts +4 -1
  43. package/lib/components/form/index.d.ts +27 -2
  44. package/lib/components/form/src/form-content.vue.d.ts +17 -2
  45. package/lib/components/form/src/form-content.vue2.js +11 -2
  46. package/lib/components/form/src/index.vue.d.ts +11 -2
  47. package/lib/components/form/src/index.vue2.js +5 -2
  48. package/lib/components/form/src/type.d.ts +5 -0
  49. package/lib/components/form-item/index.d.ts +24 -1
  50. package/lib/components/form-item/src/index.vue.d.ts +28 -5
  51. package/lib/components/form-item/src/index.vue2.js +436 -302
  52. package/lib/components/form-item/src/overflow-tooltip.d.ts +16 -0
  53. package/lib/components/form-item/src/overflow-tooltip.js +71 -0
  54. package/lib/components/page/index.d.ts +208 -25
  55. package/lib/components/page/src/index.vue.d.ts +72 -9
  56. package/lib/components/search/index.d.ts +95 -10
  57. package/lib/components/search/src/index.vue.d.ts +31 -4
  58. package/lib/components/search/src/index.vue2.js +3 -1
  59. package/lib/components/search/src/type.d.ts +5 -0
  60. package/lib/components/table/src/table-column.vue.d.ts +12 -3
  61. package/lib/components/yc-plus-page/src/index.vue.d.ts +140 -17
  62. package/lib/hooks/usePlusFormReset.d.ts +24 -6
  63. package/lib/index.css +9 -9
  64. package/lib/types/form.d.ts +5 -0
  65. package/lib/version.d.ts +1 -1
  66. package/lib/version.js +1 -1
  67. package/lib/yc-components/version.d.ts +1 -1
  68. package/locale/en.js +1 -1
  69. package/locale/en.min.js +1 -1
  70. package/locale/en.min.mjs +1 -1
  71. package/locale/en.mjs +1 -1
  72. package/locale/ja.js +1 -1
  73. package/locale/ja.min.js +1 -1
  74. package/locale/ja.min.mjs +1 -1
  75. package/locale/ja.mjs +1 -1
  76. package/locale/ko.js +1 -1
  77. package/locale/ko.min.js +1 -1
  78. package/locale/ko.min.mjs +1 -1
  79. package/locale/ko.mjs +1 -1
  80. package/locale/zh-cn.js +1 -1
  81. package/locale/zh-cn.min.js +1 -1
  82. package/locale/zh-cn.min.mjs +1 -1
  83. package/locale/zh-cn.mjs +1 -1
  84. package/locale/zh-tw.js +1 -1
  85. package/locale/zh-tw.min.js +1 -1
  86. package/locale/zh-tw.min.mjs +1 -1
  87. package/locale/zh-tw.mjs +1 -1
  88. package/package.json +1 -1
  89. package/theme-chalk/index.css +1 -1
  90. package/theme-chalk/plus-form-item.css +1 -1
  91. package/theme-chalk/src/form-item.scss +77 -0
@@ -34,6 +34,10 @@ export declare const PlusSearch: {
34
34
  type: PropType<number>;
35
35
  default: number;
36
36
  };
37
+ ellipsis: {
38
+ type: PropType<boolean>;
39
+ default: boolean;
40
+ };
37
41
  defaultValues: {
38
42
  type: PropType<FieldValues>;
39
43
  default: () => {};
@@ -129,6 +133,7 @@ export declare const PlusSearch: {
129
133
  labelPosition: "top" | "right" | "left";
130
134
  labelWidth: string | number;
131
135
  labelSuffix: string;
136
+ ellipsis: boolean;
132
137
  defaultValues: FieldValues;
133
138
  rowProps: Partial< Mutable<RowProps> & {
134
139
  style?: CSSProperties | undefined;
@@ -160,6 +165,7 @@ export declare const PlusSearch: {
160
165
  readonly labelPosition: "top" | "right" | "left";
161
166
  readonly labelWidth: string | number;
162
167
  readonly labelSuffix: string;
168
+ readonly ellipsis: boolean;
163
169
  readonly defaultValues: FieldValues;
164
170
  readonly rowProps: Partial< Mutable<RowProps> & {
165
171
  style?: CSSProperties | undefined;
@@ -233,6 +239,10 @@ export declare const PlusSearch: {
233
239
  type: PropType<string>;
234
240
  default: string;
235
241
  };
242
+ ellipsis: {
243
+ type: PropType<boolean>;
244
+ default: boolean;
245
+ };
236
246
  defaultValues: {
237
247
  type: PropType<FieldValues>;
238
248
  default: () => {};
@@ -305,7 +315,7 @@ export declare const PlusSearch: {
305
315
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
306
316
  onValidate?: ((...args: any[]) => any) | undefined;
307
317
  onSubmitError?: ((errors: unknown) => any) | undefined;
308
- }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
318
+ }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "ellipsis" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
309
319
  $attrs: {
310
320
  [x: string]: unknown;
311
321
  };
@@ -360,6 +370,10 @@ export declare const PlusSearch: {
360
370
  type: PropType<string>;
361
371
  default: string;
362
372
  };
373
+ ellipsis: {
374
+ type: PropType<boolean>;
375
+ default: boolean;
376
+ };
363
377
  defaultValues: {
364
378
  type: PropType<FieldValues>;
365
379
  default: () => {};
@@ -454,6 +468,7 @@ export declare const PlusSearch: {
454
468
  labelPosition: "top" | "right" | "left";
455
469
  labelWidth: string | number;
456
470
  labelSuffix: string;
471
+ ellipsis: boolean;
457
472
  defaultValues: FieldValues;
458
473
  rowProps: Partial< Mutable<RowProps> & {
459
474
  style?: CSSProperties | undefined;
@@ -538,6 +553,10 @@ export declare const PlusSearch: {
538
553
  type: PropType<string>;
539
554
  default: string;
540
555
  };
556
+ ellipsis: {
557
+ type: PropType<boolean>;
558
+ default: boolean;
559
+ };
541
560
  defaultValues: {
542
561
  type: PropType<FieldValues>;
543
562
  default: () => {};
@@ -627,7 +646,7 @@ export declare const PlusSearch: {
627
646
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
628
647
  columns?: PlusColumn[] | undefined;
629
648
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
630
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
649
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
631
650
  readonly label: string | ComputedRef<string>;
632
651
  readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
633
652
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -690,8 +709,10 @@ export declare const PlusSearch: {
690
709
  dictCode?: string | undefined;
691
710
  } | undefined;
692
711
  readonly clearable: boolean;
712
+ readonly ellipsis: boolean;
693
713
  readonly index: number;
694
714
  } & {
715
+ readonly ellipsis: boolean;
695
716
  readonly clearable: boolean;
696
717
  };
697
718
  label: string;
@@ -733,9 +754,10 @@ export declare const PlusSearch: {
733
754
  dictCode?: string | undefined;
734
755
  } | undefined;
735
756
  clearable: boolean;
757
+ ellipsis: boolean;
736
758
  index: number;
737
759
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
738
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
760
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
739
761
  readonly label: string | ComputedRef<string>;
740
762
  readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
741
763
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -798,8 +820,10 @@ export declare const PlusSearch: {
798
820
  dictCode?: string | undefined;
799
821
  } | undefined;
800
822
  readonly clearable: boolean;
823
+ readonly ellipsis: boolean;
801
824
  readonly index: number;
802
825
  } & {
826
+ readonly ellipsis: boolean;
803
827
  readonly clearable: boolean;
804
828
  };
805
829
  label: string;
@@ -841,6 +865,7 @@ export declare const PlusSearch: {
841
865
  dictCode?: string | undefined;
842
866
  } | undefined;
843
867
  clearable: boolean;
868
+ ellipsis: boolean;
844
869
  index: number;
845
870
  }) => any>> & {
846
871
  default?(_: {}): any;
@@ -890,6 +915,10 @@ export declare const PlusSearch: {
890
915
  type: PropType<number>;
891
916
  default: number;
892
917
  };
918
+ ellipsis: {
919
+ type: PropType<boolean>;
920
+ default: boolean;
921
+ };
893
922
  defaultValues: {
894
923
  type: PropType<FieldValues>;
895
924
  default: () => {};
@@ -977,6 +1006,7 @@ export declare const PlusSearch: {
977
1006
  labelPosition: "top" | "right" | "left";
978
1007
  inline: boolean;
979
1008
  showNumber: number;
1009
+ ellipsis: boolean;
980
1010
  defaultValues: FieldValues;
981
1011
  rowProps: Partial< Mutable<RowProps> & {
982
1012
  style?: CSSProperties | undefined;
@@ -1030,6 +1060,10 @@ export declare const PlusSearch: {
1030
1060
  type: PropType<number>;
1031
1061
  default: number;
1032
1062
  };
1063
+ ellipsis: {
1064
+ type: PropType<boolean>;
1065
+ default: boolean;
1066
+ };
1033
1067
  defaultValues: {
1034
1068
  type: PropType<FieldValues>;
1035
1069
  default: () => {};
@@ -1125,6 +1159,7 @@ export declare const PlusSearch: {
1125
1159
  labelPosition: "top" | "right" | "left";
1126
1160
  labelWidth: string | number;
1127
1161
  labelSuffix: string;
1162
+ ellipsis: boolean;
1128
1163
  defaultValues: FieldValues;
1129
1164
  rowProps: Partial< Mutable<RowProps> & {
1130
1165
  style?: CSSProperties | undefined;
@@ -1156,6 +1191,7 @@ export declare const PlusSearch: {
1156
1191
  readonly labelPosition: "top" | "right" | "left";
1157
1192
  readonly labelWidth: string | number;
1158
1193
  readonly labelSuffix: string;
1194
+ readonly ellipsis: boolean;
1159
1195
  readonly defaultValues: FieldValues;
1160
1196
  readonly rowProps: Partial< Mutable<RowProps> & {
1161
1197
  style?: CSSProperties | undefined;
@@ -1229,6 +1265,10 @@ export declare const PlusSearch: {
1229
1265
  type: PropType<string>;
1230
1266
  default: string;
1231
1267
  };
1268
+ ellipsis: {
1269
+ type: PropType<boolean>;
1270
+ default: boolean;
1271
+ };
1232
1272
  defaultValues: {
1233
1273
  type: PropType<FieldValues>;
1234
1274
  default: () => {};
@@ -1301,7 +1341,7 @@ export declare const PlusSearch: {
1301
1341
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1302
1342
  onValidate?: ((...args: any[]) => any) | undefined;
1303
1343
  onSubmitError?: ((errors: unknown) => any) | undefined;
1304
- }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
1344
+ }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "ellipsis" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
1305
1345
  $attrs: {
1306
1346
  [x: string]: unknown;
1307
1347
  };
@@ -1356,6 +1396,10 @@ export declare const PlusSearch: {
1356
1396
  type: PropType<string>;
1357
1397
  default: string;
1358
1398
  };
1399
+ ellipsis: {
1400
+ type: PropType<boolean>;
1401
+ default: boolean;
1402
+ };
1359
1403
  defaultValues: {
1360
1404
  type: PropType<FieldValues>;
1361
1405
  default: () => {};
@@ -1450,6 +1494,7 @@ export declare const PlusSearch: {
1450
1494
  labelPosition: "top" | "right" | "left";
1451
1495
  labelWidth: string | number;
1452
1496
  labelSuffix: string;
1497
+ ellipsis: boolean;
1453
1498
  defaultValues: FieldValues;
1454
1499
  rowProps: Partial< Mutable<RowProps> & {
1455
1500
  style?: CSSProperties | undefined;
@@ -1534,6 +1579,10 @@ export declare const PlusSearch: {
1534
1579
  type: PropType<string>;
1535
1580
  default: string;
1536
1581
  };
1582
+ ellipsis: {
1583
+ type: PropType<boolean>;
1584
+ default: boolean;
1585
+ };
1537
1586
  defaultValues: {
1538
1587
  type: PropType<FieldValues>;
1539
1588
  default: () => {};
@@ -1623,7 +1672,7 @@ export declare const PlusSearch: {
1623
1672
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
1624
1673
  columns?: PlusColumn[] | undefined;
1625
1674
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1626
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1675
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1627
1676
  readonly label: string | ComputedRef<string>;
1628
1677
  readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1629
1678
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -1686,8 +1735,10 @@ export declare const PlusSearch: {
1686
1735
  dictCode?: string | undefined;
1687
1736
  } | undefined;
1688
1737
  readonly clearable: boolean;
1738
+ readonly ellipsis: boolean;
1689
1739
  readonly index: number;
1690
1740
  } & {
1741
+ readonly ellipsis: boolean;
1691
1742
  readonly clearable: boolean;
1692
1743
  };
1693
1744
  label: string;
@@ -1729,9 +1780,10 @@ export declare const PlusSearch: {
1729
1780
  dictCode?: string | undefined;
1730
1781
  } | undefined;
1731
1782
  clearable: boolean;
1783
+ ellipsis: boolean;
1732
1784
  index: number;
1733
1785
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1734
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1786
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1735
1787
  readonly label: string | ComputedRef<string>;
1736
1788
  readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1737
1789
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -1794,8 +1846,10 @@ export declare const PlusSearch: {
1794
1846
  dictCode?: string | undefined;
1795
1847
  } | undefined;
1796
1848
  readonly clearable: boolean;
1849
+ readonly ellipsis: boolean;
1797
1850
  readonly index: number;
1798
1851
  } & {
1852
+ readonly ellipsis: boolean;
1799
1853
  readonly clearable: boolean;
1800
1854
  };
1801
1855
  label: string;
@@ -1837,6 +1891,7 @@ export declare const PlusSearch: {
1837
1891
  dictCode?: string | undefined;
1838
1892
  } | undefined;
1839
1893
  clearable: boolean;
1894
+ ellipsis: boolean;
1840
1895
  index: number;
1841
1896
  }) => any>> & {
1842
1897
  default?(_: {}): any;
@@ -1862,6 +1917,7 @@ export declare const PlusSearch: {
1862
1917
  labelPosition: "top" | "right" | "left";
1863
1918
  inline: boolean;
1864
1919
  showNumber: number;
1920
+ ellipsis: boolean;
1865
1921
  defaultValues: FieldValues;
1866
1922
  rowProps: Partial< Mutable<RowProps> & {
1867
1923
  style?: CSSProperties | undefined;
@@ -1912,6 +1968,10 @@ export declare const PlusSearch: {
1912
1968
  type: PropType<number>;
1913
1969
  default: number;
1914
1970
  };
1971
+ ellipsis: {
1972
+ type: PropType<boolean>;
1973
+ default: boolean;
1974
+ };
1915
1975
  defaultValues: {
1916
1976
  type: PropType<FieldValues>;
1917
1977
  default: () => {};
@@ -2007,6 +2067,7 @@ export declare const PlusSearch: {
2007
2067
  labelPosition: "top" | "right" | "left";
2008
2068
  labelWidth: string | number;
2009
2069
  labelSuffix: string;
2070
+ ellipsis: boolean;
2010
2071
  defaultValues: FieldValues;
2011
2072
  rowProps: Partial< Mutable<RowProps> & {
2012
2073
  style?: CSSProperties | undefined;
@@ -2038,6 +2099,7 @@ export declare const PlusSearch: {
2038
2099
  readonly labelPosition: "top" | "right" | "left";
2039
2100
  readonly labelWidth: string | number;
2040
2101
  readonly labelSuffix: string;
2102
+ readonly ellipsis: boolean;
2041
2103
  readonly defaultValues: FieldValues;
2042
2104
  readonly rowProps: Partial< Mutable<RowProps> & {
2043
2105
  style?: CSSProperties | undefined;
@@ -2111,6 +2173,10 @@ export declare const PlusSearch: {
2111
2173
  type: PropType<string>;
2112
2174
  default: string;
2113
2175
  };
2176
+ ellipsis: {
2177
+ type: PropType<boolean>;
2178
+ default: boolean;
2179
+ };
2114
2180
  defaultValues: {
2115
2181
  type: PropType<FieldValues>;
2116
2182
  default: () => {};
@@ -2183,7 +2249,7 @@ export declare const PlusSearch: {
2183
2249
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
2184
2250
  onValidate?: ((...args: any[]) => any) | undefined;
2185
2251
  onSubmitError?: ((errors: unknown) => any) | undefined;
2186
- }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
2252
+ }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "ellipsis" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
2187
2253
  $attrs: {
2188
2254
  [x: string]: unknown;
2189
2255
  };
@@ -2238,6 +2304,10 @@ export declare const PlusSearch: {
2238
2304
  type: PropType<string>;
2239
2305
  default: string;
2240
2306
  };
2307
+ ellipsis: {
2308
+ type: PropType<boolean>;
2309
+ default: boolean;
2310
+ };
2241
2311
  defaultValues: {
2242
2312
  type: PropType<FieldValues>;
2243
2313
  default: () => {};
@@ -2332,6 +2402,7 @@ export declare const PlusSearch: {
2332
2402
  labelPosition: "top" | "right" | "left";
2333
2403
  labelWidth: string | number;
2334
2404
  labelSuffix: string;
2405
+ ellipsis: boolean;
2335
2406
  defaultValues: FieldValues;
2336
2407
  rowProps: Partial< Mutable<RowProps> & {
2337
2408
  style?: CSSProperties | undefined;
@@ -2416,6 +2487,10 @@ export declare const PlusSearch: {
2416
2487
  type: PropType<string>;
2417
2488
  default: string;
2418
2489
  };
2490
+ ellipsis: {
2491
+ type: PropType<boolean>;
2492
+ default: boolean;
2493
+ };
2419
2494
  defaultValues: {
2420
2495
  type: PropType<FieldValues>;
2421
2496
  default: () => {};
@@ -2505,7 +2580,7 @@ export declare const PlusSearch: {
2505
2580
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
2506
2581
  columns?: PlusColumn[] | undefined;
2507
2582
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
2508
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2583
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2509
2584
  readonly label: string | ComputedRef<string>;
2510
2585
  readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2511
2586
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -2568,8 +2643,10 @@ export declare const PlusSearch: {
2568
2643
  dictCode?: string | undefined;
2569
2644
  } | undefined;
2570
2645
  readonly clearable: boolean;
2646
+ readonly ellipsis: boolean;
2571
2647
  readonly index: number;
2572
2648
  } & {
2649
+ readonly ellipsis: boolean;
2573
2650
  readonly clearable: boolean;
2574
2651
  };
2575
2652
  label: string;
@@ -2611,9 +2688,10 @@ export declare const PlusSearch: {
2611
2688
  dictCode?: string | undefined;
2612
2689
  } | undefined;
2613
2690
  clearable: boolean;
2691
+ ellipsis: boolean;
2614
2692
  index: number;
2615
2693
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
2616
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2694
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2617
2695
  readonly label: string | ComputedRef<string>;
2618
2696
  readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2619
2697
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -2676,8 +2754,10 @@ export declare const PlusSearch: {
2676
2754
  dictCode?: string | undefined;
2677
2755
  } | undefined;
2678
2756
  readonly clearable: boolean;
2757
+ readonly ellipsis: boolean;
2679
2758
  readonly index: number;
2680
2759
  } & {
2760
+ readonly ellipsis: boolean;
2681
2761
  readonly clearable: boolean;
2682
2762
  };
2683
2763
  label: string;
@@ -2719,6 +2799,7 @@ export declare const PlusSearch: {
2719
2799
  dictCode?: string | undefined;
2720
2800
  } | undefined;
2721
2801
  clearable: boolean;
2802
+ ellipsis: boolean;
2722
2803
  index: number;
2723
2804
  }) => any>> & {
2724
2805
  default?(_: {}): any;
@@ -2750,6 +2831,7 @@ export declare const PlusSearch: {
2750
2831
  labelPosition: "top" | "right" | "left";
2751
2832
  inline: boolean;
2752
2833
  showNumber: number;
2834
+ ellipsis: boolean;
2753
2835
  defaultValues: FieldValues;
2754
2836
  rowProps: Partial< Mutable<RowProps> & {
2755
2837
  style?: CSSProperties | undefined;
@@ -2773,7 +2855,7 @@ export declare const PlusSearch: {
2773
2855
  resetIcon: Component | null;
2774
2856
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
2775
2857
  $slots: Partial<Record<NonNullable<string | number>, (_: {
2776
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2858
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2777
2859
  readonly label: string | ComputedRef<string>;
2778
2860
  readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2779
2861
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -2836,8 +2918,10 @@ export declare const PlusSearch: {
2836
2918
  dictCode?: string | undefined;
2837
2919
  } | undefined;
2838
2920
  readonly clearable: boolean;
2921
+ readonly ellipsis: boolean;
2839
2922
  readonly index: number;
2840
2923
  } & {
2924
+ readonly ellipsis: boolean;
2841
2925
  readonly clearable: boolean;
2842
2926
  };
2843
2927
  label: string;
@@ -2879,6 +2963,7 @@ export declare const PlusSearch: {
2879
2963
  dictCode?: string | undefined;
2880
2964
  } | undefined;
2881
2965
  clearable: boolean;
2966
+ ellipsis: boolean;
2882
2967
  index: number;
2883
2968
  }) => any>> & {
2884
2969
  footer?(_: {
@@ -21,6 +21,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
21
21
  retractText: string;
22
22
  expandText: string;
23
23
  inline: boolean;
24
+ ellipsis: boolean;
24
25
  showNumber: number;
25
26
  labelPosition: undefined;
26
27
  columns: () => never[];
@@ -52,6 +53,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
52
53
  labelPosition: "top" | "right" | "left";
53
54
  labelWidth: string | number;
54
55
  labelSuffix: string;
56
+ ellipsis: boolean;
55
57
  defaultValues: FieldValues;
56
58
  rowProps: Partial< Mutable<RowProps> & {
57
59
  style?: CSSProperties | undefined;
@@ -83,6 +85,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
83
85
  readonly labelPosition: "top" | "right" | "left";
84
86
  readonly labelWidth: string | number;
85
87
  readonly labelSuffix: string;
88
+ readonly ellipsis: boolean;
86
89
  readonly defaultValues: FieldValues;
87
90
  readonly rowProps: Partial< Mutable<RowProps> & {
88
91
  style?: CSSProperties | undefined;
@@ -156,6 +159,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
156
159
  type: PropType<string>;
157
160
  default: string;
158
161
  };
162
+ ellipsis: {
163
+ type: PropType<boolean>;
164
+ default: boolean;
165
+ };
159
166
  defaultValues: {
160
167
  type: PropType<FieldValues>;
161
168
  default: () => {};
@@ -228,7 +235,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
228
235
  "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
229
236
  onValidate?: ((...args: any[]) => any) | undefined;
230
237
  onSubmitError?: ((errors: unknown) => any) | undefined;
231
- }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
238
+ }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "ellipsis" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
232
239
  $attrs: {
233
240
  [x: string]: unknown;
234
241
  };
@@ -283,6 +290,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
283
290
  type: PropType<string>;
284
291
  default: string;
285
292
  };
293
+ ellipsis: {
294
+ type: PropType<boolean>;
295
+ default: boolean;
296
+ };
286
297
  defaultValues: {
287
298
  type: PropType<FieldValues>;
288
299
  default: () => {};
@@ -377,6 +388,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
377
388
  labelPosition: "top" | "right" | "left";
378
389
  labelWidth: string | number;
379
390
  labelSuffix: string;
391
+ ellipsis: boolean;
380
392
  defaultValues: FieldValues;
381
393
  rowProps: Partial< Mutable<RowProps> & {
382
394
  style?: CSSProperties | undefined;
@@ -461,6 +473,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
461
473
  type: PropType<string>;
462
474
  default: string;
463
475
  };
476
+ ellipsis: {
477
+ type: PropType<boolean>;
478
+ default: boolean;
479
+ };
464
480
  defaultValues: {
465
481
  type: PropType<FieldValues>;
466
482
  default: () => {};
@@ -550,7 +566,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
550
566
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
551
567
  columns?: PlusColumn[] | undefined;
552
568
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
553
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
569
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
554
570
  readonly label: string | ComputedRef<string>;
555
571
  readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
556
572
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -613,8 +629,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
613
629
  dictCode?: string | undefined;
614
630
  } | undefined;
615
631
  readonly clearable: boolean;
632
+ readonly ellipsis: boolean;
616
633
  readonly index: number;
617
634
  } & {
635
+ readonly ellipsis: boolean;
618
636
  readonly clearable: boolean;
619
637
  };
620
638
  label: string;
@@ -656,9 +674,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
656
674
  dictCode?: string | undefined;
657
675
  } | undefined;
658
676
  clearable: boolean;
677
+ ellipsis: boolean;
659
678
  index: number;
660
679
  }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
661
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
680
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
662
681
  readonly label: string | ComputedRef<string>;
663
682
  readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
664
683
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -721,8 +740,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
721
740
  dictCode?: string | undefined;
722
741
  } | undefined;
723
742
  readonly clearable: boolean;
743
+ readonly ellipsis: boolean;
724
744
  readonly index: number;
725
745
  } & {
746
+ readonly ellipsis: boolean;
726
747
  readonly clearable: boolean;
727
748
  };
728
749
  label: string;
@@ -764,6 +785,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
764
785
  dictCode?: string | undefined;
765
786
  } | undefined;
766
787
  clearable: boolean;
788
+ ellipsis: boolean;
767
789
  index: number;
768
790
  }) => any>> & {
769
791
  default?(_: {}): any;
@@ -802,6 +824,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
802
824
  retractText: string;
803
825
  expandText: string;
804
826
  inline: boolean;
827
+ ellipsis: boolean;
805
828
  showNumber: number;
806
829
  labelPosition: undefined;
807
830
  columns: () => never[];
@@ -831,6 +854,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
831
854
  labelPosition: "top" | "right" | "left";
832
855
  inline: boolean;
833
856
  showNumber: number;
857
+ ellipsis: boolean;
834
858
  defaultValues: FieldValues;
835
859
  rowProps: Partial< Mutable<RowProps> & {
836
860
  style?: CSSProperties | undefined;
@@ -853,7 +877,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
853
877
  searchIcon: Component | null;
854
878
  resetIcon: Component | null;
855
879
  }, {}>, Partial<Record<NonNullable<string | number>, (_: {
856
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
880
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
857
881
  readonly label: string | ComputedRef<string>;
858
882
  readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
859
883
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
@@ -916,8 +940,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
916
940
  dictCode?: string | undefined;
917
941
  } | undefined;
918
942
  readonly clearable: boolean;
943
+ readonly ellipsis: boolean;
919
944
  readonly index: number;
920
945
  } & {
946
+ readonly ellipsis: boolean;
921
947
  readonly clearable: boolean;
922
948
  };
923
949
  label: string;
@@ -959,6 +985,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
959
985
  dictCode?: string | undefined;
960
986
  } | undefined;
961
987
  clearable: boolean;
988
+ ellipsis: boolean;
962
989
  index: number;
963
990
  }) => any>> & {
964
991
  footer?(_: {
@@ -34,6 +34,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
34
34
  inline: { type: Boolean, default: true },
35
35
  showNumber: { default: 2 },
36
36
  labelPosition: { default: void 0 },
37
+ ellipsis: { type: Boolean, default: false },
37
38
  rowProps: { default: () => ({
38
39
  gutter: 20
39
40
  }) },
@@ -138,6 +139,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
138
139
  "col-props": _ctx.colProps,
139
140
  columns: subColumns.value,
140
141
  layout: _ctx.layout,
142
+ ellipsis: _ctx.ellipsis,
141
143
  class: "plus-search",
142
144
  "has-footer": false,
143
145
  onChange: handleChange
@@ -229,7 +231,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
229
231
  ])
230
232
  };
231
233
  })
232
- ]), 1040, ["modelValue", "inline", "rules", "label-position", "row-props", "col-props", "columns", "layout"]);
234
+ ]), 1040, ["modelValue", "inline", "rules", "label-position", "row-props", "col-props", "columns", "layout", "ellipsis"]);
233
235
  };
234
236
  }
235
237
  });
@@ -30,6 +30,11 @@ export type PlusSearchSelfProps = {
30
30
  inline?: boolean;
31
31
  showNumber?: number;
32
32
  labelPosition?: 'left' | 'right' | 'top';
33
+ /**
34
+ * 标签和占位符超出宽度时省略,悬停显示全文。默认关闭,标签换行显示。
35
+ * 单个字段的 ellipsis 优先级更高。
36
+ */
37
+ ellipsis?: boolean;
33
38
  rowProps?: PlusRowProps;
34
39
  colProps?: PlusColProps;
35
40
  /**