yc-pro-components 0.0.73 → 0.0.75

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 (162) hide show
  1. package/es/components/check-card/index.d.ts +61 -61
  2. package/es/components/check-card/src/index.vue.d.ts +4 -4
  3. package/es/components/check-card-group/index.d.ts +43 -43
  4. package/es/components/check-card-group/src/index.vue.d.ts +3 -3
  5. package/es/components/date-picker/index.d.ts +30 -30
  6. package/es/components/date-picker/src/index.vue.d.ts +22 -22
  7. package/es/components/dialog/index.d.ts +45 -45
  8. package/es/components/dialog/src/index.vue.d.ts +3 -3
  9. package/es/components/dialog-form/index.d.ts +31 -31
  10. package/es/components/dialog-form/src/index.vue.d.ts +9 -9
  11. package/es/components/display-item/index.d.ts +41 -41
  12. package/es/components/display-item/src/index.vue.d.ts +22 -22
  13. package/es/components/drawer-form/index.d.ts +68 -68
  14. package/es/components/drawer-form/src/index.vue.d.ts +16 -16
  15. package/es/components/form/index.d.ts +71 -71
  16. package/es/components/form/src/form-content.vue.d.ts +21 -21
  17. package/es/components/form/src/index.vue.d.ts +19 -19
  18. package/es/components/form-item/index.d.ts +69 -69
  19. package/es/components/form-item/src/index.vue.d.ts +21 -21
  20. package/es/components/form-item/src/index.vue2.mjs +2 -2
  21. package/es/components/header/index.d.ts +19 -19
  22. package/es/components/header/src/index.vue.d.ts +1 -1
  23. package/es/components/input-tag/index.d.ts +15 -15
  24. package/es/components/input-tag/src/index.vue.d.ts +3 -3
  25. package/es/components/layout/index.d.ts +30 -30
  26. package/es/components/layout/src/index.vue.d.ts +10 -10
  27. package/es/components/page/index.d.ts +533 -533
  28. package/es/components/page/src/index.vue.d.ts +181 -181
  29. package/es/components/pagination/index.d.ts +42 -42
  30. package/es/components/pagination/src/index.vue.d.ts +3 -3
  31. package/es/components/radio/index.d.ts +35 -35
  32. package/es/components/radio/src/index.vue.d.ts +27 -27
  33. package/es/components/render/index.d.ts +3 -3
  34. package/es/components/render/src/index.vue.d.ts +1 -1
  35. package/es/components/search/index.d.ts +243 -243
  36. package/es/components/search/src/index.vue.d.ts +73 -73
  37. package/es/components/search/src/index.vue2.mjs +11 -3
  38. package/es/components/sidebar/index.d.ts +15 -15
  39. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  40. package/es/components/steps-form/index.d.ts +23 -23
  41. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  42. package/es/components/table/src/table-column.vue.d.ts +37 -37
  43. package/es/components/utils/index.d.ts +2 -2
  44. package/es/components/yc-config-provider/src/index.vue2.mjs +7 -3
  45. package/es/components/yc-config-provider/src/type.d.ts +9 -0
  46. package/es/components/yc-config-provider/src/type.mjs +3 -0
  47. package/es/components/yc-dialog/index.d.ts +24 -24
  48. package/es/components/yc-download-dialog/index.d.ts +19 -19
  49. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  50. package/es/components/yc-drawer/src/index.vue.mjs +1 -1
  51. package/es/components/yc-drawer/src/index.vue2.mjs +18 -6
  52. package/es/components/yc-drawer/store.d.ts +2 -0
  53. package/es/components/yc-drawer/store.mjs +10 -1
  54. package/es/components/yc-form-container-header/index.d.ts +12 -12
  55. package/es/components/yc-more-actions/index.d.ts +46 -46
  56. package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
  57. package/es/components/yc-plus-page/src/index.vue.d.ts +361 -361
  58. package/es/components/yc-segmented/index.d.ts +2 -2
  59. package/es/components/yc-segmented/src/index.d.ts +2 -2
  60. package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
  61. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  62. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  63. package/es/components/yc-text/src/index.vue.d.ts +2 -2
  64. package/es/hooks/usePlusFormReset.d.ts +244 -244
  65. package/es/index.css +10 -9
  66. package/es/version.d.ts +1 -1
  67. package/es/version.mjs +1 -1
  68. package/es/yc-components/version.d.ts +1 -1
  69. package/index.js +4464 -4429
  70. package/index.min.css +2 -1
  71. package/index.min.js +13 -13
  72. package/index.min.mjs +13 -13
  73. package/index.mjs +4464 -4429
  74. package/lib/components/check-card/index.d.ts +61 -61
  75. package/lib/components/check-card/src/index.vue.d.ts +4 -4
  76. package/lib/components/check-card-group/index.d.ts +43 -43
  77. package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
  78. package/lib/components/date-picker/index.d.ts +30 -30
  79. package/lib/components/date-picker/src/index.vue.d.ts +22 -22
  80. package/lib/components/dialog/index.d.ts +45 -45
  81. package/lib/components/dialog/src/index.vue.d.ts +3 -3
  82. package/lib/components/dialog-form/index.d.ts +31 -31
  83. package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
  84. package/lib/components/display-item/index.d.ts +41 -41
  85. package/lib/components/display-item/src/index.vue.d.ts +22 -22
  86. package/lib/components/drawer-form/index.d.ts +68 -68
  87. package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
  88. package/lib/components/form/index.d.ts +71 -71
  89. package/lib/components/form/src/form-content.vue.d.ts +21 -21
  90. package/lib/components/form/src/index.vue.d.ts +19 -19
  91. package/lib/components/form-item/index.d.ts +69 -69
  92. package/lib/components/form-item/src/index.vue.d.ts +21 -21
  93. package/lib/components/form-item/src/index.vue2.js +2 -2
  94. package/lib/components/header/index.d.ts +19 -19
  95. package/lib/components/header/src/index.vue.d.ts +1 -1
  96. package/lib/components/input-tag/index.d.ts +15 -15
  97. package/lib/components/input-tag/src/index.vue.d.ts +3 -3
  98. package/lib/components/layout/index.d.ts +30 -30
  99. package/lib/components/layout/src/index.vue.d.ts +10 -10
  100. package/lib/components/page/index.d.ts +533 -533
  101. package/lib/components/page/src/index.vue.d.ts +181 -181
  102. package/lib/components/pagination/index.d.ts +42 -42
  103. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  104. package/lib/components/radio/index.d.ts +35 -35
  105. package/lib/components/radio/src/index.vue.d.ts +27 -27
  106. package/lib/components/render/index.d.ts +3 -3
  107. package/lib/components/render/src/index.vue.d.ts +1 -1
  108. package/lib/components/search/index.d.ts +243 -243
  109. package/lib/components/search/src/index.vue.d.ts +73 -73
  110. package/lib/components/search/src/index.vue2.js +10 -2
  111. package/lib/components/sidebar/index.d.ts +15 -15
  112. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  113. package/lib/components/steps-form/index.d.ts +23 -23
  114. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  115. package/lib/components/table/src/table-column.vue.d.ts +37 -37
  116. package/lib/components/utils/index.d.ts +2 -2
  117. package/lib/components/yc-config-provider/src/index.vue2.js +7 -3
  118. package/lib/components/yc-config-provider/src/type.d.ts +9 -0
  119. package/lib/components/yc-config-provider/src/type.js +3 -0
  120. package/lib/components/yc-dialog/index.d.ts +24 -24
  121. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  122. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  123. package/lib/components/yc-drawer/src/index.vue.js +1 -1
  124. package/lib/components/yc-drawer/src/index.vue2.js +16 -4
  125. package/lib/components/yc-drawer/store.d.ts +2 -0
  126. package/lib/components/yc-drawer/store.js +11 -0
  127. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  128. package/lib/components/yc-more-actions/index.d.ts +46 -46
  129. package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
  130. package/lib/components/yc-plus-page/src/index.vue.d.ts +361 -361
  131. package/lib/components/yc-segmented/index.d.ts +2 -2
  132. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  133. package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
  134. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  135. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  136. package/lib/components/yc-text/src/index.vue.d.ts +2 -2
  137. package/lib/hooks/usePlusFormReset.d.ts +244 -244
  138. package/lib/index.css +11 -10
  139. package/lib/version.d.ts +1 -1
  140. package/lib/version.js +1 -1
  141. package/lib/yc-components/version.d.ts +1 -1
  142. package/locale/en.js +1 -1
  143. package/locale/en.min.js +1 -1
  144. package/locale/en.min.mjs +1 -1
  145. package/locale/en.mjs +1 -1
  146. package/locale/ja.js +1 -1
  147. package/locale/ja.min.js +1 -1
  148. package/locale/ja.min.mjs +1 -1
  149. package/locale/ja.mjs +1 -1
  150. package/locale/ko.js +1 -1
  151. package/locale/ko.min.js +1 -1
  152. package/locale/ko.min.mjs +1 -1
  153. package/locale/ko.mjs +1 -1
  154. package/locale/zh-cn.js +1 -1
  155. package/locale/zh-cn.min.js +1 -1
  156. package/locale/zh-cn.min.mjs +1 -1
  157. package/locale/zh-cn.mjs +1 -1
  158. package/locale/zh-tw.js +1 -1
  159. package/locale/zh-tw.min.js +1 -1
  160. package/locale/zh-tw.min.mjs +1 -1
  161. package/locale/zh-tw.mjs +1 -1
  162. package/package.json +1 -1
@@ -42,14 +42,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
42
42
  $: ComponentInternalInstance;
43
43
  $data: {};
44
44
  $props: Partial<{
45
+ labelPosition: "left" | "right" | "top";
46
+ modelValue: FieldValues;
45
47
  collapseDuration: number;
46
48
  collapseTransition: boolean;
47
49
  columns: PlusColumn[];
48
50
  group: false | PlusFormGroupRow[];
49
- layout: "grid" | "flex";
50
- modelValue: FieldValues;
51
+ layout: "flex" | "grid";
51
52
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
52
- labelPosition: "top" | "right" | "left";
53
53
  labelWidth: string | number;
54
54
  labelSuffix: string;
55
55
  defaultValues: FieldValues;
@@ -68,7 +68,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
68
68
  submitText: string;
69
69
  resetText: string;
70
70
  submitLoading: boolean;
71
- footerAlign: "right" | "left" | "center";
71
+ footerAlign: "left" | "right" | "center";
72
72
  cardProps: Partial< Mutable<CardProps> & {
73
73
  style?: CSSProperties | undefined;
74
74
  class?: any;
@@ -76,11 +76,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
76
76
  prevent: boolean;
77
77
  clearable: boolean;
78
78
  }> & Omit<{
79
+ readonly labelPosition: "left" | "right" | "top";
80
+ readonly modelValue: FieldValues;
79
81
  readonly columns: PlusColumn[];
80
82
  readonly group: false | PlusFormGroupRow[];
81
- readonly modelValue: FieldValues;
82
83
  readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
83
- readonly labelPosition: "top" | "right" | "left";
84
84
  readonly labelWidth: string | number;
85
85
  readonly labelSuffix: string;
86
86
  readonly defaultValues: FieldValues;
@@ -99,7 +99,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
99
99
  readonly submitText: string;
100
100
  readonly resetText: string;
101
101
  readonly submitLoading: boolean;
102
- readonly footerAlign: "right" | "left" | "center";
102
+ readonly footerAlign: "left" | "right" | "center";
103
103
  readonly cardProps: Partial< Mutable<CardProps> & {
104
104
  style?: CSSProperties | undefined;
105
105
  class?: any;
@@ -108,14 +108,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
108
108
  readonly clearable: boolean;
109
109
  readonly collapseDuration?: number | undefined;
110
110
  readonly collapseTransition?: boolean | undefined;
111
- readonly layout?: "grid" | "flex" | undefined;
111
+ readonly layout?: "flex" | "grid" | undefined;
112
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
112
113
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
113
114
  onReset?: ((values: FieldValues) => any) | undefined;
114
115
  onSubmit?: ((values: FieldValues) => any) | undefined;
115
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
116
116
  onValidate?: ((...args: any[]) => any) | undefined;
117
117
  onSubmitError?: ((errors: unknown) => any) | undefined;
118
118
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
119
+ labelPosition: {
120
+ type: PropType<"left" | "right" | "top">;
121
+ default: string;
122
+ };
123
+ modelValue: {
124
+ type: PropType<FieldValues>;
125
+ default: () => {};
126
+ };
119
127
  collapseDuration: {
120
128
  type: PropType<number>;
121
129
  default: undefined;
@@ -133,21 +141,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
133
141
  default: boolean;
134
142
  };
135
143
  layout: {
136
- type: PropType<"grid" | "flex">;
144
+ type: PropType<"flex" | "grid">;
137
145
  default: undefined;
138
146
  };
139
- modelValue: {
140
- type: PropType<FieldValues>;
141
- default: () => {};
142
- };
143
147
  rules: {
144
148
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
145
149
  default: () => {};
146
150
  };
147
- labelPosition: {
148
- type: PropType<"top" | "right" | "left">;
149
- default: string;
150
- };
151
151
  labelWidth: {
152
152
  type: PropType<string | number>;
153
153
  default: string;
@@ -203,7 +203,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
203
203
  default: boolean;
204
204
  };
205
205
  footerAlign: {
206
- type: PropType<"right" | "left" | "center">;
206
+ type: PropType<"left" | "right" | "center">;
207
207
  default: string;
208
208
  };
209
209
  cardProps: {
@@ -222,13 +222,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
222
222
  default: boolean;
223
223
  };
224
224
  }>> & {
225
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
225
226
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
226
227
  onReset?: ((values: FieldValues) => any) | undefined;
227
228
  onSubmit?: ((values: FieldValues) => any) | undefined;
228
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
229
229
  onValidate?: ((...args: any[]) => any) | undefined;
230
230
  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">;
231
+ }, "labelPosition" | "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "rules" | "labelWidth" | "labelSuffix" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
232
232
  $attrs: {
233
233
  [x: string]: unknown;
234
234
  };
@@ -240,9 +240,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
240
240
  }>;
241
241
  $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
242
242
  $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
243
- $emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
243
+ $emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
244
244
  $el: any;
245
245
  $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
246
+ labelPosition: {
247
+ type: PropType<"left" | "right" | "top">;
248
+ default: string;
249
+ };
250
+ modelValue: {
251
+ type: PropType<FieldValues>;
252
+ default: () => {};
253
+ };
246
254
  collapseDuration: {
247
255
  type: PropType<number>;
248
256
  default: undefined;
@@ -260,21 +268,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
260
268
  default: boolean;
261
269
  };
262
270
  layout: {
263
- type: PropType<"grid" | "flex">;
271
+ type: PropType<"flex" | "grid">;
264
272
  default: undefined;
265
273
  };
266
- modelValue: {
267
- type: PropType<FieldValues>;
268
- default: () => {};
269
- };
270
274
  rules: {
271
275
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
272
276
  default: () => {};
273
277
  };
274
- labelPosition: {
275
- type: PropType<"top" | "right" | "left">;
276
- default: string;
277
- };
278
278
  labelWidth: {
279
279
  type: PropType<string | number>;
280
280
  default: string;
@@ -330,7 +330,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
330
330
  default: boolean;
331
331
  };
332
332
  footerAlign: {
333
- type: PropType<"right" | "left" | "center">;
333
+ type: PropType<"left" | "right" | "center">;
334
334
  default: string;
335
335
  };
336
336
  cardProps: {
@@ -349,10 +349,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
349
349
  default: boolean;
350
350
  };
351
351
  }>> & {
352
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
352
353
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
353
354
  onReset?: ((values: FieldValues) => any) | undefined;
354
355
  onSubmit?: ((values: FieldValues) => any) | undefined;
355
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
356
356
  onValidate?: ((...args: any[]) => any) | undefined;
357
357
  onSubmitError?: ((errors: unknown) => any) | undefined;
358
358
  }, {
@@ -367,14 +367,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
367
367
  submitError: (errors: unknown) => void;
368
368
  validate: (...args: any[]) => void;
369
369
  }, string, {
370
+ labelPosition: "left" | "right" | "top";
371
+ modelValue: FieldValues;
370
372
  collapseDuration: number;
371
373
  collapseTransition: boolean;
372
374
  columns: PlusColumn[];
373
375
  group: false | PlusFormGroupRow[];
374
- layout: "grid" | "flex";
375
- modelValue: FieldValues;
376
+ layout: "flex" | "grid";
376
377
  rules: Partial<Record<string, Arrayable<FormItemRule>>>;
377
- labelPosition: "top" | "right" | "left";
378
378
  labelWidth: string | number;
379
379
  labelSuffix: string;
380
380
  defaultValues: FieldValues;
@@ -393,7 +393,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
393
393
  submitText: string;
394
394
  resetText: string;
395
395
  submitLoading: boolean;
396
- footerAlign: "right" | "left" | "center";
396
+ footerAlign: "left" | "right" | "center";
397
397
  cardProps: Partial< Mutable<CardProps> & {
398
398
  style?: CSSProperties | undefined;
399
399
  class?: any;
@@ -421,6 +421,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
421
421
  $nextTick: nextTick;
422
422
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
423
423
  } & Omit<Readonly< ExtractPropTypes<{
424
+ labelPosition: {
425
+ type: PropType<"left" | "right" | "top">;
426
+ default: string;
427
+ };
428
+ modelValue: {
429
+ type: PropType<FieldValues>;
430
+ default: () => {};
431
+ };
424
432
  collapseDuration: {
425
433
  type: PropType<number>;
426
434
  default: undefined;
@@ -438,21 +446,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
438
446
  default: boolean;
439
447
  };
440
448
  layout: {
441
- type: PropType<"grid" | "flex">;
449
+ type: PropType<"flex" | "grid">;
442
450
  default: undefined;
443
451
  };
444
- modelValue: {
445
- type: PropType<FieldValues>;
446
- default: () => {};
447
- };
448
452
  rules: {
449
453
  type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
450
454
  default: () => {};
451
455
  };
452
- labelPosition: {
453
- type: PropType<"top" | "right" | "left">;
454
- default: string;
455
- };
456
456
  labelWidth: {
457
457
  type: PropType<string | number>;
458
458
  default: string;
@@ -508,7 +508,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
508
508
  default: boolean;
509
509
  };
510
510
  footerAlign: {
511
- type: PropType<"right" | "left" | "center">;
511
+ type: PropType<"left" | "right" | "center">;
512
512
  default: string;
513
513
  };
514
514
  cardProps: {
@@ -527,10 +527,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
527
527
  default: boolean;
528
528
  };
529
529
  }>> & {
530
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
530
531
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
531
532
  onReset?: ((values: FieldValues) => any) | undefined;
532
533
  onSubmit?: ((values: FieldValues) => any) | undefined;
533
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
534
534
  onValidate?: ((...args: any[]) => any) | undefined;
535
535
  onSubmitError?: ((errors: unknown) => any) | undefined;
536
536
  }, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
@@ -550,14 +550,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
550
550
  hideInGroup?: boolean | ComputedRef<boolean> | undefined;
551
551
  columns?: PlusColumn[] | undefined;
552
552
  }) => 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">> & {
553
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
554
554
  readonly label: string | ComputedRef<string>;
555
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
555
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
556
556
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
557
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
557
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
558
558
  style?: CSSProperties | undefined;
559
559
  class?: any;
560
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
560
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
561
561
  style?: CSSProperties | undefined;
562
562
  class?: any;
563
563
  } & RecordType>>;
@@ -624,12 +624,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
624
624
  fieldInstance?: any;
625
625
  valueIsReady?: Ref<boolean> | undefined;
626
626
  prop: string;
627
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
627
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
628
628
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
629
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
629
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
630
630
  style?: CSSProperties | undefined;
631
631
  class?: any;
632
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
632
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
633
633
  style?: CSSProperties | undefined;
634
634
  class?: any;
635
635
  } & RecordType>>;
@@ -658,14 +658,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
658
658
  clearable: boolean;
659
659
  index: number;
660
660
  }) => 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">> & {
661
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
662
662
  readonly label: string | ComputedRef<string>;
663
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
663
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
664
664
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
665
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
665
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
666
666
  style?: CSSProperties | undefined;
667
667
  class?: any;
668
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
668
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
669
669
  style?: CSSProperties | undefined;
670
670
  class?: any;
671
671
  } & RecordType>>;
@@ -732,12 +732,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
732
732
  fieldInstance?: any;
733
733
  valueIsReady?: Ref<boolean> | undefined;
734
734
  prop: string;
735
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
735
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
736
736
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
737
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
737
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
738
738
  style?: CSSProperties | undefined;
739
739
  class?: any;
740
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
740
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
741
741
  style?: CSSProperties | undefined;
742
742
  class?: any;
743
743
  } & RecordType>>;
@@ -819,16 +819,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
819
819
  searchIcon: undefined;
820
820
  resetIcon: undefined;
821
821
  }>>> & {
822
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
822
823
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
823
824
  onReset?: ((values: FieldValues) => any) | undefined;
824
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
825
825
  onSearch?: ((values: FieldValues) => any) | undefined;
826
826
  onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
827
827
  }, {
828
- columns: PlusColumn[];
829
- layout: "grid" | "flex";
828
+ labelPosition: "left" | "right" | "top";
830
829
  modelValue: FieldValues;
831
- labelPosition: "top" | "right" | "left";
830
+ columns: PlusColumn[];
831
+ layout: "flex" | "grid";
832
832
  inline: boolean;
833
833
  showNumber: number;
834
834
  defaultValues: FieldValues;
@@ -853,14 +853,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
853
853
  searchIcon: Component | null;
854
854
  resetIcon: Component | null;
855
855
  }, {}>, 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">> & {
856
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
857
857
  readonly label: string | ComputedRef<string>;
858
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
858
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
859
859
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
860
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
860
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
861
861
  style?: CSSProperties | undefined;
862
862
  class?: any;
863
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
863
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
864
864
  style?: CSSProperties | undefined;
865
865
  class?: any;
866
866
  } & RecordType>>;
@@ -927,12 +927,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
927
927
  fieldInstance?: any;
928
928
  valueIsReady?: Ref<boolean> | undefined;
929
929
  prop: string;
930
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
930
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
931
931
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
932
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
932
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
933
933
  style?: CSSProperties | undefined;
934
934
  class?: any;
935
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
935
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
936
936
  style?: CSSProperties | undefined;
937
937
  class?: any;
938
938
  } & RecordType>>;
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, useAttrs, computed, unref, watch, openBlock, createBlock, mergeProps, createSlots, withCtx, renderSlot, createCommentVNode, createTextVNode, toDisplayString, createVNode, renderList, normalizeProps, guardReactiveProps } from 'vue';
1
+ import { defineComponent, ref, computed, useAttrs, unref, watch, openBlock, createBlock, mergeProps, createSlots, withCtx, renderSlot, createCommentVNode, createTextVNode, toDisplayString, createVNode, renderList, normalizeProps, guardReactiveProps } from 'vue';
2
2
  import { PlusForm } from '../../form/index.mjs';
3
3
  import { ArrowUp, ArrowDown } from '@element-plus/icons-vue';
4
4
  import { versionIsLessThan299 } from '../../utils/index.mjs';
@@ -6,6 +6,7 @@ import { useLocale } from '../../../hooks/useLocale.mjs';
6
6
  import 'sortablejs';
7
7
  import { ElFormItem, ElButton, ElLink, ElIcon } from 'element-plus';
8
8
  import { orderBy } from 'lodash-es';
9
+ import { useYcComponentConfig } from '../../yc-config-provider/src/useYcConfig.mjs';
9
10
 
10
11
  var _sfc_main = /* @__PURE__ */ defineComponent({
11
12
  ...{
@@ -49,7 +50,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
49
50
  const props = __props;
50
51
  const emit = __emit;
51
52
  const { t } = useLocale();
53
+ const searchConfig = useYcComponentConfig("plusSearch");
52
54
  const plusFormInstance = ref();
55
+ const effectiveLabelPosition = computed(
56
+ () => {
57
+ var _a2, _b;
58
+ return (_b = (_a2 = props.labelPosition) != null ? _a2 : searchConfig == null ? void 0 : searchConfig.labelPosition) != null ? _b : "right";
59
+ }
60
+ );
53
61
  const isShowUnfold = ref((_a = props.defaultUnfold) != null ? _a : false);
54
62
  const values = ref({});
55
63
  const attrs = useAttrs();
@@ -121,7 +129,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
121
129
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => values.value = $event),
122
130
  inline: _ctx.inline,
123
131
  rules: rules.value,
124
- "label-position": _ctx.labelPosition,
132
+ "label-position": effectiveLabelPosition.value,
125
133
  "row-props": _ctx.rowProps,
126
134
  "col-props": _ctx.colProps,
127
135
  columns: subColumns.value,
@@ -134,7 +142,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
134
142
  _ctx.hasFooter ? (openBlock(), createBlock(unref(ElFormItem), {
135
143
  key: 0,
136
144
  class: "plus-search__button__wrapper",
137
- label: _ctx.labelPosition === "top" ? "placeholder" : ""
145
+ label: effectiveLabelPosition.value === "top" ? "placeholder" : ""
138
146
  }, {
139
147
  default: withCtx(() => [
140
148
  renderSlot(_ctx.$slots, "footer", {
@@ -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;
@@ -97,7 +97,7 @@ export declare const PlusSidebar: {
97
97
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
98
98
  readonly uniqueOpened: BooleanConstructor;
99
99
  readonly router: BooleanConstructor;
100
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
100
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
101
101
  readonly collapse: BooleanConstructor;
102
102
  readonly backgroundColor: StringConstructor;
103
103
  readonly textColor: StringConstructor;
@@ -131,7 +131,7 @@ export declare const PlusSidebar: {
131
131
  readonly hideTimeout: number;
132
132
  readonly defaultActive: string;
133
133
  readonly defaultOpeneds: string[];
134
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
134
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
135
135
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
136
136
  readonly popperOffset: number;
137
137
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
@@ -152,7 +152,7 @@ export declare const PlusSidebar: {
152
152
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
153
153
  readonly uniqueOpened: BooleanConstructor;
154
154
  readonly router: BooleanConstructor;
155
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
155
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
156
156
  readonly collapse: BooleanConstructor;
157
157
  readonly backgroundColor: StringConstructor;
158
158
  readonly textColor: StringConstructor;
@@ -188,7 +188,7 @@ export declare const PlusSidebar: {
188
188
  readonly hideTimeout: number;
189
189
  readonly defaultActive: string;
190
190
  readonly defaultOpeneds: string[];
191
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
191
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
192
192
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
193
193
  readonly popperOffset: number;
194
194
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
@@ -315,7 +315,7 @@ export declare const PlusSidebar: {
315
315
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
316
316
  readonly uniqueOpened: BooleanConstructor;
317
317
  readonly router: BooleanConstructor;
318
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
318
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
319
319
  readonly collapse: BooleanConstructor;
320
320
  readonly backgroundColor: StringConstructor;
321
321
  readonly textColor: StringConstructor;
@@ -352,7 +352,7 @@ export declare const PlusSidebar: {
352
352
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
353
353
  readonly uniqueOpened: BooleanConstructor;
354
354
  readonly router: BooleanConstructor;
355
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
355
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
356
356
  readonly collapse: BooleanConstructor;
357
357
  readonly backgroundColor: StringConstructor;
358
358
  readonly textColor: StringConstructor;
@@ -386,7 +386,7 @@ export declare const PlusSidebar: {
386
386
  readonly hideTimeout: number;
387
387
  readonly defaultActive: string;
388
388
  readonly defaultOpeneds: string[];
389
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
389
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
390
390
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
391
391
  readonly popperOffset: number;
392
392
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
@@ -407,7 +407,7 @@ export declare const PlusSidebar: {
407
407
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
408
408
  readonly uniqueOpened: BooleanConstructor;
409
409
  readonly router: BooleanConstructor;
410
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
410
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
411
411
  readonly collapse: BooleanConstructor;
412
412
  readonly backgroundColor: StringConstructor;
413
413
  readonly textColor: StringConstructor;
@@ -443,7 +443,7 @@ export declare const PlusSidebar: {
443
443
  readonly hideTimeout: number;
444
444
  readonly defaultActive: string;
445
445
  readonly defaultOpeneds: string[];
446
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
446
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
447
447
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
448
448
  readonly popperOffset: number;
449
449
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
@@ -521,7 +521,7 @@ export declare const PlusSidebar: {
521
521
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
522
522
  readonly uniqueOpened: BooleanConstructor;
523
523
  readonly router: BooleanConstructor;
524
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
524
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
525
525
  readonly collapse: BooleanConstructor;
526
526
  readonly backgroundColor: StringConstructor;
527
527
  readonly textColor: StringConstructor;
@@ -558,7 +558,7 @@ export declare const PlusSidebar: {
558
558
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
559
559
  readonly uniqueOpened: BooleanConstructor;
560
560
  readonly router: BooleanConstructor;
561
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
561
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
562
562
  readonly collapse: BooleanConstructor;
563
563
  readonly backgroundColor: StringConstructor;
564
564
  readonly textColor: StringConstructor;
@@ -592,7 +592,7 @@ export declare const PlusSidebar: {
592
592
  readonly hideTimeout: number;
593
593
  readonly defaultActive: string;
594
594
  readonly defaultOpeneds: string[];
595
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
595
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
596
596
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
597
597
  readonly popperOffset: number;
598
598
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
@@ -613,7 +613,7 @@ export declare const PlusSidebar: {
613
613
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
614
614
  readonly uniqueOpened: BooleanConstructor;
615
615
  readonly router: BooleanConstructor;
616
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
616
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
617
617
  readonly collapse: BooleanConstructor;
618
618
  readonly backgroundColor: StringConstructor;
619
619
  readonly textColor: StringConstructor;
@@ -649,7 +649,7 @@ export declare const PlusSidebar: {
649
649
  readonly hideTimeout: number;
650
650
  readonly defaultActive: string;
651
651
  readonly defaultOpeneds: string[];
652
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
652
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
653
653
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
654
654
  readonly popperOffset: number;
655
655
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], 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;
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
65
65
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
66
66
  readonly uniqueOpened: BooleanConstructor;
67
67
  readonly router: BooleanConstructor;
68
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
68
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
69
69
  readonly collapse: BooleanConstructor;
70
70
  readonly backgroundColor: StringConstructor;
71
71
  readonly textColor: StringConstructor;
@@ -99,7 +99,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
99
99
  readonly hideTimeout: number;
100
100
  readonly defaultActive: string;
101
101
  readonly defaultOpeneds: string[];
102
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
102
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
103
103
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
104
104
  readonly popperOffset: number;
105
105
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
@@ -120,7 +120,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
120
120
  readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => [], boolean>;
121
121
  readonly uniqueOpened: BooleanConstructor;
122
122
  readonly router: BooleanConstructor;
123
- readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
123
+ readonly menuTrigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
124
124
  readonly collapse: BooleanConstructor;
125
125
  readonly backgroundColor: StringConstructor;
126
126
  readonly textColor: StringConstructor;
@@ -156,7 +156,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
156
156
  readonly hideTimeout: number;
157
157
  readonly defaultActive: string;
158
158
  readonly defaultOpeneds: string[];
159
- readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
159
+ readonly menuTrigger: EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
160
160
  readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
161
161
  readonly popperOffset: number;
162
162
  readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;