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,1469 +0,0 @@
1
- import { PlusFormItemProps } from './src/index.vue';
2
- import { LooseRequired } from '@vue/shared';
3
- import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
4
- import { EpPropMergeType, Arrayable, EpPropFinalized } from 'element-plus/es/utils';
5
- 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, FormItemProp, FormItemRule, FormValidateCallback, FormValidationResult } from 'element-plus';
6
- import { Mutable, RecordType, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, OptionsRow, TableValueType, FieldValueType, PlusColumn, FormItemValueType } from 'yc-pro-components';
7
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, CSSProperties, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
8
- export type { PlusFormItemProps } from './src/index.vue';
9
- export declare const PlusFormItem: {
10
- new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
11
- index: {
12
- type: PropType<number>;
13
- default: number;
14
- };
15
- label: {
16
- type: PropType<string | ComputedRef<string>>;
17
- default: string;
18
- };
19
- prop: {
20
- type: PropType<string>;
21
- required: true;
22
- };
23
- tooltip: {
24
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
25
- style?: CSSProperties | undefined;
26
- class?: any;
27
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
28
- style?: CSSProperties | undefined;
29
- class?: any;
30
- } & RecordType>>>;
31
- default: string;
32
- };
33
- formItemProps: {
34
- type: PropType<PropsItemType< Mutable<FormItemProps> & {
35
- [key: string]: any;
36
- style?: CSSProperties | undefined;
37
- }>>;
38
- default: () => {};
39
- };
40
- fieldProps: {
41
- type: PropType<PropsItemType<Partial<{
42
- [index: string]: any;
43
- [index: number]: any;
44
- [index: symbol]: any;
45
- class: any;
46
- style: CSSProperties;
47
- modelModifiers: {
48
- [index: string]: any;
49
- lazy?: boolean | undefined;
50
- trim?: boolean | undefined;
51
- number?: boolean | undefined;
52
- };
53
- rows: number;
54
- autocomplete: string;
55
- 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;
56
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
57
- step: string | number;
58
- format: string | ProgressFn | undefined;
59
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
60
- id: string | [string, string];
61
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
62
- height: string | number;
63
- autosize: InputAutoSize;
64
- } & 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>>>>>;
65
- default: () => {};
66
- };
67
- options: {
68
- type: PropType<OptionsType>;
69
- default: () => never[];
70
- };
71
- modelValue: {
72
- type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
73
- default: string;
74
- };
75
- fieldSlots: {
76
- type: PropType<{
77
- [slotName: string]: (data?: any) => RenderTypes;
78
- }>;
79
- default: () => {};
80
- };
81
- fieldChildrenSlot: {
82
- type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
83
- default: undefined;
84
- };
85
- hasLabel: {
86
- type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
87
- default: boolean;
88
- };
89
- clearable: {
90
- type: PropType<boolean>;
91
- default: boolean;
92
- };
93
- valueType: {
94
- type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
95
- default: undefined;
96
- };
97
- renderField: {
98
- type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
99
- default: undefined;
100
- };
101
- renderLabel: {
102
- type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
103
- default: undefined;
104
- };
105
- renderErrorMessage: {
106
- type: PropType<(props: PlusColumn & {
107
- value?: FieldValueType;
108
- error?: string | undefined;
109
- label?: string | undefined;
110
- }) => RenderTypes>;
111
- default: undefined;
112
- };
113
- optionsMap: {
114
- type: PropType<{
115
- label?: string | undefined;
116
- value?: string | undefined;
117
- }>;
118
- default: undefined;
119
- };
120
- autoDict: {
121
- type: PropType<boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
122
- store?: any;
123
- method?: string | undefined;
124
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
125
- dictCode?: string | undefined;
126
- }>;
127
- default: undefined;
128
- };
129
- }>> & {
130
- onChange?: ((value: FieldValueType) => any) | undefined;
131
- "onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
132
- }, {
133
- formItemInstance: Ref<({
134
- $: ComponentInternalInstance;
135
- $data: {};
136
- $props: Partial<{
137
- readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
138
- readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
139
- readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
140
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
141
- }> & Omit<{
142
- readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
143
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
144
- readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
145
- readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
146
- readonly label?: string | undefined;
147
- readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
148
- readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
149
- readonly error?: string | undefined;
150
- readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
151
- readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
152
- readonly validateStatus?: EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown> | undefined;
153
- readonly for?: string | undefined;
154
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
155
- readonly label: StringConstructor;
156
- readonly labelWidth: {
157
- readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
158
- readonly required: false;
159
- readonly validator: ((val: unknown) => boolean) | undefined;
160
- __epPropKey: true;
161
- };
162
- readonly labelPosition: EpPropFinalized<StringConstructor, "" | "top" | "right" | "left", unknown, "", boolean>;
163
- readonly prop: {
164
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
165
- readonly required: false;
166
- readonly validator: ((val: unknown) => boolean) | undefined;
167
- __epPropKey: true;
168
- };
169
- readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
170
- readonly rules: {
171
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown>>;
172
- readonly required: false;
173
- readonly validator: ((val: unknown) => boolean) | undefined;
174
- __epPropKey: true;
175
- };
176
- readonly error: StringConstructor;
177
- readonly validateStatus: {
178
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
179
- readonly required: false;
180
- readonly validator: ((val: unknown) => boolean) | undefined;
181
- __epPropKey: true;
182
- };
183
- readonly for: StringConstructor;
184
- readonly inlineMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
185
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
186
- readonly size: {
187
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
188
- readonly required: false;
189
- readonly validator: ((val: unknown) => boolean) | undefined;
190
- __epPropKey: true;
191
- };
192
- }>>, "required" | "labelPosition" | "inlineMessage" | "showMessage">;
193
- $attrs: {
194
- [x: string]: unknown;
195
- };
196
- $refs: {
197
- [x: string]: unknown;
198
- };
199
- $slots: Readonly<{
200
- [name: string]: Slot<any> | undefined;
201
- }>;
202
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
203
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
204
- $emit: (event: string, ...args: any[]) => void;
205
- $el: any;
206
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
207
- readonly label: StringConstructor;
208
- readonly labelWidth: {
209
- readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
210
- readonly required: false;
211
- readonly validator: ((val: unknown) => boolean) | undefined;
212
- __epPropKey: true;
213
- };
214
- readonly labelPosition: EpPropFinalized<StringConstructor, "" | "top" | "right" | "left", unknown, "", boolean>;
215
- readonly prop: {
216
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
217
- readonly required: false;
218
- readonly validator: ((val: unknown) => boolean) | undefined;
219
- __epPropKey: true;
220
- };
221
- readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
222
- readonly rules: {
223
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown>>;
224
- readonly required: false;
225
- readonly validator: ((val: unknown) => boolean) | undefined;
226
- __epPropKey: true;
227
- };
228
- readonly error: StringConstructor;
229
- readonly validateStatus: {
230
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
231
- readonly required: false;
232
- readonly validator: ((val: unknown) => boolean) | undefined;
233
- __epPropKey: true;
234
- };
235
- readonly for: StringConstructor;
236
- readonly inlineMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
237
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
238
- readonly size: {
239
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
240
- readonly required: false;
241
- readonly validator: ((val: unknown) => boolean) | undefined;
242
- __epPropKey: true;
243
- };
244
- }>>, {
245
- size: ComputedRef<"" | "default" | "small" | "large">;
246
- validateMessage: Ref<string>;
247
- validateState: Ref<"" | "success" | "error" | "validating">;
248
- validate: (trigger: string, callback?: FormValidateCallback | undefined) => FormValidationResult;
249
- clearValidate: () => void;
250
- resetField: () => void;
251
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
252
- readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
253
- readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
254
- readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
255
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
256
- }, {}, string, {}> & {
257
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
258
- created?: ((() => void) | (() => void)[]) | undefined;
259
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
260
- mounted?: ((() => void) | (() => void)[]) | undefined;
261
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
262
- updated?: ((() => void) | (() => void)[]) | undefined;
263
- activated?: ((() => void) | (() => void)[]) | undefined;
264
- deactivated?: ((() => void) | (() => void)[]) | undefined;
265
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
266
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
267
- destroyed?: ((() => void) | (() => void)[]) | undefined;
268
- unmounted?: ((() => void) | (() => void)[]) | undefined;
269
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
270
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
271
- errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
272
- };
273
- $forceUpdate: () => void;
274
- $nextTick: nextTick;
275
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
276
- } & Omit<Readonly< ExtractPropTypes<{
277
- readonly label: StringConstructor;
278
- readonly labelWidth: {
279
- readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
280
- readonly required: false;
281
- readonly validator: ((val: unknown) => boolean) | undefined;
282
- __epPropKey: true;
283
- };
284
- readonly labelPosition: EpPropFinalized<StringConstructor, "" | "top" | "right" | "left", unknown, "", boolean>;
285
- readonly prop: {
286
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
287
- readonly required: false;
288
- readonly validator: ((val: unknown) => boolean) | undefined;
289
- __epPropKey: true;
290
- };
291
- readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
292
- readonly rules: {
293
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown>>;
294
- readonly required: false;
295
- readonly validator: ((val: unknown) => boolean) | undefined;
296
- __epPropKey: true;
297
- };
298
- readonly error: StringConstructor;
299
- readonly validateStatus: {
300
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
301
- readonly required: false;
302
- readonly validator: ((val: unknown) => boolean) | undefined;
303
- __epPropKey: true;
304
- };
305
- readonly for: StringConstructor;
306
- readonly inlineMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
307
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
308
- readonly size: {
309
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
310
- readonly required: false;
311
- readonly validator: ((val: unknown) => boolean) | undefined;
312
- __epPropKey: true;
313
- };
314
- }>>, "size" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField"> & ShallowUnwrapRef<{
315
- size: ComputedRef<"" | "default" | "small" | "large">;
316
- validateMessage: Ref<string>;
317
- validateState: Ref<"" | "success" | "error" | "validating">;
318
- validate: (trigger: string, callback?: FormValidateCallback | undefined) => FormValidationResult;
319
- clearValidate: () => void;
320
- resetField: () => void;
321
- }> & {} & ComponentCustomProperties & {} & {
322
- $slots: {
323
- label?: ((props: {
324
- label: string;
325
- }) => any) | undefined;
326
- } & {
327
- default?: ((props: {}) => any) | undefined;
328
- } & {
329
- error?: ((props: {
330
- error: string;
331
- }) => any) | undefined;
332
- };
333
- }) | null | undefined>;
334
- fieldInstance: Ref<any>;
335
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
336
- "update:modelValue": (value: FieldValueType) => void;
337
- change: (value: FieldValueType) => void;
338
- }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
339
- index: {
340
- type: PropType<number>;
341
- default: number;
342
- };
343
- label: {
344
- type: PropType<string | ComputedRef<string>>;
345
- default: string;
346
- };
347
- prop: {
348
- type: PropType<string>;
349
- required: true;
350
- };
351
- tooltip: {
352
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
353
- style?: CSSProperties | undefined;
354
- class?: any;
355
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
356
- style?: CSSProperties | undefined;
357
- class?: any;
358
- } & RecordType>>>;
359
- default: string;
360
- };
361
- formItemProps: {
362
- type: PropType<PropsItemType< Mutable<FormItemProps> & {
363
- [key: string]: any;
364
- style?: CSSProperties | undefined;
365
- }>>;
366
- default: () => {};
367
- };
368
- fieldProps: {
369
- type: PropType<PropsItemType<Partial<{
370
- [index: string]: any;
371
- [index: number]: any;
372
- [index: symbol]: any;
373
- class: any;
374
- style: CSSProperties;
375
- modelModifiers: {
376
- [index: string]: any;
377
- lazy?: boolean | undefined;
378
- trim?: boolean | undefined;
379
- number?: boolean | undefined;
380
- };
381
- rows: number;
382
- autocomplete: string;
383
- 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;
384
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
385
- step: string | number;
386
- format: string | ProgressFn | undefined;
387
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
388
- id: string | [string, string];
389
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
390
- height: string | number;
391
- autosize: InputAutoSize;
392
- } & 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>>>>>;
393
- default: () => {};
394
- };
395
- options: {
396
- type: PropType<OptionsType>;
397
- default: () => never[];
398
- };
399
- modelValue: {
400
- type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
401
- default: string;
402
- };
403
- fieldSlots: {
404
- type: PropType<{
405
- [slotName: string]: (data?: any) => RenderTypes;
406
- }>;
407
- default: () => {};
408
- };
409
- fieldChildrenSlot: {
410
- type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
411
- default: undefined;
412
- };
413
- hasLabel: {
414
- type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
415
- default: boolean;
416
- };
417
- clearable: {
418
- type: PropType<boolean>;
419
- default: boolean;
420
- };
421
- valueType: {
422
- type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
423
- default: undefined;
424
- };
425
- renderField: {
426
- type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
427
- default: undefined;
428
- };
429
- renderLabel: {
430
- type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
431
- default: undefined;
432
- };
433
- renderErrorMessage: {
434
- type: PropType<(props: PlusColumn & {
435
- value?: FieldValueType;
436
- error?: string | undefined;
437
- label?: string | undefined;
438
- }) => RenderTypes>;
439
- default: undefined;
440
- };
441
- optionsMap: {
442
- type: PropType<{
443
- label?: string | undefined;
444
- value?: string | undefined;
445
- }>;
446
- default: undefined;
447
- };
448
- autoDict: {
449
- type: PropType<boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
450
- store?: any;
451
- method?: string | undefined;
452
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
453
- dictCode?: string | undefined;
454
- }>;
455
- default: undefined;
456
- };
457
- }>> & {
458
- onChange?: ((value: FieldValueType) => any) | undefined;
459
- "onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
460
- }, {
461
- index: number;
462
- label: string | ComputedRef<string>;
463
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
464
- style?: CSSProperties | undefined;
465
- class?: any;
466
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
467
- style?: CSSProperties | undefined;
468
- class?: any;
469
- } & RecordType>>;
470
- formItemProps: PropsItemType< Mutable<FormItemProps> & {
471
- [key: string]: any;
472
- style?: CSSProperties | undefined;
473
- }>;
474
- fieldProps: PropsItemType<Partial<{
475
- [index: string]: any;
476
- [index: number]: any;
477
- [index: symbol]: any;
478
- class: any;
479
- style: CSSProperties;
480
- modelModifiers: {
481
- [index: string]: any;
482
- lazy?: boolean | undefined;
483
- trim?: boolean | undefined;
484
- number?: boolean | undefined;
485
- };
486
- rows: number;
487
- autocomplete: string;
488
- 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;
489
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
490
- step: string | number;
491
- format: string | ProgressFn | undefined;
492
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
493
- id: string | [string, string];
494
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
495
- height: string | number;
496
- autosize: InputAutoSize;
497
- } & 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>>>>;
498
- options: OptionsType;
499
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
500
- fieldSlots: {
501
- [slotName: string]: (data?: any) => RenderTypes;
502
- };
503
- fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
504
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
505
- clearable: boolean;
506
- valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
507
- renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
508
- renderLabel: (label: string, props: PlusColumn) => RenderTypes;
509
- renderErrorMessage: (props: PlusColumn & {
510
- value?: FieldValueType;
511
- error?: string | undefined;
512
- label?: string | undefined;
513
- }) => RenderTypes;
514
- optionsMap: {
515
- label?: string | undefined;
516
- value?: string | undefined;
517
- };
518
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
519
- store?: any;
520
- method?: string | undefined;
521
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
522
- dictCode?: string | undefined;
523
- };
524
- }, true, {}, {}, {
525
- P: {};
526
- B: {};
527
- D: {};
528
- C: {};
529
- M: {};
530
- Defaults: {};
531
- }, Readonly< ExtractPropTypes<{
532
- index: {
533
- type: PropType<number>;
534
- default: number;
535
- };
536
- label: {
537
- type: PropType<string | ComputedRef<string>>;
538
- default: string;
539
- };
540
- prop: {
541
- type: PropType<string>;
542
- required: true;
543
- };
544
- tooltip: {
545
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
546
- style?: CSSProperties | undefined;
547
- class?: any;
548
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
549
- style?: CSSProperties | undefined;
550
- class?: any;
551
- } & RecordType>>>;
552
- default: string;
553
- };
554
- formItemProps: {
555
- type: PropType<PropsItemType< Mutable<FormItemProps> & {
556
- [key: string]: any;
557
- style?: CSSProperties | undefined;
558
- }>>;
559
- default: () => {};
560
- };
561
- fieldProps: {
562
- type: PropType<PropsItemType<Partial<{
563
- [index: string]: any;
564
- [index: number]: any;
565
- [index: symbol]: any;
566
- class: any;
567
- style: CSSProperties;
568
- modelModifiers: {
569
- [index: string]: any;
570
- lazy?: boolean | undefined;
571
- trim?: boolean | undefined;
572
- number?: boolean | undefined;
573
- };
574
- rows: number;
575
- autocomplete: string;
576
- 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;
577
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
578
- step: string | number;
579
- format: string | ProgressFn | undefined;
580
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
581
- id: string | [string, string];
582
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
583
- height: string | number;
584
- autosize: InputAutoSize;
585
- } & 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>>>>>;
586
- default: () => {};
587
- };
588
- options: {
589
- type: PropType<OptionsType>;
590
- default: () => never[];
591
- };
592
- modelValue: {
593
- type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
594
- default: string;
595
- };
596
- fieldSlots: {
597
- type: PropType<{
598
- [slotName: string]: (data?: any) => RenderTypes;
599
- }>;
600
- default: () => {};
601
- };
602
- fieldChildrenSlot: {
603
- type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
604
- default: undefined;
605
- };
606
- hasLabel: {
607
- type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
608
- default: boolean;
609
- };
610
- clearable: {
611
- type: PropType<boolean>;
612
- default: boolean;
613
- };
614
- valueType: {
615
- type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
616
- default: undefined;
617
- };
618
- renderField: {
619
- type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
620
- default: undefined;
621
- };
622
- renderLabel: {
623
- type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
624
- default: undefined;
625
- };
626
- renderErrorMessage: {
627
- type: PropType<(props: PlusColumn & {
628
- value?: FieldValueType;
629
- error?: string | undefined;
630
- label?: string | undefined;
631
- }) => RenderTypes>;
632
- default: undefined;
633
- };
634
- optionsMap: {
635
- type: PropType<{
636
- label?: string | undefined;
637
- value?: string | undefined;
638
- }>;
639
- default: undefined;
640
- };
641
- autoDict: {
642
- type: PropType<boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
643
- store?: any;
644
- method?: string | undefined;
645
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
646
- dictCode?: string | undefined;
647
- }>;
648
- default: undefined;
649
- };
650
- }>> & {
651
- onChange?: ((value: FieldValueType) => any) | undefined;
652
- "onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
653
- }, {
654
- formItemInstance: Ref<({
655
- $: ComponentInternalInstance;
656
- $data: {};
657
- $props: Partial<{
658
- readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
659
- readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
660
- readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
661
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
662
- }> & Omit<{
663
- readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
664
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
665
- readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
666
- readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
667
- readonly label?: string | undefined;
668
- readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
669
- readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
670
- readonly error?: string | undefined;
671
- readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
672
- readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
673
- readonly validateStatus?: EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown> | undefined;
674
- readonly for?: string | undefined;
675
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
676
- readonly label: StringConstructor;
677
- readonly labelWidth: {
678
- readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
679
- readonly required: false;
680
- readonly validator: ((val: unknown) => boolean) | undefined;
681
- __epPropKey: true;
682
- };
683
- readonly labelPosition: EpPropFinalized<StringConstructor, "" | "top" | "right" | "left", unknown, "", boolean>;
684
- readonly prop: {
685
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
686
- readonly required: false;
687
- readonly validator: ((val: unknown) => boolean) | undefined;
688
- __epPropKey: true;
689
- };
690
- readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
691
- readonly rules: {
692
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown>>;
693
- readonly required: false;
694
- readonly validator: ((val: unknown) => boolean) | undefined;
695
- __epPropKey: true;
696
- };
697
- readonly error: StringConstructor;
698
- readonly validateStatus: {
699
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
700
- readonly required: false;
701
- readonly validator: ((val: unknown) => boolean) | undefined;
702
- __epPropKey: true;
703
- };
704
- readonly for: StringConstructor;
705
- readonly inlineMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
706
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
707
- readonly size: {
708
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
709
- readonly required: false;
710
- readonly validator: ((val: unknown) => boolean) | undefined;
711
- __epPropKey: true;
712
- };
713
- }>>, "required" | "labelPosition" | "inlineMessage" | "showMessage">;
714
- $attrs: {
715
- [x: string]: unknown;
716
- };
717
- $refs: {
718
- [x: string]: unknown;
719
- };
720
- $slots: Readonly<{
721
- [name: string]: Slot<any> | undefined;
722
- }>;
723
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
724
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
725
- $emit: (event: string, ...args: any[]) => void;
726
- $el: any;
727
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
728
- readonly label: StringConstructor;
729
- readonly labelWidth: {
730
- readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
731
- readonly required: false;
732
- readonly validator: ((val: unknown) => boolean) | undefined;
733
- __epPropKey: true;
734
- };
735
- readonly labelPosition: EpPropFinalized<StringConstructor, "" | "top" | "right" | "left", unknown, "", boolean>;
736
- readonly prop: {
737
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
738
- readonly required: false;
739
- readonly validator: ((val: unknown) => boolean) | undefined;
740
- __epPropKey: true;
741
- };
742
- readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
743
- readonly rules: {
744
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown>>;
745
- readonly required: false;
746
- readonly validator: ((val: unknown) => boolean) | undefined;
747
- __epPropKey: true;
748
- };
749
- readonly error: StringConstructor;
750
- readonly validateStatus: {
751
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
752
- readonly required: false;
753
- readonly validator: ((val: unknown) => boolean) | undefined;
754
- __epPropKey: true;
755
- };
756
- readonly for: StringConstructor;
757
- readonly inlineMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
758
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
759
- readonly size: {
760
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
761
- readonly required: false;
762
- readonly validator: ((val: unknown) => boolean) | undefined;
763
- __epPropKey: true;
764
- };
765
- }>>, {
766
- size: ComputedRef<"" | "default" | "small" | "large">;
767
- validateMessage: Ref<string>;
768
- validateState: Ref<"" | "success" | "error" | "validating">;
769
- validate: (trigger: string, callback?: FormValidateCallback | undefined) => FormValidationResult;
770
- clearValidate: () => void;
771
- resetField: () => void;
772
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
773
- readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
774
- readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
775
- readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
776
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
777
- }, {}, string, {}> & {
778
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
779
- created?: ((() => void) | (() => void)[]) | undefined;
780
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
781
- mounted?: ((() => void) | (() => void)[]) | undefined;
782
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
783
- updated?: ((() => void) | (() => void)[]) | undefined;
784
- activated?: ((() => void) | (() => void)[]) | undefined;
785
- deactivated?: ((() => void) | (() => void)[]) | undefined;
786
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
787
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
788
- destroyed?: ((() => void) | (() => void)[]) | undefined;
789
- unmounted?: ((() => void) | (() => void)[]) | undefined;
790
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
791
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
792
- errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
793
- };
794
- $forceUpdate: () => void;
795
- $nextTick: nextTick;
796
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
797
- } & Omit<Readonly< ExtractPropTypes<{
798
- readonly label: StringConstructor;
799
- readonly labelWidth: {
800
- readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
801
- readonly required: false;
802
- readonly validator: ((val: unknown) => boolean) | undefined;
803
- __epPropKey: true;
804
- };
805
- readonly labelPosition: EpPropFinalized<StringConstructor, "" | "top" | "right" | "left", unknown, "", boolean>;
806
- readonly prop: {
807
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
808
- readonly required: false;
809
- readonly validator: ((val: unknown) => boolean) | undefined;
810
- __epPropKey: true;
811
- };
812
- readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
813
- readonly rules: {
814
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown>>;
815
- readonly required: false;
816
- readonly validator: ((val: unknown) => boolean) | undefined;
817
- __epPropKey: true;
818
- };
819
- readonly error: StringConstructor;
820
- readonly validateStatus: {
821
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
822
- readonly required: false;
823
- readonly validator: ((val: unknown) => boolean) | undefined;
824
- __epPropKey: true;
825
- };
826
- readonly for: StringConstructor;
827
- readonly inlineMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
828
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
829
- readonly size: {
830
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
831
- readonly required: false;
832
- readonly validator: ((val: unknown) => boolean) | undefined;
833
- __epPropKey: true;
834
- };
835
- }>>, "size" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField"> & ShallowUnwrapRef<{
836
- size: ComputedRef<"" | "default" | "small" | "large">;
837
- validateMessage: Ref<string>;
838
- validateState: Ref<"" | "success" | "error" | "validating">;
839
- validate: (trigger: string, callback?: FormValidateCallback | undefined) => FormValidationResult;
840
- clearValidate: () => void;
841
- resetField: () => void;
842
- }> & {} & ComponentCustomProperties & {} & {
843
- $slots: {
844
- label?: ((props: {
845
- label: string;
846
- }) => any) | undefined;
847
- } & {
848
- default?: ((props: {}) => any) | undefined;
849
- } & {
850
- error?: ((props: {
851
- error: string;
852
- }) => any) | undefined;
853
- };
854
- }) | null | undefined>;
855
- fieldInstance: Ref<any>;
856
- }, {}, {}, {}, {
857
- index: number;
858
- label: string | ComputedRef<string>;
859
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
860
- style?: CSSProperties | undefined;
861
- class?: any;
862
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
863
- style?: CSSProperties | undefined;
864
- class?: any;
865
- } & RecordType>>;
866
- formItemProps: PropsItemType< Mutable<FormItemProps> & {
867
- [key: string]: any;
868
- style?: CSSProperties | undefined;
869
- }>;
870
- fieldProps: PropsItemType<Partial<{
871
- [index: string]: any;
872
- [index: number]: any;
873
- [index: symbol]: any;
874
- class: any;
875
- style: CSSProperties;
876
- modelModifiers: {
877
- [index: string]: any;
878
- lazy?: boolean | undefined;
879
- trim?: boolean | undefined;
880
- number?: boolean | undefined;
881
- };
882
- rows: number;
883
- autocomplete: string;
884
- 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;
885
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
886
- step: string | number;
887
- format: string | ProgressFn | undefined;
888
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
889
- id: string | [string, string];
890
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
891
- height: string | number;
892
- autosize: InputAutoSize;
893
- } & 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>>>>;
894
- options: OptionsType;
895
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
896
- fieldSlots: {
897
- [slotName: string]: (data?: any) => RenderTypes;
898
- };
899
- fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
900
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
901
- clearable: boolean;
902
- valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
903
- renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
904
- renderLabel: (label: string, props: PlusColumn) => RenderTypes;
905
- renderErrorMessage: (props: PlusColumn & {
906
- value?: FieldValueType;
907
- error?: string | undefined;
908
- label?: string | undefined;
909
- }) => RenderTypes;
910
- optionsMap: {
911
- label?: string | undefined;
912
- value?: string | undefined;
913
- };
914
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
915
- store?: any;
916
- method?: string | undefined;
917
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
918
- dictCode?: string | undefined;
919
- };
920
- }>;
921
- __isFragment?: undefined;
922
- __isTeleport?: undefined;
923
- __isSuspense?: undefined;
924
- } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
925
- index: {
926
- type: PropType<number>;
927
- default: number;
928
- };
929
- label: {
930
- type: PropType<string | ComputedRef<string>>;
931
- default: string;
932
- };
933
- prop: {
934
- type: PropType<string>;
935
- required: true;
936
- };
937
- tooltip: {
938
- type: PropType<string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
939
- style?: CSSProperties | undefined;
940
- class?: any;
941
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
942
- style?: CSSProperties | undefined;
943
- class?: any;
944
- } & RecordType>>>;
945
- default: string;
946
- };
947
- formItemProps: {
948
- type: PropType<PropsItemType< Mutable<FormItemProps> & {
949
- [key: string]: any;
950
- style?: CSSProperties | undefined;
951
- }>>;
952
- default: () => {};
953
- };
954
- fieldProps: {
955
- type: PropType<PropsItemType<Partial<{
956
- [index: string]: any;
957
- [index: number]: any;
958
- [index: symbol]: any;
959
- class: any;
960
- style: CSSProperties;
961
- modelModifiers: {
962
- [index: string]: any;
963
- lazy?: boolean | undefined;
964
- trim?: boolean | undefined;
965
- number?: boolean | undefined;
966
- };
967
- rows: number;
968
- autocomplete: string;
969
- 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;
970
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
971
- step: string | number;
972
- format: string | ProgressFn | undefined;
973
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
974
- id: string | [string, string];
975
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
976
- height: string | number;
977
- autosize: InputAutoSize;
978
- } & 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>>>>>;
979
- default: () => {};
980
- };
981
- options: {
982
- type: PropType<OptionsType>;
983
- default: () => never[];
984
- };
985
- modelValue: {
986
- type: PropType<string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null>;
987
- default: string;
988
- };
989
- fieldSlots: {
990
- type: PropType<{
991
- [slotName: string]: (data?: any) => RenderTypes;
992
- }>;
993
- default: () => {};
994
- };
995
- fieldChildrenSlot: {
996
- type: PropType<(option?: OptionsRow<undefined> | undefined) => RenderTypes>;
997
- default: undefined;
998
- };
999
- hasLabel: {
1000
- type: PropType<boolean | Ref<boolean> | ComputedRef<boolean>>;
1001
- default: boolean;
1002
- };
1003
- clearable: {
1004
- type: PropType<boolean>;
1005
- default: boolean;
1006
- };
1007
- valueType: {
1008
- type: PropType<"input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select">;
1009
- default: undefined;
1010
- };
1011
- renderField: {
1012
- type: PropType<(value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes>;
1013
- default: undefined;
1014
- };
1015
- renderLabel: {
1016
- type: PropType<(label: string, props: PlusColumn) => RenderTypes>;
1017
- default: undefined;
1018
- };
1019
- renderErrorMessage: {
1020
- type: PropType<(props: PlusColumn & {
1021
- value?: FieldValueType;
1022
- error?: string | undefined;
1023
- label?: string | undefined;
1024
- }) => RenderTypes>;
1025
- default: undefined;
1026
- };
1027
- optionsMap: {
1028
- type: PropType<{
1029
- label?: string | undefined;
1030
- value?: string | undefined;
1031
- }>;
1032
- default: undefined;
1033
- };
1034
- autoDict: {
1035
- type: PropType<boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1036
- store?: any;
1037
- method?: string | undefined;
1038
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1039
- dictCode?: string | undefined;
1040
- }>;
1041
- default: undefined;
1042
- };
1043
- }>> & {
1044
- onChange?: ((value: FieldValueType) => any) | undefined;
1045
- "onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
1046
- }, {
1047
- formItemInstance: Ref<({
1048
- $: ComponentInternalInstance;
1049
- $data: {};
1050
- $props: Partial<{
1051
- readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1052
- readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
1053
- readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1054
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1055
- }> & Omit<{
1056
- readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
1057
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1058
- readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown> | undefined;
1059
- readonly required?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
1060
- readonly label?: string | undefined;
1061
- readonly prop?: EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown> | undefined;
1062
- readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
1063
- readonly error?: string | undefined;
1064
- readonly labelWidth?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
1065
- readonly inlineMessage?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
1066
- readonly validateStatus?: EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown> | undefined;
1067
- readonly for?: string | undefined;
1068
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
1069
- readonly label: StringConstructor;
1070
- readonly labelWidth: {
1071
- readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
1072
- readonly required: false;
1073
- readonly validator: ((val: unknown) => boolean) | undefined;
1074
- __epPropKey: true;
1075
- };
1076
- readonly labelPosition: EpPropFinalized<StringConstructor, "" | "top" | "right" | "left", unknown, "", boolean>;
1077
- readonly prop: {
1078
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
1079
- readonly required: false;
1080
- readonly validator: ((val: unknown) => boolean) | undefined;
1081
- __epPropKey: true;
1082
- };
1083
- readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
1084
- readonly rules: {
1085
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown>>;
1086
- readonly required: false;
1087
- readonly validator: ((val: unknown) => boolean) | undefined;
1088
- __epPropKey: true;
1089
- };
1090
- readonly error: StringConstructor;
1091
- readonly validateStatus: {
1092
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
1093
- readonly required: false;
1094
- readonly validator: ((val: unknown) => boolean) | undefined;
1095
- __epPropKey: true;
1096
- };
1097
- readonly for: StringConstructor;
1098
- readonly inlineMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
1099
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1100
- readonly size: {
1101
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
1102
- readonly required: false;
1103
- readonly validator: ((val: unknown) => boolean) | undefined;
1104
- __epPropKey: true;
1105
- };
1106
- }>>, "required" | "labelPosition" | "inlineMessage" | "showMessage">;
1107
- $attrs: {
1108
- [x: string]: unknown;
1109
- };
1110
- $refs: {
1111
- [x: string]: unknown;
1112
- };
1113
- $slots: Readonly<{
1114
- [name: string]: Slot<any> | undefined;
1115
- }>;
1116
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
1117
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
1118
- $emit: (event: string, ...args: any[]) => void;
1119
- $el: any;
1120
- $options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
1121
- readonly label: StringConstructor;
1122
- readonly labelWidth: {
1123
- readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
1124
- readonly required: false;
1125
- readonly validator: ((val: unknown) => boolean) | undefined;
1126
- __epPropKey: true;
1127
- };
1128
- readonly labelPosition: EpPropFinalized<StringConstructor, "" | "top" | "right" | "left", unknown, "", boolean>;
1129
- readonly prop: {
1130
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
1131
- readonly required: false;
1132
- readonly validator: ((val: unknown) => boolean) | undefined;
1133
- __epPropKey: true;
1134
- };
1135
- readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
1136
- readonly rules: {
1137
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown>>;
1138
- readonly required: false;
1139
- readonly validator: ((val: unknown) => boolean) | undefined;
1140
- __epPropKey: true;
1141
- };
1142
- readonly error: StringConstructor;
1143
- readonly validateStatus: {
1144
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
1145
- readonly required: false;
1146
- readonly validator: ((val: unknown) => boolean) | undefined;
1147
- __epPropKey: true;
1148
- };
1149
- readonly for: StringConstructor;
1150
- readonly inlineMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
1151
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1152
- readonly size: {
1153
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
1154
- readonly required: false;
1155
- readonly validator: ((val: unknown) => boolean) | undefined;
1156
- __epPropKey: true;
1157
- };
1158
- }>>, {
1159
- size: ComputedRef<"" | "default" | "small" | "large">;
1160
- validateMessage: Ref<string>;
1161
- validateState: Ref<"" | "success" | "error" | "validating">;
1162
- validate: (trigger: string, callback?: FormValidateCallback | undefined) => FormValidationResult;
1163
- clearValidate: () => void;
1164
- resetField: () => void;
1165
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
1166
- readonly required: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1167
- readonly labelPosition: EpPropMergeType<StringConstructor, "" | "top" | "right" | "left", unknown>;
1168
- readonly inlineMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1169
- readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
1170
- }, {}, string, {}> & {
1171
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
1172
- created?: ((() => void) | (() => void)[]) | undefined;
1173
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
1174
- mounted?: ((() => void) | (() => void)[]) | undefined;
1175
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
1176
- updated?: ((() => void) | (() => void)[]) | undefined;
1177
- activated?: ((() => void) | (() => void)[]) | undefined;
1178
- deactivated?: ((() => void) | (() => void)[]) | undefined;
1179
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
1180
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
1181
- destroyed?: ((() => void) | (() => void)[]) | undefined;
1182
- unmounted?: ((() => void) | (() => void)[]) | undefined;
1183
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
1184
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
1185
- errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
1186
- };
1187
- $forceUpdate: () => void;
1188
- $nextTick: nextTick;
1189
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
1190
- } & Omit<Readonly< ExtractPropTypes<{
1191
- readonly label: StringConstructor;
1192
- readonly labelWidth: {
1193
- readonly type: PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
1194
- readonly required: false;
1195
- readonly validator: ((val: unknown) => boolean) | undefined;
1196
- __epPropKey: true;
1197
- };
1198
- readonly labelPosition: EpPropFinalized<StringConstructor, "" | "top" | "right" | "left", unknown, "", boolean>;
1199
- readonly prop: {
1200
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | string[]) | (() => FormItemProp) | ((new (...args: any[]) => string | string[]) | (() => FormItemProp))[], unknown, unknown>>;
1201
- readonly required: false;
1202
- readonly validator: ((val: unknown) => boolean) | undefined;
1203
- __epPropKey: true;
1204
- };
1205
- readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
1206
- readonly rules: {
1207
- readonly type: PropType<EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown>>;
1208
- readonly required: false;
1209
- readonly validator: ((val: unknown) => boolean) | undefined;
1210
- __epPropKey: true;
1211
- };
1212
- readonly error: StringConstructor;
1213
- readonly validateStatus: {
1214
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
1215
- readonly required: false;
1216
- readonly validator: ((val: unknown) => boolean) | undefined;
1217
- __epPropKey: true;
1218
- };
1219
- readonly for: StringConstructor;
1220
- readonly inlineMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
1221
- readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1222
- readonly size: {
1223
- readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
1224
- readonly required: false;
1225
- readonly validator: ((val: unknown) => boolean) | undefined;
1226
- __epPropKey: true;
1227
- };
1228
- }>>, "size" | "validate" | "clearValidate" | "validateMessage" | "validateState" | "resetField"> & ShallowUnwrapRef<{
1229
- size: ComputedRef<"" | "default" | "small" | "large">;
1230
- validateMessage: Ref<string>;
1231
- validateState: Ref<"" | "success" | "error" | "validating">;
1232
- validate: (trigger: string, callback?: FormValidateCallback | undefined) => FormValidationResult;
1233
- clearValidate: () => void;
1234
- resetField: () => void;
1235
- }> & {} & ComponentCustomProperties & {} & {
1236
- $slots: {
1237
- label?: ((props: {
1238
- label: string;
1239
- }) => any) | undefined;
1240
- } & {
1241
- default?: ((props: {}) => any) | undefined;
1242
- } & {
1243
- error?: ((props: {
1244
- error: string;
1245
- }) => any) | undefined;
1246
- };
1247
- }) | null | undefined>;
1248
- fieldInstance: Ref<any>;
1249
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1250
- "update:modelValue": (value: FieldValueType) => void;
1251
- change: (value: FieldValueType) => void;
1252
- }, string, {
1253
- index: number;
1254
- label: string | ComputedRef<string>;
1255
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1256
- style?: CSSProperties | undefined;
1257
- class?: any;
1258
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1259
- style?: CSSProperties | undefined;
1260
- class?: any;
1261
- } & RecordType>>;
1262
- formItemProps: PropsItemType< Mutable<FormItemProps> & {
1263
- [key: string]: any;
1264
- style?: CSSProperties | undefined;
1265
- }>;
1266
- fieldProps: PropsItemType<Partial<{
1267
- [index: string]: any;
1268
- [index: number]: any;
1269
- [index: symbol]: any;
1270
- class: any;
1271
- style: CSSProperties;
1272
- modelModifiers: {
1273
- [index: string]: any;
1274
- lazy?: boolean | undefined;
1275
- trim?: boolean | undefined;
1276
- number?: boolean | undefined;
1277
- };
1278
- rows: number;
1279
- autocomplete: string;
1280
- 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;
1281
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1282
- step: string | number;
1283
- format: string | ProgressFn | undefined;
1284
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
1285
- id: string | [string, string];
1286
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
1287
- height: string | number;
1288
- autosize: InputAutoSize;
1289
- } & 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>>>>;
1290
- options: OptionsType;
1291
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1292
- fieldSlots: {
1293
- [slotName: string]: (data?: any) => RenderTypes;
1294
- };
1295
- fieldChildrenSlot: (option?: OptionsRow<undefined> | undefined) => RenderTypes;
1296
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1297
- clearable: boolean;
1298
- valueType: "input" | "select" | "textarea" | "switch" | "text" | TableValueType | "rate" | "input-number" | "slider" | "checkbox" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "radio" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
1299
- renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
1300
- renderLabel: (label: string, props: PlusColumn) => RenderTypes;
1301
- renderErrorMessage: (props: PlusColumn & {
1302
- value?: FieldValueType;
1303
- error?: string | undefined;
1304
- label?: string | undefined;
1305
- }) => RenderTypes;
1306
- optionsMap: {
1307
- label?: string | undefined;
1308
- value?: string | undefined;
1309
- };
1310
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1311
- store?: any;
1312
- method?: string | undefined;
1313
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1314
- dictCode?: string | undefined;
1315
- };
1316
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
1317
- $slots: Partial<Record<string, (_: {
1318
- label: string;
1319
- fieldProps: RecordType;
1320
- formItemProps: RecordType;
1321
- options: OptionsRow<undefined>[];
1322
- fieldInstance?: any;
1323
- valueIsReady?: Ref<boolean> | undefined;
1324
- prop: string;
1325
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1326
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1327
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1328
- style?: CSSProperties | undefined;
1329
- class?: any;
1330
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1331
- style?: CSSProperties | undefined;
1332
- class?: any;
1333
- } & RecordType>>;
1334
- fieldSlots: {
1335
- [slotName: string]: (data?: any) => RenderTypes;
1336
- };
1337
- valueType: TableValueType | FormItemValueType;
1338
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1339
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1340
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1341
- renderErrorMessage: ((props: PlusColumn & {
1342
- value?: FieldValueType;
1343
- error?: string | undefined;
1344
- label?: string | undefined;
1345
- }) => RenderTypes) | undefined;
1346
- optionsMap: {
1347
- label?: string | undefined;
1348
- value?: string | undefined;
1349
- } | undefined;
1350
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1351
- store?: any;
1352
- method?: string | undefined;
1353
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1354
- dictCode?: string | undefined;
1355
- } | undefined;
1356
- clearable: boolean;
1357
- index: number;
1358
- }) => any>> & Partial<Record<string, (_: {
1359
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
1360
- readonly label: string | ComputedRef<string>;
1361
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1362
- readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1363
- readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1364
- style?: CSSProperties | undefined;
1365
- class?: any;
1366
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1367
- style?: CSSProperties | undefined;
1368
- class?: any;
1369
- } & RecordType>>;
1370
- readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
1371
- [key: string]: any;
1372
- style?: CSSProperties | undefined;
1373
- }>;
1374
- readonly fieldProps: PropsItemType<Partial<{
1375
- [index: string]: any;
1376
- [index: number]: any;
1377
- [index: symbol]: any;
1378
- class: any;
1379
- style: CSSProperties;
1380
- modelModifiers: {
1381
- [index: string]: any;
1382
- lazy?: boolean | undefined;
1383
- trim?: boolean | undefined;
1384
- number?: boolean | undefined;
1385
- };
1386
- rows: number;
1387
- autocomplete: string;
1388
- 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;
1389
- loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
1390
- step: string | number;
1391
- format: string | ProgressFn | undefined;
1392
- filterMethod: ((node: CascaderNode, keyword: string) => boolean) | ((query: string) => void) | undefined;
1393
- id: string | [string, string];
1394
- effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
1395
- height: string | number;
1396
- autosize: InputAutoSize;
1397
- } & 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>>>>;
1398
- readonly options: OptionsType;
1399
- readonly fieldSlots: {
1400
- [slotName: string]: (data?: any) => RenderTypes;
1401
- };
1402
- readonly valueType: TableValueType | FormItemValueType;
1403
- readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1404
- readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1405
- readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1406
- readonly renderErrorMessage: ((props: PlusColumn & {
1407
- value?: FieldValueType;
1408
- error?: string | undefined;
1409
- label?: string | undefined;
1410
- }) => RenderTypes) | undefined;
1411
- readonly optionsMap: {
1412
- label?: string | undefined;
1413
- value?: string | undefined;
1414
- } | undefined;
1415
- readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1416
- store?: any;
1417
- method?: string | undefined;
1418
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1419
- dictCode?: string | undefined;
1420
- } | undefined;
1421
- readonly clearable: boolean;
1422
- readonly index: number;
1423
- } & {
1424
- readonly clearable: boolean;
1425
- };
1426
- label: string;
1427
- fieldProps: RecordType;
1428
- formItemProps: RecordType;
1429
- options: OptionsRow<undefined>[];
1430
- fieldInstance?: any;
1431
- valueIsReady?: Ref<boolean> | undefined;
1432
- prop: string;
1433
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
1434
- hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
1435
- tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
1436
- style?: CSSProperties | undefined;
1437
- class?: any;
1438
- } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
1439
- style?: CSSProperties | undefined;
1440
- class?: any;
1441
- } & RecordType>>;
1442
- fieldSlots: {
1443
- [slotName: string]: (data?: any) => RenderTypes;
1444
- };
1445
- valueType: TableValueType | FormItemValueType;
1446
- renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
1447
- renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
1448
- fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
1449
- renderErrorMessage: ((props: PlusColumn & {
1450
- value?: FieldValueType;
1451
- error?: string | undefined;
1452
- label?: string | undefined;
1453
- }) => RenderTypes) | undefined;
1454
- optionsMap: {
1455
- label?: string | undefined;
1456
- value?: string | undefined;
1457
- } | undefined;
1458
- autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
1459
- store?: any;
1460
- method?: string | undefined;
1461
- transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
1462
- dictCode?: string | undefined;
1463
- } | undefined;
1464
- clearable: boolean;
1465
- index: number;
1466
- }) => any>> & {
1467
- "tooltip-icon"?(_: {}): any;
1468
- };
1469
- });