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
@@ -0,0 +1,1539 @@
1
+ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
2
+ import { PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
3
+ import { LooseRequired } from '@vue/shared';
4
+ import { FormItemRule, RowProps, ColProps, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
5
+ import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
6
+ import { PlusFormGroupRow } from 'yc-pro-components/es/components/form';
7
+ import { PlusSearchSelfProps as PlusSearchProps } from './type';
8
+ import { PlusColumn, FieldValues, Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components/es/types';
9
+ import { ComputedRef, DefineComponent, Ref, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Component, PublicProps } from 'vue';
10
+
11
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusSearchProps>, {
12
+ modelValue: () => {};
13
+ defaultValues: () => {};
14
+ hasFooter: boolean;
15
+ hasReset: boolean;
16
+ hasUnfold: boolean;
17
+ defaultUnfold: boolean;
18
+ searchLoading: boolean;
19
+ searchText: string;
20
+ resetText: string;
21
+ retractText: string;
22
+ expandText: string;
23
+ inline: boolean;
24
+ showNumber: number;
25
+ labelPosition: undefined;
26
+ columns: () => never[];
27
+ rowProps: () => {
28
+ gutter: number;
29
+ };
30
+ colProps: () => {
31
+ xs: number;
32
+ sm: number;
33
+ md: number;
34
+ lg: number;
35
+ xl: number;
36
+ };
37
+ needValidate: boolean;
38
+ searchIcon: undefined;
39
+ resetIcon: undefined;
40
+ }>, {
41
+ plusFormInstance: Ref<({
42
+ $: ComponentInternalInstance;
43
+ $data: {};
44
+ $props: Partial<{
45
+ modelValue: FieldValues;
46
+ collapseDuration: number;
47
+ collapseTransition: boolean;
48
+ columns: PlusColumn[];
49
+ group: false | PlusFormGroupRow[];
50
+ rules: Partial<Record<string, Arrayable<FormItemRule>>>;
51
+ labelPosition: "top" | "right" | "left";
52
+ labelWidth: string | number;
53
+ labelSuffix: string;
54
+ hasLabel: boolean;
55
+ defaultValues: FieldValues;
56
+ rowProps: Partial< Mutable<RowProps> & {
57
+ style?: CSSProperties | undefined;
58
+ class?: any;
59
+ } & RecordType>;
60
+ colProps: Partial< Mutable<ColProps> & {
61
+ style?: CSSProperties | undefined;
62
+ class?: any;
63
+ } & RecordType>;
64
+ hasErrorTip: boolean;
65
+ hasFooter: boolean;
66
+ hasReset: boolean;
67
+ submitText: string;
68
+ resetText: string;
69
+ submitLoading: boolean;
70
+ footerAlign: "center" | "right" | "left";
71
+ cardProps: Partial< Mutable<CardProps> & {
72
+ style?: CSSProperties | undefined;
73
+ class?: any;
74
+ } & RecordType>;
75
+ prevent: boolean;
76
+ clearable: boolean;
77
+ }> & Omit<{
78
+ readonly modelValue: FieldValues;
79
+ readonly columns: PlusColumn[];
80
+ readonly group: false | PlusFormGroupRow[];
81
+ readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
82
+ readonly labelPosition: "top" | "right" | "left";
83
+ readonly labelWidth: string | number;
84
+ readonly labelSuffix: string;
85
+ readonly hasLabel: boolean;
86
+ readonly defaultValues: FieldValues;
87
+ readonly rowProps: Partial< Mutable<RowProps> & {
88
+ style?: CSSProperties | undefined;
89
+ class?: any;
90
+ } & RecordType>;
91
+ readonly colProps: Partial< Mutable<ColProps> & {
92
+ style?: CSSProperties | undefined;
93
+ class?: any;
94
+ } & RecordType>;
95
+ readonly hasErrorTip: boolean;
96
+ readonly hasFooter: boolean;
97
+ readonly hasReset: boolean;
98
+ readonly submitText: string;
99
+ readonly resetText: string;
100
+ readonly submitLoading: boolean;
101
+ readonly footerAlign: "center" | "right" | "left";
102
+ readonly cardProps: Partial< Mutable<CardProps> & {
103
+ style?: CSSProperties | undefined;
104
+ class?: any;
105
+ } & RecordType>;
106
+ readonly prevent: boolean;
107
+ readonly clearable: boolean;
108
+ readonly collapseDuration?: number | undefined;
109
+ readonly collapseTransition?: boolean | undefined;
110
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
111
+ onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
112
+ onReset?: ((values: FieldValues) => any) | undefined;
113
+ onSubmit?: ((values: FieldValues) => any) | undefined;
114
+ onValidate?: ((...args: any[]) => any) | undefined;
115
+ onSubmitError?: ((errors: unknown) => any) | undefined;
116
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
117
+ modelValue: {
118
+ type: PropType<FieldValues>;
119
+ default: () => {};
120
+ };
121
+ collapseDuration: {
122
+ type: PropType<number>;
123
+ default: undefined;
124
+ };
125
+ collapseTransition: {
126
+ type: PropType<boolean>;
127
+ default: undefined;
128
+ };
129
+ columns: {
130
+ type: PropType<PlusColumn[]>;
131
+ default: () => never[];
132
+ };
133
+ group: {
134
+ type: PropType<false | PlusFormGroupRow[]>;
135
+ default: boolean;
136
+ };
137
+ rules: {
138
+ type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
139
+ default: () => {};
140
+ };
141
+ labelPosition: {
142
+ type: PropType<"top" | "right" | "left">;
143
+ default: string;
144
+ };
145
+ labelWidth: {
146
+ type: PropType<string | number>;
147
+ default: string;
148
+ };
149
+ labelSuffix: {
150
+ type: PropType<string>;
151
+ default: string;
152
+ };
153
+ hasLabel: {
154
+ type: PropType<boolean>;
155
+ default: boolean;
156
+ };
157
+ defaultValues: {
158
+ type: PropType<FieldValues>;
159
+ default: () => {};
160
+ };
161
+ rowProps: {
162
+ type: PropType<Partial< Mutable<RowProps> & {
163
+ style?: CSSProperties | undefined;
164
+ class?: any;
165
+ } & RecordType>>;
166
+ default: () => {};
167
+ };
168
+ colProps: {
169
+ type: PropType<Partial< Mutable<ColProps> & {
170
+ style?: CSSProperties | undefined;
171
+ class?: any;
172
+ } & RecordType>>;
173
+ default: () => {};
174
+ };
175
+ hasErrorTip: {
176
+ type: PropType<boolean>;
177
+ default: boolean;
178
+ };
179
+ hasFooter: {
180
+ type: PropType<boolean>;
181
+ default: boolean;
182
+ };
183
+ hasReset: {
184
+ type: PropType<boolean>;
185
+ default: boolean;
186
+ };
187
+ submitText: {
188
+ type: PropType<string>;
189
+ default: string;
190
+ };
191
+ resetText: {
192
+ type: PropType<string>;
193
+ default: string;
194
+ };
195
+ submitLoading: {
196
+ type: PropType<boolean>;
197
+ default: boolean;
198
+ };
199
+ footerAlign: {
200
+ type: PropType<"center" | "right" | "left">;
201
+ default: string;
202
+ };
203
+ cardProps: {
204
+ type: PropType<Partial< Mutable<CardProps> & {
205
+ style?: CSSProperties | undefined;
206
+ class?: any;
207
+ } & RecordType>>;
208
+ default: () => {};
209
+ };
210
+ prevent: {
211
+ type: PropType<boolean>;
212
+ default: boolean;
213
+ };
214
+ clearable: {
215
+ type: PropType<boolean>;
216
+ default: boolean;
217
+ };
218
+ }>> & {
219
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
220
+ onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
221
+ onReset?: ((values: FieldValues) => any) | undefined;
222
+ onSubmit?: ((values: FieldValues) => any) | undefined;
223
+ onValidate?: ((...args: any[]) => any) | undefined;
224
+ onSubmitError?: ((errors: unknown) => any) | undefined;
225
+ }, "modelValue" | "collapseDuration" | "collapseTransition" | "columns" | "group" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
226
+ $attrs: {
227
+ [x: string]: unknown;
228
+ };
229
+ $refs: {
230
+ [x: string]: unknown;
231
+ };
232
+ $slots: Readonly<{
233
+ [name: string]: Slot<any> | undefined;
234
+ }>;
235
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
236
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
237
+ $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);
238
+ $el: any;
239
+ $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
240
+ modelValue: {
241
+ type: PropType<FieldValues>;
242
+ default: () => {};
243
+ };
244
+ collapseDuration: {
245
+ type: PropType<number>;
246
+ default: undefined;
247
+ };
248
+ collapseTransition: {
249
+ type: PropType<boolean>;
250
+ default: undefined;
251
+ };
252
+ columns: {
253
+ type: PropType<PlusColumn[]>;
254
+ default: () => never[];
255
+ };
256
+ group: {
257
+ type: PropType<false | PlusFormGroupRow[]>;
258
+ default: boolean;
259
+ };
260
+ rules: {
261
+ type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
262
+ default: () => {};
263
+ };
264
+ labelPosition: {
265
+ type: PropType<"top" | "right" | "left">;
266
+ default: string;
267
+ };
268
+ labelWidth: {
269
+ type: PropType<string | number>;
270
+ default: string;
271
+ };
272
+ labelSuffix: {
273
+ type: PropType<string>;
274
+ default: string;
275
+ };
276
+ hasLabel: {
277
+ type: PropType<boolean>;
278
+ default: boolean;
279
+ };
280
+ defaultValues: {
281
+ type: PropType<FieldValues>;
282
+ default: () => {};
283
+ };
284
+ rowProps: {
285
+ type: PropType<Partial< Mutable<RowProps> & {
286
+ style?: CSSProperties | undefined;
287
+ class?: any;
288
+ } & RecordType>>;
289
+ default: () => {};
290
+ };
291
+ colProps: {
292
+ type: PropType<Partial< Mutable<ColProps> & {
293
+ style?: CSSProperties | undefined;
294
+ class?: any;
295
+ } & RecordType>>;
296
+ default: () => {};
297
+ };
298
+ hasErrorTip: {
299
+ type: PropType<boolean>;
300
+ default: boolean;
301
+ };
302
+ hasFooter: {
303
+ type: PropType<boolean>;
304
+ default: boolean;
305
+ };
306
+ hasReset: {
307
+ type: PropType<boolean>;
308
+ default: boolean;
309
+ };
310
+ submitText: {
311
+ type: PropType<string>;
312
+ default: string;
313
+ };
314
+ resetText: {
315
+ type: PropType<string>;
316
+ default: string;
317
+ };
318
+ submitLoading: {
319
+ type: PropType<boolean>;
320
+ default: boolean;
321
+ };
322
+ footerAlign: {
323
+ type: PropType<"center" | "right" | "left">;
324
+ default: string;
325
+ };
326
+ cardProps: {
327
+ type: PropType<Partial< Mutable<CardProps> & {
328
+ style?: CSSProperties | undefined;
329
+ class?: any;
330
+ } & RecordType>>;
331
+ default: () => {};
332
+ };
333
+ prevent: {
334
+ type: PropType<boolean>;
335
+ default: boolean;
336
+ };
337
+ clearable: {
338
+ type: PropType<boolean>;
339
+ default: boolean;
340
+ };
341
+ }>> & {
342
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
343
+ onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
344
+ onReset?: ((values: FieldValues) => any) | undefined;
345
+ onSubmit?: ((values: FieldValues) => any) | undefined;
346
+ onValidate?: ((...args: any[]) => any) | undefined;
347
+ onSubmitError?: ((errors: unknown) => any) | undefined;
348
+ }, {
349
+ formInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
350
+ readonly model: ObjectConstructor;
351
+ readonly rules: {
352
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
353
+ readonly required: false;
354
+ readonly validator: ((val: unknown) => boolean) | undefined;
355
+ __epPropKey: true;
356
+ };
357
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
358
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
359
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
360
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
361
+ readonly inline: BooleanConstructor;
362
+ readonly inlineMessage: BooleanConstructor;
363
+ readonly statusIcon: BooleanConstructor;
364
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
365
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
366
+ readonly hideRequiredAsterisk: BooleanConstructor;
367
+ readonly scrollToError: BooleanConstructor;
368
+ readonly scrollIntoViewOptions: {
369
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
370
+ readonly required: false;
371
+ readonly validator: ((val: unknown) => boolean) | undefined;
372
+ __epPropKey: true;
373
+ };
374
+ readonly size: {
375
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
376
+ readonly required: false;
377
+ readonly validator: ((val: unknown) => boolean) | undefined;
378
+ __epPropKey: true;
379
+ };
380
+ readonly disabled: BooleanConstructor;
381
+ }>> & {
382
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
383
+ }, {
384
+ COMPONENT_NAME: string;
385
+ props: Readonly< LooseRequired<Readonly< ExtractPropTypes<{
386
+ readonly model: ObjectConstructor;
387
+ readonly rules: {
388
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
389
+ readonly required: false;
390
+ readonly validator: ((val: unknown) => boolean) | undefined;
391
+ __epPropKey: true;
392
+ };
393
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
394
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
395
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
396
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
397
+ readonly inline: BooleanConstructor;
398
+ readonly inlineMessage: BooleanConstructor;
399
+ readonly statusIcon: BooleanConstructor;
400
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
401
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
402
+ readonly hideRequiredAsterisk: BooleanConstructor;
403
+ readonly scrollToError: BooleanConstructor;
404
+ readonly scrollIntoViewOptions: {
405
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
406
+ readonly required: false;
407
+ readonly validator: ((val: unknown) => boolean) | undefined;
408
+ __epPropKey: true;
409
+ };
410
+ readonly size: {
411
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
412
+ readonly required: false;
413
+ readonly validator: ((val: unknown) => boolean) | undefined;
414
+ __epPropKey: true;
415
+ };
416
+ readonly disabled: BooleanConstructor;
417
+ }>> & {
418
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
419
+ }>>;
420
+ emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
421
+ fields: FormItemContext[];
422
+ formSize: ComputedRef<"" | "default" | "small" | "large">;
423
+ ns: {
424
+ namespace: ComputedRef<string>;
425
+ b: (blockSuffix?: string | undefined) => string;
426
+ e: (element?: string | undefined) => string;
427
+ m: (modifier?: string | undefined) => string;
428
+ be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
429
+ em: (element?: string | undefined, modifier?: string | undefined) => string;
430
+ bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
431
+ bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
432
+ is: {
433
+ (name: string, state: boolean | undefined): string;
434
+ (name: string): string;
435
+ };
436
+ cssVar: (object: Record<string, string>) => Record<string, string>;
437
+ cssVarName: (name: string) => string;
438
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
439
+ cssVarBlockName: (name: string) => string;
440
+ };
441
+ formClasses: ComputedRef<(string | {
442
+ [x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
443
+ })[]>;
444
+ getField: (prop: string) => FormItemContext | undefined;
445
+ addField: (field: FormItemContext) => void;
446
+ removeField: (field: FormItemContext) => void;
447
+ resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
448
+ clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
449
+ isValidatable: ComputedRef<boolean>;
450
+ obtainValidateFields: (props: Arrayable<FormItemProp>) => FormItemContext[];
451
+ validate: (callback?: FormValidateCallback | undefined) => FormValidationResult;
452
+ doValidateField: (props?: Arrayable<FormItemProp> | undefined) => Promise<boolean>;
453
+ validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
454
+ scrollToField: (prop: FormItemProp) => void;
455
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
456
+ validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
457
+ }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
458
+ readonly model: ObjectConstructor;
459
+ readonly rules: {
460
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
461
+ readonly required: false;
462
+ readonly validator: ((val: unknown) => boolean) | undefined;
463
+ __epPropKey: true;
464
+ };
465
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
466
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
467
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
468
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
469
+ readonly inline: BooleanConstructor;
470
+ readonly inlineMessage: BooleanConstructor;
471
+ readonly statusIcon: BooleanConstructor;
472
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
473
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
474
+ readonly hideRequiredAsterisk: BooleanConstructor;
475
+ readonly scrollToError: BooleanConstructor;
476
+ readonly scrollIntoViewOptions: {
477
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
478
+ readonly required: false;
479
+ readonly validator: ((val: unknown) => boolean) | undefined;
480
+ __epPropKey: true;
481
+ };
482
+ readonly size: {
483
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
484
+ readonly required: false;
485
+ readonly validator: ((val: unknown) => boolean) | undefined;
486
+ __epPropKey: true;
487
+ };
488
+ readonly disabled: BooleanConstructor;
489
+ }>> & {
490
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
491
+ }, {
492
+ readonly disabled: boolean;
493
+ readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
494
+ readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
495
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
496
+ readonly labelSuffix: string;
497
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
498
+ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
499
+ readonly inline: boolean;
500
+ readonly inlineMessage: boolean;
501
+ readonly statusIcon: boolean;
502
+ readonly hideRequiredAsterisk: boolean;
503
+ readonly scrollToError: boolean;
504
+ }, true, {}, {}, {
505
+ P: {};
506
+ B: {};
507
+ D: {};
508
+ C: {};
509
+ M: {};
510
+ Defaults: {};
511
+ }, Readonly< ExtractPropTypes<{
512
+ readonly model: ObjectConstructor;
513
+ readonly rules: {
514
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
515
+ readonly required: false;
516
+ readonly validator: ((val: unknown) => boolean) | undefined;
517
+ __epPropKey: true;
518
+ };
519
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
520
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
521
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
522
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
523
+ readonly inline: BooleanConstructor;
524
+ readonly inlineMessage: BooleanConstructor;
525
+ readonly statusIcon: BooleanConstructor;
526
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
527
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
528
+ readonly hideRequiredAsterisk: BooleanConstructor;
529
+ readonly scrollToError: BooleanConstructor;
530
+ readonly scrollIntoViewOptions: {
531
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
532
+ readonly required: false;
533
+ readonly validator: ((val: unknown) => boolean) | undefined;
534
+ __epPropKey: true;
535
+ };
536
+ readonly size: {
537
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
538
+ readonly required: false;
539
+ readonly validator: ((val: unknown) => boolean) | undefined;
540
+ __epPropKey: true;
541
+ };
542
+ readonly disabled: BooleanConstructor;
543
+ }>> & {
544
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
545
+ }, {
546
+ COMPONENT_NAME: string;
547
+ props: Readonly< LooseRequired<Readonly< ExtractPropTypes<{
548
+ readonly model: ObjectConstructor;
549
+ readonly rules: {
550
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
551
+ readonly required: false;
552
+ readonly validator: ((val: unknown) => boolean) | undefined;
553
+ __epPropKey: true;
554
+ };
555
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
556
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
557
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
558
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
559
+ readonly inline: BooleanConstructor;
560
+ readonly inlineMessage: BooleanConstructor;
561
+ readonly statusIcon: BooleanConstructor;
562
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
563
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
564
+ readonly hideRequiredAsterisk: BooleanConstructor;
565
+ readonly scrollToError: BooleanConstructor;
566
+ readonly scrollIntoViewOptions: {
567
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
568
+ readonly required: false;
569
+ readonly validator: ((val: unknown) => boolean) | undefined;
570
+ __epPropKey: true;
571
+ };
572
+ readonly size: {
573
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
574
+ readonly required: false;
575
+ readonly validator: ((val: unknown) => boolean) | undefined;
576
+ __epPropKey: true;
577
+ };
578
+ readonly disabled: BooleanConstructor;
579
+ }>> & {
580
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
581
+ }>>;
582
+ emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
583
+ fields: FormItemContext[];
584
+ formSize: ComputedRef<"" | "default" | "small" | "large">;
585
+ ns: {
586
+ namespace: ComputedRef<string>;
587
+ b: (blockSuffix?: string | undefined) => string;
588
+ e: (element?: string | undefined) => string;
589
+ m: (modifier?: string | undefined) => string;
590
+ be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
591
+ em: (element?: string | undefined, modifier?: string | undefined) => string;
592
+ bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
593
+ bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
594
+ is: {
595
+ (name: string, state: boolean | undefined): string;
596
+ (name: string): string;
597
+ };
598
+ cssVar: (object: Record<string, string>) => Record<string, string>;
599
+ cssVarName: (name: string) => string;
600
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
601
+ cssVarBlockName: (name: string) => string;
602
+ };
603
+ formClasses: ComputedRef<(string | {
604
+ [x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
605
+ })[]>;
606
+ getField: (prop: string) => FormItemContext | undefined;
607
+ addField: (field: FormItemContext) => void;
608
+ removeField: (field: FormItemContext) => void;
609
+ resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
610
+ clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
611
+ isValidatable: ComputedRef<boolean>;
612
+ obtainValidateFields: (props: Arrayable<FormItemProp>) => FormItemContext[];
613
+ validate: (callback?: FormValidateCallback | undefined) => FormValidationResult;
614
+ doValidateField: (props?: Arrayable<FormItemProp> | undefined) => Promise<boolean>;
615
+ validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
616
+ scrollToField: (prop: FormItemProp) => void;
617
+ }, {}, {}, {}, {
618
+ readonly disabled: boolean;
619
+ readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
620
+ readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
621
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
622
+ readonly labelSuffix: string;
623
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
624
+ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
625
+ readonly inline: boolean;
626
+ readonly inlineMessage: boolean;
627
+ readonly statusIcon: boolean;
628
+ readonly hideRequiredAsterisk: boolean;
629
+ readonly scrollToError: boolean;
630
+ }> | null>;
631
+ handleSubmit: () => void;
632
+ handleReset: () => void;
633
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
634
+ "update:modelValue": (values: FieldValues) => void;
635
+ submit: (values: FieldValues) => void;
636
+ change: (values: FieldValues, column: PlusColumn) => void;
637
+ reset: (values: FieldValues) => void;
638
+ submitError: (errors: unknown) => void;
639
+ validate: (...args: any[]) => void;
640
+ }, string, {
641
+ modelValue: FieldValues;
642
+ collapseDuration: number;
643
+ collapseTransition: boolean;
644
+ columns: PlusColumn[];
645
+ group: false | PlusFormGroupRow[];
646
+ rules: Partial<Record<string, Arrayable<FormItemRule>>>;
647
+ labelPosition: "top" | "right" | "left";
648
+ labelWidth: string | number;
649
+ labelSuffix: string;
650
+ hasLabel: boolean;
651
+ defaultValues: FieldValues;
652
+ rowProps: Partial< Mutable<RowProps> & {
653
+ style?: CSSProperties | undefined;
654
+ class?: any;
655
+ } & RecordType>;
656
+ colProps: Partial< Mutable<ColProps> & {
657
+ style?: CSSProperties | undefined;
658
+ class?: any;
659
+ } & RecordType>;
660
+ hasErrorTip: boolean;
661
+ hasFooter: boolean;
662
+ hasReset: boolean;
663
+ submitText: string;
664
+ resetText: string;
665
+ submitLoading: boolean;
666
+ footerAlign: "center" | "right" | "left";
667
+ cardProps: Partial< Mutable<CardProps> & {
668
+ style?: CSSProperties | undefined;
669
+ class?: any;
670
+ } & RecordType>;
671
+ prevent: boolean;
672
+ clearable: boolean;
673
+ }, {}, string, {}> & {
674
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
675
+ created?: ((() => void) | (() => void)[]) | undefined;
676
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
677
+ mounted?: ((() => void) | (() => void)[]) | undefined;
678
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
679
+ updated?: ((() => void) | (() => void)[]) | undefined;
680
+ activated?: ((() => void) | (() => void)[]) | undefined;
681
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
682
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
683
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
684
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
685
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
686
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
687
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
688
+ errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
689
+ };
690
+ $forceUpdate: () => void;
691
+ $nextTick: nextTick;
692
+ $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;
693
+ } & Omit<Readonly< ExtractPropTypes<{
694
+ modelValue: {
695
+ type: PropType<FieldValues>;
696
+ default: () => {};
697
+ };
698
+ collapseDuration: {
699
+ type: PropType<number>;
700
+ default: undefined;
701
+ };
702
+ collapseTransition: {
703
+ type: PropType<boolean>;
704
+ default: undefined;
705
+ };
706
+ columns: {
707
+ type: PropType<PlusColumn[]>;
708
+ default: () => never[];
709
+ };
710
+ group: {
711
+ type: PropType<false | PlusFormGroupRow[]>;
712
+ default: boolean;
713
+ };
714
+ rules: {
715
+ type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
716
+ default: () => {};
717
+ };
718
+ labelPosition: {
719
+ type: PropType<"top" | "right" | "left">;
720
+ default: string;
721
+ };
722
+ labelWidth: {
723
+ type: PropType<string | number>;
724
+ default: string;
725
+ };
726
+ labelSuffix: {
727
+ type: PropType<string>;
728
+ default: string;
729
+ };
730
+ hasLabel: {
731
+ type: PropType<boolean>;
732
+ default: boolean;
733
+ };
734
+ defaultValues: {
735
+ type: PropType<FieldValues>;
736
+ default: () => {};
737
+ };
738
+ rowProps: {
739
+ type: PropType<Partial< Mutable<RowProps> & {
740
+ style?: CSSProperties | undefined;
741
+ class?: any;
742
+ } & RecordType>>;
743
+ default: () => {};
744
+ };
745
+ colProps: {
746
+ type: PropType<Partial< Mutable<ColProps> & {
747
+ style?: CSSProperties | undefined;
748
+ class?: any;
749
+ } & RecordType>>;
750
+ default: () => {};
751
+ };
752
+ hasErrorTip: {
753
+ type: PropType<boolean>;
754
+ default: boolean;
755
+ };
756
+ hasFooter: {
757
+ type: PropType<boolean>;
758
+ default: boolean;
759
+ };
760
+ hasReset: {
761
+ type: PropType<boolean>;
762
+ default: boolean;
763
+ };
764
+ submitText: {
765
+ type: PropType<string>;
766
+ default: string;
767
+ };
768
+ resetText: {
769
+ type: PropType<string>;
770
+ default: string;
771
+ };
772
+ submitLoading: {
773
+ type: PropType<boolean>;
774
+ default: boolean;
775
+ };
776
+ footerAlign: {
777
+ type: PropType<"center" | "right" | "left">;
778
+ default: string;
779
+ };
780
+ cardProps: {
781
+ type: PropType<Partial< Mutable<CardProps> & {
782
+ style?: CSSProperties | undefined;
783
+ class?: any;
784
+ } & RecordType>>;
785
+ default: () => {};
786
+ };
787
+ prevent: {
788
+ type: PropType<boolean>;
789
+ default: boolean;
790
+ };
791
+ clearable: {
792
+ type: PropType<boolean>;
793
+ default: boolean;
794
+ };
795
+ }>> & {
796
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
797
+ onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
798
+ onReset?: ((values: FieldValues) => any) | undefined;
799
+ onSubmit?: ((values: FieldValues) => any) | undefined;
800
+ onValidate?: ((...args: any[]) => any) | undefined;
801
+ onSubmitError?: ((errors: unknown) => any) | undefined;
802
+ }, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
803
+ formInstance: Ref< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
804
+ readonly model: ObjectConstructor;
805
+ readonly rules: {
806
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
807
+ readonly required: false;
808
+ readonly validator: ((val: unknown) => boolean) | undefined;
809
+ __epPropKey: true;
810
+ };
811
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
812
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
813
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
814
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
815
+ readonly inline: BooleanConstructor;
816
+ readonly inlineMessage: BooleanConstructor;
817
+ readonly statusIcon: BooleanConstructor;
818
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
819
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
820
+ readonly hideRequiredAsterisk: BooleanConstructor;
821
+ readonly scrollToError: BooleanConstructor;
822
+ readonly scrollIntoViewOptions: {
823
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
824
+ readonly required: false;
825
+ readonly validator: ((val: unknown) => boolean) | undefined;
826
+ __epPropKey: true;
827
+ };
828
+ readonly size: {
829
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
830
+ readonly required: false;
831
+ readonly validator: ((val: unknown) => boolean) | undefined;
832
+ __epPropKey: true;
833
+ };
834
+ readonly disabled: BooleanConstructor;
835
+ }>> & {
836
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
837
+ }, {
838
+ COMPONENT_NAME: string;
839
+ props: Readonly< LooseRequired<Readonly< ExtractPropTypes<{
840
+ readonly model: ObjectConstructor;
841
+ readonly rules: {
842
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
843
+ readonly required: false;
844
+ readonly validator: ((val: unknown) => boolean) | undefined;
845
+ __epPropKey: true;
846
+ };
847
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
848
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
849
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
850
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
851
+ readonly inline: BooleanConstructor;
852
+ readonly inlineMessage: BooleanConstructor;
853
+ readonly statusIcon: BooleanConstructor;
854
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
855
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
856
+ readonly hideRequiredAsterisk: BooleanConstructor;
857
+ readonly scrollToError: BooleanConstructor;
858
+ readonly scrollIntoViewOptions: {
859
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
860
+ readonly required: false;
861
+ readonly validator: ((val: unknown) => boolean) | undefined;
862
+ __epPropKey: true;
863
+ };
864
+ readonly size: {
865
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
866
+ readonly required: false;
867
+ readonly validator: ((val: unknown) => boolean) | undefined;
868
+ __epPropKey: true;
869
+ };
870
+ readonly disabled: BooleanConstructor;
871
+ }>> & {
872
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
873
+ }>>;
874
+ emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
875
+ fields: FormItemContext[];
876
+ formSize: ComputedRef<"" | "default" | "small" | "large">;
877
+ ns: {
878
+ namespace: ComputedRef<string>;
879
+ b: (blockSuffix?: string | undefined) => string;
880
+ e: (element?: string | undefined) => string;
881
+ m: (modifier?: string | undefined) => string;
882
+ be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
883
+ em: (element?: string | undefined, modifier?: string | undefined) => string;
884
+ bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
885
+ bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
886
+ is: {
887
+ (name: string, state: boolean | undefined): string;
888
+ (name: string): string;
889
+ };
890
+ cssVar: (object: Record<string, string>) => Record<string, string>;
891
+ cssVarName: (name: string) => string;
892
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
893
+ cssVarBlockName: (name: string) => string;
894
+ };
895
+ formClasses: ComputedRef<(string | {
896
+ [x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
897
+ })[]>;
898
+ getField: (prop: string) => FormItemContext | undefined;
899
+ addField: (field: FormItemContext) => void;
900
+ removeField: (field: FormItemContext) => void;
901
+ resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
902
+ clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
903
+ isValidatable: ComputedRef<boolean>;
904
+ obtainValidateFields: (props: Arrayable<FormItemProp>) => FormItemContext[];
905
+ validate: (callback?: FormValidateCallback | undefined) => FormValidationResult;
906
+ doValidateField: (props?: Arrayable<FormItemProp> | undefined) => Promise<boolean>;
907
+ validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
908
+ scrollToField: (prop: FormItemProp) => void;
909
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
910
+ validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
911
+ }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
912
+ readonly model: ObjectConstructor;
913
+ readonly rules: {
914
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
915
+ readonly required: false;
916
+ readonly validator: ((val: unknown) => boolean) | undefined;
917
+ __epPropKey: true;
918
+ };
919
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
920
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
921
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
922
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
923
+ readonly inline: BooleanConstructor;
924
+ readonly inlineMessage: BooleanConstructor;
925
+ readonly statusIcon: BooleanConstructor;
926
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
927
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
928
+ readonly hideRequiredAsterisk: BooleanConstructor;
929
+ readonly scrollToError: BooleanConstructor;
930
+ readonly scrollIntoViewOptions: {
931
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
932
+ readonly required: false;
933
+ readonly validator: ((val: unknown) => boolean) | undefined;
934
+ __epPropKey: true;
935
+ };
936
+ readonly size: {
937
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
938
+ readonly required: false;
939
+ readonly validator: ((val: unknown) => boolean) | undefined;
940
+ __epPropKey: true;
941
+ };
942
+ readonly disabled: BooleanConstructor;
943
+ }>> & {
944
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
945
+ }, {
946
+ readonly disabled: boolean;
947
+ readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
948
+ readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
949
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
950
+ readonly labelSuffix: string;
951
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
952
+ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
953
+ readonly inline: boolean;
954
+ readonly inlineMessage: boolean;
955
+ readonly statusIcon: boolean;
956
+ readonly hideRequiredAsterisk: boolean;
957
+ readonly scrollToError: boolean;
958
+ }, true, {}, {}, {
959
+ P: {};
960
+ B: {};
961
+ D: {};
962
+ C: {};
963
+ M: {};
964
+ Defaults: {};
965
+ }, Readonly< ExtractPropTypes<{
966
+ readonly model: ObjectConstructor;
967
+ readonly rules: {
968
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
969
+ readonly required: false;
970
+ readonly validator: ((val: unknown) => boolean) | undefined;
971
+ __epPropKey: true;
972
+ };
973
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
974
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
975
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
976
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
977
+ readonly inline: BooleanConstructor;
978
+ readonly inlineMessage: BooleanConstructor;
979
+ readonly statusIcon: BooleanConstructor;
980
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
981
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
982
+ readonly hideRequiredAsterisk: BooleanConstructor;
983
+ readonly scrollToError: BooleanConstructor;
984
+ readonly scrollIntoViewOptions: {
985
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
986
+ readonly required: false;
987
+ readonly validator: ((val: unknown) => boolean) | undefined;
988
+ __epPropKey: true;
989
+ };
990
+ readonly size: {
991
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
992
+ readonly required: false;
993
+ readonly validator: ((val: unknown) => boolean) | undefined;
994
+ __epPropKey: true;
995
+ };
996
+ readonly disabled: BooleanConstructor;
997
+ }>> & {
998
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
999
+ }, {
1000
+ COMPONENT_NAME: string;
1001
+ props: Readonly< LooseRequired<Readonly< ExtractPropTypes<{
1002
+ readonly model: ObjectConstructor;
1003
+ readonly rules: {
1004
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1005
+ readonly required: false;
1006
+ readonly validator: ((val: unknown) => boolean) | undefined;
1007
+ __epPropKey: true;
1008
+ };
1009
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
1010
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
1011
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
1012
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
1013
+ readonly inline: BooleanConstructor;
1014
+ readonly inlineMessage: BooleanConstructor;
1015
+ readonly statusIcon: BooleanConstructor;
1016
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1017
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1018
+ readonly hideRequiredAsterisk: BooleanConstructor;
1019
+ readonly scrollToError: BooleanConstructor;
1020
+ readonly scrollIntoViewOptions: {
1021
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
1022
+ readonly required: false;
1023
+ readonly validator: ((val: unknown) => boolean) | undefined;
1024
+ __epPropKey: true;
1025
+ };
1026
+ readonly size: {
1027
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
1028
+ readonly required: false;
1029
+ readonly validator: ((val: unknown) => boolean) | undefined;
1030
+ __epPropKey: true;
1031
+ };
1032
+ readonly disabled: BooleanConstructor;
1033
+ }>> & {
1034
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
1035
+ }>>;
1036
+ emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
1037
+ fields: FormItemContext[];
1038
+ formSize: ComputedRef<"" | "default" | "small" | "large">;
1039
+ ns: {
1040
+ namespace: ComputedRef<string>;
1041
+ b: (blockSuffix?: string | undefined) => string;
1042
+ e: (element?: string | undefined) => string;
1043
+ m: (modifier?: string | undefined) => string;
1044
+ be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
1045
+ em: (element?: string | undefined, modifier?: string | undefined) => string;
1046
+ bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
1047
+ bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
1048
+ is: {
1049
+ (name: string, state: boolean | undefined): string;
1050
+ (name: string): string;
1051
+ };
1052
+ cssVar: (object: Record<string, string>) => Record<string, string>;
1053
+ cssVarName: (name: string) => string;
1054
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
1055
+ cssVarBlockName: (name: string) => string;
1056
+ };
1057
+ formClasses: ComputedRef<(string | {
1058
+ [x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
1059
+ })[]>;
1060
+ getField: (prop: string) => FormItemContext | undefined;
1061
+ addField: (field: FormItemContext) => void;
1062
+ removeField: (field: FormItemContext) => void;
1063
+ resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
1064
+ clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
1065
+ isValidatable: ComputedRef<boolean>;
1066
+ obtainValidateFields: (props: Arrayable<FormItemProp>) => FormItemContext[];
1067
+ validate: (callback?: FormValidateCallback | undefined) => FormValidationResult;
1068
+ doValidateField: (props?: Arrayable<FormItemProp> | undefined) => Promise<boolean>;
1069
+ validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
1070
+ scrollToField: (prop: FormItemProp) => void;
1071
+ }, {}, {}, {}, {
1072
+ readonly disabled: boolean;
1073
+ readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
1074
+ readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
1075
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
1076
+ readonly labelSuffix: string;
1077
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1078
+ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1079
+ readonly inline: boolean;
1080
+ readonly inlineMessage: boolean;
1081
+ readonly statusIcon: boolean;
1082
+ readonly hideRequiredAsterisk: boolean;
1083
+ readonly scrollToError: boolean;
1084
+ }> | null>;
1085
+ handleSubmit: () => void;
1086
+ handleReset: () => void;
1087
+ }> & {} & ComponentCustomProperties & {} & {
1088
+ $slots: Partial<Record<string, (_: {
1089
+ index: number;
1090
+ title: string | ComputedRef<string>;
1091
+ name?: string | undefined;
1092
+ icon?: Component | undefined;
1093
+ cardProps?: Partial< Mutable<CardProps> & {
1094
+ style?: CSSProperties | undefined;
1095
+ class?: any;
1096
+ } & RecordType> | undefined;
1097
+ hideInGroup?: boolean | ComputedRef<boolean> | undefined;
1098
+ columns?: PlusColumn[] | undefined;
1099
+ }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1100
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1101
+ readonly label: string | ComputedRef<string>;
1102
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1103
+ readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1104
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1105
+ style?: CSSProperties | undefined;
1106
+ class?: any;
1107
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1108
+ style?: CSSProperties | undefined;
1109
+ class?: any;
1110
+ } & RecordType>>;
1111
+ readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
1112
+ [key: string]: any;
1113
+ style?: CSSProperties | undefined;
1114
+ }>;
1115
+ readonly fieldProps: PropsItemType<Partial<{
1116
+ [index: string]: any;
1117
+ [index: number]: any;
1118
+ [index: symbol]: any;
1119
+ class: any;
1120
+ style: CSSProperties;
1121
+ modelModifiers: {
1122
+ [index: string]: any;
1123
+ lazy?: boolean | undefined;
1124
+ trim?: boolean | undefined;
1125
+ number?: boolean | undefined;
1126
+ };
1127
+ rows: number;
1128
+ autocomplete: string;
1129
+ 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";
1130
+ loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1131
+ step: string | number;
1132
+ format: string | ProgressFn | undefined;
1133
+ filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
1134
+ id: string | [string, string];
1135
+ effect: string;
1136
+ height: string | number;
1137
+ autosize: InputAutoSize;
1138
+ } & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
1139
+ readonly options: OptionsType;
1140
+ readonly fieldSlots: {
1141
+ [slotName: string]: (data?: any) => RenderTypes;
1142
+ };
1143
+ readonly valueType: TableValueType | FormItemValueType;
1144
+ readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1145
+ readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1146
+ readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1147
+ readonly renderErrorMessage: ((props: PlusColumn & {
1148
+ value?: FieldValueType;
1149
+ error?: string | undefined;
1150
+ label?: string | undefined;
1151
+ }) => RenderTypes) | undefined;
1152
+ readonly optionsMap: {
1153
+ label?: string | undefined;
1154
+ value?: string | undefined;
1155
+ } | undefined;
1156
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1157
+ store?: any;
1158
+ method?: string | undefined;
1159
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1160
+ dictCode?: string | undefined;
1161
+ } | undefined;
1162
+ readonly clearable: boolean;
1163
+ readonly index: number;
1164
+ } & {
1165
+ readonly clearable: boolean;
1166
+ };
1167
+ label: string;
1168
+ fieldProps: RecordType;
1169
+ formItemProps: RecordType;
1170
+ options: OptionsRow<undefined>[];
1171
+ fieldInstance?: any;
1172
+ valueIsReady?: Ref<boolean> | undefined;
1173
+ prop: string;
1174
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1175
+ hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1176
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1177
+ style?: CSSProperties | undefined;
1178
+ class?: any;
1179
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1180
+ style?: CSSProperties | undefined;
1181
+ class?: any;
1182
+ } & RecordType>>;
1183
+ fieldSlots: {
1184
+ [slotName: string]: (data?: any) => RenderTypes;
1185
+ };
1186
+ valueType: TableValueType | FormItemValueType;
1187
+ renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1188
+ renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1189
+ fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1190
+ renderErrorMessage: ((props: PlusColumn & {
1191
+ value?: FieldValueType;
1192
+ error?: string | undefined;
1193
+ label?: string | undefined;
1194
+ }) => RenderTypes) | undefined;
1195
+ optionsMap: {
1196
+ label?: string | undefined;
1197
+ value?: string | undefined;
1198
+ } | undefined;
1199
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1200
+ store?: any;
1201
+ method?: string | undefined;
1202
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1203
+ dictCode?: string | undefined;
1204
+ } | undefined;
1205
+ clearable: boolean;
1206
+ index: number;
1207
+ }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1208
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1209
+ readonly label: string | ComputedRef<string>;
1210
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1211
+ readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1212
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1213
+ style?: CSSProperties | undefined;
1214
+ class?: any;
1215
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1216
+ style?: CSSProperties | undefined;
1217
+ class?: any;
1218
+ } & RecordType>>;
1219
+ readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
1220
+ [key: string]: any;
1221
+ style?: CSSProperties | undefined;
1222
+ }>;
1223
+ readonly fieldProps: PropsItemType<Partial<{
1224
+ [index: string]: any;
1225
+ [index: number]: any;
1226
+ [index: symbol]: any;
1227
+ class: any;
1228
+ style: CSSProperties;
1229
+ modelModifiers: {
1230
+ [index: string]: any;
1231
+ lazy?: boolean | undefined;
1232
+ trim?: boolean | undefined;
1233
+ number?: boolean | undefined;
1234
+ };
1235
+ rows: number;
1236
+ autocomplete: string;
1237
+ 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";
1238
+ loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1239
+ step: string | number;
1240
+ format: string | ProgressFn | undefined;
1241
+ filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
1242
+ id: string | [string, string];
1243
+ effect: string;
1244
+ height: string | number;
1245
+ autosize: InputAutoSize;
1246
+ } & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
1247
+ readonly options: OptionsType;
1248
+ readonly fieldSlots: {
1249
+ [slotName: string]: (data?: any) => RenderTypes;
1250
+ };
1251
+ readonly valueType: TableValueType | FormItemValueType;
1252
+ readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1253
+ readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1254
+ readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1255
+ readonly renderErrorMessage: ((props: PlusColumn & {
1256
+ value?: FieldValueType;
1257
+ error?: string | undefined;
1258
+ label?: string | undefined;
1259
+ }) => RenderTypes) | undefined;
1260
+ readonly optionsMap: {
1261
+ label?: string | undefined;
1262
+ value?: string | undefined;
1263
+ } | undefined;
1264
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1265
+ store?: any;
1266
+ method?: string | undefined;
1267
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1268
+ dictCode?: string | undefined;
1269
+ } | undefined;
1270
+ readonly clearable: boolean;
1271
+ readonly index: number;
1272
+ } & {
1273
+ readonly clearable: boolean;
1274
+ };
1275
+ label: string;
1276
+ fieldProps: RecordType;
1277
+ formItemProps: RecordType;
1278
+ options: OptionsRow<undefined>[];
1279
+ fieldInstance?: any;
1280
+ valueIsReady?: Ref<boolean> | undefined;
1281
+ prop: string;
1282
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1283
+ hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1284
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1285
+ style?: CSSProperties | undefined;
1286
+ class?: any;
1287
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1288
+ style?: CSSProperties | undefined;
1289
+ class?: any;
1290
+ } & RecordType>>;
1291
+ fieldSlots: {
1292
+ [slotName: string]: (data?: any) => RenderTypes;
1293
+ };
1294
+ valueType: TableValueType | FormItemValueType;
1295
+ renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1296
+ renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1297
+ fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1298
+ renderErrorMessage: ((props: PlusColumn & {
1299
+ value?: FieldValueType;
1300
+ error?: string | undefined;
1301
+ label?: string | undefined;
1302
+ }) => RenderTypes) | undefined;
1303
+ optionsMap: {
1304
+ label?: string | undefined;
1305
+ value?: string | undefined;
1306
+ } | undefined;
1307
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1308
+ store?: any;
1309
+ method?: string | undefined;
1310
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1311
+ dictCode?: string | undefined;
1312
+ } | undefined;
1313
+ clearable: boolean;
1314
+ index: number;
1315
+ }) => any>> & {
1316
+ default?(_: {}): any;
1317
+ "group-header"?(_: {
1318
+ title: string;
1319
+ columns: PlusColumn[] | undefined;
1320
+ icon: Component | undefined;
1321
+ index: number;
1322
+ }): any;
1323
+ footer?(_: {
1324
+ handleReset: () => void;
1325
+ handleSubmit: () => void;
1326
+ }): any;
1327
+ };
1328
+ }) | null | undefined>;
1329
+ handleReset: () => void;
1330
+ handleSearch: () => void;
1331
+ handleUnfold: (e: MouseEvent) => void;
1332
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1333
+ "update:modelValue": (values: FieldValues) => void;
1334
+ search: (values: FieldValues) => void;
1335
+ change: (values: FieldValues, column: PlusColumn) => void;
1336
+ reset: (values: FieldValues) => void;
1337
+ collapse: (isShowUnfold: boolean) => void;
1338
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusSearchProps>, {
1339
+ modelValue: () => {};
1340
+ defaultValues: () => {};
1341
+ hasFooter: boolean;
1342
+ hasReset: boolean;
1343
+ hasUnfold: boolean;
1344
+ defaultUnfold: boolean;
1345
+ searchLoading: boolean;
1346
+ searchText: string;
1347
+ resetText: string;
1348
+ retractText: string;
1349
+ expandText: string;
1350
+ inline: boolean;
1351
+ showNumber: number;
1352
+ labelPosition: undefined;
1353
+ columns: () => never[];
1354
+ rowProps: () => {
1355
+ gutter: number;
1356
+ };
1357
+ colProps: () => {
1358
+ xs: number;
1359
+ sm: number;
1360
+ md: number;
1361
+ lg: number;
1362
+ xl: number;
1363
+ };
1364
+ needValidate: boolean;
1365
+ searchIcon: undefined;
1366
+ resetIcon: undefined;
1367
+ }>>> & {
1368
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1369
+ onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1370
+ onReset?: ((values: FieldValues) => any) | undefined;
1371
+ onSearch?: ((values: FieldValues) => any) | undefined;
1372
+ onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
1373
+ }, {
1374
+ modelValue: FieldValues;
1375
+ columns: PlusColumn[];
1376
+ labelPosition: "top" | "right" | "left";
1377
+ inline: boolean;
1378
+ showNumber: number;
1379
+ defaultValues: FieldValues;
1380
+ rowProps: Partial< Mutable<RowProps> & {
1381
+ style?: CSSProperties | undefined;
1382
+ class?: any;
1383
+ } & RecordType>;
1384
+ colProps: Partial< Mutable<ColProps> & {
1385
+ style?: CSSProperties | undefined;
1386
+ class?: any;
1387
+ } & RecordType>;
1388
+ hasFooter: boolean;
1389
+ hasReset: boolean;
1390
+ resetText: string;
1391
+ hasUnfold: boolean;
1392
+ defaultUnfold: boolean;
1393
+ searchText: string;
1394
+ retractText: string;
1395
+ expandText: string;
1396
+ searchLoading: boolean;
1397
+ needValidate: boolean;
1398
+ searchIcon: Component | null;
1399
+ resetIcon: Component | null;
1400
+ }, {}>, Partial<Record<NonNullable<string | number>, (_: {
1401
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1402
+ readonly label: string | ComputedRef<string>;
1403
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1404
+ readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1405
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1406
+ style?: CSSProperties | undefined;
1407
+ class?: any;
1408
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1409
+ style?: CSSProperties | undefined;
1410
+ class?: any;
1411
+ } & RecordType>>;
1412
+ readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
1413
+ [key: string]: any;
1414
+ style?: CSSProperties | undefined;
1415
+ }>;
1416
+ readonly fieldProps: PropsItemType<Partial<{
1417
+ [index: string]: any;
1418
+ [index: number]: any;
1419
+ [index: symbol]: any;
1420
+ class: any;
1421
+ style: CSSProperties;
1422
+ modelModifiers: {
1423
+ [index: string]: any;
1424
+ lazy?: boolean | undefined;
1425
+ trim?: boolean | undefined;
1426
+ number?: boolean | undefined;
1427
+ };
1428
+ rows: number;
1429
+ autocomplete: string;
1430
+ 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";
1431
+ loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1432
+ step: string | number;
1433
+ format: string | ProgressFn | undefined;
1434
+ filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
1435
+ id: string | [string, string];
1436
+ effect: string;
1437
+ height: string | number;
1438
+ autosize: InputAutoSize;
1439
+ } & Mutable<Omit< AutocompleteProps, OmitTypes> & Omit< CascaderProps, OmitTypes> & Omit< CheckboxGroupProps, OmitTypes> & Omit< ColorPickerProps, OmitTypes> & Omit< DatePickerProps, OmitTypes> & Omit< InputProps, OmitTypes> & Omit< InputNumberProps, OmitTypes> & Omit< RadioGroupProps, OmitTypes> & Omit< RateProps, OmitTypes> & Omit< ISelectProps, OmitTypes> & Omit< SliderProps, OmitTypes> & Omit< SwitchProps, OmitTypes> & Omit< TimePickerDefaultProps, OmitTypes> & Omit< TimeSelectProps, OmitTypes> & Omit< PlusRadioProps, OmitTypes> & Omit< PlusDatePickerProps, OmitTypes> & Omit< PlusInputTagProps, OmitTypes> & Omit< TextProps, OmitTypes> & Omit< ImageProps, OmitTypes> & Omit< LinkProps, OmitTypes> & Omit< TagProps, OmitTypes> & Omit< ProgressProps, OmitTypes>>>>;
1440
+ readonly options: OptionsType;
1441
+ readonly fieldSlots: {
1442
+ [slotName: string]: (data?: any) => RenderTypes;
1443
+ };
1444
+ readonly valueType: TableValueType | FormItemValueType;
1445
+ readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1446
+ readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1447
+ readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1448
+ readonly renderErrorMessage: ((props: PlusColumn & {
1449
+ value?: FieldValueType;
1450
+ error?: string | undefined;
1451
+ label?: string | undefined;
1452
+ }) => RenderTypes) | undefined;
1453
+ readonly optionsMap: {
1454
+ label?: string | undefined;
1455
+ value?: string | undefined;
1456
+ } | undefined;
1457
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1458
+ store?: any;
1459
+ method?: string | undefined;
1460
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1461
+ dictCode?: string | undefined;
1462
+ } | undefined;
1463
+ readonly clearable: boolean;
1464
+ readonly index: number;
1465
+ } & {
1466
+ readonly clearable: boolean;
1467
+ };
1468
+ label: string;
1469
+ fieldProps: RecordType;
1470
+ formItemProps: RecordType;
1471
+ options: OptionsRow<undefined>[];
1472
+ fieldInstance?: any;
1473
+ valueIsReady?: Ref<boolean> | undefined;
1474
+ prop: string;
1475
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1476
+ hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1477
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1478
+ style?: CSSProperties | undefined;
1479
+ class?: any;
1480
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1481
+ style?: CSSProperties | undefined;
1482
+ class?: any;
1483
+ } & RecordType>>;
1484
+ fieldSlots: {
1485
+ [slotName: string]: (data?: any) => RenderTypes;
1486
+ };
1487
+ valueType: TableValueType | FormItemValueType;
1488
+ renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1489
+ renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1490
+ fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1491
+ renderErrorMessage: ((props: PlusColumn & {
1492
+ value?: FieldValueType;
1493
+ error?: string | undefined;
1494
+ label?: string | undefined;
1495
+ }) => RenderTypes) | undefined;
1496
+ optionsMap: {
1497
+ label?: string | undefined;
1498
+ value?: string | undefined;
1499
+ } | undefined;
1500
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1501
+ store?: any;
1502
+ method?: string | undefined;
1503
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1504
+ dictCode?: string | undefined;
1505
+ } | undefined;
1506
+ clearable: boolean;
1507
+ index: number;
1508
+ }) => any>> & {
1509
+ footer?(_: {
1510
+ isShowUnfold: boolean;
1511
+ handleReset: () => void;
1512
+ handleSearch: () => void;
1513
+ handleUnfold: (e: MouseEvent) => void;
1514
+ searchLoading: boolean;
1515
+ }): any;
1516
+ }>;
1517
+ export default _default;
1518
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
1519
+ type __VLS_TypePropsToRuntimeProps<T> = {
1520
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
1521
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
1522
+ } : {
1523
+ type: PropType<T[K]>;
1524
+ required: true;
1525
+ };
1526
+ };
1527
+ type __VLS_WithDefaults<P, D> = {
1528
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
1529
+ default: D[K];
1530
+ }> : P[K];
1531
+ };
1532
+ type __VLS_Prettify<T> = {
1533
+ [K in keyof T]: T[K];
1534
+ } & {};
1535
+ type __VLS_WithTemplateSlots<T, S> = T & {
1536
+ new (): {
1537
+ $slots: S;
1538
+ };
1539
+ };