yc-pro-components 0.0.85 → 1.0.0

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 (156) hide show
  1. package/es/components/index.d.ts +1 -0
  2. package/es/components/index.mjs +1 -0
  3. package/es/components/page/src/index.vue2.mjs +31 -13
  4. package/es/components/search/src/index.vue2.mjs +1 -0
  5. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  6. package/es/components/yc-plus-page/src/index.vue2.mjs +24 -13
  7. package/es/components/yc-plus-page/src/type.d.ts +5 -0
  8. package/es/components/yc-query-filter/index.d.ts +7 -0
  9. package/es/components/yc-query-filter/index.mjs +6 -0
  10. package/es/components/yc-query-filter/src/index.vue.d.ts +32 -0
  11. package/es/components/yc-query-filter/src/index.vue.mjs +6 -0
  12. package/es/components/yc-query-filter/src/index.vue2.mjs +662 -0
  13. package/es/components/yc-query-filter/src/serialize.d.ts +4 -0
  14. package/es/components/yc-query-filter/src/serialize.mjs +17 -0
  15. package/es/constants/index.d.ts +1 -0
  16. package/es/constants/index.mjs +1 -0
  17. package/es/constants/query-filter.d.ts +69 -0
  18. package/es/constants/query-filter.mjs +3 -0
  19. package/es/hooks/index.d.ts +1 -0
  20. package/es/hooks/index.mjs +1 -0
  21. package/es/hooks/useQueryFilterConfig.d.ts +11 -0
  22. package/es/hooks/useQueryFilterConfig.mjs +38 -0
  23. package/es/index.css +12 -12
  24. package/es/index.d.ts +1 -1
  25. package/es/index.mjs +3 -0
  26. package/es/locale/lang/en.d.ts +33 -0
  27. package/es/locale/lang/en.mjs +33 -0
  28. package/es/locale/lang/ja.d.ts +33 -0
  29. package/es/locale/lang/ja.mjs +33 -0
  30. package/es/locale/lang/ko.d.ts +33 -0
  31. package/es/locale/lang/ko.mjs +33 -0
  32. package/es/locale/lang/zh-cn.d.ts +33 -0
  33. package/es/locale/lang/zh-cn.mjs +33 -0
  34. package/es/locale/lang/zh-tw.d.ts +33 -0
  35. package/es/locale/lang/zh-tw.mjs +33 -0
  36. package/es/version.d.ts +1 -1
  37. package/es/version.mjs +1 -1
  38. package/es/yc-components/index.d.ts +1 -1
  39. package/es/yc-components/version.d.ts +1 -1
  40. package/index.css +1 -1
  41. package/index.js +1069 -213
  42. package/index.min.css +1 -1
  43. package/index.min.js +16 -12
  44. package/index.min.mjs +16 -12
  45. package/index.mjs +1065 -215
  46. package/lib/components/index.d.ts +1 -0
  47. package/lib/components/index.js +3 -0
  48. package/lib/components/page/src/index.vue2.js +31 -13
  49. package/lib/components/search/src/index.vue2.js +1 -0
  50. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  51. package/lib/components/yc-plus-page/src/index.vue2.js +26 -15
  52. package/lib/components/yc-plus-page/src/type.d.ts +5 -0
  53. package/lib/components/yc-query-filter/index.d.ts +7 -0
  54. package/lib/components/yc-query-filter/index.js +9 -0
  55. package/lib/components/yc-query-filter/src/index.vue.d.ts +32 -0
  56. package/lib/components/yc-query-filter/src/index.vue.js +10 -0
  57. package/lib/components/yc-query-filter/src/index.vue2.js +666 -0
  58. package/lib/components/yc-query-filter/src/serialize.d.ts +4 -0
  59. package/lib/components/yc-query-filter/src/serialize.js +20 -0
  60. package/lib/constants/index.d.ts +1 -0
  61. package/lib/constants/index.js +2 -0
  62. package/lib/constants/query-filter.d.ts +69 -0
  63. package/lib/constants/query-filter.js +5 -0
  64. package/lib/hooks/index.d.ts +1 -0
  65. package/lib/hooks/index.js +4 -0
  66. package/lib/hooks/useQueryFilterConfig.d.ts +11 -0
  67. package/lib/hooks/useQueryFilterConfig.js +42 -0
  68. package/lib/index.css +9 -9
  69. package/lib/index.d.ts +1 -1
  70. package/lib/index.js +9 -0
  71. package/lib/locale/lang/en.d.ts +33 -0
  72. package/lib/locale/lang/en.js +33 -0
  73. package/lib/locale/lang/ja.d.ts +33 -0
  74. package/lib/locale/lang/ja.js +33 -0
  75. package/lib/locale/lang/ko.d.ts +33 -0
  76. package/lib/locale/lang/ko.js +33 -0
  77. package/lib/locale/lang/zh-cn.d.ts +33 -0
  78. package/lib/locale/lang/zh-cn.js +33 -0
  79. package/lib/locale/lang/zh-tw.d.ts +33 -0
  80. package/lib/locale/lang/zh-tw.js +33 -0
  81. package/lib/version.d.ts +1 -1
  82. package/lib/version.js +1 -1
  83. package/lib/yc-components/index.d.ts +1 -1
  84. package/lib/yc-components/version.d.ts +1 -1
  85. package/locale/en.d.ts +33 -0
  86. package/locale/en.js +34 -1
  87. package/locale/en.min.js +1 -1
  88. package/locale/en.min.mjs +1 -1
  89. package/locale/en.mjs +34 -1
  90. package/locale/ja.d.ts +33 -0
  91. package/locale/ja.js +34 -1
  92. package/locale/ja.min.js +1 -1
  93. package/locale/ja.min.mjs +1 -1
  94. package/locale/ja.mjs +34 -1
  95. package/locale/ko.d.ts +33 -0
  96. package/locale/ko.js +34 -1
  97. package/locale/ko.min.js +1 -1
  98. package/locale/ko.min.mjs +1 -1
  99. package/locale/ko.mjs +34 -1
  100. package/locale/zh-cn.d.ts +33 -0
  101. package/locale/zh-cn.js +34 -1
  102. package/locale/zh-cn.min.js +1 -1
  103. package/locale/zh-cn.min.mjs +1 -1
  104. package/locale/zh-cn.mjs +34 -1
  105. package/locale/zh-tw.d.ts +33 -0
  106. package/locale/zh-tw.js +34 -1
  107. package/locale/zh-tw.min.js +1 -1
  108. package/locale/zh-tw.min.mjs +1 -1
  109. package/locale/zh-tw.mjs +34 -1
  110. package/package.json +1 -1
  111. package/theme-chalk/index.css +1 -1
  112. package/theme-chalk/plus-yc-query-filter.css +1 -0
  113. package/theme-chalk/src/index.scss +1 -0
  114. package/theme-chalk/src/yc-query-filter.scss +163 -0
  115. package/es/components/breadcrumb/index.d.ts +0 -6985
  116. package/es/components/breadcrumb/src/index.vue.d.ts +0 -6947
  117. package/es/components/dialog-form/index.d.ts +0 -314
  118. package/es/components/dialog-form/src/index.vue.d.ts +0 -214
  119. package/es/components/display-item/index.d.ts +0 -580
  120. package/es/components/display-item/src/index.vue.d.ts +0 -446
  121. package/es/components/drawer-form/index.d.ts +0 -1592
  122. package/es/components/drawer-form/src/index.vue.d.ts +0 -630
  123. package/es/components/form/index.d.ts +0 -870
  124. package/es/components/form/src/form-content.vue.d.ts +0 -598
  125. package/es/components/form/src/index.vue.d.ts +0 -382
  126. package/es/components/form-item/index.d.ts +0 -1492
  127. package/es/components/form-item/src/index.vue.d.ts +0 -550
  128. package/es/components/page/index.d.ts +0 -10746
  129. package/es/components/page/src/index.vue.d.ts +0 -3775
  130. package/es/components/search/index.d.ts +0 -2977
  131. package/es/components/search/src/index.vue.d.ts +0 -1021
  132. package/es/components/table/src/table-column.vue.d.ts +0 -624
  133. package/es/components/yc-drawer/store.d.ts +0 -2359
  134. package/es/components/yc-plus-page/src/index.vue.d.ts +0 -8250
  135. package/es/hooks/usePlusFormReset.d.ts +0 -4501
  136. package/lib/components/breadcrumb/index.d.ts +0 -6985
  137. package/lib/components/breadcrumb/src/index.vue.d.ts +0 -6947
  138. package/lib/components/dialog-form/index.d.ts +0 -314
  139. package/lib/components/dialog-form/src/index.vue.d.ts +0 -214
  140. package/lib/components/display-item/index.d.ts +0 -580
  141. package/lib/components/display-item/src/index.vue.d.ts +0 -446
  142. package/lib/components/drawer-form/index.d.ts +0 -1592
  143. package/lib/components/drawer-form/src/index.vue.d.ts +0 -630
  144. package/lib/components/form/index.d.ts +0 -870
  145. package/lib/components/form/src/form-content.vue.d.ts +0 -598
  146. package/lib/components/form/src/index.vue.d.ts +0 -382
  147. package/lib/components/form-item/index.d.ts +0 -1492
  148. package/lib/components/form-item/src/index.vue.d.ts +0 -550
  149. package/lib/components/page/index.d.ts +0 -10746
  150. package/lib/components/page/src/index.vue.d.ts +0 -3775
  151. package/lib/components/search/index.d.ts +0 -2977
  152. package/lib/components/search/src/index.vue.d.ts +0 -1021
  153. package/lib/components/table/src/table-column.vue.d.ts +0 -624
  154. package/lib/components/yc-drawer/store.d.ts +0 -2359
  155. package/lib/components/yc-plus-page/src/index.vue.d.ts +0 -8250
  156. package/lib/hooks/usePlusFormReset.d.ts +0 -4501
@@ -1,2977 +0,0 @@
1
- import { LooseRequired } from '@vue/shared';
2
- import { Arrayable, EpPropMergeType } from 'element-plus/es/utils';
3
- import { PlusFormGroupRow, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
4
- import { RowProps, ColProps, FormItemRule, CardProps, FormInstance, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
5
- import { PlusColumn, FieldValues, Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
6
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, CSSProperties, Component, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ComputedRef } from 'vue';
7
- import { default as Search } from './src/index.vue';
8
-
9
- export type PlusSearchInstance = InstanceType<typeof Search>;
10
- export * from './src/type';
11
- export declare const PlusSearch: {
12
- new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
13
- columns: {
14
- type: PropType< PlusColumn[]>;
15
- default: () => never[];
16
- };
17
- layout: {
18
- type: PropType<"grid" | "flex">;
19
- default: "grid";
20
- };
21
- modelValue: {
22
- type: PropType<FieldValues>;
23
- default: () => {};
24
- };
25
- labelPosition: {
26
- type: PropType<"top" | "right" | "left">;
27
- default: undefined;
28
- };
29
- inline: {
30
- type: PropType<boolean>;
31
- default: boolean;
32
- };
33
- showNumber: {
34
- type: PropType<number>;
35
- default: number;
36
- };
37
- ellipsis: {
38
- type: PropType<boolean>;
39
- default: boolean;
40
- };
41
- defaultValues: {
42
- type: PropType<FieldValues>;
43
- default: () => {};
44
- };
45
- rowProps: {
46
- type: PropType<Partial< Mutable<RowProps> & {
47
- style?: CSSProperties | undefined;
48
- class?: any;
49
- } & RecordType>>;
50
- default: () => {
51
- gutter: number;
52
- };
53
- };
54
- colProps: {
55
- type: PropType<Partial< Mutable<ColProps> & {
56
- style?: CSSProperties | undefined;
57
- class?: any;
58
- } & RecordType>>;
59
- default: () => {
60
- xs: number;
61
- sm: number;
62
- md: number;
63
- lg: number;
64
- xl: number;
65
- };
66
- };
67
- hasFooter: {
68
- type: PropType<boolean>;
69
- default: boolean;
70
- };
71
- hasReset: {
72
- type: PropType<boolean>;
73
- default: boolean;
74
- };
75
- resetText: {
76
- type: PropType<string>;
77
- default: string;
78
- };
79
- hasUnfold: {
80
- type: PropType<boolean>;
81
- default: boolean;
82
- };
83
- defaultUnfold: {
84
- type: PropType<boolean>;
85
- default: boolean;
86
- };
87
- searchText: {
88
- type: PropType<string>;
89
- default: string;
90
- };
91
- retractText: {
92
- type: PropType<string>;
93
- default: string;
94
- };
95
- expandText: {
96
- type: PropType<string>;
97
- default: string;
98
- };
99
- searchLoading: {
100
- type: PropType<boolean>;
101
- default: boolean;
102
- };
103
- needValidate: {
104
- type: PropType<boolean>;
105
- default: boolean;
106
- };
107
- searchIcon: {
108
- type: PropType< Component | null>;
109
- default: undefined;
110
- };
111
- resetIcon: {
112
- type: PropType< Component | null>;
113
- default: undefined;
114
- };
115
- }>> & {
116
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
117
- onReset?: ((values: FieldValues) => any) | undefined;
118
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
119
- onSearch?: ((values: FieldValues) => any) | undefined;
120
- onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
121
- }, {
122
- plusFormInstance: Ref<({
123
- $: ComponentInternalInstance;
124
- $data: {};
125
- $props: Partial<{
126
- collapseDuration: number;
127
- collapseTransition: boolean;
128
- columns: PlusColumn[];
129
- group: false | PlusFormGroupRow[];
130
- layout: "grid" | "flex";
131
- modelValue: FieldValues;
132
- rules: Partial<Record<string, Arrayable<FormItemRule>>>;
133
- labelPosition: "top" | "right" | "left";
134
- labelWidth: string | number;
135
- labelSuffix: string;
136
- ellipsis: boolean;
137
- defaultValues: FieldValues;
138
- rowProps: Partial< Mutable<RowProps> & {
139
- style?: CSSProperties | undefined;
140
- class?: any;
141
- } & RecordType>;
142
- colProps: Partial< Mutable<ColProps> & {
143
- style?: CSSProperties | undefined;
144
- class?: any;
145
- } & RecordType>;
146
- hasErrorTip: boolean;
147
- hasFooter: boolean;
148
- hasReset: boolean;
149
- hasLabel: boolean;
150
- submitText: string;
151
- resetText: string;
152
- submitLoading: boolean;
153
- footerAlign: "right" | "left" | "center";
154
- cardProps: Partial< Mutable<CardProps> & {
155
- style?: CSSProperties | undefined;
156
- class?: any;
157
- } & RecordType>;
158
- prevent: boolean;
159
- clearable: boolean;
160
- }> & Omit<{
161
- readonly columns: PlusColumn[];
162
- readonly group: false | PlusFormGroupRow[];
163
- readonly modelValue: FieldValues;
164
- readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
165
- readonly labelPosition: "top" | "right" | "left";
166
- readonly labelWidth: string | number;
167
- readonly labelSuffix: string;
168
- readonly ellipsis: boolean;
169
- readonly defaultValues: FieldValues;
170
- readonly rowProps: Partial< Mutable<RowProps> & {
171
- style?: CSSProperties | undefined;
172
- class?: any;
173
- } & RecordType>;
174
- readonly colProps: Partial< Mutable<ColProps> & {
175
- style?: CSSProperties | undefined;
176
- class?: any;
177
- } & RecordType>;
178
- readonly hasErrorTip: boolean;
179
- readonly hasFooter: boolean;
180
- readonly hasReset: boolean;
181
- readonly hasLabel: boolean;
182
- readonly submitText: string;
183
- readonly resetText: string;
184
- readonly submitLoading: boolean;
185
- readonly footerAlign: "right" | "left" | "center";
186
- readonly cardProps: Partial< Mutable<CardProps> & {
187
- style?: CSSProperties | undefined;
188
- class?: any;
189
- } & RecordType>;
190
- readonly prevent: boolean;
191
- readonly clearable: boolean;
192
- readonly collapseDuration?: number | undefined;
193
- readonly collapseTransition?: boolean | undefined;
194
- readonly layout?: "grid" | "flex" | undefined;
195
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
196
- onReset?: ((values: FieldValues) => any) | undefined;
197
- onSubmit?: ((values: FieldValues) => any) | undefined;
198
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
199
- onValidate?: ((...args: any[]) => any) | undefined;
200
- onSubmitError?: ((errors: unknown) => any) | undefined;
201
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
202
- collapseDuration: {
203
- type: PropType<number>;
204
- default: undefined;
205
- };
206
- collapseTransition: {
207
- type: PropType<boolean>;
208
- default: undefined;
209
- };
210
- columns: {
211
- type: PropType< PlusColumn[]>;
212
- default: () => never[];
213
- };
214
- group: {
215
- type: PropType<false | PlusFormGroupRow[]>;
216
- default: boolean;
217
- };
218
- layout: {
219
- type: PropType<"grid" | "flex">;
220
- default: undefined;
221
- };
222
- modelValue: {
223
- type: PropType<FieldValues>;
224
- default: () => {};
225
- };
226
- rules: {
227
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
228
- default: () => {};
229
- };
230
- labelPosition: {
231
- type: PropType<"top" | "right" | "left">;
232
- default: string;
233
- };
234
- labelWidth: {
235
- type: PropType<string | number>;
236
- default: string;
237
- };
238
- labelSuffix: {
239
- type: PropType<string>;
240
- default: string;
241
- };
242
- ellipsis: {
243
- type: PropType<boolean>;
244
- default: boolean;
245
- };
246
- defaultValues: {
247
- type: PropType<FieldValues>;
248
- default: () => {};
249
- };
250
- rowProps: {
251
- type: PropType<Partial< Mutable<RowProps> & {
252
- style?: CSSProperties | undefined;
253
- class?: any;
254
- } & RecordType>>;
255
- default: () => {};
256
- };
257
- colProps: {
258
- type: PropType<Partial< Mutable<ColProps> & {
259
- style?: CSSProperties | undefined;
260
- class?: any;
261
- } & RecordType>>;
262
- default: () => {};
263
- };
264
- hasErrorTip: {
265
- type: PropType<boolean>;
266
- default: boolean;
267
- };
268
- hasFooter: {
269
- type: PropType<boolean>;
270
- default: boolean;
271
- };
272
- hasReset: {
273
- type: PropType<boolean>;
274
- default: boolean;
275
- };
276
- hasLabel: {
277
- type: PropType<boolean>;
278
- default: boolean;
279
- };
280
- submitText: {
281
- type: PropType<string>;
282
- default: string;
283
- };
284
- resetText: {
285
- type: PropType<string>;
286
- default: string;
287
- };
288
- submitLoading: {
289
- type: PropType<boolean>;
290
- default: boolean;
291
- };
292
- footerAlign: {
293
- type: PropType<"right" | "left" | "center">;
294
- default: string;
295
- };
296
- cardProps: {
297
- type: PropType<Partial< Mutable<CardProps> & {
298
- style?: CSSProperties | undefined;
299
- class?: any;
300
- } & RecordType>>;
301
- default: () => {};
302
- };
303
- prevent: {
304
- type: PropType<boolean>;
305
- default: boolean;
306
- };
307
- clearable: {
308
- type: PropType<boolean>;
309
- default: boolean;
310
- };
311
- }>> & {
312
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
313
- onReset?: ((values: FieldValues) => any) | undefined;
314
- onSubmit?: ((values: FieldValues) => any) | undefined;
315
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
316
- onValidate?: ((...args: any[]) => any) | undefined;
317
- onSubmitError?: ((errors: unknown) => any) | undefined;
318
- }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "ellipsis" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
319
- $attrs: {
320
- [x: string]: unknown;
321
- };
322
- $refs: {
323
- [x: string]: unknown;
324
- };
325
- $slots: Readonly<{
326
- [name: string]: Slot<any> | undefined;
327
- }>;
328
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
329
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
330
- $emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
331
- $el: any;
332
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
333
- collapseDuration: {
334
- type: PropType<number>;
335
- default: undefined;
336
- };
337
- collapseTransition: {
338
- type: PropType<boolean>;
339
- default: undefined;
340
- };
341
- columns: {
342
- type: PropType< PlusColumn[]>;
343
- default: () => never[];
344
- };
345
- group: {
346
- type: PropType<false | PlusFormGroupRow[]>;
347
- default: boolean;
348
- };
349
- layout: {
350
- type: PropType<"grid" | "flex">;
351
- default: undefined;
352
- };
353
- modelValue: {
354
- type: PropType<FieldValues>;
355
- default: () => {};
356
- };
357
- rules: {
358
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
359
- default: () => {};
360
- };
361
- labelPosition: {
362
- type: PropType<"top" | "right" | "left">;
363
- default: string;
364
- };
365
- labelWidth: {
366
- type: PropType<string | number>;
367
- default: string;
368
- };
369
- labelSuffix: {
370
- type: PropType<string>;
371
- default: string;
372
- };
373
- ellipsis: {
374
- type: PropType<boolean>;
375
- default: boolean;
376
- };
377
- defaultValues: {
378
- type: PropType<FieldValues>;
379
- default: () => {};
380
- };
381
- rowProps: {
382
- type: PropType<Partial< Mutable<RowProps> & {
383
- style?: CSSProperties | undefined;
384
- class?: any;
385
- } & RecordType>>;
386
- default: () => {};
387
- };
388
- colProps: {
389
- type: PropType<Partial< Mutable<ColProps> & {
390
- style?: CSSProperties | undefined;
391
- class?: any;
392
- } & RecordType>>;
393
- default: () => {};
394
- };
395
- hasErrorTip: {
396
- type: PropType<boolean>;
397
- default: boolean;
398
- };
399
- hasFooter: {
400
- type: PropType<boolean>;
401
- default: boolean;
402
- };
403
- hasReset: {
404
- type: PropType<boolean>;
405
- default: boolean;
406
- };
407
- hasLabel: {
408
- type: PropType<boolean>;
409
- default: boolean;
410
- };
411
- submitText: {
412
- type: PropType<string>;
413
- default: string;
414
- };
415
- resetText: {
416
- type: PropType<string>;
417
- default: string;
418
- };
419
- submitLoading: {
420
- type: PropType<boolean>;
421
- default: boolean;
422
- };
423
- footerAlign: {
424
- type: PropType<"right" | "left" | "center">;
425
- default: string;
426
- };
427
- cardProps: {
428
- type: PropType<Partial< Mutable<CardProps> & {
429
- style?: CSSProperties | undefined;
430
- class?: any;
431
- } & RecordType>>;
432
- default: () => {};
433
- };
434
- prevent: {
435
- type: PropType<boolean>;
436
- default: boolean;
437
- };
438
- clearable: {
439
- type: PropType<boolean>;
440
- default: boolean;
441
- };
442
- }>> & {
443
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
444
- onReset?: ((values: FieldValues) => any) | undefined;
445
- onSubmit?: ((values: FieldValues) => any) | undefined;
446
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
447
- onValidate?: ((...args: any[]) => any) | undefined;
448
- onSubmitError?: ((errors: unknown) => any) | undefined;
449
- }, {
450
- formInstance: Ref< FormInstance | null>;
451
- handleSubmit: () => void;
452
- handleReset: () => void;
453
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
454
- "update:modelValue": (values: FieldValues) => void;
455
- submit: (values: FieldValues) => void;
456
- change: (values: FieldValues, column: PlusColumn) => void;
457
- reset: (values: FieldValues) => void;
458
- submitError: (errors: unknown) => void;
459
- validate: (...args: any[]) => void;
460
- }, string, {
461
- collapseDuration: number;
462
- collapseTransition: boolean;
463
- columns: PlusColumn[];
464
- group: false | PlusFormGroupRow[];
465
- layout: "grid" | "flex";
466
- modelValue: FieldValues;
467
- rules: Partial<Record<string, Arrayable<FormItemRule>>>;
468
- labelPosition: "top" | "right" | "left";
469
- labelWidth: string | number;
470
- labelSuffix: string;
471
- ellipsis: boolean;
472
- defaultValues: FieldValues;
473
- rowProps: Partial< Mutable<RowProps> & {
474
- style?: CSSProperties | undefined;
475
- class?: any;
476
- } & RecordType>;
477
- colProps: Partial< Mutable<ColProps> & {
478
- style?: CSSProperties | undefined;
479
- class?: any;
480
- } & RecordType>;
481
- hasErrorTip: boolean;
482
- hasFooter: boolean;
483
- hasReset: boolean;
484
- hasLabel: boolean;
485
- submitText: string;
486
- resetText: string;
487
- submitLoading: boolean;
488
- footerAlign: "right" | "left" | "center";
489
- cardProps: Partial< Mutable<CardProps> & {
490
- style?: CSSProperties | undefined;
491
- class?: any;
492
- } & RecordType>;
493
- prevent: boolean;
494
- clearable: boolean;
495
- }, {}, string, {}> & {
496
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
497
- created?: ((() => void) | (() => void)[]) | undefined;
498
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
499
- mounted?: ((() => void) | (() => void)[]) | undefined;
500
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
501
- updated?: ((() => void) | (() => void)[]) | undefined;
502
- activated?: ((() => void) | (() => void)[]) | undefined;
503
- deactivated?: ((() => void) | (() => void)[]) | undefined;
504
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
505
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
506
- destroyed?: ((() => void) | (() => void)[]) | undefined;
507
- unmounted?: ((() => void) | (() => void)[]) | undefined;
508
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
509
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
510
- 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;
511
- };
512
- $forceUpdate: () => void;
513
- $nextTick: nextTick;
514
- $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;
515
- } & Omit<Readonly< ExtractPropTypes<{
516
- collapseDuration: {
517
- type: PropType<number>;
518
- default: undefined;
519
- };
520
- collapseTransition: {
521
- type: PropType<boolean>;
522
- default: undefined;
523
- };
524
- columns: {
525
- type: PropType< PlusColumn[]>;
526
- default: () => never[];
527
- };
528
- group: {
529
- type: PropType<false | PlusFormGroupRow[]>;
530
- default: boolean;
531
- };
532
- layout: {
533
- type: PropType<"grid" | "flex">;
534
- default: undefined;
535
- };
536
- modelValue: {
537
- type: PropType<FieldValues>;
538
- default: () => {};
539
- };
540
- rules: {
541
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
542
- default: () => {};
543
- };
544
- labelPosition: {
545
- type: PropType<"top" | "right" | "left">;
546
- default: string;
547
- };
548
- labelWidth: {
549
- type: PropType<string | number>;
550
- default: string;
551
- };
552
- labelSuffix: {
553
- type: PropType<string>;
554
- default: string;
555
- };
556
- ellipsis: {
557
- type: PropType<boolean>;
558
- default: boolean;
559
- };
560
- defaultValues: {
561
- type: PropType<FieldValues>;
562
- default: () => {};
563
- };
564
- rowProps: {
565
- type: PropType<Partial< Mutable<RowProps> & {
566
- style?: CSSProperties | undefined;
567
- class?: any;
568
- } & RecordType>>;
569
- default: () => {};
570
- };
571
- colProps: {
572
- type: PropType<Partial< Mutable<ColProps> & {
573
- style?: CSSProperties | undefined;
574
- class?: any;
575
- } & RecordType>>;
576
- default: () => {};
577
- };
578
- hasErrorTip: {
579
- type: PropType<boolean>;
580
- default: boolean;
581
- };
582
- hasFooter: {
583
- type: PropType<boolean>;
584
- default: boolean;
585
- };
586
- hasReset: {
587
- type: PropType<boolean>;
588
- default: boolean;
589
- };
590
- hasLabel: {
591
- type: PropType<boolean>;
592
- default: boolean;
593
- };
594
- submitText: {
595
- type: PropType<string>;
596
- default: string;
597
- };
598
- resetText: {
599
- type: PropType<string>;
600
- default: string;
601
- };
602
- submitLoading: {
603
- type: PropType<boolean>;
604
- default: boolean;
605
- };
606
- footerAlign: {
607
- type: PropType<"right" | "left" | "center">;
608
- default: string;
609
- };
610
- cardProps: {
611
- type: PropType<Partial< Mutable<CardProps> & {
612
- style?: CSSProperties | undefined;
613
- class?: any;
614
- } & RecordType>>;
615
- default: () => {};
616
- };
617
- prevent: {
618
- type: PropType<boolean>;
619
- default: boolean;
620
- };
621
- clearable: {
622
- type: PropType<boolean>;
623
- default: boolean;
624
- };
625
- }>> & {
626
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
627
- onReset?: ((values: FieldValues) => any) | undefined;
628
- onSubmit?: ((values: FieldValues) => any) | undefined;
629
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
630
- onValidate?: ((...args: any[]) => any) | undefined;
631
- onSubmitError?: ((errors: unknown) => any) | undefined;
632
- }, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
633
- formInstance: Ref< FormInstance | null>;
634
- handleSubmit: () => void;
635
- handleReset: () => void;
636
- }> & {} & ComponentCustomProperties & {} & {
637
- $slots: Partial<Record<string, (_: {
638
- index: number;
639
- title: string | ComputedRef<string>;
640
- name?: string | undefined;
641
- icon?: Component | undefined;
642
- cardProps?: Partial< Mutable<CardProps> & {
643
- style?: CSSProperties | undefined;
644
- class?: any;
645
- } & RecordType> | undefined;
646
- hideInGroup?: boolean | ComputedRef<boolean> | undefined;
647
- columns?: PlusColumn[] | undefined;
648
- }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
649
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
650
- readonly label: string | ComputedRef<string>;
651
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
652
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
653
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
654
- style?: CSSProperties | undefined;
655
- class?: any;
656
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
657
- style?: CSSProperties | undefined;
658
- class?: any;
659
- } & RecordType>>;
660
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
661
- [key: string]: any;
662
- style?: CSSProperties | undefined;
663
- }>;
664
- readonly fieldProps: PropsItemType<Partial<{
665
- [index: string]: any;
666
- [index: number]: any;
667
- [index: symbol]: any;
668
- class: any;
669
- style: CSSProperties;
670
- modelModifiers: {
671
- [index: string]: any;
672
- lazy?: boolean | undefined;
673
- trim?: boolean | undefined;
674
- number?: boolean | undefined;
675
- };
676
- rows: number;
677
- autocomplete: string;
678
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
679
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
680
- step: string | number;
681
- format: string | ProgressFn | undefined;
682
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
683
- id: string | [string, string];
684
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
685
- height: string | number;
686
- autosize: InputAutoSize;
687
- } & 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< SelectProps, 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>>>>;
688
- readonly options: OptionsType;
689
- readonly fieldSlots: {
690
- [slotName: string]: (data?: any) => RenderTypes;
691
- };
692
- readonly valueType: TableValueType | FormItemValueType;
693
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
694
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
695
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
696
- readonly renderErrorMessage: ((props: PlusColumn & {
697
- value?: FieldValueType;
698
- error?: string | undefined;
699
- label?: string | undefined;
700
- }) => RenderTypes) | undefined;
701
- readonly optionsMap: {
702
- label?: string | undefined;
703
- value?: string | undefined;
704
- } | undefined;
705
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
706
- store?: any;
707
- method?: string | undefined;
708
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
709
- dictCode?: string | undefined;
710
- } | undefined;
711
- readonly clearable: boolean;
712
- readonly ellipsis: boolean;
713
- readonly index: number;
714
- } & {
715
- readonly ellipsis: boolean;
716
- readonly clearable: boolean;
717
- };
718
- label: string;
719
- fieldProps: RecordType;
720
- formItemProps: RecordType;
721
- options: OptionsRow<undefined>[];
722
- fieldInstance?: any;
723
- valueIsReady?: Ref<boolean> | undefined;
724
- prop: string;
725
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
726
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
727
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
728
- style?: CSSProperties | undefined;
729
- class?: any;
730
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
731
- style?: CSSProperties | undefined;
732
- class?: any;
733
- } & RecordType>>;
734
- fieldSlots: {
735
- [slotName: string]: (data?: any) => RenderTypes;
736
- };
737
- valueType: TableValueType | FormItemValueType;
738
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
739
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
740
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
741
- renderErrorMessage: ((props: PlusColumn & {
742
- value?: FieldValueType;
743
- error?: string | undefined;
744
- label?: string | undefined;
745
- }) => RenderTypes) | undefined;
746
- optionsMap: {
747
- label?: string | undefined;
748
- value?: string | undefined;
749
- } | undefined;
750
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
751
- store?: any;
752
- method?: string | undefined;
753
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
754
- dictCode?: string | undefined;
755
- } | undefined;
756
- clearable: boolean;
757
- ellipsis: boolean;
758
- index: number;
759
- }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
760
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
761
- readonly label: string | ComputedRef<string>;
762
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
763
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
764
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
765
- style?: CSSProperties | undefined;
766
- class?: any;
767
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
768
- style?: CSSProperties | undefined;
769
- class?: any;
770
- } & RecordType>>;
771
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
772
- [key: string]: any;
773
- style?: CSSProperties | undefined;
774
- }>;
775
- readonly fieldProps: PropsItemType<Partial<{
776
- [index: string]: any;
777
- [index: number]: any;
778
- [index: symbol]: any;
779
- class: any;
780
- style: CSSProperties;
781
- modelModifiers: {
782
- [index: string]: any;
783
- lazy?: boolean | undefined;
784
- trim?: boolean | undefined;
785
- number?: boolean | undefined;
786
- };
787
- rows: number;
788
- autocomplete: string;
789
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
790
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
791
- step: string | number;
792
- format: string | ProgressFn | undefined;
793
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
794
- id: string | [string, string];
795
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
796
- height: string | number;
797
- autosize: InputAutoSize;
798
- } & 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< SelectProps, 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>>>>;
799
- readonly options: OptionsType;
800
- readonly fieldSlots: {
801
- [slotName: string]: (data?: any) => RenderTypes;
802
- };
803
- readonly valueType: TableValueType | FormItemValueType;
804
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
805
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
806
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
807
- readonly renderErrorMessage: ((props: PlusColumn & {
808
- value?: FieldValueType;
809
- error?: string | undefined;
810
- label?: string | undefined;
811
- }) => RenderTypes) | undefined;
812
- readonly optionsMap: {
813
- label?: string | undefined;
814
- value?: string | undefined;
815
- } | undefined;
816
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
817
- store?: any;
818
- method?: string | undefined;
819
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
820
- dictCode?: string | undefined;
821
- } | undefined;
822
- readonly clearable: boolean;
823
- readonly ellipsis: boolean;
824
- readonly index: number;
825
- } & {
826
- readonly ellipsis: boolean;
827
- readonly clearable: boolean;
828
- };
829
- label: string;
830
- fieldProps: RecordType;
831
- formItemProps: RecordType;
832
- options: OptionsRow<undefined>[];
833
- fieldInstance?: any;
834
- valueIsReady?: Ref<boolean> | undefined;
835
- prop: string;
836
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
837
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
838
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
839
- style?: CSSProperties | undefined;
840
- class?: any;
841
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
842
- style?: CSSProperties | undefined;
843
- class?: any;
844
- } & RecordType>>;
845
- fieldSlots: {
846
- [slotName: string]: (data?: any) => RenderTypes;
847
- };
848
- valueType: TableValueType | FormItemValueType;
849
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
850
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
851
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
852
- renderErrorMessage: ((props: PlusColumn & {
853
- value?: FieldValueType;
854
- error?: string | undefined;
855
- label?: string | undefined;
856
- }) => RenderTypes) | undefined;
857
- optionsMap: {
858
- label?: string | undefined;
859
- value?: string | undefined;
860
- } | undefined;
861
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
862
- store?: any;
863
- method?: string | undefined;
864
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
865
- dictCode?: string | undefined;
866
- } | undefined;
867
- clearable: boolean;
868
- ellipsis: boolean;
869
- index: number;
870
- }) => any>> & {
871
- default?(_: {}): any;
872
- "group-header"?(_: {
873
- title: string;
874
- columns: PlusColumn[] | undefined;
875
- icon: Component | undefined;
876
- index: number;
877
- }): any;
878
- footer?(_: {
879
- handleReset: () => void;
880
- handleSubmit: () => void;
881
- }): any;
882
- };
883
- }) | null | undefined>;
884
- handleReset: () => void;
885
- handleSearch: () => void;
886
- handleUnfold: (e: MouseEvent) => void;
887
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
888
- "update:modelValue": (values: FieldValues) => void;
889
- search: (values: FieldValues) => void;
890
- change: (values: FieldValues, column: PlusColumn) => void;
891
- reset: (values: FieldValues) => void;
892
- collapse: (isShowUnfold: boolean) => void;
893
- }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
894
- columns: {
895
- type: PropType< PlusColumn[]>;
896
- default: () => never[];
897
- };
898
- layout: {
899
- type: PropType<"grid" | "flex">;
900
- default: "grid";
901
- };
902
- modelValue: {
903
- type: PropType<FieldValues>;
904
- default: () => {};
905
- };
906
- labelPosition: {
907
- type: PropType<"top" | "right" | "left">;
908
- default: undefined;
909
- };
910
- inline: {
911
- type: PropType<boolean>;
912
- default: boolean;
913
- };
914
- showNumber: {
915
- type: PropType<number>;
916
- default: number;
917
- };
918
- ellipsis: {
919
- type: PropType<boolean>;
920
- default: boolean;
921
- };
922
- defaultValues: {
923
- type: PropType<FieldValues>;
924
- default: () => {};
925
- };
926
- rowProps: {
927
- type: PropType<Partial< Mutable<RowProps> & {
928
- style?: CSSProperties | undefined;
929
- class?: any;
930
- } & RecordType>>;
931
- default: () => {
932
- gutter: number;
933
- };
934
- };
935
- colProps: {
936
- type: PropType<Partial< Mutable<ColProps> & {
937
- style?: CSSProperties | undefined;
938
- class?: any;
939
- } & RecordType>>;
940
- default: () => {
941
- xs: number;
942
- sm: number;
943
- md: number;
944
- lg: number;
945
- xl: number;
946
- };
947
- };
948
- hasFooter: {
949
- type: PropType<boolean>;
950
- default: boolean;
951
- };
952
- hasReset: {
953
- type: PropType<boolean>;
954
- default: boolean;
955
- };
956
- resetText: {
957
- type: PropType<string>;
958
- default: string;
959
- };
960
- hasUnfold: {
961
- type: PropType<boolean>;
962
- default: boolean;
963
- };
964
- defaultUnfold: {
965
- type: PropType<boolean>;
966
- default: boolean;
967
- };
968
- searchText: {
969
- type: PropType<string>;
970
- default: string;
971
- };
972
- retractText: {
973
- type: PropType<string>;
974
- default: string;
975
- };
976
- expandText: {
977
- type: PropType<string>;
978
- default: string;
979
- };
980
- searchLoading: {
981
- type: PropType<boolean>;
982
- default: boolean;
983
- };
984
- needValidate: {
985
- type: PropType<boolean>;
986
- default: boolean;
987
- };
988
- searchIcon: {
989
- type: PropType< Component | null>;
990
- default: undefined;
991
- };
992
- resetIcon: {
993
- type: PropType< Component | null>;
994
- default: undefined;
995
- };
996
- }>> & {
997
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
998
- onReset?: ((values: FieldValues) => any) | undefined;
999
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1000
- onSearch?: ((values: FieldValues) => any) | undefined;
1001
- onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
1002
- }, {
1003
- columns: PlusColumn[];
1004
- layout: "grid" | "flex";
1005
- modelValue: FieldValues;
1006
- labelPosition: "top" | "right" | "left";
1007
- inline: boolean;
1008
- showNumber: number;
1009
- ellipsis: boolean;
1010
- defaultValues: FieldValues;
1011
- rowProps: Partial< Mutable<RowProps> & {
1012
- style?: CSSProperties | undefined;
1013
- class?: any;
1014
- } & RecordType>;
1015
- colProps: Partial< Mutable<ColProps> & {
1016
- style?: CSSProperties | undefined;
1017
- class?: any;
1018
- } & RecordType>;
1019
- hasFooter: boolean;
1020
- hasReset: boolean;
1021
- resetText: string;
1022
- hasUnfold: boolean;
1023
- defaultUnfold: boolean;
1024
- searchText: string;
1025
- retractText: string;
1026
- expandText: string;
1027
- searchLoading: boolean;
1028
- needValidate: boolean;
1029
- searchIcon: Component | null;
1030
- resetIcon: Component | null;
1031
- }, true, {}, {}, {
1032
- P: {};
1033
- B: {};
1034
- D: {};
1035
- C: {};
1036
- M: {};
1037
- Defaults: {};
1038
- }, Readonly< ExtractPropTypes<{
1039
- columns: {
1040
- type: PropType< PlusColumn[]>;
1041
- default: () => never[];
1042
- };
1043
- layout: {
1044
- type: PropType<"grid" | "flex">;
1045
- default: "grid";
1046
- };
1047
- modelValue: {
1048
- type: PropType<FieldValues>;
1049
- default: () => {};
1050
- };
1051
- labelPosition: {
1052
- type: PropType<"top" | "right" | "left">;
1053
- default: undefined;
1054
- };
1055
- inline: {
1056
- type: PropType<boolean>;
1057
- default: boolean;
1058
- };
1059
- showNumber: {
1060
- type: PropType<number>;
1061
- default: number;
1062
- };
1063
- ellipsis: {
1064
- type: PropType<boolean>;
1065
- default: boolean;
1066
- };
1067
- defaultValues: {
1068
- type: PropType<FieldValues>;
1069
- default: () => {};
1070
- };
1071
- rowProps: {
1072
- type: PropType<Partial< Mutable<RowProps> & {
1073
- style?: CSSProperties | undefined;
1074
- class?: any;
1075
- } & RecordType>>;
1076
- default: () => {
1077
- gutter: number;
1078
- };
1079
- };
1080
- colProps: {
1081
- type: PropType<Partial< Mutable<ColProps> & {
1082
- style?: CSSProperties | undefined;
1083
- class?: any;
1084
- } & RecordType>>;
1085
- default: () => {
1086
- xs: number;
1087
- sm: number;
1088
- md: number;
1089
- lg: number;
1090
- xl: number;
1091
- };
1092
- };
1093
- hasFooter: {
1094
- type: PropType<boolean>;
1095
- default: boolean;
1096
- };
1097
- hasReset: {
1098
- type: PropType<boolean>;
1099
- default: boolean;
1100
- };
1101
- resetText: {
1102
- type: PropType<string>;
1103
- default: string;
1104
- };
1105
- hasUnfold: {
1106
- type: PropType<boolean>;
1107
- default: boolean;
1108
- };
1109
- defaultUnfold: {
1110
- type: PropType<boolean>;
1111
- default: boolean;
1112
- };
1113
- searchText: {
1114
- type: PropType<string>;
1115
- default: string;
1116
- };
1117
- retractText: {
1118
- type: PropType<string>;
1119
- default: string;
1120
- };
1121
- expandText: {
1122
- type: PropType<string>;
1123
- default: string;
1124
- };
1125
- searchLoading: {
1126
- type: PropType<boolean>;
1127
- default: boolean;
1128
- };
1129
- needValidate: {
1130
- type: PropType<boolean>;
1131
- default: boolean;
1132
- };
1133
- searchIcon: {
1134
- type: PropType< Component | null>;
1135
- default: undefined;
1136
- };
1137
- resetIcon: {
1138
- type: PropType< Component | null>;
1139
- default: undefined;
1140
- };
1141
- }>> & {
1142
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1143
- onReset?: ((values: FieldValues) => any) | undefined;
1144
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1145
- onSearch?: ((values: FieldValues) => any) | undefined;
1146
- onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
1147
- }, {
1148
- plusFormInstance: Ref<({
1149
- $: ComponentInternalInstance;
1150
- $data: {};
1151
- $props: Partial<{
1152
- collapseDuration: number;
1153
- collapseTransition: boolean;
1154
- columns: PlusColumn[];
1155
- group: false | PlusFormGroupRow[];
1156
- layout: "grid" | "flex";
1157
- modelValue: FieldValues;
1158
- rules: Partial<Record<string, Arrayable<FormItemRule>>>;
1159
- labelPosition: "top" | "right" | "left";
1160
- labelWidth: string | number;
1161
- labelSuffix: string;
1162
- ellipsis: boolean;
1163
- defaultValues: FieldValues;
1164
- rowProps: Partial< Mutable<RowProps> & {
1165
- style?: CSSProperties | undefined;
1166
- class?: any;
1167
- } & RecordType>;
1168
- colProps: Partial< Mutable<ColProps> & {
1169
- style?: CSSProperties | undefined;
1170
- class?: any;
1171
- } & RecordType>;
1172
- hasErrorTip: boolean;
1173
- hasFooter: boolean;
1174
- hasReset: boolean;
1175
- hasLabel: boolean;
1176
- submitText: string;
1177
- resetText: string;
1178
- submitLoading: boolean;
1179
- footerAlign: "right" | "left" | "center";
1180
- cardProps: Partial< Mutable<CardProps> & {
1181
- style?: CSSProperties | undefined;
1182
- class?: any;
1183
- } & RecordType>;
1184
- prevent: boolean;
1185
- clearable: boolean;
1186
- }> & Omit<{
1187
- readonly columns: PlusColumn[];
1188
- readonly group: false | PlusFormGroupRow[];
1189
- readonly modelValue: FieldValues;
1190
- readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
1191
- readonly labelPosition: "top" | "right" | "left";
1192
- readonly labelWidth: string | number;
1193
- readonly labelSuffix: string;
1194
- readonly ellipsis: boolean;
1195
- readonly defaultValues: FieldValues;
1196
- readonly rowProps: Partial< Mutable<RowProps> & {
1197
- style?: CSSProperties | undefined;
1198
- class?: any;
1199
- } & RecordType>;
1200
- readonly colProps: Partial< Mutable<ColProps> & {
1201
- style?: CSSProperties | undefined;
1202
- class?: any;
1203
- } & RecordType>;
1204
- readonly hasErrorTip: boolean;
1205
- readonly hasFooter: boolean;
1206
- readonly hasReset: boolean;
1207
- readonly hasLabel: boolean;
1208
- readonly submitText: string;
1209
- readonly resetText: string;
1210
- readonly submitLoading: boolean;
1211
- readonly footerAlign: "right" | "left" | "center";
1212
- readonly cardProps: Partial< Mutable<CardProps> & {
1213
- style?: CSSProperties | undefined;
1214
- class?: any;
1215
- } & RecordType>;
1216
- readonly prevent: boolean;
1217
- readonly clearable: boolean;
1218
- readonly collapseDuration?: number | undefined;
1219
- readonly collapseTransition?: boolean | undefined;
1220
- readonly layout?: "grid" | "flex" | undefined;
1221
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1222
- onReset?: ((values: FieldValues) => any) | undefined;
1223
- onSubmit?: ((values: FieldValues) => any) | undefined;
1224
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1225
- onValidate?: ((...args: any[]) => any) | undefined;
1226
- onSubmitError?: ((errors: unknown) => any) | undefined;
1227
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
1228
- collapseDuration: {
1229
- type: PropType<number>;
1230
- default: undefined;
1231
- };
1232
- collapseTransition: {
1233
- type: PropType<boolean>;
1234
- default: undefined;
1235
- };
1236
- columns: {
1237
- type: PropType< PlusColumn[]>;
1238
- default: () => never[];
1239
- };
1240
- group: {
1241
- type: PropType<false | PlusFormGroupRow[]>;
1242
- default: boolean;
1243
- };
1244
- layout: {
1245
- type: PropType<"grid" | "flex">;
1246
- default: undefined;
1247
- };
1248
- modelValue: {
1249
- type: PropType<FieldValues>;
1250
- default: () => {};
1251
- };
1252
- rules: {
1253
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1254
- default: () => {};
1255
- };
1256
- labelPosition: {
1257
- type: PropType<"top" | "right" | "left">;
1258
- default: string;
1259
- };
1260
- labelWidth: {
1261
- type: PropType<string | number>;
1262
- default: string;
1263
- };
1264
- labelSuffix: {
1265
- type: PropType<string>;
1266
- default: string;
1267
- };
1268
- ellipsis: {
1269
- type: PropType<boolean>;
1270
- default: boolean;
1271
- };
1272
- defaultValues: {
1273
- type: PropType<FieldValues>;
1274
- default: () => {};
1275
- };
1276
- rowProps: {
1277
- type: PropType<Partial< Mutable<RowProps> & {
1278
- style?: CSSProperties | undefined;
1279
- class?: any;
1280
- } & RecordType>>;
1281
- default: () => {};
1282
- };
1283
- colProps: {
1284
- type: PropType<Partial< Mutable<ColProps> & {
1285
- style?: CSSProperties | undefined;
1286
- class?: any;
1287
- } & RecordType>>;
1288
- default: () => {};
1289
- };
1290
- hasErrorTip: {
1291
- type: PropType<boolean>;
1292
- default: boolean;
1293
- };
1294
- hasFooter: {
1295
- type: PropType<boolean>;
1296
- default: boolean;
1297
- };
1298
- hasReset: {
1299
- type: PropType<boolean>;
1300
- default: boolean;
1301
- };
1302
- hasLabel: {
1303
- type: PropType<boolean>;
1304
- default: boolean;
1305
- };
1306
- submitText: {
1307
- type: PropType<string>;
1308
- default: string;
1309
- };
1310
- resetText: {
1311
- type: PropType<string>;
1312
- default: string;
1313
- };
1314
- submitLoading: {
1315
- type: PropType<boolean>;
1316
- default: boolean;
1317
- };
1318
- footerAlign: {
1319
- type: PropType<"right" | "left" | "center">;
1320
- default: string;
1321
- };
1322
- cardProps: {
1323
- type: PropType<Partial< Mutable<CardProps> & {
1324
- style?: CSSProperties | undefined;
1325
- class?: any;
1326
- } & RecordType>>;
1327
- default: () => {};
1328
- };
1329
- prevent: {
1330
- type: PropType<boolean>;
1331
- default: boolean;
1332
- };
1333
- clearable: {
1334
- type: PropType<boolean>;
1335
- default: boolean;
1336
- };
1337
- }>> & {
1338
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1339
- onReset?: ((values: FieldValues) => any) | undefined;
1340
- onSubmit?: ((values: FieldValues) => any) | undefined;
1341
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1342
- onValidate?: ((...args: any[]) => any) | undefined;
1343
- onSubmitError?: ((errors: unknown) => any) | undefined;
1344
- }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "ellipsis" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
1345
- $attrs: {
1346
- [x: string]: unknown;
1347
- };
1348
- $refs: {
1349
- [x: string]: unknown;
1350
- };
1351
- $slots: Readonly<{
1352
- [name: string]: Slot<any> | undefined;
1353
- }>;
1354
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
1355
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
1356
- $emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
1357
- $el: any;
1358
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
1359
- collapseDuration: {
1360
- type: PropType<number>;
1361
- default: undefined;
1362
- };
1363
- collapseTransition: {
1364
- type: PropType<boolean>;
1365
- default: undefined;
1366
- };
1367
- columns: {
1368
- type: PropType< PlusColumn[]>;
1369
- default: () => never[];
1370
- };
1371
- group: {
1372
- type: PropType<false | PlusFormGroupRow[]>;
1373
- default: boolean;
1374
- };
1375
- layout: {
1376
- type: PropType<"grid" | "flex">;
1377
- default: undefined;
1378
- };
1379
- modelValue: {
1380
- type: PropType<FieldValues>;
1381
- default: () => {};
1382
- };
1383
- rules: {
1384
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1385
- default: () => {};
1386
- };
1387
- labelPosition: {
1388
- type: PropType<"top" | "right" | "left">;
1389
- default: string;
1390
- };
1391
- labelWidth: {
1392
- type: PropType<string | number>;
1393
- default: string;
1394
- };
1395
- labelSuffix: {
1396
- type: PropType<string>;
1397
- default: string;
1398
- };
1399
- ellipsis: {
1400
- type: PropType<boolean>;
1401
- default: boolean;
1402
- };
1403
- defaultValues: {
1404
- type: PropType<FieldValues>;
1405
- default: () => {};
1406
- };
1407
- rowProps: {
1408
- type: PropType<Partial< Mutable<RowProps> & {
1409
- style?: CSSProperties | undefined;
1410
- class?: any;
1411
- } & RecordType>>;
1412
- default: () => {};
1413
- };
1414
- colProps: {
1415
- type: PropType<Partial< Mutable<ColProps> & {
1416
- style?: CSSProperties | undefined;
1417
- class?: any;
1418
- } & RecordType>>;
1419
- default: () => {};
1420
- };
1421
- hasErrorTip: {
1422
- type: PropType<boolean>;
1423
- default: boolean;
1424
- };
1425
- hasFooter: {
1426
- type: PropType<boolean>;
1427
- default: boolean;
1428
- };
1429
- hasReset: {
1430
- type: PropType<boolean>;
1431
- default: boolean;
1432
- };
1433
- hasLabel: {
1434
- type: PropType<boolean>;
1435
- default: boolean;
1436
- };
1437
- submitText: {
1438
- type: PropType<string>;
1439
- default: string;
1440
- };
1441
- resetText: {
1442
- type: PropType<string>;
1443
- default: string;
1444
- };
1445
- submitLoading: {
1446
- type: PropType<boolean>;
1447
- default: boolean;
1448
- };
1449
- footerAlign: {
1450
- type: PropType<"right" | "left" | "center">;
1451
- default: string;
1452
- };
1453
- cardProps: {
1454
- type: PropType<Partial< Mutable<CardProps> & {
1455
- style?: CSSProperties | undefined;
1456
- class?: any;
1457
- } & RecordType>>;
1458
- default: () => {};
1459
- };
1460
- prevent: {
1461
- type: PropType<boolean>;
1462
- default: boolean;
1463
- };
1464
- clearable: {
1465
- type: PropType<boolean>;
1466
- default: boolean;
1467
- };
1468
- }>> & {
1469
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1470
- onReset?: ((values: FieldValues) => any) | undefined;
1471
- onSubmit?: ((values: FieldValues) => any) | undefined;
1472
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1473
- onValidate?: ((...args: any[]) => any) | undefined;
1474
- onSubmitError?: ((errors: unknown) => any) | undefined;
1475
- }, {
1476
- formInstance: Ref< FormInstance | null>;
1477
- handleSubmit: () => void;
1478
- handleReset: () => void;
1479
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1480
- "update:modelValue": (values: FieldValues) => void;
1481
- submit: (values: FieldValues) => void;
1482
- change: (values: FieldValues, column: PlusColumn) => void;
1483
- reset: (values: FieldValues) => void;
1484
- submitError: (errors: unknown) => void;
1485
- validate: (...args: any[]) => void;
1486
- }, string, {
1487
- collapseDuration: number;
1488
- collapseTransition: boolean;
1489
- columns: PlusColumn[];
1490
- group: false | PlusFormGroupRow[];
1491
- layout: "grid" | "flex";
1492
- modelValue: FieldValues;
1493
- rules: Partial<Record<string, Arrayable<FormItemRule>>>;
1494
- labelPosition: "top" | "right" | "left";
1495
- labelWidth: string | number;
1496
- labelSuffix: string;
1497
- ellipsis: boolean;
1498
- defaultValues: FieldValues;
1499
- rowProps: Partial< Mutable<RowProps> & {
1500
- style?: CSSProperties | undefined;
1501
- class?: any;
1502
- } & RecordType>;
1503
- colProps: Partial< Mutable<ColProps> & {
1504
- style?: CSSProperties | undefined;
1505
- class?: any;
1506
- } & RecordType>;
1507
- hasErrorTip: boolean;
1508
- hasFooter: boolean;
1509
- hasReset: boolean;
1510
- hasLabel: boolean;
1511
- submitText: string;
1512
- resetText: string;
1513
- submitLoading: boolean;
1514
- footerAlign: "right" | "left" | "center";
1515
- cardProps: Partial< Mutable<CardProps> & {
1516
- style?: CSSProperties | undefined;
1517
- class?: any;
1518
- } & RecordType>;
1519
- prevent: boolean;
1520
- clearable: boolean;
1521
- }, {}, string, {}> & {
1522
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
1523
- created?: ((() => void) | (() => void)[]) | undefined;
1524
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
1525
- mounted?: ((() => void) | (() => void)[]) | undefined;
1526
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
1527
- updated?: ((() => void) | (() => void)[]) | undefined;
1528
- activated?: ((() => void) | (() => void)[]) | undefined;
1529
- deactivated?: ((() => void) | (() => void)[]) | undefined;
1530
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
1531
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
1532
- destroyed?: ((() => void) | (() => void)[]) | undefined;
1533
- unmounted?: ((() => void) | (() => void)[]) | undefined;
1534
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
1535
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
1536
- 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;
1537
- };
1538
- $forceUpdate: () => void;
1539
- $nextTick: nextTick;
1540
- $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;
1541
- } & Omit<Readonly< ExtractPropTypes<{
1542
- collapseDuration: {
1543
- type: PropType<number>;
1544
- default: undefined;
1545
- };
1546
- collapseTransition: {
1547
- type: PropType<boolean>;
1548
- default: undefined;
1549
- };
1550
- columns: {
1551
- type: PropType< PlusColumn[]>;
1552
- default: () => never[];
1553
- };
1554
- group: {
1555
- type: PropType<false | PlusFormGroupRow[]>;
1556
- default: boolean;
1557
- };
1558
- layout: {
1559
- type: PropType<"grid" | "flex">;
1560
- default: undefined;
1561
- };
1562
- modelValue: {
1563
- type: PropType<FieldValues>;
1564
- default: () => {};
1565
- };
1566
- rules: {
1567
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
1568
- default: () => {};
1569
- };
1570
- labelPosition: {
1571
- type: PropType<"top" | "right" | "left">;
1572
- default: string;
1573
- };
1574
- labelWidth: {
1575
- type: PropType<string | number>;
1576
- default: string;
1577
- };
1578
- labelSuffix: {
1579
- type: PropType<string>;
1580
- default: string;
1581
- };
1582
- ellipsis: {
1583
- type: PropType<boolean>;
1584
- default: boolean;
1585
- };
1586
- defaultValues: {
1587
- type: PropType<FieldValues>;
1588
- default: () => {};
1589
- };
1590
- rowProps: {
1591
- type: PropType<Partial< Mutable<RowProps> & {
1592
- style?: CSSProperties | undefined;
1593
- class?: any;
1594
- } & RecordType>>;
1595
- default: () => {};
1596
- };
1597
- colProps: {
1598
- type: PropType<Partial< Mutable<ColProps> & {
1599
- style?: CSSProperties | undefined;
1600
- class?: any;
1601
- } & RecordType>>;
1602
- default: () => {};
1603
- };
1604
- hasErrorTip: {
1605
- type: PropType<boolean>;
1606
- default: boolean;
1607
- };
1608
- hasFooter: {
1609
- type: PropType<boolean>;
1610
- default: boolean;
1611
- };
1612
- hasReset: {
1613
- type: PropType<boolean>;
1614
- default: boolean;
1615
- };
1616
- hasLabel: {
1617
- type: PropType<boolean>;
1618
- default: boolean;
1619
- };
1620
- submitText: {
1621
- type: PropType<string>;
1622
- default: string;
1623
- };
1624
- resetText: {
1625
- type: PropType<string>;
1626
- default: string;
1627
- };
1628
- submitLoading: {
1629
- type: PropType<boolean>;
1630
- default: boolean;
1631
- };
1632
- footerAlign: {
1633
- type: PropType<"right" | "left" | "center">;
1634
- default: string;
1635
- };
1636
- cardProps: {
1637
- type: PropType<Partial< Mutable<CardProps> & {
1638
- style?: CSSProperties | undefined;
1639
- class?: any;
1640
- } & RecordType>>;
1641
- default: () => {};
1642
- };
1643
- prevent: {
1644
- type: PropType<boolean>;
1645
- default: boolean;
1646
- };
1647
- clearable: {
1648
- type: PropType<boolean>;
1649
- default: boolean;
1650
- };
1651
- }>> & {
1652
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
1653
- onReset?: ((values: FieldValues) => any) | undefined;
1654
- onSubmit?: ((values: FieldValues) => any) | undefined;
1655
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
1656
- onValidate?: ((...args: any[]) => any) | undefined;
1657
- onSubmitError?: ((errors: unknown) => any) | undefined;
1658
- }, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
1659
- formInstance: Ref< FormInstance | null>;
1660
- handleSubmit: () => void;
1661
- handleReset: () => void;
1662
- }> & {} & ComponentCustomProperties & {} & {
1663
- $slots: Partial<Record<string, (_: {
1664
- index: number;
1665
- title: string | ComputedRef<string>;
1666
- name?: string | undefined;
1667
- icon?: Component | undefined;
1668
- cardProps?: Partial< Mutable<CardProps> & {
1669
- style?: CSSProperties | undefined;
1670
- class?: any;
1671
- } & RecordType> | undefined;
1672
- hideInGroup?: boolean | ComputedRef<boolean> | undefined;
1673
- columns?: PlusColumn[] | undefined;
1674
- }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1675
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1676
- readonly label: string | ComputedRef<string>;
1677
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1678
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1679
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1680
- style?: CSSProperties | undefined;
1681
- class?: any;
1682
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1683
- style?: CSSProperties | undefined;
1684
- class?: any;
1685
- } & RecordType>>;
1686
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
1687
- [key: string]: any;
1688
- style?: CSSProperties | undefined;
1689
- }>;
1690
- readonly fieldProps: PropsItemType<Partial<{
1691
- [index: string]: any;
1692
- [index: number]: any;
1693
- [index: symbol]: any;
1694
- class: any;
1695
- style: CSSProperties;
1696
- modelModifiers: {
1697
- [index: string]: any;
1698
- lazy?: boolean | undefined;
1699
- trim?: boolean | undefined;
1700
- number?: boolean | undefined;
1701
- };
1702
- rows: number;
1703
- autocomplete: string;
1704
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
1705
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1706
- step: string | number;
1707
- format: string | ProgressFn | undefined;
1708
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
1709
- id: string | [string, string];
1710
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
1711
- height: string | number;
1712
- autosize: InputAutoSize;
1713
- } & 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< SelectProps, 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>>>>;
1714
- readonly options: OptionsType;
1715
- readonly fieldSlots: {
1716
- [slotName: string]: (data?: any) => RenderTypes;
1717
- };
1718
- readonly valueType: TableValueType | FormItemValueType;
1719
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1720
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1721
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1722
- readonly renderErrorMessage: ((props: PlusColumn & {
1723
- value?: FieldValueType;
1724
- error?: string | undefined;
1725
- label?: string | undefined;
1726
- }) => RenderTypes) | undefined;
1727
- readonly optionsMap: {
1728
- label?: string | undefined;
1729
- value?: string | undefined;
1730
- } | undefined;
1731
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1732
- store?: any;
1733
- method?: string | undefined;
1734
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1735
- dictCode?: string | undefined;
1736
- } | undefined;
1737
- readonly clearable: boolean;
1738
- readonly ellipsis: boolean;
1739
- readonly index: number;
1740
- } & {
1741
- readonly ellipsis: boolean;
1742
- readonly clearable: boolean;
1743
- };
1744
- label: string;
1745
- fieldProps: RecordType;
1746
- formItemProps: RecordType;
1747
- options: OptionsRow<undefined>[];
1748
- fieldInstance?: any;
1749
- valueIsReady?: Ref<boolean> | undefined;
1750
- prop: string;
1751
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1752
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1753
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
1754
- style?: CSSProperties | undefined;
1755
- class?: any;
1756
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1757
- style?: CSSProperties | undefined;
1758
- class?: any;
1759
- } & RecordType>>;
1760
- fieldSlots: {
1761
- [slotName: string]: (data?: any) => RenderTypes;
1762
- };
1763
- valueType: TableValueType | FormItemValueType;
1764
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1765
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1766
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1767
- renderErrorMessage: ((props: PlusColumn & {
1768
- value?: FieldValueType;
1769
- error?: string | undefined;
1770
- label?: string | undefined;
1771
- }) => RenderTypes) | undefined;
1772
- optionsMap: {
1773
- label?: string | undefined;
1774
- value?: string | undefined;
1775
- } | undefined;
1776
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1777
- store?: any;
1778
- method?: string | undefined;
1779
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1780
- dictCode?: string | undefined;
1781
- } | undefined;
1782
- clearable: boolean;
1783
- ellipsis: boolean;
1784
- index: number;
1785
- }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
1786
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1787
- readonly label: string | ComputedRef<string>;
1788
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1789
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1790
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
1791
- style?: CSSProperties | undefined;
1792
- class?: any;
1793
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1794
- style?: CSSProperties | undefined;
1795
- class?: any;
1796
- } & RecordType>>;
1797
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
1798
- [key: string]: any;
1799
- style?: CSSProperties | undefined;
1800
- }>;
1801
- readonly fieldProps: PropsItemType<Partial<{
1802
- [index: string]: any;
1803
- [index: number]: any;
1804
- [index: symbol]: any;
1805
- class: any;
1806
- style: CSSProperties;
1807
- modelModifiers: {
1808
- [index: string]: any;
1809
- lazy?: boolean | undefined;
1810
- trim?: boolean | undefined;
1811
- number?: boolean | undefined;
1812
- };
1813
- rows: number;
1814
- autocomplete: string;
1815
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
1816
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1817
- step: string | number;
1818
- format: string | ProgressFn | undefined;
1819
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
1820
- id: string | [string, string];
1821
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
1822
- height: string | number;
1823
- autosize: InputAutoSize;
1824
- } & 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< SelectProps, 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>>>>;
1825
- readonly options: OptionsType;
1826
- readonly fieldSlots: {
1827
- [slotName: string]: (data?: any) => RenderTypes;
1828
- };
1829
- readonly valueType: TableValueType | FormItemValueType;
1830
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1831
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1832
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1833
- readonly renderErrorMessage: ((props: PlusColumn & {
1834
- value?: FieldValueType;
1835
- error?: string | undefined;
1836
- label?: string | undefined;
1837
- }) => RenderTypes) | undefined;
1838
- readonly optionsMap: {
1839
- label?: string | undefined;
1840
- value?: string | undefined;
1841
- } | undefined;
1842
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1843
- store?: any;
1844
- method?: string | undefined;
1845
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1846
- dictCode?: string | undefined;
1847
- } | undefined;
1848
- readonly clearable: boolean;
1849
- readonly ellipsis: boolean;
1850
- readonly index: number;
1851
- } & {
1852
- readonly ellipsis: boolean;
1853
- readonly clearable: boolean;
1854
- };
1855
- label: string;
1856
- fieldProps: RecordType;
1857
- formItemProps: RecordType;
1858
- options: OptionsRow<undefined>[];
1859
- fieldInstance?: any;
1860
- valueIsReady?: Ref<boolean> | undefined;
1861
- prop: string;
1862
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1863
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1864
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
1865
- style?: CSSProperties | undefined;
1866
- class?: any;
1867
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1868
- style?: CSSProperties | undefined;
1869
- class?: any;
1870
- } & RecordType>>;
1871
- fieldSlots: {
1872
- [slotName: string]: (data?: any) => RenderTypes;
1873
- };
1874
- valueType: TableValueType | FormItemValueType;
1875
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1876
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1877
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1878
- renderErrorMessage: ((props: PlusColumn & {
1879
- value?: FieldValueType;
1880
- error?: string | undefined;
1881
- label?: string | undefined;
1882
- }) => RenderTypes) | undefined;
1883
- optionsMap: {
1884
- label?: string | undefined;
1885
- value?: string | undefined;
1886
- } | undefined;
1887
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1888
- store?: any;
1889
- method?: string | undefined;
1890
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1891
- dictCode?: string | undefined;
1892
- } | undefined;
1893
- clearable: boolean;
1894
- ellipsis: boolean;
1895
- index: number;
1896
- }) => any>> & {
1897
- default?(_: {}): any;
1898
- "group-header"?(_: {
1899
- title: string;
1900
- columns: PlusColumn[] | undefined;
1901
- icon: Component | undefined;
1902
- index: number;
1903
- }): any;
1904
- footer?(_: {
1905
- handleReset: () => void;
1906
- handleSubmit: () => void;
1907
- }): any;
1908
- };
1909
- }) | null | undefined>;
1910
- handleReset: () => void;
1911
- handleSearch: () => void;
1912
- handleUnfold: (e: MouseEvent) => void;
1913
- }, {}, {}, {}, {
1914
- columns: PlusColumn[];
1915
- layout: "grid" | "flex";
1916
- modelValue: FieldValues;
1917
- labelPosition: "top" | "right" | "left";
1918
- inline: boolean;
1919
- showNumber: number;
1920
- ellipsis: boolean;
1921
- defaultValues: FieldValues;
1922
- rowProps: Partial< Mutable<RowProps> & {
1923
- style?: CSSProperties | undefined;
1924
- class?: any;
1925
- } & RecordType>;
1926
- colProps: Partial< Mutable<ColProps> & {
1927
- style?: CSSProperties | undefined;
1928
- class?: any;
1929
- } & RecordType>;
1930
- hasFooter: boolean;
1931
- hasReset: boolean;
1932
- resetText: string;
1933
- hasUnfold: boolean;
1934
- defaultUnfold: boolean;
1935
- searchText: string;
1936
- retractText: string;
1937
- expandText: string;
1938
- searchLoading: boolean;
1939
- needValidate: boolean;
1940
- searchIcon: Component | null;
1941
- resetIcon: Component | null;
1942
- }>;
1943
- __isFragment?: undefined;
1944
- __isTeleport?: undefined;
1945
- __isSuspense?: undefined;
1946
- } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
1947
- columns: {
1948
- type: PropType< PlusColumn[]>;
1949
- default: () => never[];
1950
- };
1951
- layout: {
1952
- type: PropType<"grid" | "flex">;
1953
- default: "grid";
1954
- };
1955
- modelValue: {
1956
- type: PropType<FieldValues>;
1957
- default: () => {};
1958
- };
1959
- labelPosition: {
1960
- type: PropType<"top" | "right" | "left">;
1961
- default: undefined;
1962
- };
1963
- inline: {
1964
- type: PropType<boolean>;
1965
- default: boolean;
1966
- };
1967
- showNumber: {
1968
- type: PropType<number>;
1969
- default: number;
1970
- };
1971
- ellipsis: {
1972
- type: PropType<boolean>;
1973
- default: boolean;
1974
- };
1975
- defaultValues: {
1976
- type: PropType<FieldValues>;
1977
- default: () => {};
1978
- };
1979
- rowProps: {
1980
- type: PropType<Partial< Mutable<RowProps> & {
1981
- style?: CSSProperties | undefined;
1982
- class?: any;
1983
- } & RecordType>>;
1984
- default: () => {
1985
- gutter: number;
1986
- };
1987
- };
1988
- colProps: {
1989
- type: PropType<Partial< Mutable<ColProps> & {
1990
- style?: CSSProperties | undefined;
1991
- class?: any;
1992
- } & RecordType>>;
1993
- default: () => {
1994
- xs: number;
1995
- sm: number;
1996
- md: number;
1997
- lg: number;
1998
- xl: number;
1999
- };
2000
- };
2001
- hasFooter: {
2002
- type: PropType<boolean>;
2003
- default: boolean;
2004
- };
2005
- hasReset: {
2006
- type: PropType<boolean>;
2007
- default: boolean;
2008
- };
2009
- resetText: {
2010
- type: PropType<string>;
2011
- default: string;
2012
- };
2013
- hasUnfold: {
2014
- type: PropType<boolean>;
2015
- default: boolean;
2016
- };
2017
- defaultUnfold: {
2018
- type: PropType<boolean>;
2019
- default: boolean;
2020
- };
2021
- searchText: {
2022
- type: PropType<string>;
2023
- default: string;
2024
- };
2025
- retractText: {
2026
- type: PropType<string>;
2027
- default: string;
2028
- };
2029
- expandText: {
2030
- type: PropType<string>;
2031
- default: string;
2032
- };
2033
- searchLoading: {
2034
- type: PropType<boolean>;
2035
- default: boolean;
2036
- };
2037
- needValidate: {
2038
- type: PropType<boolean>;
2039
- default: boolean;
2040
- };
2041
- searchIcon: {
2042
- type: PropType< Component | null>;
2043
- default: undefined;
2044
- };
2045
- resetIcon: {
2046
- type: PropType< Component | null>;
2047
- default: undefined;
2048
- };
2049
- }>> & {
2050
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
2051
- onReset?: ((values: FieldValues) => any) | undefined;
2052
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
2053
- onSearch?: ((values: FieldValues) => any) | undefined;
2054
- onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
2055
- }, {
2056
- plusFormInstance: Ref<({
2057
- $: ComponentInternalInstance;
2058
- $data: {};
2059
- $props: Partial<{
2060
- collapseDuration: number;
2061
- collapseTransition: boolean;
2062
- columns: PlusColumn[];
2063
- group: false | PlusFormGroupRow[];
2064
- layout: "grid" | "flex";
2065
- modelValue: FieldValues;
2066
- rules: Partial<Record<string, Arrayable<FormItemRule>>>;
2067
- labelPosition: "top" | "right" | "left";
2068
- labelWidth: string | number;
2069
- labelSuffix: string;
2070
- ellipsis: boolean;
2071
- defaultValues: FieldValues;
2072
- rowProps: Partial< Mutable<RowProps> & {
2073
- style?: CSSProperties | undefined;
2074
- class?: any;
2075
- } & RecordType>;
2076
- colProps: Partial< Mutable<ColProps> & {
2077
- style?: CSSProperties | undefined;
2078
- class?: any;
2079
- } & RecordType>;
2080
- hasErrorTip: boolean;
2081
- hasFooter: boolean;
2082
- hasReset: boolean;
2083
- hasLabel: boolean;
2084
- submitText: string;
2085
- resetText: string;
2086
- submitLoading: boolean;
2087
- footerAlign: "right" | "left" | "center";
2088
- cardProps: Partial< Mutable<CardProps> & {
2089
- style?: CSSProperties | undefined;
2090
- class?: any;
2091
- } & RecordType>;
2092
- prevent: boolean;
2093
- clearable: boolean;
2094
- }> & Omit<{
2095
- readonly columns: PlusColumn[];
2096
- readonly group: false | PlusFormGroupRow[];
2097
- readonly modelValue: FieldValues;
2098
- readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
2099
- readonly labelPosition: "top" | "right" | "left";
2100
- readonly labelWidth: string | number;
2101
- readonly labelSuffix: string;
2102
- readonly ellipsis: boolean;
2103
- readonly defaultValues: FieldValues;
2104
- readonly rowProps: Partial< Mutable<RowProps> & {
2105
- style?: CSSProperties | undefined;
2106
- class?: any;
2107
- } & RecordType>;
2108
- readonly colProps: Partial< Mutable<ColProps> & {
2109
- style?: CSSProperties | undefined;
2110
- class?: any;
2111
- } & RecordType>;
2112
- readonly hasErrorTip: boolean;
2113
- readonly hasFooter: boolean;
2114
- readonly hasReset: boolean;
2115
- readonly hasLabel: boolean;
2116
- readonly submitText: string;
2117
- readonly resetText: string;
2118
- readonly submitLoading: boolean;
2119
- readonly footerAlign: "right" | "left" | "center";
2120
- readonly cardProps: Partial< Mutable<CardProps> & {
2121
- style?: CSSProperties | undefined;
2122
- class?: any;
2123
- } & RecordType>;
2124
- readonly prevent: boolean;
2125
- readonly clearable: boolean;
2126
- readonly collapseDuration?: number | undefined;
2127
- readonly collapseTransition?: boolean | undefined;
2128
- readonly layout?: "grid" | "flex" | undefined;
2129
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
2130
- onReset?: ((values: FieldValues) => any) | undefined;
2131
- onSubmit?: ((values: FieldValues) => any) | undefined;
2132
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
2133
- onValidate?: ((...args: any[]) => any) | undefined;
2134
- onSubmitError?: ((errors: unknown) => any) | undefined;
2135
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
2136
- collapseDuration: {
2137
- type: PropType<number>;
2138
- default: undefined;
2139
- };
2140
- collapseTransition: {
2141
- type: PropType<boolean>;
2142
- default: undefined;
2143
- };
2144
- columns: {
2145
- type: PropType< PlusColumn[]>;
2146
- default: () => never[];
2147
- };
2148
- group: {
2149
- type: PropType<false | PlusFormGroupRow[]>;
2150
- default: boolean;
2151
- };
2152
- layout: {
2153
- type: PropType<"grid" | "flex">;
2154
- default: undefined;
2155
- };
2156
- modelValue: {
2157
- type: PropType<FieldValues>;
2158
- default: () => {};
2159
- };
2160
- rules: {
2161
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2162
- default: () => {};
2163
- };
2164
- labelPosition: {
2165
- type: PropType<"top" | "right" | "left">;
2166
- default: string;
2167
- };
2168
- labelWidth: {
2169
- type: PropType<string | number>;
2170
- default: string;
2171
- };
2172
- labelSuffix: {
2173
- type: PropType<string>;
2174
- default: string;
2175
- };
2176
- ellipsis: {
2177
- type: PropType<boolean>;
2178
- default: boolean;
2179
- };
2180
- defaultValues: {
2181
- type: PropType<FieldValues>;
2182
- default: () => {};
2183
- };
2184
- rowProps: {
2185
- type: PropType<Partial< Mutable<RowProps> & {
2186
- style?: CSSProperties | undefined;
2187
- class?: any;
2188
- } & RecordType>>;
2189
- default: () => {};
2190
- };
2191
- colProps: {
2192
- type: PropType<Partial< Mutable<ColProps> & {
2193
- style?: CSSProperties | undefined;
2194
- class?: any;
2195
- } & RecordType>>;
2196
- default: () => {};
2197
- };
2198
- hasErrorTip: {
2199
- type: PropType<boolean>;
2200
- default: boolean;
2201
- };
2202
- hasFooter: {
2203
- type: PropType<boolean>;
2204
- default: boolean;
2205
- };
2206
- hasReset: {
2207
- type: PropType<boolean>;
2208
- default: boolean;
2209
- };
2210
- hasLabel: {
2211
- type: PropType<boolean>;
2212
- default: boolean;
2213
- };
2214
- submitText: {
2215
- type: PropType<string>;
2216
- default: string;
2217
- };
2218
- resetText: {
2219
- type: PropType<string>;
2220
- default: string;
2221
- };
2222
- submitLoading: {
2223
- type: PropType<boolean>;
2224
- default: boolean;
2225
- };
2226
- footerAlign: {
2227
- type: PropType<"right" | "left" | "center">;
2228
- default: string;
2229
- };
2230
- cardProps: {
2231
- type: PropType<Partial< Mutable<CardProps> & {
2232
- style?: CSSProperties | undefined;
2233
- class?: any;
2234
- } & RecordType>>;
2235
- default: () => {};
2236
- };
2237
- prevent: {
2238
- type: PropType<boolean>;
2239
- default: boolean;
2240
- };
2241
- clearable: {
2242
- type: PropType<boolean>;
2243
- default: boolean;
2244
- };
2245
- }>> & {
2246
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
2247
- onReset?: ((values: FieldValues) => any) | undefined;
2248
- onSubmit?: ((values: FieldValues) => any) | undefined;
2249
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
2250
- onValidate?: ((...args: any[]) => any) | undefined;
2251
- onSubmitError?: ((errors: unknown) => any) | undefined;
2252
- }, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "ellipsis" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
2253
- $attrs: {
2254
- [x: string]: unknown;
2255
- };
2256
- $refs: {
2257
- [x: string]: unknown;
2258
- };
2259
- $slots: Readonly<{
2260
- [name: string]: Slot<any> | undefined;
2261
- }>;
2262
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
2263
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
2264
- $emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
2265
- $el: any;
2266
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
2267
- collapseDuration: {
2268
- type: PropType<number>;
2269
- default: undefined;
2270
- };
2271
- collapseTransition: {
2272
- type: PropType<boolean>;
2273
- default: undefined;
2274
- };
2275
- columns: {
2276
- type: PropType< PlusColumn[]>;
2277
- default: () => never[];
2278
- };
2279
- group: {
2280
- type: PropType<false | PlusFormGroupRow[]>;
2281
- default: boolean;
2282
- };
2283
- layout: {
2284
- type: PropType<"grid" | "flex">;
2285
- default: undefined;
2286
- };
2287
- modelValue: {
2288
- type: PropType<FieldValues>;
2289
- default: () => {};
2290
- };
2291
- rules: {
2292
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2293
- default: () => {};
2294
- };
2295
- labelPosition: {
2296
- type: PropType<"top" | "right" | "left">;
2297
- default: string;
2298
- };
2299
- labelWidth: {
2300
- type: PropType<string | number>;
2301
- default: string;
2302
- };
2303
- labelSuffix: {
2304
- type: PropType<string>;
2305
- default: string;
2306
- };
2307
- ellipsis: {
2308
- type: PropType<boolean>;
2309
- default: boolean;
2310
- };
2311
- defaultValues: {
2312
- type: PropType<FieldValues>;
2313
- default: () => {};
2314
- };
2315
- rowProps: {
2316
- type: PropType<Partial< Mutable<RowProps> & {
2317
- style?: CSSProperties | undefined;
2318
- class?: any;
2319
- } & RecordType>>;
2320
- default: () => {};
2321
- };
2322
- colProps: {
2323
- type: PropType<Partial< Mutable<ColProps> & {
2324
- style?: CSSProperties | undefined;
2325
- class?: any;
2326
- } & RecordType>>;
2327
- default: () => {};
2328
- };
2329
- hasErrorTip: {
2330
- type: PropType<boolean>;
2331
- default: boolean;
2332
- };
2333
- hasFooter: {
2334
- type: PropType<boolean>;
2335
- default: boolean;
2336
- };
2337
- hasReset: {
2338
- type: PropType<boolean>;
2339
- default: boolean;
2340
- };
2341
- hasLabel: {
2342
- type: PropType<boolean>;
2343
- default: boolean;
2344
- };
2345
- submitText: {
2346
- type: PropType<string>;
2347
- default: string;
2348
- };
2349
- resetText: {
2350
- type: PropType<string>;
2351
- default: string;
2352
- };
2353
- submitLoading: {
2354
- type: PropType<boolean>;
2355
- default: boolean;
2356
- };
2357
- footerAlign: {
2358
- type: PropType<"right" | "left" | "center">;
2359
- default: string;
2360
- };
2361
- cardProps: {
2362
- type: PropType<Partial< Mutable<CardProps> & {
2363
- style?: CSSProperties | undefined;
2364
- class?: any;
2365
- } & RecordType>>;
2366
- default: () => {};
2367
- };
2368
- prevent: {
2369
- type: PropType<boolean>;
2370
- default: boolean;
2371
- };
2372
- clearable: {
2373
- type: PropType<boolean>;
2374
- default: boolean;
2375
- };
2376
- }>> & {
2377
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
2378
- onReset?: ((values: FieldValues) => any) | undefined;
2379
- onSubmit?: ((values: FieldValues) => any) | undefined;
2380
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
2381
- onValidate?: ((...args: any[]) => any) | undefined;
2382
- onSubmitError?: ((errors: unknown) => any) | undefined;
2383
- }, {
2384
- formInstance: Ref< FormInstance | null>;
2385
- handleSubmit: () => void;
2386
- handleReset: () => void;
2387
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2388
- "update:modelValue": (values: FieldValues) => void;
2389
- submit: (values: FieldValues) => void;
2390
- change: (values: FieldValues, column: PlusColumn) => void;
2391
- reset: (values: FieldValues) => void;
2392
- submitError: (errors: unknown) => void;
2393
- validate: (...args: any[]) => void;
2394
- }, string, {
2395
- collapseDuration: number;
2396
- collapseTransition: boolean;
2397
- columns: PlusColumn[];
2398
- group: false | PlusFormGroupRow[];
2399
- layout: "grid" | "flex";
2400
- modelValue: FieldValues;
2401
- rules: Partial<Record<string, Arrayable<FormItemRule>>>;
2402
- labelPosition: "top" | "right" | "left";
2403
- labelWidth: string | number;
2404
- labelSuffix: string;
2405
- ellipsis: boolean;
2406
- defaultValues: FieldValues;
2407
- rowProps: Partial< Mutable<RowProps> & {
2408
- style?: CSSProperties | undefined;
2409
- class?: any;
2410
- } & RecordType>;
2411
- colProps: Partial< Mutable<ColProps> & {
2412
- style?: CSSProperties | undefined;
2413
- class?: any;
2414
- } & RecordType>;
2415
- hasErrorTip: boolean;
2416
- hasFooter: boolean;
2417
- hasReset: boolean;
2418
- hasLabel: boolean;
2419
- submitText: string;
2420
- resetText: string;
2421
- submitLoading: boolean;
2422
- footerAlign: "right" | "left" | "center";
2423
- cardProps: Partial< Mutable<CardProps> & {
2424
- style?: CSSProperties | undefined;
2425
- class?: any;
2426
- } & RecordType>;
2427
- prevent: boolean;
2428
- clearable: boolean;
2429
- }, {}, string, {}> & {
2430
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
2431
- created?: ((() => void) | (() => void)[]) | undefined;
2432
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
2433
- mounted?: ((() => void) | (() => void)[]) | undefined;
2434
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
2435
- updated?: ((() => void) | (() => void)[]) | undefined;
2436
- activated?: ((() => void) | (() => void)[]) | undefined;
2437
- deactivated?: ((() => void) | (() => void)[]) | undefined;
2438
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
2439
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
2440
- destroyed?: ((() => void) | (() => void)[]) | undefined;
2441
- unmounted?: ((() => void) | (() => void)[]) | undefined;
2442
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
2443
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
2444
- 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;
2445
- };
2446
- $forceUpdate: () => void;
2447
- $nextTick: nextTick;
2448
- $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;
2449
- } & Omit<Readonly< ExtractPropTypes<{
2450
- collapseDuration: {
2451
- type: PropType<number>;
2452
- default: undefined;
2453
- };
2454
- collapseTransition: {
2455
- type: PropType<boolean>;
2456
- default: undefined;
2457
- };
2458
- columns: {
2459
- type: PropType< PlusColumn[]>;
2460
- default: () => never[];
2461
- };
2462
- group: {
2463
- type: PropType<false | PlusFormGroupRow[]>;
2464
- default: boolean;
2465
- };
2466
- layout: {
2467
- type: PropType<"grid" | "flex">;
2468
- default: undefined;
2469
- };
2470
- modelValue: {
2471
- type: PropType<FieldValues>;
2472
- default: () => {};
2473
- };
2474
- rules: {
2475
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
2476
- default: () => {};
2477
- };
2478
- labelPosition: {
2479
- type: PropType<"top" | "right" | "left">;
2480
- default: string;
2481
- };
2482
- labelWidth: {
2483
- type: PropType<string | number>;
2484
- default: string;
2485
- };
2486
- labelSuffix: {
2487
- type: PropType<string>;
2488
- default: string;
2489
- };
2490
- ellipsis: {
2491
- type: PropType<boolean>;
2492
- default: boolean;
2493
- };
2494
- defaultValues: {
2495
- type: PropType<FieldValues>;
2496
- default: () => {};
2497
- };
2498
- rowProps: {
2499
- type: PropType<Partial< Mutable<RowProps> & {
2500
- style?: CSSProperties | undefined;
2501
- class?: any;
2502
- } & RecordType>>;
2503
- default: () => {};
2504
- };
2505
- colProps: {
2506
- type: PropType<Partial< Mutable<ColProps> & {
2507
- style?: CSSProperties | undefined;
2508
- class?: any;
2509
- } & RecordType>>;
2510
- default: () => {};
2511
- };
2512
- hasErrorTip: {
2513
- type: PropType<boolean>;
2514
- default: boolean;
2515
- };
2516
- hasFooter: {
2517
- type: PropType<boolean>;
2518
- default: boolean;
2519
- };
2520
- hasReset: {
2521
- type: PropType<boolean>;
2522
- default: boolean;
2523
- };
2524
- hasLabel: {
2525
- type: PropType<boolean>;
2526
- default: boolean;
2527
- };
2528
- submitText: {
2529
- type: PropType<string>;
2530
- default: string;
2531
- };
2532
- resetText: {
2533
- type: PropType<string>;
2534
- default: string;
2535
- };
2536
- submitLoading: {
2537
- type: PropType<boolean>;
2538
- default: boolean;
2539
- };
2540
- footerAlign: {
2541
- type: PropType<"right" | "left" | "center">;
2542
- default: string;
2543
- };
2544
- cardProps: {
2545
- type: PropType<Partial< Mutable<CardProps> & {
2546
- style?: CSSProperties | undefined;
2547
- class?: any;
2548
- } & RecordType>>;
2549
- default: () => {};
2550
- };
2551
- prevent: {
2552
- type: PropType<boolean>;
2553
- default: boolean;
2554
- };
2555
- clearable: {
2556
- type: PropType<boolean>;
2557
- default: boolean;
2558
- };
2559
- }>> & {
2560
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
2561
- onReset?: ((values: FieldValues) => any) | undefined;
2562
- onSubmit?: ((values: FieldValues) => any) | undefined;
2563
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
2564
- onValidate?: ((...args: any[]) => any) | undefined;
2565
- onSubmitError?: ((errors: unknown) => any) | undefined;
2566
- }, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
2567
- formInstance: Ref< FormInstance | null>;
2568
- handleSubmit: () => void;
2569
- handleReset: () => void;
2570
- }> & {} & ComponentCustomProperties & {} & {
2571
- $slots: Partial<Record<string, (_: {
2572
- index: number;
2573
- title: string | ComputedRef<string>;
2574
- name?: string | undefined;
2575
- icon?: Component | undefined;
2576
- cardProps?: Partial< Mutable<CardProps> & {
2577
- style?: CSSProperties | undefined;
2578
- class?: any;
2579
- } & RecordType> | undefined;
2580
- hideInGroup?: boolean | ComputedRef<boolean> | undefined;
2581
- columns?: PlusColumn[] | undefined;
2582
- }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
2583
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2584
- readonly label: string | ComputedRef<string>;
2585
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2586
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2587
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
2588
- style?: CSSProperties | undefined;
2589
- class?: any;
2590
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2591
- style?: CSSProperties | undefined;
2592
- class?: any;
2593
- } & RecordType>>;
2594
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
2595
- [key: string]: any;
2596
- style?: CSSProperties | undefined;
2597
- }>;
2598
- readonly fieldProps: PropsItemType<Partial<{
2599
- [index: string]: any;
2600
- [index: number]: any;
2601
- [index: symbol]: any;
2602
- class: any;
2603
- style: CSSProperties;
2604
- modelModifiers: {
2605
- [index: string]: any;
2606
- lazy?: boolean | undefined;
2607
- trim?: boolean | undefined;
2608
- number?: boolean | undefined;
2609
- };
2610
- rows: number;
2611
- autocomplete: string;
2612
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
2613
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
2614
- step: string | number;
2615
- format: string | ProgressFn | undefined;
2616
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
2617
- id: string | [string, string];
2618
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
2619
- height: string | number;
2620
- autosize: InputAutoSize;
2621
- } & 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< SelectProps, 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>>>>;
2622
- readonly options: OptionsType;
2623
- readonly fieldSlots: {
2624
- [slotName: string]: (data?: any) => RenderTypes;
2625
- };
2626
- readonly valueType: TableValueType | FormItemValueType;
2627
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
2628
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
2629
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
2630
- readonly renderErrorMessage: ((props: PlusColumn & {
2631
- value?: FieldValueType;
2632
- error?: string | undefined;
2633
- label?: string | undefined;
2634
- }) => RenderTypes) | undefined;
2635
- readonly optionsMap: {
2636
- label?: string | undefined;
2637
- value?: string | undefined;
2638
- } | undefined;
2639
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
2640
- store?: any;
2641
- method?: string | undefined;
2642
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
2643
- dictCode?: string | undefined;
2644
- } | undefined;
2645
- readonly clearable: boolean;
2646
- readonly ellipsis: boolean;
2647
- readonly index: number;
2648
- } & {
2649
- readonly ellipsis: boolean;
2650
- readonly clearable: boolean;
2651
- };
2652
- label: string;
2653
- fieldProps: RecordType;
2654
- formItemProps: RecordType;
2655
- options: OptionsRow<undefined>[];
2656
- fieldInstance?: any;
2657
- valueIsReady?: Ref<boolean> | undefined;
2658
- prop: string;
2659
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2660
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2661
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
2662
- style?: CSSProperties | undefined;
2663
- class?: any;
2664
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2665
- style?: CSSProperties | undefined;
2666
- class?: any;
2667
- } & RecordType>>;
2668
- fieldSlots: {
2669
- [slotName: string]: (data?: any) => RenderTypes;
2670
- };
2671
- valueType: TableValueType | FormItemValueType;
2672
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
2673
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
2674
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
2675
- renderErrorMessage: ((props: PlusColumn & {
2676
- value?: FieldValueType;
2677
- error?: string | undefined;
2678
- label?: string | undefined;
2679
- }) => RenderTypes) | undefined;
2680
- optionsMap: {
2681
- label?: string | undefined;
2682
- value?: string | undefined;
2683
- } | undefined;
2684
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
2685
- store?: any;
2686
- method?: string | undefined;
2687
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
2688
- dictCode?: string | undefined;
2689
- } | undefined;
2690
- clearable: boolean;
2691
- ellipsis: boolean;
2692
- index: number;
2693
- }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
2694
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2695
- readonly label: string | ComputedRef<string>;
2696
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2697
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2698
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
2699
- style?: CSSProperties | undefined;
2700
- class?: any;
2701
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2702
- style?: CSSProperties | undefined;
2703
- class?: any;
2704
- } & RecordType>>;
2705
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
2706
- [key: string]: any;
2707
- style?: CSSProperties | undefined;
2708
- }>;
2709
- readonly fieldProps: PropsItemType<Partial<{
2710
- [index: string]: any;
2711
- [index: number]: any;
2712
- [index: symbol]: any;
2713
- class: any;
2714
- style: CSSProperties;
2715
- modelModifiers: {
2716
- [index: string]: any;
2717
- lazy?: boolean | undefined;
2718
- trim?: boolean | undefined;
2719
- number?: boolean | undefined;
2720
- };
2721
- rows: number;
2722
- autocomplete: string;
2723
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
2724
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
2725
- step: string | number;
2726
- format: string | ProgressFn | undefined;
2727
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
2728
- id: string | [string, string];
2729
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
2730
- height: string | number;
2731
- autosize: InputAutoSize;
2732
- } & 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< SelectProps, 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>>>>;
2733
- readonly options: OptionsType;
2734
- readonly fieldSlots: {
2735
- [slotName: string]: (data?: any) => RenderTypes;
2736
- };
2737
- readonly valueType: TableValueType | FormItemValueType;
2738
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
2739
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
2740
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
2741
- readonly renderErrorMessage: ((props: PlusColumn & {
2742
- value?: FieldValueType;
2743
- error?: string | undefined;
2744
- label?: string | undefined;
2745
- }) => RenderTypes) | undefined;
2746
- readonly optionsMap: {
2747
- label?: string | undefined;
2748
- value?: string | undefined;
2749
- } | undefined;
2750
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
2751
- store?: any;
2752
- method?: string | undefined;
2753
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
2754
- dictCode?: string | undefined;
2755
- } | undefined;
2756
- readonly clearable: boolean;
2757
- readonly ellipsis: boolean;
2758
- readonly index: number;
2759
- } & {
2760
- readonly ellipsis: boolean;
2761
- readonly clearable: boolean;
2762
- };
2763
- label: string;
2764
- fieldProps: RecordType;
2765
- formItemProps: RecordType;
2766
- options: OptionsRow<undefined>[];
2767
- fieldInstance?: any;
2768
- valueIsReady?: Ref<boolean> | undefined;
2769
- prop: string;
2770
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2771
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2772
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
2773
- style?: CSSProperties | undefined;
2774
- class?: any;
2775
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2776
- style?: CSSProperties | undefined;
2777
- class?: any;
2778
- } & RecordType>>;
2779
- fieldSlots: {
2780
- [slotName: string]: (data?: any) => RenderTypes;
2781
- };
2782
- valueType: TableValueType | FormItemValueType;
2783
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
2784
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
2785
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
2786
- renderErrorMessage: ((props: PlusColumn & {
2787
- value?: FieldValueType;
2788
- error?: string | undefined;
2789
- label?: string | undefined;
2790
- }) => RenderTypes) | undefined;
2791
- optionsMap: {
2792
- label?: string | undefined;
2793
- value?: string | undefined;
2794
- } | undefined;
2795
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
2796
- store?: any;
2797
- method?: string | undefined;
2798
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
2799
- dictCode?: string | undefined;
2800
- } | undefined;
2801
- clearable: boolean;
2802
- ellipsis: boolean;
2803
- index: number;
2804
- }) => any>> & {
2805
- default?(_: {}): any;
2806
- "group-header"?(_: {
2807
- title: string;
2808
- columns: PlusColumn[] | undefined;
2809
- icon: Component | undefined;
2810
- index: number;
2811
- }): any;
2812
- footer?(_: {
2813
- handleReset: () => void;
2814
- handleSubmit: () => void;
2815
- }): any;
2816
- };
2817
- }) | null | undefined>;
2818
- handleReset: () => void;
2819
- handleSearch: () => void;
2820
- handleUnfold: (e: MouseEvent) => void;
2821
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2822
- "update:modelValue": (values: FieldValues) => void;
2823
- search: (values: FieldValues) => void;
2824
- change: (values: FieldValues, column: PlusColumn) => void;
2825
- reset: (values: FieldValues) => void;
2826
- collapse: (isShowUnfold: boolean) => void;
2827
- }, string, {
2828
- columns: PlusColumn[];
2829
- layout: "grid" | "flex";
2830
- modelValue: FieldValues;
2831
- labelPosition: "top" | "right" | "left";
2832
- inline: boolean;
2833
- showNumber: number;
2834
- ellipsis: boolean;
2835
- defaultValues: FieldValues;
2836
- rowProps: Partial< Mutable<RowProps> & {
2837
- style?: CSSProperties | undefined;
2838
- class?: any;
2839
- } & RecordType>;
2840
- colProps: Partial< Mutable<ColProps> & {
2841
- style?: CSSProperties | undefined;
2842
- class?: any;
2843
- } & RecordType>;
2844
- hasFooter: boolean;
2845
- hasReset: boolean;
2846
- resetText: string;
2847
- hasUnfold: boolean;
2848
- defaultUnfold: boolean;
2849
- searchText: string;
2850
- retractText: string;
2851
- expandText: string;
2852
- searchLoading: boolean;
2853
- needValidate: boolean;
2854
- searchIcon: Component | null;
2855
- resetIcon: Component | null;
2856
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
2857
- $slots: Partial<Record<NonNullable<string | number>, (_: {
2858
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
2859
- readonly label: string | ComputedRef<string>;
2860
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2861
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2862
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
2863
- style?: CSSProperties | undefined;
2864
- class?: any;
2865
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2866
- style?: CSSProperties | undefined;
2867
- class?: any;
2868
- } & RecordType>>;
2869
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
2870
- [key: string]: any;
2871
- style?: CSSProperties | undefined;
2872
- }>;
2873
- readonly fieldProps: PropsItemType<Partial<{
2874
- [index: string]: any;
2875
- [index: number]: any;
2876
- [index: symbol]: any;
2877
- class: any;
2878
- style: CSSProperties;
2879
- modelModifiers: {
2880
- [index: string]: any;
2881
- lazy?: boolean | undefined;
2882
- trim?: boolean | undefined;
2883
- number?: boolean | undefined;
2884
- };
2885
- rows: number;
2886
- autocomplete: string;
2887
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
2888
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
2889
- step: string | number;
2890
- format: string | ProgressFn | undefined;
2891
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
2892
- id: string | [string, string];
2893
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
2894
- height: string | number;
2895
- autosize: InputAutoSize;
2896
- } & 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< SelectProps, 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>>>>;
2897
- readonly options: OptionsType;
2898
- readonly fieldSlots: {
2899
- [slotName: string]: (data?: any) => RenderTypes;
2900
- };
2901
- readonly valueType: TableValueType | FormItemValueType;
2902
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
2903
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
2904
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
2905
- readonly renderErrorMessage: ((props: PlusColumn & {
2906
- value?: FieldValueType;
2907
- error?: string | undefined;
2908
- label?: string | undefined;
2909
- }) => RenderTypes) | undefined;
2910
- readonly optionsMap: {
2911
- label?: string | undefined;
2912
- value?: string | undefined;
2913
- } | undefined;
2914
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
2915
- store?: any;
2916
- method?: string | undefined;
2917
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
2918
- dictCode?: string | undefined;
2919
- } | undefined;
2920
- readonly clearable: boolean;
2921
- readonly ellipsis: boolean;
2922
- readonly index: number;
2923
- } & {
2924
- readonly ellipsis: boolean;
2925
- readonly clearable: boolean;
2926
- };
2927
- label: string;
2928
- fieldProps: RecordType;
2929
- formItemProps: RecordType;
2930
- options: OptionsRow<undefined>[];
2931
- fieldInstance?: any;
2932
- valueIsReady?: Ref<boolean> | undefined;
2933
- prop: string;
2934
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
2935
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
2936
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
2937
- style?: CSSProperties | undefined;
2938
- class?: any;
2939
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
2940
- style?: CSSProperties | undefined;
2941
- class?: any;
2942
- } & RecordType>>;
2943
- fieldSlots: {
2944
- [slotName: string]: (data?: any) => RenderTypes;
2945
- };
2946
- valueType: TableValueType | FormItemValueType;
2947
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
2948
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
2949
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
2950
- renderErrorMessage: ((props: PlusColumn & {
2951
- value?: FieldValueType;
2952
- error?: string | undefined;
2953
- label?: string | undefined;
2954
- }) => RenderTypes) | undefined;
2955
- optionsMap: {
2956
- label?: string | undefined;
2957
- value?: string | undefined;
2958
- } | undefined;
2959
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
2960
- store?: any;
2961
- method?: string | undefined;
2962
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
2963
- dictCode?: string | undefined;
2964
- } | undefined;
2965
- clearable: boolean;
2966
- ellipsis: boolean;
2967
- index: number;
2968
- }) => any>> & {
2969
- footer?(_: {
2970
- isShowUnfold: boolean;
2971
- handleReset: () => void;
2972
- handleSearch: () => void;
2973
- handleUnfold: (e: MouseEvent) => void;
2974
- searchLoading: boolean;
2975
- }): any;
2976
- };
2977
- });