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,1021 +0,0 @@
1
- import { PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
2
- import { LooseRequired } from '@vue/shared';
3
- import { FormItemRule, RowProps, ColProps, 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';
4
- import { Arrayable, EpPropMergeType } from 'element-plus/es/utils';
5
- import { PlusFormGroupRow } from 'yc-pro-components/es/components/form';
6
- import { PlusSearchSelfProps as PlusSearchProps } from './type';
7
- import { PlusColumn, FieldValues, Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components/es/types';
8
- import { ComputedRef, DefineComponent, Ref, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Component, PublicProps } from 'vue';
9
-
10
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusSearchProps>, {
11
- modelValue: () => {};
12
- defaultValues: () => {};
13
- layout: "grid";
14
- hasFooter: boolean;
15
- hasReset: boolean;
16
- hasUnfold: boolean;
17
- defaultUnfold: boolean;
18
- searchLoading: boolean;
19
- searchText: string;
20
- resetText: string;
21
- retractText: string;
22
- expandText: string;
23
- inline: boolean;
24
- ellipsis: boolean;
25
- showNumber: number;
26
- labelPosition: undefined;
27
- columns: () => never[];
28
- rowProps: () => {
29
- gutter: number;
30
- };
31
- colProps: () => {
32
- xs: number;
33
- sm: number;
34
- md: number;
35
- lg: number;
36
- xl: number;
37
- };
38
- needValidate: boolean;
39
- searchIcon: undefined;
40
- resetIcon: undefined;
41
- }>, {
42
- plusFormInstance: Ref<({
43
- $: ComponentInternalInstance;
44
- $data: {};
45
- $props: Partial<{
46
- collapseDuration: number;
47
- collapseTransition: boolean;
48
- columns: PlusColumn[];
49
- group: false | PlusFormGroupRow[];
50
- layout: "grid" | "flex";
51
- modelValue: FieldValues;
52
- rules: Partial<Record<string, Arrayable<FormItemRule>>>;
53
- labelPosition: "top" | "right" | "left";
54
- labelWidth: string | number;
55
- labelSuffix: string;
56
- ellipsis: boolean;
57
- defaultValues: FieldValues;
58
- rowProps: Partial< Mutable<RowProps> & {
59
- style?: CSSProperties | undefined;
60
- class?: any;
61
- } & RecordType>;
62
- colProps: Partial< Mutable<ColProps> & {
63
- style?: CSSProperties | undefined;
64
- class?: any;
65
- } & RecordType>;
66
- hasErrorTip: boolean;
67
- hasFooter: boolean;
68
- hasReset: boolean;
69
- hasLabel: boolean;
70
- submitText: string;
71
- resetText: string;
72
- submitLoading: boolean;
73
- footerAlign: "right" | "left" | "center";
74
- cardProps: Partial< Mutable<CardProps> & {
75
- style?: CSSProperties | undefined;
76
- class?: any;
77
- } & RecordType>;
78
- prevent: boolean;
79
- clearable: boolean;
80
- }> & Omit<{
81
- readonly columns: PlusColumn[];
82
- readonly group: false | PlusFormGroupRow[];
83
- readonly modelValue: FieldValues;
84
- readonly rules: Partial<Record<string, Arrayable<FormItemRule>>>;
85
- readonly labelPosition: "top" | "right" | "left";
86
- readonly labelWidth: string | number;
87
- readonly labelSuffix: string;
88
- readonly ellipsis: boolean;
89
- readonly defaultValues: FieldValues;
90
- readonly rowProps: Partial< Mutable<RowProps> & {
91
- style?: CSSProperties | undefined;
92
- class?: any;
93
- } & RecordType>;
94
- readonly colProps: Partial< Mutable<ColProps> & {
95
- style?: CSSProperties | undefined;
96
- class?: any;
97
- } & RecordType>;
98
- readonly hasErrorTip: boolean;
99
- readonly hasFooter: boolean;
100
- readonly hasReset: boolean;
101
- readonly hasLabel: boolean;
102
- readonly submitText: string;
103
- readonly resetText: string;
104
- readonly submitLoading: boolean;
105
- readonly footerAlign: "right" | "left" | "center";
106
- readonly cardProps: Partial< Mutable<CardProps> & {
107
- style?: CSSProperties | undefined;
108
- class?: any;
109
- } & RecordType>;
110
- readonly prevent: boolean;
111
- readonly clearable: boolean;
112
- readonly collapseDuration?: number | undefined;
113
- readonly collapseTransition?: boolean | undefined;
114
- readonly layout?: "grid" | "flex" | undefined;
115
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
116
- onReset?: ((values: FieldValues) => any) | undefined;
117
- onSubmit?: ((values: FieldValues) => any) | undefined;
118
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
119
- onValidate?: ((...args: any[]) => any) | undefined;
120
- onSubmitError?: ((errors: unknown) => any) | undefined;
121
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
122
- collapseDuration: {
123
- type: PropType<number>;
124
- default: undefined;
125
- };
126
- collapseTransition: {
127
- type: PropType<boolean>;
128
- default: undefined;
129
- };
130
- columns: {
131
- type: PropType<PlusColumn[]>;
132
- default: () => never[];
133
- };
134
- group: {
135
- type: PropType<false | PlusFormGroupRow[]>;
136
- default: boolean;
137
- };
138
- layout: {
139
- type: PropType<"grid" | "flex">;
140
- default: undefined;
141
- };
142
- modelValue: {
143
- type: PropType<FieldValues>;
144
- default: () => {};
145
- };
146
- rules: {
147
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
148
- default: () => {};
149
- };
150
- labelPosition: {
151
- type: PropType<"top" | "right" | "left">;
152
- default: string;
153
- };
154
- labelWidth: {
155
- type: PropType<string | number>;
156
- default: string;
157
- };
158
- labelSuffix: {
159
- type: PropType<string>;
160
- default: string;
161
- };
162
- ellipsis: {
163
- type: PropType<boolean>;
164
- default: boolean;
165
- };
166
- defaultValues: {
167
- type: PropType<FieldValues>;
168
- default: () => {};
169
- };
170
- rowProps: {
171
- type: PropType<Partial< Mutable<RowProps> & {
172
- style?: CSSProperties | undefined;
173
- class?: any;
174
- } & RecordType>>;
175
- default: () => {};
176
- };
177
- colProps: {
178
- type: PropType<Partial< Mutable<ColProps> & {
179
- style?: CSSProperties | undefined;
180
- class?: any;
181
- } & RecordType>>;
182
- default: () => {};
183
- };
184
- hasErrorTip: {
185
- type: PropType<boolean>;
186
- default: boolean;
187
- };
188
- hasFooter: {
189
- type: PropType<boolean>;
190
- default: boolean;
191
- };
192
- hasReset: {
193
- type: PropType<boolean>;
194
- default: boolean;
195
- };
196
- hasLabel: {
197
- type: PropType<boolean>;
198
- default: boolean;
199
- };
200
- submitText: {
201
- type: PropType<string>;
202
- default: string;
203
- };
204
- resetText: {
205
- type: PropType<string>;
206
- default: string;
207
- };
208
- submitLoading: {
209
- type: PropType<boolean>;
210
- default: boolean;
211
- };
212
- footerAlign: {
213
- type: PropType<"right" | "left" | "center">;
214
- default: string;
215
- };
216
- cardProps: {
217
- type: PropType<Partial< Mutable<CardProps> & {
218
- style?: CSSProperties | undefined;
219
- class?: any;
220
- } & RecordType>>;
221
- default: () => {};
222
- };
223
- prevent: {
224
- type: PropType<boolean>;
225
- default: boolean;
226
- };
227
- clearable: {
228
- type: PropType<boolean>;
229
- default: boolean;
230
- };
231
- }>> & {
232
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
233
- onReset?: ((values: FieldValues) => any) | undefined;
234
- onSubmit?: ((values: FieldValues) => any) | undefined;
235
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
236
- onValidate?: ((...args: any[]) => any) | undefined;
237
- onSubmitError?: ((errors: unknown) => any) | undefined;
238
- }, "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">;
239
- $attrs: {
240
- [x: string]: unknown;
241
- };
242
- $refs: {
243
- [x: string]: unknown;
244
- };
245
- $slots: Readonly<{
246
- [name: string]: Slot<any> | undefined;
247
- }>;
248
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
249
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
250
- $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);
251
- $el: any;
252
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
253
- collapseDuration: {
254
- type: PropType<number>;
255
- default: undefined;
256
- };
257
- collapseTransition: {
258
- type: PropType<boolean>;
259
- default: undefined;
260
- };
261
- columns: {
262
- type: PropType<PlusColumn[]>;
263
- default: () => never[];
264
- };
265
- group: {
266
- type: PropType<false | PlusFormGroupRow[]>;
267
- default: boolean;
268
- };
269
- layout: {
270
- type: PropType<"grid" | "flex">;
271
- default: undefined;
272
- };
273
- modelValue: {
274
- type: PropType<FieldValues>;
275
- default: () => {};
276
- };
277
- rules: {
278
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
279
- default: () => {};
280
- };
281
- labelPosition: {
282
- type: PropType<"top" | "right" | "left">;
283
- default: string;
284
- };
285
- labelWidth: {
286
- type: PropType<string | number>;
287
- default: string;
288
- };
289
- labelSuffix: {
290
- type: PropType<string>;
291
- default: string;
292
- };
293
- ellipsis: {
294
- type: PropType<boolean>;
295
- default: boolean;
296
- };
297
- defaultValues: {
298
- type: PropType<FieldValues>;
299
- default: () => {};
300
- };
301
- rowProps: {
302
- type: PropType<Partial< Mutable<RowProps> & {
303
- style?: CSSProperties | undefined;
304
- class?: any;
305
- } & RecordType>>;
306
- default: () => {};
307
- };
308
- colProps: {
309
- type: PropType<Partial< Mutable<ColProps> & {
310
- style?: CSSProperties | undefined;
311
- class?: any;
312
- } & RecordType>>;
313
- default: () => {};
314
- };
315
- hasErrorTip: {
316
- type: PropType<boolean>;
317
- default: boolean;
318
- };
319
- hasFooter: {
320
- type: PropType<boolean>;
321
- default: boolean;
322
- };
323
- hasReset: {
324
- type: PropType<boolean>;
325
- default: boolean;
326
- };
327
- hasLabel: {
328
- type: PropType<boolean>;
329
- default: boolean;
330
- };
331
- submitText: {
332
- type: PropType<string>;
333
- default: string;
334
- };
335
- resetText: {
336
- type: PropType<string>;
337
- default: string;
338
- };
339
- submitLoading: {
340
- type: PropType<boolean>;
341
- default: boolean;
342
- };
343
- footerAlign: {
344
- type: PropType<"right" | "left" | "center">;
345
- default: string;
346
- };
347
- cardProps: {
348
- type: PropType<Partial< Mutable<CardProps> & {
349
- style?: CSSProperties | undefined;
350
- class?: any;
351
- } & RecordType>>;
352
- default: () => {};
353
- };
354
- prevent: {
355
- type: PropType<boolean>;
356
- default: boolean;
357
- };
358
- clearable: {
359
- type: PropType<boolean>;
360
- default: boolean;
361
- };
362
- }>> & {
363
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
364
- onReset?: ((values: FieldValues) => any) | undefined;
365
- onSubmit?: ((values: FieldValues) => any) | undefined;
366
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
367
- onValidate?: ((...args: any[]) => any) | undefined;
368
- onSubmitError?: ((errors: unknown) => any) | undefined;
369
- }, {
370
- formInstance: Ref< FormInstance | null>;
371
- handleSubmit: () => void;
372
- handleReset: () => void;
373
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
374
- "update:modelValue": (values: FieldValues) => void;
375
- submit: (values: FieldValues) => void;
376
- change: (values: FieldValues, column: PlusColumn) => void;
377
- reset: (values: FieldValues) => void;
378
- submitError: (errors: unknown) => void;
379
- validate: (...args: any[]) => void;
380
- }, string, {
381
- collapseDuration: number;
382
- collapseTransition: boolean;
383
- columns: PlusColumn[];
384
- group: false | PlusFormGroupRow[];
385
- layout: "grid" | "flex";
386
- modelValue: FieldValues;
387
- rules: Partial<Record<string, Arrayable<FormItemRule>>>;
388
- labelPosition: "top" | "right" | "left";
389
- labelWidth: string | number;
390
- labelSuffix: string;
391
- ellipsis: boolean;
392
- defaultValues: FieldValues;
393
- rowProps: Partial< Mutable<RowProps> & {
394
- style?: CSSProperties | undefined;
395
- class?: any;
396
- } & RecordType>;
397
- colProps: Partial< Mutable<ColProps> & {
398
- style?: CSSProperties | undefined;
399
- class?: any;
400
- } & RecordType>;
401
- hasErrorTip: boolean;
402
- hasFooter: boolean;
403
- hasReset: boolean;
404
- hasLabel: boolean;
405
- submitText: string;
406
- resetText: string;
407
- submitLoading: boolean;
408
- footerAlign: "right" | "left" | "center";
409
- cardProps: Partial< Mutable<CardProps> & {
410
- style?: CSSProperties | undefined;
411
- class?: any;
412
- } & RecordType>;
413
- prevent: boolean;
414
- clearable: boolean;
415
- }, {}, string, {}> & {
416
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
417
- created?: ((() => void) | (() => void)[]) | undefined;
418
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
419
- mounted?: ((() => void) | (() => void)[]) | undefined;
420
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
421
- updated?: ((() => void) | (() => void)[]) | undefined;
422
- activated?: ((() => void) | (() => void)[]) | undefined;
423
- deactivated?: ((() => void) | (() => void)[]) | undefined;
424
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
425
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
426
- destroyed?: ((() => void) | (() => void)[]) | undefined;
427
- unmounted?: ((() => void) | (() => void)[]) | undefined;
428
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
429
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
430
- 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;
431
- };
432
- $forceUpdate: () => void;
433
- $nextTick: nextTick;
434
- $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;
435
- } & Omit<Readonly< ExtractPropTypes<{
436
- collapseDuration: {
437
- type: PropType<number>;
438
- default: undefined;
439
- };
440
- collapseTransition: {
441
- type: PropType<boolean>;
442
- default: undefined;
443
- };
444
- columns: {
445
- type: PropType<PlusColumn[]>;
446
- default: () => never[];
447
- };
448
- group: {
449
- type: PropType<false | PlusFormGroupRow[]>;
450
- default: boolean;
451
- };
452
- layout: {
453
- type: PropType<"grid" | "flex">;
454
- default: undefined;
455
- };
456
- modelValue: {
457
- type: PropType<FieldValues>;
458
- default: () => {};
459
- };
460
- rules: {
461
- type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
462
- default: () => {};
463
- };
464
- labelPosition: {
465
- type: PropType<"top" | "right" | "left">;
466
- default: string;
467
- };
468
- labelWidth: {
469
- type: PropType<string | number>;
470
- default: string;
471
- };
472
- labelSuffix: {
473
- type: PropType<string>;
474
- default: string;
475
- };
476
- ellipsis: {
477
- type: PropType<boolean>;
478
- default: boolean;
479
- };
480
- defaultValues: {
481
- type: PropType<FieldValues>;
482
- default: () => {};
483
- };
484
- rowProps: {
485
- type: PropType<Partial< Mutable<RowProps> & {
486
- style?: CSSProperties | undefined;
487
- class?: any;
488
- } & RecordType>>;
489
- default: () => {};
490
- };
491
- colProps: {
492
- type: PropType<Partial< Mutable<ColProps> & {
493
- style?: CSSProperties | undefined;
494
- class?: any;
495
- } & RecordType>>;
496
- default: () => {};
497
- };
498
- hasErrorTip: {
499
- type: PropType<boolean>;
500
- default: boolean;
501
- };
502
- hasFooter: {
503
- type: PropType<boolean>;
504
- default: boolean;
505
- };
506
- hasReset: {
507
- type: PropType<boolean>;
508
- default: boolean;
509
- };
510
- hasLabel: {
511
- type: PropType<boolean>;
512
- default: boolean;
513
- };
514
- submitText: {
515
- type: PropType<string>;
516
- default: string;
517
- };
518
- resetText: {
519
- type: PropType<string>;
520
- default: string;
521
- };
522
- submitLoading: {
523
- type: PropType<boolean>;
524
- default: boolean;
525
- };
526
- footerAlign: {
527
- type: PropType<"right" | "left" | "center">;
528
- default: string;
529
- };
530
- cardProps: {
531
- type: PropType<Partial< Mutable<CardProps> & {
532
- style?: CSSProperties | undefined;
533
- class?: any;
534
- } & RecordType>>;
535
- default: () => {};
536
- };
537
- prevent: {
538
- type: PropType<boolean>;
539
- default: boolean;
540
- };
541
- clearable: {
542
- type: PropType<boolean>;
543
- default: boolean;
544
- };
545
- }>> & {
546
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
547
- onReset?: ((values: FieldValues) => any) | undefined;
548
- onSubmit?: ((values: FieldValues) => any) | undefined;
549
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
550
- onValidate?: ((...args: any[]) => any) | undefined;
551
- onSubmitError?: ((errors: unknown) => any) | undefined;
552
- }, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
553
- formInstance: Ref< FormInstance | null>;
554
- handleSubmit: () => void;
555
- handleReset: () => void;
556
- }> & {} & ComponentCustomProperties & {} & {
557
- $slots: Partial<Record<string, (_: {
558
- index: number;
559
- title: string | ComputedRef<string>;
560
- name?: string | undefined;
561
- icon?: Component | undefined;
562
- cardProps?: Partial< Mutable<CardProps> & {
563
- style?: CSSProperties | undefined;
564
- class?: any;
565
- } & RecordType> | undefined;
566
- hideInGroup?: boolean | ComputedRef<boolean> | undefined;
567
- columns?: PlusColumn[] | undefined;
568
- }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
569
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
570
- readonly label: string | ComputedRef<string>;
571
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
572
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
573
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
574
- style?: CSSProperties | undefined;
575
- class?: any;
576
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
577
- style?: CSSProperties | undefined;
578
- class?: any;
579
- } & RecordType>>;
580
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
581
- [key: string]: any;
582
- style?: CSSProperties | undefined;
583
- }>;
584
- readonly fieldProps: PropsItemType<Partial<{
585
- [index: string]: any;
586
- [index: number]: any;
587
- [index: symbol]: any;
588
- class: any;
589
- style: CSSProperties;
590
- modelModifiers: {
591
- [index: string]: any;
592
- lazy?: boolean | undefined;
593
- trim?: boolean | undefined;
594
- number?: boolean | undefined;
595
- };
596
- rows: number;
597
- autocomplete: string;
598
- 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;
599
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
600
- step: string | number;
601
- format: string | ProgressFn | undefined;
602
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
603
- id: string | [string, string];
604
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
605
- height: string | number;
606
- autosize: InputAutoSize;
607
- } & 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>>>>;
608
- readonly options: OptionsType;
609
- readonly fieldSlots: {
610
- [slotName: string]: (data?: any) => RenderTypes;
611
- };
612
- readonly valueType: TableValueType | FormItemValueType;
613
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
614
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
615
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
616
- readonly renderErrorMessage: ((props: PlusColumn & {
617
- value?: FieldValueType;
618
- error?: string | undefined;
619
- label?: string | undefined;
620
- }) => RenderTypes) | undefined;
621
- readonly optionsMap: {
622
- label?: string | undefined;
623
- value?: string | undefined;
624
- } | undefined;
625
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
626
- store?: any;
627
- method?: string | undefined;
628
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
629
- dictCode?: string | undefined;
630
- } | undefined;
631
- readonly clearable: boolean;
632
- readonly ellipsis: boolean;
633
- readonly index: number;
634
- } & {
635
- readonly ellipsis: boolean;
636
- readonly clearable: boolean;
637
- };
638
- label: string;
639
- fieldProps: RecordType;
640
- formItemProps: RecordType;
641
- options: OptionsRow<undefined>[];
642
- fieldInstance?: any;
643
- valueIsReady?: Ref<boolean> | undefined;
644
- prop: string;
645
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
646
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
647
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
648
- style?: CSSProperties | undefined;
649
- class?: any;
650
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
651
- style?: CSSProperties | undefined;
652
- class?: any;
653
- } & RecordType>>;
654
- fieldSlots: {
655
- [slotName: string]: (data?: any) => RenderTypes;
656
- };
657
- valueType: TableValueType | FormItemValueType;
658
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
659
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
660
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
661
- renderErrorMessage: ((props: PlusColumn & {
662
- value?: FieldValueType;
663
- error?: string | undefined;
664
- label?: string | undefined;
665
- }) => RenderTypes) | undefined;
666
- optionsMap: {
667
- label?: string | undefined;
668
- value?: string | undefined;
669
- } | undefined;
670
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
671
- store?: any;
672
- method?: string | undefined;
673
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
674
- dictCode?: string | undefined;
675
- } | undefined;
676
- clearable: boolean;
677
- ellipsis: boolean;
678
- index: number;
679
- }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
680
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
681
- readonly label: string | ComputedRef<string>;
682
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
683
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
684
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
685
- style?: CSSProperties | undefined;
686
- class?: any;
687
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
688
- style?: CSSProperties | undefined;
689
- class?: any;
690
- } & RecordType>>;
691
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
692
- [key: string]: any;
693
- style?: CSSProperties | undefined;
694
- }>;
695
- readonly fieldProps: PropsItemType<Partial<{
696
- [index: string]: any;
697
- [index: number]: any;
698
- [index: symbol]: any;
699
- class: any;
700
- style: CSSProperties;
701
- modelModifiers: {
702
- [index: string]: any;
703
- lazy?: boolean | undefined;
704
- trim?: boolean | undefined;
705
- number?: boolean | undefined;
706
- };
707
- rows: number;
708
- autocomplete: string;
709
- 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;
710
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
711
- step: string | number;
712
- format: string | ProgressFn | undefined;
713
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
714
- id: string | [string, string];
715
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
716
- height: string | number;
717
- autosize: InputAutoSize;
718
- } & 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>>>>;
719
- readonly options: OptionsType;
720
- readonly fieldSlots: {
721
- [slotName: string]: (data?: any) => RenderTypes;
722
- };
723
- readonly valueType: TableValueType | FormItemValueType;
724
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
725
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
726
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
727
- readonly renderErrorMessage: ((props: PlusColumn & {
728
- value?: FieldValueType;
729
- error?: string | undefined;
730
- label?: string | undefined;
731
- }) => RenderTypes) | undefined;
732
- readonly optionsMap: {
733
- label?: string | undefined;
734
- value?: string | undefined;
735
- } | undefined;
736
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
737
- store?: any;
738
- method?: string | undefined;
739
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
740
- dictCode?: string | undefined;
741
- } | undefined;
742
- readonly clearable: boolean;
743
- readonly ellipsis: boolean;
744
- readonly index: number;
745
- } & {
746
- readonly ellipsis: boolean;
747
- readonly clearable: boolean;
748
- };
749
- label: string;
750
- fieldProps: RecordType;
751
- formItemProps: RecordType;
752
- options: OptionsRow<undefined>[];
753
- fieldInstance?: any;
754
- valueIsReady?: Ref<boolean> | undefined;
755
- prop: string;
756
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
757
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
758
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
759
- style?: CSSProperties | undefined;
760
- class?: any;
761
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
762
- style?: CSSProperties | undefined;
763
- class?: any;
764
- } & RecordType>>;
765
- fieldSlots: {
766
- [slotName: string]: (data?: any) => RenderTypes;
767
- };
768
- valueType: TableValueType | FormItemValueType;
769
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
770
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
771
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
772
- renderErrorMessage: ((props: PlusColumn & {
773
- value?: FieldValueType;
774
- error?: string | undefined;
775
- label?: string | undefined;
776
- }) => RenderTypes) | undefined;
777
- optionsMap: {
778
- label?: string | undefined;
779
- value?: string | undefined;
780
- } | undefined;
781
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
782
- store?: any;
783
- method?: string | undefined;
784
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
785
- dictCode?: string | undefined;
786
- } | undefined;
787
- clearable: boolean;
788
- ellipsis: boolean;
789
- index: number;
790
- }) => any>> & {
791
- default?(_: {}): any;
792
- "group-header"?(_: {
793
- title: string;
794
- columns: PlusColumn[] | undefined;
795
- icon: Component | undefined;
796
- index: number;
797
- }): any;
798
- footer?(_: {
799
- handleReset: () => void;
800
- handleSubmit: () => void;
801
- }): any;
802
- };
803
- }) | null | undefined>;
804
- handleReset: () => void;
805
- handleSearch: () => void;
806
- handleUnfold: (e: MouseEvent) => void;
807
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
808
- "update:modelValue": (values: FieldValues) => void;
809
- search: (values: FieldValues) => void;
810
- change: (values: FieldValues, column: PlusColumn) => void;
811
- reset: (values: FieldValues) => void;
812
- collapse: (isShowUnfold: boolean) => void;
813
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusSearchProps>, {
814
- modelValue: () => {};
815
- defaultValues: () => {};
816
- layout: "grid";
817
- hasFooter: boolean;
818
- hasReset: boolean;
819
- hasUnfold: boolean;
820
- defaultUnfold: boolean;
821
- searchLoading: boolean;
822
- searchText: string;
823
- resetText: string;
824
- retractText: string;
825
- expandText: string;
826
- inline: boolean;
827
- ellipsis: boolean;
828
- showNumber: number;
829
- labelPosition: undefined;
830
- columns: () => never[];
831
- rowProps: () => {
832
- gutter: number;
833
- };
834
- colProps: () => {
835
- xs: number;
836
- sm: number;
837
- md: number;
838
- lg: number;
839
- xl: number;
840
- };
841
- needValidate: boolean;
842
- searchIcon: undefined;
843
- resetIcon: undefined;
844
- }>>> & {
845
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
846
- onReset?: ((values: FieldValues) => any) | undefined;
847
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
848
- onSearch?: ((values: FieldValues) => any) | undefined;
849
- onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
850
- }, {
851
- columns: PlusColumn[];
852
- layout: "grid" | "flex";
853
- modelValue: FieldValues;
854
- labelPosition: "top" | "right" | "left";
855
- inline: boolean;
856
- showNumber: number;
857
- ellipsis: boolean;
858
- defaultValues: FieldValues;
859
- rowProps: Partial< Mutable<RowProps> & {
860
- style?: CSSProperties | undefined;
861
- class?: any;
862
- } & RecordType>;
863
- colProps: Partial< Mutable<ColProps> & {
864
- style?: CSSProperties | undefined;
865
- class?: any;
866
- } & RecordType>;
867
- hasFooter: boolean;
868
- hasReset: boolean;
869
- resetText: string;
870
- hasUnfold: boolean;
871
- defaultUnfold: boolean;
872
- searchText: string;
873
- retractText: string;
874
- expandText: string;
875
- searchLoading: boolean;
876
- needValidate: boolean;
877
- searchIcon: Component | null;
878
- resetIcon: Component | null;
879
- }, {}>, Partial<Record<NonNullable<string | number>, (_: {
880
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
881
- readonly label: string | ComputedRef<string>;
882
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
883
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
884
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
885
- style?: CSSProperties | undefined;
886
- class?: any;
887
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
888
- style?: CSSProperties | undefined;
889
- class?: any;
890
- } & RecordType>>;
891
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
892
- [key: string]: any;
893
- style?: CSSProperties | undefined;
894
- }>;
895
- readonly fieldProps: PropsItemType<Partial<{
896
- [index: string]: any;
897
- [index: number]: any;
898
- [index: symbol]: any;
899
- class: any;
900
- style: CSSProperties;
901
- modelModifiers: {
902
- [index: string]: any;
903
- lazy?: boolean | undefined;
904
- trim?: boolean | undefined;
905
- number?: boolean | undefined;
906
- };
907
- rows: number;
908
- autocomplete: string;
909
- 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;
910
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
911
- step: string | number;
912
- format: string | ProgressFn | undefined;
913
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
914
- id: string | [string, string];
915
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
916
- height: string | number;
917
- autosize: InputAutoSize;
918
- } & 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>>>>;
919
- readonly options: OptionsType;
920
- readonly fieldSlots: {
921
- [slotName: string]: (data?: any) => RenderTypes;
922
- };
923
- readonly valueType: TableValueType | FormItemValueType;
924
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
925
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
926
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
927
- readonly renderErrorMessage: ((props: PlusColumn & {
928
- value?: FieldValueType;
929
- error?: string | undefined;
930
- label?: string | undefined;
931
- }) => RenderTypes) | undefined;
932
- readonly optionsMap: {
933
- label?: string | undefined;
934
- value?: string | undefined;
935
- } | undefined;
936
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
937
- store?: any;
938
- method?: string | undefined;
939
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
940
- dictCode?: string | undefined;
941
- } | undefined;
942
- readonly clearable: boolean;
943
- readonly ellipsis: boolean;
944
- readonly index: number;
945
- } & {
946
- readonly ellipsis: boolean;
947
- readonly clearable: boolean;
948
- };
949
- label: string;
950
- fieldProps: RecordType;
951
- formItemProps: RecordType;
952
- options: OptionsRow<undefined>[];
953
- fieldInstance?: any;
954
- valueIsReady?: Ref<boolean> | undefined;
955
- prop: string;
956
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
957
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
958
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
959
- style?: CSSProperties | undefined;
960
- class?: any;
961
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
962
- style?: CSSProperties | undefined;
963
- class?: any;
964
- } & RecordType>>;
965
- fieldSlots: {
966
- [slotName: string]: (data?: any) => RenderTypes;
967
- };
968
- valueType: TableValueType | FormItemValueType;
969
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
970
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
971
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
972
- renderErrorMessage: ((props: PlusColumn & {
973
- value?: FieldValueType;
974
- error?: string | undefined;
975
- label?: string | undefined;
976
- }) => RenderTypes) | undefined;
977
- optionsMap: {
978
- label?: string | undefined;
979
- value?: string | undefined;
980
- } | undefined;
981
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
982
- store?: any;
983
- method?: string | undefined;
984
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
985
- dictCode?: string | undefined;
986
- } | undefined;
987
- clearable: boolean;
988
- ellipsis: boolean;
989
- index: number;
990
- }) => any>> & {
991
- footer?(_: {
992
- isShowUnfold: boolean;
993
- handleReset: () => void;
994
- handleSearch: () => void;
995
- handleUnfold: (e: MouseEvent) => void;
996
- searchLoading: boolean;
997
- }): any;
998
- }>;
999
- export default _default;
1000
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
1001
- type __VLS_TypePropsToRuntimeProps<T> = {
1002
- [K in keyof T]-?: {} extends Pick<T, K> ? {
1003
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
1004
- } : {
1005
- type: PropType<T[K]>;
1006
- required: true;
1007
- };
1008
- };
1009
- type __VLS_WithDefaults<P, D> = {
1010
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
1011
- default: D[K];
1012
- }> : P[K];
1013
- };
1014
- type __VLS_Prettify<T> = {
1015
- [K in keyof T]: T[K];
1016
- } & {};
1017
- type __VLS_WithTemplateSlots<T, S> = T & {
1018
- new (): {
1019
- $slots: S;
1020
- };
1021
- };