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,382 +0,0 @@
1
- import { PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
2
- import { LooseRequired } from '@vue/shared';
3
- import { Arrayable, EpPropMergeType } from 'element-plus/es/utils';
4
- import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, CSSProperties, ComputedRef, Component, PropType } from 'vue';
5
- import { PlusFormSelfProps, PlusFormGroupRow } from './type';
6
- import { PlusColumn, FieldValues, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components/es/types';
7
- import { FormInstance, FormItemRule, RowProps, ColProps, CardProps, 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';
8
-
9
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusFormSelfProps>, {
10
- modelValue: () => {};
11
- defaultValues: () => {};
12
- labelWidth: string;
13
- labelPosition: string;
14
- layout: undefined;
15
- rowProps: () => {};
16
- colProps: () => {};
17
- labelSuffix: string;
18
- hasErrorTip: boolean;
19
- hasFooter: boolean;
20
- hasReset: boolean;
21
- hasLabel: boolean;
22
- ellipsis: boolean;
23
- submitLoading: boolean;
24
- submitText: string;
25
- resetText: string;
26
- footerAlign: string;
27
- rules: () => {};
28
- columns: () => never[];
29
- group: boolean;
30
- cardProps: () => {};
31
- prevent: boolean;
32
- collapseDuration: undefined;
33
- collapseTransition: undefined;
34
- clearable: boolean;
35
- }>, {
36
- formInstance: Ref<FormInstance | null>;
37
- handleSubmit: () => void;
38
- handleReset: () => void;
39
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
40
- "update:modelValue": (values: FieldValues) => void;
41
- submit: (values: FieldValues) => void;
42
- change: (values: FieldValues, column: PlusColumn) => void;
43
- reset: (values: FieldValues) => void;
44
- submitError: (errors: unknown) => void;
45
- validate: (...args: any[]) => void;
46
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusFormSelfProps>, {
47
- modelValue: () => {};
48
- defaultValues: () => {};
49
- labelWidth: string;
50
- labelPosition: string;
51
- layout: undefined;
52
- rowProps: () => {};
53
- colProps: () => {};
54
- labelSuffix: string;
55
- hasErrorTip: boolean;
56
- hasFooter: boolean;
57
- hasReset: boolean;
58
- hasLabel: boolean;
59
- ellipsis: boolean;
60
- submitLoading: boolean;
61
- submitText: string;
62
- resetText: string;
63
- footerAlign: string;
64
- rules: () => {};
65
- columns: () => never[];
66
- group: boolean;
67
- cardProps: () => {};
68
- prevent: boolean;
69
- collapseDuration: undefined;
70
- collapseTransition: undefined;
71
- clearable: boolean;
72
- }>>> & {
73
- onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
74
- onReset?: ((values: FieldValues) => any) | undefined;
75
- onSubmit?: ((values: FieldValues) => any) | undefined;
76
- "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
77
- onValidate?: ((...args: any[]) => any) | undefined;
78
- onSubmitError?: ((errors: unknown) => any) | undefined;
79
- }, {
80
- collapseDuration: number;
81
- collapseTransition: boolean;
82
- columns: PlusColumn[];
83
- group: false | PlusFormGroupRow[];
84
- layout: "grid" | "flex";
85
- modelValue: FieldValues;
86
- rules: Partial<Record<string, Arrayable<FormItemRule>>>;
87
- labelPosition: "top" | "right" | "left";
88
- labelWidth: string | number;
89
- labelSuffix: string;
90
- ellipsis: boolean;
91
- defaultValues: FieldValues;
92
- rowProps: Partial< Mutable<RowProps> & {
93
- style?: CSSProperties | undefined;
94
- class?: any;
95
- } & RecordType>;
96
- colProps: Partial< Mutable<ColProps> & {
97
- style?: CSSProperties | undefined;
98
- class?: any;
99
- } & RecordType>;
100
- hasErrorTip: boolean;
101
- hasFooter: boolean;
102
- hasReset: boolean;
103
- hasLabel: boolean;
104
- submitText: string;
105
- resetText: string;
106
- submitLoading: boolean;
107
- footerAlign: "right" | "left" | "center";
108
- cardProps: Partial< Mutable<CardProps> & {
109
- style?: CSSProperties | undefined;
110
- class?: any;
111
- } & RecordType>;
112
- prevent: boolean;
113
- clearable: boolean;
114
- }, {}>, Partial<Record<string, (_: {
115
- index: number;
116
- title: string | ComputedRef<string>;
117
- name?: string | undefined;
118
- icon?: Component | undefined;
119
- cardProps?: Partial< Mutable<CardProps> & {
120
- style?: CSSProperties | undefined;
121
- class?: any;
122
- } & RecordType> | undefined;
123
- hideInGroup?: boolean | ComputedRef<boolean> | undefined;
124
- columns?: PlusColumn[] | undefined;
125
- }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
126
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
127
- readonly label: string | ComputedRef<string>;
128
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
129
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
130
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
131
- style?: CSSProperties | undefined;
132
- class?: any;
133
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
134
- style?: CSSProperties | undefined;
135
- class?: any;
136
- } & RecordType>>;
137
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
138
- [key: string]: any;
139
- style?: CSSProperties | undefined;
140
- }>;
141
- readonly fieldProps: PropsItemType<Partial<{
142
- [index: string]: any;
143
- [index: number]: any;
144
- [index: symbol]: any;
145
- class: any;
146
- style: CSSProperties;
147
- modelModifiers: {
148
- [index: string]: any;
149
- lazy?: boolean | undefined;
150
- trim?: boolean | undefined;
151
- number?: boolean | undefined;
152
- };
153
- rows: number;
154
- autocomplete: string;
155
- 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;
156
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
157
- step: string | number;
158
- format: string | ProgressFn | undefined;
159
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
160
- id: string | [string, string];
161
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
162
- height: string | number;
163
- autosize: InputAutoSize;
164
- } & 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>>>>;
165
- readonly options: OptionsType;
166
- readonly fieldSlots: {
167
- [slotName: string]: (data?: any) => RenderTypes;
168
- };
169
- readonly valueType: TableValueType | FormItemValueType;
170
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
171
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
172
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
173
- readonly renderErrorMessage: ((props: PlusColumn & {
174
- value?: FieldValueType;
175
- error?: string | undefined;
176
- label?: string | undefined;
177
- }) => RenderTypes) | undefined;
178
- readonly optionsMap: {
179
- label?: string | undefined;
180
- value?: string | undefined;
181
- } | undefined;
182
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
183
- store?: any;
184
- method?: string | undefined;
185
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
186
- dictCode?: string | undefined;
187
- } | undefined;
188
- readonly clearable: boolean;
189
- readonly ellipsis: boolean;
190
- readonly index: number;
191
- } & {
192
- readonly ellipsis: boolean;
193
- readonly clearable: boolean;
194
- };
195
- label: string;
196
- fieldProps: RecordType;
197
- formItemProps: RecordType;
198
- options: OptionsRow<undefined>[];
199
- fieldInstance?: any;
200
- valueIsReady?: Ref<boolean> | undefined;
201
- prop: string;
202
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
203
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
204
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
205
- style?: CSSProperties | undefined;
206
- class?: any;
207
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
208
- style?: CSSProperties | undefined;
209
- class?: any;
210
- } & RecordType>>;
211
- fieldSlots: {
212
- [slotName: string]: (data?: any) => RenderTypes;
213
- };
214
- valueType: TableValueType | FormItemValueType;
215
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
216
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
217
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
218
- renderErrorMessage: ((props: PlusColumn & {
219
- value?: FieldValueType;
220
- error?: string | undefined;
221
- label?: string | undefined;
222
- }) => RenderTypes) | undefined;
223
- optionsMap: {
224
- label?: string | undefined;
225
- value?: string | undefined;
226
- } | undefined;
227
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
228
- store?: any;
229
- method?: string | undefined;
230
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
231
- dictCode?: string | undefined;
232
- } | undefined;
233
- clearable: boolean;
234
- ellipsis: boolean;
235
- index: number;
236
- }) => any>> & Partial<Record<NonNullable<string | number>, (_: {
237
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "ellipsis" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
238
- readonly label: string | ComputedRef<string>;
239
- readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
240
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
241
- readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
242
- style?: CSSProperties | undefined;
243
- class?: any;
244
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
245
- style?: CSSProperties | undefined;
246
- class?: any;
247
- } & RecordType>>;
248
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
249
- [key: string]: any;
250
- style?: CSSProperties | undefined;
251
- }>;
252
- readonly fieldProps: PropsItemType<Partial<{
253
- [index: string]: any;
254
- [index: number]: any;
255
- [index: symbol]: any;
256
- class: any;
257
- style: CSSProperties;
258
- modelModifiers: {
259
- [index: string]: any;
260
- lazy?: boolean | undefined;
261
- trim?: boolean | undefined;
262
- number?: boolean | undefined;
263
- };
264
- rows: number;
265
- autocomplete: string;
266
- 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;
267
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
268
- step: string | number;
269
- format: string | ProgressFn | undefined;
270
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
271
- id: string | [string, string];
272
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
273
- height: string | number;
274
- autosize: InputAutoSize;
275
- } & 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>>>>;
276
- readonly options: OptionsType;
277
- readonly fieldSlots: {
278
- [slotName: string]: (data?: any) => RenderTypes;
279
- };
280
- readonly valueType: TableValueType | FormItemValueType;
281
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
282
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
283
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
284
- readonly renderErrorMessage: ((props: PlusColumn & {
285
- value?: FieldValueType;
286
- error?: string | undefined;
287
- label?: string | undefined;
288
- }) => RenderTypes) | undefined;
289
- readonly optionsMap: {
290
- label?: string | undefined;
291
- value?: string | undefined;
292
- } | undefined;
293
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
294
- store?: any;
295
- method?: string | undefined;
296
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
297
- dictCode?: string | undefined;
298
- } | undefined;
299
- readonly clearable: boolean;
300
- readonly ellipsis: boolean;
301
- readonly index: number;
302
- } & {
303
- readonly ellipsis: boolean;
304
- readonly clearable: boolean;
305
- };
306
- label: string;
307
- fieldProps: RecordType;
308
- formItemProps: RecordType;
309
- options: OptionsRow<undefined>[];
310
- fieldInstance?: any;
311
- valueIsReady?: Ref<boolean> | undefined;
312
- prop: string;
313
- modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
314
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
315
- tooltip: string | Partial< Mutable<ElTooltipProps> & {
316
- style?: CSSProperties | undefined;
317
- class?: any;
318
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
319
- style?: CSSProperties | undefined;
320
- class?: any;
321
- } & RecordType>>;
322
- fieldSlots: {
323
- [slotName: string]: (data?: any) => RenderTypes;
324
- };
325
- valueType: TableValueType | FormItemValueType;
326
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
327
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
328
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
329
- renderErrorMessage: ((props: PlusColumn & {
330
- value?: FieldValueType;
331
- error?: string | undefined;
332
- label?: string | undefined;
333
- }) => RenderTypes) | undefined;
334
- optionsMap: {
335
- label?: string | undefined;
336
- value?: string | undefined;
337
- } | undefined;
338
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
339
- store?: any;
340
- method?: string | undefined;
341
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
342
- dictCode?: string | undefined;
343
- } | undefined;
344
- clearable: boolean;
345
- ellipsis: boolean;
346
- index: number;
347
- }) => any>> & {
348
- default?(_: {}): any;
349
- "group-header"?(_: {
350
- title: string;
351
- columns: PlusColumn[] | undefined;
352
- icon: Component | undefined;
353
- index: number;
354
- }): any;
355
- footer?(_: {
356
- handleReset: () => void;
357
- handleSubmit: () => void;
358
- }): any;
359
- }>;
360
- export default _default;
361
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
362
- type __VLS_TypePropsToRuntimeProps<T> = {
363
- [K in keyof T]-?: {} extends Pick<T, K> ? {
364
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
365
- } : {
366
- type: PropType<T[K]>;
367
- required: true;
368
- };
369
- };
370
- type __VLS_WithDefaults<P, D> = {
371
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
372
- default: D[K];
373
- }> : P[K];
374
- };
375
- type __VLS_Prettify<T> = {
376
- [K in keyof T]: T[K];
377
- } & {};
378
- type __VLS_WithTemplateSlots<T, S> = T & {
379
- new (): {
380
- $slots: S;
381
- };
382
- };