yc-pro-components 0.0.17 → 0.0.19

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 (175) hide show
  1. package/es/components/check-card/index.d.ts +23 -23
  2. package/es/components/check-card/src/index.vue.d.ts +2 -2
  3. package/es/components/check-card-group/index.d.ts +24 -24
  4. package/es/components/check-card-group/src/index.vue.d.ts +2 -2
  5. package/es/components/date-picker/index.d.ts +10 -10
  6. package/es/components/date-picker/src/index.vue.d.ts +2 -2
  7. package/es/components/dialog/index.d.ts +26 -26
  8. package/es/components/dialog/src/index.vue.d.ts +2 -2
  9. package/es/components/dialog/src/index.vue2.mjs +6 -3
  10. package/es/components/dialog-form/index.d.ts +1154 -0
  11. package/es/components/dialog-form/src/index.vue.d.ts +493 -0
  12. package/es/components/dialog-form/src/index.vue2.mjs +7 -4
  13. package/es/components/display-item/index.d.ts +12 -12
  14. package/es/components/display-item/src/index.vue.d.ts +12 -12
  15. package/es/components/display-item/src/index.vue2.mjs +18 -5
  16. package/es/components/drawer-form/index.d.ts +3467 -0
  17. package/es/components/drawer-form/src/index.vue.d.ts +1254 -0
  18. package/es/components/drawer-form/src/index.vue2.mjs +7 -4
  19. package/es/components/form/index.d.ts +1665 -1
  20. package/es/components/form/src/form-content.vue.d.ts +14 -12
  21. package/es/components/form/src/index.vue.d.ts +652 -0
  22. package/es/components/form/src/index.vue2.mjs +7 -4
  23. package/es/components/form-item/index.d.ts +36 -36
  24. package/es/components/form-item/src/index.vue.d.ts +8 -8
  25. package/es/components/header/index.d.ts +7 -7
  26. package/es/components/header/src/index.vue.d.ts +1 -1
  27. package/es/components/input-tag/index.d.ts +15 -15
  28. package/es/components/input-tag/src/index.vue.d.ts +7 -7
  29. package/es/components/layout/index.d.ts +30 -30
  30. package/es/components/layout/src/index.vue.d.ts +10 -10
  31. package/es/components/page/index.d.ts +15450 -0
  32. package/es/components/page/src/index.vue.d.ts +5301 -0
  33. package/es/components/page/src/index.vue2.mjs +4 -2
  34. package/es/components/pagination/index.d.ts +42 -42
  35. package/es/components/pagination/src/index.vue.d.ts +3 -3
  36. package/es/components/popover/src/index.vue2.mjs +6 -3
  37. package/es/components/radio/index.d.ts +10 -10
  38. package/es/components/radio/src/index.vue.d.ts +2 -2
  39. package/es/components/render/index.d.ts +6 -6
  40. package/es/components/render/src/index.vue.d.ts +2 -2
  41. package/es/components/search/index.d.ts +4514 -0
  42. package/es/components/search/src/index.vue.d.ts +1539 -0
  43. package/es/components/sidebar/index.d.ts +15 -15
  44. package/es/components/sidebar/src/index.vue.d.ts +5 -5
  45. package/es/components/steps-form/index.d.ts +23 -23
  46. package/es/components/steps-form/src/index.vue.d.ts +2 -2
  47. package/es/components/table/index.d.ts +19 -0
  48. package/es/components/table/src/index.vue.d.ts +3 -0
  49. package/es/components/table/src/index.vue2.mjs +4 -2
  50. package/es/components/table/src/table-column.vue.d.ts +12 -12
  51. package/es/components/table/src/type.d.ts +9 -0
  52. package/es/components/utils/index.d.ts +2 -2
  53. package/es/components/yc-count-to/index.d.ts +1 -1
  54. package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
  55. package/es/components/yc-download-dialog/index.d.ts +19 -19
  56. package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  57. package/es/components/yc-form-container-header/index.d.ts +12 -12
  58. package/es/components/yc-more-actions/index.d.ts +6 -6
  59. package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
  60. package/es/components/yc-plus-page/src/index.vue.d.ts +12864 -0
  61. package/es/components/yc-segmented/index.d.ts +2 -2
  62. package/es/components/yc-segmented/src/index.d.ts +2 -2
  63. package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
  64. package/es/components/yc-status-dialog/src/index.vue.mjs +1 -1
  65. package/es/components/yc-status-dialog/src/index.vue2.mjs +6 -3
  66. package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  67. package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
  68. package/es/constants/form.d.ts +5 -0
  69. package/es/constants/form.mjs +2 -1
  70. package/es/constants/index.mjs +1 -1
  71. package/es/hooks/usePlusFormReset.d.ts +9833 -5
  72. package/es/index.css +1 -1
  73. package/es/index.mjs +1 -1
  74. package/es/types/plus.d.ts +29 -0
  75. package/index.css +7 -7
  76. package/index.js +66 -29
  77. package/index.min.css +1 -1
  78. package/index.min.js +7 -7
  79. package/index.min.mjs +7 -7
  80. package/index.mjs +66 -30
  81. package/lib/components/check-card/index.d.ts +23 -23
  82. package/lib/components/check-card/src/index.vue.d.ts +2 -2
  83. package/lib/components/check-card-group/index.d.ts +24 -24
  84. package/lib/components/check-card-group/src/index.vue.d.ts +2 -2
  85. package/lib/components/date-picker/index.d.ts +10 -10
  86. package/lib/components/date-picker/src/index.vue.d.ts +2 -2
  87. package/lib/components/dialog/index.d.ts +26 -26
  88. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  89. package/lib/components/dialog/src/index.vue2.js +6 -3
  90. package/lib/components/dialog-form/index.d.ts +1154 -0
  91. package/lib/components/dialog-form/src/index.vue.d.ts +493 -0
  92. package/lib/components/dialog-form/src/index.vue2.js +7 -4
  93. package/lib/components/display-item/index.d.ts +12 -12
  94. package/lib/components/display-item/src/index.vue.d.ts +12 -12
  95. package/lib/components/display-item/src/index.vue2.js +16 -3
  96. package/lib/components/drawer-form/index.d.ts +3467 -0
  97. package/lib/components/drawer-form/src/index.vue.d.ts +1254 -0
  98. package/lib/components/drawer-form/src/index.vue2.js +7 -4
  99. package/lib/components/form/index.d.ts +1665 -1
  100. package/lib/components/form/src/form-content.vue.d.ts +14 -12
  101. package/lib/components/form/src/index.vue.d.ts +652 -0
  102. package/lib/components/form/src/index.vue2.js +7 -4
  103. package/lib/components/form-item/index.d.ts +36 -36
  104. package/lib/components/form-item/src/index.vue.d.ts +8 -8
  105. package/lib/components/header/index.d.ts +7 -7
  106. package/lib/components/header/src/index.vue.d.ts +1 -1
  107. package/lib/components/input-tag/index.d.ts +15 -15
  108. package/lib/components/input-tag/src/index.vue.d.ts +7 -7
  109. package/lib/components/layout/index.d.ts +30 -30
  110. package/lib/components/layout/src/index.vue.d.ts +10 -10
  111. package/lib/components/page/index.d.ts +15450 -0
  112. package/lib/components/page/src/index.vue.d.ts +5301 -0
  113. package/lib/components/page/src/index.vue2.js +4 -2
  114. package/lib/components/pagination/index.d.ts +42 -42
  115. package/lib/components/pagination/src/index.vue.d.ts +3 -3
  116. package/lib/components/popover/src/index.vue2.js +6 -3
  117. package/lib/components/radio/index.d.ts +10 -10
  118. package/lib/components/radio/src/index.vue.d.ts +2 -2
  119. package/lib/components/render/index.d.ts +6 -6
  120. package/lib/components/render/src/index.vue.d.ts +2 -2
  121. package/lib/components/search/index.d.ts +4514 -0
  122. package/lib/components/search/src/index.vue.d.ts +1539 -0
  123. package/lib/components/sidebar/index.d.ts +15 -15
  124. package/lib/components/sidebar/src/index.vue.d.ts +5 -5
  125. package/lib/components/steps-form/index.d.ts +23 -23
  126. package/lib/components/steps-form/src/index.vue.d.ts +2 -2
  127. package/lib/components/table/index.d.ts +19 -0
  128. package/lib/components/table/src/index.vue.d.ts +3 -0
  129. package/lib/components/table/src/index.vue2.js +3 -1
  130. package/lib/components/table/src/table-column.vue.d.ts +12 -12
  131. package/lib/components/table/src/type.d.ts +9 -0
  132. package/lib/components/utils/index.d.ts +2 -2
  133. package/lib/components/yc-count-to/index.d.ts +1 -1
  134. package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
  135. package/lib/components/yc-download-dialog/index.d.ts +19 -19
  136. package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
  137. package/lib/components/yc-form-container-header/index.d.ts +12 -12
  138. package/lib/components/yc-more-actions/index.d.ts +6 -6
  139. package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
  140. package/lib/components/yc-plus-page/src/index.vue.d.ts +12864 -0
  141. package/lib/components/yc-segmented/index.d.ts +2 -2
  142. package/lib/components/yc-segmented/src/index.d.ts +2 -2
  143. package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
  144. package/lib/components/yc-status-dialog/src/index.vue.js +1 -1
  145. package/lib/components/yc-status-dialog/src/index.vue2.js +6 -3
  146. package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
  147. package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
  148. package/lib/constants/form.d.ts +5 -0
  149. package/lib/constants/form.js +2 -0
  150. package/lib/constants/index.js +1 -0
  151. package/lib/hooks/usePlusFormReset.d.ts +9833 -5
  152. package/lib/index.css +1 -1
  153. package/lib/index.js +1 -0
  154. package/lib/types/plus.d.ts +29 -0
  155. package/locale/en.js +1 -1
  156. package/locale/en.min.js +1 -1
  157. package/locale/en.min.mjs +1 -1
  158. package/locale/en.mjs +1 -1
  159. package/locale/ja.js +1 -1
  160. package/locale/ja.min.js +1 -1
  161. package/locale/ja.min.mjs +1 -1
  162. package/locale/ja.mjs +1 -1
  163. package/locale/ko.js +1 -1
  164. package/locale/ko.min.js +1 -1
  165. package/locale/ko.min.mjs +1 -1
  166. package/locale/ko.mjs +1 -1
  167. package/locale/zh-cn.js +1 -1
  168. package/locale/zh-cn.min.js +1 -1
  169. package/locale/zh-cn.min.mjs +1 -1
  170. package/locale/zh-cn.mjs +1 -1
  171. package/locale/zh-tw.js +1 -1
  172. package/locale/zh-tw.min.js +1 -1
  173. package/locale/zh-tw.min.mjs +1 -1
  174. package/locale/zh-tw.mjs +1 -1
  175. package/package.json +3 -3
@@ -0,0 +1,493 @@
1
+ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time-select';
2
+ import { PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
3
+ import { LooseRequired } from '@vue/shared';
4
+ import { FormItemRule, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
5
+ import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
6
+ import { DefineComponent, ComputedRef, CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, Ref, CSSProperties, Component } from 'vue';
7
+ import { FieldValues, PlusColumn, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components/es/types';
8
+ import { PlusDialogProps } from 'yc-pro-components/es/components/dialog';
9
+ import { PlusFormProps } from 'yc-pro-components/es/components/form';
10
+
11
+ export interface PlusDialogFormProps {
12
+ modelValue?: FieldValues;
13
+ visible?: boolean;
14
+ dialog?: PlusDialogProps;
15
+ form?: PlusFormProps;
16
+ hasErrorTip?: boolean;
17
+ }
18
+ export interface PlusDialogFormEmits {
19
+ (e: 'update:modelValue', values: FieldValues): void;
20
+ (e: 'update:visible', visible: boolean): void;
21
+ (e: 'confirm', values: FieldValues): void;
22
+ (e: 'change', values: FieldValues, column: PlusColumn): void;
23
+ (e: 'cancel'): void;
24
+ (e: 'close'): void;
25
+ (e: 'confirmError', errors: unknown): void;
26
+ }
27
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusDialogFormProps>, {
28
+ modelValue: () => {};
29
+ visible: boolean;
30
+ hasErrorTip: boolean;
31
+ dialog: () => {};
32
+ form: () => {};
33
+ }>, {
34
+ handleConfirm: () => void;
35
+ handleCancel: () => void;
36
+ formInstance: ComputedRef<CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
37
+ readonly model: ObjectConstructor;
38
+ readonly rules: {
39
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
40
+ readonly required: false;
41
+ readonly validator: ((val: unknown) => boolean) | undefined;
42
+ __epPropKey: true;
43
+ };
44
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
45
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
46
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
47
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
48
+ readonly inline: BooleanConstructor;
49
+ readonly inlineMessage: BooleanConstructor;
50
+ readonly statusIcon: BooleanConstructor;
51
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
52
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
53
+ readonly hideRequiredAsterisk: BooleanConstructor;
54
+ readonly scrollToError: BooleanConstructor;
55
+ readonly scrollIntoViewOptions: {
56
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
57
+ readonly required: false;
58
+ readonly validator: ((val: unknown) => boolean) | undefined;
59
+ __epPropKey: true;
60
+ };
61
+ readonly size: {
62
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
63
+ readonly required: false;
64
+ readonly validator: ((val: unknown) => boolean) | undefined;
65
+ __epPropKey: true;
66
+ };
67
+ readonly disabled: BooleanConstructor;
68
+ }>> & {
69
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
70
+ }, {
71
+ COMPONENT_NAME: string;
72
+ props: Readonly< LooseRequired<Readonly< ExtractPropTypes<{
73
+ readonly model: ObjectConstructor;
74
+ readonly rules: {
75
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
76
+ readonly required: false;
77
+ readonly validator: ((val: unknown) => boolean) | undefined;
78
+ __epPropKey: true;
79
+ };
80
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
81
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
82
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
83
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
84
+ readonly inline: BooleanConstructor;
85
+ readonly inlineMessage: BooleanConstructor;
86
+ readonly statusIcon: BooleanConstructor;
87
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
88
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
89
+ readonly hideRequiredAsterisk: BooleanConstructor;
90
+ readonly scrollToError: BooleanConstructor;
91
+ readonly scrollIntoViewOptions: {
92
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
93
+ readonly required: false;
94
+ readonly validator: ((val: unknown) => boolean) | undefined;
95
+ __epPropKey: true;
96
+ };
97
+ readonly size: {
98
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
99
+ readonly required: false;
100
+ readonly validator: ((val: unknown) => boolean) | undefined;
101
+ __epPropKey: true;
102
+ };
103
+ readonly disabled: BooleanConstructor;
104
+ }>> & {
105
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
106
+ }>>;
107
+ emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
108
+ fields: FormItemContext[];
109
+ formSize: ComputedRef<"" | "default" | "small" | "large">;
110
+ ns: {
111
+ namespace: ComputedRef<string>;
112
+ b: (blockSuffix?: string | undefined) => string;
113
+ e: (element?: string | undefined) => string;
114
+ m: (modifier?: string | undefined) => string;
115
+ be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
116
+ em: (element?: string | undefined, modifier?: string | undefined) => string;
117
+ bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
118
+ bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
119
+ is: {
120
+ (name: string, state: boolean | undefined): string;
121
+ (name: string): string;
122
+ };
123
+ cssVar: (object: Record<string, string>) => Record<string, string>;
124
+ cssVarName: (name: string) => string;
125
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
126
+ cssVarBlockName: (name: string) => string;
127
+ };
128
+ formClasses: ComputedRef<(string | {
129
+ [x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
130
+ })[]>;
131
+ getField: (prop: string) => FormItemContext | undefined;
132
+ addField: (field: FormItemContext) => void;
133
+ removeField: (field: FormItemContext) => void;
134
+ resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
135
+ clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
136
+ isValidatable: ComputedRef<boolean>;
137
+ obtainValidateFields: (props: Arrayable<FormItemProp>) => FormItemContext[];
138
+ validate: (callback?: FormValidateCallback | undefined) => FormValidationResult;
139
+ doValidateField: (props?: Arrayable<FormItemProp> | undefined) => Promise<boolean>;
140
+ validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
141
+ scrollToField: (prop: FormItemProp) => void;
142
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
143
+ validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
144
+ }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
145
+ readonly model: ObjectConstructor;
146
+ readonly rules: {
147
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
148
+ readonly required: false;
149
+ readonly validator: ((val: unknown) => boolean) | undefined;
150
+ __epPropKey: true;
151
+ };
152
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
153
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
154
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
155
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
156
+ readonly inline: BooleanConstructor;
157
+ readonly inlineMessage: BooleanConstructor;
158
+ readonly statusIcon: BooleanConstructor;
159
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
160
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
161
+ readonly hideRequiredAsterisk: BooleanConstructor;
162
+ readonly scrollToError: BooleanConstructor;
163
+ readonly scrollIntoViewOptions: {
164
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
165
+ readonly required: false;
166
+ readonly validator: ((val: unknown) => boolean) | undefined;
167
+ __epPropKey: true;
168
+ };
169
+ readonly size: {
170
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
171
+ readonly required: false;
172
+ readonly validator: ((val: unknown) => boolean) | undefined;
173
+ __epPropKey: true;
174
+ };
175
+ readonly disabled: BooleanConstructor;
176
+ }>> & {
177
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
178
+ }, {
179
+ readonly disabled: boolean;
180
+ readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
181
+ readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
182
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
183
+ readonly labelSuffix: string;
184
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
185
+ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
186
+ readonly inline: boolean;
187
+ readonly inlineMessage: boolean;
188
+ readonly statusIcon: boolean;
189
+ readonly hideRequiredAsterisk: boolean;
190
+ readonly scrollToError: boolean;
191
+ }, true, {}, {}, {
192
+ P: {};
193
+ B: {};
194
+ D: {};
195
+ C: {};
196
+ M: {};
197
+ Defaults: {};
198
+ }, Readonly< ExtractPropTypes<{
199
+ readonly model: ObjectConstructor;
200
+ readonly rules: {
201
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
202
+ readonly required: false;
203
+ readonly validator: ((val: unknown) => boolean) | undefined;
204
+ __epPropKey: true;
205
+ };
206
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
207
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
208
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
209
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
210
+ readonly inline: BooleanConstructor;
211
+ readonly inlineMessage: BooleanConstructor;
212
+ readonly statusIcon: BooleanConstructor;
213
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
214
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
215
+ readonly hideRequiredAsterisk: BooleanConstructor;
216
+ readonly scrollToError: BooleanConstructor;
217
+ readonly scrollIntoViewOptions: {
218
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
219
+ readonly required: false;
220
+ readonly validator: ((val: unknown) => boolean) | undefined;
221
+ __epPropKey: true;
222
+ };
223
+ readonly size: {
224
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
225
+ readonly required: false;
226
+ readonly validator: ((val: unknown) => boolean) | undefined;
227
+ __epPropKey: true;
228
+ };
229
+ readonly disabled: BooleanConstructor;
230
+ }>> & {
231
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
232
+ }, {
233
+ COMPONENT_NAME: string;
234
+ props: Readonly< LooseRequired<Readonly< ExtractPropTypes<{
235
+ readonly model: ObjectConstructor;
236
+ readonly rules: {
237
+ readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
238
+ readonly required: false;
239
+ readonly validator: ((val: unknown) => boolean) | undefined;
240
+ __epPropKey: true;
241
+ };
242
+ readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "right" | "left", unknown, "right", boolean>;
243
+ readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "right" | "left", unknown, "left", boolean>;
244
+ readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
245
+ readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
246
+ readonly inline: BooleanConstructor;
247
+ readonly inlineMessage: BooleanConstructor;
248
+ readonly statusIcon: BooleanConstructor;
249
+ readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
250
+ readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
251
+ readonly hideRequiredAsterisk: BooleanConstructor;
252
+ readonly scrollToError: BooleanConstructor;
253
+ readonly scrollIntoViewOptions: {
254
+ readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
255
+ readonly required: false;
256
+ readonly validator: ((val: unknown) => boolean) | undefined;
257
+ __epPropKey: true;
258
+ };
259
+ readonly size: {
260
+ readonly type: PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
261
+ readonly required: false;
262
+ readonly validator: ((val: unknown) => boolean) | undefined;
263
+ __epPropKey: true;
264
+ };
265
+ readonly disabled: BooleanConstructor;
266
+ }>> & {
267
+ onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
268
+ }>>;
269
+ emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
270
+ fields: FormItemContext[];
271
+ formSize: ComputedRef<"" | "default" | "small" | "large">;
272
+ ns: {
273
+ namespace: ComputedRef<string>;
274
+ b: (blockSuffix?: string | undefined) => string;
275
+ e: (element?: string | undefined) => string;
276
+ m: (modifier?: string | undefined) => string;
277
+ be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
278
+ em: (element?: string | undefined, modifier?: string | undefined) => string;
279
+ bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
280
+ bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
281
+ is: {
282
+ (name: string, state: boolean | undefined): string;
283
+ (name: string): string;
284
+ };
285
+ cssVar: (object: Record<string, string>) => Record<string, string>;
286
+ cssVarName: (name: string) => string;
287
+ cssVarBlock: (object: Record<string, string>) => Record<string, string>;
288
+ cssVarBlockName: (name: string) => string;
289
+ };
290
+ formClasses: ComputedRef<(string | {
291
+ [x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
292
+ })[]>;
293
+ getField: (prop: string) => FormItemContext | undefined;
294
+ addField: (field: FormItemContext) => void;
295
+ removeField: (field: FormItemContext) => void;
296
+ resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
297
+ clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
298
+ isValidatable: ComputedRef<boolean>;
299
+ obtainValidateFields: (props: Arrayable<FormItemProp>) => FormItemContext[];
300
+ validate: (callback?: FormValidateCallback | undefined) => FormValidationResult;
301
+ doValidateField: (props?: Arrayable<FormItemProp> | undefined) => Promise<boolean>;
302
+ validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
303
+ scrollToField: (prop: FormItemProp) => void;
304
+ }, {}, {}, {}, {
305
+ readonly disabled: boolean;
306
+ readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
307
+ readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
308
+ readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
309
+ readonly labelSuffix: string;
310
+ readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
311
+ readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
312
+ readonly inline: boolean;
313
+ readonly inlineMessage: boolean;
314
+ readonly statusIcon: boolean;
315
+ readonly hideRequiredAsterisk: boolean;
316
+ readonly scrollToError: boolean;
317
+ }>>;
318
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
319
+ "update:modelValue": (values: FieldValues) => void;
320
+ "update:visible": (visible: boolean) => void;
321
+ confirm: (values: FieldValues) => void;
322
+ change: (values: FieldValues, column: PlusColumn) => void;
323
+ cancel: () => void;
324
+ close: () => void;
325
+ confirmError: (errors: unknown) => void;
326
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PlusDialogFormProps>, {
327
+ modelValue: () => {};
328
+ visible: boolean;
329
+ hasErrorTip: boolean;
330
+ dialog: () => {};
331
+ form: () => {};
332
+ }>>> & {
333
+ "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
334
+ onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
335
+ "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
336
+ onClose?: (() => any) | undefined;
337
+ onCancel?: (() => any) | undefined;
338
+ onConfirm?: ((values: FieldValues) => any) | undefined;
339
+ onConfirmError?: ((errors: unknown) => any) | undefined;
340
+ }, {
341
+ modelValue: FieldValues;
342
+ dialog: PlusDialogProps;
343
+ form: PlusFormProps;
344
+ visible: boolean;
345
+ hasErrorTip: boolean;
346
+ }, {}>, Partial<Record<NonNullable<string | number>, (_: {
347
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
348
+ readonly label: string | ComputedRef<string>;
349
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
350
+ readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
351
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
352
+ style?: CSSProperties | undefined;
353
+ class?: any;
354
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
355
+ style?: CSSProperties | undefined;
356
+ class?: any;
357
+ } & RecordType>>;
358
+ readonly formItemProps: PropsItemType< Mutable<FormItemProps> & {
359
+ [key: string]: any;
360
+ style?: CSSProperties | undefined;
361
+ }>;
362
+ readonly fieldProps: PropsItemType<Partial<{
363
+ [index: string]: any;
364
+ [index: number]: any;
365
+ [index: symbol]: any;
366
+ class: any;
367
+ style: CSSProperties;
368
+ modelModifiers: {
369
+ [index: string]: any;
370
+ lazy?: boolean | undefined;
371
+ trim?: boolean | undefined;
372
+ number?: boolean | undefined;
373
+ };
374
+ rows: number;
375
+ autocomplete: string;
376
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
377
+ loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
378
+ step: string | number;
379
+ format: string | ProgressFn | undefined;
380
+ filterMethod: Function | ((node: CascaderNode, keyword: string) => boolean) | undefined;
381
+ id: string | [string, string];
382
+ effect: string;
383
+ height: string | number;
384
+ autosize: InputAutoSize;
385
+ } & 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< ISelectProps, 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>>>>;
386
+ readonly options: OptionsType;
387
+ readonly fieldSlots: {
388
+ [slotName: string]: (data?: any) => RenderTypes;
389
+ };
390
+ readonly valueType: TableValueType | FormItemValueType;
391
+ readonly renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
392
+ readonly renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
393
+ readonly fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
394
+ readonly renderErrorMessage: ((props: PlusColumn & {
395
+ value?: FieldValueType;
396
+ error?: string | undefined;
397
+ label?: string | undefined;
398
+ }) => RenderTypes) | undefined;
399
+ readonly optionsMap: {
400
+ label?: string | undefined;
401
+ value?: string | undefined;
402
+ } | undefined;
403
+ readonly autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
404
+ store?: any;
405
+ method?: string | undefined;
406
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
407
+ dictCode?: string | undefined;
408
+ } | undefined;
409
+ readonly clearable: boolean;
410
+ readonly index: number;
411
+ } & {
412
+ readonly clearable: boolean;
413
+ };
414
+ label: string;
415
+ fieldProps: RecordType;
416
+ formItemProps: RecordType;
417
+ options: OptionsRow<undefined>[];
418
+ fieldInstance?: any;
419
+ valueIsReady?: Ref<boolean> | undefined;
420
+ prop: string;
421
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
422
+ hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
423
+ tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
424
+ style?: CSSProperties | undefined;
425
+ class?: any;
426
+ } & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
427
+ style?: CSSProperties | undefined;
428
+ class?: any;
429
+ } & RecordType>>;
430
+ fieldSlots: {
431
+ [slotName: string]: (data?: any) => RenderTypes;
432
+ };
433
+ valueType: TableValueType | FormItemValueType;
434
+ renderField: ((value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes) | undefined;
435
+ renderLabel: ((label: string, props: PlusColumn) => RenderTypes) | undefined;
436
+ fieldChildrenSlot: ((option?: OptionsRow<undefined> | undefined) => RenderTypes) | undefined;
437
+ renderErrorMessage: ((props: PlusColumn & {
438
+ value?: FieldValueType;
439
+ error?: string | undefined;
440
+ label?: string | undefined;
441
+ }) => RenderTypes) | undefined;
442
+ optionsMap: {
443
+ label?: string | undefined;
444
+ value?: string | undefined;
445
+ } | undefined;
446
+ autoDict: boolean | ((column: PlusColumn) => OptionsRow<undefined>[] | Promise< OptionsRow<undefined>[]>) | {
447
+ store?: any;
448
+ method?: string | undefined;
449
+ transform?: ((data: any) => OptionsRow<undefined>[]) | undefined;
450
+ dictCode?: string | undefined;
451
+ } | undefined;
452
+ clearable: boolean;
453
+ index: number;
454
+ }) => any>> & {
455
+ "dialog-header"?(_: {}): any;
456
+ "dialog-footer"?(_: {
457
+ handleConfirm: () => void;
458
+ handleCancel: () => void;
459
+ }): any;
460
+ "form-footer"?(_: {
461
+ handleReset: () => void;
462
+ handleSubmit: () => void;
463
+ }): any;
464
+ "form-group-header"?(_: {
465
+ title: string;
466
+ columns: PlusColumn[] | undefined;
467
+ icon: Component | undefined;
468
+ index: number;
469
+ }): any;
470
+ }>;
471
+ export default _default;
472
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
473
+ type __VLS_TypePropsToRuntimeProps<T> = {
474
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
475
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
476
+ } : {
477
+ type: PropType<T[K]>;
478
+ required: true;
479
+ };
480
+ };
481
+ type __VLS_WithDefaults<P, D> = {
482
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
483
+ default: D[K];
484
+ }> : P[K];
485
+ };
486
+ type __VLS_Prettify<T> = {
487
+ [K in keyof T]: T[K];
488
+ } & {};
489
+ type __VLS_WithTemplateSlots<T, S> = T & {
490
+ new (): {
491
+ $slots: S;
492
+ };
493
+ };
@@ -76,12 +76,15 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
76
76
  }, 300);
77
77
  }
78
78
  };
79
- const handleConfirm = debounce(doConfirm, 300, {
79
+ const debouncedConfirm = debounce(doConfirm, 300, {
80
80
  leading: true,
81
81
  // 立即执行第一次
82
82
  trailing: false
83
83
  // 不执行最后一次
84
84
  });
85
+ const handleConfirm = () => {
86
+ debouncedConfirm();
87
+ };
85
88
  const handleCancel = () => {
86
89
  subVisible.value = false;
87
90
  emit("update:visible", subVisible.value);
@@ -108,7 +111,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
108
111
  }, _ctx.dialog, {
109
112
  onClose: handleClose,
110
113
  onCancel: handleCancel,
111
- onConfirm: unref(handleConfirm)
114
+ onConfirm: handleConfirm
112
115
  }), createSlots({
113
116
  default: withCtx(() => [
114
117
  createVNode(unref(PlusForm), mergeProps({
@@ -159,11 +162,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
159
162
  _ctx.$slots["dialog-footer"] ? {
160
163
  name: "footer",
161
164
  fn: withCtx(() => [
162
- renderSlot(_ctx.$slots, "dialog-footer", normalizeProps(guardReactiveProps({ handleConfirm: unref(handleConfirm), handleCancel })))
165
+ renderSlot(_ctx.$slots, "dialog-footer", normalizeProps(guardReactiveProps({ handleConfirm, handleCancel })))
163
166
  ]),
164
167
  key: "1"
165
168
  } : void 0
166
- ]), 1040, ["modelValue", "title", "confirm-loading", "onConfirm"]);
169
+ ]), 1040, ["modelValue", "title", "confirm-loading"]);
167
170
  };
168
171
  }
169
172
  });
@@ -232,9 +232,9 @@ export declare const PlusDisplayItem: {
232
232
  editable: boolean | "click" | "dblclick";
233
233
  }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
234
234
  $slots: Partial<Record<string, (_: {
235
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
235
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
236
236
  readonly label: string | ComputedRef<string>;
237
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
237
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
238
238
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
239
239
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
240
240
  style?: CSSProperties | undefined;
@@ -261,7 +261,7 @@ export declare const PlusDisplayItem: {
261
261
  };
262
262
  rows: number;
263
263
  autocomplete: string;
264
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
264
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
265
265
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
266
266
  step: string | number;
267
267
  format: string | ProgressFn | undefined;
@@ -306,7 +306,7 @@ export declare const PlusDisplayItem: {
306
306
  fieldInstance?: any;
307
307
  valueIsReady?: Ref<boolean> | undefined;
308
308
  prop: string;
309
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
309
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
310
310
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
311
311
  tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
312
312
  style?: CSSProperties | undefined;
@@ -340,9 +340,9 @@ export declare const PlusDisplayItem: {
340
340
  clearable: boolean;
341
341
  index: number;
342
342
  }) => any>> & Partial<Record<string, (_: {
343
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
343
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
344
344
  readonly label: string | ComputedRef<string>;
345
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
345
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
346
346
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
347
347
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
348
348
  style?: CSSProperties | undefined;
@@ -369,7 +369,7 @@ export declare const PlusDisplayItem: {
369
369
  };
370
370
  rows: number;
371
371
  autocomplete: string;
372
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
372
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
373
373
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
374
374
  step: string | number;
375
375
  format: string | ProgressFn | undefined;
@@ -414,7 +414,7 @@ export declare const PlusDisplayItem: {
414
414
  fieldInstance?: any;
415
415
  valueIsReady?: Ref<boolean> | undefined;
416
416
  prop: string;
417
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
417
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
418
418
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
419
419
  tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
420
420
  style?: CSSProperties | undefined;
@@ -448,9 +448,9 @@ export declare const PlusDisplayItem: {
448
448
  clearable: boolean;
449
449
  index: number;
450
450
  }) => any>> & Partial<Record<string, (_: {
451
- column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
451
+ column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
452
452
  readonly label: string | ComputedRef<string>;
453
- readonly modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
453
+ readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
454
454
  readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
455
455
  readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
456
456
  style?: CSSProperties | undefined;
@@ -477,7 +477,7 @@ export declare const PlusDisplayItem: {
477
477
  };
478
478
  rows: number;
479
479
  autocomplete: string;
480
- type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
480
+ type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
481
481
  loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
482
482
  step: string | number;
483
483
  format: string | ProgressFn | undefined;
@@ -522,7 +522,7 @@ export declare const PlusDisplayItem: {
522
522
  fieldInstance?: any;
523
523
  valueIsReady?: Ref<boolean> | undefined;
524
524
  prop: string;
525
- modelValue: string | number | boolean | string[] | [string, string] | RecordType | Date | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
525
+ modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
526
526
  hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
527
527
  tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
528
528
  style?: CSSProperties | undefined;