yc-agent-ui 1.2.3 → 1.2.5
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/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/index.d.ts +1 -0
- package/es/components/page/index.d.ts +936 -936
- package/es/components/page/src/index.vue.d.ts +316 -316
- 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 +9 -9
- package/es/components/table/src/index.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +34 -34
- package/es/components/utils/index.d.ts +1 -1
- package/es/components/yc-ai-chat/index.d.ts +2 -1
- package/es/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
- package/es/components/yc-ai-chat/src/question-validation.d.ts +5 -0
- package/es/components/yc-ai-chat/src/type.d.ts +51 -0
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-display-cards/capability.d.ts +4 -0
- package/es/components/yc-display-cards/index.d.ts +24 -0
- package/es/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
- package/es/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
- package/es/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
- package/es/components/yc-display-cards/src/types.d.ts +47 -0
- 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/index.vue.d.ts +946 -946
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-questionnaire/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 +11 -8
- package/es/index.mjs +2 -0
- package/es/packages/components/index.mjs +2 -0
- package/es/packages/components/yc-ai-chat/index.mjs +1 -0
- package/es/packages/components/yc-ai-chat/src/question-card.vue.mjs +5 -0
- package/es/packages/components/yc-ai-chat/src/question-card2.vue.mjs +613 -0
- package/es/packages/components/yc-ai-chat/src/question-validation.mjs +77 -0
- package/es/packages/components/yc-display-cards/capability.mjs +75 -0
- package/es/packages/components/yc-display-cards/index.mjs +10 -0
- package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +118 -0
- package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +132 -0
- package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +199 -0
- package/es/packages/components/yc-display-cards/src/types.mjs +1 -0
- package/es/packages/registry/load.mjs +9 -8
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +4 -1
- package/index.js +2546 -1335
- package/index.min.css +3 -0
- package/index.min.js +23 -23
- package/index.min.mjs +23 -23
- package/index.mjs +2535 -1328
- 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/index.d.ts +1 -0
- package/lib/components/page/index.d.ts +936 -936
- package/lib/components/page/src/index.vue.d.ts +316 -316
- 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 +9 -9
- package/lib/components/table/src/index.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +34 -34
- package/lib/components/utils/index.d.ts +1 -1
- package/lib/components/yc-ai-chat/index.d.ts +2 -1
- package/lib/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
- package/lib/components/yc-ai-chat/src/question-validation.d.ts +5 -0
- package/lib/components/yc-ai-chat/src/type.d.ts +51 -0
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/capability.d.ts +4 -0
- package/lib/components/yc-display-cards/index.d.ts +24 -0
- package/lib/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
- package/lib/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
- package/lib/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
- package/lib/components/yc-display-cards/src/types.d.ts +47 -0
- 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/index.vue.d.ts +946 -946
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-questionnaire/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 +11 -8
- package/lib/index.js +12 -6
- package/lib/packages/components/index.js +12 -6
- package/lib/packages/components/yc-ai-chat/index.js +2 -0
- package/lib/packages/components/yc-ai-chat/src/question-card.vue.js +9 -0
- package/lib/packages/components/yc-ai-chat/src/question-card2.vue.js +617 -0
- package/lib/packages/components/yc-ai-chat/src/question-validation.js +81 -0
- package/lib/packages/components/yc-display-cards/capability.js +79 -0
- package/lib/packages/components/yc-display-cards/index.js +14 -0
- package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +122 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +136 -0
- package/lib/packages/components/yc-display-cards/src/table-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +203 -0
- package/lib/packages/components/yc-display-cards/src/types.js +2 -0
- package/lib/packages/registry/load.js +9 -8
- 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 +4 -1
- package/theme-chalk/plus-yc-ai-chat.css +1 -1
- package/theme-chalk/src/yc-ai-chat.scss +498 -0
|
@@ -3,8 +3,8 @@ import { PlusSearchProps } from '../../search';
|
|
|
3
3
|
import { PlusTableProps, ActionBarProps, TableColumn, ColumnSetting, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow } from '../../table';
|
|
4
4
|
import { PlusPaginationProps } from '../../pagination';
|
|
5
5
|
import { ComputedRef, Ref, CSSProperties, DefineComponent, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, ShallowRef, PublicProps } from 'vue';
|
|
6
|
-
import { UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps, TableColumnCtx,
|
|
7
|
-
import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps,
|
|
6
|
+
import { UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps, TableColumnCtx, ColProps, RowProps, CardProps, FormInstance, ComponentSize, TableInstance, TableV2Instance } from 'element-plus';
|
|
7
|
+
import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, ElementPlusFormProps, PlusFormGroupRow } from '../../../agent-ui';
|
|
8
8
|
import { OnCleanup } from '@vue/reactivity';
|
|
9
9
|
import { Options } from 'sortablejs';
|
|
10
10
|
import { VirtualTableColumn } from '../../virtual-table';
|
|
@@ -113,10 +113,10 @@ declare function __VLS_template(): Partial<Record<never, (_: {
|
|
|
113
113
|
readonly label: string | ComputedRef<string>;
|
|
114
114
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
115
115
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
116
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
116
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
117
117
|
style?: CSSProperties;
|
|
118
118
|
class?: any;
|
|
119
|
-
} & RecordType> | ComputedRef<
|
|
119
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
120
120
|
style?: CSSProperties;
|
|
121
121
|
class?: any;
|
|
122
122
|
} & RecordType>>;
|
|
@@ -187,10 +187,10 @@ declare function __VLS_template(): Partial<Record<never, (_: {
|
|
|
187
187
|
prop: PlusColumn["prop"];
|
|
188
188
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
189
189
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
190
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
190
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
191
191
|
style?: CSSProperties;
|
|
192
192
|
class?: any;
|
|
193
|
-
} & RecordType> | ComputedRef<
|
|
193
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
194
194
|
style?: CSSProperties;
|
|
195
195
|
class?: any;
|
|
196
196
|
} & RecordType>>;
|
|
@@ -263,19 +263,19 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
263
263
|
columns: PlusColumn[];
|
|
264
264
|
modelValue: FieldValues;
|
|
265
265
|
labelPosition: "left" | "right" | "top";
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
showNumber: number;
|
|
267
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
268
268
|
style?: CSSProperties;
|
|
269
269
|
class?: any;
|
|
270
270
|
} & RecordType>;
|
|
271
|
-
|
|
271
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
272
272
|
style?: CSSProperties;
|
|
273
273
|
class?: any;
|
|
274
274
|
} & RecordType>;
|
|
275
|
+
defaultValues: FieldValues;
|
|
275
276
|
hasFooter: boolean;
|
|
276
277
|
hasReset: boolean;
|
|
277
278
|
resetText: string;
|
|
278
|
-
showNumber: number;
|
|
279
279
|
hasUnfold: boolean;
|
|
280
280
|
defaultUnfold: boolean;
|
|
281
281
|
searchText: string;
|
|
@@ -291,7 +291,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
291
291
|
readonly onSearch?: ((values: FieldValues) => any) | undefined;
|
|
292
292
|
readonly onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
293
293
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
294
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "inline" | "columns" | "modelValue" | "labelPosition" | "
|
|
294
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "inline" | "columns" | "modelValue" | "labelPosition" | "showNumber" | "colProps" | "rowProps" | "defaultValues" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
295
295
|
$attrs: Attrs;
|
|
296
296
|
$refs: {
|
|
297
297
|
[x: string]: unknown;
|
|
@@ -319,26 +319,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
319
319
|
layout: "grid" | "flex";
|
|
320
320
|
columns: PlusColumn[];
|
|
321
321
|
modelValue: FieldValues;
|
|
322
|
-
|
|
323
|
-
collapseTransition: boolean;
|
|
324
|
-
group: false | PlusFormGroupRow[];
|
|
325
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
322
|
+
rules: ElementPlusFormProps["rules"];
|
|
326
323
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
324
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
327
325
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
group: false | PlusFormGroupRow[];
|
|
327
|
+
clearable: boolean;
|
|
328
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
331
329
|
style?: CSSProperties;
|
|
332
330
|
class?: any;
|
|
333
331
|
} & RecordType>;
|
|
334
|
-
|
|
332
|
+
hasLabel: boolean;
|
|
333
|
+
collapseDuration: number;
|
|
334
|
+
collapseTransition: boolean;
|
|
335
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
335
336
|
style?: CSSProperties;
|
|
336
337
|
class?: any;
|
|
337
338
|
} & RecordType>;
|
|
339
|
+
defaultValues: FieldValues;
|
|
338
340
|
hasErrorTip: boolean;
|
|
339
341
|
hasFooter: boolean;
|
|
340
342
|
hasReset: boolean;
|
|
341
|
-
hasLabel: boolean;
|
|
342
343
|
submitText: string;
|
|
343
344
|
resetText: string;
|
|
344
345
|
submitLoading: boolean;
|
|
@@ -348,15 +349,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
348
349
|
class?: any;
|
|
349
350
|
} & RecordType>;
|
|
350
351
|
prevent: boolean;
|
|
351
|
-
clearable: boolean;
|
|
352
352
|
}> & Omit<{
|
|
353
353
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
354
354
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
355
355
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
356
356
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
357
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
358
357
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
359
|
-
|
|
358
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
359
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
360
360
|
$attrs: Attrs;
|
|
361
361
|
$refs: {
|
|
362
362
|
[x: string]: unknown;
|
|
@@ -367,15 +367,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
367
367
|
$root: ComponentPublicInstance | null;
|
|
368
368
|
$parent: ComponentPublicInstance | null;
|
|
369
369
|
$host: Element | null;
|
|
370
|
-
$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: "
|
|
370
|
+
$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: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
371
371
|
$el: any;
|
|
372
372
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
373
373
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
374
374
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
375
375
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
376
376
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
377
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
378
377
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
378
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
379
379
|
}>, {
|
|
380
380
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
381
381
|
handleSubmit: () => void;
|
|
@@ -392,26 +392,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
392
392
|
layout: "grid" | "flex";
|
|
393
393
|
columns: PlusColumn[];
|
|
394
394
|
modelValue: FieldValues;
|
|
395
|
-
|
|
396
|
-
collapseTransition: boolean;
|
|
397
|
-
group: false | PlusFormGroupRow[];
|
|
398
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
395
|
+
rules: ElementPlusFormProps["rules"];
|
|
399
396
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
397
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
400
398
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
399
|
+
group: false | PlusFormGroupRow[];
|
|
400
|
+
clearable: boolean;
|
|
401
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
404
402
|
style?: CSSProperties;
|
|
405
403
|
class?: any;
|
|
406
404
|
} & RecordType>;
|
|
407
|
-
|
|
405
|
+
hasLabel: boolean;
|
|
406
|
+
collapseDuration: number;
|
|
407
|
+
collapseTransition: boolean;
|
|
408
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
408
409
|
style?: CSSProperties;
|
|
409
410
|
class?: any;
|
|
410
411
|
} & RecordType>;
|
|
412
|
+
defaultValues: FieldValues;
|
|
411
413
|
hasErrorTip: boolean;
|
|
412
414
|
hasFooter: boolean;
|
|
413
415
|
hasReset: boolean;
|
|
414
|
-
hasLabel: boolean;
|
|
415
416
|
submitText: string;
|
|
416
417
|
resetText: string;
|
|
417
418
|
submitLoading: boolean;
|
|
@@ -421,7 +422,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
421
422
|
class?: any;
|
|
422
423
|
} & RecordType>;
|
|
423
424
|
prevent: boolean;
|
|
424
|
-
clearable: boolean;
|
|
425
425
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
426
426
|
beforeCreate?: (() => void) | (() => void)[];
|
|
427
427
|
created?: (() => void) | (() => void)[];
|
|
@@ -447,26 +447,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
447
447
|
layout: "grid" | "flex";
|
|
448
448
|
columns: PlusColumn[];
|
|
449
449
|
modelValue: FieldValues;
|
|
450
|
-
|
|
451
|
-
collapseTransition: boolean;
|
|
452
|
-
group: false | PlusFormGroupRow[];
|
|
453
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
450
|
+
rules: ElementPlusFormProps["rules"];
|
|
454
451
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
452
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
455
453
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
454
|
+
group: false | PlusFormGroupRow[];
|
|
455
|
+
clearable: boolean;
|
|
456
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
459
457
|
style?: CSSProperties;
|
|
460
458
|
class?: any;
|
|
461
459
|
} & RecordType>;
|
|
462
|
-
|
|
460
|
+
hasLabel: boolean;
|
|
461
|
+
collapseDuration: number;
|
|
462
|
+
collapseTransition: boolean;
|
|
463
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
463
464
|
style?: CSSProperties;
|
|
464
465
|
class?: any;
|
|
465
466
|
} & RecordType>;
|
|
467
|
+
defaultValues: FieldValues;
|
|
466
468
|
hasErrorTip: boolean;
|
|
467
469
|
hasFooter: boolean;
|
|
468
470
|
hasReset: boolean;
|
|
469
|
-
hasLabel: boolean;
|
|
470
471
|
submitText: string;
|
|
471
472
|
resetText: string;
|
|
472
473
|
submitLoading: boolean;
|
|
@@ -476,15 +477,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
476
477
|
class?: any;
|
|
477
478
|
} & RecordType>;
|
|
478
479
|
prevent: boolean;
|
|
479
|
-
clearable: boolean;
|
|
480
480
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
481
481
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
482
482
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
483
483
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
484
484
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
485
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
486
485
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
487
|
-
|
|
486
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
487
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
488
488
|
formInstance: FormInstance | null;
|
|
489
489
|
handleSubmit: () => void;
|
|
490
490
|
handleReset: () => void;
|
|
@@ -504,10 +504,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
504
504
|
readonly label: string | ComputedRef<string>;
|
|
505
505
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
506
506
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
507
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
507
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
508
508
|
style?: CSSProperties;
|
|
509
509
|
class?: any;
|
|
510
|
-
} & RecordType> | ComputedRef<
|
|
510
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
511
511
|
style?: CSSProperties;
|
|
512
512
|
class?: any;
|
|
513
513
|
} & RecordType>>;
|
|
@@ -578,10 +578,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
578
578
|
prop: PlusColumn["prop"];
|
|
579
579
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
580
580
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
581
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
581
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
582
582
|
style?: CSSProperties;
|
|
583
583
|
class?: any;
|
|
584
|
-
} & RecordType> | ComputedRef<
|
|
584
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
585
585
|
style?: CSSProperties;
|
|
586
586
|
class?: any;
|
|
587
587
|
} & RecordType>>;
|
|
@@ -617,10 +617,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
617
617
|
readonly label: string | ComputedRef<string>;
|
|
618
618
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
619
619
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
620
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
620
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
621
621
|
style?: CSSProperties;
|
|
622
622
|
class?: any;
|
|
623
|
-
} & RecordType> | ComputedRef<
|
|
623
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
624
624
|
style?: CSSProperties;
|
|
625
625
|
class?: any;
|
|
626
626
|
} & RecordType>>;
|
|
@@ -691,10 +691,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
691
691
|
prop: PlusColumn["prop"];
|
|
692
692
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
693
693
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
694
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
694
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
695
695
|
style?: CSSProperties;
|
|
696
696
|
class?: any;
|
|
697
|
-
} & RecordType> | ComputedRef<
|
|
697
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
698
698
|
style?: CSSProperties;
|
|
699
699
|
class?: any;
|
|
700
700
|
} & RecordType>>;
|
|
@@ -744,26 +744,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
744
744
|
layout: "grid" | "flex";
|
|
745
745
|
columns: PlusColumn[];
|
|
746
746
|
modelValue: FieldValues;
|
|
747
|
-
|
|
748
|
-
collapseTransition: boolean;
|
|
749
|
-
group: false | PlusFormGroupRow[];
|
|
750
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
747
|
+
rules: ElementPlusFormProps["rules"];
|
|
751
748
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
749
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
752
750
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
751
|
+
group: false | PlusFormGroupRow[];
|
|
752
|
+
clearable: boolean;
|
|
753
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
756
754
|
style?: CSSProperties;
|
|
757
755
|
class?: any;
|
|
758
756
|
} & RecordType>;
|
|
759
|
-
|
|
757
|
+
hasLabel: boolean;
|
|
758
|
+
collapseDuration: number;
|
|
759
|
+
collapseTransition: boolean;
|
|
760
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
760
761
|
style?: CSSProperties;
|
|
761
762
|
class?: any;
|
|
762
763
|
} & RecordType>;
|
|
764
|
+
defaultValues: FieldValues;
|
|
763
765
|
hasErrorTip: boolean;
|
|
764
766
|
hasFooter: boolean;
|
|
765
767
|
hasReset: boolean;
|
|
766
|
-
hasLabel: boolean;
|
|
767
768
|
submitText: string;
|
|
768
769
|
resetText: string;
|
|
769
770
|
submitLoading: boolean;
|
|
@@ -773,15 +774,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
773
774
|
class?: any;
|
|
774
775
|
} & RecordType>;
|
|
775
776
|
prevent: boolean;
|
|
776
|
-
clearable: boolean;
|
|
777
777
|
}> & Omit<{
|
|
778
778
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
779
779
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
780
780
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
781
781
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
782
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
783
782
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
784
|
-
|
|
783
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
784
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
785
785
|
$attrs: Attrs;
|
|
786
786
|
$refs: {
|
|
787
787
|
[x: string]: unknown;
|
|
@@ -792,15 +792,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
792
792
|
$root: ComponentPublicInstance | null;
|
|
793
793
|
$parent: ComponentPublicInstance | null;
|
|
794
794
|
$host: Element | null;
|
|
795
|
-
$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: "
|
|
795
|
+
$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: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
796
796
|
$el: any;
|
|
797
797
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
798
798
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
799
799
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
800
800
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
801
801
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
802
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
803
802
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
803
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
804
804
|
}>, {
|
|
805
805
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
806
806
|
handleSubmit: () => void;
|
|
@@ -817,26 +817,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
817
817
|
layout: "grid" | "flex";
|
|
818
818
|
columns: PlusColumn[];
|
|
819
819
|
modelValue: FieldValues;
|
|
820
|
-
|
|
821
|
-
collapseTransition: boolean;
|
|
822
|
-
group: false | PlusFormGroupRow[];
|
|
823
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
820
|
+
rules: ElementPlusFormProps["rules"];
|
|
824
821
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
822
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
825
823
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
824
|
+
group: false | PlusFormGroupRow[];
|
|
825
|
+
clearable: boolean;
|
|
826
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
829
827
|
style?: CSSProperties;
|
|
830
828
|
class?: any;
|
|
831
829
|
} & RecordType>;
|
|
832
|
-
|
|
830
|
+
hasLabel: boolean;
|
|
831
|
+
collapseDuration: number;
|
|
832
|
+
collapseTransition: boolean;
|
|
833
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
833
834
|
style?: CSSProperties;
|
|
834
835
|
class?: any;
|
|
835
836
|
} & RecordType>;
|
|
837
|
+
defaultValues: FieldValues;
|
|
836
838
|
hasErrorTip: boolean;
|
|
837
839
|
hasFooter: boolean;
|
|
838
840
|
hasReset: boolean;
|
|
839
|
-
hasLabel: boolean;
|
|
840
841
|
submitText: string;
|
|
841
842
|
resetText: string;
|
|
842
843
|
submitLoading: boolean;
|
|
@@ -846,7 +847,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
846
847
|
class?: any;
|
|
847
848
|
} & RecordType>;
|
|
848
849
|
prevent: boolean;
|
|
849
|
-
clearable: boolean;
|
|
850
850
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
851
851
|
beforeCreate?: (() => void) | (() => void)[];
|
|
852
852
|
created?: (() => void) | (() => void)[];
|
|
@@ -872,26 +872,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
872
872
|
layout: "grid" | "flex";
|
|
873
873
|
columns: PlusColumn[];
|
|
874
874
|
modelValue: FieldValues;
|
|
875
|
-
|
|
876
|
-
collapseTransition: boolean;
|
|
877
|
-
group: false | PlusFormGroupRow[];
|
|
878
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
875
|
+
rules: ElementPlusFormProps["rules"];
|
|
879
876
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
877
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
880
878
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
879
|
+
group: false | PlusFormGroupRow[];
|
|
880
|
+
clearable: boolean;
|
|
881
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
884
882
|
style?: CSSProperties;
|
|
885
883
|
class?: any;
|
|
886
884
|
} & RecordType>;
|
|
887
|
-
|
|
885
|
+
hasLabel: boolean;
|
|
886
|
+
collapseDuration: number;
|
|
887
|
+
collapseTransition: boolean;
|
|
888
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
888
889
|
style?: CSSProperties;
|
|
889
890
|
class?: any;
|
|
890
891
|
} & RecordType>;
|
|
892
|
+
defaultValues: FieldValues;
|
|
891
893
|
hasErrorTip: boolean;
|
|
892
894
|
hasFooter: boolean;
|
|
893
895
|
hasReset: boolean;
|
|
894
|
-
hasLabel: boolean;
|
|
895
896
|
submitText: string;
|
|
896
897
|
resetText: string;
|
|
897
898
|
submitLoading: boolean;
|
|
@@ -901,15 +902,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
901
902
|
class?: any;
|
|
902
903
|
} & RecordType>;
|
|
903
904
|
prevent: boolean;
|
|
904
|
-
clearable: boolean;
|
|
905
905
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
906
906
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
907
907
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
908
908
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
909
909
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
910
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
911
910
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
912
|
-
|
|
911
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
912
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
913
913
|
formInstance: FormInstance | null;
|
|
914
914
|
handleSubmit: () => void;
|
|
915
915
|
handleReset: () => void;
|
|
@@ -929,10 +929,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
929
929
|
readonly label: string | ComputedRef<string>;
|
|
930
930
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
931
931
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
932
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
932
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
933
933
|
style?: CSSProperties;
|
|
934
934
|
class?: any;
|
|
935
|
-
} & RecordType> | ComputedRef<
|
|
935
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
936
936
|
style?: CSSProperties;
|
|
937
937
|
class?: any;
|
|
938
938
|
} & RecordType>>;
|
|
@@ -1003,10 +1003,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1003
1003
|
prop: PlusColumn["prop"];
|
|
1004
1004
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1005
1005
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1006
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1006
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1007
1007
|
style?: CSSProperties;
|
|
1008
1008
|
class?: any;
|
|
1009
|
-
} & RecordType> | ComputedRef<
|
|
1009
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1010
1010
|
style?: CSSProperties;
|
|
1011
1011
|
class?: any;
|
|
1012
1012
|
} & RecordType>>;
|
|
@@ -1042,10 +1042,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1042
1042
|
readonly label: string | ComputedRef<string>;
|
|
1043
1043
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1044
1044
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1045
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1045
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1046
1046
|
style?: CSSProperties;
|
|
1047
1047
|
class?: any;
|
|
1048
|
-
} & RecordType> | ComputedRef<
|
|
1048
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1049
1049
|
style?: CSSProperties;
|
|
1050
1050
|
class?: any;
|
|
1051
1051
|
} & RecordType>>;
|
|
@@ -1116,10 +1116,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1116
1116
|
prop: PlusColumn["prop"];
|
|
1117
1117
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1118
1118
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1119
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1119
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1120
1120
|
style?: CSSProperties;
|
|
1121
1121
|
class?: any;
|
|
1122
|
-
} & RecordType> | ComputedRef<
|
|
1122
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1123
1123
|
style?: CSSProperties;
|
|
1124
1124
|
class?: any;
|
|
1125
1125
|
} & RecordType>>;
|
|
@@ -1178,19 +1178,19 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1178
1178
|
columns: PlusColumn[];
|
|
1179
1179
|
modelValue: FieldValues;
|
|
1180
1180
|
labelPosition: "left" | "right" | "top";
|
|
1181
|
-
|
|
1182
|
-
|
|
1181
|
+
showNumber: number;
|
|
1182
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1183
1183
|
style?: CSSProperties;
|
|
1184
1184
|
class?: any;
|
|
1185
1185
|
} & RecordType>;
|
|
1186
|
-
|
|
1186
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1187
1187
|
style?: CSSProperties;
|
|
1188
1188
|
class?: any;
|
|
1189
1189
|
} & RecordType>;
|
|
1190
|
+
defaultValues: FieldValues;
|
|
1190
1191
|
hasFooter: boolean;
|
|
1191
1192
|
hasReset: boolean;
|
|
1192
1193
|
resetText: string;
|
|
1193
|
-
showNumber: number;
|
|
1194
1194
|
hasUnfold: boolean;
|
|
1195
1195
|
defaultUnfold: boolean;
|
|
1196
1196
|
searchText: string;
|
|
@@ -1227,19 +1227,19 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1227
1227
|
columns: PlusColumn[];
|
|
1228
1228
|
modelValue: FieldValues;
|
|
1229
1229
|
labelPosition: "left" | "right" | "top";
|
|
1230
|
-
|
|
1231
|
-
|
|
1230
|
+
showNumber: number;
|
|
1231
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1232
1232
|
style?: CSSProperties;
|
|
1233
1233
|
class?: any;
|
|
1234
1234
|
} & RecordType>;
|
|
1235
|
-
|
|
1235
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1236
1236
|
style?: CSSProperties;
|
|
1237
1237
|
class?: any;
|
|
1238
1238
|
} & RecordType>;
|
|
1239
|
+
defaultValues: FieldValues;
|
|
1239
1240
|
hasFooter: boolean;
|
|
1240
1241
|
hasReset: boolean;
|
|
1241
1242
|
resetText: string;
|
|
1242
|
-
showNumber: number;
|
|
1243
1243
|
hasUnfold: boolean;
|
|
1244
1244
|
defaultUnfold: boolean;
|
|
1245
1245
|
searchText: string;
|
|
@@ -1255,7 +1255,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1255
1255
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1256
1256
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1257
1257
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1258
|
-
}>, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold" | ("ellipsis" | "layout" | "inline" | "columns" | "modelValue" | "labelPosition" | "
|
|
1258
|
+
}>, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold" | ("ellipsis" | "layout" | "inline" | "columns" | "modelValue" | "labelPosition" | "showNumber" | "colProps" | "rowProps" | "defaultValues" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon")> & {
|
|
1259
1259
|
plusFormInstance: ({
|
|
1260
1260
|
$: ComponentInternalInstance;
|
|
1261
1261
|
$data: {};
|
|
@@ -1264,26 +1264,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1264
1264
|
layout: "grid" | "flex";
|
|
1265
1265
|
columns: PlusColumn[];
|
|
1266
1266
|
modelValue: FieldValues;
|
|
1267
|
-
|
|
1268
|
-
collapseTransition: boolean;
|
|
1269
|
-
group: false | PlusFormGroupRow[];
|
|
1270
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1267
|
+
rules: ElementPlusFormProps["rules"];
|
|
1271
1268
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1269
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1272
1270
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1271
|
+
group: false | PlusFormGroupRow[];
|
|
1272
|
+
clearable: boolean;
|
|
1273
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1276
1274
|
style?: CSSProperties;
|
|
1277
1275
|
class?: any;
|
|
1278
1276
|
} & RecordType>;
|
|
1279
|
-
|
|
1277
|
+
hasLabel: boolean;
|
|
1278
|
+
collapseDuration: number;
|
|
1279
|
+
collapseTransition: boolean;
|
|
1280
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1280
1281
|
style?: CSSProperties;
|
|
1281
1282
|
class?: any;
|
|
1282
1283
|
} & RecordType>;
|
|
1284
|
+
defaultValues: FieldValues;
|
|
1283
1285
|
hasErrorTip: boolean;
|
|
1284
1286
|
hasFooter: boolean;
|
|
1285
1287
|
hasReset: boolean;
|
|
1286
|
-
hasLabel: boolean;
|
|
1287
1288
|
submitText: string;
|
|
1288
1289
|
resetText: string;
|
|
1289
1290
|
submitLoading: boolean;
|
|
@@ -1293,15 +1294,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1293
1294
|
class?: any;
|
|
1294
1295
|
} & RecordType>;
|
|
1295
1296
|
prevent: boolean;
|
|
1296
|
-
clearable: boolean;
|
|
1297
1297
|
}> & Omit<{
|
|
1298
1298
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1299
1299
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
1300
1300
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1301
1301
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1302
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1303
1302
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1304
|
-
|
|
1303
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1304
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
1305
1305
|
$attrs: Attrs;
|
|
1306
1306
|
$refs: {
|
|
1307
1307
|
[x: string]: unknown;
|
|
@@ -1312,15 +1312,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1312
1312
|
$root: ComponentPublicInstance | null;
|
|
1313
1313
|
$parent: ComponentPublicInstance | null;
|
|
1314
1314
|
$host: Element | null;
|
|
1315
|
-
$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: "
|
|
1315
|
+
$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: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1316
1316
|
$el: any;
|
|
1317
1317
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
1318
1318
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1319
1319
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1320
1320
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1321
1321
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1322
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1323
1322
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1323
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1324
1324
|
}>, {
|
|
1325
1325
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
1326
1326
|
handleSubmit: () => void;
|
|
@@ -1337,26 +1337,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1337
1337
|
layout: "grid" | "flex";
|
|
1338
1338
|
columns: PlusColumn[];
|
|
1339
1339
|
modelValue: FieldValues;
|
|
1340
|
-
|
|
1341
|
-
collapseTransition: boolean;
|
|
1342
|
-
group: false | PlusFormGroupRow[];
|
|
1343
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1340
|
+
rules: ElementPlusFormProps["rules"];
|
|
1344
1341
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1342
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1345
1343
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1344
|
+
group: false | PlusFormGroupRow[];
|
|
1345
|
+
clearable: boolean;
|
|
1346
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1349
1347
|
style?: CSSProperties;
|
|
1350
1348
|
class?: any;
|
|
1351
1349
|
} & RecordType>;
|
|
1352
|
-
|
|
1350
|
+
hasLabel: boolean;
|
|
1351
|
+
collapseDuration: number;
|
|
1352
|
+
collapseTransition: boolean;
|
|
1353
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1353
1354
|
style?: CSSProperties;
|
|
1354
1355
|
class?: any;
|
|
1355
1356
|
} & RecordType>;
|
|
1357
|
+
defaultValues: FieldValues;
|
|
1356
1358
|
hasErrorTip: boolean;
|
|
1357
1359
|
hasFooter: boolean;
|
|
1358
1360
|
hasReset: boolean;
|
|
1359
|
-
hasLabel: boolean;
|
|
1360
1361
|
submitText: string;
|
|
1361
1362
|
resetText: string;
|
|
1362
1363
|
submitLoading: boolean;
|
|
@@ -1366,7 +1367,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1366
1367
|
class?: any;
|
|
1367
1368
|
} & RecordType>;
|
|
1368
1369
|
prevent: boolean;
|
|
1369
|
-
clearable: boolean;
|
|
1370
1370
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1371
1371
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1372
1372
|
created?: (() => void) | (() => void)[];
|
|
@@ -1392,26 +1392,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1392
1392
|
layout: "grid" | "flex";
|
|
1393
1393
|
columns: PlusColumn[];
|
|
1394
1394
|
modelValue: FieldValues;
|
|
1395
|
-
|
|
1396
|
-
collapseTransition: boolean;
|
|
1397
|
-
group: false | PlusFormGroupRow[];
|
|
1398
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1395
|
+
rules: ElementPlusFormProps["rules"];
|
|
1399
1396
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1397
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1400
1398
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1399
|
+
group: false | PlusFormGroupRow[];
|
|
1400
|
+
clearable: boolean;
|
|
1401
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1404
1402
|
style?: CSSProperties;
|
|
1405
1403
|
class?: any;
|
|
1406
1404
|
} & RecordType>;
|
|
1407
|
-
|
|
1405
|
+
hasLabel: boolean;
|
|
1406
|
+
collapseDuration: number;
|
|
1407
|
+
collapseTransition: boolean;
|
|
1408
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1408
1409
|
style?: CSSProperties;
|
|
1409
1410
|
class?: any;
|
|
1410
1411
|
} & RecordType>;
|
|
1412
|
+
defaultValues: FieldValues;
|
|
1411
1413
|
hasErrorTip: boolean;
|
|
1412
1414
|
hasFooter: boolean;
|
|
1413
1415
|
hasReset: boolean;
|
|
1414
|
-
hasLabel: boolean;
|
|
1415
1416
|
submitText: string;
|
|
1416
1417
|
resetText: string;
|
|
1417
1418
|
submitLoading: boolean;
|
|
@@ -1421,15 +1422,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1421
1422
|
class?: any;
|
|
1422
1423
|
} & RecordType>;
|
|
1423
1424
|
prevent: boolean;
|
|
1424
|
-
clearable: boolean;
|
|
1425
1425
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
1426
1426
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1427
1427
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1428
1428
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1429
1429
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1430
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1431
1430
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1432
|
-
|
|
1431
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1432
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
1433
1433
|
formInstance: FormInstance | null;
|
|
1434
1434
|
handleSubmit: () => void;
|
|
1435
1435
|
handleReset: () => void;
|
|
@@ -1449,10 +1449,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1449
1449
|
readonly label: string | ComputedRef<string>;
|
|
1450
1450
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1451
1451
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1452
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1452
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1453
1453
|
style?: CSSProperties;
|
|
1454
1454
|
class?: any;
|
|
1455
|
-
} & RecordType> | ComputedRef<
|
|
1455
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1456
1456
|
style?: CSSProperties;
|
|
1457
1457
|
class?: any;
|
|
1458
1458
|
} & RecordType>>;
|
|
@@ -1523,10 +1523,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1523
1523
|
prop: PlusColumn["prop"];
|
|
1524
1524
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1525
1525
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1526
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1526
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1527
1527
|
style?: CSSProperties;
|
|
1528
1528
|
class?: any;
|
|
1529
|
-
} & RecordType> | ComputedRef<
|
|
1529
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1530
1530
|
style?: CSSProperties;
|
|
1531
1531
|
class?: any;
|
|
1532
1532
|
} & RecordType>>;
|
|
@@ -1562,10 +1562,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1562
1562
|
readonly label: string | ComputedRef<string>;
|
|
1563
1563
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1564
1564
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1565
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1565
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1566
1566
|
style?: CSSProperties;
|
|
1567
1567
|
class?: any;
|
|
1568
|
-
} & RecordType> | ComputedRef<
|
|
1568
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1569
1569
|
style?: CSSProperties;
|
|
1570
1570
|
class?: any;
|
|
1571
1571
|
} & RecordType>>;
|
|
@@ -1636,10 +1636,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1636
1636
|
prop: PlusColumn["prop"];
|
|
1637
1637
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1638
1638
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1639
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1639
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1640
1640
|
style?: CSSProperties;
|
|
1641
1641
|
class?: any;
|
|
1642
|
-
} & RecordType> | ComputedRef<
|
|
1642
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1643
1643
|
style?: CSSProperties;
|
|
1644
1644
|
class?: any;
|
|
1645
1645
|
} & RecordType>>;
|
|
@@ -1693,10 +1693,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1693
1693
|
readonly label: string | ComputedRef<string>;
|
|
1694
1694
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1695
1695
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1696
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1696
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1697
1697
|
style?: CSSProperties;
|
|
1698
1698
|
class?: any;
|
|
1699
|
-
} & RecordType> | ComputedRef<
|
|
1699
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1700
1700
|
style?: CSSProperties;
|
|
1701
1701
|
class?: any;
|
|
1702
1702
|
} & RecordType>>;
|
|
@@ -1767,10 +1767,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1767
1767
|
prop: PlusColumn["prop"];
|
|
1768
1768
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1769
1769
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1770
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1770
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1771
1771
|
style?: CSSProperties;
|
|
1772
1772
|
class?: any;
|
|
1773
|
-
} & RecordType> | ComputedRef<
|
|
1773
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1774
1774
|
style?: CSSProperties;
|
|
1775
1775
|
class?: any;
|
|
1776
1776
|
} & RecordType>>;
|
|
@@ -1819,19 +1819,19 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1819
1819
|
columns: PlusColumn[];
|
|
1820
1820
|
modelValue: FieldValues;
|
|
1821
1821
|
labelPosition: "left" | "right" | "top";
|
|
1822
|
-
|
|
1823
|
-
|
|
1822
|
+
showNumber: number;
|
|
1823
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1824
1824
|
style?: CSSProperties;
|
|
1825
1825
|
class?: any;
|
|
1826
1826
|
} & RecordType>;
|
|
1827
|
-
|
|
1827
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1828
1828
|
style?: CSSProperties;
|
|
1829
1829
|
class?: any;
|
|
1830
1830
|
} & RecordType>;
|
|
1831
|
+
defaultValues: FieldValues;
|
|
1831
1832
|
hasFooter: boolean;
|
|
1832
1833
|
hasReset: boolean;
|
|
1833
1834
|
resetText: string;
|
|
1834
|
-
showNumber: number;
|
|
1835
1835
|
hasUnfold: boolean;
|
|
1836
1836
|
defaultUnfold: boolean;
|
|
1837
1837
|
searchText: string;
|
|
@@ -1847,7 +1847,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1847
1847
|
readonly onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1848
1848
|
readonly onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1849
1849
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1850
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "inline" | "columns" | "modelValue" | "labelPosition" | "
|
|
1850
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "inline" | "columns" | "modelValue" | "labelPosition" | "showNumber" | "colProps" | "rowProps" | "defaultValues" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
1851
1851
|
$attrs: Attrs;
|
|
1852
1852
|
$refs: {
|
|
1853
1853
|
[x: string]: unknown;
|
|
@@ -1875,26 +1875,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1875
1875
|
layout: "grid" | "flex";
|
|
1876
1876
|
columns: PlusColumn[];
|
|
1877
1877
|
modelValue: FieldValues;
|
|
1878
|
-
|
|
1879
|
-
collapseTransition: boolean;
|
|
1880
|
-
group: false | PlusFormGroupRow[];
|
|
1881
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1878
|
+
rules: ElementPlusFormProps["rules"];
|
|
1882
1879
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1880
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1883
1881
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1882
|
+
group: false | PlusFormGroupRow[];
|
|
1883
|
+
clearable: boolean;
|
|
1884
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1887
1885
|
style?: CSSProperties;
|
|
1888
1886
|
class?: any;
|
|
1889
1887
|
} & RecordType>;
|
|
1890
|
-
|
|
1888
|
+
hasLabel: boolean;
|
|
1889
|
+
collapseDuration: number;
|
|
1890
|
+
collapseTransition: boolean;
|
|
1891
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1891
1892
|
style?: CSSProperties;
|
|
1892
1893
|
class?: any;
|
|
1893
1894
|
} & RecordType>;
|
|
1895
|
+
defaultValues: FieldValues;
|
|
1894
1896
|
hasErrorTip: boolean;
|
|
1895
1897
|
hasFooter: boolean;
|
|
1896
1898
|
hasReset: boolean;
|
|
1897
|
-
hasLabel: boolean;
|
|
1898
1899
|
submitText: string;
|
|
1899
1900
|
resetText: string;
|
|
1900
1901
|
submitLoading: boolean;
|
|
@@ -1904,15 +1905,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1904
1905
|
class?: any;
|
|
1905
1906
|
} & RecordType>;
|
|
1906
1907
|
prevent: boolean;
|
|
1907
|
-
clearable: boolean;
|
|
1908
1908
|
}> & Omit<{
|
|
1909
1909
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1910
1910
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
1911
1911
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1912
1912
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1913
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1914
1913
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1915
|
-
|
|
1914
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1915
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
1916
1916
|
$attrs: Attrs;
|
|
1917
1917
|
$refs: {
|
|
1918
1918
|
[x: string]: unknown;
|
|
@@ -1923,15 +1923,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1923
1923
|
$root: ComponentPublicInstance | null;
|
|
1924
1924
|
$parent: ComponentPublicInstance | null;
|
|
1925
1925
|
$host: Element | null;
|
|
1926
|
-
$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: "
|
|
1926
|
+
$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: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1927
1927
|
$el: any;
|
|
1928
1928
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
1929
1929
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1930
1930
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1931
1931
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1932
1932
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1933
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1934
1933
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1934
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1935
1935
|
}>, {
|
|
1936
1936
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
1937
1937
|
handleSubmit: () => void;
|
|
@@ -1948,26 +1948,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1948
1948
|
layout: "grid" | "flex";
|
|
1949
1949
|
columns: PlusColumn[];
|
|
1950
1950
|
modelValue: FieldValues;
|
|
1951
|
-
|
|
1952
|
-
collapseTransition: boolean;
|
|
1953
|
-
group: false | PlusFormGroupRow[];
|
|
1954
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1951
|
+
rules: ElementPlusFormProps["rules"];
|
|
1955
1952
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1953
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1956
1954
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1955
|
+
group: false | PlusFormGroupRow[];
|
|
1956
|
+
clearable: boolean;
|
|
1957
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1960
1958
|
style?: CSSProperties;
|
|
1961
1959
|
class?: any;
|
|
1962
1960
|
} & RecordType>;
|
|
1963
|
-
|
|
1961
|
+
hasLabel: boolean;
|
|
1962
|
+
collapseDuration: number;
|
|
1963
|
+
collapseTransition: boolean;
|
|
1964
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1964
1965
|
style?: CSSProperties;
|
|
1965
1966
|
class?: any;
|
|
1966
1967
|
} & RecordType>;
|
|
1968
|
+
defaultValues: FieldValues;
|
|
1967
1969
|
hasErrorTip: boolean;
|
|
1968
1970
|
hasFooter: boolean;
|
|
1969
1971
|
hasReset: boolean;
|
|
1970
|
-
hasLabel: boolean;
|
|
1971
1972
|
submitText: string;
|
|
1972
1973
|
resetText: string;
|
|
1973
1974
|
submitLoading: boolean;
|
|
@@ -1977,7 +1978,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1977
1978
|
class?: any;
|
|
1978
1979
|
} & RecordType>;
|
|
1979
1980
|
prevent: boolean;
|
|
1980
|
-
clearable: boolean;
|
|
1981
1981
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1982
1982
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1983
1983
|
created?: (() => void) | (() => void)[];
|
|
@@ -2003,26 +2003,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2003
2003
|
layout: "grid" | "flex";
|
|
2004
2004
|
columns: PlusColumn[];
|
|
2005
2005
|
modelValue: FieldValues;
|
|
2006
|
-
|
|
2007
|
-
collapseTransition: boolean;
|
|
2008
|
-
group: false | PlusFormGroupRow[];
|
|
2009
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2006
|
+
rules: ElementPlusFormProps["rules"];
|
|
2010
2007
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2008
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2011
2009
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2010
|
+
group: false | PlusFormGroupRow[];
|
|
2011
|
+
clearable: boolean;
|
|
2012
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2015
2013
|
style?: CSSProperties;
|
|
2016
2014
|
class?: any;
|
|
2017
2015
|
} & RecordType>;
|
|
2018
|
-
|
|
2016
|
+
hasLabel: boolean;
|
|
2017
|
+
collapseDuration: number;
|
|
2018
|
+
collapseTransition: boolean;
|
|
2019
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2019
2020
|
style?: CSSProperties;
|
|
2020
2021
|
class?: any;
|
|
2021
2022
|
} & RecordType>;
|
|
2023
|
+
defaultValues: FieldValues;
|
|
2022
2024
|
hasErrorTip: boolean;
|
|
2023
2025
|
hasFooter: boolean;
|
|
2024
2026
|
hasReset: boolean;
|
|
2025
|
-
hasLabel: boolean;
|
|
2026
2027
|
submitText: string;
|
|
2027
2028
|
resetText: string;
|
|
2028
2029
|
submitLoading: boolean;
|
|
@@ -2032,15 +2033,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2032
2033
|
class?: any;
|
|
2033
2034
|
} & RecordType>;
|
|
2034
2035
|
prevent: boolean;
|
|
2035
|
-
clearable: boolean;
|
|
2036
2036
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
2037
2037
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2038
2038
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2039
2039
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2040
2040
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2041
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2042
2041
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2043
|
-
|
|
2042
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2043
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
2044
2044
|
formInstance: FormInstance | null;
|
|
2045
2045
|
handleSubmit: () => void;
|
|
2046
2046
|
handleReset: () => void;
|
|
@@ -2060,10 +2060,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2060
2060
|
readonly label: string | ComputedRef<string>;
|
|
2061
2061
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2062
2062
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2063
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
2063
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2064
2064
|
style?: CSSProperties;
|
|
2065
2065
|
class?: any;
|
|
2066
|
-
} & RecordType> | ComputedRef<
|
|
2066
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
2067
2067
|
style?: CSSProperties;
|
|
2068
2068
|
class?: any;
|
|
2069
2069
|
} & RecordType>>;
|
|
@@ -2134,10 +2134,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2134
2134
|
prop: PlusColumn["prop"];
|
|
2135
2135
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2136
2136
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2137
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
2137
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2138
2138
|
style?: CSSProperties;
|
|
2139
2139
|
class?: any;
|
|
2140
|
-
} & RecordType> | ComputedRef<
|
|
2140
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
2141
2141
|
style?: CSSProperties;
|
|
2142
2142
|
class?: any;
|
|
2143
2143
|
} & RecordType>>;
|
|
@@ -2173,10 +2173,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2173
2173
|
readonly label: string | ComputedRef<string>;
|
|
2174
2174
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2175
2175
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2176
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
2176
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2177
2177
|
style?: CSSProperties;
|
|
2178
2178
|
class?: any;
|
|
2179
|
-
} & RecordType> | ComputedRef<
|
|
2179
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
2180
2180
|
style?: CSSProperties;
|
|
2181
2181
|
class?: any;
|
|
2182
2182
|
} & RecordType>>;
|
|
@@ -2247,10 +2247,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2247
2247
|
prop: PlusColumn["prop"];
|
|
2248
2248
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2249
2249
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2250
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
2250
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2251
2251
|
style?: CSSProperties;
|
|
2252
2252
|
class?: any;
|
|
2253
|
-
} & RecordType> | ComputedRef<
|
|
2253
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
2254
2254
|
style?: CSSProperties;
|
|
2255
2255
|
class?: any;
|
|
2256
2256
|
} & RecordType>>;
|
|
@@ -2300,26 +2300,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2300
2300
|
layout: "grid" | "flex";
|
|
2301
2301
|
columns: PlusColumn[];
|
|
2302
2302
|
modelValue: FieldValues;
|
|
2303
|
-
|
|
2304
|
-
collapseTransition: boolean;
|
|
2305
|
-
group: false | PlusFormGroupRow[];
|
|
2306
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2303
|
+
rules: ElementPlusFormProps["rules"];
|
|
2307
2304
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2305
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2308
2306
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2307
|
+
group: false | PlusFormGroupRow[];
|
|
2308
|
+
clearable: boolean;
|
|
2309
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2312
2310
|
style?: CSSProperties;
|
|
2313
2311
|
class?: any;
|
|
2314
2312
|
} & RecordType>;
|
|
2315
|
-
|
|
2313
|
+
hasLabel: boolean;
|
|
2314
|
+
collapseDuration: number;
|
|
2315
|
+
collapseTransition: boolean;
|
|
2316
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2316
2317
|
style?: CSSProperties;
|
|
2317
2318
|
class?: any;
|
|
2318
2319
|
} & RecordType>;
|
|
2320
|
+
defaultValues: FieldValues;
|
|
2319
2321
|
hasErrorTip: boolean;
|
|
2320
2322
|
hasFooter: boolean;
|
|
2321
2323
|
hasReset: boolean;
|
|
2322
|
-
hasLabel: boolean;
|
|
2323
2324
|
submitText: string;
|
|
2324
2325
|
resetText: string;
|
|
2325
2326
|
submitLoading: boolean;
|
|
@@ -2329,15 +2330,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2329
2330
|
class?: any;
|
|
2330
2331
|
} & RecordType>;
|
|
2331
2332
|
prevent: boolean;
|
|
2332
|
-
clearable: boolean;
|
|
2333
2333
|
}> & Omit<{
|
|
2334
2334
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2335
2335
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
2336
2336
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2337
2337
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2338
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2339
2338
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
2340
|
-
|
|
2339
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2340
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
2341
2341
|
$attrs: Attrs;
|
|
2342
2342
|
$refs: {
|
|
2343
2343
|
[x: string]: unknown;
|
|
@@ -2348,15 +2348,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2348
2348
|
$root: ComponentPublicInstance | null;
|
|
2349
2349
|
$parent: ComponentPublicInstance | null;
|
|
2350
2350
|
$host: Element | null;
|
|
2351
|
-
$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: "
|
|
2351
|
+
$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: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2352
2352
|
$el: any;
|
|
2353
2353
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
2354
2354
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2355
2355
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2356
2356
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2357
2357
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2358
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2359
2358
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2359
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2360
2360
|
}>, {
|
|
2361
2361
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
2362
2362
|
handleSubmit: () => void;
|
|
@@ -2373,26 +2373,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2373
2373
|
layout: "grid" | "flex";
|
|
2374
2374
|
columns: PlusColumn[];
|
|
2375
2375
|
modelValue: FieldValues;
|
|
2376
|
-
|
|
2377
|
-
collapseTransition: boolean;
|
|
2378
|
-
group: false | PlusFormGroupRow[];
|
|
2379
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2376
|
+
rules: ElementPlusFormProps["rules"];
|
|
2380
2377
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2378
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2381
2379
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2380
|
+
group: false | PlusFormGroupRow[];
|
|
2381
|
+
clearable: boolean;
|
|
2382
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2385
2383
|
style?: CSSProperties;
|
|
2386
2384
|
class?: any;
|
|
2387
2385
|
} & RecordType>;
|
|
2388
|
-
|
|
2386
|
+
hasLabel: boolean;
|
|
2387
|
+
collapseDuration: number;
|
|
2388
|
+
collapseTransition: boolean;
|
|
2389
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2389
2390
|
style?: CSSProperties;
|
|
2390
2391
|
class?: any;
|
|
2391
2392
|
} & RecordType>;
|
|
2393
|
+
defaultValues: FieldValues;
|
|
2392
2394
|
hasErrorTip: boolean;
|
|
2393
2395
|
hasFooter: boolean;
|
|
2394
2396
|
hasReset: boolean;
|
|
2395
|
-
hasLabel: boolean;
|
|
2396
2397
|
submitText: string;
|
|
2397
2398
|
resetText: string;
|
|
2398
2399
|
submitLoading: boolean;
|
|
@@ -2402,7 +2403,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2402
2403
|
class?: any;
|
|
2403
2404
|
} & RecordType>;
|
|
2404
2405
|
prevent: boolean;
|
|
2405
|
-
clearable: boolean;
|
|
2406
2406
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2407
2407
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2408
2408
|
created?: (() => void) | (() => void)[];
|
|
@@ -2428,26 +2428,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2428
2428
|
layout: "grid" | "flex";
|
|
2429
2429
|
columns: PlusColumn[];
|
|
2430
2430
|
modelValue: FieldValues;
|
|
2431
|
-
|
|
2432
|
-
collapseTransition: boolean;
|
|
2433
|
-
group: false | PlusFormGroupRow[];
|
|
2434
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2431
|
+
rules: ElementPlusFormProps["rules"];
|
|
2435
2432
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2433
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2436
2434
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2435
|
+
group: false | PlusFormGroupRow[];
|
|
2436
|
+
clearable: boolean;
|
|
2437
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2440
2438
|
style?: CSSProperties;
|
|
2441
2439
|
class?: any;
|
|
2442
2440
|
} & RecordType>;
|
|
2443
|
-
|
|
2441
|
+
hasLabel: boolean;
|
|
2442
|
+
collapseDuration: number;
|
|
2443
|
+
collapseTransition: boolean;
|
|
2444
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2444
2445
|
style?: CSSProperties;
|
|
2445
2446
|
class?: any;
|
|
2446
2447
|
} & RecordType>;
|
|
2448
|
+
defaultValues: FieldValues;
|
|
2447
2449
|
hasErrorTip: boolean;
|
|
2448
2450
|
hasFooter: boolean;
|
|
2449
2451
|
hasReset: boolean;
|
|
2450
|
-
hasLabel: boolean;
|
|
2451
2452
|
submitText: string;
|
|
2452
2453
|
resetText: string;
|
|
2453
2454
|
submitLoading: boolean;
|
|
@@ -2457,15 +2458,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2457
2458
|
class?: any;
|
|
2458
2459
|
} & RecordType>;
|
|
2459
2460
|
prevent: boolean;
|
|
2460
|
-
clearable: boolean;
|
|
2461
2461
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
2462
2462
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2463
2463
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2464
2464
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2465
2465
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2466
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2467
2466
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2468
|
-
|
|
2467
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2468
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
2469
2469
|
formInstance: FormInstance | null;
|
|
2470
2470
|
handleSubmit: () => void;
|
|
2471
2471
|
handleReset: () => void;
|
|
@@ -2485,10 +2485,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2485
2485
|
readonly label: string | ComputedRef<string>;
|
|
2486
2486
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2487
2487
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2488
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
2488
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2489
2489
|
style?: CSSProperties;
|
|
2490
2490
|
class?: any;
|
|
2491
|
-
} & RecordType> | ComputedRef<
|
|
2491
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
2492
2492
|
style?: CSSProperties;
|
|
2493
2493
|
class?: any;
|
|
2494
2494
|
} & RecordType>>;
|
|
@@ -2559,10 +2559,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2559
2559
|
prop: PlusColumn["prop"];
|
|
2560
2560
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2561
2561
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2562
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
2562
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2563
2563
|
style?: CSSProperties;
|
|
2564
2564
|
class?: any;
|
|
2565
|
-
} & RecordType> | ComputedRef<
|
|
2565
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
2566
2566
|
style?: CSSProperties;
|
|
2567
2567
|
class?: any;
|
|
2568
2568
|
} & RecordType>>;
|
|
@@ -2598,10 +2598,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2598
2598
|
readonly label: string | ComputedRef<string>;
|
|
2599
2599
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2600
2600
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2601
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
2601
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2602
2602
|
style?: CSSProperties;
|
|
2603
2603
|
class?: any;
|
|
2604
|
-
} & RecordType> | ComputedRef<
|
|
2604
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
2605
2605
|
style?: CSSProperties;
|
|
2606
2606
|
class?: any;
|
|
2607
2607
|
} & RecordType>>;
|
|
@@ -2672,10 +2672,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2672
2672
|
prop: PlusColumn["prop"];
|
|
2673
2673
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2674
2674
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2675
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
2675
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2676
2676
|
style?: CSSProperties;
|
|
2677
2677
|
class?: any;
|
|
2678
|
-
} & RecordType> | ComputedRef<
|
|
2678
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
2679
2679
|
style?: CSSProperties;
|
|
2680
2680
|
class?: any;
|
|
2681
2681
|
} & RecordType>>;
|
|
@@ -2734,19 +2734,19 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2734
2734
|
columns: PlusColumn[];
|
|
2735
2735
|
modelValue: FieldValues;
|
|
2736
2736
|
labelPosition: "left" | "right" | "top";
|
|
2737
|
-
|
|
2738
|
-
|
|
2737
|
+
showNumber: number;
|
|
2738
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2739
2739
|
style?: CSSProperties;
|
|
2740
2740
|
class?: any;
|
|
2741
2741
|
} & RecordType>;
|
|
2742
|
-
|
|
2742
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2743
2743
|
style?: CSSProperties;
|
|
2744
2744
|
class?: any;
|
|
2745
2745
|
} & RecordType>;
|
|
2746
|
+
defaultValues: FieldValues;
|
|
2746
2747
|
hasFooter: boolean;
|
|
2747
2748
|
hasReset: boolean;
|
|
2748
2749
|
resetText: string;
|
|
2749
|
-
showNumber: number;
|
|
2750
2750
|
hasUnfold: boolean;
|
|
2751
2751
|
defaultUnfold: boolean;
|
|
2752
2752
|
searchText: string;
|
|
@@ -2783,19 +2783,19 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2783
2783
|
columns: PlusColumn[];
|
|
2784
2784
|
modelValue: FieldValues;
|
|
2785
2785
|
labelPosition: "left" | "right" | "top";
|
|
2786
|
-
|
|
2787
|
-
|
|
2786
|
+
showNumber: number;
|
|
2787
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2788
2788
|
style?: CSSProperties;
|
|
2789
2789
|
class?: any;
|
|
2790
2790
|
} & RecordType>;
|
|
2791
|
-
|
|
2791
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2792
2792
|
style?: CSSProperties;
|
|
2793
2793
|
class?: any;
|
|
2794
2794
|
} & RecordType>;
|
|
2795
|
+
defaultValues: FieldValues;
|
|
2795
2796
|
hasFooter: boolean;
|
|
2796
2797
|
hasReset: boolean;
|
|
2797
2798
|
resetText: string;
|
|
2798
|
-
showNumber: number;
|
|
2799
2799
|
hasUnfold: boolean;
|
|
2800
2800
|
defaultUnfold: boolean;
|
|
2801
2801
|
searchText: string;
|
|
@@ -2811,7 +2811,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2811
2811
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
2812
2812
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
2813
2813
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2814
|
-
}>, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold" | ("ellipsis" | "layout" | "inline" | "columns" | "modelValue" | "labelPosition" | "
|
|
2814
|
+
}>, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold" | ("ellipsis" | "layout" | "inline" | "columns" | "modelValue" | "labelPosition" | "showNumber" | "colProps" | "rowProps" | "defaultValues" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon")> & {
|
|
2815
2815
|
plusFormInstance: ({
|
|
2816
2816
|
$: ComponentInternalInstance;
|
|
2817
2817
|
$data: {};
|
|
@@ -2820,26 +2820,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2820
2820
|
layout: "grid" | "flex";
|
|
2821
2821
|
columns: PlusColumn[];
|
|
2822
2822
|
modelValue: FieldValues;
|
|
2823
|
-
|
|
2824
|
-
collapseTransition: boolean;
|
|
2825
|
-
group: false | PlusFormGroupRow[];
|
|
2826
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2823
|
+
rules: ElementPlusFormProps["rules"];
|
|
2827
2824
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2825
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2828
2826
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2827
|
+
group: false | PlusFormGroupRow[];
|
|
2828
|
+
clearable: boolean;
|
|
2829
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2832
2830
|
style?: CSSProperties;
|
|
2833
2831
|
class?: any;
|
|
2834
2832
|
} & RecordType>;
|
|
2835
|
-
|
|
2833
|
+
hasLabel: boolean;
|
|
2834
|
+
collapseDuration: number;
|
|
2835
|
+
collapseTransition: boolean;
|
|
2836
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2836
2837
|
style?: CSSProperties;
|
|
2837
2838
|
class?: any;
|
|
2838
2839
|
} & RecordType>;
|
|
2840
|
+
defaultValues: FieldValues;
|
|
2839
2841
|
hasErrorTip: boolean;
|
|
2840
2842
|
hasFooter: boolean;
|
|
2841
2843
|
hasReset: boolean;
|
|
2842
|
-
hasLabel: boolean;
|
|
2843
2844
|
submitText: string;
|
|
2844
2845
|
resetText: string;
|
|
2845
2846
|
submitLoading: boolean;
|
|
@@ -2849,15 +2850,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2849
2850
|
class?: any;
|
|
2850
2851
|
} & RecordType>;
|
|
2851
2852
|
prevent: boolean;
|
|
2852
|
-
clearable: boolean;
|
|
2853
2853
|
}> & Omit<{
|
|
2854
2854
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2855
2855
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
2856
2856
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2857
2857
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2858
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2859
2858
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
2860
|
-
|
|
2859
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2860
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
2861
2861
|
$attrs: Attrs;
|
|
2862
2862
|
$refs: {
|
|
2863
2863
|
[x: string]: unknown;
|
|
@@ -2868,15 +2868,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2868
2868
|
$root: ComponentPublicInstance | null;
|
|
2869
2869
|
$parent: ComponentPublicInstance | null;
|
|
2870
2870
|
$host: Element | null;
|
|
2871
|
-
$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: "
|
|
2871
|
+
$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: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2872
2872
|
$el: any;
|
|
2873
2873
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
2874
2874
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2875
2875
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2876
2876
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2877
2877
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2878
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2879
2878
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2879
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2880
2880
|
}>, {
|
|
2881
2881
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
2882
2882
|
handleSubmit: () => void;
|
|
@@ -2893,26 +2893,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2893
2893
|
layout: "grid" | "flex";
|
|
2894
2894
|
columns: PlusColumn[];
|
|
2895
2895
|
modelValue: FieldValues;
|
|
2896
|
-
|
|
2897
|
-
collapseTransition: boolean;
|
|
2898
|
-
group: false | PlusFormGroupRow[];
|
|
2899
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2896
|
+
rules: ElementPlusFormProps["rules"];
|
|
2900
2897
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2898
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2901
2899
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2900
|
+
group: false | PlusFormGroupRow[];
|
|
2901
|
+
clearable: boolean;
|
|
2902
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2905
2903
|
style?: CSSProperties;
|
|
2906
2904
|
class?: any;
|
|
2907
2905
|
} & RecordType>;
|
|
2908
|
-
|
|
2906
|
+
hasLabel: boolean;
|
|
2907
|
+
collapseDuration: number;
|
|
2908
|
+
collapseTransition: boolean;
|
|
2909
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2909
2910
|
style?: CSSProperties;
|
|
2910
2911
|
class?: any;
|
|
2911
2912
|
} & RecordType>;
|
|
2913
|
+
defaultValues: FieldValues;
|
|
2912
2914
|
hasErrorTip: boolean;
|
|
2913
2915
|
hasFooter: boolean;
|
|
2914
2916
|
hasReset: boolean;
|
|
2915
|
-
hasLabel: boolean;
|
|
2916
2917
|
submitText: string;
|
|
2917
2918
|
resetText: string;
|
|
2918
2919
|
submitLoading: boolean;
|
|
@@ -2922,7 +2923,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2922
2923
|
class?: any;
|
|
2923
2924
|
} & RecordType>;
|
|
2924
2925
|
prevent: boolean;
|
|
2925
|
-
clearable: boolean;
|
|
2926
2926
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2927
2927
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2928
2928
|
created?: (() => void) | (() => void)[];
|
|
@@ -2948,26 +2948,27 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2948
2948
|
layout: "grid" | "flex";
|
|
2949
2949
|
columns: PlusColumn[];
|
|
2950
2950
|
modelValue: FieldValues;
|
|
2951
|
-
|
|
2952
|
-
collapseTransition: boolean;
|
|
2953
|
-
group: false | PlusFormGroupRow[];
|
|
2954
|
-
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2951
|
+
rules: ElementPlusFormProps["rules"];
|
|
2955
2952
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2953
|
+
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2956
2954
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2955
|
+
group: false | PlusFormGroupRow[];
|
|
2956
|
+
clearable: boolean;
|
|
2957
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2960
2958
|
style?: CSSProperties;
|
|
2961
2959
|
class?: any;
|
|
2962
2960
|
} & RecordType>;
|
|
2963
|
-
|
|
2961
|
+
hasLabel: boolean;
|
|
2962
|
+
collapseDuration: number;
|
|
2963
|
+
collapseTransition: boolean;
|
|
2964
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2964
2965
|
style?: CSSProperties;
|
|
2965
2966
|
class?: any;
|
|
2966
2967
|
} & RecordType>;
|
|
2968
|
+
defaultValues: FieldValues;
|
|
2967
2969
|
hasErrorTip: boolean;
|
|
2968
2970
|
hasFooter: boolean;
|
|
2969
2971
|
hasReset: boolean;
|
|
2970
|
-
hasLabel: boolean;
|
|
2971
2972
|
submitText: string;
|
|
2972
2973
|
resetText: string;
|
|
2973
2974
|
submitLoading: boolean;
|
|
@@ -2977,15 +2978,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2977
2978
|
class?: any;
|
|
2978
2979
|
} & RecordType>;
|
|
2979
2980
|
prevent: boolean;
|
|
2980
|
-
clearable: boolean;
|
|
2981
2981
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
2982
2982
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2983
2983
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2984
2984
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2985
2985
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2986
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2987
2986
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2988
|
-
|
|
2987
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2988
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "group" | "clearable" | "colProps" | "hasLabel" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
2989
2989
|
formInstance: FormInstance | null;
|
|
2990
2990
|
handleSubmit: () => void;
|
|
2991
2991
|
handleReset: () => void;
|
|
@@ -3005,10 +3005,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3005
3005
|
readonly label: string | ComputedRef<string>;
|
|
3006
3006
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3007
3007
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
3008
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
3008
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3009
3009
|
style?: CSSProperties;
|
|
3010
3010
|
class?: any;
|
|
3011
|
-
} & RecordType> | ComputedRef<
|
|
3011
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
3012
3012
|
style?: CSSProperties;
|
|
3013
3013
|
class?: any;
|
|
3014
3014
|
} & RecordType>>;
|
|
@@ -3079,10 +3079,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3079
3079
|
prop: PlusColumn["prop"];
|
|
3080
3080
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3081
3081
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
3082
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
3082
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3083
3083
|
style?: CSSProperties;
|
|
3084
3084
|
class?: any;
|
|
3085
|
-
} & RecordType> | ComputedRef<
|
|
3085
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
3086
3086
|
style?: CSSProperties;
|
|
3087
3087
|
class?: any;
|
|
3088
3088
|
} & RecordType>>;
|
|
@@ -3118,10 +3118,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3118
3118
|
readonly label: string | ComputedRef<string>;
|
|
3119
3119
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3120
3120
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
3121
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
3121
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3122
3122
|
style?: CSSProperties;
|
|
3123
3123
|
class?: any;
|
|
3124
|
-
} & RecordType> | ComputedRef<
|
|
3124
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
3125
3125
|
style?: CSSProperties;
|
|
3126
3126
|
class?: any;
|
|
3127
3127
|
} & RecordType>>;
|
|
@@ -3192,10 +3192,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3192
3192
|
prop: PlusColumn["prop"];
|
|
3193
3193
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3194
3194
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
3195
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
3195
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3196
3196
|
style?: CSSProperties;
|
|
3197
3197
|
class?: any;
|
|
3198
|
-
} & RecordType> | ComputedRef<
|
|
3198
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
3199
3199
|
style?: CSSProperties;
|
|
3200
3200
|
class?: any;
|
|
3201
3201
|
} & RecordType>>;
|
|
@@ -3249,10 +3249,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3249
3249
|
readonly label: string | ComputedRef<string>;
|
|
3250
3250
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3251
3251
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
3252
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
3252
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3253
3253
|
style?: CSSProperties;
|
|
3254
3254
|
class?: any;
|
|
3255
|
-
} & RecordType> | ComputedRef<
|
|
3255
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
3256
3256
|
style?: CSSProperties;
|
|
3257
3257
|
class?: any;
|
|
3258
3258
|
} & RecordType>>;
|
|
@@ -3323,10 +3323,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3323
3323
|
prop: PlusColumn["prop"];
|
|
3324
3324
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3325
3325
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
3326
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
3326
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3327
3327
|
style?: CSSProperties;
|
|
3328
3328
|
class?: any;
|
|
3329
|
-
} & RecordType> | ComputedRef<
|
|
3329
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
3330
3330
|
style?: CSSProperties;
|
|
3331
3331
|
class?: any;
|
|
3332
3332
|
} & RecordType>>;
|
|
@@ -3374,7 +3374,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3374
3374
|
columns: PlusColumn[];
|
|
3375
3375
|
rowKey: string | ((row: any[]) => string);
|
|
3376
3376
|
pagination: false | Partial<PlusPaginationProps>;
|
|
3377
|
-
editable: boolean | "click" | "dblclick";
|
|
3378
3377
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3379
3378
|
row: any[];
|
|
3380
3379
|
rowIndex: number;
|
|
@@ -3382,6 +3381,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3382
3381
|
columnIndex: number;
|
|
3383
3382
|
}) => CSSProperties>;
|
|
3384
3383
|
actionBar: false | Partial< ActionBarProps>;
|
|
3384
|
+
editable: boolean | "click" | "dblclick";
|
|
3385
3385
|
indexTableColumnProps: TableColumn;
|
|
3386
3386
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3387
3387
|
dragSortableTableColumnProps: TableColumn;
|
|
@@ -3425,7 +3425,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3425
3425
|
readonly "onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3426
3426
|
readonly onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3427
3427
|
readonly onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3428
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "data" | "columns" | "rowKey" | "pagination" | "
|
|
3428
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "data" | "columns" | "rowKey" | "pagination" | "headerCellStyle" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive" | "columnsEmptyText">;
|
|
3429
3429
|
$attrs: Attrs;
|
|
3430
3430
|
$refs: {
|
|
3431
3431
|
[x: string]: unknown;
|
|
@@ -3472,7 +3472,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3472
3472
|
columns: PlusColumn[];
|
|
3473
3473
|
rowKey: string | ((row: any[]) => string);
|
|
3474
3474
|
pagination: false | Partial<PlusPaginationProps>;
|
|
3475
|
-
editable: boolean | "click" | "dblclick";
|
|
3476
3475
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3477
3476
|
row: any[];
|
|
3478
3477
|
rowIndex: number;
|
|
@@ -3480,6 +3479,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3480
3479
|
columnIndex: number;
|
|
3481
3480
|
}) => CSSProperties>;
|
|
3482
3481
|
actionBar: false | Partial< ActionBarProps>;
|
|
3482
|
+
editable: boolean | "click" | "dblclick";
|
|
3483
3483
|
indexTableColumnProps: TableColumn;
|
|
3484
3484
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3485
3485
|
dragSortableTableColumnProps: TableColumn;
|
|
@@ -3536,7 +3536,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3536
3536
|
columns: PlusColumn[];
|
|
3537
3537
|
rowKey: string | ((row: any[]) => string);
|
|
3538
3538
|
pagination: false | Partial<PlusPaginationProps>;
|
|
3539
|
-
editable: boolean | "click" | "dblclick";
|
|
3540
3539
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3541
3540
|
row: any[];
|
|
3542
3541
|
rowIndex: number;
|
|
@@ -3544,6 +3543,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3544
3543
|
columnIndex: number;
|
|
3545
3544
|
}) => CSSProperties>;
|
|
3546
3545
|
actionBar: false | Partial< ActionBarProps>;
|
|
3546
|
+
editable: boolean | "click" | "dblclick";
|
|
3547
3547
|
indexTableColumnProps: TableColumn;
|
|
3548
3548
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3549
3549
|
dragSortableTableColumnProps: TableColumn;
|
|
@@ -3587,7 +3587,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3587
3587
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3588
3588
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3589
3589
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3590
|
-
}>, "tableInstance" | "formRefs" | "startRowEdit" | "stopRowEdit" | ("data" | "columns" | "rowKey" | "pagination" | "
|
|
3590
|
+
}>, "tableInstance" | "formRefs" | "startRowEdit" | "stopRowEdit" | ("data" | "columns" | "rowKey" | "pagination" | "headerCellStyle" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive" | "columnsEmptyText")> & {
|
|
3591
3591
|
formRefs: Record<string | number, TableFormRefRow[]>;
|
|
3592
3592
|
tableInstance: TableInstance | null;
|
|
3593
3593
|
startRowEdit: (rowIndex: number, prop?: string) => Promise<boolean>;
|
|
@@ -3630,7 +3630,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3630
3630
|
columns: PlusColumn[];
|
|
3631
3631
|
rowKey: string | ((row: any[]) => string);
|
|
3632
3632
|
pagination: false | Partial<PlusPaginationProps>;
|
|
3633
|
-
editable: boolean | "click" | "dblclick";
|
|
3634
3633
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3635
3634
|
row: any[];
|
|
3636
3635
|
rowIndex: number;
|
|
@@ -3638,6 +3637,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3638
3637
|
columnIndex: number;
|
|
3639
3638
|
}) => CSSProperties>;
|
|
3640
3639
|
actionBar: false | Partial< ActionBarProps>;
|
|
3640
|
+
editable: boolean | "click" | "dblclick";
|
|
3641
3641
|
indexTableColumnProps: TableColumn;
|
|
3642
3642
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3643
3643
|
dragSortableTableColumnProps: TableColumn;
|
|
@@ -3681,7 +3681,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3681
3681
|
readonly "onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3682
3682
|
readonly onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3683
3683
|
readonly onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3684
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "data" | "columns" | "rowKey" | "pagination" | "
|
|
3684
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "data" | "columns" | "rowKey" | "pagination" | "headerCellStyle" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive" | "columnsEmptyText">;
|
|
3685
3685
|
$attrs: Attrs;
|
|
3686
3686
|
$refs: {
|
|
3687
3687
|
[x: string]: unknown;
|
|
@@ -3728,7 +3728,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3728
3728
|
columns: PlusColumn[];
|
|
3729
3729
|
rowKey: string | ((row: any[]) => string);
|
|
3730
3730
|
pagination: false | Partial<PlusPaginationProps>;
|
|
3731
|
-
editable: boolean | "click" | "dblclick";
|
|
3732
3731
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3733
3732
|
row: any[];
|
|
3734
3733
|
rowIndex: number;
|
|
@@ -3736,6 +3735,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3736
3735
|
columnIndex: number;
|
|
3737
3736
|
}) => CSSProperties>;
|
|
3738
3737
|
actionBar: false | Partial< ActionBarProps>;
|
|
3738
|
+
editable: boolean | "click" | "dblclick";
|
|
3739
3739
|
indexTableColumnProps: TableColumn;
|
|
3740
3740
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3741
3741
|
dragSortableTableColumnProps: TableColumn;
|
|
@@ -3792,7 +3792,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3792
3792
|
columns: PlusColumn[];
|
|
3793
3793
|
rowKey: string | ((row: any[]) => string);
|
|
3794
3794
|
pagination: false | Partial<PlusPaginationProps>;
|
|
3795
|
-
editable: boolean | "click" | "dblclick";
|
|
3796
3795
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3797
3796
|
row: any[];
|
|
3798
3797
|
rowIndex: number;
|
|
@@ -3800,6 +3799,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3800
3799
|
columnIndex: number;
|
|
3801
3800
|
}) => CSSProperties>;
|
|
3802
3801
|
actionBar: false | Partial< ActionBarProps>;
|
|
3802
|
+
editable: boolean | "click" | "dblclick";
|
|
3803
3803
|
indexTableColumnProps: TableColumn;
|
|
3804
3804
|
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3805
3805
|
dragSortableTableColumnProps: TableColumn;
|
|
@@ -3843,7 +3843,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3843
3843
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3844
3844
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3845
3845
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3846
|
-
}>, "tableInstance" | "formRefs" | "startRowEdit" | "stopRowEdit" | ("data" | "columns" | "rowKey" | "pagination" | "
|
|
3846
|
+
}>, "tableInstance" | "formRefs" | "startRowEdit" | "stopRowEdit" | ("data" | "columns" | "rowKey" | "pagination" | "headerCellStyle" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive" | "columnsEmptyText")> & {
|
|
3847
3847
|
formRefs: Record<string | number, TableFormRefRow[]>;
|
|
3848
3848
|
tableInstance: TableInstance | null;
|
|
3849
3849
|
startRowEdit: (rowIndex: number, prop?: string) => Promise<boolean>;
|