yc-pro-components 0.0.17 → 0.0.19

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 (175) hide show
  1. package/es/components/check-card/index.d.ts +23 -23
  2. package/es/components/check-card/src/index.vue.d.ts +2 -2
  3. package/es/components/check-card-group/index.d.ts +24 -24
  4. package/es/components/check-card-group/src/index.vue.d.ts +2 -2
  5. package/es/components/date-picker/index.d.ts +10 -10
  6. package/es/components/date-picker/src/index.vue.d.ts +2 -2
  7. package/es/components/dialog/index.d.ts +26 -26
  8. package/es/components/dialog/src/index.vue.d.ts +2 -2
  9. package/es/components/dialog/src/index.vue2.mjs +6 -3
  10. package/es/components/dialog-form/index.d.ts +1154 -0
  11. package/es/components/dialog-form/src/index.vue.d.ts +493 -0
  12. package/es/components/dialog-form/src/index.vue2.mjs +7 -4
  13. package/es/components/display-item/index.d.ts +12 -12
  14. package/es/components/display-item/src/index.vue.d.ts +12 -12
  15. package/es/components/display-item/src/index.vue2.mjs +18 -5
  16. package/es/components/drawer-form/index.d.ts +3467 -0
  17. package/es/components/drawer-form/src/index.vue.d.ts +1254 -0
  18. package/es/components/drawer-form/src/index.vue2.mjs +7 -4
  19. package/es/components/form/index.d.ts +1665 -1
  20. package/es/components/form/src/form-content.vue.d.ts +14 -12
  21. package/es/components/form/src/index.vue.d.ts +652 -0
  22. package/es/components/form/src/index.vue2.mjs +7 -4
  23. package/es/components/form-item/index.d.ts +36 -36
  24. package/es/components/form-item/src/index.vue.d.ts +8 -8
  25. package/es/components/header/index.d.ts +7 -7
  26. package/es/components/header/src/index.vue.d.ts +1 -1
  27. package/es/components/input-tag/index.d.ts +15 -15
  28. package/es/components/input-tag/src/index.vue.d.ts +7 -7
  29. package/es/components/layout/index.d.ts +30 -30
  30. package/es/components/layout/src/index.vue.d.ts +10 -10
  31. package/es/components/page/index.d.ts +15450 -0
  32. package/es/components/page/src/index.vue.d.ts +5301 -0
  33. package/es/components/page/src/index.vue2.mjs +4 -2
  34. package/es/components/pagination/index.d.ts +42 -42
  35. package/es/components/pagination/src/index.vue.d.ts +3 -3
  36. package/es/components/popover/src/index.vue2.mjs +6 -3
  37. package/es/components/radio/index.d.ts +10 -10
  38. package/es/components/radio/src/index.vue.d.ts +2 -2
  39. package/es/components/render/index.d.ts +6 -6
  40. package/es/components/render/src/index.vue.d.ts +2 -2
  41. package/es/components/search/index.d.ts +4514 -0
  42. package/es/components/search/src/index.vue.d.ts +1539 -0
  43. package/es/components/sidebar/index.d.ts +15 -15
  44. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  45. package/es/components/steps-form/index.d.ts +23 -23
  46. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  47. package/es/components/table/index.d.ts +19 -0
  48. package/es/components/table/src/index.vue.d.ts +3 -0
  49. package/es/components/table/src/index.vue2.mjs +4 -2
  50. package/es/components/table/src/table-column.vue.d.ts +12 -12
  51. package/es/components/table/src/type.d.ts +9 -0
  52. package/es/components/utils/index.d.ts +2 -2
  53. package/es/components/yc-count-to/index.d.ts +1 -1
  54. package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
  55. package/es/components/yc-download-dialog/index.d.ts +19 -19
  56. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  57. package/es/components/yc-form-container-header/index.d.ts +12 -12
  58. package/es/components/yc-more-actions/index.d.ts +6 -6
  59. package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
  60. package/es/components/yc-plus-page/src/index.vue.d.ts +12864 -0
  61. package/es/components/yc-segmented/index.d.ts +2 -2
  62. package/es/components/yc-segmented/src/index.d.ts +2 -2
  63. package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
  64. package/es/components/yc-status-dialog/src/index.vue.mjs +1 -1
  65. package/es/components/yc-status-dialog/src/index.vue2.mjs +6 -3
  66. package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  67. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  68. package/es/constants/form.d.ts +5 -0
  69. package/es/constants/form.mjs +2 -1
  70. package/es/constants/index.mjs +1 -1
  71. package/es/hooks/usePlusFormReset.d.ts +9833 -5
  72. package/es/index.css +1 -1
  73. package/es/index.mjs +1 -1
  74. package/es/types/plus.d.ts +29 -0
  75. package/index.css +7 -7
  76. package/index.js +66 -29
  77. package/index.min.css +1 -1
  78. package/index.min.js +7 -7
  79. package/index.min.mjs +7 -7
  80. package/index.mjs +66 -30
  81. package/lib/components/check-card/index.d.ts +23 -23
  82. package/lib/components/check-card/src/index.vue.d.ts +2 -2
  83. package/lib/components/check-card-group/index.d.ts +24 -24
  84. package/lib/components/check-card-group/src/index.vue.d.ts +2 -2
  85. package/lib/components/date-picker/index.d.ts +10 -10
  86. package/lib/components/date-picker/src/index.vue.d.ts +2 -2
  87. package/lib/components/dialog/index.d.ts +26 -26
  88. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  89. package/lib/components/dialog/src/index.vue2.js +6 -3
  90. package/lib/components/dialog-form/index.d.ts +1154 -0
  91. package/lib/components/dialog-form/src/index.vue.d.ts +493 -0
  92. package/lib/components/dialog-form/src/index.vue2.js +7 -4
  93. package/lib/components/display-item/index.d.ts +12 -12
  94. package/lib/components/display-item/src/index.vue.d.ts +12 -12
  95. package/lib/components/display-item/src/index.vue2.js +16 -3
  96. package/lib/components/drawer-form/index.d.ts +3467 -0
  97. package/lib/components/drawer-form/src/index.vue.d.ts +1254 -0
  98. package/lib/components/drawer-form/src/index.vue2.js +7 -4
  99. package/lib/components/form/index.d.ts +1665 -1
  100. package/lib/components/form/src/form-content.vue.d.ts +14 -12
  101. package/lib/components/form/src/index.vue.d.ts +652 -0
  102. package/lib/components/form/src/index.vue2.js +7 -4
  103. package/lib/components/form-item/index.d.ts +36 -36
  104. package/lib/components/form-item/src/index.vue.d.ts +8 -8
  105. package/lib/components/header/index.d.ts +7 -7
  106. package/lib/components/header/src/index.vue.d.ts +1 -1
  107. package/lib/components/input-tag/index.d.ts +15 -15
  108. package/lib/components/input-tag/src/index.vue.d.ts +7 -7
  109. package/lib/components/layout/index.d.ts +30 -30
  110. package/lib/components/layout/src/index.vue.d.ts +10 -10
  111. package/lib/components/page/index.d.ts +15450 -0
  112. package/lib/components/page/src/index.vue.d.ts +5301 -0
  113. package/lib/components/page/src/index.vue2.js +4 -2
  114. package/lib/components/pagination/index.d.ts +42 -42
  115. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  116. package/lib/components/popover/src/index.vue2.js +6 -3
  117. package/lib/components/radio/index.d.ts +10 -10
  118. package/lib/components/radio/src/index.vue.d.ts +2 -2
  119. package/lib/components/render/index.d.ts +6 -6
  120. package/lib/components/render/src/index.vue.d.ts +2 -2
  121. package/lib/components/search/index.d.ts +4514 -0
  122. package/lib/components/search/src/index.vue.d.ts +1539 -0
  123. package/lib/components/sidebar/index.d.ts +15 -15
  124. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  125. package/lib/components/steps-form/index.d.ts +23 -23
  126. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  127. package/lib/components/table/index.d.ts +19 -0
  128. package/lib/components/table/src/index.vue.d.ts +3 -0
  129. package/lib/components/table/src/index.vue2.js +3 -1
  130. package/lib/components/table/src/table-column.vue.d.ts +12 -12
  131. package/lib/components/table/src/type.d.ts +9 -0
  132. package/lib/components/utils/index.d.ts +2 -2
  133. package/lib/components/yc-count-to/index.d.ts +1 -1
  134. package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
  135. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  136. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  137. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  138. package/lib/components/yc-more-actions/index.d.ts +6 -6
  139. package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
  140. package/lib/components/yc-plus-page/src/index.vue.d.ts +12864 -0
  141. package/lib/components/yc-segmented/index.d.ts +2 -2
  142. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  143. package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
  144. package/lib/components/yc-status-dialog/src/index.vue.js +1 -1
  145. package/lib/components/yc-status-dialog/src/index.vue2.js +6 -3
  146. package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  147. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  148. package/lib/constants/form.d.ts +5 -0
  149. package/lib/constants/form.js +2 -0
  150. package/lib/constants/index.js +1 -0
  151. package/lib/hooks/usePlusFormReset.d.ts +9833 -5
  152. package/lib/index.css +1 -1
  153. package/lib/index.js +1 -0
  154. package/lib/types/plus.d.ts +29 -0
  155. package/locale/en.js +1 -1
  156. package/locale/en.min.js +1 -1
  157. package/locale/en.min.mjs +1 -1
  158. package/locale/en.mjs +1 -1
  159. package/locale/ja.js +1 -1
  160. package/locale/ja.min.js +1 -1
  161. package/locale/ja.min.mjs +1 -1
  162. package/locale/ja.mjs +1 -1
  163. package/locale/ko.js +1 -1
  164. package/locale/ko.min.js +1 -1
  165. package/locale/ko.min.mjs +1 -1
  166. package/locale/ko.mjs +1 -1
  167. package/locale/zh-cn.js +1 -1
  168. package/locale/zh-cn.min.js +1 -1
  169. package/locale/zh-cn.min.mjs +1 -1
  170. package/locale/zh-cn.mjs +1 -1
  171. package/locale/zh-tw.js +1 -1
  172. package/locale/zh-tw.min.js +1 -1
  173. package/locale/zh-tw.min.mjs +1 -1
  174. package/locale/zh-tw.mjs +1 -1
  175. package/package.json +3 -3
@@ -60,7 +60,7 @@ export declare const PlusSidebar: {
60
60
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
61
61
  readonly uniqueOpened: BooleanConstructor;
62
62
  readonly router: BooleanConstructor;
63
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
63
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
64
64
  readonly collapse: BooleanConstructor;
65
65
  readonly backgroundColor: StringConstructor;
66
66
  readonly textColor: StringConstructor;
@@ -90,7 +90,7 @@ export declare const PlusSidebar: {
90
90
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
91
91
  readonly uniqueOpened: BooleanConstructor;
92
92
  readonly router: BooleanConstructor;
93
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
93
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
94
94
  readonly collapse: BooleanConstructor;
95
95
  readonly backgroundColor: StringConstructor;
96
96
  readonly textColor: StringConstructor;
@@ -116,7 +116,7 @@ export declare const PlusSidebar: {
116
116
  readonly hideTimeout: number;
117
117
  readonly defaultActive: string;
118
118
  readonly defaultOpeneds: string[];
119
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
119
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
120
120
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
121
121
  readonly popperOffset: number;
122
122
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
@@ -137,7 +137,7 @@ export declare const PlusSidebar: {
137
137
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
138
138
  readonly uniqueOpened: BooleanConstructor;
139
139
  readonly router: BooleanConstructor;
140
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
140
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
141
141
  readonly collapse: BooleanConstructor;
142
142
  readonly backgroundColor: StringConstructor;
143
143
  readonly textColor: StringConstructor;
@@ -165,7 +165,7 @@ export declare const PlusSidebar: {
165
165
  readonly hideTimeout: number;
166
166
  readonly defaultActive: string;
167
167
  readonly defaultOpeneds: string[];
168
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
168
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
169
169
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
170
170
  readonly popperOffset: number;
171
171
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
@@ -292,7 +292,7 @@ export declare const PlusSidebar: {
292
292
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
293
293
  readonly uniqueOpened: BooleanConstructor;
294
294
  readonly router: BooleanConstructor;
295
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
295
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
296
296
  readonly collapse: BooleanConstructor;
297
297
  readonly backgroundColor: StringConstructor;
298
298
  readonly textColor: StringConstructor;
@@ -322,7 +322,7 @@ export declare const PlusSidebar: {
322
322
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
323
323
  readonly uniqueOpened: BooleanConstructor;
324
324
  readonly router: BooleanConstructor;
325
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
325
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
326
326
  readonly collapse: BooleanConstructor;
327
327
  readonly backgroundColor: StringConstructor;
328
328
  readonly textColor: StringConstructor;
@@ -348,7 +348,7 @@ export declare const PlusSidebar: {
348
348
  readonly hideTimeout: number;
349
349
  readonly defaultActive: string;
350
350
  readonly defaultOpeneds: string[];
351
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
351
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
352
352
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
353
353
  readonly popperOffset: number;
354
354
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
@@ -369,7 +369,7 @@ export declare const PlusSidebar: {
369
369
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
370
370
  readonly uniqueOpened: BooleanConstructor;
371
371
  readonly router: BooleanConstructor;
372
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
372
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
373
373
  readonly collapse: BooleanConstructor;
374
374
  readonly backgroundColor: StringConstructor;
375
375
  readonly textColor: StringConstructor;
@@ -397,7 +397,7 @@ export declare const PlusSidebar: {
397
397
  readonly hideTimeout: number;
398
398
  readonly defaultActive: string;
399
399
  readonly defaultOpeneds: string[];
400
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
400
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
401
401
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
402
402
  readonly popperOffset: number;
403
403
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
@@ -475,7 +475,7 @@ export declare const PlusSidebar: {
475
475
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
476
476
  readonly uniqueOpened: BooleanConstructor;
477
477
  readonly router: BooleanConstructor;
478
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
478
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
479
479
  readonly collapse: BooleanConstructor;
480
480
  readonly backgroundColor: StringConstructor;
481
481
  readonly textColor: StringConstructor;
@@ -505,7 +505,7 @@ export declare const PlusSidebar: {
505
505
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
506
506
  readonly uniqueOpened: BooleanConstructor;
507
507
  readonly router: BooleanConstructor;
508
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
508
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
509
509
  readonly collapse: BooleanConstructor;
510
510
  readonly backgroundColor: StringConstructor;
511
511
  readonly textColor: StringConstructor;
@@ -531,7 +531,7 @@ export declare const PlusSidebar: {
531
531
  readonly hideTimeout: number;
532
532
  readonly defaultActive: string;
533
533
  readonly defaultOpeneds: string[];
534
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
534
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
535
535
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
536
536
  readonly popperOffset: number;
537
537
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
@@ -552,7 +552,7 @@ export declare const PlusSidebar: {
552
552
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
553
553
  readonly uniqueOpened: BooleanConstructor;
554
554
  readonly router: BooleanConstructor;
555
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
555
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
556
556
  readonly collapse: BooleanConstructor;
557
557
  readonly backgroundColor: StringConstructor;
558
558
  readonly textColor: StringConstructor;
@@ -580,7 +580,7 @@ export declare const PlusSidebar: {
580
580
  readonly hideTimeout: number;
581
581
  readonly defaultActive: string;
582
582
  readonly defaultOpeneds: string[];
583
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
583
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
584
584
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
585
585
  readonly popperOffset: number;
586
586
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
28
28
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
29
29
  readonly uniqueOpened: BooleanConstructor;
30
30
  readonly router: BooleanConstructor;
31
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
31
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
32
32
  readonly collapse: BooleanConstructor;
33
33
  readonly backgroundColor: StringConstructor;
34
34
  readonly textColor: StringConstructor;
@@ -58,7 +58,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
58
58
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
59
59
  readonly uniqueOpened: BooleanConstructor;
60
60
  readonly router: BooleanConstructor;
61
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
61
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
62
62
  readonly collapse: BooleanConstructor;
63
63
  readonly backgroundColor: StringConstructor;
64
64
  readonly textColor: StringConstructor;
@@ -84,7 +84,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
84
84
  readonly hideTimeout: number;
85
85
  readonly defaultActive: string;
86
86
  readonly defaultOpeneds: string[];
87
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
87
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
88
88
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
89
89
  readonly popperOffset: number;
90
90
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
@@ -105,7 +105,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
105
105
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
106
106
  readonly uniqueOpened: BooleanConstructor;
107
107
  readonly router: BooleanConstructor;
108
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
108
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
109
109
  readonly collapse: BooleanConstructor;
110
110
  readonly backgroundColor: StringConstructor;
111
111
  readonly textColor: StringConstructor;
@@ -133,7 +133,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
133
133
  readonly hideTimeout: number;
134
134
  readonly defaultActive: string;
135
135
  readonly defaultOpeneds: string[];
136
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
136
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
137
137
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
138
138
  readonly popperOffset: number;
139
139
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown>;
@@ -6,6 +6,10 @@ export type { PlusStepsFormProps } from './src/index.vue';
6
6
  export * from './src/type';
7
7
  export declare const PlusStepsForm: {
8
8
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
9
+ modelValue: {
10
+ type: PropType<number>;
11
+ default: number;
12
+ };
9
13
  data: {
10
14
  type: PropType< PlusStepFromRow[]>;
11
15
  default: () => never[];
@@ -14,10 +18,6 @@ export declare const PlusStepsForm: {
14
18
  type: PropType<string>;
15
19
  default: undefined;
16
20
  };
17
- modelValue: {
18
- type: PropType<number>;
19
- default: number;
20
- };
21
21
  submitText: {
22
22
  type: PropType<string>;
23
23
  default: undefined;
@@ -27,9 +27,9 @@ export declare const PlusStepsForm: {
27
27
  default: undefined;
28
28
  };
29
29
  }>> & {
30
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
30
31
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
31
32
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
32
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
33
33
  onPre?: ((modelValue: number) => any) | undefined;
34
34
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
35
35
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -39,6 +39,10 @@ export declare const PlusStepsForm: {
39
39
  "update:modelValue": (active: number) => void;
40
40
  change: (values: FieldValues, column: PlusColumn) => void;
41
41
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
42
+ modelValue: {
43
+ type: PropType<number>;
44
+ default: number;
45
+ };
42
46
  data: {
43
47
  type: PropType< PlusStepFromRow[]>;
44
48
  default: () => never[];
@@ -47,10 +51,6 @@ export declare const PlusStepsForm: {
47
51
  type: PropType<string>;
48
52
  default: undefined;
49
53
  };
50
- modelValue: {
51
- type: PropType<number>;
52
- default: number;
53
- };
54
54
  submitText: {
55
55
  type: PropType<string>;
56
56
  default: undefined;
@@ -60,15 +60,15 @@ export declare const PlusStepsForm: {
60
60
  default: undefined;
61
61
  };
62
62
  }>> & {
63
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
63
64
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
64
65
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
65
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
66
66
  onPre?: ((modelValue: number) => any) | undefined;
67
67
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
68
68
  }, {
69
+ modelValue: number;
69
70
  data: PlusStepFromRow[];
70
71
  nextText: string;
71
- modelValue: number;
72
72
  submitText: string;
73
73
  preText: string;
74
74
  }, true, {}, {}, {
@@ -79,6 +79,10 @@ export declare const PlusStepsForm: {
79
79
  M: {};
80
80
  Defaults: {};
81
81
  }, Readonly< ExtractPropTypes<{
82
+ modelValue: {
83
+ type: PropType<number>;
84
+ default: number;
85
+ };
82
86
  data: {
83
87
  type: PropType< PlusStepFromRow[]>;
84
88
  default: () => never[];
@@ -87,10 +91,6 @@ export declare const PlusStepsForm: {
87
91
  type: PropType<string>;
88
92
  default: undefined;
89
93
  };
90
- modelValue: {
91
- type: PropType<number>;
92
- default: number;
93
- };
94
94
  submitText: {
95
95
  type: PropType<string>;
96
96
  default: undefined;
@@ -100,15 +100,15 @@ export declare const PlusStepsForm: {
100
100
  default: undefined;
101
101
  };
102
102
  }>> & {
103
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
103
104
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
104
105
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
105
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
106
106
  onPre?: ((modelValue: number) => any) | undefined;
107
107
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
108
108
  }, {}, {}, {}, {}, {
109
+ modelValue: number;
109
110
  data: PlusStepFromRow[];
110
111
  nextText: string;
111
- modelValue: number;
112
112
  submitText: string;
113
113
  preText: string;
114
114
  }>;
@@ -116,6 +116,10 @@ export declare const PlusStepsForm: {
116
116
  __isTeleport?: undefined;
117
117
  __isSuspense?: undefined;
118
118
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
119
+ modelValue: {
120
+ type: PropType<number>;
121
+ default: number;
122
+ };
119
123
  data: {
120
124
  type: PropType< PlusStepFromRow[]>;
121
125
  default: () => never[];
@@ -124,10 +128,6 @@ export declare const PlusStepsForm: {
124
128
  type: PropType<string>;
125
129
  default: undefined;
126
130
  };
127
- modelValue: {
128
- type: PropType<number>;
129
- default: number;
130
- };
131
131
  submitText: {
132
132
  type: PropType<string>;
133
133
  default: undefined;
@@ -137,9 +137,9 @@ export declare const PlusStepsForm: {
137
137
  default: undefined;
138
138
  };
139
139
  }>> & {
140
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
140
141
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
141
142
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
142
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
143
143
  onPre?: ((modelValue: number) => any) | undefined;
144
144
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
145
145
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -149,9 +149,9 @@ export declare const PlusStepsForm: {
149
149
  "update:modelValue": (active: number) => void;
150
150
  change: (values: FieldValues, column: PlusColumn) => void;
151
151
  }, string, {
152
+ modelValue: number;
152
153
  data: PlusStepFromRow[];
153
154
  nextText: string;
154
- modelValue: number;
155
155
  submitText: string;
156
156
  preText: string;
157
157
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
@@ -66,15 +66,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
66
66
  nextText: undefined;
67
67
  preText: undefined;
68
68
  }>>> & {
69
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
69
70
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
70
71
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
71
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
72
72
  onPre?: ((modelValue: number) => any) | undefined;
73
73
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
74
74
  }, {
75
+ modelValue: number;
75
76
  data: PlusStepFromRow[];
76
77
  nextText: string;
77
- modelValue: number;
78
78
  submitText: string;
79
79
  preText: string;
80
80
  }, {}>, Partial<Record<string, (_: {
@@ -144,6 +144,10 @@ export declare const PlusTable: {
144
144
  filterTableHeaderOverflowLabelLength: {
145
145
  type: PropType<number>;
146
146
  };
147
+ columnsEmptyText: {
148
+ type: PropType<string>;
149
+ default: string;
150
+ };
147
151
  }>> & {
148
152
  onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
149
153
  onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
@@ -852,6 +856,10 @@ export declare const PlusTable: {
852
856
  filterTableHeaderOverflowLabelLength: {
853
857
  type: PropType<number>;
854
858
  };
859
+ columnsEmptyText: {
860
+ type: PropType<string>;
861
+ default: string;
862
+ };
855
863
  }>> & {
856
864
  onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
857
865
  onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
@@ -910,6 +918,7 @@ export declare const PlusTable: {
910
918
  offsetBottom?: number | undefined;
911
919
  timeout?: number | undefined;
912
920
  };
921
+ columnsEmptyText: string;
913
922
  }, true, {}, {}, {
914
923
  P: {};
915
924
  B: {};
@@ -1050,6 +1059,10 @@ export declare const PlusTable: {
1050
1059
  filterTableHeaderOverflowLabelLength: {
1051
1060
  type: PropType<number>;
1052
1061
  };
1062
+ columnsEmptyText: {
1063
+ type: PropType<string>;
1064
+ default: string;
1065
+ };
1053
1066
  }>> & {
1054
1067
  onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
1055
1068
  onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
@@ -1659,6 +1672,7 @@ export declare const PlusTable: {
1659
1672
  offsetBottom?: number | undefined;
1660
1673
  timeout?: number | undefined;
1661
1674
  };
1675
+ columnsEmptyText: string;
1662
1676
  }>;
1663
1677
  __isFragment?: undefined;
1664
1678
  __isTeleport?: undefined;
@@ -1796,6 +1810,10 @@ export declare const PlusTable: {
1796
1810
  filterTableHeaderOverflowLabelLength: {
1797
1811
  type: PropType<number>;
1798
1812
  };
1813
+ columnsEmptyText: {
1814
+ type: PropType<string>;
1815
+ default: string;
1816
+ };
1799
1817
  }>> & {
1800
1818
  onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
1801
1819
  onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
@@ -2417,6 +2435,7 @@ export declare const PlusTable: {
2417
2435
  offsetBottom?: number | undefined;
2418
2436
  timeout?: number | undefined;
2419
2437
  };
2438
+ columnsEmptyText: string;
2420
2439
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
2421
2440
  $slots: Partial<Record<NonNullable<string | number>, (_: {
2422
2441
  column: any;
@@ -41,6 +41,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
41
41
  expandTableColumnProps: () => {};
42
42
  editable: boolean;
43
43
  adaptive: boolean;
44
+ columnsEmptyText: string;
44
45
  }>, {
45
46
  formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
46
47
  tableInstance: ShallowRef< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
@@ -636,6 +637,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
636
637
  expandTableColumnProps: () => {};
637
638
  editable: boolean;
638
639
  adaptive: boolean;
640
+ columnsEmptyText: string;
639
641
  }>>> & {
640
642
  onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
641
643
  onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
@@ -694,6 +696,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
694
696
  offsetBottom?: number | undefined;
695
697
  timeout?: number | undefined;
696
698
  };
699
+ columnsEmptyText: string;
697
700
  }, {}>, Partial<Record<NonNullable<string | number>, (_: {
698
701
  column: any;
699
702
  prop: string;
@@ -2,7 +2,7 @@ import { defineComponent, ref, shallowRef, reactive, watchEffect, computed, prov
2
2
  import { PlusPagination } from '../../pagination/index.mjs';
3
3
  import { PlusRadio } from '../../radio/index.mjs';
4
4
  import { DefaultPageInfo } from '../../../constants/page.mjs';
5
- import { TableFormRefInjectionKey, TableFormFieldRefInjectionKey } from '../../../constants/form.mjs';
5
+ import { TableFormRefInjectionKey, TableFormFieldRefInjectionKey, TableColumnsEmptyTextInjectionKey } from '../../../constants/form.mjs';
6
6
  import { ElTable, ElTableColumn, vLoading } from 'element-plus';
7
7
  import { debounce, isEqual } from 'lodash-es';
8
8
  import PlusTableActionBar from './table-action-bar.vue.mjs';
@@ -52,7 +52,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
52
52
  indexContentStyle: { type: [Object, Function], default: () => ({}) },
53
53
  editable: { type: [Boolean, String], default: false },
54
54
  adaptive: { type: [Boolean, Object], default: false },
55
- filterTableHeaderOverflowLabelLength: {}
55
+ filterTableHeaderOverflowLabelLength: {},
56
+ columnsEmptyText: { default: "-" }
56
57
  },
57
58
  emits: ["paginationChange", "clickAction", "clickActionConfirmCancel", "dragSortEnd", "formChange", "refresh", "edited", "cell-click", "cell-dblclick", "filterTableHeader", "radioChange"],
58
59
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -84,6 +85,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
84
85
  provide(TableFormRefInjectionKey, formRefs);
85
86
  const formFieldRefs = shallowRef({});
86
87
  provide(TableFormFieldRefInjectionKey, formFieldRefs);
88
+ provide(TableColumnsEmptyTextInjectionKey, computed(() => props.columnsEmptyText));
87
89
  watch(
88
90
  () => props.columns,
89
91
  (val) => {
@@ -227,9 +227,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
227
227
  };
228
228
  }> & {} & ComponentCustomProperties & {} & {
229
229
  $slots: Partial<Record<string, (_: {
230
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
230
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
231
231
  readonly label: string | ComputedRef<string>;
232
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
232
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
233
233
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
234
234
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
235
235
  style?: CSSProperties | undefined;
@@ -256,7 +256,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
256
256
  };
257
257
  rows: number;
258
258
  autocomplete: string;
259
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
259
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
260
260
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
261
261
  step: string | number;
262
262
  format: string | ProgressFn | undefined;
@@ -301,7 +301,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
301
301
  fieldInstance?: any;
302
302
  valueIsReady?: Ref<boolean> | undefined;
303
303
  prop: string;
304
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
304
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
305
305
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
306
306
  tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
307
307
  style?: CSSProperties | undefined;
@@ -335,9 +335,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
335
335
  clearable: boolean;
336
336
  index: number;
337
337
  }) => any>> & Partial<Record<string, (_: {
338
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
338
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
339
339
  readonly label: string | ComputedRef<string>;
340
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
340
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
341
341
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
342
342
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
343
343
  style?: CSSProperties | undefined;
@@ -364,7 +364,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
364
364
  };
365
365
  rows: number;
366
366
  autocomplete: string;
367
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
367
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
368
368
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
369
369
  step: string | number;
370
370
  format: string | ProgressFn | undefined;
@@ -409,7 +409,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
409
409
  fieldInstance?: any;
410
410
  valueIsReady?: Ref<boolean> | undefined;
411
411
  prop: string;
412
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
412
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
413
413
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
414
414
  tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
415
415
  style?: CSSProperties | undefined;
@@ -443,9 +443,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
443
443
  clearable: boolean;
444
444
  index: number;
445
445
  }) => any>> & Partial<Record<string, (_: {
446
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
446
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
447
447
  readonly label: string | ComputedRef<string>;
448
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
448
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
449
449
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
450
450
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
451
451
  style?: CSSProperties | undefined;
@@ -472,7 +472,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
472
472
  };
473
473
  rows: number;
474
474
  autocomplete: string;
475
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
475
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
476
476
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
477
477
  step: string | number;
478
478
  format: string | ProgressFn | undefined;
@@ -517,7 +517,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
517
517
  fieldInstance?: any;
518
518
  valueIsReady?: Ref<boolean> | undefined;
519
519
  prop: string;
520
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
520
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
521
521
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
522
522
  tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
523
523
  style?: CSSProperties | undefined;
@@ -454,6 +454,15 @@ export type PlusTableSelfProps = {
454
454
  * @version 0.1.23
455
455
  */
456
456
  filterTableHeaderOverflowLabelLength?: number;
457
+ /**
458
+ * 所有列字段为空时显示的默认文本(全局配置)
459
+ * @version v0.2.0
460
+ * @default "-"
461
+ * @desc 当字段值为 null、undefined 或空字符串时,显示此文本
462
+ * @desc 优先级:列级别的 emptyText > columnsEmptyText > 默认 "-"
463
+ * @desc 仅对未定义 render/renderHTML 的字段生效
464
+ */
465
+ columnsEmptyText?: string;
457
466
  };
458
467
  export type PlusTableProps = PlusTableSelfProps & Partial<TableProps<any[]>> & RecordType;
459
468
  /**
@@ -1,4 +1,4 @@
1
- import { RouteRecordName, RouteLocationNormalized, RouteMeta, RouteComponent, RouteRecordRedirectOption, NavigationGuardWithThis } from 'vue-router';
1
+ import { RouteRecordName, RouteLocationNormalized, RouteComponent, RouteMeta, RouteRecordRedirectOption, NavigationGuardWithThis } from 'vue-router';
2
2
  import { SetupContext, VNode, RendererNode, RendererElement, Component } from 'vue';
3
3
  import { FieldValueType, RecordType, PlusColumn, PlusRouteRecordRaw } from 'yc-pro-components/es/types';
4
4
 
@@ -120,6 +120,7 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
120
120
  __children: PlusRouteRecordRaw[] | undefined;
121
121
  name?: RouteRecordName | undefined;
122
122
  props?: (boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)) | Record<string, boolean | Record<string, any> | ((to: RouteLocationNormalized) => Record<string, any>)> | undefined;
123
+ components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
123
124
  meta?: ( RouteMeta & {
124
125
  title?: string | undefined;
125
126
  icon?: VNode<RendererNode, RendererElement, {
@@ -137,7 +138,6 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
137
138
  end?: boolean | undefined;
138
139
  sensitive?: boolean | undefined;
139
140
  strict?: boolean | undefined;
140
- components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
141
141
  redirect?: RouteRecordRedirectOption | undefined;
142
142
  alias?: string | string[] | undefined;
143
143
  beforeEnter?: NavigationGuardWithThis<undefined> | NavigationGuardWithThis<undefined>[] | undefined;
@@ -126,8 +126,8 @@ declare const YcCountTo: SFCWithInstall<DefineComponent<{
126
126
  onMounted?: ((...args: any[]) => any) | undefined;
127
127
  onCallback?: ((...args: any[]) => any) | undefined;
128
128
  }, {
129
- color: string;
130
129
  duration: number;
130
+ color: string;
131
131
  separator: string;
132
132
  fontSize: string;
133
133
  prefix: string;
@@ -119,8 +119,8 @@ declare const _default: DefineComponent<{
119
119
  onMounted?: ((...args: any[]) => any) | undefined;
120
120
  onCallback?: ((...args: any[]) => any) | undefined;
121
121
  }, {
122
- color: string;
123
122
  duration: number;
123
+ color: string;
124
124
  separator: string;
125
125
  fontSize: string;
126
126
  prefix: string;