yc-agent-ui 1.2.5 → 1.2.6
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.
- package/es/components/data-table/src/data-table-pagination.vue.d.ts +3 -3
- package/es/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
- package/es/components/data-table/src/data-table.vue.d.ts +3 -3
- package/es/components/descriptions/index.d.ts +3 -3
- package/es/components/descriptions/src/index.vue.d.ts +1 -1
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +4 -4
- package/es/components/dialog-form/src/index.vue.d.ts +4 -4
- package/es/components/display-item/index.d.ts +15 -15
- package/es/components/display-item/src/index.vue.d.ts +13 -13
- package/es/components/drawer-form/index.d.ts +22 -22
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +43 -43
- package/es/components/form/src/form-content.vue.d.ts +15 -15
- package/es/components/form/src/index.vue.d.ts +21 -21
- package/es/components/form-item/index.d.ts +61 -61
- package/es/components/form-item/src/index.vue.d.ts +24 -24
- package/es/components/page/index.d.ts +1025 -1025
- package/es/components/page/src/index.vue.d.ts +345 -345
- package/es/components/popover/index.d.ts +9 -9
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/search/index.d.ts +282 -282
- package/es/components/search/src/index.vue.d.ts +98 -98
- package/es/components/table/index.d.ts +27 -27
- package/es/components/table/src/index.vue.d.ts +3 -3
- package/es/components/table/src/table-column.vue.d.ts +34 -34
- package/es/components/utils/index.d.ts +1 -1
- package/es/components/virtual-table/index.d.ts +7 -7
- package/es/components/virtual-table/src/index.vue.d.ts +2 -2
- package/es/components/yc-ai-chat/src/select.vue.d.ts +2 -2
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +3 -3
- package/es/components/yc-coss-table/src/coss-table.vue.d.ts +2 -2
- package/es/components/yc-coss-table/src/table-head.vue.d.ts +1 -1
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-input/src/input.vue.d.ts +1 -1
- package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
- package/es/components/yc-plus-page/src/index.vue.d.ts +1047 -1047
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-property-table/src/bill-table.vue.d.ts +1 -1
- package/es/components/yc-property-table/src/property-table.vue.d.ts +3 -3
- package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +132 -132
- package/es/index.css +10 -10
- package/es/packages/components/yc-display-cards/capability.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +78 -22
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +1 -1
- package/index.js +89 -33
- package/index.min.css +1 -1
- package/index.min.js +13 -13
- package/index.min.mjs +17 -17
- package/index.mjs +89 -33
- package/lib/components/data-table/src/data-table-pagination.vue.d.ts +3 -3
- package/lib/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
- package/lib/components/data-table/src/data-table.vue.d.ts +3 -3
- package/lib/components/descriptions/index.d.ts +3 -3
- package/lib/components/descriptions/src/index.vue.d.ts +1 -1
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +4 -4
- package/lib/components/dialog-form/src/index.vue.d.ts +4 -4
- package/lib/components/display-item/index.d.ts +15 -15
- package/lib/components/display-item/src/index.vue.d.ts +13 -13
- package/lib/components/drawer-form/index.d.ts +22 -22
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +43 -43
- package/lib/components/form/src/form-content.vue.d.ts +15 -15
- package/lib/components/form/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/index.d.ts +61 -61
- package/lib/components/form-item/src/index.vue.d.ts +24 -24
- package/lib/components/page/index.d.ts +1025 -1025
- package/lib/components/page/src/index.vue.d.ts +345 -345
- package/lib/components/popover/index.d.ts +9 -9
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/search/index.d.ts +282 -282
- package/lib/components/search/src/index.vue.d.ts +98 -98
- package/lib/components/table/index.d.ts +27 -27
- package/lib/components/table/src/index.vue.d.ts +3 -3
- package/lib/components/table/src/table-column.vue.d.ts +34 -34
- package/lib/components/utils/index.d.ts +1 -1
- package/lib/components/virtual-table/index.d.ts +7 -7
- package/lib/components/virtual-table/src/index.vue.d.ts +2 -2
- package/lib/components/yc-ai-chat/src/select.vue.d.ts +2 -2
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +3 -3
- package/lib/components/yc-coss-table/src/coss-table.vue.d.ts +2 -2
- package/lib/components/yc-coss-table/src/table-head.vue.d.ts +1 -1
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-input/src/input.vue.d.ts +1 -1
- package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
- package/lib/components/yc-plus-page/src/index.vue.d.ts +1047 -1047
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-property-table/src/bill-table.vue.d.ts +1 -1
- package/lib/components/yc-property-table/src/property-table.vue.d.ts +3 -3
- package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +132 -132
- package/lib/index.css +8 -8
- package/lib/packages/components/yc-display-cards/capability.js +1 -1
- package/lib/packages/components/yc-display-cards/src/table-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +77 -21
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComputedRef, Ref, CSSProperties, DefineComponent, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, Component, PublicProps } from 'vue';
|
|
2
2
|
import { PlusColumn, FieldValues, RecordType, Mutable, PropsItemType, InputType, CascaderProps, OmitTypes, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow, PlusCardProps } from '../../../types';
|
|
3
|
-
import { UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps,
|
|
3
|
+
import { UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps, RowProps, ColProps, CardProps, FormInstance } from 'element-plus';
|
|
4
4
|
import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from '../../../agent-ui';
|
|
5
|
-
import {
|
|
5
|
+
import { PlusFormGroupRow, ElementPlusFormProps } from '../../form';
|
|
6
6
|
import { OnCleanup } from '@vue/reactivity';
|
|
7
7
|
|
|
8
8
|
declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {
|
|
@@ -12,10 +12,10 @@ declare function __VLS_template(): Partial<Record<NonNullable<string | number>,
|
|
|
12
12
|
readonly label: string | ComputedRef<string>;
|
|
13
13
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
14
14
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
15
|
-
readonly tooltip: string |
|
|
15
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
16
16
|
style?: CSSProperties;
|
|
17
17
|
class?: any;
|
|
18
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
18
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
19
19
|
style?: CSSProperties;
|
|
20
20
|
class?: any;
|
|
21
21
|
} & RecordType>>;
|
|
@@ -86,10 +86,10 @@ declare function __VLS_template(): Partial<Record<NonNullable<string | number>,
|
|
|
86
86
|
prop: PlusColumn["prop"];
|
|
87
87
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
88
88
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
89
|
-
tooltip: string |
|
|
89
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
90
90
|
style?: CSSProperties;
|
|
91
91
|
class?: any;
|
|
92
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
92
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
93
93
|
style?: CSSProperties;
|
|
94
94
|
class?: any;
|
|
95
95
|
} & RecordType>>;
|
|
@@ -136,28 +136,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
136
136
|
ellipsis: boolean;
|
|
137
137
|
layout: "grid" | "flex";
|
|
138
138
|
columns: PlusColumn[];
|
|
139
|
+
collapseDuration: number;
|
|
140
|
+
collapseTransition: boolean;
|
|
139
141
|
modelValue: FieldValues;
|
|
140
|
-
|
|
141
|
-
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
142
|
+
group: false | PlusFormGroupRow[];
|
|
142
143
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
144
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
143
145
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
146
|
+
rules: ElementPlusFormProps["rules"];
|
|
147
|
+
defaultValues: FieldValues;
|
|
148
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
147
149
|
style?: CSSProperties;
|
|
148
150
|
class?: any;
|
|
149
151
|
} & RecordType>;
|
|
150
|
-
|
|
151
|
-
collapseDuration: number;
|
|
152
|
-
collapseTransition: boolean;
|
|
153
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
152
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
154
153
|
style?: CSSProperties;
|
|
155
154
|
class?: any;
|
|
156
155
|
} & RecordType>;
|
|
157
|
-
defaultValues: FieldValues;
|
|
158
156
|
hasErrorTip: boolean;
|
|
159
157
|
hasFooter: boolean;
|
|
160
158
|
hasReset: boolean;
|
|
159
|
+
hasLabel: boolean;
|
|
161
160
|
submitText: string;
|
|
162
161
|
resetText: string;
|
|
163
162
|
submitLoading: boolean;
|
|
@@ -167,14 +166,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
167
166
|
class?: any;
|
|
168
167
|
} & RecordType>;
|
|
169
168
|
prevent: boolean;
|
|
169
|
+
clearable: boolean;
|
|
170
170
|
}> & Omit<{
|
|
171
171
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
172
172
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
173
173
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
174
174
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
175
|
-
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
176
175
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
177
|
-
|
|
176
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
177
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "collapseDuration" | "collapseTransition" | "modelValue" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
178
178
|
$attrs: Attrs;
|
|
179
179
|
$refs: {
|
|
180
180
|
[x: string]: unknown;
|
|
@@ -185,15 +185,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
185
185
|
$root: ComponentPublicInstance | null;
|
|
186
186
|
$parent: ComponentPublicInstance | null;
|
|
187
187
|
$host: Element | null;
|
|
188
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
188
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => void);
|
|
189
189
|
$el: any;
|
|
190
190
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
191
191
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
192
192
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
193
193
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
194
194
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
195
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
196
195
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
196
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
197
197
|
}>, {
|
|
198
198
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
199
199
|
handleSubmit: () => void;
|
|
@@ -209,28 +209,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
209
209
|
ellipsis: boolean;
|
|
210
210
|
layout: "grid" | "flex";
|
|
211
211
|
columns: PlusColumn[];
|
|
212
|
+
collapseDuration: number;
|
|
213
|
+
collapseTransition: boolean;
|
|
212
214
|
modelValue: FieldValues;
|
|
213
|
-
|
|
214
|
-
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
215
|
+
group: false | PlusFormGroupRow[];
|
|
215
216
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
217
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
216
218
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
219
|
+
rules: ElementPlusFormProps["rules"];
|
|
220
|
+
defaultValues: FieldValues;
|
|
221
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
220
222
|
style?: CSSProperties;
|
|
221
223
|
class?: any;
|
|
222
224
|
} & RecordType>;
|
|
223
|
-
|
|
224
|
-
collapseDuration: number;
|
|
225
|
-
collapseTransition: boolean;
|
|
226
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
225
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
227
226
|
style?: CSSProperties;
|
|
228
227
|
class?: any;
|
|
229
228
|
} & RecordType>;
|
|
230
|
-
defaultValues: FieldValues;
|
|
231
229
|
hasErrorTip: boolean;
|
|
232
230
|
hasFooter: boolean;
|
|
233
231
|
hasReset: boolean;
|
|
232
|
+
hasLabel: boolean;
|
|
234
233
|
submitText: string;
|
|
235
234
|
resetText: string;
|
|
236
235
|
submitLoading: boolean;
|
|
@@ -240,6 +239,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
240
239
|
class?: any;
|
|
241
240
|
} & RecordType>;
|
|
242
241
|
prevent: boolean;
|
|
242
|
+
clearable: boolean;
|
|
243
243
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
244
244
|
beforeCreate?: (() => void) | (() => void)[];
|
|
245
245
|
created?: (() => void) | (() => void)[];
|
|
@@ -264,28 +264,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
264
264
|
ellipsis: boolean;
|
|
265
265
|
layout: "grid" | "flex";
|
|
266
266
|
columns: PlusColumn[];
|
|
267
|
+
collapseDuration: number;
|
|
268
|
+
collapseTransition: boolean;
|
|
267
269
|
modelValue: FieldValues;
|
|
268
|
-
|
|
269
|
-
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
270
|
+
group: false | PlusFormGroupRow[];
|
|
270
271
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
272
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
271
273
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
274
|
+
rules: ElementPlusFormProps["rules"];
|
|
275
|
+
defaultValues: FieldValues;
|
|
276
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
275
277
|
style?: CSSProperties;
|
|
276
278
|
class?: any;
|
|
277
279
|
} & RecordType>;
|
|
278
|
-
|
|
279
|
-
collapseDuration: number;
|
|
280
|
-
collapseTransition: boolean;
|
|
281
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
280
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
282
281
|
style?: CSSProperties;
|
|
283
282
|
class?: any;
|
|
284
283
|
} & RecordType>;
|
|
285
|
-
defaultValues: FieldValues;
|
|
286
284
|
hasErrorTip: boolean;
|
|
287
285
|
hasFooter: boolean;
|
|
288
286
|
hasReset: boolean;
|
|
287
|
+
hasLabel: boolean;
|
|
289
288
|
submitText: string;
|
|
290
289
|
resetText: string;
|
|
291
290
|
submitLoading: boolean;
|
|
@@ -295,14 +294,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
295
294
|
class?: any;
|
|
296
295
|
} & RecordType>;
|
|
297
296
|
prevent: boolean;
|
|
297
|
+
clearable: boolean;
|
|
298
298
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
299
299
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
300
300
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
301
301
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
302
302
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
303
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
304
303
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
305
|
-
|
|
304
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
305
|
+
}>, "formInstance" | "handleSubmit" | "handleReset" | ("ellipsis" | "layout" | "columns" | "collapseDuration" | "collapseTransition" | "modelValue" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
306
306
|
formInstance: FormInstance | null;
|
|
307
307
|
handleSubmit: () => void;
|
|
308
308
|
handleReset: () => void;
|
|
@@ -322,10 +322,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
322
322
|
readonly label: string | ComputedRef<string>;
|
|
323
323
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
324
324
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
325
|
-
readonly tooltip: string |
|
|
325
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
326
326
|
style?: CSSProperties;
|
|
327
327
|
class?: any;
|
|
328
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
328
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
329
329
|
style?: CSSProperties;
|
|
330
330
|
class?: any;
|
|
331
331
|
} & RecordType>>;
|
|
@@ -396,10 +396,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
396
396
|
prop: PlusColumn["prop"];
|
|
397
397
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
398
398
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
399
|
-
tooltip: string |
|
|
399
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
400
400
|
style?: CSSProperties;
|
|
401
401
|
class?: any;
|
|
402
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
402
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
403
403
|
style?: CSSProperties;
|
|
404
404
|
class?: any;
|
|
405
405
|
} & RecordType>>;
|
|
@@ -435,10 +435,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
435
435
|
readonly label: string | ComputedRef<string>;
|
|
436
436
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
437
437
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
438
|
-
readonly tooltip: string |
|
|
438
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
439
439
|
style?: CSSProperties;
|
|
440
440
|
class?: any;
|
|
441
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
441
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
442
442
|
style?: CSSProperties;
|
|
443
443
|
class?: any;
|
|
444
444
|
} & RecordType>>;
|
|
@@ -509,10 +509,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
509
509
|
prop: PlusColumn["prop"];
|
|
510
510
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
511
511
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
512
|
-
tooltip: string |
|
|
512
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
513
513
|
style?: CSSProperties;
|
|
514
514
|
class?: any;
|
|
515
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
515
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
516
516
|
style?: CSSProperties;
|
|
517
517
|
class?: any;
|
|
518
518
|
} & RecordType>>;
|
|
@@ -561,28 +561,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
561
561
|
ellipsis: boolean;
|
|
562
562
|
layout: "grid" | "flex";
|
|
563
563
|
columns: PlusColumn[];
|
|
564
|
+
collapseDuration: number;
|
|
565
|
+
collapseTransition: boolean;
|
|
564
566
|
modelValue: FieldValues;
|
|
565
|
-
|
|
566
|
-
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
567
|
+
group: false | PlusFormGroupRow[];
|
|
567
568
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
569
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
568
570
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
571
|
+
rules: ElementPlusFormProps["rules"];
|
|
572
|
+
defaultValues: FieldValues;
|
|
573
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
572
574
|
style?: CSSProperties;
|
|
573
575
|
class?: any;
|
|
574
576
|
} & RecordType>;
|
|
575
|
-
|
|
576
|
-
collapseDuration: number;
|
|
577
|
-
collapseTransition: boolean;
|
|
578
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
577
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
579
578
|
style?: CSSProperties;
|
|
580
579
|
class?: any;
|
|
581
580
|
} & RecordType>;
|
|
582
|
-
defaultValues: FieldValues;
|
|
583
581
|
hasErrorTip: boolean;
|
|
584
582
|
hasFooter: boolean;
|
|
585
583
|
hasReset: boolean;
|
|
584
|
+
hasLabel: boolean;
|
|
586
585
|
submitText: string;
|
|
587
586
|
resetText: string;
|
|
588
587
|
submitLoading: boolean;
|
|
@@ -592,14 +591,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
592
591
|
class?: any;
|
|
593
592
|
} & RecordType>;
|
|
594
593
|
prevent: boolean;
|
|
594
|
+
clearable: boolean;
|
|
595
595
|
}> & Omit<{
|
|
596
596
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
597
597
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
598
598
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
599
599
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
600
|
-
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
601
600
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
602
|
-
|
|
601
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
602
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "collapseDuration" | "collapseTransition" | "modelValue" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
603
603
|
$attrs: Attrs;
|
|
604
604
|
$refs: {
|
|
605
605
|
[x: string]: unknown;
|
|
@@ -610,15 +610,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
610
610
|
$root: ComponentPublicInstance | null;
|
|
611
611
|
$parent: ComponentPublicInstance | null;
|
|
612
612
|
$host: Element | null;
|
|
613
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
613
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => void);
|
|
614
614
|
$el: any;
|
|
615
615
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
616
616
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
617
617
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
618
618
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
619
619
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
620
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
621
620
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
621
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
622
622
|
}>, {
|
|
623
623
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
624
624
|
handleSubmit: () => void;
|
|
@@ -634,28 +634,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
634
634
|
ellipsis: boolean;
|
|
635
635
|
layout: "grid" | "flex";
|
|
636
636
|
columns: PlusColumn[];
|
|
637
|
+
collapseDuration: number;
|
|
638
|
+
collapseTransition: boolean;
|
|
637
639
|
modelValue: FieldValues;
|
|
638
|
-
|
|
639
|
-
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
640
|
+
group: false | PlusFormGroupRow[];
|
|
640
641
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
642
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
641
643
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
644
|
+
rules: ElementPlusFormProps["rules"];
|
|
645
|
+
defaultValues: FieldValues;
|
|
646
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
645
647
|
style?: CSSProperties;
|
|
646
648
|
class?: any;
|
|
647
649
|
} & RecordType>;
|
|
648
|
-
|
|
649
|
-
collapseDuration: number;
|
|
650
|
-
collapseTransition: boolean;
|
|
651
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
650
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
652
651
|
style?: CSSProperties;
|
|
653
652
|
class?: any;
|
|
654
653
|
} & RecordType>;
|
|
655
|
-
defaultValues: FieldValues;
|
|
656
654
|
hasErrorTip: boolean;
|
|
657
655
|
hasFooter: boolean;
|
|
658
656
|
hasReset: boolean;
|
|
657
|
+
hasLabel: boolean;
|
|
659
658
|
submitText: string;
|
|
660
659
|
resetText: string;
|
|
661
660
|
submitLoading: boolean;
|
|
@@ -665,6 +664,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
665
664
|
class?: any;
|
|
666
665
|
} & RecordType>;
|
|
667
666
|
prevent: boolean;
|
|
667
|
+
clearable: boolean;
|
|
668
668
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
669
669
|
beforeCreate?: (() => void) | (() => void)[];
|
|
670
670
|
created?: (() => void) | (() => void)[];
|
|
@@ -689,28 +689,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
689
689
|
ellipsis: boolean;
|
|
690
690
|
layout: "grid" | "flex";
|
|
691
691
|
columns: PlusColumn[];
|
|
692
|
+
collapseDuration: number;
|
|
693
|
+
collapseTransition: boolean;
|
|
692
694
|
modelValue: FieldValues;
|
|
693
|
-
|
|
694
|
-
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
695
|
+
group: false | PlusFormGroupRow[];
|
|
695
696
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
697
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
696
698
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
699
|
+
rules: ElementPlusFormProps["rules"];
|
|
700
|
+
defaultValues: FieldValues;
|
|
701
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
700
702
|
style?: CSSProperties;
|
|
701
703
|
class?: any;
|
|
702
704
|
} & RecordType>;
|
|
703
|
-
|
|
704
|
-
collapseDuration: number;
|
|
705
|
-
collapseTransition: boolean;
|
|
706
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
705
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
707
706
|
style?: CSSProperties;
|
|
708
707
|
class?: any;
|
|
709
708
|
} & RecordType>;
|
|
710
|
-
defaultValues: FieldValues;
|
|
711
709
|
hasErrorTip: boolean;
|
|
712
710
|
hasFooter: boolean;
|
|
713
711
|
hasReset: boolean;
|
|
712
|
+
hasLabel: boolean;
|
|
714
713
|
submitText: string;
|
|
715
714
|
resetText: string;
|
|
716
715
|
submitLoading: boolean;
|
|
@@ -720,14 +719,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
720
719
|
class?: any;
|
|
721
720
|
} & RecordType>;
|
|
722
721
|
prevent: boolean;
|
|
722
|
+
clearable: boolean;
|
|
723
723
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
724
724
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
725
725
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
726
726
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
727
727
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
728
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
729
728
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
730
|
-
|
|
729
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
730
|
+
}>, "formInstance" | "handleSubmit" | "handleReset" | ("ellipsis" | "layout" | "columns" | "collapseDuration" | "collapseTransition" | "modelValue" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
731
731
|
formInstance: FormInstance | null;
|
|
732
732
|
handleSubmit: () => void;
|
|
733
733
|
handleReset: () => void;
|
|
@@ -747,10 +747,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
747
747
|
readonly label: string | ComputedRef<string>;
|
|
748
748
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
749
749
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
750
|
-
readonly tooltip: string |
|
|
750
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
751
751
|
style?: CSSProperties;
|
|
752
752
|
class?: any;
|
|
753
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
753
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
754
754
|
style?: CSSProperties;
|
|
755
755
|
class?: any;
|
|
756
756
|
} & RecordType>>;
|
|
@@ -821,10 +821,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
821
821
|
prop: PlusColumn["prop"];
|
|
822
822
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
823
823
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
824
|
-
tooltip: string |
|
|
824
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
825
825
|
style?: CSSProperties;
|
|
826
826
|
class?: any;
|
|
827
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
827
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
828
828
|
style?: CSSProperties;
|
|
829
829
|
class?: any;
|
|
830
830
|
} & RecordType>>;
|
|
@@ -860,10 +860,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
860
860
|
readonly label: string | ComputedRef<string>;
|
|
861
861
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
862
862
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
863
|
-
readonly tooltip: string |
|
|
863
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
864
864
|
style?: CSSProperties;
|
|
865
865
|
class?: any;
|
|
866
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
866
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
867
867
|
style?: CSSProperties;
|
|
868
868
|
class?: any;
|
|
869
869
|
} & RecordType>>;
|
|
@@ -934,10 +934,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
934
934
|
prop: PlusColumn["prop"];
|
|
935
935
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
936
936
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
937
|
-
tooltip: string |
|
|
937
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
938
938
|
style?: CSSProperties;
|
|
939
939
|
class?: any;
|
|
940
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
940
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
941
941
|
style?: CSSProperties;
|
|
942
942
|
class?: any;
|
|
943
943
|
} & RecordType>>;
|
|
@@ -1002,19 +1002,19 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1002
1002
|
columns: PlusColumn[];
|
|
1003
1003
|
modelValue: FieldValues;
|
|
1004
1004
|
labelPosition: "left" | "right" | "top";
|
|
1005
|
-
|
|
1006
|
-
|
|
1005
|
+
defaultValues: FieldValues;
|
|
1006
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1007
1007
|
style?: CSSProperties;
|
|
1008
1008
|
class?: any;
|
|
1009
1009
|
} & RecordType>;
|
|
1010
|
-
|
|
1010
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1011
1011
|
style?: CSSProperties;
|
|
1012
1012
|
class?: any;
|
|
1013
1013
|
} & RecordType>;
|
|
1014
|
-
defaultValues: FieldValues;
|
|
1015
1014
|
hasFooter: boolean;
|
|
1016
1015
|
hasReset: boolean;
|
|
1017
1016
|
resetText: string;
|
|
1017
|
+
showNumber: number;
|
|
1018
1018
|
hasUnfold: boolean;
|
|
1019
1019
|
defaultUnfold: boolean;
|
|
1020
1020
|
searchText: string;
|