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