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,571 +0,0 @@
1
- import { EpPropMergeType } from 'element-plus/es/utils';
2
- import { 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';
3
- import { LooseRequired } from '@vue/shared';
4
- import { RecordType, PlusColumn, FieldValueType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'yc-pro-components';
5
- import { PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
6
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, CSSProperties } from 'vue';
7
- import { default as DisplayItem } from './src/index.vue';
8
-
9
- export type PlusDisplayItemInstance = InstanceType<typeof DisplayItem>;
10
- export type { PlusDisplayItemProps } from './src/index.vue';
11
- export declare const PlusDisplayItem: {
12
- new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
13
- index: {
14
- type: PropType<number>;
15
- default: number;
16
- };
17
- formProps: {
18
- type: PropType<PlusFormProps>;
19
- default: () => {};
20
- };
21
- rest: {
22
- type: PropType<RecordType>;
23
- default: () => {};
24
- };
25
- column: {
26
- type: PropType<PlusColumn>;
27
- required: true;
28
- default: () => {
29
- prop: string;
30
- label: string;
31
- };
32
- };
33
- row: {
34
- type: PropType<RecordType>;
35
- required: true;
36
- default: () => {};
37
- };
38
- editable: {
39
- type: PropType<boolean | "click" | "dblclick">;
40
- default: boolean;
41
- };
42
- }>> & {
43
- onChange?: ((data: {
44
- value: FieldValueType;
45
- prop: string;
46
- row: RecordType;
47
- }) => any) | undefined;
48
- }, {
49
- startCellEdit: () => void;
50
- stopCellEdit: () => void;
51
- getDisplayItemInstance: () => {
52
- isEdit: Ref<boolean>;
53
- index: number;
54
- rowIndex: number;
55
- cellIndex: any;
56
- prop: string;
57
- formInstance: ComputedRef<any>;
58
- };
59
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
60
- change: (data: {
61
- value: FieldValueType;
62
- prop: string;
63
- row: RecordType;
64
- }) => void;
65
- }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
66
- index: {
67
- type: PropType<number>;
68
- default: number;
69
- };
70
- formProps: {
71
- type: PropType<PlusFormProps>;
72
- default: () => {};
73
- };
74
- rest: {
75
- type: PropType<RecordType>;
76
- default: () => {};
77
- };
78
- column: {
79
- type: PropType<PlusColumn>;
80
- required: true;
81
- default: () => {
82
- prop: string;
83
- label: string;
84
- };
85
- };
86
- row: {
87
- type: PropType<RecordType>;
88
- required: true;
89
- default: () => {};
90
- };
91
- editable: {
92
- type: PropType<boolean | "click" | "dblclick">;
93
- default: boolean;
94
- };
95
- }>> & {
96
- onChange?: ((data: {
97
- value: FieldValueType;
98
- prop: string;
99
- row: RecordType;
100
- }) => any) | undefined;
101
- }, {
102
- index: number;
103
- formProps: PlusFormProps;
104
- rest: RecordType;
105
- column: PlusColumn;
106
- row: RecordType;
107
- editable: boolean | "click" | "dblclick";
108
- }, true, {}, {}, {
109
- P: {};
110
- B: {};
111
- D: {};
112
- C: {};
113
- M: {};
114
- Defaults: {};
115
- }, Readonly< ExtractPropTypes<{
116
- index: {
117
- type: PropType<number>;
118
- default: number;
119
- };
120
- formProps: {
121
- type: PropType<PlusFormProps>;
122
- default: () => {};
123
- };
124
- rest: {
125
- type: PropType<RecordType>;
126
- default: () => {};
127
- };
128
- column: {
129
- type: PropType<PlusColumn>;
130
- required: true;
131
- default: () => {
132
- prop: string;
133
- label: string;
134
- };
135
- };
136
- row: {
137
- type: PropType<RecordType>;
138
- required: true;
139
- default: () => {};
140
- };
141
- editable: {
142
- type: PropType<boolean | "click" | "dblclick">;
143
- default: boolean;
144
- };
145
- }>> & {
146
- onChange?: ((data: {
147
- value: FieldValueType;
148
- prop: string;
149
- row: RecordType;
150
- }) => any) | undefined;
151
- }, {
152
- startCellEdit: () => void;
153
- stopCellEdit: () => void;
154
- getDisplayItemInstance: () => {
155
- isEdit: Ref<boolean>;
156
- index: number;
157
- rowIndex: number;
158
- cellIndex: any;
159
- prop: string;
160
- formInstance: ComputedRef<any>;
161
- };
162
- }, {}, {}, {}, {
163
- index: number;
164
- formProps: PlusFormProps;
165
- rest: RecordType;
166
- column: PlusColumn;
167
- row: RecordType;
168
- editable: boolean | "click" | "dblclick";
169
- }>;
170
- __isFragment?: undefined;
171
- __isTeleport?: undefined;
172
- __isSuspense?: undefined;
173
- } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
174
- index: {
175
- type: PropType<number>;
176
- default: number;
177
- };
178
- formProps: {
179
- type: PropType<PlusFormProps>;
180
- default: () => {};
181
- };
182
- rest: {
183
- type: PropType<RecordType>;
184
- default: () => {};
185
- };
186
- column: {
187
- type: PropType<PlusColumn>;
188
- required: true;
189
- default: () => {
190
- prop: string;
191
- label: string;
192
- };
193
- };
194
- row: {
195
- type: PropType<RecordType>;
196
- required: true;
197
- default: () => {};
198
- };
199
- editable: {
200
- type: PropType<boolean | "click" | "dblclick">;
201
- default: boolean;
202
- };
203
- }>> & {
204
- onChange?: ((data: {
205
- value: FieldValueType;
206
- prop: string;
207
- row: RecordType;
208
- }) => any) | undefined;
209
- }, {
210
- startCellEdit: () => void;
211
- stopCellEdit: () => void;
212
- getDisplayItemInstance: () => {
213
- isEdit: Ref<boolean>;
214
- index: number;
215
- rowIndex: number;
216
- cellIndex: any;
217
- prop: string;
218
- formInstance: ComputedRef<any>;
219
- };
220
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
221
- change: (data: {
222
- value: FieldValueType;
223
- prop: string;
224
- row: RecordType;
225
- }) => void;
226
- }, string, {
227
- index: number;
228
- formProps: PlusFormProps;
229
- rest: RecordType;
230
- column: PlusColumn;
231
- row: RecordType;
232
- editable: boolean | "click" | "dblclick";
233
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
234
- $slots: Partial<Record<string, (_: {
235
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
236
- readonly label: string | ComputedRef<string>;
237
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
238
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
239
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
240
- style?: CSSProperties | undefined;
241
- class?: any;
242
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
243
- style?: CSSProperties | undefined;
244
- class?: any;
245
- } & RecordType>>;
246
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
247
- [key: string]: any;
248
- style?: CSSProperties | undefined;
249
- }>;
250
- readonly fieldProps: PropsItemType<Partial<{
251
- [index: string]: any;
252
- [index: number]: any;
253
- [index: symbol]: any;
254
- class: any;
255
- style: CSSProperties;
256
- modelModifiers: {
257
- [index: string]: any;
258
- lazy?: boolean | undefined;
259
- trim?: boolean | undefined;
260
- number?: boolean | undefined;
261
- };
262
- rows: number;
263
- autocomplete: string;
264
- 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;
265
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
266
- step: string | number;
267
- format: string | ProgressFn | undefined;
268
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
269
- id: string | [string, string];
270
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
271
- height: string | number;
272
- autosize: InputAutoSize;
273
- } & 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>>>>;
274
- readonly options: OptionsType;
275
- readonly fieldSlots: {
276
- [slotName: string]: (data?: any) => RenderTypes;
277
- };
278
- readonly valueType: TableValueType | FormItemValueType;
279
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
280
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
281
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
282
- readonly renderErrorMessage: ((props: PlusColumn & {
283
- value?: FieldValueType;
284
- error?: string | undefined;
285
- label?: string | undefined;
286
- }) => RenderTypes) | undefined;
287
- readonly optionsMap: {
288
- label?: string | undefined;
289
- value?: string | undefined;
290
- } | undefined;
291
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
292
- store?: any;
293
- method?: string | undefined;
294
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
295
- dictCode?: string | undefined;
296
- } | undefined;
297
- readonly clearable: boolean;
298
- readonly index: number;
299
- } & {
300
- readonly clearable: boolean;
301
- };
302
- label: string;
303
- fieldProps: RecordType;
304
- formItemProps: RecordType;
305
- options: OptionsRow<undefined>[];
306
- fieldInstance?: any;
307
- valueIsReady?: Ref<boolean> | undefined;
308
- prop: string;
309
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
310
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
311
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
312
- style?: CSSProperties | undefined;
313
- class?: any;
314
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
315
- style?: CSSProperties | undefined;
316
- class?: any;
317
- } & RecordType>>;
318
- fieldSlots: {
319
- [slotName: string]: (data?: any) => RenderTypes;
320
- };
321
- valueType: TableValueType | FormItemValueType;
322
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
323
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
324
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
325
- renderErrorMessage: ((props: PlusColumn & {
326
- value?: FieldValueType;
327
- error?: string | undefined;
328
- label?: string | undefined;
329
- }) => RenderTypes) | undefined;
330
- optionsMap: {
331
- label?: string | undefined;
332
- value?: string | undefined;
333
- } | undefined;
334
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
335
- store?: any;
336
- method?: string | undefined;
337
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
338
- dictCode?: string | undefined;
339
- } | undefined;
340
- clearable: boolean;
341
- index: number;
342
- }) => any>> & Partial<Record<string, (_: {
343
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
344
- readonly label: string | ComputedRef<string>;
345
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
346
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
347
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
348
- style?: CSSProperties | undefined;
349
- class?: any;
350
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
351
- style?: CSSProperties | undefined;
352
- class?: any;
353
- } & RecordType>>;
354
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
355
- [key: string]: any;
356
- style?: CSSProperties | undefined;
357
- }>;
358
- readonly fieldProps: PropsItemType<Partial<{
359
- [index: string]: any;
360
- [index: number]: any;
361
- [index: symbol]: any;
362
- class: any;
363
- style: CSSProperties;
364
- modelModifiers: {
365
- [index: string]: any;
366
- lazy?: boolean | undefined;
367
- trim?: boolean | undefined;
368
- number?: boolean | undefined;
369
- };
370
- rows: number;
371
- autocomplete: string;
372
- 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;
373
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
374
- step: string | number;
375
- format: string | ProgressFn | undefined;
376
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
377
- id: string | [string, string];
378
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
379
- height: string | number;
380
- autosize: InputAutoSize;
381
- } & 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>>>>;
382
- readonly options: OptionsType;
383
- readonly fieldSlots: {
384
- [slotName: string]: (data?: any) => RenderTypes;
385
- };
386
- readonly valueType: TableValueType | FormItemValueType;
387
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
388
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
389
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
390
- readonly renderErrorMessage: ((props: PlusColumn & {
391
- value?: FieldValueType;
392
- error?: string | undefined;
393
- label?: string | undefined;
394
- }) => RenderTypes) | undefined;
395
- readonly optionsMap: {
396
- label?: string | undefined;
397
- value?: string | undefined;
398
- } | undefined;
399
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
400
- store?: any;
401
- method?: string | undefined;
402
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
403
- dictCode?: string | undefined;
404
- } | undefined;
405
- readonly clearable: boolean;
406
- readonly index: number;
407
- } & {
408
- readonly clearable: boolean;
409
- };
410
- label: string;
411
- fieldProps: RecordType;
412
- formItemProps: RecordType;
413
- options: OptionsRow<undefined>[];
414
- fieldInstance?: any;
415
- valueIsReady?: Ref<boolean> | undefined;
416
- prop: string;
417
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
418
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
419
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
420
- style?: CSSProperties | undefined;
421
- class?: any;
422
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
423
- style?: CSSProperties | undefined;
424
- class?: any;
425
- } & RecordType>>;
426
- fieldSlots: {
427
- [slotName: string]: (data?: any) => RenderTypes;
428
- };
429
- valueType: TableValueType | FormItemValueType;
430
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
431
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
432
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
433
- renderErrorMessage: ((props: PlusColumn & {
434
- value?: FieldValueType;
435
- error?: string | undefined;
436
- label?: string | undefined;
437
- }) => RenderTypes) | undefined;
438
- optionsMap: {
439
- label?: string | undefined;
440
- value?: string | undefined;
441
- } | undefined;
442
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
443
- store?: any;
444
- method?: string | undefined;
445
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
446
- dictCode?: string | undefined;
447
- } | undefined;
448
- clearable: boolean;
449
- index: number;
450
- }) => any>> & Partial<Record<string, (_: {
451
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
452
- readonly label: string | ComputedRef<string>;
453
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
454
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
455
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
456
- style?: CSSProperties | undefined;
457
- class?: any;
458
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
459
- style?: CSSProperties | undefined;
460
- class?: any;
461
- } & RecordType>>;
462
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
463
- [key: string]: any;
464
- style?: CSSProperties | undefined;
465
- }>;
466
- readonly fieldProps: PropsItemType<Partial<{
467
- [index: string]: any;
468
- [index: number]: any;
469
- [index: symbol]: any;
470
- class: any;
471
- style: CSSProperties;
472
- modelModifiers: {
473
- [index: string]: any;
474
- lazy?: boolean | undefined;
475
- trim?: boolean | undefined;
476
- number?: boolean | undefined;
477
- };
478
- rows: number;
479
- autocomplete: string;
480
- 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;
481
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
482
- step: string | number;
483
- format: string | ProgressFn | undefined;
484
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
485
- id: string | [string, string];
486
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
487
- height: string | number;
488
- autosize: InputAutoSize;
489
- } & 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>>>>;
490
- readonly options: OptionsType;
491
- readonly fieldSlots: {
492
- [slotName: string]: (data?: any) => RenderTypes;
493
- };
494
- readonly valueType: TableValueType | FormItemValueType;
495
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
496
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
497
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
498
- readonly renderErrorMessage: ((props: PlusColumn & {
499
- value?: FieldValueType;
500
- error?: string | undefined;
501
- label?: string | undefined;
502
- }) => RenderTypes) | undefined;
503
- readonly optionsMap: {
504
- label?: string | undefined;
505
- value?: string | undefined;
506
- } | undefined;
507
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
508
- store?: any;
509
- method?: string | undefined;
510
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
511
- dictCode?: string | undefined;
512
- } | undefined;
513
- readonly clearable: boolean;
514
- readonly index: number;
515
- } & {
516
- readonly clearable: boolean;
517
- };
518
- label: string;
519
- fieldProps: RecordType;
520
- formItemProps: RecordType;
521
- options: OptionsRow<undefined>[];
522
- fieldInstance?: any;
523
- valueIsReady?: Ref<boolean> | undefined;
524
- prop: string;
525
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
526
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
527
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
528
- style?: CSSProperties | undefined;
529
- class?: any;
530
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
531
- style?: CSSProperties | undefined;
532
- class?: any;
533
- } & RecordType>>;
534
- fieldSlots: {
535
- [slotName: string]: (data?: any) => RenderTypes;
536
- };
537
- valueType: TableValueType | FormItemValueType;
538
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
539
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
540
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
541
- renderErrorMessage: ((props: PlusColumn & {
542
- value?: FieldValueType;
543
- error?: string | undefined;
544
- label?: string | undefined;
545
- }) => RenderTypes) | undefined;
546
- optionsMap: {
547
- label?: string | undefined;
548
- value?: string | undefined;
549
- } | undefined;
550
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
551
- store?: any;
552
- method?: string | undefined;
553
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
554
- dictCode?: string | undefined;
555
- } | undefined;
556
- clearable: boolean;
557
- index: number;
558
- }) => any>> & Partial<Record<string, (_: {
559
- column: any;
560
- prop: string;
561
- valueType: TableValueType | FormItemValueType;
562
- row: RecordType;
563
- index: number;
564
- rowIndex: number;
565
- fieldProps: RecordType;
566
- options: OptionsRow<undefined>[];
567
- value: any;
568
- }) => any>> & {
569
- "edit-icon"?(_: {}): any;
570
- };
571
- });