yc-agent-ui 1.2.5 → 1.2.7
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/chart/src/chart-card.vue.d.ts +21 -21
- package/es/components/chart/src/chart-container.vue.d.ts +2 -2
- package/es/components/chart/src/metric-card.vue.d.ts +1 -1
- package/es/components/data-table/src/data-table.vue.d.ts +8 -8
- package/es/components/descriptions/index.d.ts +12 -12
- package/es/components/descriptions/src/index.vue.d.ts +4 -4
- package/es/components/dialog/index.d.ts +12 -12
- package/es/components/dialog/src/index.vue.d.ts +4 -4
- package/es/components/dialog-form/index.d.ts +10 -10
- package/es/components/dialog-form/src/index.vue.d.ts +6 -6
- 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 +25 -25
- package/es/components/drawer-form/src/index.vue.d.ts +11 -11
- package/es/components/form/index.d.ts +52 -52
- package/es/components/form/src/form-content.vue.d.ts +18 -18
- package/es/components/form/src/index.vue.d.ts +24 -24
- package/es/components/form-item/index.d.ts +67 -67
- package/es/components/form-item/src/index.vue.d.ts +26 -26
- package/es/components/input-tag/index.d.ts +3 -3
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +1209 -1209
- package/es/components/page/src/index.vue.d.ts +407 -407
- package/es/components/pagination/index.d.ts +3 -3
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/popover/index.d.ts +9 -9
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +5 -5
- package/es/components/radio/src/index.vue.d.ts +5 -5
- package/es/components/render/index.d.ts +1 -1
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +348 -348
- package/es/components/search/src/index.vue.d.ts +120 -120
- 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-action-bar.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +34 -34
- package/es/components/utils/index.d.ts +4 -4
- package/es/components/virtual-table/index.d.ts +3 -3
- package/es/components/virtual-table/src/index.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/file-card.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/mobile-frame.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/select.vue.d.ts +5 -5
- package/es/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +2 -2
- package/es/components/yc-ai-chat/src/studio.vue.d.ts +1 -1
- package/es/components/yc-controls/src/choice-cards.vue.d.ts +2 -2
- package/es/components/yc-controls/src/segmented.vue.d.ts +1 -1
- package/es/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
- package/es/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-display-cards/index.d.ts +20 -2
- package/es/components/yc-display-cards/src/form-card.vue.d.ts +22 -0
- package/es/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
- package/es/components/yc-display-cards/src/types.d.ts +56 -0
- package/es/components/yc-gradient-card/src/index.vue.d.ts +2 -2
- package/es/components/yc-input/src/input.vue.d.ts +5 -5
- package/es/components/yc-input/src/money-input.vue.d.ts +4 -4
- package/es/components/yc-input/src/stepper-input.vue.d.ts +3 -3
- package/es/components/yc-input/src/textarea.vue.d.ts +1 -1
- package/es/components/yc-input-otp/src/index.vue.d.ts +3 -3
- package/es/components/yc-pagination/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/index.vue.d.ts +1227 -1227
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/asset-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/bill-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/device-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/order-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/property-table.vue.d.ts +6 -6
- package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +4 -4
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +204 -204
- package/es/index.css +14 -13
- package/es/index.mjs +1 -1
- package/es/packages/components/index.mjs +1 -1
- package/es/packages/components/yc-display-cards/capability.mjs +25 -3
- package/es/packages/components/yc-display-cards/index.mjs +3 -1
- package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/form-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/form-card2.vue.mjs +907 -0
- package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +78 -22
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +4 -3
- package/index.js +1527 -541
- package/index.min.css +4 -3
- package/index.min.js +38 -37
- package/index.min.mjs +36 -35
- package/index.mjs +1525 -540
- package/lib/components/chart/src/chart-card.vue.d.ts +21 -21
- package/lib/components/chart/src/chart-container.vue.d.ts +2 -2
- package/lib/components/chart/src/metric-card.vue.d.ts +1 -1
- package/lib/components/data-table/src/data-table.vue.d.ts +8 -8
- package/lib/components/descriptions/index.d.ts +12 -12
- package/lib/components/descriptions/src/index.vue.d.ts +4 -4
- package/lib/components/dialog/index.d.ts +12 -12
- package/lib/components/dialog/src/index.vue.d.ts +4 -4
- package/lib/components/dialog-form/index.d.ts +10 -10
- package/lib/components/dialog-form/src/index.vue.d.ts +6 -6
- 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 +25 -25
- package/lib/components/drawer-form/src/index.vue.d.ts +11 -11
- package/lib/components/form/index.d.ts +52 -52
- package/lib/components/form/src/form-content.vue.d.ts +18 -18
- package/lib/components/form/src/index.vue.d.ts +24 -24
- package/lib/components/form-item/index.d.ts +67 -67
- package/lib/components/form-item/src/index.vue.d.ts +26 -26
- package/lib/components/input-tag/index.d.ts +3 -3
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +1209 -1209
- package/lib/components/page/src/index.vue.d.ts +407 -407
- package/lib/components/pagination/index.d.ts +3 -3
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/popover/index.d.ts +9 -9
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +5 -5
- package/lib/components/radio/src/index.vue.d.ts +5 -5
- package/lib/components/render/index.d.ts +1 -1
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +348 -348
- package/lib/components/search/src/index.vue.d.ts +120 -120
- 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-action-bar.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +34 -34
- package/lib/components/utils/index.d.ts +4 -4
- package/lib/components/virtual-table/index.d.ts +3 -3
- package/lib/components/virtual-table/src/index.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/file-card.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/mobile-frame.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/select.vue.d.ts +5 -5
- package/lib/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +2 -2
- package/lib/components/yc-ai-chat/src/studio.vue.d.ts +1 -1
- package/lib/components/yc-controls/src/choice-cards.vue.d.ts +2 -2
- package/lib/components/yc-controls/src/segmented.vue.d.ts +1 -1
- package/lib/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
- package/lib/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/index.d.ts +20 -2
- package/lib/components/yc-display-cards/src/form-card.vue.d.ts +22 -0
- package/lib/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/src/types.d.ts +56 -0
- package/lib/components/yc-gradient-card/src/index.vue.d.ts +2 -2
- package/lib/components/yc-input/src/input.vue.d.ts +5 -5
- package/lib/components/yc-input/src/money-input.vue.d.ts +4 -4
- package/lib/components/yc-input/src/stepper-input.vue.d.ts +3 -3
- package/lib/components/yc-input/src/textarea.vue.d.ts +1 -1
- package/lib/components/yc-input-otp/src/index.vue.d.ts +3 -3
- package/lib/components/yc-pagination/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/index.vue.d.ts +1227 -1227
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/asset-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/bill-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/device-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/order-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/property-table.vue.d.ts +6 -6
- package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +4 -4
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +204 -204
- package/lib/index.css +13 -12
- package/lib/index.js +1 -0
- package/lib/packages/components/index.js +1 -0
- package/lib/packages/components/yc-display-cards/capability.js +24 -2
- package/lib/packages/components/yc-display-cards/index.js +3 -0
- package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/form-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/form-card2.vue.js +911 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/table-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +77 -21
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +4 -3
|
@@ -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, RowProps, ColProps, CardProps, FormInstance, ComponentSize, TableInstance, TableV2Instance } from 'element-plus';
|
|
7
|
+
import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, PlusFormGroupRow, ElementPlusFormProps } from '../../../agent-ui';
|
|
8
8
|
import { OnCleanup } from '@vue/reactivity';
|
|
9
9
|
import { Options } from 'sortablejs';
|
|
10
10
|
import { VirtualTableColumn } from '../../virtual-table';
|
|
@@ -111,8 +111,8 @@ declare function __VLS_template(): Partial<Record<never, (_: {
|
|
|
111
111
|
prop: PlusColumn["prop"];
|
|
112
112
|
}> & {
|
|
113
113
|
readonly label: string | ComputedRef<string>;
|
|
114
|
-
readonly modelValue: string | number | boolean |
|
|
115
|
-
readonly hasLabel: boolean |
|
|
114
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
115
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
116
116
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
117
117
|
style?: CSSProperties;
|
|
118
118
|
class?: any;
|
|
@@ -185,8 +185,8 @@ declare function __VLS_template(): Partial<Record<never, (_: {
|
|
|
185
185
|
fieldInstance?: any;
|
|
186
186
|
valueIsReady?: Ref<boolean>;
|
|
187
187
|
prop: PlusColumn["prop"];
|
|
188
|
-
modelValue: string | number | boolean |
|
|
189
|
-
hasLabel: boolean |
|
|
188
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
189
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
190
190
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
191
191
|
style?: CSSProperties;
|
|
192
192
|
class?: any;
|
|
@@ -257,25 +257,25 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
257
257
|
$: ComponentInternalInstance;
|
|
258
258
|
$data: {};
|
|
259
259
|
$props: Partial<{
|
|
260
|
-
|
|
260
|
+
modelValue: FieldValues;
|
|
261
|
+
columns: PlusColumn[];
|
|
261
262
|
layout: "flex" | "grid";
|
|
262
263
|
inline: boolean;
|
|
263
|
-
|
|
264
|
-
modelValue: FieldValues;
|
|
264
|
+
ellipsis: boolean;
|
|
265
265
|
labelPosition: "left" | "right" | "top";
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
defaultValues: FieldValues;
|
|
267
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
268
268
|
style?: CSSProperties;
|
|
269
269
|
class?: any;
|
|
270
270
|
} & RecordType>;
|
|
271
|
-
|
|
271
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
272
272
|
style?: CSSProperties;
|
|
273
273
|
class?: any;
|
|
274
274
|
} & RecordType>;
|
|
275
|
-
defaultValues: FieldValues;
|
|
276
275
|
hasFooter: boolean;
|
|
277
276
|
hasReset: boolean;
|
|
278
277
|
resetText: string;
|
|
278
|
+
showNumber: number;
|
|
279
279
|
hasUnfold: boolean;
|
|
280
280
|
defaultUnfold: boolean;
|
|
281
281
|
searchText: string;
|
|
@@ -289,9 +289,9 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
289
289
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
290
290
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
291
291
|
readonly onSearch?: ((values: FieldValues) => any) | undefined;
|
|
292
|
-
readonly onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
293
292
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
294
|
-
|
|
293
|
+
readonly onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
294
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "modelValue" | "columns" | "layout" | "inline" | "ellipsis" | "labelPosition" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "showNumber" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
295
295
|
$attrs: Attrs;
|
|
296
296
|
$refs: {
|
|
297
297
|
[x: string]: unknown;
|
|
@@ -302,44 +302,43 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
302
302
|
$root: ComponentPublicInstance | null;
|
|
303
303
|
$parent: ComponentPublicInstance | null;
|
|
304
304
|
$host: Element | null;
|
|
305
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "search", values: FieldValues) => void) & ((event: "
|
|
305
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "search", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
306
306
|
$el: any;
|
|
307
307
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
308
308
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
309
309
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
310
310
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
311
|
-
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
312
311
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
312
|
+
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
313
313
|
}>, {
|
|
314
314
|
plusFormInstance: Ref<({
|
|
315
315
|
$: ComponentInternalInstance;
|
|
316
316
|
$data: {};
|
|
317
317
|
$props: Partial<{
|
|
318
|
-
ellipsis: boolean;
|
|
319
|
-
layout: "grid" | "flex";
|
|
320
|
-
columns: PlusColumn[];
|
|
321
318
|
modelValue: FieldValues;
|
|
322
|
-
|
|
323
|
-
|
|
319
|
+
columns: PlusColumn[];
|
|
320
|
+
layout: "grid" | "flex";
|
|
321
|
+
ellipsis: boolean;
|
|
322
|
+
collapseDuration: number;
|
|
323
|
+
collapseTransition: boolean;
|
|
324
|
+
group: false | PlusFormGroupRow[];
|
|
324
325
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
326
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
325
327
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
328
|
+
rules: ElementPlusFormProps["rules"];
|
|
329
|
+
defaultValues: FieldValues;
|
|
330
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
329
331
|
style?: CSSProperties;
|
|
330
332
|
class?: any;
|
|
331
333
|
} & RecordType>;
|
|
332
|
-
|
|
333
|
-
collapseDuration: number;
|
|
334
|
-
collapseTransition: boolean;
|
|
335
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
334
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
336
335
|
style?: CSSProperties;
|
|
337
336
|
class?: any;
|
|
338
337
|
} & RecordType>;
|
|
339
|
-
defaultValues: FieldValues;
|
|
340
338
|
hasErrorTip: boolean;
|
|
341
339
|
hasFooter: boolean;
|
|
342
340
|
hasReset: boolean;
|
|
341
|
+
hasLabel: boolean;
|
|
343
342
|
submitText: string;
|
|
344
343
|
resetText: string;
|
|
345
344
|
submitLoading: boolean;
|
|
@@ -349,14 +348,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
349
348
|
class?: any;
|
|
350
349
|
} & RecordType>;
|
|
351
350
|
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 onValidate?: ((...args: any[]) => any) | undefined;
|
|
358
357
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
359
|
-
|
|
358
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
359
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
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: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => 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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
378
377
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
378
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
379
379
|
}>, {
|
|
380
380
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
381
381
|
handleSubmit: () => void;
|
|
@@ -388,31 +388,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
388
388
|
submitError: (errors: unknown) => void;
|
|
389
389
|
validate: (...args: any[]) => void;
|
|
390
390
|
}, string, {
|
|
391
|
-
ellipsis: boolean;
|
|
392
|
-
layout: "grid" | "flex";
|
|
393
|
-
columns: PlusColumn[];
|
|
394
391
|
modelValue: FieldValues;
|
|
395
|
-
|
|
396
|
-
|
|
392
|
+
columns: PlusColumn[];
|
|
393
|
+
layout: "grid" | "flex";
|
|
394
|
+
ellipsis: boolean;
|
|
395
|
+
collapseDuration: number;
|
|
396
|
+
collapseTransition: boolean;
|
|
397
|
+
group: false | PlusFormGroupRow[];
|
|
397
398
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
399
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
398
400
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
401
|
+
rules: ElementPlusFormProps["rules"];
|
|
402
|
+
defaultValues: FieldValues;
|
|
403
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
402
404
|
style?: CSSProperties;
|
|
403
405
|
class?: any;
|
|
404
406
|
} & RecordType>;
|
|
405
|
-
|
|
406
|
-
collapseDuration: number;
|
|
407
|
-
collapseTransition: boolean;
|
|
408
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
407
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
409
408
|
style?: CSSProperties;
|
|
410
409
|
class?: any;
|
|
411
410
|
} & RecordType>;
|
|
412
|
-
defaultValues: FieldValues;
|
|
413
411
|
hasErrorTip: boolean;
|
|
414
412
|
hasFooter: boolean;
|
|
415
413
|
hasReset: boolean;
|
|
414
|
+
hasLabel: boolean;
|
|
416
415
|
submitText: string;
|
|
417
416
|
resetText: string;
|
|
418
417
|
submitLoading: boolean;
|
|
@@ -422,6 +421,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
422
421
|
class?: any;
|
|
423
422
|
} & RecordType>;
|
|
424
423
|
prevent: boolean;
|
|
424
|
+
clearable: boolean;
|
|
425
425
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
426
426
|
beforeCreate?: (() => void) | (() => void)[];
|
|
427
427
|
created?: (() => void) | (() => void)[];
|
|
@@ -443,31 +443,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
443
443
|
$nextTick: nextTick;
|
|
444
444
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
445
445
|
} & Readonly<{
|
|
446
|
-
ellipsis: boolean;
|
|
447
|
-
layout: "grid" | "flex";
|
|
448
|
-
columns: PlusColumn[];
|
|
449
446
|
modelValue: FieldValues;
|
|
450
|
-
|
|
451
|
-
|
|
447
|
+
columns: PlusColumn[];
|
|
448
|
+
layout: "grid" | "flex";
|
|
449
|
+
ellipsis: boolean;
|
|
450
|
+
collapseDuration: number;
|
|
451
|
+
collapseTransition: boolean;
|
|
452
|
+
group: false | PlusFormGroupRow[];
|
|
452
453
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
454
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
453
455
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
456
|
+
rules: ElementPlusFormProps["rules"];
|
|
457
|
+
defaultValues: FieldValues;
|
|
458
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
457
459
|
style?: CSSProperties;
|
|
458
460
|
class?: any;
|
|
459
461
|
} & RecordType>;
|
|
460
|
-
|
|
461
|
-
collapseDuration: number;
|
|
462
|
-
collapseTransition: boolean;
|
|
463
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
462
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
464
463
|
style?: CSSProperties;
|
|
465
464
|
class?: any;
|
|
466
465
|
} & RecordType>;
|
|
467
|
-
defaultValues: FieldValues;
|
|
468
466
|
hasErrorTip: boolean;
|
|
469
467
|
hasFooter: boolean;
|
|
470
468
|
hasReset: boolean;
|
|
469
|
+
hasLabel: boolean;
|
|
471
470
|
submitText: string;
|
|
472
471
|
resetText: string;
|
|
473
472
|
submitLoading: boolean;
|
|
@@ -477,14 +476,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
477
476
|
class?: any;
|
|
478
477
|
} & RecordType>;
|
|
479
478
|
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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
486
485
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
487
|
-
|
|
486
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
487
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
488
488
|
formInstance: FormInstance | null;
|
|
489
489
|
handleSubmit: () => void;
|
|
490
490
|
handleReset: () => void;
|
|
@@ -502,8 +502,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
502
502
|
prop: PlusColumn["prop"];
|
|
503
503
|
}> & {
|
|
504
504
|
readonly label: string | ComputedRef<string>;
|
|
505
|
-
readonly modelValue: string | number | boolean |
|
|
506
|
-
readonly hasLabel: boolean |
|
|
505
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
506
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
507
507
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
508
508
|
style?: CSSProperties;
|
|
509
509
|
class?: any;
|
|
@@ -576,8 +576,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
576
576
|
fieldInstance?: any;
|
|
577
577
|
valueIsReady?: Ref<boolean>;
|
|
578
578
|
prop: PlusColumn["prop"];
|
|
579
|
-
modelValue: string | number | boolean |
|
|
580
|
-
hasLabel: boolean |
|
|
579
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
580
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
581
581
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
582
582
|
style?: CSSProperties;
|
|
583
583
|
class?: any;
|
|
@@ -615,8 +615,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
615
615
|
prop: PlusColumn["prop"];
|
|
616
616
|
}> & {
|
|
617
617
|
readonly label: string | ComputedRef<string>;
|
|
618
|
-
readonly modelValue: string | number | boolean |
|
|
619
|
-
readonly hasLabel: boolean |
|
|
618
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
619
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
620
620
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
621
621
|
style?: CSSProperties;
|
|
622
622
|
class?: any;
|
|
@@ -689,8 +689,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
689
689
|
fieldInstance?: any;
|
|
690
690
|
valueIsReady?: Ref<boolean>;
|
|
691
691
|
prop: PlusColumn["prop"];
|
|
692
|
-
modelValue: string | number | boolean |
|
|
693
|
-
hasLabel: boolean |
|
|
692
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
693
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
694
694
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
695
695
|
style?: CSSProperties;
|
|
696
696
|
class?: any;
|
|
@@ -740,31 +740,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
740
740
|
$: ComponentInternalInstance;
|
|
741
741
|
$data: {};
|
|
742
742
|
$props: Partial<{
|
|
743
|
-
ellipsis: boolean;
|
|
744
|
-
layout: "grid" | "flex";
|
|
745
|
-
columns: PlusColumn[];
|
|
746
743
|
modelValue: FieldValues;
|
|
747
|
-
|
|
748
|
-
|
|
744
|
+
columns: PlusColumn[];
|
|
745
|
+
layout: "grid" | "flex";
|
|
746
|
+
ellipsis: boolean;
|
|
747
|
+
collapseDuration: number;
|
|
748
|
+
collapseTransition: boolean;
|
|
749
|
+
group: false | PlusFormGroupRow[];
|
|
749
750
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
751
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
750
752
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
753
|
+
rules: ElementPlusFormProps["rules"];
|
|
754
|
+
defaultValues: FieldValues;
|
|
755
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
754
756
|
style?: CSSProperties;
|
|
755
757
|
class?: any;
|
|
756
758
|
} & RecordType>;
|
|
757
|
-
|
|
758
|
-
collapseDuration: number;
|
|
759
|
-
collapseTransition: boolean;
|
|
760
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
759
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
761
760
|
style?: CSSProperties;
|
|
762
761
|
class?: any;
|
|
763
762
|
} & RecordType>;
|
|
764
|
-
defaultValues: FieldValues;
|
|
765
763
|
hasErrorTip: boolean;
|
|
766
764
|
hasFooter: boolean;
|
|
767
765
|
hasReset: boolean;
|
|
766
|
+
hasLabel: boolean;
|
|
768
767
|
submitText: string;
|
|
769
768
|
resetText: string;
|
|
770
769
|
submitLoading: boolean;
|
|
@@ -774,14 +773,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
774
773
|
class?: any;
|
|
775
774
|
} & RecordType>;
|
|
776
775
|
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 onValidate?: ((...args: any[]) => any) | undefined;
|
|
783
782
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
784
|
-
|
|
783
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
784
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
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: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => 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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
803
802
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
803
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
804
804
|
}>, {
|
|
805
805
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
806
806
|
handleSubmit: () => void;
|
|
@@ -813,31 +813,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
813
813
|
submitError: (errors: unknown) => void;
|
|
814
814
|
validate: (...args: any[]) => void;
|
|
815
815
|
}, string, {
|
|
816
|
-
ellipsis: boolean;
|
|
817
|
-
layout: "grid" | "flex";
|
|
818
|
-
columns: PlusColumn[];
|
|
819
816
|
modelValue: FieldValues;
|
|
820
|
-
|
|
821
|
-
|
|
817
|
+
columns: PlusColumn[];
|
|
818
|
+
layout: "grid" | "flex";
|
|
819
|
+
ellipsis: boolean;
|
|
820
|
+
collapseDuration: number;
|
|
821
|
+
collapseTransition: boolean;
|
|
822
|
+
group: false | PlusFormGroupRow[];
|
|
822
823
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
824
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
823
825
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
826
|
+
rules: ElementPlusFormProps["rules"];
|
|
827
|
+
defaultValues: FieldValues;
|
|
828
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
827
829
|
style?: CSSProperties;
|
|
828
830
|
class?: any;
|
|
829
831
|
} & RecordType>;
|
|
830
|
-
|
|
831
|
-
collapseDuration: number;
|
|
832
|
-
collapseTransition: boolean;
|
|
833
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
832
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
834
833
|
style?: CSSProperties;
|
|
835
834
|
class?: any;
|
|
836
835
|
} & RecordType>;
|
|
837
|
-
defaultValues: FieldValues;
|
|
838
836
|
hasErrorTip: boolean;
|
|
839
837
|
hasFooter: boolean;
|
|
840
838
|
hasReset: boolean;
|
|
839
|
+
hasLabel: boolean;
|
|
841
840
|
submitText: string;
|
|
842
841
|
resetText: string;
|
|
843
842
|
submitLoading: boolean;
|
|
@@ -847,6 +846,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
847
846
|
class?: any;
|
|
848
847
|
} & RecordType>;
|
|
849
848
|
prevent: boolean;
|
|
849
|
+
clearable: boolean;
|
|
850
850
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
851
851
|
beforeCreate?: (() => void) | (() => void)[];
|
|
852
852
|
created?: (() => void) | (() => void)[];
|
|
@@ -868,31 +868,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
868
868
|
$nextTick: nextTick;
|
|
869
869
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
870
870
|
} & Readonly<{
|
|
871
|
-
ellipsis: boolean;
|
|
872
|
-
layout: "grid" | "flex";
|
|
873
|
-
columns: PlusColumn[];
|
|
874
871
|
modelValue: FieldValues;
|
|
875
|
-
|
|
876
|
-
|
|
872
|
+
columns: PlusColumn[];
|
|
873
|
+
layout: "grid" | "flex";
|
|
874
|
+
ellipsis: boolean;
|
|
875
|
+
collapseDuration: number;
|
|
876
|
+
collapseTransition: boolean;
|
|
877
|
+
group: false | PlusFormGroupRow[];
|
|
877
878
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
879
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
878
880
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
881
|
+
rules: ElementPlusFormProps["rules"];
|
|
882
|
+
defaultValues: FieldValues;
|
|
883
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
882
884
|
style?: CSSProperties;
|
|
883
885
|
class?: any;
|
|
884
886
|
} & RecordType>;
|
|
885
|
-
|
|
886
|
-
collapseDuration: number;
|
|
887
|
-
collapseTransition: boolean;
|
|
888
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
887
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
889
888
|
style?: CSSProperties;
|
|
890
889
|
class?: any;
|
|
891
890
|
} & RecordType>;
|
|
892
|
-
defaultValues: FieldValues;
|
|
893
891
|
hasErrorTip: boolean;
|
|
894
892
|
hasFooter: boolean;
|
|
895
893
|
hasReset: boolean;
|
|
894
|
+
hasLabel: boolean;
|
|
896
895
|
submitText: string;
|
|
897
896
|
resetText: string;
|
|
898
897
|
submitLoading: boolean;
|
|
@@ -902,14 +901,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
902
901
|
class?: any;
|
|
903
902
|
} & RecordType>;
|
|
904
903
|
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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
911
910
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
912
|
-
|
|
911
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
912
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
913
913
|
formInstance: FormInstance | null;
|
|
914
914
|
handleSubmit: () => void;
|
|
915
915
|
handleReset: () => void;
|
|
@@ -927,8 +927,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
927
927
|
prop: PlusColumn["prop"];
|
|
928
928
|
}> & {
|
|
929
929
|
readonly label: string | ComputedRef<string>;
|
|
930
|
-
readonly modelValue: string | number | boolean |
|
|
931
|
-
readonly hasLabel: boolean |
|
|
930
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
931
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
932
932
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
933
933
|
style?: CSSProperties;
|
|
934
934
|
class?: any;
|
|
@@ -1001,8 +1001,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1001
1001
|
fieldInstance?: any;
|
|
1002
1002
|
valueIsReady?: Ref<boolean>;
|
|
1003
1003
|
prop: PlusColumn["prop"];
|
|
1004
|
-
modelValue: string | number | boolean |
|
|
1005
|
-
hasLabel: boolean |
|
|
1004
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1005
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1006
1006
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1007
1007
|
style?: CSSProperties;
|
|
1008
1008
|
class?: any;
|
|
@@ -1040,8 +1040,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1040
1040
|
prop: PlusColumn["prop"];
|
|
1041
1041
|
}> & {
|
|
1042
1042
|
readonly label: string | ComputedRef<string>;
|
|
1043
|
-
readonly modelValue: string | number | boolean |
|
|
1044
|
-
readonly hasLabel: boolean |
|
|
1043
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1044
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1045
1045
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1046
1046
|
style?: CSSProperties;
|
|
1047
1047
|
class?: any;
|
|
@@ -1114,8 +1114,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1114
1114
|
fieldInstance?: any;
|
|
1115
1115
|
valueIsReady?: Ref<boolean>;
|
|
1116
1116
|
prop: PlusColumn["prop"];
|
|
1117
|
-
modelValue: string | number | boolean |
|
|
1118
|
-
hasLabel: boolean |
|
|
1117
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1118
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1119
1119
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1120
1120
|
style?: CSSProperties;
|
|
1121
1121
|
class?: any;
|
|
@@ -1172,25 +1172,25 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1172
1172
|
reset: (values: FieldValues) => void;
|
|
1173
1173
|
collapse: (isShowUnfold: boolean) => void;
|
|
1174
1174
|
}, string, {
|
|
1175
|
-
|
|
1175
|
+
modelValue: FieldValues;
|
|
1176
|
+
columns: PlusColumn[];
|
|
1176
1177
|
layout: "flex" | "grid";
|
|
1177
1178
|
inline: boolean;
|
|
1178
|
-
|
|
1179
|
-
modelValue: FieldValues;
|
|
1179
|
+
ellipsis: boolean;
|
|
1180
1180
|
labelPosition: "left" | "right" | "top";
|
|
1181
|
-
|
|
1182
|
-
|
|
1181
|
+
defaultValues: FieldValues;
|
|
1182
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1183
1183
|
style?: CSSProperties;
|
|
1184
1184
|
class?: any;
|
|
1185
1185
|
} & RecordType>;
|
|
1186
|
-
|
|
1186
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1187
1187
|
style?: CSSProperties;
|
|
1188
1188
|
class?: any;
|
|
1189
1189
|
} & RecordType>;
|
|
1190
|
-
defaultValues: FieldValues;
|
|
1191
1190
|
hasFooter: boolean;
|
|
1192
1191
|
hasReset: boolean;
|
|
1193
1192
|
resetText: string;
|
|
1193
|
+
showNumber: number;
|
|
1194
1194
|
hasUnfold: boolean;
|
|
1195
1195
|
defaultUnfold: boolean;
|
|
1196
1196
|
searchText: string;
|
|
@@ -1221,25 +1221,25 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1221
1221
|
$nextTick: nextTick;
|
|
1222
1222
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1223
1223
|
} & Readonly<{
|
|
1224
|
-
|
|
1224
|
+
modelValue: FieldValues;
|
|
1225
|
+
columns: PlusColumn[];
|
|
1225
1226
|
layout: "flex" | "grid";
|
|
1226
1227
|
inline: boolean;
|
|
1227
|
-
|
|
1228
|
-
modelValue: FieldValues;
|
|
1228
|
+
ellipsis: boolean;
|
|
1229
1229
|
labelPosition: "left" | "right" | "top";
|
|
1230
|
-
|
|
1231
|
-
|
|
1230
|
+
defaultValues: FieldValues;
|
|
1231
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1232
1232
|
style?: CSSProperties;
|
|
1233
1233
|
class?: any;
|
|
1234
1234
|
} & RecordType>;
|
|
1235
|
-
|
|
1235
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1236
1236
|
style?: CSSProperties;
|
|
1237
1237
|
class?: any;
|
|
1238
1238
|
} & RecordType>;
|
|
1239
|
-
defaultValues: FieldValues;
|
|
1240
1239
|
hasFooter: boolean;
|
|
1241
1240
|
hasReset: boolean;
|
|
1242
1241
|
resetText: string;
|
|
1242
|
+
showNumber: number;
|
|
1243
1243
|
hasUnfold: boolean;
|
|
1244
1244
|
defaultUnfold: boolean;
|
|
1245
1245
|
searchText: string;
|
|
@@ -1253,38 +1253,37 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1253
1253
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1254
1254
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1255
1255
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1256
|
-
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1257
1256
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1258
|
-
|
|
1257
|
+
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1258
|
+
}>, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold" | ("modelValue" | "columns" | "layout" | "inline" | "ellipsis" | "labelPosition" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "showNumber" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon")> & {
|
|
1259
1259
|
plusFormInstance: ({
|
|
1260
1260
|
$: ComponentInternalInstance;
|
|
1261
1261
|
$data: {};
|
|
1262
1262
|
$props: Partial<{
|
|
1263
|
-
ellipsis: boolean;
|
|
1264
|
-
layout: "grid" | "flex";
|
|
1265
|
-
columns: PlusColumn[];
|
|
1266
1263
|
modelValue: FieldValues;
|
|
1267
|
-
|
|
1268
|
-
|
|
1264
|
+
columns: PlusColumn[];
|
|
1265
|
+
layout: "grid" | "flex";
|
|
1266
|
+
ellipsis: boolean;
|
|
1267
|
+
collapseDuration: number;
|
|
1268
|
+
collapseTransition: boolean;
|
|
1269
|
+
group: false | PlusFormGroupRow[];
|
|
1269
1270
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1271
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1270
1272
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1273
|
+
rules: ElementPlusFormProps["rules"];
|
|
1274
|
+
defaultValues: FieldValues;
|
|
1275
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1274
1276
|
style?: CSSProperties;
|
|
1275
1277
|
class?: any;
|
|
1276
1278
|
} & RecordType>;
|
|
1277
|
-
|
|
1278
|
-
collapseDuration: number;
|
|
1279
|
-
collapseTransition: boolean;
|
|
1280
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1279
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1281
1280
|
style?: CSSProperties;
|
|
1282
1281
|
class?: any;
|
|
1283
1282
|
} & RecordType>;
|
|
1284
|
-
defaultValues: FieldValues;
|
|
1285
1283
|
hasErrorTip: boolean;
|
|
1286
1284
|
hasFooter: boolean;
|
|
1287
1285
|
hasReset: boolean;
|
|
1286
|
+
hasLabel: boolean;
|
|
1288
1287
|
submitText: string;
|
|
1289
1288
|
resetText: string;
|
|
1290
1289
|
submitLoading: boolean;
|
|
@@ -1294,14 +1293,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1294
1293
|
class?: any;
|
|
1295
1294
|
} & RecordType>;
|
|
1296
1295
|
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 onValidate?: ((...args: any[]) => any) | undefined;
|
|
1303
1302
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1304
|
-
|
|
1303
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1304
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
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: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => 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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1323
1322
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1323
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1324
1324
|
}>, {
|
|
1325
1325
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
1326
1326
|
handleSubmit: () => void;
|
|
@@ -1333,31 +1333,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1333
1333
|
submitError: (errors: unknown) => void;
|
|
1334
1334
|
validate: (...args: any[]) => void;
|
|
1335
1335
|
}, string, {
|
|
1336
|
-
ellipsis: boolean;
|
|
1337
|
-
layout: "grid" | "flex";
|
|
1338
|
-
columns: PlusColumn[];
|
|
1339
1336
|
modelValue: FieldValues;
|
|
1340
|
-
|
|
1341
|
-
|
|
1337
|
+
columns: PlusColumn[];
|
|
1338
|
+
layout: "grid" | "flex";
|
|
1339
|
+
ellipsis: boolean;
|
|
1340
|
+
collapseDuration: number;
|
|
1341
|
+
collapseTransition: boolean;
|
|
1342
|
+
group: false | PlusFormGroupRow[];
|
|
1342
1343
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1344
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1343
1345
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1346
|
+
rules: ElementPlusFormProps["rules"];
|
|
1347
|
+
defaultValues: FieldValues;
|
|
1348
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1347
1349
|
style?: CSSProperties;
|
|
1348
1350
|
class?: any;
|
|
1349
1351
|
} & RecordType>;
|
|
1350
|
-
|
|
1351
|
-
collapseDuration: number;
|
|
1352
|
-
collapseTransition: boolean;
|
|
1353
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1352
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1354
1353
|
style?: CSSProperties;
|
|
1355
1354
|
class?: any;
|
|
1356
1355
|
} & RecordType>;
|
|
1357
|
-
defaultValues: FieldValues;
|
|
1358
1356
|
hasErrorTip: boolean;
|
|
1359
1357
|
hasFooter: boolean;
|
|
1360
1358
|
hasReset: boolean;
|
|
1359
|
+
hasLabel: boolean;
|
|
1361
1360
|
submitText: string;
|
|
1362
1361
|
resetText: string;
|
|
1363
1362
|
submitLoading: boolean;
|
|
@@ -1367,6 +1366,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1367
1366
|
class?: any;
|
|
1368
1367
|
} & RecordType>;
|
|
1369
1368
|
prevent: boolean;
|
|
1369
|
+
clearable: boolean;
|
|
1370
1370
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1371
1371
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1372
1372
|
created?: (() => void) | (() => void)[];
|
|
@@ -1388,31 +1388,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1388
1388
|
$nextTick: nextTick;
|
|
1389
1389
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1390
1390
|
} & Readonly<{
|
|
1391
|
-
ellipsis: boolean;
|
|
1392
|
-
layout: "grid" | "flex";
|
|
1393
|
-
columns: PlusColumn[];
|
|
1394
1391
|
modelValue: FieldValues;
|
|
1395
|
-
|
|
1396
|
-
|
|
1392
|
+
columns: PlusColumn[];
|
|
1393
|
+
layout: "grid" | "flex";
|
|
1394
|
+
ellipsis: boolean;
|
|
1395
|
+
collapseDuration: number;
|
|
1396
|
+
collapseTransition: boolean;
|
|
1397
|
+
group: false | PlusFormGroupRow[];
|
|
1397
1398
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1399
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1398
1400
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1401
|
+
rules: ElementPlusFormProps["rules"];
|
|
1402
|
+
defaultValues: FieldValues;
|
|
1403
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1402
1404
|
style?: CSSProperties;
|
|
1403
1405
|
class?: any;
|
|
1404
1406
|
} & RecordType>;
|
|
1405
|
-
|
|
1406
|
-
collapseDuration: number;
|
|
1407
|
-
collapseTransition: boolean;
|
|
1408
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1407
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1409
1408
|
style?: CSSProperties;
|
|
1410
1409
|
class?: any;
|
|
1411
1410
|
} & RecordType>;
|
|
1412
|
-
defaultValues: FieldValues;
|
|
1413
1411
|
hasErrorTip: boolean;
|
|
1414
1412
|
hasFooter: boolean;
|
|
1415
1413
|
hasReset: boolean;
|
|
1414
|
+
hasLabel: boolean;
|
|
1416
1415
|
submitText: string;
|
|
1417
1416
|
resetText: string;
|
|
1418
1417
|
submitLoading: boolean;
|
|
@@ -1422,14 +1421,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1422
1421
|
class?: any;
|
|
1423
1422
|
} & RecordType>;
|
|
1424
1423
|
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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1431
1430
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1432
|
-
|
|
1431
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1432
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
1433
1433
|
formInstance: FormInstance | null;
|
|
1434
1434
|
handleSubmit: () => void;
|
|
1435
1435
|
handleReset: () => void;
|
|
@@ -1447,8 +1447,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1447
1447
|
prop: PlusColumn["prop"];
|
|
1448
1448
|
}> & {
|
|
1449
1449
|
readonly label: string | ComputedRef<string>;
|
|
1450
|
-
readonly modelValue: string | number | boolean |
|
|
1451
|
-
readonly hasLabel: boolean |
|
|
1450
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1451
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1452
1452
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1453
1453
|
style?: CSSProperties;
|
|
1454
1454
|
class?: any;
|
|
@@ -1521,8 +1521,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1521
1521
|
fieldInstance?: any;
|
|
1522
1522
|
valueIsReady?: Ref<boolean>;
|
|
1523
1523
|
prop: PlusColumn["prop"];
|
|
1524
|
-
modelValue: string | number | boolean |
|
|
1525
|
-
hasLabel: boolean |
|
|
1524
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1525
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1526
1526
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1527
1527
|
style?: CSSProperties;
|
|
1528
1528
|
class?: any;
|
|
@@ -1560,8 +1560,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1560
1560
|
prop: PlusColumn["prop"];
|
|
1561
1561
|
}> & {
|
|
1562
1562
|
readonly label: string | ComputedRef<string>;
|
|
1563
|
-
readonly modelValue: string | number | boolean |
|
|
1564
|
-
readonly hasLabel: boolean |
|
|
1563
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1564
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1565
1565
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1566
1566
|
style?: CSSProperties;
|
|
1567
1567
|
class?: any;
|
|
@@ -1634,8 +1634,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1634
1634
|
fieldInstance?: any;
|
|
1635
1635
|
valueIsReady?: Ref<boolean>;
|
|
1636
1636
|
prop: PlusColumn["prop"];
|
|
1637
|
-
modelValue: string | number | boolean |
|
|
1638
|
-
hasLabel: boolean |
|
|
1637
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1638
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1639
1639
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1640
1640
|
style?: CSSProperties;
|
|
1641
1641
|
class?: any;
|
|
@@ -1691,8 +1691,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1691
1691
|
prop: PlusColumn["prop"];
|
|
1692
1692
|
}> & {
|
|
1693
1693
|
readonly label: string | ComputedRef<string>;
|
|
1694
|
-
readonly modelValue: string | number | boolean |
|
|
1695
|
-
readonly hasLabel: boolean |
|
|
1694
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1695
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1696
1696
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1697
1697
|
style?: CSSProperties;
|
|
1698
1698
|
class?: any;
|
|
@@ -1765,8 +1765,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1765
1765
|
fieldInstance?: any;
|
|
1766
1766
|
valueIsReady?: Ref<boolean>;
|
|
1767
1767
|
prop: PlusColumn["prop"];
|
|
1768
|
-
modelValue: string | number | boolean |
|
|
1769
|
-
hasLabel: boolean |
|
|
1768
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1769
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1770
1770
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1771
1771
|
style?: CSSProperties;
|
|
1772
1772
|
class?: any;
|
|
@@ -1813,25 +1813,25 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1813
1813
|
$: ComponentInternalInstance;
|
|
1814
1814
|
$data: {};
|
|
1815
1815
|
$props: Partial<{
|
|
1816
|
-
|
|
1816
|
+
modelValue: FieldValues;
|
|
1817
|
+
columns: PlusColumn[];
|
|
1817
1818
|
layout: "flex" | "grid";
|
|
1818
1819
|
inline: boolean;
|
|
1819
|
-
|
|
1820
|
-
modelValue: FieldValues;
|
|
1820
|
+
ellipsis: boolean;
|
|
1821
1821
|
labelPosition: "left" | "right" | "top";
|
|
1822
|
-
|
|
1823
|
-
|
|
1822
|
+
defaultValues: FieldValues;
|
|
1823
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1824
1824
|
style?: CSSProperties;
|
|
1825
1825
|
class?: any;
|
|
1826
1826
|
} & RecordType>;
|
|
1827
|
-
|
|
1827
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1828
1828
|
style?: CSSProperties;
|
|
1829
1829
|
class?: any;
|
|
1830
1830
|
} & RecordType>;
|
|
1831
|
-
defaultValues: FieldValues;
|
|
1832
1831
|
hasFooter: boolean;
|
|
1833
1832
|
hasReset: boolean;
|
|
1834
1833
|
resetText: string;
|
|
1834
|
+
showNumber: number;
|
|
1835
1835
|
hasUnfold: boolean;
|
|
1836
1836
|
defaultUnfold: boolean;
|
|
1837
1837
|
searchText: string;
|
|
@@ -1845,9 +1845,9 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1845
1845
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1846
1846
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
1847
1847
|
readonly onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1848
|
-
readonly onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1849
1848
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1850
|
-
|
|
1849
|
+
readonly onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1850
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "modelValue" | "columns" | "layout" | "inline" | "ellipsis" | "labelPosition" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "showNumber" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
1851
1851
|
$attrs: Attrs;
|
|
1852
1852
|
$refs: {
|
|
1853
1853
|
[x: string]: unknown;
|
|
@@ -1858,44 +1858,43 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1858
1858
|
$root: ComponentPublicInstance | null;
|
|
1859
1859
|
$parent: ComponentPublicInstance | null;
|
|
1860
1860
|
$host: Element | null;
|
|
1861
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "search", values: FieldValues) => void) & ((event: "
|
|
1861
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "search", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
1862
1862
|
$el: any;
|
|
1863
1863
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
1864
1864
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1865
1865
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1866
1866
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1867
|
-
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1868
1867
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1868
|
+
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1869
1869
|
}>, {
|
|
1870
1870
|
plusFormInstance: Ref<({
|
|
1871
1871
|
$: ComponentInternalInstance;
|
|
1872
1872
|
$data: {};
|
|
1873
1873
|
$props: Partial<{
|
|
1874
|
-
ellipsis: boolean;
|
|
1875
|
-
layout: "grid" | "flex";
|
|
1876
|
-
columns: PlusColumn[];
|
|
1877
1874
|
modelValue: FieldValues;
|
|
1878
|
-
|
|
1879
|
-
|
|
1875
|
+
columns: PlusColumn[];
|
|
1876
|
+
layout: "grid" | "flex";
|
|
1877
|
+
ellipsis: boolean;
|
|
1878
|
+
collapseDuration: number;
|
|
1879
|
+
collapseTransition: boolean;
|
|
1880
|
+
group: false | PlusFormGroupRow[];
|
|
1880
1881
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1882
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1881
1883
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1884
|
+
rules: ElementPlusFormProps["rules"];
|
|
1885
|
+
defaultValues: FieldValues;
|
|
1886
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1885
1887
|
style?: CSSProperties;
|
|
1886
1888
|
class?: any;
|
|
1887
1889
|
} & RecordType>;
|
|
1888
|
-
|
|
1889
|
-
collapseDuration: number;
|
|
1890
|
-
collapseTransition: boolean;
|
|
1891
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1890
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1892
1891
|
style?: CSSProperties;
|
|
1893
1892
|
class?: any;
|
|
1894
1893
|
} & RecordType>;
|
|
1895
|
-
defaultValues: FieldValues;
|
|
1896
1894
|
hasErrorTip: boolean;
|
|
1897
1895
|
hasFooter: boolean;
|
|
1898
1896
|
hasReset: boolean;
|
|
1897
|
+
hasLabel: boolean;
|
|
1899
1898
|
submitText: string;
|
|
1900
1899
|
resetText: string;
|
|
1901
1900
|
submitLoading: boolean;
|
|
@@ -1905,14 +1904,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1905
1904
|
class?: any;
|
|
1906
1905
|
} & RecordType>;
|
|
1907
1906
|
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 onValidate?: ((...args: any[]) => any) | undefined;
|
|
1914
1913
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1915
|
-
|
|
1914
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1915
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
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: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => 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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1934
1933
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1934
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1935
1935
|
}>, {
|
|
1936
1936
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
1937
1937
|
handleSubmit: () => void;
|
|
@@ -1944,31 +1944,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1944
1944
|
submitError: (errors: unknown) => void;
|
|
1945
1945
|
validate: (...args: any[]) => void;
|
|
1946
1946
|
}, string, {
|
|
1947
|
-
ellipsis: boolean;
|
|
1948
|
-
layout: "grid" | "flex";
|
|
1949
|
-
columns: PlusColumn[];
|
|
1950
1947
|
modelValue: FieldValues;
|
|
1951
|
-
|
|
1952
|
-
|
|
1948
|
+
columns: PlusColumn[];
|
|
1949
|
+
layout: "grid" | "flex";
|
|
1950
|
+
ellipsis: boolean;
|
|
1951
|
+
collapseDuration: number;
|
|
1952
|
+
collapseTransition: boolean;
|
|
1953
|
+
group: false | PlusFormGroupRow[];
|
|
1953
1954
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1955
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1954
1956
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1957
|
+
rules: ElementPlusFormProps["rules"];
|
|
1958
|
+
defaultValues: FieldValues;
|
|
1959
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1958
1960
|
style?: CSSProperties;
|
|
1959
1961
|
class?: any;
|
|
1960
1962
|
} & RecordType>;
|
|
1961
|
-
|
|
1962
|
-
collapseDuration: number;
|
|
1963
|
-
collapseTransition: boolean;
|
|
1964
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1963
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1965
1964
|
style?: CSSProperties;
|
|
1966
1965
|
class?: any;
|
|
1967
1966
|
} & RecordType>;
|
|
1968
|
-
defaultValues: FieldValues;
|
|
1969
1967
|
hasErrorTip: boolean;
|
|
1970
1968
|
hasFooter: boolean;
|
|
1971
1969
|
hasReset: boolean;
|
|
1970
|
+
hasLabel: boolean;
|
|
1972
1971
|
submitText: string;
|
|
1973
1972
|
resetText: string;
|
|
1974
1973
|
submitLoading: boolean;
|
|
@@ -1978,6 +1977,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1978
1977
|
class?: any;
|
|
1979
1978
|
} & RecordType>;
|
|
1980
1979
|
prevent: boolean;
|
|
1980
|
+
clearable: boolean;
|
|
1981
1981
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1982
1982
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1983
1983
|
created?: (() => void) | (() => void)[];
|
|
@@ -1999,31 +1999,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1999
1999
|
$nextTick: nextTick;
|
|
2000
2000
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
2001
2001
|
} & Readonly<{
|
|
2002
|
-
ellipsis: boolean;
|
|
2003
|
-
layout: "grid" | "flex";
|
|
2004
|
-
columns: PlusColumn[];
|
|
2005
2002
|
modelValue: FieldValues;
|
|
2006
|
-
|
|
2007
|
-
|
|
2003
|
+
columns: PlusColumn[];
|
|
2004
|
+
layout: "grid" | "flex";
|
|
2005
|
+
ellipsis: boolean;
|
|
2006
|
+
collapseDuration: number;
|
|
2007
|
+
collapseTransition: boolean;
|
|
2008
|
+
group: false | PlusFormGroupRow[];
|
|
2008
2009
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2010
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2009
2011
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2012
|
+
rules: ElementPlusFormProps["rules"];
|
|
2013
|
+
defaultValues: FieldValues;
|
|
2014
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2013
2015
|
style?: CSSProperties;
|
|
2014
2016
|
class?: any;
|
|
2015
2017
|
} & RecordType>;
|
|
2016
|
-
|
|
2017
|
-
collapseDuration: number;
|
|
2018
|
-
collapseTransition: boolean;
|
|
2019
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2018
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2020
2019
|
style?: CSSProperties;
|
|
2021
2020
|
class?: any;
|
|
2022
2021
|
} & RecordType>;
|
|
2023
|
-
defaultValues: FieldValues;
|
|
2024
2022
|
hasErrorTip: boolean;
|
|
2025
2023
|
hasFooter: boolean;
|
|
2026
2024
|
hasReset: boolean;
|
|
2025
|
+
hasLabel: boolean;
|
|
2027
2026
|
submitText: string;
|
|
2028
2027
|
resetText: string;
|
|
2029
2028
|
submitLoading: boolean;
|
|
@@ -2033,14 +2032,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2033
2032
|
class?: any;
|
|
2034
2033
|
} & RecordType>;
|
|
2035
2034
|
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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2042
2041
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2043
|
-
|
|
2042
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2043
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
2044
2044
|
formInstance: FormInstance | null;
|
|
2045
2045
|
handleSubmit: () => void;
|
|
2046
2046
|
handleReset: () => void;
|
|
@@ -2058,8 +2058,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2058
2058
|
prop: PlusColumn["prop"];
|
|
2059
2059
|
}> & {
|
|
2060
2060
|
readonly label: string | ComputedRef<string>;
|
|
2061
|
-
readonly modelValue: string | number | boolean |
|
|
2062
|
-
readonly hasLabel: boolean |
|
|
2061
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2062
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
2063
2063
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2064
2064
|
style?: CSSProperties;
|
|
2065
2065
|
class?: any;
|
|
@@ -2132,8 +2132,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2132
2132
|
fieldInstance?: any;
|
|
2133
2133
|
valueIsReady?: Ref<boolean>;
|
|
2134
2134
|
prop: PlusColumn["prop"];
|
|
2135
|
-
modelValue: string | number | boolean |
|
|
2136
|
-
hasLabel: boolean |
|
|
2135
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2136
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
2137
2137
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2138
2138
|
style?: CSSProperties;
|
|
2139
2139
|
class?: any;
|
|
@@ -2171,8 +2171,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2171
2171
|
prop: PlusColumn["prop"];
|
|
2172
2172
|
}> & {
|
|
2173
2173
|
readonly label: string | ComputedRef<string>;
|
|
2174
|
-
readonly modelValue: string | number | boolean |
|
|
2175
|
-
readonly hasLabel: boolean |
|
|
2174
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2175
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
2176
2176
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2177
2177
|
style?: CSSProperties;
|
|
2178
2178
|
class?: any;
|
|
@@ -2245,8 +2245,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2245
2245
|
fieldInstance?: any;
|
|
2246
2246
|
valueIsReady?: Ref<boolean>;
|
|
2247
2247
|
prop: PlusColumn["prop"];
|
|
2248
|
-
modelValue: string | number | boolean |
|
|
2249
|
-
hasLabel: boolean |
|
|
2248
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2249
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
2250
2250
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2251
2251
|
style?: CSSProperties;
|
|
2252
2252
|
class?: any;
|
|
@@ -2296,31 +2296,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2296
2296
|
$: ComponentInternalInstance;
|
|
2297
2297
|
$data: {};
|
|
2298
2298
|
$props: Partial<{
|
|
2299
|
-
ellipsis: boolean;
|
|
2300
|
-
layout: "grid" | "flex";
|
|
2301
|
-
columns: PlusColumn[];
|
|
2302
2299
|
modelValue: FieldValues;
|
|
2303
|
-
|
|
2304
|
-
|
|
2300
|
+
columns: PlusColumn[];
|
|
2301
|
+
layout: "grid" | "flex";
|
|
2302
|
+
ellipsis: boolean;
|
|
2303
|
+
collapseDuration: number;
|
|
2304
|
+
collapseTransition: boolean;
|
|
2305
|
+
group: false | PlusFormGroupRow[];
|
|
2305
2306
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2307
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2306
2308
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2309
|
+
rules: ElementPlusFormProps["rules"];
|
|
2310
|
+
defaultValues: FieldValues;
|
|
2311
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2310
2312
|
style?: CSSProperties;
|
|
2311
2313
|
class?: any;
|
|
2312
2314
|
} & RecordType>;
|
|
2313
|
-
|
|
2314
|
-
collapseDuration: number;
|
|
2315
|
-
collapseTransition: boolean;
|
|
2316
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2315
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2317
2316
|
style?: CSSProperties;
|
|
2318
2317
|
class?: any;
|
|
2319
2318
|
} & RecordType>;
|
|
2320
|
-
defaultValues: FieldValues;
|
|
2321
2319
|
hasErrorTip: boolean;
|
|
2322
2320
|
hasFooter: boolean;
|
|
2323
2321
|
hasReset: boolean;
|
|
2322
|
+
hasLabel: boolean;
|
|
2324
2323
|
submitText: string;
|
|
2325
2324
|
resetText: string;
|
|
2326
2325
|
submitLoading: boolean;
|
|
@@ -2330,14 +2329,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2330
2329
|
class?: any;
|
|
2331
2330
|
} & RecordType>;
|
|
2332
2331
|
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 onValidate?: ((...args: any[]) => any) | undefined;
|
|
2339
2338
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2340
|
-
|
|
2339
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
2340
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
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: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => 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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2359
2358
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2359
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2360
2360
|
}>, {
|
|
2361
2361
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
2362
2362
|
handleSubmit: () => void;
|
|
@@ -2369,31 +2369,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2369
2369
|
submitError: (errors: unknown) => void;
|
|
2370
2370
|
validate: (...args: any[]) => void;
|
|
2371
2371
|
}, string, {
|
|
2372
|
-
ellipsis: boolean;
|
|
2373
|
-
layout: "grid" | "flex";
|
|
2374
|
-
columns: PlusColumn[];
|
|
2375
2372
|
modelValue: FieldValues;
|
|
2376
|
-
|
|
2377
|
-
|
|
2373
|
+
columns: PlusColumn[];
|
|
2374
|
+
layout: "grid" | "flex";
|
|
2375
|
+
ellipsis: boolean;
|
|
2376
|
+
collapseDuration: number;
|
|
2377
|
+
collapseTransition: boolean;
|
|
2378
|
+
group: false | PlusFormGroupRow[];
|
|
2378
2379
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2380
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2379
2381
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2382
|
+
rules: ElementPlusFormProps["rules"];
|
|
2383
|
+
defaultValues: FieldValues;
|
|
2384
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2383
2385
|
style?: CSSProperties;
|
|
2384
2386
|
class?: any;
|
|
2385
2387
|
} & RecordType>;
|
|
2386
|
-
|
|
2387
|
-
collapseDuration: number;
|
|
2388
|
-
collapseTransition: boolean;
|
|
2389
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2388
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2390
2389
|
style?: CSSProperties;
|
|
2391
2390
|
class?: any;
|
|
2392
2391
|
} & RecordType>;
|
|
2393
|
-
defaultValues: FieldValues;
|
|
2394
2392
|
hasErrorTip: boolean;
|
|
2395
2393
|
hasFooter: boolean;
|
|
2396
2394
|
hasReset: boolean;
|
|
2395
|
+
hasLabel: boolean;
|
|
2397
2396
|
submitText: string;
|
|
2398
2397
|
resetText: string;
|
|
2399
2398
|
submitLoading: boolean;
|
|
@@ -2403,6 +2402,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2403
2402
|
class?: any;
|
|
2404
2403
|
} & RecordType>;
|
|
2405
2404
|
prevent: boolean;
|
|
2405
|
+
clearable: boolean;
|
|
2406
2406
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2407
2407
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2408
2408
|
created?: (() => void) | (() => void)[];
|
|
@@ -2424,31 +2424,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2424
2424
|
$nextTick: nextTick;
|
|
2425
2425
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
2426
2426
|
} & Readonly<{
|
|
2427
|
-
ellipsis: boolean;
|
|
2428
|
-
layout: "grid" | "flex";
|
|
2429
|
-
columns: PlusColumn[];
|
|
2430
2427
|
modelValue: FieldValues;
|
|
2431
|
-
|
|
2432
|
-
|
|
2428
|
+
columns: PlusColumn[];
|
|
2429
|
+
layout: "grid" | "flex";
|
|
2430
|
+
ellipsis: boolean;
|
|
2431
|
+
collapseDuration: number;
|
|
2432
|
+
collapseTransition: boolean;
|
|
2433
|
+
group: false | PlusFormGroupRow[];
|
|
2433
2434
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2435
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2434
2436
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2437
|
+
rules: ElementPlusFormProps["rules"];
|
|
2438
|
+
defaultValues: FieldValues;
|
|
2439
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2438
2440
|
style?: CSSProperties;
|
|
2439
2441
|
class?: any;
|
|
2440
2442
|
} & RecordType>;
|
|
2441
|
-
|
|
2442
|
-
collapseDuration: number;
|
|
2443
|
-
collapseTransition: boolean;
|
|
2444
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2443
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2445
2444
|
style?: CSSProperties;
|
|
2446
2445
|
class?: any;
|
|
2447
2446
|
} & RecordType>;
|
|
2448
|
-
defaultValues: FieldValues;
|
|
2449
2447
|
hasErrorTip: boolean;
|
|
2450
2448
|
hasFooter: boolean;
|
|
2451
2449
|
hasReset: boolean;
|
|
2450
|
+
hasLabel: boolean;
|
|
2452
2451
|
submitText: string;
|
|
2453
2452
|
resetText: string;
|
|
2454
2453
|
submitLoading: boolean;
|
|
@@ -2458,14 +2457,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2458
2457
|
class?: any;
|
|
2459
2458
|
} & RecordType>;
|
|
2460
2459
|
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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2467
2466
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2468
|
-
|
|
2467
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2468
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
2469
2469
|
formInstance: FormInstance | null;
|
|
2470
2470
|
handleSubmit: () => void;
|
|
2471
2471
|
handleReset: () => void;
|
|
@@ -2483,8 +2483,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2483
2483
|
prop: PlusColumn["prop"];
|
|
2484
2484
|
}> & {
|
|
2485
2485
|
readonly label: string | ComputedRef<string>;
|
|
2486
|
-
readonly modelValue: string | number | boolean |
|
|
2487
|
-
readonly hasLabel: boolean |
|
|
2486
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2487
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
2488
2488
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2489
2489
|
style?: CSSProperties;
|
|
2490
2490
|
class?: any;
|
|
@@ -2557,8 +2557,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2557
2557
|
fieldInstance?: any;
|
|
2558
2558
|
valueIsReady?: Ref<boolean>;
|
|
2559
2559
|
prop: PlusColumn["prop"];
|
|
2560
|
-
modelValue: string | number | boolean |
|
|
2561
|
-
hasLabel: boolean |
|
|
2560
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2561
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
2562
2562
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2563
2563
|
style?: CSSProperties;
|
|
2564
2564
|
class?: any;
|
|
@@ -2596,8 +2596,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2596
2596
|
prop: PlusColumn["prop"];
|
|
2597
2597
|
}> & {
|
|
2598
2598
|
readonly label: string | ComputedRef<string>;
|
|
2599
|
-
readonly modelValue: string | number | boolean |
|
|
2600
|
-
readonly hasLabel: boolean |
|
|
2599
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2600
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
2601
2601
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2602
2602
|
style?: CSSProperties;
|
|
2603
2603
|
class?: any;
|
|
@@ -2670,8 +2670,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2670
2670
|
fieldInstance?: any;
|
|
2671
2671
|
valueIsReady?: Ref<boolean>;
|
|
2672
2672
|
prop: PlusColumn["prop"];
|
|
2673
|
-
modelValue: string | number | boolean |
|
|
2674
|
-
hasLabel: boolean |
|
|
2673
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2674
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
2675
2675
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2676
2676
|
style?: CSSProperties;
|
|
2677
2677
|
class?: any;
|
|
@@ -2728,25 +2728,25 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2728
2728
|
reset: (values: FieldValues) => void;
|
|
2729
2729
|
collapse: (isShowUnfold: boolean) => void;
|
|
2730
2730
|
}, string, {
|
|
2731
|
-
|
|
2731
|
+
modelValue: FieldValues;
|
|
2732
|
+
columns: PlusColumn[];
|
|
2732
2733
|
layout: "flex" | "grid";
|
|
2733
2734
|
inline: boolean;
|
|
2734
|
-
|
|
2735
|
-
modelValue: FieldValues;
|
|
2735
|
+
ellipsis: boolean;
|
|
2736
2736
|
labelPosition: "left" | "right" | "top";
|
|
2737
|
-
|
|
2738
|
-
|
|
2737
|
+
defaultValues: FieldValues;
|
|
2738
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2739
2739
|
style?: CSSProperties;
|
|
2740
2740
|
class?: any;
|
|
2741
2741
|
} & RecordType>;
|
|
2742
|
-
|
|
2742
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2743
2743
|
style?: CSSProperties;
|
|
2744
2744
|
class?: any;
|
|
2745
2745
|
} & RecordType>;
|
|
2746
|
-
defaultValues: FieldValues;
|
|
2747
2746
|
hasFooter: boolean;
|
|
2748
2747
|
hasReset: boolean;
|
|
2749
2748
|
resetText: string;
|
|
2749
|
+
showNumber: number;
|
|
2750
2750
|
hasUnfold: boolean;
|
|
2751
2751
|
defaultUnfold: boolean;
|
|
2752
2752
|
searchText: string;
|
|
@@ -2777,25 +2777,25 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2777
2777
|
$nextTick: nextTick;
|
|
2778
2778
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
2779
2779
|
} & Readonly<{
|
|
2780
|
-
|
|
2780
|
+
modelValue: FieldValues;
|
|
2781
|
+
columns: PlusColumn[];
|
|
2781
2782
|
layout: "flex" | "grid";
|
|
2782
2783
|
inline: boolean;
|
|
2783
|
-
|
|
2784
|
-
modelValue: FieldValues;
|
|
2784
|
+
ellipsis: boolean;
|
|
2785
2785
|
labelPosition: "left" | "right" | "top";
|
|
2786
|
-
|
|
2787
|
-
|
|
2786
|
+
defaultValues: FieldValues;
|
|
2787
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2788
2788
|
style?: CSSProperties;
|
|
2789
2789
|
class?: any;
|
|
2790
2790
|
} & RecordType>;
|
|
2791
|
-
|
|
2791
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2792
2792
|
style?: CSSProperties;
|
|
2793
2793
|
class?: any;
|
|
2794
2794
|
} & RecordType>;
|
|
2795
|
-
defaultValues: FieldValues;
|
|
2796
2795
|
hasFooter: boolean;
|
|
2797
2796
|
hasReset: boolean;
|
|
2798
2797
|
resetText: string;
|
|
2798
|
+
showNumber: number;
|
|
2799
2799
|
hasUnfold: boolean;
|
|
2800
2800
|
defaultUnfold: boolean;
|
|
2801
2801
|
searchText: string;
|
|
@@ -2809,38 +2809,37 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2809
2809
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2810
2810
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2811
2811
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
2812
|
-
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
2813
2812
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2814
|
-
|
|
2813
|
+
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
2814
|
+
}>, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold" | ("modelValue" | "columns" | "layout" | "inline" | "ellipsis" | "labelPosition" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "showNumber" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon")> & {
|
|
2815
2815
|
plusFormInstance: ({
|
|
2816
2816
|
$: ComponentInternalInstance;
|
|
2817
2817
|
$data: {};
|
|
2818
2818
|
$props: Partial<{
|
|
2819
|
-
ellipsis: boolean;
|
|
2820
|
-
layout: "grid" | "flex";
|
|
2821
|
-
columns: PlusColumn[];
|
|
2822
2819
|
modelValue: FieldValues;
|
|
2823
|
-
|
|
2824
|
-
|
|
2820
|
+
columns: PlusColumn[];
|
|
2821
|
+
layout: "grid" | "flex";
|
|
2822
|
+
ellipsis: boolean;
|
|
2823
|
+
collapseDuration: number;
|
|
2824
|
+
collapseTransition: boolean;
|
|
2825
|
+
group: false | PlusFormGroupRow[];
|
|
2825
2826
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2827
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2826
2828
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2829
|
+
rules: ElementPlusFormProps["rules"];
|
|
2830
|
+
defaultValues: FieldValues;
|
|
2831
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2830
2832
|
style?: CSSProperties;
|
|
2831
2833
|
class?: any;
|
|
2832
2834
|
} & RecordType>;
|
|
2833
|
-
|
|
2834
|
-
collapseDuration: number;
|
|
2835
|
-
collapseTransition: boolean;
|
|
2836
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2835
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2837
2836
|
style?: CSSProperties;
|
|
2838
2837
|
class?: any;
|
|
2839
2838
|
} & RecordType>;
|
|
2840
|
-
defaultValues: FieldValues;
|
|
2841
2839
|
hasErrorTip: boolean;
|
|
2842
2840
|
hasFooter: boolean;
|
|
2843
2841
|
hasReset: boolean;
|
|
2842
|
+
hasLabel: boolean;
|
|
2844
2843
|
submitText: string;
|
|
2845
2844
|
resetText: string;
|
|
2846
2845
|
submitLoading: boolean;
|
|
@@ -2850,14 +2849,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2850
2849
|
class?: any;
|
|
2851
2850
|
} & RecordType>;
|
|
2852
2851
|
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 onValidate?: ((...args: any[]) => any) | undefined;
|
|
2859
2858
|
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2860
|
-
|
|
2859
|
+
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
2860
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
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: "submitError", errors: unknown) => void) & ((event: "validate", ...args: any[]) => 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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2879
2878
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2879
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2880
2880
|
}>, {
|
|
2881
2881
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
2882
2882
|
handleSubmit: () => void;
|
|
@@ -2889,31 +2889,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2889
2889
|
submitError: (errors: unknown) => void;
|
|
2890
2890
|
validate: (...args: any[]) => void;
|
|
2891
2891
|
}, string, {
|
|
2892
|
-
ellipsis: boolean;
|
|
2893
|
-
layout: "grid" | "flex";
|
|
2894
|
-
columns: PlusColumn[];
|
|
2895
2892
|
modelValue: FieldValues;
|
|
2896
|
-
|
|
2897
|
-
|
|
2893
|
+
columns: PlusColumn[];
|
|
2894
|
+
layout: "grid" | "flex";
|
|
2895
|
+
ellipsis: boolean;
|
|
2896
|
+
collapseDuration: number;
|
|
2897
|
+
collapseTransition: boolean;
|
|
2898
|
+
group: false | PlusFormGroupRow[];
|
|
2898
2899
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2900
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2899
2901
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2902
|
+
rules: ElementPlusFormProps["rules"];
|
|
2903
|
+
defaultValues: FieldValues;
|
|
2904
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2903
2905
|
style?: CSSProperties;
|
|
2904
2906
|
class?: any;
|
|
2905
2907
|
} & RecordType>;
|
|
2906
|
-
|
|
2907
|
-
collapseDuration: number;
|
|
2908
|
-
collapseTransition: boolean;
|
|
2909
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2908
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2910
2909
|
style?: CSSProperties;
|
|
2911
2910
|
class?: any;
|
|
2912
2911
|
} & RecordType>;
|
|
2913
|
-
defaultValues: FieldValues;
|
|
2914
2912
|
hasErrorTip: boolean;
|
|
2915
2913
|
hasFooter: boolean;
|
|
2916
2914
|
hasReset: boolean;
|
|
2915
|
+
hasLabel: boolean;
|
|
2917
2916
|
submitText: string;
|
|
2918
2917
|
resetText: string;
|
|
2919
2918
|
submitLoading: boolean;
|
|
@@ -2923,6 +2922,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2923
2922
|
class?: any;
|
|
2924
2923
|
} & RecordType>;
|
|
2925
2924
|
prevent: boolean;
|
|
2925
|
+
clearable: boolean;
|
|
2926
2926
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2927
2927
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2928
2928
|
created?: (() => void) | (() => void)[];
|
|
@@ -2944,31 +2944,30 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2944
2944
|
$nextTick: nextTick;
|
|
2945
2945
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
2946
2946
|
} & Readonly<{
|
|
2947
|
-
ellipsis: boolean;
|
|
2948
|
-
layout: "grid" | "flex";
|
|
2949
|
-
columns: PlusColumn[];
|
|
2950
2947
|
modelValue: FieldValues;
|
|
2951
|
-
|
|
2952
|
-
|
|
2948
|
+
columns: PlusColumn[];
|
|
2949
|
+
layout: "grid" | "flex";
|
|
2950
|
+
ellipsis: boolean;
|
|
2951
|
+
collapseDuration: number;
|
|
2952
|
+
collapseTransition: boolean;
|
|
2953
|
+
group: false | PlusFormGroupRow[];
|
|
2953
2954
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2955
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2954
2956
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2957
|
+
rules: ElementPlusFormProps["rules"];
|
|
2958
|
+
defaultValues: FieldValues;
|
|
2959
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2958
2960
|
style?: CSSProperties;
|
|
2959
2961
|
class?: any;
|
|
2960
2962
|
} & RecordType>;
|
|
2961
|
-
|
|
2962
|
-
collapseDuration: number;
|
|
2963
|
-
collapseTransition: boolean;
|
|
2964
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2963
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2965
2964
|
style?: CSSProperties;
|
|
2966
2965
|
class?: any;
|
|
2967
2966
|
} & RecordType>;
|
|
2968
|
-
defaultValues: FieldValues;
|
|
2969
2967
|
hasErrorTip: boolean;
|
|
2970
2968
|
hasFooter: boolean;
|
|
2971
2969
|
hasReset: boolean;
|
|
2970
|
+
hasLabel: boolean;
|
|
2972
2971
|
submitText: string;
|
|
2973
2972
|
resetText: string;
|
|
2974
2973
|
submitLoading: boolean;
|
|
@@ -2978,14 +2977,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
2978
2977
|
class?: any;
|
|
2979
2978
|
} & RecordType>;
|
|
2980
2979
|
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
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2987
2986
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2988
|
-
|
|
2987
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2988
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("modelValue" | "columns" | "layout" | "ellipsis" | "collapseDuration" | "collapseTransition" | "group" | "labelWidth" | "labelPosition" | "labelSuffix" | "rules" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "hasLabel" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable")> & {
|
|
2989
2989
|
formInstance: FormInstance | null;
|
|
2990
2990
|
handleSubmit: () => void;
|
|
2991
2991
|
handleReset: () => void;
|
|
@@ -3003,8 +3003,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3003
3003
|
prop: PlusColumn["prop"];
|
|
3004
3004
|
}> & {
|
|
3005
3005
|
readonly label: string | ComputedRef<string>;
|
|
3006
|
-
readonly modelValue: string | number | boolean |
|
|
3007
|
-
readonly hasLabel: boolean |
|
|
3006
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3007
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
3008
3008
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3009
3009
|
style?: CSSProperties;
|
|
3010
3010
|
class?: any;
|
|
@@ -3077,8 +3077,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3077
3077
|
fieldInstance?: any;
|
|
3078
3078
|
valueIsReady?: Ref<boolean>;
|
|
3079
3079
|
prop: PlusColumn["prop"];
|
|
3080
|
-
modelValue: string | number | boolean |
|
|
3081
|
-
hasLabel: boolean |
|
|
3080
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3081
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
3082
3082
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3083
3083
|
style?: CSSProperties;
|
|
3084
3084
|
class?: any;
|
|
@@ -3116,8 +3116,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3116
3116
|
prop: PlusColumn["prop"];
|
|
3117
3117
|
}> & {
|
|
3118
3118
|
readonly label: string | ComputedRef<string>;
|
|
3119
|
-
readonly modelValue: string | number | boolean |
|
|
3120
|
-
readonly hasLabel: boolean |
|
|
3119
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3120
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
3121
3121
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3122
3122
|
style?: CSSProperties;
|
|
3123
3123
|
class?: any;
|
|
@@ -3190,8 +3190,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3190
3190
|
fieldInstance?: any;
|
|
3191
3191
|
valueIsReady?: Ref<boolean>;
|
|
3192
3192
|
prop: PlusColumn["prop"];
|
|
3193
|
-
modelValue: string | number | boolean |
|
|
3194
|
-
hasLabel: boolean |
|
|
3193
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3194
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
3195
3195
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3196
3196
|
style?: CSSProperties;
|
|
3197
3197
|
class?: any;
|
|
@@ -3247,8 +3247,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3247
3247
|
prop: PlusColumn["prop"];
|
|
3248
3248
|
}> & {
|
|
3249
3249
|
readonly label: string | ComputedRef<string>;
|
|
3250
|
-
readonly modelValue: string | number | boolean |
|
|
3251
|
-
readonly hasLabel: boolean |
|
|
3250
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3251
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
3252
3252
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3253
3253
|
style?: CSSProperties;
|
|
3254
3254
|
class?: any;
|
|
@@ -3321,8 +3321,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3321
3321
|
fieldInstance?: any;
|
|
3322
3322
|
valueIsReady?: Ref<boolean>;
|
|
3323
3323
|
prop: PlusColumn["prop"];
|
|
3324
|
-
modelValue: string | number | boolean |
|
|
3325
|
-
hasLabel: boolean |
|
|
3324
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3325
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
3326
3326
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
3327
3327
|
style?: CSSProperties;
|
|
3328
3328
|
class?: any;
|
|
@@ -3374,6 +3374,7 @@ 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";
|
|
3377
3378
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3378
3379
|
row: any[];
|
|
3379
3380
|
rowIndex: number;
|
|
@@ -3381,7 +3382,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3381
3382
|
columnIndex: number;
|
|
3382
3383
|
}) => CSSProperties>;
|
|
3383
3384
|
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" | "editable" | "headerCellStyle" | "actionBar" | "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,6 +3472,7 @@ 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";
|
|
3475
3476
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3476
3477
|
row: any[];
|
|
3477
3478
|
rowIndex: number;
|
|
@@ -3479,7 +3480,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3479
3480
|
columnIndex: number;
|
|
3480
3481
|
}) => CSSProperties>;
|
|
3481
3482
|
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,6 +3536,7 @@ 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";
|
|
3539
3540
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3540
3541
|
row: any[];
|
|
3541
3542
|
rowIndex: number;
|
|
@@ -3543,7 +3544,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3543
3544
|
columnIndex: number;
|
|
3544
3545
|
}) => CSSProperties>;
|
|
3545
3546
|
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" | "editable" | "headerCellStyle" | "actionBar" | "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,6 +3630,7 @@ 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";
|
|
3633
3634
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3634
3635
|
row: any[];
|
|
3635
3636
|
rowIndex: number;
|
|
@@ -3637,7 +3638,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3637
3638
|
columnIndex: number;
|
|
3638
3639
|
}) => CSSProperties>;
|
|
3639
3640
|
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" | "editable" | "headerCellStyle" | "actionBar" | "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,6 +3728,7 @@ 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";
|
|
3731
3732
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3732
3733
|
row: any[];
|
|
3733
3734
|
rowIndex: number;
|
|
@@ -3735,7 +3736,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3735
3736
|
columnIndex: number;
|
|
3736
3737
|
}) => CSSProperties>;
|
|
3737
3738
|
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,6 +3792,7 @@ 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";
|
|
3795
3796
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3796
3797
|
row: any[];
|
|
3797
3798
|
rowIndex: number;
|
|
@@ -3799,7 +3800,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3799
3800
|
columnIndex: number;
|
|
3800
3801
|
}) => CSSProperties>;
|
|
3801
3802
|
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" | "editable" | "headerCellStyle" | "actionBar" | "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>;
|
|
@@ -3885,11 +3885,11 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3885
3885
|
$props: Partial<{
|
|
3886
3886
|
data: RecordType[];
|
|
3887
3887
|
fixed: boolean;
|
|
3888
|
-
border: boolean;
|
|
3889
3888
|
columns: PlusColumn[];
|
|
3890
3889
|
rowKey: string;
|
|
3891
3890
|
pagination: false | Partial<PlusPaginationProps>;
|
|
3892
3891
|
stripe: boolean;
|
|
3892
|
+
border: boolean;
|
|
3893
3893
|
actionBar: false | Partial< ActionBarProps>;
|
|
3894
3894
|
scrollbarAlwaysOn: boolean;
|
|
3895
3895
|
titleBar: boolean | {
|
|
@@ -3920,7 +3920,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3920
3920
|
readonly onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3921
3921
|
readonly onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3922
3922
|
readonly onRefresh?: (() => any) | undefined;
|
|
3923
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "data" | "fixed" | "
|
|
3923
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "data" | "fixed" | "columns" | "rowKey" | "pagination" | "stripe" | "border" | "actionBar" | "scrollbarAlwaysOn" | "titleBar" | "defaultSize" | "tableData" | "hasIndexColumn" | "isSelection" | "loadingStatus" | "columnsEmptyText" | "headerHeight" | "rowHeight" | "defaultColumnWidth" | "selectionColumnWidth" | "indexColumnWidth">;
|
|
3924
3924
|
$attrs: Attrs;
|
|
3925
3925
|
$refs: {
|
|
3926
3926
|
[x: string]: unknown;
|
|
@@ -3974,11 +3974,11 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
3974
3974
|
}, string, {
|
|
3975
3975
|
data: RecordType[];
|
|
3976
3976
|
fixed: boolean;
|
|
3977
|
-
border: boolean;
|
|
3978
3977
|
columns: PlusColumn[];
|
|
3979
3978
|
rowKey: string;
|
|
3980
3979
|
pagination: false | Partial<PlusPaginationProps>;
|
|
3981
3980
|
stripe: boolean;
|
|
3981
|
+
border: boolean;
|
|
3982
3982
|
actionBar: false | Partial< ActionBarProps>;
|
|
3983
3983
|
scrollbarAlwaysOn: boolean;
|
|
3984
3984
|
titleBar: boolean | {
|
|
@@ -4019,11 +4019,11 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
4019
4019
|
} & Readonly<{
|
|
4020
4020
|
data: RecordType[];
|
|
4021
4021
|
fixed: boolean;
|
|
4022
|
-
border: boolean;
|
|
4023
4022
|
columns: PlusColumn[];
|
|
4024
4023
|
rowKey: string;
|
|
4025
4024
|
pagination: false | Partial<PlusPaginationProps>;
|
|
4026
4025
|
stripe: boolean;
|
|
4026
|
+
border: boolean;
|
|
4027
4027
|
actionBar: false | Partial< ActionBarProps>;
|
|
4028
4028
|
scrollbarAlwaysOn: boolean;
|
|
4029
4029
|
titleBar: boolean | {
|
|
@@ -4054,7 +4054,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
4054
4054
|
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
4055
4055
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4056
4056
|
onRefresh?: (() => any) | undefined;
|
|
4057
|
-
}>, "tableRef" | "clearSelection" | "toggleRowSelection" | "getSelectionRows" | "toggleAllSelection" | "scrollToRow" | ("data" | "fixed" | "
|
|
4057
|
+
}>, "tableRef" | "clearSelection" | "toggleRowSelection" | "getSelectionRows" | "toggleAllSelection" | "scrollToRow" | ("data" | "fixed" | "columns" | "rowKey" | "pagination" | "stripe" | "border" | "actionBar" | "scrollbarAlwaysOn" | "titleBar" | "defaultSize" | "tableData" | "hasIndexColumn" | "isSelection" | "loadingStatus" | "columnsEmptyText" | "headerHeight" | "rowHeight" | "defaultColumnWidth" | "selectionColumnWidth" | "indexColumnWidth")> & {
|
|
4058
4058
|
getSelectionRows: () => RecordType[];
|
|
4059
4059
|
clearSelection: () => void;
|
|
4060
4060
|
toggleRowSelection: (row: RecordType, selected?: boolean) => void;
|
|
@@ -4075,11 +4075,11 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
4075
4075
|
$props: Partial<{
|
|
4076
4076
|
data: RecordType[];
|
|
4077
4077
|
fixed: boolean;
|
|
4078
|
-
border: boolean;
|
|
4079
4078
|
columns: PlusColumn[];
|
|
4080
4079
|
rowKey: string;
|
|
4081
4080
|
pagination: false | Partial<PlusPaginationProps>;
|
|
4082
4081
|
stripe: boolean;
|
|
4082
|
+
border: boolean;
|
|
4083
4083
|
actionBar: false | Partial< ActionBarProps>;
|
|
4084
4084
|
scrollbarAlwaysOn: boolean;
|
|
4085
4085
|
titleBar: boolean | {
|
|
@@ -4110,7 +4110,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
4110
4110
|
readonly onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
4111
4111
|
readonly onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4112
4112
|
readonly onRefresh?: (() => any) | undefined;
|
|
4113
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "data" | "fixed" | "
|
|
4113
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "data" | "fixed" | "columns" | "rowKey" | "pagination" | "stripe" | "border" | "actionBar" | "scrollbarAlwaysOn" | "titleBar" | "defaultSize" | "tableData" | "hasIndexColumn" | "isSelection" | "loadingStatus" | "columnsEmptyText" | "headerHeight" | "rowHeight" | "defaultColumnWidth" | "selectionColumnWidth" | "indexColumnWidth">;
|
|
4114
4114
|
$attrs: Attrs;
|
|
4115
4115
|
$refs: {
|
|
4116
4116
|
[x: string]: unknown;
|
|
@@ -4164,11 +4164,11 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
4164
4164
|
}, string, {
|
|
4165
4165
|
data: RecordType[];
|
|
4166
4166
|
fixed: boolean;
|
|
4167
|
-
border: boolean;
|
|
4168
4167
|
columns: PlusColumn[];
|
|
4169
4168
|
rowKey: string;
|
|
4170
4169
|
pagination: false | Partial<PlusPaginationProps>;
|
|
4171
4170
|
stripe: boolean;
|
|
4171
|
+
border: boolean;
|
|
4172
4172
|
actionBar: false | Partial< ActionBarProps>;
|
|
4173
4173
|
scrollbarAlwaysOn: boolean;
|
|
4174
4174
|
titleBar: boolean | {
|
|
@@ -4209,11 +4209,11 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
4209
4209
|
} & Readonly<{
|
|
4210
4210
|
data: RecordType[];
|
|
4211
4211
|
fixed: boolean;
|
|
4212
|
-
border: boolean;
|
|
4213
4212
|
columns: PlusColumn[];
|
|
4214
4213
|
rowKey: string;
|
|
4215
4214
|
pagination: false | Partial<PlusPaginationProps>;
|
|
4216
4215
|
stripe: boolean;
|
|
4216
|
+
border: boolean;
|
|
4217
4217
|
actionBar: false | Partial< ActionBarProps>;
|
|
4218
4218
|
scrollbarAlwaysOn: boolean;
|
|
4219
4219
|
titleBar: boolean | {
|
|
@@ -4244,7 +4244,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
4244
4244
|
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
4245
4245
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4246
4246
|
onRefresh?: (() => any) | undefined;
|
|
4247
|
-
}>, "tableRef" | "clearSelection" | "toggleRowSelection" | "getSelectionRows" | "toggleAllSelection" | "scrollToRow" | ("data" | "fixed" | "
|
|
4247
|
+
}>, "tableRef" | "clearSelection" | "toggleRowSelection" | "getSelectionRows" | "toggleAllSelection" | "scrollToRow" | ("data" | "fixed" | "columns" | "rowKey" | "pagination" | "stripe" | "border" | "actionBar" | "scrollbarAlwaysOn" | "titleBar" | "defaultSize" | "tableData" | "hasIndexColumn" | "isSelection" | "loadingStatus" | "columnsEmptyText" | "headerHeight" | "rowHeight" | "defaultColumnWidth" | "selectionColumnWidth" | "indexColumnWidth")> & {
|
|
4248
4248
|
getSelectionRows: () => RecordType[];
|
|
4249
4249
|
clearSelection: () => void;
|
|
4250
4250
|
toggleRowSelection: (row: RecordType, selected?: boolean) => void;
|
|
@@ -4287,8 +4287,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
4287
4287
|
onRequestError?: ((error: unknown) => any) | undefined;
|
|
4288
4288
|
onRequestComplete?: ((tableData: RecordType[]) => any) | undefined;
|
|
4289
4289
|
}>, {
|
|
4290
|
-
search: false | Partial<PlusSearchProps & IntrinsicAttributes>;
|
|
4291
4290
|
table: Partial<PlusTableProps & IntrinsicAttributes>;
|
|
4291
|
+
search: false | Partial<PlusSearchProps & IntrinsicAttributes>;
|
|
4292
4292
|
columns: PlusColumn[];
|
|
4293
4293
|
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
4294
4294
|
immediate: boolean;
|