yc-pro-components 0.0.85 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/es/components/index.d.ts +1 -0
  2. package/es/components/index.mjs +1 -0
  3. package/es/components/page/src/index.vue2.mjs +31 -13
  4. package/es/components/search/src/index.vue2.mjs +1 -0
  5. package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
  6. package/es/components/yc-plus-page/src/index.vue2.mjs +24 -13
  7. package/es/components/yc-plus-page/src/type.d.ts +5 -0
  8. package/es/components/yc-query-filter/index.d.ts +7 -0
  9. package/es/components/yc-query-filter/index.mjs +6 -0
  10. package/es/components/yc-query-filter/src/index.vue.d.ts +32 -0
  11. package/es/components/yc-query-filter/src/index.vue.mjs +6 -0
  12. package/es/components/yc-query-filter/src/index.vue2.mjs +662 -0
  13. package/es/components/yc-query-filter/src/serialize.d.ts +4 -0
  14. package/es/components/yc-query-filter/src/serialize.mjs +17 -0
  15. package/es/constants/index.d.ts +1 -0
  16. package/es/constants/index.mjs +1 -0
  17. package/es/constants/query-filter.d.ts +69 -0
  18. package/es/constants/query-filter.mjs +3 -0
  19. package/es/hooks/index.d.ts +1 -0
  20. package/es/hooks/index.mjs +1 -0
  21. package/es/hooks/useQueryFilterConfig.d.ts +11 -0
  22. package/es/hooks/useQueryFilterConfig.mjs +38 -0
  23. package/es/index.css +12 -12
  24. package/es/index.d.ts +1 -1
  25. package/es/index.mjs +3 -0
  26. package/es/locale/lang/en.d.ts +33 -0
  27. package/es/locale/lang/en.mjs +33 -0
  28. package/es/locale/lang/ja.d.ts +33 -0
  29. package/es/locale/lang/ja.mjs +33 -0
  30. package/es/locale/lang/ko.d.ts +33 -0
  31. package/es/locale/lang/ko.mjs +33 -0
  32. package/es/locale/lang/zh-cn.d.ts +33 -0
  33. package/es/locale/lang/zh-cn.mjs +33 -0
  34. package/es/locale/lang/zh-tw.d.ts +33 -0
  35. package/es/locale/lang/zh-tw.mjs +33 -0
  36. package/es/version.d.ts +1 -1
  37. package/es/version.mjs +1 -1
  38. package/es/yc-components/index.d.ts +1 -1
  39. package/es/yc-components/version.d.ts +1 -1
  40. package/index.css +1 -1
  41. package/index.js +1069 -213
  42. package/index.min.css +1 -1
  43. package/index.min.js +16 -12
  44. package/index.min.mjs +16 -12
  45. package/index.mjs +1065 -215
  46. package/lib/components/index.d.ts +1 -0
  47. package/lib/components/index.js +3 -0
  48. package/lib/components/page/src/index.vue2.js +31 -13
  49. package/lib/components/search/src/index.vue2.js +1 -0
  50. package/lib/components/yc-plus-page/src/index.vue.js +1 -1
  51. package/lib/components/yc-plus-page/src/index.vue2.js +26 -15
  52. package/lib/components/yc-plus-page/src/type.d.ts +5 -0
  53. package/lib/components/yc-query-filter/index.d.ts +7 -0
  54. package/lib/components/yc-query-filter/index.js +9 -0
  55. package/lib/components/yc-query-filter/src/index.vue.d.ts +32 -0
  56. package/lib/components/yc-query-filter/src/index.vue.js +10 -0
  57. package/lib/components/yc-query-filter/src/index.vue2.js +666 -0
  58. package/lib/components/yc-query-filter/src/serialize.d.ts +4 -0
  59. package/lib/components/yc-query-filter/src/serialize.js +20 -0
  60. package/lib/constants/index.d.ts +1 -0
  61. package/lib/constants/index.js +2 -0
  62. package/lib/constants/query-filter.d.ts +69 -0
  63. package/lib/constants/query-filter.js +5 -0
  64. package/lib/hooks/index.d.ts +1 -0
  65. package/lib/hooks/index.js +4 -0
  66. package/lib/hooks/useQueryFilterConfig.d.ts +11 -0
  67. package/lib/hooks/useQueryFilterConfig.js +42 -0
  68. package/lib/index.css +9 -9
  69. package/lib/index.d.ts +1 -1
  70. package/lib/index.js +9 -0
  71. package/lib/locale/lang/en.d.ts +33 -0
  72. package/lib/locale/lang/en.js +33 -0
  73. package/lib/locale/lang/ja.d.ts +33 -0
  74. package/lib/locale/lang/ja.js +33 -0
  75. package/lib/locale/lang/ko.d.ts +33 -0
  76. package/lib/locale/lang/ko.js +33 -0
  77. package/lib/locale/lang/zh-cn.d.ts +33 -0
  78. package/lib/locale/lang/zh-cn.js +33 -0
  79. package/lib/locale/lang/zh-tw.d.ts +33 -0
  80. package/lib/locale/lang/zh-tw.js +33 -0
  81. package/lib/version.d.ts +1 -1
  82. package/lib/version.js +1 -1
  83. package/lib/yc-components/index.d.ts +1 -1
  84. package/lib/yc-components/version.d.ts +1 -1
  85. package/locale/en.d.ts +33 -0
  86. package/locale/en.js +34 -1
  87. package/locale/en.min.js +1 -1
  88. package/locale/en.min.mjs +1 -1
  89. package/locale/en.mjs +34 -1
  90. package/locale/ja.d.ts +33 -0
  91. package/locale/ja.js +34 -1
  92. package/locale/ja.min.js +1 -1
  93. package/locale/ja.min.mjs +1 -1
  94. package/locale/ja.mjs +34 -1
  95. package/locale/ko.d.ts +33 -0
  96. package/locale/ko.js +34 -1
  97. package/locale/ko.min.js +1 -1
  98. package/locale/ko.min.mjs +1 -1
  99. package/locale/ko.mjs +34 -1
  100. package/locale/zh-cn.d.ts +33 -0
  101. package/locale/zh-cn.js +34 -1
  102. package/locale/zh-cn.min.js +1 -1
  103. package/locale/zh-cn.min.mjs +1 -1
  104. package/locale/zh-cn.mjs +34 -1
  105. package/locale/zh-tw.d.ts +33 -0
  106. package/locale/zh-tw.js +34 -1
  107. package/locale/zh-tw.min.js +1 -1
  108. package/locale/zh-tw.min.mjs +1 -1
  109. package/locale/zh-tw.mjs +34 -1
  110. package/package.json +1 -1
  111. package/theme-chalk/index.css +1 -1
  112. package/theme-chalk/plus-yc-query-filter.css +1 -0
  113. package/theme-chalk/src/index.scss +1 -0
  114. package/theme-chalk/src/yc-query-filter.scss +163 -0
  115. package/es/components/breadcrumb/index.d.ts +0 -6985
  116. package/es/components/breadcrumb/src/index.vue.d.ts +0 -6947
  117. package/es/components/dialog-form/index.d.ts +0 -314
  118. package/es/components/dialog-form/src/index.vue.d.ts +0 -214
  119. package/es/components/display-item/index.d.ts +0 -580
  120. package/es/components/display-item/src/index.vue.d.ts +0 -446
  121. package/es/components/drawer-form/index.d.ts +0 -1592
  122. package/es/components/drawer-form/src/index.vue.d.ts +0 -630
  123. package/es/components/form/index.d.ts +0 -870
  124. package/es/components/form/src/form-content.vue.d.ts +0 -598
  125. package/es/components/form/src/index.vue.d.ts +0 -382
  126. package/es/components/form-item/index.d.ts +0 -1492
  127. package/es/components/form-item/src/index.vue.d.ts +0 -550
  128. package/es/components/page/index.d.ts +0 -10746
  129. package/es/components/page/src/index.vue.d.ts +0 -3775
  130. package/es/components/search/index.d.ts +0 -2977
  131. package/es/components/search/src/index.vue.d.ts +0 -1021
  132. package/es/components/table/src/table-column.vue.d.ts +0 -624
  133. package/es/components/yc-drawer/store.d.ts +0 -2359
  134. package/es/components/yc-plus-page/src/index.vue.d.ts +0 -8250
  135. package/es/hooks/usePlusFormReset.d.ts +0 -4501
  136. package/lib/components/breadcrumb/index.d.ts +0 -6985
  137. package/lib/components/breadcrumb/src/index.vue.d.ts +0 -6947
  138. package/lib/components/dialog-form/index.d.ts +0 -314
  139. package/lib/components/dialog-form/src/index.vue.d.ts +0 -214
  140. package/lib/components/display-item/index.d.ts +0 -580
  141. package/lib/components/display-item/src/index.vue.d.ts +0 -446
  142. package/lib/components/drawer-form/index.d.ts +0 -1592
  143. package/lib/components/drawer-form/src/index.vue.d.ts +0 -630
  144. package/lib/components/form/index.d.ts +0 -870
  145. package/lib/components/form/src/form-content.vue.d.ts +0 -598
  146. package/lib/components/form/src/index.vue.d.ts +0 -382
  147. package/lib/components/form-item/index.d.ts +0 -1492
  148. package/lib/components/form-item/src/index.vue.d.ts +0 -550
  149. package/lib/components/page/index.d.ts +0 -10746
  150. package/lib/components/page/src/index.vue.d.ts +0 -3775
  151. package/lib/components/search/index.d.ts +0 -2977
  152. package/lib/components/search/src/index.vue.d.ts +0 -1021
  153. package/lib/components/table/src/table-column.vue.d.ts +0 -624
  154. package/lib/components/yc-drawer/store.d.ts +0 -2359
  155. package/lib/components/yc-plus-page/src/index.vue.d.ts +0 -8250
  156. package/lib/hooks/usePlusFormReset.d.ts +0 -4501
@@ -1,580 +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 { PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
5
- import { RecordType, PlusColumn, FieldValueType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, OptionsRow } from 'yc-pro-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
- rest: {
18
- type: PropType<RecordType>;
19
- default: () => {};
20
- };
21
- formProps: {
22
- type: PropType<PlusFormProps>;
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
- rest: {
71
- type: PropType<RecordType>;
72
- default: () => {};
73
- };
74
- formProps: {
75
- type: PropType<PlusFormProps>;
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
- rest: RecordType;
104
- formProps: PlusFormProps;
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
- rest: {
121
- type: PropType<RecordType>;
122
- default: () => {};
123
- };
124
- formProps: {
125
- type: PropType<PlusFormProps>;
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
- rest: RecordType;
165
- formProps: PlusFormProps;
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
- rest: {
179
- type: PropType<RecordType>;
180
- default: () => {};
181
- };
182
- formProps: {
183
- type: PropType<PlusFormProps>;
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
- rest: RecordType;
229
- formProps: PlusFormProps;
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" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
236
- readonly label: string | ComputedRef<string>;
237
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
238
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
239
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
240
- style?: CSSProperties | undefined;
241
- class?: any;
242
- } & RecordType> | ComputedRef<string> | 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" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
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 ellipsis: boolean;
299
- readonly index: number;
300
- } & {
301
- readonly ellipsis: boolean;
302
- readonly clearable: boolean;
303
- };
304
- label: string;
305
- fieldProps: RecordType;
306
- formItemProps: RecordType;
307
- options: OptionsRow<undefined>[];
308
- fieldInstance?: any;
309
- valueIsReady?: Ref<boolean> | undefined;
310
- prop: string;
311
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
312
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
313
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
314
- style?: CSSProperties | undefined;
315
- class?: any;
316
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
317
- style?: CSSProperties | undefined;
318
- class?: any;
319
- } & RecordType>>;
320
- fieldSlots: {
321
- [slotName: string]: (data?: any) => RenderTypes;
322
- };
323
- valueType: TableValueType | FormItemValueType;
324
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
325
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
326
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
327
- renderErrorMessage: ((props: PlusColumn & {
328
- value?: FieldValueType;
329
- error?: string | undefined;
330
- label?: string | undefined;
331
- }) => RenderTypes) | undefined;
332
- optionsMap: {
333
- label?: string | undefined;
334
- value?: string | undefined;
335
- } | undefined;
336
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
337
- store?: any;
338
- method?: string | undefined;
339
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
340
- dictCode?: string | undefined;
341
- } | undefined;
342
- clearable: boolean;
343
- ellipsis: boolean;
344
- index: number;
345
- }) => any>> & Partial<Record<string, (_: {
346
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
347
- readonly label: string | ComputedRef<string>;
348
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
349
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
350
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
351
- style?: CSSProperties | undefined;
352
- class?: any;
353
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
354
- style?: CSSProperties | undefined;
355
- class?: any;
356
- } & RecordType>>;
357
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
358
- [key: string]: any;
359
- style?: CSSProperties | undefined;
360
- }>;
361
- readonly fieldProps: PropsItemType<Partial<{
362
- [index: string]: any;
363
- [index: number]: any;
364
- [index: symbol]: any;
365
- class: any;
366
- style: CSSProperties;
367
- modelModifiers: {
368
- [index: string]: any;
369
- lazy?: boolean | undefined;
370
- trim?: boolean | undefined;
371
- number?: boolean | undefined;
372
- };
373
- rows: number;
374
- autocomplete: string;
375
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
376
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
377
- step: string | number;
378
- format: string | ProgressFn | undefined;
379
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
380
- id: string | [string, string];
381
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
382
- height: string | number;
383
- autosize: InputAutoSize;
384
- } & 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>>>>;
385
- readonly options: OptionsType;
386
- readonly fieldSlots: {
387
- [slotName: string]: (data?: any) => RenderTypes;
388
- };
389
- readonly valueType: TableValueType | FormItemValueType;
390
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
391
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
392
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
393
- readonly renderErrorMessage: ((props: PlusColumn & {
394
- value?: FieldValueType;
395
- error?: string | undefined;
396
- label?: string | undefined;
397
- }) => RenderTypes) | undefined;
398
- readonly optionsMap: {
399
- label?: string | undefined;
400
- value?: string | undefined;
401
- } | undefined;
402
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
403
- store?: any;
404
- method?: string | undefined;
405
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
406
- dictCode?: string | undefined;
407
- } | undefined;
408
- readonly clearable: boolean;
409
- readonly ellipsis: boolean;
410
- readonly index: number;
411
- } & {
412
- readonly ellipsis: boolean;
413
- readonly clearable: boolean;
414
- };
415
- label: string;
416
- fieldProps: RecordType;
417
- formItemProps: RecordType;
418
- options: OptionsRow<undefined>[];
419
- fieldInstance?: any;
420
- valueIsReady?: Ref<boolean> | undefined;
421
- prop: string;
422
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
423
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
424
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
425
- style?: CSSProperties | undefined;
426
- class?: any;
427
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
428
- style?: CSSProperties | undefined;
429
- class?: any;
430
- } & RecordType>>;
431
- fieldSlots: {
432
- [slotName: string]: (data?: any) => RenderTypes;
433
- };
434
- valueType: TableValueType | FormItemValueType;
435
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
436
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
437
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
438
- renderErrorMessage: ((props: PlusColumn & {
439
- value?: FieldValueType;
440
- error?: string | undefined;
441
- label?: string | undefined;
442
- }) => RenderTypes) | undefined;
443
- optionsMap: {
444
- label?: string | undefined;
445
- value?: string | undefined;
446
- } | undefined;
447
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
448
- store?: any;
449
- method?: string | undefined;
450
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
451
- dictCode?: string | undefined;
452
- } | undefined;
453
- clearable: boolean;
454
- ellipsis: boolean;
455
- index: number;
456
- }) => any>> & Partial<Record<string, (_: {
457
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
458
- readonly label: string | ComputedRef<string>;
459
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
460
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
461
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
462
- style?: CSSProperties | undefined;
463
- class?: any;
464
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
465
- style?: CSSProperties | undefined;
466
- class?: any;
467
- } & RecordType>>;
468
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
469
- [key: string]: any;
470
- style?: CSSProperties | undefined;
471
- }>;
472
- readonly fieldProps: PropsItemType<Partial<{
473
- [index: string]: any;
474
- [index: number]: any;
475
- [index: symbol]: any;
476
- class: any;
477
- style: CSSProperties;
478
- modelModifiers: {
479
- [index: string]: any;
480
- lazy?: boolean | undefined;
481
- trim?: boolean | undefined;
482
- number?: boolean | undefined;
483
- };
484
- rows: number;
485
- autocomplete: string;
486
- type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "email" | "tel" | "password" | "range" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
487
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
488
- step: string | number;
489
- format: string | ProgressFn | undefined;
490
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
491
- id: string | [string, string];
492
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
493
- height: string | number;
494
- autosize: InputAutoSize;
495
- } & 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>>>>;
496
- readonly options: OptionsType;
497
- readonly fieldSlots: {
498
- [slotName: string]: (data?: any) => RenderTypes;
499
- };
500
- readonly valueType: TableValueType | FormItemValueType;
501
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
502
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
503
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
504
- readonly renderErrorMessage: ((props: PlusColumn & {
505
- value?: FieldValueType;
506
- error?: string | undefined;
507
- label?: string | undefined;
508
- }) => RenderTypes) | undefined;
509
- readonly optionsMap: {
510
- label?: string | undefined;
511
- value?: string | undefined;
512
- } | undefined;
513
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
514
- store?: any;
515
- method?: string | undefined;
516
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
517
- dictCode?: string | undefined;
518
- } | undefined;
519
- readonly clearable: boolean;
520
- readonly ellipsis: boolean;
521
- readonly index: number;
522
- } & {
523
- readonly ellipsis: boolean;
524
- readonly clearable: boolean;
525
- };
526
- label: string;
527
- fieldProps: RecordType;
528
- formItemProps: RecordType;
529
- options: OptionsRow<undefined>[];
530
- fieldInstance?: any;
531
- valueIsReady?: Ref<boolean> | undefined;
532
- prop: string;
533
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
534
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
535
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
536
- style?: CSSProperties | undefined;
537
- class?: any;
538
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
539
- style?: CSSProperties | undefined;
540
- class?: any;
541
- } & RecordType>>;
542
- fieldSlots: {
543
- [slotName: string]: (data?: any) => RenderTypes;
544
- };
545
- valueType: TableValueType | FormItemValueType;
546
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
547
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
548
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
549
- renderErrorMessage: ((props: PlusColumn & {
550
- value?: FieldValueType;
551
- error?: string | undefined;
552
- label?: string | undefined;
553
- }) => RenderTypes) | undefined;
554
- optionsMap: {
555
- label?: string | undefined;
556
- value?: string | undefined;
557
- } | undefined;
558
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
559
- store?: any;
560
- method?: string | undefined;
561
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
562
- dictCode?: string | undefined;
563
- } | undefined;
564
- clearable: boolean;
565
- ellipsis: boolean;
566
- index: number;
567
- }) => any>> & Partial<Record<string, (_: {
568
- column: any;
569
- prop: string;
570
- valueType: TableValueType | FormItemValueType;
571
- row: RecordType;
572
- index: number;
573
- rowIndex: number;
574
- fieldProps: RecordType;
575
- options: OptionsRow<undefined>[];
576
- value: any;
577
- }) => any>> & {
578
- "edit-icon"?(_: {}): any;
579
- };
580
- });