yc-pro-components 0.0.26 → 0.0.27
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/check-card/index.d.ts +57 -57
- package/es/components/check-card/src/index.vue.d.ts +14 -14
- package/es/components/check-card-group/index.d.ts +22 -22
- package/es/components/check-card-group/src/index.vue.d.ts +19 -19
- package/es/components/date-picker/index.d.ts +1 -1
- package/es/components/date-picker/src/index.vue.d.ts +1 -1
- package/es/components/descriptions/index.d.ts +39 -39
- package/es/components/descriptions/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +19 -19
- package/es/components/dialog/src/index.vue.d.ts +1 -1
- package/es/components/dialog-form/index.d.ts +47 -47
- package/es/components/dialog-form/src/index.vue.d.ts +7 -7
- package/es/components/display-item/index.d.ts +32 -32
- package/es/components/display-item/src/index.vue.d.ts +13 -13
- package/es/components/drawer-form/index.d.ts +28 -28
- package/es/components/drawer-form/src/index.vue.d.ts +6 -6
- package/es/components/form/index.d.ts +107 -107
- package/es/components/form/src/form-content.vue.d.ts +17 -17
- package/es/components/form/src/index.vue.d.ts +16 -16
- package/es/components/form-item/index.d.ts +128 -128
- package/es/components/form-item/src/index.vue.d.ts +16 -16
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +11 -11
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +895 -895
- package/es/components/page/src/index.vue.d.ts +289 -289
- package/es/components/pagination/index.d.ts +4 -4
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +26 -26
- package/es/components/radio/src/index.vue.d.ts +26 -26
- package/es/components/render/index.d.ts +17 -17
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +328 -328
- package/es/components/search/src/index.vue.d.ts +95 -95
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +74 -74
- package/es/components/table/src/index.vue.d.ts +19 -19
- package/es/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/es/components/table/src/table-column.vue.d.ts +28 -28
- package/es/components/utils/index.d.ts +15 -15
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +6 -6
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +729 -887
- package/es/components/yc-plus-page/src/index.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/index.vue2.mjs +4 -2
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +193 -193
- package/es/index.css +1 -1
- package/index.css +6 -6
- package/index.js +6 -4
- package/index.min.css +1 -1
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +6 -4
- package/lib/components/check-card/index.d.ts +57 -57
- package/lib/components/check-card/src/index.vue.d.ts +14 -14
- package/lib/components/check-card-group/index.d.ts +22 -22
- package/lib/components/check-card-group/src/index.vue.d.ts +19 -19
- package/lib/components/date-picker/index.d.ts +1 -1
- package/lib/components/date-picker/src/index.vue.d.ts +1 -1
- package/lib/components/descriptions/index.d.ts +39 -39
- package/lib/components/descriptions/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +19 -19
- package/lib/components/dialog/src/index.vue.d.ts +1 -1
- package/lib/components/dialog-form/index.d.ts +47 -47
- package/lib/components/dialog-form/src/index.vue.d.ts +7 -7
- package/lib/components/display-item/index.d.ts +32 -32
- package/lib/components/display-item/src/index.vue.d.ts +13 -13
- package/lib/components/drawer-form/index.d.ts +28 -28
- package/lib/components/drawer-form/src/index.vue.d.ts +6 -6
- package/lib/components/form/index.d.ts +107 -107
- package/lib/components/form/src/form-content.vue.d.ts +17 -17
- package/lib/components/form/src/index.vue.d.ts +16 -16
- package/lib/components/form-item/index.d.ts +128 -128
- package/lib/components/form-item/src/index.vue.d.ts +16 -16
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +11 -11
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +895 -895
- package/lib/components/page/src/index.vue.d.ts +289 -289
- package/lib/components/pagination/index.d.ts +4 -4
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +26 -26
- package/lib/components/radio/src/index.vue.d.ts +26 -26
- package/lib/components/render/index.d.ts +17 -17
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +328 -328
- package/lib/components/search/src/index.vue.d.ts +95 -95
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +74 -74
- package/lib/components/table/src/index.vue.d.ts +19 -19
- package/lib/components/table/src/table-action-bar.vue.d.ts +3 -3
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +18 -18
- package/lib/components/table/src/table-column.vue.d.ts +28 -28
- package/lib/components/utils/index.d.ts +15 -15
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +6 -6
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +729 -887
- package/lib/components/yc-plus-page/src/index.vue.js +1 -1
- package/lib/components/yc-plus-page/src/index.vue2.js +4 -2
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +193 -193
- package/lib/index.css +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
|
@@ -5,7 +5,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
5
5
|
import { LooseRequired } from '@vue/shared';
|
|
6
6
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
7
7
|
import { PlusFormGroupRow, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, PlusFormSelfProps, ElementPlusFormProps } from 'packages/yc-components';
|
|
8
|
-
import {
|
|
8
|
+
import { RowProps, ColProps, FormItemRule, CardProps, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, TableColumnCtx, SummaryMethod, ColumnCls, ColumnStyle, CellCls, CellStyle, Sort, TreeNode, Translator, Table, TableProps } from 'element-plus';
|
|
9
9
|
import { DefineComponent, Ref, ComponentInternalInstance, CSSProperties, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, ShallowRef, PublicProps } from 'vue';
|
|
10
10
|
import { PlusPaginationProps } from 'yc-pro-components/es/components/pagination';
|
|
11
11
|
import { PlusTableProps, ActionBarProps, ColumnSetting, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow, PlusTableSelfProps } from 'yc-pro-components/es/components/table';
|
|
@@ -147,15 +147,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
147
147
|
labelPosition: "top" | "right" | "left";
|
|
148
148
|
inline: boolean;
|
|
149
149
|
showNumber: number;
|
|
150
|
-
|
|
150
|
+
defaultValues: FieldValues;
|
|
151
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
151
152
|
style?: CSSProperties | undefined;
|
|
152
153
|
class?: any;
|
|
153
154
|
} & RecordType>;
|
|
154
|
-
|
|
155
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
155
156
|
style?: CSSProperties | undefined;
|
|
156
157
|
class?: any;
|
|
157
158
|
} & RecordType>;
|
|
158
|
-
defaultValues: FieldValues;
|
|
159
159
|
hasFooter: boolean;
|
|
160
160
|
hasReset: boolean;
|
|
161
161
|
resetText: string;
|
|
@@ -174,15 +174,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
174
174
|
readonly modelValue: FieldValues;
|
|
175
175
|
readonly inline: boolean;
|
|
176
176
|
readonly showNumber: number;
|
|
177
|
-
readonly
|
|
177
|
+
readonly defaultValues: FieldValues;
|
|
178
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
178
179
|
style?: CSSProperties | undefined;
|
|
179
180
|
class?: any;
|
|
180
181
|
} & RecordType>;
|
|
181
|
-
readonly
|
|
182
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
182
183
|
style?: CSSProperties | undefined;
|
|
183
184
|
class?: any;
|
|
184
185
|
} & RecordType>;
|
|
185
|
-
readonly defaultValues: FieldValues;
|
|
186
186
|
readonly hasFooter: boolean;
|
|
187
187
|
readonly hasReset: boolean;
|
|
188
188
|
readonly resetText: string;
|
|
@@ -196,9 +196,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
196
196
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
197
197
|
readonly searchIcon?: Component | null | undefined;
|
|
198
198
|
readonly resetIcon?: Component | null | undefined;
|
|
199
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
200
199
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
201
200
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
201
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
202
202
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
203
203
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
204
204
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
@@ -226,6 +226,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
226
226
|
type: PropType<number>;
|
|
227
227
|
default: number;
|
|
228
228
|
};
|
|
229
|
+
defaultValues: {
|
|
230
|
+
type: PropType<FieldValues>;
|
|
231
|
+
default: () => {};
|
|
232
|
+
};
|
|
233
|
+
rowProps: {
|
|
234
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
235
|
+
style?: CSSProperties | undefined;
|
|
236
|
+
class?: any;
|
|
237
|
+
} & RecordType>>;
|
|
238
|
+
default: () => {
|
|
239
|
+
gutter: number;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
229
242
|
colProps: {
|
|
230
243
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
231
244
|
style?: CSSProperties | undefined;
|
|
@@ -239,19 +252,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
239
252
|
xl: number;
|
|
240
253
|
};
|
|
241
254
|
};
|
|
242
|
-
rowProps: {
|
|
243
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
244
|
-
style?: CSSProperties | undefined;
|
|
245
|
-
class?: any;
|
|
246
|
-
} & RecordType>>;
|
|
247
|
-
default: () => {
|
|
248
|
-
gutter: number;
|
|
249
|
-
};
|
|
250
|
-
};
|
|
251
|
-
defaultValues: {
|
|
252
|
-
type: PropType<FieldValues>;
|
|
253
|
-
default: () => {};
|
|
254
|
-
};
|
|
255
255
|
hasFooter: {
|
|
256
256
|
type: PropType<boolean>;
|
|
257
257
|
default: boolean;
|
|
@@ -301,12 +301,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
301
301
|
default: undefined;
|
|
302
302
|
};
|
|
303
303
|
}>> & {
|
|
304
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
305
304
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
306
305
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
306
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
307
307
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
308
308
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
309
|
-
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "
|
|
309
|
+
}, "columns" | "layout" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate" | "searchIcon" | "resetIcon">;
|
|
310
310
|
$attrs: {
|
|
311
311
|
[x: string]: unknown;
|
|
312
312
|
};
|
|
@@ -318,7 +318,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
318
318
|
}>;
|
|
319
319
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
320
320
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
321
|
-
$emit: ((event: "
|
|
321
|
+
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
322
322
|
$el: any;
|
|
323
323
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
324
324
|
columns: {
|
|
@@ -345,6 +345,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
345
345
|
type: PropType<number>;
|
|
346
346
|
default: number;
|
|
347
347
|
};
|
|
348
|
+
defaultValues: {
|
|
349
|
+
type: PropType<FieldValues>;
|
|
350
|
+
default: () => {};
|
|
351
|
+
};
|
|
352
|
+
rowProps: {
|
|
353
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
354
|
+
style?: CSSProperties | undefined;
|
|
355
|
+
class?: any;
|
|
356
|
+
} & RecordType>>;
|
|
357
|
+
default: () => {
|
|
358
|
+
gutter: number;
|
|
359
|
+
};
|
|
360
|
+
};
|
|
348
361
|
colProps: {
|
|
349
362
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
350
363
|
style?: CSSProperties | undefined;
|
|
@@ -358,19 +371,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
358
371
|
xl: number;
|
|
359
372
|
};
|
|
360
373
|
};
|
|
361
|
-
rowProps: {
|
|
362
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
363
|
-
style?: CSSProperties | undefined;
|
|
364
|
-
class?: any;
|
|
365
|
-
} & RecordType>>;
|
|
366
|
-
default: () => {
|
|
367
|
-
gutter: number;
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
defaultValues: {
|
|
371
|
-
type: PropType<FieldValues>;
|
|
372
|
-
default: () => {};
|
|
373
|
-
};
|
|
374
374
|
hasFooter: {
|
|
375
375
|
type: PropType<boolean>;
|
|
376
376
|
default: boolean;
|
|
@@ -420,9 +420,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
420
420
|
default: undefined;
|
|
421
421
|
};
|
|
422
422
|
}>> & {
|
|
423
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
424
423
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
425
424
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
425
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
426
426
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
427
427
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
428
428
|
}, {
|
|
@@ -430,6 +430,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
430
430
|
$: ComponentInternalInstance;
|
|
431
431
|
$data: {};
|
|
432
432
|
$props: Partial<{
|
|
433
|
+
collapseDuration: number;
|
|
434
|
+
collapseTransition: boolean;
|
|
433
435
|
columns: PlusColumn[];
|
|
434
436
|
group: false | PlusFormGroupRow[];
|
|
435
437
|
layout: "grid" | "flex";
|
|
@@ -439,18 +441,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
439
441
|
labelWidth: string | number;
|
|
440
442
|
labelSuffix: string;
|
|
441
443
|
hasLabel: boolean;
|
|
442
|
-
|
|
443
|
-
|
|
444
|
+
defaultValues: FieldValues;
|
|
445
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
444
446
|
style?: CSSProperties | undefined;
|
|
445
447
|
class?: any;
|
|
446
448
|
} & RecordType>;
|
|
447
|
-
|
|
448
|
-
collapseTransition: boolean;
|
|
449
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
449
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
450
450
|
style?: CSSProperties | undefined;
|
|
451
451
|
class?: any;
|
|
452
452
|
} & RecordType>;
|
|
453
|
-
defaultValues: FieldValues;
|
|
454
453
|
hasErrorTip: boolean;
|
|
455
454
|
hasFooter: boolean;
|
|
456
455
|
hasReset: boolean;
|
|
@@ -463,6 +462,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
463
462
|
class?: any;
|
|
464
463
|
} & RecordType>;
|
|
465
464
|
prevent: boolean;
|
|
465
|
+
clearable: boolean;
|
|
466
466
|
}> & Omit<{
|
|
467
467
|
readonly columns: PlusColumn[];
|
|
468
468
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -473,16 +473,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
473
473
|
readonly labelWidth: string | number;
|
|
474
474
|
readonly labelSuffix: string;
|
|
475
475
|
readonly hasLabel: boolean;
|
|
476
|
-
readonly
|
|
477
|
-
readonly
|
|
476
|
+
readonly defaultValues: FieldValues;
|
|
477
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
478
478
|
style?: CSSProperties | undefined;
|
|
479
479
|
class?: any;
|
|
480
480
|
} & RecordType>;
|
|
481
|
-
readonly
|
|
481
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
482
482
|
style?: CSSProperties | undefined;
|
|
483
483
|
class?: any;
|
|
484
484
|
} & RecordType>;
|
|
485
|
-
readonly defaultValues: FieldValues;
|
|
486
485
|
readonly hasErrorTip: boolean;
|
|
487
486
|
readonly hasFooter: boolean;
|
|
488
487
|
readonly hasReset: boolean;
|
|
@@ -495,15 +494,24 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
495
494
|
class?: any;
|
|
496
495
|
} & RecordType>;
|
|
497
496
|
readonly prevent: boolean;
|
|
497
|
+
readonly clearable: boolean;
|
|
498
498
|
readonly collapseDuration?: number | undefined;
|
|
499
499
|
readonly collapseTransition?: boolean | undefined;
|
|
500
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
501
500
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
502
501
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
503
502
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
503
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
504
504
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
505
505
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
506
506
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
507
|
+
collapseDuration: {
|
|
508
|
+
type: PropType<number>;
|
|
509
|
+
default: undefined;
|
|
510
|
+
};
|
|
511
|
+
collapseTransition: {
|
|
512
|
+
type: PropType<boolean>;
|
|
513
|
+
default: undefined;
|
|
514
|
+
};
|
|
507
515
|
columns: {
|
|
508
516
|
type: PropType<PlusColumn[]>;
|
|
509
517
|
default: () => never[];
|
|
@@ -540,25 +548,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
540
548
|
type: PropType<boolean>;
|
|
541
549
|
default: boolean;
|
|
542
550
|
};
|
|
543
|
-
|
|
544
|
-
type: PropType<
|
|
545
|
-
default: boolean;
|
|
546
|
-
};
|
|
547
|
-
colProps: {
|
|
548
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
549
|
-
style?: CSSProperties | undefined;
|
|
550
|
-
class?: any;
|
|
551
|
-
} & RecordType>>;
|
|
551
|
+
defaultValues: {
|
|
552
|
+
type: PropType<FieldValues>;
|
|
552
553
|
default: () => {};
|
|
553
554
|
};
|
|
554
|
-
collapseDuration: {
|
|
555
|
-
type: PropType<number>;
|
|
556
|
-
default: undefined;
|
|
557
|
-
};
|
|
558
|
-
collapseTransition: {
|
|
559
|
-
type: PropType<boolean>;
|
|
560
|
-
default: undefined;
|
|
561
|
-
};
|
|
562
555
|
rowProps: {
|
|
563
556
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
564
557
|
style?: CSSProperties | undefined;
|
|
@@ -566,8 +559,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
566
559
|
} & RecordType>>;
|
|
567
560
|
default: () => {};
|
|
568
561
|
};
|
|
569
|
-
|
|
570
|
-
type: PropType<
|
|
562
|
+
colProps: {
|
|
563
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
564
|
+
style?: CSSProperties | undefined;
|
|
565
|
+
class?: any;
|
|
566
|
+
} & RecordType>>;
|
|
571
567
|
default: () => {};
|
|
572
568
|
};
|
|
573
569
|
hasErrorTip: {
|
|
@@ -609,14 +605,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
609
605
|
type: PropType<boolean>;
|
|
610
606
|
default: boolean;
|
|
611
607
|
};
|
|
608
|
+
clearable: {
|
|
609
|
+
type: PropType<boolean>;
|
|
610
|
+
default: boolean;
|
|
611
|
+
};
|
|
612
612
|
}>> & {
|
|
613
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
614
613
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
615
614
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
616
615
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
616
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
617
617
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
618
618
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
619
|
-
}, "
|
|
619
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
620
620
|
$attrs: {
|
|
621
621
|
[x: string]: unknown;
|
|
622
622
|
};
|
|
@@ -631,6 +631,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
631
631
|
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
632
632
|
$el: any;
|
|
633
633
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
634
|
+
collapseDuration: {
|
|
635
|
+
type: PropType<number>;
|
|
636
|
+
default: undefined;
|
|
637
|
+
};
|
|
638
|
+
collapseTransition: {
|
|
639
|
+
type: PropType<boolean>;
|
|
640
|
+
default: undefined;
|
|
641
|
+
};
|
|
634
642
|
columns: {
|
|
635
643
|
type: PropType<PlusColumn[]>;
|
|
636
644
|
default: () => never[];
|
|
@@ -667,25 +675,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
667
675
|
type: PropType<boolean>;
|
|
668
676
|
default: boolean;
|
|
669
677
|
};
|
|
670
|
-
|
|
671
|
-
type: PropType<
|
|
672
|
-
default: boolean;
|
|
673
|
-
};
|
|
674
|
-
colProps: {
|
|
675
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
676
|
-
style?: CSSProperties | undefined;
|
|
677
|
-
class?: any;
|
|
678
|
-
} & RecordType>>;
|
|
678
|
+
defaultValues: {
|
|
679
|
+
type: PropType<FieldValues>;
|
|
679
680
|
default: () => {};
|
|
680
681
|
};
|
|
681
|
-
collapseDuration: {
|
|
682
|
-
type: PropType<number>;
|
|
683
|
-
default: undefined;
|
|
684
|
-
};
|
|
685
|
-
collapseTransition: {
|
|
686
|
-
type: PropType<boolean>;
|
|
687
|
-
default: undefined;
|
|
688
|
-
};
|
|
689
682
|
rowProps: {
|
|
690
683
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
691
684
|
style?: CSSProperties | undefined;
|
|
@@ -693,8 +686,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
693
686
|
} & RecordType>>;
|
|
694
687
|
default: () => {};
|
|
695
688
|
};
|
|
696
|
-
|
|
697
|
-
type: PropType<
|
|
689
|
+
colProps: {
|
|
690
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
691
|
+
style?: CSSProperties | undefined;
|
|
692
|
+
class?: any;
|
|
693
|
+
} & RecordType>>;
|
|
698
694
|
default: () => {};
|
|
699
695
|
};
|
|
700
696
|
hasErrorTip: {
|
|
@@ -736,11 +732,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
736
732
|
type: PropType<boolean>;
|
|
737
733
|
default: boolean;
|
|
738
734
|
};
|
|
735
|
+
clearable: {
|
|
736
|
+
type: PropType<boolean>;
|
|
737
|
+
default: boolean;
|
|
738
|
+
};
|
|
739
739
|
}>> & {
|
|
740
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
741
740
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
742
741
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
743
742
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
743
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
744
744
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
745
745
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
746
746
|
}, {
|
|
@@ -1036,6 +1036,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1036
1036
|
submitError: (errors: unknown) => void;
|
|
1037
1037
|
validate: (...args: any[]) => void;
|
|
1038
1038
|
}, string, {
|
|
1039
|
+
collapseDuration: number;
|
|
1040
|
+
collapseTransition: boolean;
|
|
1039
1041
|
columns: PlusColumn[];
|
|
1040
1042
|
group: false | PlusFormGroupRow[];
|
|
1041
1043
|
layout: "grid" | "flex";
|
|
@@ -1045,18 +1047,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1045
1047
|
labelWidth: string | number;
|
|
1046
1048
|
labelSuffix: string;
|
|
1047
1049
|
hasLabel: boolean;
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
+
defaultValues: FieldValues;
|
|
1051
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1050
1052
|
style?: CSSProperties | undefined;
|
|
1051
1053
|
class?: any;
|
|
1052
1054
|
} & RecordType>;
|
|
1053
|
-
|
|
1054
|
-
collapseTransition: boolean;
|
|
1055
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1055
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1056
1056
|
style?: CSSProperties | undefined;
|
|
1057
1057
|
class?: any;
|
|
1058
1058
|
} & RecordType>;
|
|
1059
|
-
defaultValues: FieldValues;
|
|
1060
1059
|
hasErrorTip: boolean;
|
|
1061
1060
|
hasFooter: boolean;
|
|
1062
1061
|
hasReset: boolean;
|
|
@@ -1069,6 +1068,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1069
1068
|
class?: any;
|
|
1070
1069
|
} & RecordType>;
|
|
1071
1070
|
prevent: boolean;
|
|
1071
|
+
clearable: boolean;
|
|
1072
1072
|
}, {}, string, {}> & {
|
|
1073
1073
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
1074
1074
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1090,6 +1090,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1090
1090
|
$nextTick: nextTick;
|
|
1091
1091
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
1092
1092
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1093
|
+
collapseDuration: {
|
|
1094
|
+
type: PropType<number>;
|
|
1095
|
+
default: undefined;
|
|
1096
|
+
};
|
|
1097
|
+
collapseTransition: {
|
|
1098
|
+
type: PropType<boolean>;
|
|
1099
|
+
default: undefined;
|
|
1100
|
+
};
|
|
1093
1101
|
columns: {
|
|
1094
1102
|
type: PropType<PlusColumn[]>;
|
|
1095
1103
|
default: () => never[];
|
|
@@ -1126,25 +1134,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1126
1134
|
type: PropType<boolean>;
|
|
1127
1135
|
default: boolean;
|
|
1128
1136
|
};
|
|
1129
|
-
|
|
1130
|
-
type: PropType<
|
|
1131
|
-
default: boolean;
|
|
1132
|
-
};
|
|
1133
|
-
colProps: {
|
|
1134
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
1135
|
-
style?: CSSProperties | undefined;
|
|
1136
|
-
class?: any;
|
|
1137
|
-
} & RecordType>>;
|
|
1137
|
+
defaultValues: {
|
|
1138
|
+
type: PropType<FieldValues>;
|
|
1138
1139
|
default: () => {};
|
|
1139
1140
|
};
|
|
1140
|
-
collapseDuration: {
|
|
1141
|
-
type: PropType<number>;
|
|
1142
|
-
default: undefined;
|
|
1143
|
-
};
|
|
1144
|
-
collapseTransition: {
|
|
1145
|
-
type: PropType<boolean>;
|
|
1146
|
-
default: undefined;
|
|
1147
|
-
};
|
|
1148
1141
|
rowProps: {
|
|
1149
1142
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
1150
1143
|
style?: CSSProperties | undefined;
|
|
@@ -1152,8 +1145,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1152
1145
|
} & RecordType>>;
|
|
1153
1146
|
default: () => {};
|
|
1154
1147
|
};
|
|
1155
|
-
|
|
1156
|
-
type: PropType<
|
|
1148
|
+
colProps: {
|
|
1149
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
1150
|
+
style?: CSSProperties | undefined;
|
|
1151
|
+
class?: any;
|
|
1152
|
+
} & RecordType>>;
|
|
1157
1153
|
default: () => {};
|
|
1158
1154
|
};
|
|
1159
1155
|
hasErrorTip: {
|
|
@@ -1195,11 +1191,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1195
1191
|
type: PropType<boolean>;
|
|
1196
1192
|
default: boolean;
|
|
1197
1193
|
};
|
|
1194
|
+
clearable: {
|
|
1195
|
+
type: PropType<boolean>;
|
|
1196
|
+
default: boolean;
|
|
1197
|
+
};
|
|
1198
1198
|
}>> & {
|
|
1199
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1200
1199
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1201
1200
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1202
1201
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1202
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1203
1203
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1204
1204
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1205
1205
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -1500,9 +1500,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1500
1500
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1501
1501
|
columns?: PlusColumn[] | undefined;
|
|
1502
1502
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1503
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1503
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1504
1504
|
readonly label: string | ComputedRef<string>;
|
|
1505
|
-
readonly modelValue: string | number | boolean |
|
|
1505
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1506
1506
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1507
1507
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1508
1508
|
style?: CSSProperties | undefined;
|
|
@@ -1529,7 +1529,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1529
1529
|
};
|
|
1530
1530
|
rows: number;
|
|
1531
1531
|
autocomplete: string;
|
|
1532
|
-
type: "" | "number" | "default" | "
|
|
1532
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1533
1533
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1534
1534
|
step: string | number;
|
|
1535
1535
|
format: string | ProgressFn | undefined;
|
|
@@ -1574,7 +1574,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1574
1574
|
fieldInstance?: any;
|
|
1575
1575
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1576
1576
|
prop: string;
|
|
1577
|
-
modelValue: string | number | boolean |
|
|
1577
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1578
1578
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1579
1579
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1580
1580
|
style?: CSSProperties | undefined;
|
|
@@ -1608,9 +1608,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1608
1608
|
clearable: boolean;
|
|
1609
1609
|
index: number;
|
|
1610
1610
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1611
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
1611
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1612
1612
|
readonly label: string | ComputedRef<string>;
|
|
1613
|
-
readonly modelValue: string | number | boolean |
|
|
1613
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1614
1614
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1615
1615
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1616
1616
|
style?: CSSProperties | undefined;
|
|
@@ -1637,7 +1637,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1637
1637
|
};
|
|
1638
1638
|
rows: number;
|
|
1639
1639
|
autocomplete: string;
|
|
1640
|
-
type: "" | "number" | "default" | "
|
|
1640
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
1641
1641
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1642
1642
|
step: string | number;
|
|
1643
1643
|
format: string | ProgressFn | undefined;
|
|
@@ -1682,7 +1682,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1682
1682
|
fieldInstance?: any;
|
|
1683
1683
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1684
1684
|
prop: string;
|
|
1685
|
-
modelValue: string | number | boolean |
|
|
1685
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1686
1686
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1687
1687
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
1688
1688
|
style?: CSSProperties | undefined;
|
|
@@ -1745,15 +1745,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1745
1745
|
labelPosition: "top" | "right" | "left";
|
|
1746
1746
|
inline: boolean;
|
|
1747
1747
|
showNumber: number;
|
|
1748
|
-
|
|
1748
|
+
defaultValues: FieldValues;
|
|
1749
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1749
1750
|
style?: CSSProperties | undefined;
|
|
1750
1751
|
class?: any;
|
|
1751
1752
|
} & RecordType>;
|
|
1752
|
-
|
|
1753
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1753
1754
|
style?: CSSProperties | undefined;
|
|
1754
1755
|
class?: any;
|
|
1755
1756
|
} & RecordType>;
|
|
1756
|
-
defaultValues: FieldValues;
|
|
1757
1757
|
hasFooter: boolean;
|
|
1758
1758
|
hasReset: boolean;
|
|
1759
1759
|
resetText: string;
|
|
@@ -1811,6 +1811,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1811
1811
|
type: PropType<number>;
|
|
1812
1812
|
default: number;
|
|
1813
1813
|
};
|
|
1814
|
+
defaultValues: {
|
|
1815
|
+
type: PropType<FieldValues>;
|
|
1816
|
+
default: () => {};
|
|
1817
|
+
};
|
|
1818
|
+
rowProps: {
|
|
1819
|
+
type: PropType<Partial< Mutable<RowProps> & {
|
|
1820
|
+
style?: CSSProperties | undefined;
|
|
1821
|
+
class?: any;
|
|
1822
|
+
} & RecordType>>;
|
|
1823
|
+
default: () => {
|
|
1824
|
+
gutter: number;
|
|
1825
|
+
};
|
|
1826
|
+
};
|
|
1814
1827
|
colProps: {
|
|
1815
1828
|
type: PropType<Partial< Mutable<ColProps> & {
|
|
1816
1829
|
style?: CSSProperties | undefined;
|
|
@@ -1824,19 +1837,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1824
1837
|
xl: number;
|
|
1825
1838
|
};
|
|
1826
1839
|
};
|
|
1827
|
-
rowProps: {
|
|
1828
|
-
type: PropType<Partial< Mutable<RowProps> & {
|
|
1829
|
-
style?: CSSProperties | undefined;
|
|
1830
|
-
class?: any;
|
|
1831
|
-
} & RecordType>>;
|
|
1832
|
-
default: () => {
|
|
1833
|
-
gutter: number;
|
|
1834
|
-
};
|
|
1835
|
-
};
|
|
1836
|
-
defaultValues: {
|
|
1837
|
-
type: PropType<FieldValues>;
|
|
1838
|
-
default: () => {};
|
|
1839
|
-
};
|
|
1840
1840
|
hasFooter: {
|
|
1841
1841
|
type: PropType<boolean>;
|
|
1842
1842
|
default: boolean;
|
|
@@ -1886,9 +1886,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1886
1886
|
default: undefined;
|
|
1887
1887
|
};
|
|
1888
1888
|
}>> & {
|
|
1889
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1890
1889
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1891
1890
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1891
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1892
1892
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1893
1893
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1894
1894
|
}, "handleReset" | "plusFormInstance" | "handleSearch" | "handleUnfold"> & ShallowUnwrapRef<{
|
|
@@ -1896,6 +1896,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1896
1896
|
$: ComponentInternalInstance;
|
|
1897
1897
|
$data: {};
|
|
1898
1898
|
$props: Partial<{
|
|
1899
|
+
collapseDuration: number;
|
|
1900
|
+
collapseTransition: boolean;
|
|
1899
1901
|
columns: PlusColumn[];
|
|
1900
1902
|
group: false | PlusFormGroupRow[];
|
|
1901
1903
|
layout: "grid" | "flex";
|
|
@@ -1905,18 +1907,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1905
1907
|
labelWidth: string | number;
|
|
1906
1908
|
labelSuffix: string;
|
|
1907
1909
|
hasLabel: boolean;
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
+
defaultValues: FieldValues;
|
|
1911
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1910
1912
|
style?: CSSProperties | undefined;
|
|
1911
1913
|
class?: any;
|
|
1912
1914
|
} & RecordType>;
|
|
1913
|
-
|
|
1914
|
-
collapseTransition: boolean;
|
|
1915
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1915
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1916
1916
|
style?: CSSProperties | undefined;
|
|
1917
1917
|
class?: any;
|
|
1918
1918
|
} & RecordType>;
|
|
1919
|
-
defaultValues: FieldValues;
|
|
1920
1919
|
hasErrorTip: boolean;
|
|
1921
1920
|
hasFooter: boolean;
|
|
1922
1921
|
hasReset: boolean;
|
|
@@ -1929,6 +1928,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1929
1928
|
class?: any;
|
|
1930
1929
|
} & RecordType>;
|
|
1931
1930
|
prevent: boolean;
|
|
1931
|
+
clearable: boolean;
|
|
1932
1932
|
}> & Omit<{
|
|
1933
1933
|
readonly columns: PlusColumn[];
|
|
1934
1934
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -1939,16 +1939,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1939
1939
|
readonly labelWidth: string | number;
|
|
1940
1940
|
readonly labelSuffix: string;
|
|
1941
1941
|
readonly hasLabel: boolean;
|
|
1942
|
-
readonly
|
|
1943
|
-
readonly
|
|
1942
|
+
readonly defaultValues: FieldValues;
|
|
1943
|
+
readonly rowProps: Partial< Mutable<RowProps> & {
|
|
1944
1944
|
style?: CSSProperties | undefined;
|
|
1945
1945
|
class?: any;
|
|
1946
1946
|
} & RecordType>;
|
|
1947
|
-
readonly
|
|
1947
|
+
readonly colProps: Partial< Mutable<ColProps> & {
|
|
1948
1948
|
style?: CSSProperties | undefined;
|
|
1949
1949
|
class?: any;
|
|
1950
1950
|
} & RecordType>;
|
|
1951
|
-
readonly defaultValues: FieldValues;
|
|
1952
1951
|
readonly hasErrorTip: boolean;
|
|
1953
1952
|
readonly hasFooter: boolean;
|
|
1954
1953
|
readonly hasReset: boolean;
|
|
@@ -1961,15 +1960,24 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1961
1960
|
class?: any;
|
|
1962
1961
|
} & RecordType>;
|
|
1963
1962
|
readonly prevent: boolean;
|
|
1963
|
+
readonly clearable: boolean;
|
|
1964
1964
|
readonly collapseDuration?: number | undefined;
|
|
1965
1965
|
readonly collapseTransition?: boolean | undefined;
|
|
1966
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1967
1966
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1968
1967
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1969
1968
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1969
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1970
1970
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1971
1971
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1972
1972
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1973
|
+
collapseDuration: {
|
|
1974
|
+
type: PropType<number>;
|
|
1975
|
+
default: undefined;
|
|
1976
|
+
};
|
|
1977
|
+
collapseTransition: {
|
|
1978
|
+
type: PropType<boolean>;
|
|
1979
|
+
default: undefined;
|
|
1980
|
+
};
|
|
1973
1981
|
columns: {
|
|
1974
1982
|
type: PropType<PlusColumn[]>;
|
|
1975
1983
|
default: () => never[];
|
|
@@ -2006,25 +2014,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2006
2014
|
type: PropType<boolean>;
|
|
2007
2015
|
default: boolean;
|
|
2008
2016
|
};
|
|
2009
|
-
|
|
2010
|
-
type: PropType<
|
|
2011
|
-
default: boolean;
|
|
2012
|
-
};
|
|
2013
|
-
colProps: {
|
|
2014
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
2015
|
-
style?: CSSProperties | undefined;
|
|
2016
|
-
class?: any;
|
|
2017
|
-
} & RecordType>>;
|
|
2017
|
+
defaultValues: {
|
|
2018
|
+
type: PropType<FieldValues>;
|
|
2018
2019
|
default: () => {};
|
|
2019
2020
|
};
|
|
2020
|
-
collapseDuration: {
|
|
2021
|
-
type: PropType<number>;
|
|
2022
|
-
default: undefined;
|
|
2023
|
-
};
|
|
2024
|
-
collapseTransition: {
|
|
2025
|
-
type: PropType<boolean>;
|
|
2026
|
-
default: undefined;
|
|
2027
|
-
};
|
|
2028
2021
|
rowProps: {
|
|
2029
2022
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
2030
2023
|
style?: CSSProperties | undefined;
|
|
@@ -2032,8 +2025,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2032
2025
|
} & RecordType>>;
|
|
2033
2026
|
default: () => {};
|
|
2034
2027
|
};
|
|
2035
|
-
|
|
2036
|
-
type: PropType<
|
|
2028
|
+
colProps: {
|
|
2029
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2030
|
+
style?: CSSProperties | undefined;
|
|
2031
|
+
class?: any;
|
|
2032
|
+
} & RecordType>>;
|
|
2037
2033
|
default: () => {};
|
|
2038
2034
|
};
|
|
2039
2035
|
hasErrorTip: {
|
|
@@ -2075,14 +2071,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2075
2071
|
type: PropType<boolean>;
|
|
2076
2072
|
default: boolean;
|
|
2077
2073
|
};
|
|
2074
|
+
clearable: {
|
|
2075
|
+
type: PropType<boolean>;
|
|
2076
|
+
default: boolean;
|
|
2077
|
+
};
|
|
2078
2078
|
}>> & {
|
|
2079
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2080
2079
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2081
2080
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2082
2081
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2082
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2083
2083
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2084
2084
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2085
|
-
}, "
|
|
2085
|
+
}, "collapseDuration" | "collapseTransition" | "columns" | "group" | "layout" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "clearable">;
|
|
2086
2086
|
$attrs: {
|
|
2087
2087
|
[x: string]: unknown;
|
|
2088
2088
|
};
|
|
@@ -2097,6 +2097,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2097
2097
|
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2098
2098
|
$el: any;
|
|
2099
2099
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2100
|
+
collapseDuration: {
|
|
2101
|
+
type: PropType<number>;
|
|
2102
|
+
default: undefined;
|
|
2103
|
+
};
|
|
2104
|
+
collapseTransition: {
|
|
2105
|
+
type: PropType<boolean>;
|
|
2106
|
+
default: undefined;
|
|
2107
|
+
};
|
|
2100
2108
|
columns: {
|
|
2101
2109
|
type: PropType<PlusColumn[]>;
|
|
2102
2110
|
default: () => never[];
|
|
@@ -2133,25 +2141,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2133
2141
|
type: PropType<boolean>;
|
|
2134
2142
|
default: boolean;
|
|
2135
2143
|
};
|
|
2136
|
-
|
|
2137
|
-
type: PropType<
|
|
2138
|
-
default: boolean;
|
|
2139
|
-
};
|
|
2140
|
-
colProps: {
|
|
2141
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
2142
|
-
style?: CSSProperties | undefined;
|
|
2143
|
-
class?: any;
|
|
2144
|
-
} & RecordType>>;
|
|
2144
|
+
defaultValues: {
|
|
2145
|
+
type: PropType<FieldValues>;
|
|
2145
2146
|
default: () => {};
|
|
2146
2147
|
};
|
|
2147
|
-
collapseDuration: {
|
|
2148
|
-
type: PropType<number>;
|
|
2149
|
-
default: undefined;
|
|
2150
|
-
};
|
|
2151
|
-
collapseTransition: {
|
|
2152
|
-
type: PropType<boolean>;
|
|
2153
|
-
default: undefined;
|
|
2154
|
-
};
|
|
2155
2148
|
rowProps: {
|
|
2156
2149
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
2157
2150
|
style?: CSSProperties | undefined;
|
|
@@ -2159,8 +2152,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2159
2152
|
} & RecordType>>;
|
|
2160
2153
|
default: () => {};
|
|
2161
2154
|
};
|
|
2162
|
-
|
|
2163
|
-
type: PropType<
|
|
2155
|
+
colProps: {
|
|
2156
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2157
|
+
style?: CSSProperties | undefined;
|
|
2158
|
+
class?: any;
|
|
2159
|
+
} & RecordType>>;
|
|
2164
2160
|
default: () => {};
|
|
2165
2161
|
};
|
|
2166
2162
|
hasErrorTip: {
|
|
@@ -2202,11 +2198,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2202
2198
|
type: PropType<boolean>;
|
|
2203
2199
|
default: boolean;
|
|
2204
2200
|
};
|
|
2201
|
+
clearable: {
|
|
2202
|
+
type: PropType<boolean>;
|
|
2203
|
+
default: boolean;
|
|
2204
|
+
};
|
|
2205
2205
|
}>> & {
|
|
2206
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2207
2206
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2208
2207
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2209
2208
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2209
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2210
2210
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2211
2211
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2212
2212
|
}, {
|
|
@@ -2502,6 +2502,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2502
2502
|
submitError: (errors: unknown) => void;
|
|
2503
2503
|
validate: (...args: any[]) => void;
|
|
2504
2504
|
}, string, {
|
|
2505
|
+
collapseDuration: number;
|
|
2506
|
+
collapseTransition: boolean;
|
|
2505
2507
|
columns: PlusColumn[];
|
|
2506
2508
|
group: false | PlusFormGroupRow[];
|
|
2507
2509
|
layout: "grid" | "flex";
|
|
@@ -2511,18 +2513,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2511
2513
|
labelWidth: string | number;
|
|
2512
2514
|
labelSuffix: string;
|
|
2513
2515
|
hasLabel: boolean;
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
+
defaultValues: FieldValues;
|
|
2517
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2516
2518
|
style?: CSSProperties | undefined;
|
|
2517
2519
|
class?: any;
|
|
2518
2520
|
} & RecordType>;
|
|
2519
|
-
|
|
2520
|
-
collapseTransition: boolean;
|
|
2521
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2521
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2522
2522
|
style?: CSSProperties | undefined;
|
|
2523
2523
|
class?: any;
|
|
2524
2524
|
} & RecordType>;
|
|
2525
|
-
defaultValues: FieldValues;
|
|
2526
2525
|
hasErrorTip: boolean;
|
|
2527
2526
|
hasFooter: boolean;
|
|
2528
2527
|
hasReset: boolean;
|
|
@@ -2535,6 +2534,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2535
2534
|
class?: any;
|
|
2536
2535
|
} & RecordType>;
|
|
2537
2536
|
prevent: boolean;
|
|
2537
|
+
clearable: boolean;
|
|
2538
2538
|
}, {}, string, {}> & {
|
|
2539
2539
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2540
2540
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -2556,6 +2556,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2556
2556
|
$nextTick: nextTick;
|
|
2557
2557
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
2558
2558
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
2559
|
+
collapseDuration: {
|
|
2560
|
+
type: PropType<number>;
|
|
2561
|
+
default: undefined;
|
|
2562
|
+
};
|
|
2563
|
+
collapseTransition: {
|
|
2564
|
+
type: PropType<boolean>;
|
|
2565
|
+
default: undefined;
|
|
2566
|
+
};
|
|
2559
2567
|
columns: {
|
|
2560
2568
|
type: PropType<PlusColumn[]>;
|
|
2561
2569
|
default: () => never[];
|
|
@@ -2592,25 +2600,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2592
2600
|
type: PropType<boolean>;
|
|
2593
2601
|
default: boolean;
|
|
2594
2602
|
};
|
|
2595
|
-
|
|
2596
|
-
type: PropType<
|
|
2597
|
-
default: boolean;
|
|
2598
|
-
};
|
|
2599
|
-
colProps: {
|
|
2600
|
-
type: PropType<Partial< Mutable<ColProps> & {
|
|
2601
|
-
style?: CSSProperties | undefined;
|
|
2602
|
-
class?: any;
|
|
2603
|
-
} & RecordType>>;
|
|
2603
|
+
defaultValues: {
|
|
2604
|
+
type: PropType<FieldValues>;
|
|
2604
2605
|
default: () => {};
|
|
2605
2606
|
};
|
|
2606
|
-
collapseDuration: {
|
|
2607
|
-
type: PropType<number>;
|
|
2608
|
-
default: undefined;
|
|
2609
|
-
};
|
|
2610
|
-
collapseTransition: {
|
|
2611
|
-
type: PropType<boolean>;
|
|
2612
|
-
default: undefined;
|
|
2613
|
-
};
|
|
2614
2607
|
rowProps: {
|
|
2615
2608
|
type: PropType<Partial< Mutable<RowProps> & {
|
|
2616
2609
|
style?: CSSProperties | undefined;
|
|
@@ -2618,8 +2611,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2618
2611
|
} & RecordType>>;
|
|
2619
2612
|
default: () => {};
|
|
2620
2613
|
};
|
|
2621
|
-
|
|
2622
|
-
type: PropType<
|
|
2614
|
+
colProps: {
|
|
2615
|
+
type: PropType<Partial< Mutable<ColProps> & {
|
|
2616
|
+
style?: CSSProperties | undefined;
|
|
2617
|
+
class?: any;
|
|
2618
|
+
} & RecordType>>;
|
|
2623
2619
|
default: () => {};
|
|
2624
2620
|
};
|
|
2625
2621
|
hasErrorTip: {
|
|
@@ -2661,11 +2657,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2661
2657
|
type: PropType<boolean>;
|
|
2662
2658
|
default: boolean;
|
|
2663
2659
|
};
|
|
2660
|
+
clearable: {
|
|
2661
|
+
type: PropType<boolean>;
|
|
2662
|
+
default: boolean;
|
|
2663
|
+
};
|
|
2664
2664
|
}>> & {
|
|
2665
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2666
2665
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2667
2666
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2668
2667
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2668
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2669
2669
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2670
2670
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2671
2671
|
}, "formInstance" | "handleSubmit" | "handleReset"> & ShallowUnwrapRef<{
|
|
@@ -2966,9 +2966,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2966
2966
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2967
2967
|
columns?: PlusColumn[] | undefined;
|
|
2968
2968
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2969
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
2969
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2970
2970
|
readonly label: string | ComputedRef<string>;
|
|
2971
|
-
readonly modelValue: string | number | boolean |
|
|
2971
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2972
2972
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2973
2973
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
2974
2974
|
style?: CSSProperties | undefined;
|
|
@@ -2995,7 +2995,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2995
2995
|
};
|
|
2996
2996
|
rows: number;
|
|
2997
2997
|
autocomplete: string;
|
|
2998
|
-
type: "" | "number" | "default" | "
|
|
2998
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
2999
2999
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3000
3000
|
step: string | number;
|
|
3001
3001
|
format: string | ProgressFn | undefined;
|
|
@@ -3040,7 +3040,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3040
3040
|
fieldInstance?: any;
|
|
3041
3041
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3042
3042
|
prop: string;
|
|
3043
|
-
modelValue: string | number | boolean |
|
|
3043
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3044
3044
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3045
3045
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3046
3046
|
style?: CSSProperties | undefined;
|
|
@@ -3074,9 +3074,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3074
3074
|
clearable: boolean;
|
|
3075
3075
|
index: number;
|
|
3076
3076
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
3077
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
3077
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3078
3078
|
readonly label: string | ComputedRef<string>;
|
|
3079
|
-
readonly modelValue: string | number | boolean |
|
|
3079
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3080
3080
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3081
3081
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3082
3082
|
style?: CSSProperties | undefined;
|
|
@@ -3103,7 +3103,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3103
3103
|
};
|
|
3104
3104
|
rows: number;
|
|
3105
3105
|
autocomplete: string;
|
|
3106
|
-
type: "" | "number" | "default" | "
|
|
3106
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3107
3107
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3108
3108
|
step: string | number;
|
|
3109
3109
|
format: string | ProgressFn | undefined;
|
|
@@ -3148,7 +3148,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3148
3148
|
fieldInstance?: any;
|
|
3149
3149
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3150
3150
|
prop: string;
|
|
3151
|
-
modelValue: string | number | boolean |
|
|
3151
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3152
3152
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3153
3153
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3154
3154
|
style?: CSSProperties | undefined;
|
|
@@ -3200,9 +3200,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3200
3200
|
handleUnfold: (e: MouseEvent) => void;
|
|
3201
3201
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3202
3202
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3203
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
3203
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3204
3204
|
readonly label: string | ComputedRef<string>;
|
|
3205
|
-
readonly modelValue: string | number | boolean |
|
|
3205
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3206
3206
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3207
3207
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3208
3208
|
style?: CSSProperties | undefined;
|
|
@@ -3229,7 +3229,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3229
3229
|
};
|
|
3230
3230
|
rows: number;
|
|
3231
3231
|
autocomplete: string;
|
|
3232
|
-
type: "" | "number" | "default" | "
|
|
3232
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3233
3233
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3234
3234
|
step: string | number;
|
|
3235
3235
|
format: string | ProgressFn | undefined;
|
|
@@ -3274,7 +3274,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3274
3274
|
fieldInstance?: any;
|
|
3275
3275
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3276
3276
|
prop: string;
|
|
3277
|
-
modelValue: string | number | boolean |
|
|
3277
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3278
3278
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3279
3279
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3280
3280
|
style?: CSSProperties | undefined;
|
|
@@ -3321,8 +3321,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3321
3321
|
$: ComponentInternalInstance;
|
|
3322
3322
|
$data: {};
|
|
3323
3323
|
$props: Partial<{
|
|
3324
|
-
columns: PlusColumn[];
|
|
3325
3324
|
data: RecordType[];
|
|
3325
|
+
columns: PlusColumn[];
|
|
3326
3326
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3327
3327
|
row: any[];
|
|
3328
3328
|
rowIndex: number;
|
|
@@ -3368,8 +3368,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3368
3368
|
};
|
|
3369
3369
|
columnsEmptyText: string;
|
|
3370
3370
|
}> & Omit<{
|
|
3371
|
-
readonly columns: PlusColumn[];
|
|
3372
3371
|
readonly data: RecordType[];
|
|
3372
|
+
readonly columns: PlusColumn[];
|
|
3373
3373
|
readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
3374
3374
|
row: any[];
|
|
3375
3375
|
rowIndex: number;
|
|
@@ -3428,14 +3428,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3428
3428
|
onEdited?: (() => any) | undefined;
|
|
3429
3429
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3430
3430
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3431
|
-
columns: {
|
|
3432
|
-
type: PropType<PlusColumn[]>;
|
|
3433
|
-
default: () => never[];
|
|
3434
|
-
};
|
|
3435
3431
|
data: {
|
|
3436
3432
|
type: PropType<RecordType[]>;
|
|
3437
3433
|
default: () => never[];
|
|
3438
3434
|
};
|
|
3435
|
+
columns: {
|
|
3436
|
+
type: PropType<PlusColumn[]>;
|
|
3437
|
+
default: () => never[];
|
|
3438
|
+
};
|
|
3439
3439
|
height: {
|
|
3440
3440
|
type: PropType<string | number>;
|
|
3441
3441
|
};
|
|
@@ -3576,7 +3576,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3576
3576
|
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3577
3577
|
onEdited?: (() => any) | undefined;
|
|
3578
3578
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3579
|
-
}, "
|
|
3579
|
+
}, "data" | "columns" | "headerCellStyle" | "rowKey" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "pagination" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive" | "columnsEmptyText">;
|
|
3580
3580
|
$attrs: {
|
|
3581
3581
|
[x: string]: unknown;
|
|
3582
3582
|
};
|
|
@@ -3591,14 +3591,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3591
3591
|
$emit: ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "refresh") => void) & ((event: "edited") => void) & ((event: "cell-click", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "cell-dblclick", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "filterTableHeader", columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void) & ((event: "radioChange", row: RecordType, index: number, value: boolean) => void);
|
|
3592
3592
|
$el: any;
|
|
3593
3593
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3594
|
-
columns: {
|
|
3595
|
-
type: PropType<PlusColumn[]>;
|
|
3596
|
-
default: () => never[];
|
|
3597
|
-
};
|
|
3598
3594
|
data: {
|
|
3599
3595
|
type: PropType<RecordType[]>;
|
|
3600
3596
|
default: () => never[];
|
|
3601
3597
|
};
|
|
3598
|
+
columns: {
|
|
3599
|
+
type: PropType<PlusColumn[]>;
|
|
3600
|
+
default: () => never[];
|
|
3601
|
+
};
|
|
3602
3602
|
height: {
|
|
3603
3603
|
type: PropType<string | number>;
|
|
3604
3604
|
};
|
|
@@ -3752,9 +3752,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3752
3752
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3753
3753
|
__epPropKey: true;
|
|
3754
3754
|
};
|
|
3755
|
-
width: (
|
|
3756
|
-
height: (
|
|
3757
|
-
maxHeight: (
|
|
3755
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3756
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3757
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3758
3758
|
fit: {
|
|
3759
3759
|
type: BooleanConstructor;
|
|
3760
3760
|
default: boolean;
|
|
@@ -3778,13 +3778,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3778
3778
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3779
3779
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3780
3780
|
highlightCurrentRow: BooleanConstructor;
|
|
3781
|
-
currentRowKey: (
|
|
3781
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3782
3782
|
emptyText: StringConstructor;
|
|
3783
3783
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3784
3784
|
defaultExpandAll: BooleanConstructor;
|
|
3785
3785
|
defaultSort: PropType< Sort | undefined>;
|
|
3786
3786
|
tooltipEffect: StringConstructor;
|
|
3787
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3787
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3788
3788
|
spanMethod: PropType<((data: {
|
|
3789
3789
|
row: any;
|
|
3790
3790
|
rowIndex: number;
|
|
@@ -3828,7 +3828,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3828
3828
|
};
|
|
3829
3829
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
3830
3830
|
flexible: BooleanConstructor;
|
|
3831
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
3831
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3832
3832
|
}>> & {
|
|
3833
3833
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
3834
3834
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3950,9 +3950,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3950
3950
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3951
3951
|
__epPropKey: true;
|
|
3952
3952
|
};
|
|
3953
|
-
width: (
|
|
3954
|
-
height: (
|
|
3955
|
-
maxHeight: (
|
|
3953
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
3954
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
3955
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
3956
3956
|
fit: {
|
|
3957
3957
|
type: BooleanConstructor;
|
|
3958
3958
|
default: boolean;
|
|
@@ -3976,13 +3976,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3976
3976
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
3977
3977
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
3978
3978
|
highlightCurrentRow: BooleanConstructor;
|
|
3979
|
-
currentRowKey: (
|
|
3979
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
3980
3980
|
emptyText: StringConstructor;
|
|
3981
3981
|
expandRowKeys: PropType<any[] | undefined>;
|
|
3982
3982
|
defaultExpandAll: BooleanConstructor;
|
|
3983
3983
|
defaultSort: PropType< Sort | undefined>;
|
|
3984
3984
|
tooltipEffect: StringConstructor;
|
|
3985
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
3985
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
3986
3986
|
spanMethod: PropType<((data: {
|
|
3987
3987
|
row: any;
|
|
3988
3988
|
rowIndex: number;
|
|
@@ -4026,7 +4026,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4026
4026
|
};
|
|
4027
4027
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4028
4028
|
flexible: BooleanConstructor;
|
|
4029
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4029
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4030
4030
|
}>> & {
|
|
4031
4031
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4032
4032
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4085,9 +4085,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4085
4085
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4086
4086
|
__epPropKey: true;
|
|
4087
4087
|
};
|
|
4088
|
-
width: (
|
|
4089
|
-
height: (
|
|
4090
|
-
maxHeight: (
|
|
4088
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4089
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4090
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4091
4091
|
fit: {
|
|
4092
4092
|
type: BooleanConstructor;
|
|
4093
4093
|
default: boolean;
|
|
@@ -4111,13 +4111,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4111
4111
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4112
4112
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4113
4113
|
highlightCurrentRow: BooleanConstructor;
|
|
4114
|
-
currentRowKey: (
|
|
4114
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4115
4115
|
emptyText: StringConstructor;
|
|
4116
4116
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4117
4117
|
defaultExpandAll: BooleanConstructor;
|
|
4118
4118
|
defaultSort: PropType< Sort | undefined>;
|
|
4119
4119
|
tooltipEffect: StringConstructor;
|
|
4120
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4120
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4121
4121
|
spanMethod: PropType<((data: {
|
|
4122
4122
|
row: any;
|
|
4123
4123
|
rowIndex: number;
|
|
@@ -4161,7 +4161,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4161
4161
|
};
|
|
4162
4162
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4163
4163
|
flexible: BooleanConstructor;
|
|
4164
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4164
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4165
4165
|
}>> & {
|
|
4166
4166
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4167
4167
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4307,8 +4307,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4307
4307
|
filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
|
|
4308
4308
|
radioChange: (row: RecordType, index: number, value: boolean) => void;
|
|
4309
4309
|
}, string, {
|
|
4310
|
-
columns: PlusColumn[];
|
|
4311
4310
|
data: RecordType[];
|
|
4311
|
+
columns: PlusColumn[];
|
|
4312
4312
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
4313
4313
|
row: any[];
|
|
4314
4314
|
rowIndex: number;
|
|
@@ -4374,14 +4374,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4374
4374
|
$nextTick: nextTick;
|
|
4375
4375
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
4376
4376
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
4377
|
-
columns: {
|
|
4378
|
-
type: PropType<PlusColumn[]>;
|
|
4379
|
-
default: () => never[];
|
|
4380
|
-
};
|
|
4381
4377
|
data: {
|
|
4382
4378
|
type: PropType<RecordType[]>;
|
|
4383
4379
|
default: () => never[];
|
|
4384
4380
|
};
|
|
4381
|
+
columns: {
|
|
4382
|
+
type: PropType<PlusColumn[]>;
|
|
4383
|
+
default: () => never[];
|
|
4384
|
+
};
|
|
4385
4385
|
height: {
|
|
4386
4386
|
type: PropType<string | number>;
|
|
4387
4387
|
};
|
|
@@ -4535,9 +4535,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4535
4535
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4536
4536
|
__epPropKey: true;
|
|
4537
4537
|
};
|
|
4538
|
-
width: (
|
|
4539
|
-
height: (
|
|
4540
|
-
maxHeight: (
|
|
4538
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4539
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4540
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4541
4541
|
fit: {
|
|
4542
4542
|
type: BooleanConstructor;
|
|
4543
4543
|
default: boolean;
|
|
@@ -4561,13 +4561,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4561
4561
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4562
4562
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4563
4563
|
highlightCurrentRow: BooleanConstructor;
|
|
4564
|
-
currentRowKey: (
|
|
4564
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4565
4565
|
emptyText: StringConstructor;
|
|
4566
4566
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4567
4567
|
defaultExpandAll: BooleanConstructor;
|
|
4568
4568
|
defaultSort: PropType< Sort | undefined>;
|
|
4569
4569
|
tooltipEffect: StringConstructor;
|
|
4570
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4570
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4571
4571
|
spanMethod: PropType<((data: {
|
|
4572
4572
|
row: any;
|
|
4573
4573
|
rowIndex: number;
|
|
@@ -4611,7 +4611,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4611
4611
|
};
|
|
4612
4612
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4613
4613
|
flexible: BooleanConstructor;
|
|
4614
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4614
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4615
4615
|
}>> & {
|
|
4616
4616
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4617
4617
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4733,9 +4733,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4733
4733
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4734
4734
|
__epPropKey: true;
|
|
4735
4735
|
};
|
|
4736
|
-
width: (
|
|
4737
|
-
height: (
|
|
4738
|
-
maxHeight: (
|
|
4736
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4737
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4738
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4739
4739
|
fit: {
|
|
4740
4740
|
type: BooleanConstructor;
|
|
4741
4741
|
default: boolean;
|
|
@@ -4759,13 +4759,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4759
4759
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4760
4760
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4761
4761
|
highlightCurrentRow: BooleanConstructor;
|
|
4762
|
-
currentRowKey: (
|
|
4762
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4763
4763
|
emptyText: StringConstructor;
|
|
4764
4764
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4765
4765
|
defaultExpandAll: BooleanConstructor;
|
|
4766
4766
|
defaultSort: PropType< Sort | undefined>;
|
|
4767
4767
|
tooltipEffect: StringConstructor;
|
|
4768
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4768
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4769
4769
|
spanMethod: PropType<((data: {
|
|
4770
4770
|
row: any;
|
|
4771
4771
|
rowIndex: number;
|
|
@@ -4809,7 +4809,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4809
4809
|
};
|
|
4810
4810
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4811
4811
|
flexible: BooleanConstructor;
|
|
4812
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4812
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4813
4813
|
}>> & {
|
|
4814
4814
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4815
4815
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -4868,9 +4868,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4868
4868
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4869
4869
|
__epPropKey: true;
|
|
4870
4870
|
};
|
|
4871
|
-
width: (
|
|
4872
|
-
height: (
|
|
4873
|
-
maxHeight: (
|
|
4871
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
4872
|
+
height: (StringConstructor | NumberConstructor)[];
|
|
4873
|
+
maxHeight: (StringConstructor | NumberConstructor)[];
|
|
4874
4874
|
fit: {
|
|
4875
4875
|
type: BooleanConstructor;
|
|
4876
4876
|
default: boolean;
|
|
@@ -4894,13 +4894,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4894
4894
|
headerCellClassName: PropType< CellCls<any> | undefined>;
|
|
4895
4895
|
headerCellStyle: PropType< CellStyle<any> | undefined>;
|
|
4896
4896
|
highlightCurrentRow: BooleanConstructor;
|
|
4897
|
-
currentRowKey: (
|
|
4897
|
+
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
4898
4898
|
emptyText: StringConstructor;
|
|
4899
4899
|
expandRowKeys: PropType<any[] | undefined>;
|
|
4900
4900
|
defaultExpandAll: BooleanConstructor;
|
|
4901
4901
|
defaultSort: PropType< Sort | undefined>;
|
|
4902
4902
|
tooltipEffect: StringConstructor;
|
|
4903
|
-
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "
|
|
4903
|
+
tooltipOptions: PropType<Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4904
4904
|
spanMethod: PropType<((data: {
|
|
4905
4905
|
row: any;
|
|
4906
4906
|
rowIndex: number;
|
|
@@ -4944,7 +4944,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4944
4944
|
};
|
|
4945
4945
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
4946
4946
|
flexible: BooleanConstructor;
|
|
4947
|
-
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "
|
|
4947
|
+
showOverflowTooltip: PropType<boolean | Partial<Pick< ElTooltipProps, "placement" | "offset" | "popperOptions" | "transition" | "showArrow" | "appendTo" | "effect" | "enterable" | "popperClass" | "showAfter" | "hideAfter">> | undefined>;
|
|
4948
4948
|
}>> & {
|
|
4949
4949
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
4950
4950
|
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -5156,8 +5156,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5156
5156
|
onRequestError?: ((error: unknown) => any) | undefined;
|
|
5157
5157
|
onRequestComplete?: ((tableData: RecordType[]) => any) | undefined;
|
|
5158
5158
|
}, {
|
|
5159
|
-
columns: PlusColumn[];
|
|
5160
|
-
immediate: boolean;
|
|
5161
5159
|
search: false | Partial< PlusSearchSelfProps & PlusFormSelfProps & Partial< ElementPlusFormProps> & {
|
|
5162
5160
|
style?: CSSProperties | undefined;
|
|
5163
5161
|
class?: any;
|
|
@@ -5166,6 +5164,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5166
5164
|
style?: CSSProperties | undefined;
|
|
5167
5165
|
class?: any;
|
|
5168
5166
|
}>;
|
|
5167
|
+
columns: PlusColumn[];
|
|
5168
|
+
immediate: boolean;
|
|
5169
5169
|
params: RecordType;
|
|
5170
5170
|
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
5171
5171
|
columnsEmptyText: string;
|
|
@@ -5189,9 +5189,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5189
5189
|
};
|
|
5190
5190
|
searchSlot: boolean;
|
|
5191
5191
|
}, {}>, Partial<Record<never, (_: {
|
|
5192
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "
|
|
5192
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
5193
5193
|
readonly label: string | ComputedRef<string>;
|
|
5194
|
-
readonly modelValue: string | number | boolean |
|
|
5194
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5195
5195
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5196
5196
|
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5197
5197
|
style?: CSSProperties | undefined;
|
|
@@ -5218,7 +5218,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5218
5218
|
};
|
|
5219
5219
|
rows: number;
|
|
5220
5220
|
autocomplete: string;
|
|
5221
|
-
type: "" | "number" | "default" | "
|
|
5221
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
5222
5222
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
5223
5223
|
step: string | number;
|
|
5224
5224
|
format: string | ProgressFn | undefined;
|
|
@@ -5263,7 +5263,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
5263
5263
|
fieldInstance?: any;
|
|
5264
5264
|
valueIsReady?: Ref<boolean> | undefined;
|
|
5265
5265
|
prop: string;
|
|
5266
|
-
modelValue: string | number | boolean |
|
|
5266
|
+
modelValue: string | number | boolean | string[] | [string, string] | number[] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
5267
5267
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
5268
5268
|
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
5269
5269
|
style?: CSSProperties | undefined;
|