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
@@ -7,6 +7,10 @@ export type { PlusStepsFormProps } from './src/index.vue';
7
7
  export * from './src/type';
8
8
  export declare const PlusStepsForm: {
9
9
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
10
+ modelValue: {
11
+ type: PropType<number>;
12
+ default: number;
13
+ };
10
14
  data: {
11
15
  type: PropType< PlusStepFromRow[]>;
12
16
  default: () => never[];
@@ -15,10 +19,6 @@ export declare const PlusStepsForm: {
15
19
  type: PropType<string>;
16
20
  default: undefined;
17
21
  };
18
- modelValue: {
19
- type: PropType<number>;
20
- default: number;
21
- };
22
22
  submitText: {
23
23
  type: PropType<string>;
24
24
  default: undefined;
@@ -28,9 +28,9 @@ export declare const PlusStepsForm: {
28
28
  default: undefined;
29
29
  };
30
30
  }>> & {
31
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
31
32
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
32
33
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
33
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
34
34
  onPre?: ((modelValue: number) => any) | undefined;
35
35
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
36
36
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -40,6 +40,10 @@ export declare const PlusStepsForm: {
40
40
  "update:modelValue": (active: number) => void;
41
41
  change: (values: FieldValues, column: PlusColumn) => void;
42
42
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
43
+ modelValue: {
44
+ type: PropType<number>;
45
+ default: number;
46
+ };
43
47
  data: {
44
48
  type: PropType< PlusStepFromRow[]>;
45
49
  default: () => never[];
@@ -48,10 +52,6 @@ export declare const PlusStepsForm: {
48
52
  type: PropType<string>;
49
53
  default: undefined;
50
54
  };
51
- modelValue: {
52
- type: PropType<number>;
53
- default: number;
54
- };
55
55
  submitText: {
56
56
  type: PropType<string>;
57
57
  default: undefined;
@@ -61,15 +61,15 @@ export declare const PlusStepsForm: {
61
61
  default: undefined;
62
62
  };
63
63
  }>> & {
64
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
64
65
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
65
66
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
66
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
67
67
  onPre?: ((modelValue: number) => any) | undefined;
68
68
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
69
69
  }, {
70
+ modelValue: number;
70
71
  data: PlusStepFromRow[];
71
72
  nextText: string;
72
- modelValue: number;
73
73
  submitText: string;
74
74
  preText: string;
75
75
  }, true, {}, {}, {
@@ -80,6 +80,10 @@ export declare const PlusStepsForm: {
80
80
  M: {};
81
81
  Defaults: {};
82
82
  }, Readonly< ExtractPropTypes<{
83
+ modelValue: {
84
+ type: PropType<number>;
85
+ default: number;
86
+ };
83
87
  data: {
84
88
  type: PropType< PlusStepFromRow[]>;
85
89
  default: () => never[];
@@ -88,10 +92,6 @@ export declare const PlusStepsForm: {
88
92
  type: PropType<string>;
89
93
  default: undefined;
90
94
  };
91
- modelValue: {
92
- type: PropType<number>;
93
- default: number;
94
- };
95
95
  submitText: {
96
96
  type: PropType<string>;
97
97
  default: undefined;
@@ -101,15 +101,15 @@ export declare const PlusStepsForm: {
101
101
  default: undefined;
102
102
  };
103
103
  }>> & {
104
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
104
105
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
105
106
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
106
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
107
107
  onPre?: ((modelValue: number) => any) | undefined;
108
108
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
109
109
  }, {}, {}, {}, {}, {
110
+ modelValue: number;
110
111
  data: PlusStepFromRow[];
111
112
  nextText: string;
112
- modelValue: number;
113
113
  submitText: string;
114
114
  preText: string;
115
115
  }>;
@@ -117,6 +117,10 @@ export declare const PlusStepsForm: {
117
117
  __isTeleport?: undefined;
118
118
  __isSuspense?: undefined;
119
119
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
120
+ modelValue: {
121
+ type: PropType<number>;
122
+ default: number;
123
+ };
120
124
  data: {
121
125
  type: PropType< PlusStepFromRow[]>;
122
126
  default: () => never[];
@@ -125,10 +129,6 @@ export declare const PlusStepsForm: {
125
129
  type: PropType<string>;
126
130
  default: undefined;
127
131
  };
128
- modelValue: {
129
- type: PropType<number>;
130
- default: number;
131
- };
132
132
  submitText: {
133
133
  type: PropType<string>;
134
134
  default: undefined;
@@ -138,9 +138,9 @@ export declare const PlusStepsForm: {
138
138
  default: undefined;
139
139
  };
140
140
  }>> & {
141
+ "onUpdate:modelValue"?: ((active: number) => any) | undefined;
141
142
  onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
142
143
  onSubmit?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
143
- "onUpdate:modelValue"?: ((active: number) => any) | undefined;
144
144
  onPre?: ((modelValue: number) => any) | undefined;
145
145
  onNext?: ((modelValue: number, values: FieldValues, allValues: FieldValues) => any) | undefined;
146
146
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -150,9 +150,9 @@ export declare const PlusStepsForm: {
150
150
  "update:modelValue": (active: number) => void;
151
151
  change: (values: FieldValues, column: PlusColumn) => void;
152
152
  }, string, {
153
+ modelValue: number;
153
154
  data: PlusStepFromRow[];
154
155
  nextText: string;
155
- modelValue: number;
156
156
  submitText: string;
157
157
  preText: string;
158
158
  }, {}, 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, (_: {
@@ -26,15 +26,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
26
26
  $data: {};
27
27
  $props: Partial<{
28
28
  index: number;
29
- rest: RecordType;
30
29
  formProps: PlusFormProps;
30
+ rest: RecordType;
31
31
  column: PlusColumn;
32
32
  row: RecordType;
33
33
  editable: boolean | "click" | "dblclick";
34
34
  }> & Omit<{
35
35
  readonly index: number;
36
- readonly rest: RecordType;
37
36
  readonly formProps: PlusFormProps;
37
+ readonly rest: RecordType;
38
38
  readonly column: PlusColumn;
39
39
  readonly row: RecordType;
40
40
  readonly editable: boolean | "click" | "dblclick";
@@ -48,14 +48,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
48
48
  type: PropType<number>;
49
49
  default: number;
50
50
  };
51
- rest: {
52
- type: PropType<RecordType>;
53
- default: () => {};
54
- };
55
51
  formProps: {
56
52
  type: PropType<PlusFormProps>;
57
53
  default: () => {};
58
54
  };
55
+ rest: {
56
+ type: PropType<RecordType>;
57
+ default: () => {};
58
+ };
59
59
  column: {
60
60
  type: PropType<PlusColumn>;
61
61
  required: true;
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
79
79
  prop: string;
80
80
  row: RecordType;
81
81
  }) => any) | undefined;
82
- }, "index" | "rest" | "formProps" | "column" | "row" | "editable">;
82
+ }, "index" | "formProps" | "rest" | "column" | "row" | "editable">;
83
83
  $attrs: {
84
84
  [x: string]: unknown;
85
85
  };
@@ -102,14 +102,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
102
102
  type: PropType<number>;
103
103
  default: number;
104
104
  };
105
- rest: {
106
- type: PropType<RecordType>;
107
- default: () => {};
108
- };
109
105
  formProps: {
110
106
  type: PropType<PlusFormProps>;
111
107
  default: () => {};
112
108
  };
109
+ rest: {
110
+ type: PropType<RecordType>;
111
+ default: () => {};
112
+ };
113
113
  column: {
114
114
  type: PropType<PlusColumn>;
115
115
  required: true;
@@ -152,8 +152,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
152
152
  }) => void;
153
153
  }, string, {
154
154
  index: number;
155
- rest: RecordType;
156
155
  formProps: PlusFormProps;
156
+ rest: RecordType;
157
157
  column: PlusColumn;
158
158
  row: RecordType;
159
159
  editable: boolean | "click" | "dblclick";
@@ -182,14 +182,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
182
182
  type: PropType<number>;
183
183
  default: number;
184
184
  };
185
- rest: {
186
- type: PropType<RecordType>;
187
- default: () => {};
188
- };
189
185
  formProps: {
190
186
  type: PropType<PlusFormProps>;
191
187
  default: () => {};
192
188
  };
189
+ rest: {
190
+ type: PropType<RecordType>;
191
+ default: () => {};
192
+ };
193
193
  column: {
194
194
  type: PropType<PlusColumn>;
195
195
  required: true;
@@ -226,14 +226,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
226
226
  };
227
227
  }> & {} & ComponentCustomProperties & {} & {
228
228
  $slots: Partial<Record<string, (_: {
229
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
229
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
230
230
  readonly label: string | ComputedRef<string>;
231
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
231
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
232
232
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
233
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
233
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
234
234
  style?: CSSProperties | undefined;
235
235
  class?: any;
236
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
236
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
237
237
  style?: CSSProperties | undefined;
238
238
  class?: any;
239
239
  } & RecordType>>;
@@ -300,12 +300,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
300
300
  fieldInstance?: any;
301
301
  valueIsReady?: Ref<boolean> | undefined;
302
302
  prop: string;
303
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
303
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
304
304
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
305
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
305
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
306
306
  style?: CSSProperties | undefined;
307
307
  class?: any;
308
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
308
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
309
309
  style?: CSSProperties | undefined;
310
310
  class?: any;
311
311
  } & RecordType>>;
@@ -334,14 +334,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
334
334
  clearable: boolean;
335
335
  index: number;
336
336
  }) => any>> & Partial<Record<string, (_: {
337
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
337
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
338
338
  readonly label: string | ComputedRef<string>;
339
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
339
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
340
340
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
341
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
341
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
342
342
  style?: CSSProperties | undefined;
343
343
  class?: any;
344
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
344
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
345
345
  style?: CSSProperties | undefined;
346
346
  class?: any;
347
347
  } & RecordType>>;
@@ -408,12 +408,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
408
408
  fieldInstance?: any;
409
409
  valueIsReady?: Ref<boolean> | undefined;
410
410
  prop: string;
411
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
411
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
412
412
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
413
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
413
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
414
414
  style?: CSSProperties | undefined;
415
415
  class?: any;
416
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
416
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
417
417
  style?: CSSProperties | undefined;
418
418
  class?: any;
419
419
  } & RecordType>>;
@@ -442,14 +442,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
442
442
  clearable: boolean;
443
443
  index: number;
444
444
  }) => any>> & Partial<Record<string, (_: {
445
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
445
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
446
446
  readonly label: string | ComputedRef<string>;
447
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
447
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
448
448
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
449
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
449
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
450
450
  style?: CSSProperties | undefined;
451
451
  class?: any;
452
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
452
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
453
453
  style?: CSSProperties | undefined;
454
454
  class?: any;
455
455
  } & RecordType>>;
@@ -516,12 +516,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
516
516
  fieldInstance?: any;
517
517
  valueIsReady?: Ref<boolean> | undefined;
518
518
  prop: string;
519
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
519
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
520
520
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
521
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
521
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
522
522
  style?: CSSProperties | undefined;
523
523
  class?: any;
524
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
524
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
525
525
  style?: CSSProperties | undefined;
526
526
  class?: any;
527
527
  } & RecordType>>;
@@ -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;
@@ -16,7 +16,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
16
16
  setup(__props) {
17
17
  const props = __props;
18
18
  const mergedConfig = vue.computed(() => {
19
- var _a, _b, _c, _d, _e, _f, _g;
19
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
20
20
  const userConfig = props.config;
21
21
  return {
22
22
  // CDN 配置合并
@@ -37,9 +37,13 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
37
37
  ...(_d = type.DEFAULT_YC_CONFIG.components) == null ? void 0 : _d.plusPage,
38
38
  ...(_e = userConfig.components) == null ? void 0 : _e.plusPage
39
39
  },
40
+ plusSearch: {
41
+ ...(_f = type.DEFAULT_YC_CONFIG.components) == null ? void 0 : _f.plusSearch,
42
+ ...(_g = userConfig.components) == null ? void 0 : _g.plusSearch
43
+ },
40
44
  tabsWithFilter: {
41
- ...(_f = type.DEFAULT_YC_CONFIG.components) == null ? void 0 : _f.tabsWithFilter,
42
- ...(_g = userConfig.components) == null ? void 0 : _g.tabsWithFilter
45
+ ...(_h = type.DEFAULT_YC_CONFIG.components) == null ? void 0 : _h.tabsWithFilter,
46
+ ...(_i = userConfig.components) == null ? void 0 : _i.tabsWithFilter
43
47
  }
44
48
  }
45
49
  };
@@ -63,6 +63,15 @@ export interface YcGlobalConfig {
63
63
  /** 工具栏「字段管理」/列设置旁文案,默认「字段管理」 */
64
64
  columnSettingsText?: string;
65
65
  };
66
+ /** PlusSearch 默认配置 */
67
+ plusSearch?: {
68
+ /** 标签位置,默认 'right' */
69
+ labelPosition?: 'left' | 'right' | 'top';
70
+ /** 布局模式 */
71
+ layout?: 'flex' | 'grid';
72
+ /** 默认展示的搜索项数量 */
73
+ showNumber?: number;
74
+ };
66
75
  /** YcTabsWithFilter 默认配置 */
67
76
  tabsWithFilter?: {
68
77
  /** 筛选按钮文字 */
@@ -17,6 +17,9 @@ const DEFAULT_YC_CONFIG = {
17
17
  showSearch: true,
18
18
  columnSettingsText: "\u5B57\u6BB5\u7BA1\u7406"
19
19
  },
20
+ plusSearch: {
21
+ labelPosition: "right"
22
+ },
20
23
  tabsWithFilter: {
21
24
  filterText: "\u7B5B\u9009"
22
25
  }
@@ -6,12 +6,12 @@ export * from './src/type';
6
6
  export type YcDialogInstance = InstanceType<typeof YcDialogComponent>;
7
7
  export declare const YcDialog: {
8
8
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
9
- width: {
10
- type: PropType<string | number>;
11
- };
12
9
  size: {
13
10
  type: PropType<DialogSize>;
14
11
  };
12
+ width: {
13
+ type: PropType<string | number>;
14
+ };
15
15
  maxHeight: {
16
16
  type: PropType<string | number | false>;
17
17
  default: string;
@@ -21,12 +21,12 @@ export declare const YcDialog: {
21
21
  default: boolean;
22
22
  };
23
23
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
24
- width: {
25
- type: PropType<string | number>;
26
- };
27
24
  size: {
28
25
  type: PropType<DialogSize>;
29
26
  };
27
+ width: {
28
+ type: PropType<string | number>;
29
+ };
30
30
  maxHeight: {
31
31
  type: PropType<string | number | false>;
32
32
  default: string;
@@ -46,12 +46,12 @@ export declare const YcDialog: {
46
46
  M: {};
47
47
  Defaults: {};
48
48
  }, Readonly< ExtractPropTypes<{
49
- width: {
50
- type: PropType<string | number>;
51
- };
52
49
  size: {
53
50
  type: PropType<DialogSize>;
54
51
  };
52
+ width: {
53
+ type: PropType<string | number>;
54
+ };
55
55
  maxHeight: {
56
56
  type: PropType<string | number | false>;
57
57
  default: string;
@@ -68,12 +68,12 @@ export declare const YcDialog: {
68
68
  __isTeleport?: undefined;
69
69
  __isSuspense?: undefined;
70
70
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
71
- width: {
72
- type: PropType<string | number>;
73
- };
74
71
  size: {
75
72
  type: PropType<DialogSize>;
76
73
  };
74
+ width: {
75
+ type: PropType<string | number>;
76
+ };
77
77
  maxHeight: {
78
78
  type: PropType<string | number | false>;
79
79
  default: string;
@@ -94,12 +94,12 @@ export declare const YcDialog: {
94
94
  });
95
95
  export declare const ReDialog: {
96
96
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
97
- width: {
98
- type: PropType<string | number>;
99
- };
100
97
  size: {
101
98
  type: PropType<DialogSize>;
102
99
  };
100
+ width: {
101
+ type: PropType<string | number>;
102
+ };
103
103
  maxHeight: {
104
104
  type: PropType<string | number | false>;
105
105
  default: string;
@@ -109,12 +109,12 @@ export declare const ReDialog: {
109
109
  default: boolean;
110
110
  };
111
111
  }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
112
- width: {
113
- type: PropType<string | number>;
114
- };
115
112
  size: {
116
113
  type: PropType<DialogSize>;
117
114
  };
115
+ width: {
116
+ type: PropType<string | number>;
117
+ };
118
118
  maxHeight: {
119
119
  type: PropType<string | number | false>;
120
120
  default: string;
@@ -134,12 +134,12 @@ export declare const ReDialog: {
134
134
  M: {};
135
135
  Defaults: {};
136
136
  }, Readonly< ExtractPropTypes<{
137
- width: {
138
- type: PropType<string | number>;
139
- };
140
137
  size: {
141
138
  type: PropType<DialogSize>;
142
139
  };
140
+ width: {
141
+ type: PropType<string | number>;
142
+ };
143
143
  maxHeight: {
144
144
  type: PropType<string | number | false>;
145
145
  default: string;
@@ -156,12 +156,12 @@ export declare const ReDialog: {
156
156
  __isTeleport?: undefined;
157
157
  __isSuspense?: undefined;
158
158
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
159
- width: {
160
- type: PropType<string | number>;
161
- };
162
159
  size: {
163
160
  type: PropType<DialogSize>;
164
161
  };
162
+ width: {
163
+ type: PropType<string | number>;
164
+ };
165
165
  maxHeight: {
166
166
  type: PropType<string | number | false>;
167
167
  default: string;