@wlydfe/pro-ui 0.2.24 → 0.2.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 +4 -4
- package/es/components/check-card/src/index.vue.d.ts +1 -1
- package/es/components/check-card-group/index.d.ts +4 -4
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +11 -11
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/descriptions/index.d.ts +19 -19
- package/es/components/descriptions/src/index.vue.d.ts +1 -1
- package/es/components/dialog/index.d.ts +30 -30
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +6 -6
- package/es/components/dialog-form/src/index.vue.d.ts +3 -3
- package/es/components/display-item/index.d.ts +25 -25
- package/es/components/display-item/src/index.vue.d.ts +7 -7
- package/es/components/drawer-form/index.d.ts +36 -36
- package/es/components/drawer-form/src/index.vue.d.ts +5 -5
- package/es/components/form/index.d.ts +88 -88
- package/es/components/form/src/form-content.vue.d.ts +9 -9
- package/es/components/form/src/index.vue.d.ts +11 -11
- package/es/components/form-item/index.d.ts +84 -84
- package/es/components/form-item/src/index.vue.d.ts +10 -10
- package/es/components/input-tag/index.d.ts +6 -6
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +992 -992
- package/es/components/page/src/index.vue.d.ts +324 -324
- package/es/components/pagination/index.d.ts +27 -27
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/popover/index.d.ts +49 -49
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +10 -10
- package/es/components/radio/src/index.vue.d.ts +2 -2
- package/es/components/render/index.d.ts +14 -14
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +266 -266
- package/es/components/search/src/index.vue.d.ts +77 -77
- package/es/components/sidebar/index.d.ts +16 -16
- 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 +164 -164
- package/es/components/table/src/index.vue.d.ts +13 -13
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
- package/es/components/table/src/table-column-index.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +22 -22
- package/es/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/es/index.css +12 -12
- package/index.js +1 -1
- package/index.min.js +1 -1
- package/index.min.mjs +1 -1
- package/index.mjs +1 -1
- package/lib/components/check-card/index.d.ts +4 -4
- package/lib/components/check-card/src/index.vue.d.ts +1 -1
- package/lib/components/check-card-group/index.d.ts +4 -4
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +11 -11
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/descriptions/index.d.ts +19 -19
- package/lib/components/descriptions/src/index.vue.d.ts +1 -1
- package/lib/components/dialog/index.d.ts +30 -30
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +6 -6
- package/lib/components/dialog-form/src/index.vue.d.ts +3 -3
- package/lib/components/display-item/index.d.ts +25 -25
- package/lib/components/display-item/src/index.vue.d.ts +7 -7
- package/lib/components/drawer-form/index.d.ts +36 -36
- package/lib/components/drawer-form/src/index.vue.d.ts +5 -5
- package/lib/components/form/index.d.ts +88 -88
- package/lib/components/form/src/form-content.vue.d.ts +9 -9
- package/lib/components/form/src/index.vue.d.ts +11 -11
- package/lib/components/form-item/index.d.ts +84 -84
- package/lib/components/form-item/src/index.vue.d.ts +10 -10
- package/lib/components/input-tag/index.d.ts +6 -6
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +992 -992
- package/lib/components/page/src/index.vue.d.ts +324 -324
- package/lib/components/pagination/index.d.ts +27 -27
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/popover/index.d.ts +49 -49
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +10 -10
- package/lib/components/radio/src/index.vue.d.ts +2 -2
- package/lib/components/render/index.d.ts +14 -14
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +266 -266
- package/lib/components/search/src/index.vue.d.ts +77 -77
- package/lib/components/sidebar/index.d.ts +16 -16
- 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 +164 -164
- package/lib/components/table/src/index.vue.d.ts +13 -13
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +2 -2
- package/lib/components/table/src/table-column-index.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +22 -22
- package/lib/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/lib/{form.css → index.css} +13 -13
- 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
|
@@ -6,7 +6,7 @@ import { LooseRequired } from '@vue/shared';
|
|
|
6
6
|
import { Arrayable, EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils';
|
|
7
7
|
import { PlusFormGroupRow, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/plus-pro-components';
|
|
8
8
|
import { DefineComponent, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, CreateComponentPublicInstance, ComputedRef, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, Component, CSSProperties, ShallowRef, PublicProps } from 'vue';
|
|
9
|
-
import { CardProps,
|
|
9
|
+
import { CardProps, ColProps, RowProps, FormItemRule, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, TableColumnCtx, SummaryMethod, ColumnCls, ColumnStyle, CellCls, CellStyle, Sort, TreeNode, Translator, Table } from 'element-plus';
|
|
10
10
|
import { PlusPaginationProps } from '@wlydfe/pro-ui/es/components/pagination';
|
|
11
11
|
import { PlusTableProps, ActionBarProps, ColumnSetting, ButtonsCallBackParams, FormChangeCallBackParams, FilterTableHeaderEventType, TableFormRefRow } from '@wlydfe/pro-ui/es/components/table';
|
|
12
12
|
import { PlusSearchProps } from '@wlydfe/pro-ui/es/components/search';
|
|
@@ -136,9 +136,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
136
136
|
labelPosition: "top" | "right" | "left";
|
|
137
137
|
inline: boolean;
|
|
138
138
|
showNumber: number;
|
|
139
|
-
defaultValues: FieldValues;
|
|
140
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
141
139
|
colProps: Partial<Mutable< ColProps>>;
|
|
140
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
141
|
+
defaultValues: FieldValues;
|
|
142
142
|
hasFooter: boolean;
|
|
143
143
|
hasReset: boolean;
|
|
144
144
|
resetText: string;
|
|
@@ -156,9 +156,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
156
156
|
readonly modelValue: FieldValues;
|
|
157
157
|
readonly inline: boolean;
|
|
158
158
|
readonly showNumber: number;
|
|
159
|
-
readonly defaultValues: FieldValues;
|
|
160
|
-
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
161
159
|
readonly colProps: Partial<Mutable< ColProps>>;
|
|
160
|
+
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
161
|
+
readonly defaultValues: FieldValues;
|
|
162
162
|
readonly hasFooter: boolean;
|
|
163
163
|
readonly hasReset: boolean;
|
|
164
164
|
readonly resetText: string;
|
|
@@ -172,8 +172,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
172
172
|
readonly buttonOrder: ("search" | "reset" | "fold")[];
|
|
173
173
|
readonly needValidate: boolean;
|
|
174
174
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
175
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
176
175
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
176
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
177
177
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
178
178
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
179
179
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
@@ -198,16 +198,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
198
198
|
type: PropType<number>;
|
|
199
199
|
default: number;
|
|
200
200
|
};
|
|
201
|
-
defaultValues: {
|
|
202
|
-
type: PropType<FieldValues>;
|
|
203
|
-
default: () => {};
|
|
204
|
-
};
|
|
205
|
-
rowProps: {
|
|
206
|
-
type: PropType<Partial<Mutable< RowProps>>>;
|
|
207
|
-
default: () => {
|
|
208
|
-
gutter: number;
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
201
|
colProps: {
|
|
212
202
|
type: PropType<Partial<Mutable< ColProps>>>;
|
|
213
203
|
default: () => {
|
|
@@ -218,6 +208,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
218
208
|
xl: number;
|
|
219
209
|
};
|
|
220
210
|
};
|
|
211
|
+
rowProps: {
|
|
212
|
+
type: PropType<Partial<Mutable< RowProps>>>;
|
|
213
|
+
default: () => {
|
|
214
|
+
gutter: number;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
defaultValues: {
|
|
218
|
+
type: PropType<FieldValues>;
|
|
219
|
+
default: () => {};
|
|
220
|
+
};
|
|
221
221
|
hasFooter: {
|
|
222
222
|
type: PropType<boolean>;
|
|
223
223
|
default: boolean;
|
|
@@ -267,12 +267,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
267
267
|
default: boolean;
|
|
268
268
|
};
|
|
269
269
|
}>> & {
|
|
270
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
271
270
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
271
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
272
272
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
273
273
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
274
274
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
275
|
-
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "
|
|
275
|
+
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "colProps" | "rowProps" | "defaultValues" | "hasFooter" | "hasReset" | "resetText" | "hasSearchIcon" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "buttonOrder" | "needValidate">;
|
|
276
276
|
$attrs: {
|
|
277
277
|
[x: string]: unknown;
|
|
278
278
|
};
|
|
@@ -284,7 +284,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
284
284
|
}>;
|
|
285
285
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
286
286
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
287
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "
|
|
287
|
+
$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);
|
|
288
288
|
$el: any;
|
|
289
289
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
290
290
|
columns: {
|
|
@@ -307,16 +307,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
307
307
|
type: PropType<number>;
|
|
308
308
|
default: number;
|
|
309
309
|
};
|
|
310
|
-
defaultValues: {
|
|
311
|
-
type: PropType<FieldValues>;
|
|
312
|
-
default: () => {};
|
|
313
|
-
};
|
|
314
|
-
rowProps: {
|
|
315
|
-
type: PropType<Partial<Mutable< RowProps>>>;
|
|
316
|
-
default: () => {
|
|
317
|
-
gutter: number;
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
310
|
colProps: {
|
|
321
311
|
type: PropType<Partial<Mutable< ColProps>>>;
|
|
322
312
|
default: () => {
|
|
@@ -327,6 +317,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
327
317
|
xl: number;
|
|
328
318
|
};
|
|
329
319
|
};
|
|
320
|
+
rowProps: {
|
|
321
|
+
type: PropType<Partial<Mutable< RowProps>>>;
|
|
322
|
+
default: () => {
|
|
323
|
+
gutter: number;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
defaultValues: {
|
|
327
|
+
type: PropType<FieldValues>;
|
|
328
|
+
default: () => {};
|
|
329
|
+
};
|
|
330
330
|
hasFooter: {
|
|
331
331
|
type: PropType<boolean>;
|
|
332
332
|
default: boolean;
|
|
@@ -376,8 +376,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
376
376
|
default: boolean;
|
|
377
377
|
};
|
|
378
378
|
}>> & {
|
|
379
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
380
379
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
380
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
381
381
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
382
382
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
383
383
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
@@ -394,9 +394,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
394
394
|
labelWidth: string | number;
|
|
395
395
|
labelSuffix: string;
|
|
396
396
|
hasLabel: boolean;
|
|
397
|
-
|
|
398
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
397
|
+
clearable: boolean;
|
|
399
398
|
colProps: Partial<Mutable< ColProps>>;
|
|
399
|
+
collapseDuration: number;
|
|
400
|
+
collapseTransition: boolean;
|
|
401
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
402
|
+
defaultValues: FieldValues;
|
|
400
403
|
hasErrorTip: boolean;
|
|
401
404
|
hasFooter: boolean;
|
|
402
405
|
hasReset: boolean;
|
|
@@ -406,9 +409,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
406
409
|
footerAlign: "right" | "left" | "center";
|
|
407
410
|
cardProps: Partial<Mutable<CardProps>>;
|
|
408
411
|
prevent: boolean;
|
|
409
|
-
collapseDuration: number;
|
|
410
|
-
collapseTransition: boolean;
|
|
411
|
-
clearable: boolean;
|
|
412
412
|
}> & Omit<{
|
|
413
413
|
readonly columns: PlusColumn[];
|
|
414
414
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -418,9 +418,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
418
418
|
readonly labelWidth: string | number;
|
|
419
419
|
readonly labelSuffix: string;
|
|
420
420
|
readonly hasLabel: boolean;
|
|
421
|
-
readonly
|
|
422
|
-
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
421
|
+
readonly clearable: boolean;
|
|
423
422
|
readonly colProps: Partial<Mutable< ColProps>>;
|
|
423
|
+
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
424
|
+
readonly defaultValues: FieldValues;
|
|
424
425
|
readonly hasErrorTip: boolean;
|
|
425
426
|
readonly hasFooter: boolean;
|
|
426
427
|
readonly hasReset: boolean;
|
|
@@ -430,11 +431,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
430
431
|
readonly footerAlign: "right" | "left" | "center";
|
|
431
432
|
readonly cardProps: Partial<Mutable<CardProps>>;
|
|
432
433
|
readonly prevent: boolean;
|
|
433
|
-
readonly clearable: boolean;
|
|
434
434
|
readonly collapseDuration?: number | undefined;
|
|
435
435
|
readonly collapseTransition?: boolean | undefined;
|
|
436
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
437
436
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
437
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
438
438
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
439
439
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
440
440
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -472,16 +472,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
472
472
|
type: PropType<boolean>;
|
|
473
473
|
default: boolean;
|
|
474
474
|
};
|
|
475
|
-
|
|
476
|
-
type: PropType<
|
|
475
|
+
clearable: {
|
|
476
|
+
type: PropType<boolean>;
|
|
477
|
+
default: boolean;
|
|
478
|
+
};
|
|
479
|
+
colProps: {
|
|
480
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
477
481
|
default: () => {};
|
|
478
482
|
};
|
|
483
|
+
collapseDuration: {
|
|
484
|
+
type: PropType<number>;
|
|
485
|
+
default: undefined;
|
|
486
|
+
};
|
|
487
|
+
collapseTransition: {
|
|
488
|
+
type: PropType<boolean>;
|
|
489
|
+
default: undefined;
|
|
490
|
+
};
|
|
479
491
|
rowProps: {
|
|
480
492
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
481
493
|
default: () => {};
|
|
482
494
|
};
|
|
483
|
-
|
|
484
|
-
type: PropType<
|
|
495
|
+
defaultValues: {
|
|
496
|
+
type: PropType<FieldValues>;
|
|
485
497
|
default: () => {};
|
|
486
498
|
};
|
|
487
499
|
hasErrorTip: {
|
|
@@ -520,26 +532,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
520
532
|
type: PropType<boolean>;
|
|
521
533
|
default: boolean;
|
|
522
534
|
};
|
|
523
|
-
collapseDuration: {
|
|
524
|
-
type: PropType<number>;
|
|
525
|
-
default: undefined;
|
|
526
|
-
};
|
|
527
|
-
collapseTransition: {
|
|
528
|
-
type: PropType<boolean>;
|
|
529
|
-
default: undefined;
|
|
530
|
-
};
|
|
531
|
-
clearable: {
|
|
532
|
-
type: PropType<boolean>;
|
|
533
|
-
default: boolean;
|
|
534
|
-
};
|
|
535
535
|
}>> & {
|
|
536
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
537
536
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
537
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
538
538
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
539
539
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
540
540
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
541
541
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
542
|
-
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "
|
|
542
|
+
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
543
543
|
$attrs: {
|
|
544
544
|
[x: string]: unknown;
|
|
545
545
|
};
|
|
@@ -551,7 +551,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
551
551
|
}>;
|
|
552
552
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
553
553
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
554
|
-
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "
|
|
554
|
+
$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);
|
|
555
555
|
$el: any;
|
|
556
556
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
557
557
|
columns: {
|
|
@@ -586,16 +586,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
586
586
|
type: PropType<boolean>;
|
|
587
587
|
default: boolean;
|
|
588
588
|
};
|
|
589
|
-
|
|
590
|
-
type: PropType<
|
|
589
|
+
clearable: {
|
|
590
|
+
type: PropType<boolean>;
|
|
591
|
+
default: boolean;
|
|
592
|
+
};
|
|
593
|
+
colProps: {
|
|
594
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
591
595
|
default: () => {};
|
|
592
596
|
};
|
|
597
|
+
collapseDuration: {
|
|
598
|
+
type: PropType<number>;
|
|
599
|
+
default: undefined;
|
|
600
|
+
};
|
|
601
|
+
collapseTransition: {
|
|
602
|
+
type: PropType<boolean>;
|
|
603
|
+
default: undefined;
|
|
604
|
+
};
|
|
593
605
|
rowProps: {
|
|
594
606
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
595
607
|
default: () => {};
|
|
596
608
|
};
|
|
597
|
-
|
|
598
|
-
type: PropType<
|
|
609
|
+
defaultValues: {
|
|
610
|
+
type: PropType<FieldValues>;
|
|
599
611
|
default: () => {};
|
|
600
612
|
};
|
|
601
613
|
hasErrorTip: {
|
|
@@ -634,21 +646,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
634
646
|
type: PropType<boolean>;
|
|
635
647
|
default: boolean;
|
|
636
648
|
};
|
|
637
|
-
collapseDuration: {
|
|
638
|
-
type: PropType<number>;
|
|
639
|
-
default: undefined;
|
|
640
|
-
};
|
|
641
|
-
collapseTransition: {
|
|
642
|
-
type: PropType<boolean>;
|
|
643
|
-
default: undefined;
|
|
644
|
-
};
|
|
645
|
-
clearable: {
|
|
646
|
-
type: PropType<boolean>;
|
|
647
|
-
default: boolean;
|
|
648
|
-
};
|
|
649
649
|
}>> & {
|
|
650
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
651
650
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
651
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
652
652
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
653
653
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
654
654
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -954,9 +954,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
954
954
|
labelWidth: string | number;
|
|
955
955
|
labelSuffix: string;
|
|
956
956
|
hasLabel: boolean;
|
|
957
|
-
|
|
958
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
957
|
+
clearable: boolean;
|
|
959
958
|
colProps: Partial<Mutable< ColProps>>;
|
|
959
|
+
collapseDuration: number;
|
|
960
|
+
collapseTransition: boolean;
|
|
961
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
962
|
+
defaultValues: FieldValues;
|
|
960
963
|
hasErrorTip: boolean;
|
|
961
964
|
hasFooter: boolean;
|
|
962
965
|
hasReset: boolean;
|
|
@@ -966,9 +969,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
966
969
|
footerAlign: "right" | "left" | "center";
|
|
967
970
|
cardProps: Partial<Mutable<CardProps>>;
|
|
968
971
|
prevent: boolean;
|
|
969
|
-
collapseDuration: number;
|
|
970
|
-
collapseTransition: boolean;
|
|
971
|
-
clearable: boolean;
|
|
972
972
|
}, {}, string, {}> & {
|
|
973
973
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
974
974
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1022,16 +1022,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1022
1022
|
type: PropType<boolean>;
|
|
1023
1023
|
default: boolean;
|
|
1024
1024
|
};
|
|
1025
|
-
|
|
1026
|
-
type: PropType<
|
|
1025
|
+
clearable: {
|
|
1026
|
+
type: PropType<boolean>;
|
|
1027
|
+
default: boolean;
|
|
1028
|
+
};
|
|
1029
|
+
colProps: {
|
|
1030
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1027
1031
|
default: () => {};
|
|
1028
1032
|
};
|
|
1033
|
+
collapseDuration: {
|
|
1034
|
+
type: PropType<number>;
|
|
1035
|
+
default: undefined;
|
|
1036
|
+
};
|
|
1037
|
+
collapseTransition: {
|
|
1038
|
+
type: PropType<boolean>;
|
|
1039
|
+
default: undefined;
|
|
1040
|
+
};
|
|
1029
1041
|
rowProps: {
|
|
1030
1042
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1031
1043
|
default: () => {};
|
|
1032
1044
|
};
|
|
1033
|
-
|
|
1034
|
-
type: PropType<
|
|
1045
|
+
defaultValues: {
|
|
1046
|
+
type: PropType<FieldValues>;
|
|
1035
1047
|
default: () => {};
|
|
1036
1048
|
};
|
|
1037
1049
|
hasErrorTip: {
|
|
@@ -1070,21 +1082,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1070
1082
|
type: PropType<boolean>;
|
|
1071
1083
|
default: boolean;
|
|
1072
1084
|
};
|
|
1073
|
-
collapseDuration: {
|
|
1074
|
-
type: PropType<number>;
|
|
1075
|
-
default: undefined;
|
|
1076
|
-
};
|
|
1077
|
-
collapseTransition: {
|
|
1078
|
-
type: PropType<boolean>;
|
|
1079
|
-
default: undefined;
|
|
1080
|
-
};
|
|
1081
|
-
clearable: {
|
|
1082
|
-
type: PropType<boolean>;
|
|
1083
|
-
default: boolean;
|
|
1084
|
-
};
|
|
1085
1085
|
}>> & {
|
|
1086
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1087
1086
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1087
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1088
1088
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1089
1089
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1090
1090
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -1384,7 +1384,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1384
1384
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1385
1385
|
columns?: PlusColumn[] | undefined;
|
|
1386
1386
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1387
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
1387
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "options" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
1388
1388
|
readonly label: string | ComputedRef<string>;
|
|
1389
1389
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1390
1390
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1398,7 +1398,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1398
1398
|
style: CSSProperties;
|
|
1399
1399
|
rows: number;
|
|
1400
1400
|
autocomplete: string;
|
|
1401
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
1401
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
1402
1402
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1403
1403
|
step: string | number; /**
|
|
1404
1404
|
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|
|
@@ -1463,7 +1463,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1463
1463
|
clearable: boolean;
|
|
1464
1464
|
index: number;
|
|
1465
1465
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1466
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
1466
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "options" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
1467
1467
|
readonly label: string | ComputedRef<string>;
|
|
1468
1468
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1469
1469
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1477,7 +1477,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1477
1477
|
style: CSSProperties;
|
|
1478
1478
|
rows: number;
|
|
1479
1479
|
autocomplete: string;
|
|
1480
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
1480
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
1481
1481
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1482
1482
|
step: string | number; /**
|
|
1483
1483
|
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|
|
@@ -1570,9 +1570,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1570
1570
|
labelPosition: "top" | "right" | "left";
|
|
1571
1571
|
inline: boolean;
|
|
1572
1572
|
showNumber: number;
|
|
1573
|
-
defaultValues: FieldValues;
|
|
1574
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
1575
1573
|
colProps: Partial<Mutable< ColProps>>;
|
|
1574
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
1575
|
+
defaultValues: FieldValues;
|
|
1576
1576
|
hasFooter: boolean;
|
|
1577
1577
|
hasReset: boolean;
|
|
1578
1578
|
resetText: string;
|
|
@@ -1626,16 +1626,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1626
1626
|
type: PropType<number>;
|
|
1627
1627
|
default: number;
|
|
1628
1628
|
};
|
|
1629
|
-
defaultValues: {
|
|
1630
|
-
type: PropType<FieldValues>;
|
|
1631
|
-
default: () => {};
|
|
1632
|
-
};
|
|
1633
|
-
rowProps: {
|
|
1634
|
-
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1635
|
-
default: () => {
|
|
1636
|
-
gutter: number;
|
|
1637
|
-
};
|
|
1638
|
-
};
|
|
1639
1629
|
colProps: {
|
|
1640
1630
|
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1641
1631
|
default: () => {
|
|
@@ -1646,6 +1636,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1646
1636
|
xl: number;
|
|
1647
1637
|
};
|
|
1648
1638
|
};
|
|
1639
|
+
rowProps: {
|
|
1640
|
+
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1641
|
+
default: () => {
|
|
1642
|
+
gutter: number;
|
|
1643
|
+
};
|
|
1644
|
+
};
|
|
1645
|
+
defaultValues: {
|
|
1646
|
+
type: PropType<FieldValues>;
|
|
1647
|
+
default: () => {};
|
|
1648
|
+
};
|
|
1649
1649
|
hasFooter: {
|
|
1650
1650
|
type: PropType<boolean>;
|
|
1651
1651
|
default: boolean;
|
|
@@ -1695,8 +1695,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1695
1695
|
default: boolean;
|
|
1696
1696
|
};
|
|
1697
1697
|
}>> & {
|
|
1698
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1699
1698
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1699
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1700
1700
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1701
1701
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1702
1702
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
@@ -1713,9 +1713,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1713
1713
|
labelWidth: string | number;
|
|
1714
1714
|
labelSuffix: string;
|
|
1715
1715
|
hasLabel: boolean;
|
|
1716
|
-
|
|
1717
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
1716
|
+
clearable: boolean;
|
|
1718
1717
|
colProps: Partial<Mutable< ColProps>>;
|
|
1718
|
+
collapseDuration: number;
|
|
1719
|
+
collapseTransition: boolean;
|
|
1720
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
1721
|
+
defaultValues: FieldValues;
|
|
1719
1722
|
hasErrorTip: boolean;
|
|
1720
1723
|
hasFooter: boolean;
|
|
1721
1724
|
hasReset: boolean;
|
|
@@ -1725,9 +1728,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1725
1728
|
footerAlign: "right" | "left" | "center";
|
|
1726
1729
|
cardProps: Partial<Mutable<CardProps>>;
|
|
1727
1730
|
prevent: boolean;
|
|
1728
|
-
collapseDuration: number;
|
|
1729
|
-
collapseTransition: boolean;
|
|
1730
|
-
clearable: boolean;
|
|
1731
1731
|
}> & Omit<{
|
|
1732
1732
|
readonly columns: PlusColumn[];
|
|
1733
1733
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -1737,9 +1737,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1737
1737
|
readonly labelWidth: string | number;
|
|
1738
1738
|
readonly labelSuffix: string;
|
|
1739
1739
|
readonly hasLabel: boolean;
|
|
1740
|
-
readonly
|
|
1741
|
-
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
1740
|
+
readonly clearable: boolean;
|
|
1742
1741
|
readonly colProps: Partial<Mutable< ColProps>>;
|
|
1742
|
+
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
1743
|
+
readonly defaultValues: FieldValues;
|
|
1743
1744
|
readonly hasErrorTip: boolean;
|
|
1744
1745
|
readonly hasFooter: boolean;
|
|
1745
1746
|
readonly hasReset: boolean;
|
|
@@ -1749,11 +1750,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1749
1750
|
readonly footerAlign: "right" | "left" | "center";
|
|
1750
1751
|
readonly cardProps: Partial<Mutable<CardProps>>;
|
|
1751
1752
|
readonly prevent: boolean;
|
|
1752
|
-
readonly clearable: boolean;
|
|
1753
1753
|
readonly collapseDuration?: number | undefined;
|
|
1754
1754
|
readonly collapseTransition?: boolean | undefined;
|
|
1755
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1756
1755
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1756
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1757
1757
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1758
1758
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1759
1759
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -1791,16 +1791,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1791
1791
|
type: PropType<boolean>;
|
|
1792
1792
|
default: boolean;
|
|
1793
1793
|
};
|
|
1794
|
-
|
|
1795
|
-
type: PropType<
|
|
1794
|
+
clearable: {
|
|
1795
|
+
type: PropType<boolean>;
|
|
1796
|
+
default: boolean;
|
|
1797
|
+
};
|
|
1798
|
+
colProps: {
|
|
1799
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1796
1800
|
default: () => {};
|
|
1797
1801
|
};
|
|
1802
|
+
collapseDuration: {
|
|
1803
|
+
type: PropType<number>;
|
|
1804
|
+
default: undefined;
|
|
1805
|
+
};
|
|
1806
|
+
collapseTransition: {
|
|
1807
|
+
type: PropType<boolean>;
|
|
1808
|
+
default: undefined;
|
|
1809
|
+
};
|
|
1798
1810
|
rowProps: {
|
|
1799
1811
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1800
1812
|
default: () => {};
|
|
1801
1813
|
};
|
|
1802
|
-
|
|
1803
|
-
type: PropType<
|
|
1814
|
+
defaultValues: {
|
|
1815
|
+
type: PropType<FieldValues>;
|
|
1804
1816
|
default: () => {};
|
|
1805
1817
|
};
|
|
1806
1818
|
hasErrorTip: {
|
|
@@ -1839,26 +1851,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1839
1851
|
type: PropType<boolean>;
|
|
1840
1852
|
default: boolean;
|
|
1841
1853
|
};
|
|
1842
|
-
collapseDuration: {
|
|
1843
|
-
type: PropType<number>;
|
|
1844
|
-
default: undefined;
|
|
1845
|
-
};
|
|
1846
|
-
collapseTransition: {
|
|
1847
|
-
type: PropType<boolean>;
|
|
1848
|
-
default: undefined;
|
|
1849
|
-
};
|
|
1850
|
-
clearable: {
|
|
1851
|
-
type: PropType<boolean>;
|
|
1852
|
-
default: boolean;
|
|
1853
|
-
};
|
|
1854
1854
|
}>> & {
|
|
1855
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1856
1855
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1856
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1857
1857
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1858
1858
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1859
1859
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1860
1860
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1861
|
-
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "
|
|
1861
|
+
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "clearable" | "colProps" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
1862
1862
|
$attrs: {
|
|
1863
1863
|
[x: string]: unknown;
|
|
1864
1864
|
};
|
|
@@ -1870,7 +1870,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1870
1870
|
}>;
|
|
1871
1871
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1872
1872
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1873
|
-
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "
|
|
1873
|
+
$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);
|
|
1874
1874
|
$el: any;
|
|
1875
1875
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1876
1876
|
columns: {
|
|
@@ -1905,16 +1905,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1905
1905
|
type: PropType<boolean>;
|
|
1906
1906
|
default: boolean;
|
|
1907
1907
|
};
|
|
1908
|
-
|
|
1909
|
-
type: PropType<
|
|
1908
|
+
clearable: {
|
|
1909
|
+
type: PropType<boolean>;
|
|
1910
|
+
default: boolean;
|
|
1911
|
+
};
|
|
1912
|
+
colProps: {
|
|
1913
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1910
1914
|
default: () => {};
|
|
1911
1915
|
};
|
|
1916
|
+
collapseDuration: {
|
|
1917
|
+
type: PropType<number>;
|
|
1918
|
+
default: undefined;
|
|
1919
|
+
};
|
|
1920
|
+
collapseTransition: {
|
|
1921
|
+
type: PropType<boolean>;
|
|
1922
|
+
default: undefined;
|
|
1923
|
+
};
|
|
1912
1924
|
rowProps: {
|
|
1913
1925
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1914
1926
|
default: () => {};
|
|
1915
1927
|
};
|
|
1916
|
-
|
|
1917
|
-
type: PropType<
|
|
1928
|
+
defaultValues: {
|
|
1929
|
+
type: PropType<FieldValues>;
|
|
1918
1930
|
default: () => {};
|
|
1919
1931
|
};
|
|
1920
1932
|
hasErrorTip: {
|
|
@@ -1953,21 +1965,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1953
1965
|
type: PropType<boolean>;
|
|
1954
1966
|
default: boolean;
|
|
1955
1967
|
};
|
|
1956
|
-
collapseDuration: {
|
|
1957
|
-
type: PropType<number>;
|
|
1958
|
-
default: undefined;
|
|
1959
|
-
};
|
|
1960
|
-
collapseTransition: {
|
|
1961
|
-
type: PropType<boolean>;
|
|
1962
|
-
default: undefined;
|
|
1963
|
-
};
|
|
1964
|
-
clearable: {
|
|
1965
|
-
type: PropType<boolean>;
|
|
1966
|
-
default: boolean;
|
|
1967
|
-
};
|
|
1968
1968
|
}>> & {
|
|
1969
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1970
1969
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1970
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1971
1971
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1972
1972
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1973
1973
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -2273,9 +2273,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2273
2273
|
labelWidth: string | number;
|
|
2274
2274
|
labelSuffix: string;
|
|
2275
2275
|
hasLabel: boolean;
|
|
2276
|
-
|
|
2277
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
2276
|
+
clearable: boolean;
|
|
2278
2277
|
colProps: Partial<Mutable< ColProps>>;
|
|
2278
|
+
collapseDuration: number;
|
|
2279
|
+
collapseTransition: boolean;
|
|
2280
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
2281
|
+
defaultValues: FieldValues;
|
|
2279
2282
|
hasErrorTip: boolean;
|
|
2280
2283
|
hasFooter: boolean;
|
|
2281
2284
|
hasReset: boolean;
|
|
@@ -2285,9 +2288,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2285
2288
|
footerAlign: "right" | "left" | "center";
|
|
2286
2289
|
cardProps: Partial<Mutable<CardProps>>;
|
|
2287
2290
|
prevent: boolean;
|
|
2288
|
-
collapseDuration: number;
|
|
2289
|
-
collapseTransition: boolean;
|
|
2290
|
-
clearable: boolean;
|
|
2291
2291
|
}, {}, string, {}> & {
|
|
2292
2292
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2293
2293
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -2341,16 +2341,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2341
2341
|
type: PropType<boolean>;
|
|
2342
2342
|
default: boolean;
|
|
2343
2343
|
};
|
|
2344
|
-
|
|
2345
|
-
type: PropType<
|
|
2344
|
+
clearable: {
|
|
2345
|
+
type: PropType<boolean>;
|
|
2346
|
+
default: boolean;
|
|
2347
|
+
};
|
|
2348
|
+
colProps: {
|
|
2349
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
2346
2350
|
default: () => {};
|
|
2347
2351
|
};
|
|
2352
|
+
collapseDuration: {
|
|
2353
|
+
type: PropType<number>;
|
|
2354
|
+
default: undefined;
|
|
2355
|
+
};
|
|
2356
|
+
collapseTransition: {
|
|
2357
|
+
type: PropType<boolean>;
|
|
2358
|
+
default: undefined;
|
|
2359
|
+
};
|
|
2348
2360
|
rowProps: {
|
|
2349
2361
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
2350
2362
|
default: () => {};
|
|
2351
2363
|
};
|
|
2352
|
-
|
|
2353
|
-
type: PropType<
|
|
2364
|
+
defaultValues: {
|
|
2365
|
+
type: PropType<FieldValues>;
|
|
2354
2366
|
default: () => {};
|
|
2355
2367
|
};
|
|
2356
2368
|
hasErrorTip: {
|
|
@@ -2389,21 +2401,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2389
2401
|
type: PropType<boolean>;
|
|
2390
2402
|
default: boolean;
|
|
2391
2403
|
};
|
|
2392
|
-
collapseDuration: {
|
|
2393
|
-
type: PropType<number>;
|
|
2394
|
-
default: undefined;
|
|
2395
|
-
};
|
|
2396
|
-
collapseTransition: {
|
|
2397
|
-
type: PropType<boolean>;
|
|
2398
|
-
default: undefined;
|
|
2399
|
-
};
|
|
2400
|
-
clearable: {
|
|
2401
|
-
type: PropType<boolean>;
|
|
2402
|
-
default: boolean;
|
|
2403
|
-
};
|
|
2404
2404
|
}>> & {
|
|
2405
|
-
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2406
2405
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2406
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2407
2407
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2408
2408
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2409
2409
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -2703,7 +2703,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2703
2703
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2704
2704
|
columns?: PlusColumn[] | undefined;
|
|
2705
2705
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2706
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
2706
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "options" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
2707
2707
|
readonly label: string | ComputedRef<string>;
|
|
2708
2708
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2709
2709
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -2717,7 +2717,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2717
2717
|
style: CSSProperties;
|
|
2718
2718
|
rows: number;
|
|
2719
2719
|
autocomplete: string;
|
|
2720
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
2720
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
2721
2721
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2722
2722
|
step: string | number; /**
|
|
2723
2723
|
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|
|
@@ -2782,7 +2782,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2782
2782
|
clearable: boolean;
|
|
2783
2783
|
index: number;
|
|
2784
2784
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2785
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
2785
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "options" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
2786
2786
|
readonly label: string | ComputedRef<string>;
|
|
2787
2787
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2788
2788
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -2796,7 +2796,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2796
2796
|
style: CSSProperties;
|
|
2797
2797
|
rows: number;
|
|
2798
2798
|
autocomplete: string;
|
|
2799
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
2799
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
2800
2800
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2801
2801
|
step: string | number; /**
|
|
2802
2802
|
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|
|
@@ -2879,7 +2879,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2879
2879
|
handleUnfold: (e: MouseEvent) => void;
|
|
2880
2880
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2881
2881
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2882
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
2882
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "options" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
2883
2883
|
readonly label: string | ComputedRef<string>;
|
|
2884
2884
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2885
2885
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -2893,7 +2893,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2893
2893
|
style: CSSProperties;
|
|
2894
2894
|
rows: number;
|
|
2895
2895
|
autocomplete: string;
|
|
2896
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
2896
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
2897
2897
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2898
2898
|
step: string | number; /**
|
|
2899
2899
|
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|
|
@@ -2981,11 +2981,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2981
2981
|
columnIndex: number;
|
|
2982
2982
|
}) => CSSProperties>;
|
|
2983
2983
|
rowKey: string | ((row: any[]) => string);
|
|
2984
|
-
tableData: RecordType[];
|
|
2985
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
2986
|
-
pagination: false | Partial<PlusPaginationProps>;
|
|
2987
2984
|
actionBar: false | Partial< ActionBarProps>;
|
|
2988
|
-
|
|
2985
|
+
editable: boolean | "click" | "dblclick";
|
|
2986
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2987
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
2988
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2989
2989
|
titleBar: boolean | Partial<Partial<{
|
|
2990
2990
|
title?: string | undefined;
|
|
2991
2991
|
refresh?: boolean | undefined;
|
|
@@ -2996,20 +2996,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2996
2996
|
color?: string | undefined;
|
|
2997
2997
|
} | undefined;
|
|
2998
2998
|
}>>;
|
|
2999
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
3000
|
+
tableData: RecordType[];
|
|
3001
|
+
pagination: false | Partial<PlusPaginationProps>;
|
|
3002
|
+
hasIndexColumn: boolean;
|
|
2999
3003
|
isSelection: boolean | "radio";
|
|
3000
3004
|
isRadio: boolean;
|
|
3001
3005
|
hasExpand: boolean;
|
|
3002
3006
|
loadingStatus: boolean;
|
|
3003
3007
|
dragSortable: false | Partial< Options>;
|
|
3004
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3005
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3006
3008
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3007
3009
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3008
3010
|
radioProps: Partial< PlusRadioProps>;
|
|
3009
3011
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
3010
3012
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3011
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3012
|
-
editable: boolean | "click" | "dblclick";
|
|
3013
3013
|
adaptive: boolean | {
|
|
3014
3014
|
offsetBottom?: number | undefined;
|
|
3015
3015
|
timeout?: number | undefined;
|
|
@@ -3025,11 +3025,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3025
3025
|
columnIndex: number;
|
|
3026
3026
|
}) => CSSProperties>;
|
|
3027
3027
|
readonly rowKey: string | ((row: any[]) => string);
|
|
3028
|
-
readonly tableData: RecordType[];
|
|
3029
|
-
readonly defaultSize: "" | "default" | "small" | "large";
|
|
3030
|
-
readonly pagination: false | Partial<PlusPaginationProps>;
|
|
3031
3028
|
readonly actionBar: false | Partial< ActionBarProps>;
|
|
3032
|
-
readonly
|
|
3029
|
+
readonly editable: boolean | "click" | "dblclick";
|
|
3030
|
+
readonly indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3031
|
+
readonly indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3032
|
+
readonly dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3033
3033
|
readonly titleBar: boolean | Partial<Partial<{
|
|
3034
3034
|
title?: string | undefined;
|
|
3035
3035
|
refresh?: boolean | undefined;
|
|
@@ -3040,18 +3040,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3040
3040
|
color?: string | undefined;
|
|
3041
3041
|
} | undefined;
|
|
3042
3042
|
}>>;
|
|
3043
|
+
readonly defaultSize: "" | "default" | "small" | "large";
|
|
3044
|
+
readonly tableData: RecordType[];
|
|
3045
|
+
readonly pagination: false | Partial<PlusPaginationProps>;
|
|
3046
|
+
readonly hasIndexColumn: boolean;
|
|
3043
3047
|
readonly isSelection: boolean | "radio";
|
|
3044
3048
|
readonly isRadio: boolean;
|
|
3045
3049
|
readonly hasExpand: boolean;
|
|
3046
3050
|
readonly loadingStatus: boolean;
|
|
3047
3051
|
readonly dragSortable: false | Partial< Options>;
|
|
3048
|
-
readonly dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3049
|
-
readonly indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3050
3052
|
readonly selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3051
3053
|
readonly radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3052
3054
|
readonly expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3053
|
-
readonly indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3054
|
-
readonly editable: boolean | "click" | "dblclick";
|
|
3055
3055
|
readonly adaptive: boolean | {
|
|
3056
3056
|
offsetBottom?: number | undefined;
|
|
3057
3057
|
timeout?: number | undefined;
|
|
@@ -3061,16 +3061,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3061
3061
|
readonly defaultSelectedRadioRow?: RecordType | ComputedRef<RecordType> | undefined;
|
|
3062
3062
|
readonly filterTableHeaderOverflowLabelLength?: number | undefined;
|
|
3063
3063
|
readonly filterTableLocalKey?: string | undefined;
|
|
3064
|
-
onRefresh?: (() => any) | undefined;
|
|
3065
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3066
3064
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3067
3065
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3068
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3069
3066
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3070
|
-
onEdited?: (() => any) | undefined;
|
|
3071
3067
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3072
3068
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3069
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3070
|
+
onRefresh?: (() => any) | undefined;
|
|
3073
3071
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3072
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3073
|
+
onEdited?: (() => any) | undefined;
|
|
3074
3074
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3075
3075
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3076
3076
|
showOverflowTooltip: {
|
|
@@ -3103,26 +3103,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3103
3103
|
type: PropType<string | ((row: any[]) => string)>;
|
|
3104
3104
|
default: string;
|
|
3105
3105
|
};
|
|
3106
|
-
tableData: {
|
|
3107
|
-
type: PropType<RecordType[]>;
|
|
3108
|
-
default: () => never[];
|
|
3109
|
-
};
|
|
3110
|
-
defaultSize: {
|
|
3111
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
3112
|
-
default: string;
|
|
3113
|
-
};
|
|
3114
|
-
pagination: {
|
|
3115
|
-
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
3116
|
-
default: boolean;
|
|
3117
|
-
};
|
|
3118
3106
|
actionBar: {
|
|
3119
3107
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
3120
3108
|
default: boolean;
|
|
3121
3109
|
};
|
|
3122
|
-
|
|
3123
|
-
type: PropType<boolean>;
|
|
3110
|
+
editable: {
|
|
3111
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
3124
3112
|
default: boolean;
|
|
3125
3113
|
};
|
|
3114
|
+
indexTableColumnProps: {
|
|
3115
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3116
|
+
default: () => {};
|
|
3117
|
+
};
|
|
3118
|
+
indexContentStyle: {
|
|
3119
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3120
|
+
default: () => {};
|
|
3121
|
+
};
|
|
3122
|
+
dragSortableTableColumnProps: {
|
|
3123
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3124
|
+
default: () => {};
|
|
3125
|
+
};
|
|
3126
3126
|
titleBar: {
|
|
3127
3127
|
type: PropType<boolean | Partial<Partial<{
|
|
3128
3128
|
title?: string | undefined;
|
|
@@ -3136,6 +3136,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3136
3136
|
}>>>;
|
|
3137
3137
|
default: boolean;
|
|
3138
3138
|
};
|
|
3139
|
+
defaultSize: {
|
|
3140
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
3141
|
+
default: string;
|
|
3142
|
+
};
|
|
3143
|
+
tableData: {
|
|
3144
|
+
type: PropType<RecordType[]>;
|
|
3145
|
+
default: () => never[];
|
|
3146
|
+
};
|
|
3147
|
+
pagination: {
|
|
3148
|
+
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
3149
|
+
default: boolean;
|
|
3150
|
+
};
|
|
3151
|
+
hasIndexColumn: {
|
|
3152
|
+
type: PropType<boolean>;
|
|
3153
|
+
default: boolean;
|
|
3154
|
+
};
|
|
3139
3155
|
isSelection: {
|
|
3140
3156
|
type: PropType<boolean | "radio">;
|
|
3141
3157
|
default: boolean;
|
|
@@ -3156,14 +3172,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3156
3172
|
type: PropType<false | Partial< Options>>;
|
|
3157
3173
|
default: boolean;
|
|
3158
3174
|
};
|
|
3159
|
-
dragSortableTableColumnProps: {
|
|
3160
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3161
|
-
default: () => {};
|
|
3162
|
-
};
|
|
3163
|
-
indexTableColumnProps: {
|
|
3164
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3165
|
-
default: () => {};
|
|
3166
|
-
};
|
|
3167
3175
|
selectionTableColumnProps: {
|
|
3168
3176
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3169
3177
|
default: () => {
|
|
@@ -3188,14 +3196,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3188
3196
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3189
3197
|
default: () => {};
|
|
3190
3198
|
};
|
|
3191
|
-
indexContentStyle: {
|
|
3192
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3193
|
-
default: () => {};
|
|
3194
|
-
};
|
|
3195
|
-
editable: {
|
|
3196
|
-
type: PropType<boolean | "click" | "dblclick">;
|
|
3197
|
-
default: boolean;
|
|
3198
|
-
};
|
|
3199
3199
|
adaptive: {
|
|
3200
3200
|
type: PropType<boolean | {
|
|
3201
3201
|
offsetBottom?: number | undefined;
|
|
@@ -3210,18 +3210,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3210
3210
|
type: PropType<string>;
|
|
3211
3211
|
};
|
|
3212
3212
|
}>> & {
|
|
3213
|
-
onRefresh?: (() => any) | undefined;
|
|
3214
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3215
3213
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3216
3214
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3217
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3218
3215
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3219
|
-
onEdited?: (() => any) | undefined;
|
|
3220
3216
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3221
3217
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3218
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3219
|
+
onRefresh?: (() => any) | undefined;
|
|
3222
3220
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3221
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3222
|
+
onEdited?: (() => any) | undefined;
|
|
3223
3223
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3224
|
-
}, "showOverflowTooltip" | "columns" | "data" | "headerCellStyle" | "rowKey" | "
|
|
3224
|
+
}, "showOverflowTooltip" | "columns" | "data" | "headerCellStyle" | "rowKey" | "actionBar" | "editable" | "indexTableColumnProps" | "indexContentStyle" | "dragSortableTableColumnProps" | "titleBar" | "defaultSize" | "tableData" | "pagination" | "hasIndexColumn" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "adaptive">;
|
|
3225
3225
|
$attrs: {
|
|
3226
3226
|
[x: string]: unknown;
|
|
3227
3227
|
};
|
|
@@ -3266,26 +3266,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3266
3266
|
type: PropType<string | ((row: any[]) => string)>;
|
|
3267
3267
|
default: string;
|
|
3268
3268
|
};
|
|
3269
|
-
tableData: {
|
|
3270
|
-
type: PropType<RecordType[]>;
|
|
3271
|
-
default: () => never[];
|
|
3272
|
-
};
|
|
3273
|
-
defaultSize: {
|
|
3274
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
3275
|
-
default: string;
|
|
3276
|
-
};
|
|
3277
|
-
pagination: {
|
|
3278
|
-
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
3279
|
-
default: boolean;
|
|
3280
|
-
};
|
|
3281
3269
|
actionBar: {
|
|
3282
3270
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
3283
3271
|
default: boolean;
|
|
3284
3272
|
};
|
|
3285
|
-
|
|
3286
|
-
type: PropType<boolean>;
|
|
3273
|
+
editable: {
|
|
3274
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
3287
3275
|
default: boolean;
|
|
3288
3276
|
};
|
|
3277
|
+
indexTableColumnProps: {
|
|
3278
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3279
|
+
default: () => {};
|
|
3280
|
+
};
|
|
3281
|
+
indexContentStyle: {
|
|
3282
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3283
|
+
default: () => {};
|
|
3284
|
+
};
|
|
3285
|
+
dragSortableTableColumnProps: {
|
|
3286
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3287
|
+
default: () => {};
|
|
3288
|
+
};
|
|
3289
3289
|
titleBar: {
|
|
3290
3290
|
type: PropType<boolean | Partial<Partial<{
|
|
3291
3291
|
title?: string | undefined;
|
|
@@ -3299,6 +3299,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3299
3299
|
}>>>;
|
|
3300
3300
|
default: boolean;
|
|
3301
3301
|
};
|
|
3302
|
+
defaultSize: {
|
|
3303
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
3304
|
+
default: string;
|
|
3305
|
+
};
|
|
3306
|
+
tableData: {
|
|
3307
|
+
type: PropType<RecordType[]>;
|
|
3308
|
+
default: () => never[];
|
|
3309
|
+
};
|
|
3310
|
+
pagination: {
|
|
3311
|
+
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
3312
|
+
default: boolean;
|
|
3313
|
+
};
|
|
3314
|
+
hasIndexColumn: {
|
|
3315
|
+
type: PropType<boolean>;
|
|
3316
|
+
default: boolean;
|
|
3317
|
+
};
|
|
3302
3318
|
isSelection: {
|
|
3303
3319
|
type: PropType<boolean | "radio">;
|
|
3304
3320
|
default: boolean;
|
|
@@ -3319,14 +3335,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3319
3335
|
type: PropType<false | Partial< Options>>;
|
|
3320
3336
|
default: boolean;
|
|
3321
3337
|
};
|
|
3322
|
-
dragSortableTableColumnProps: {
|
|
3323
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3324
|
-
default: () => {};
|
|
3325
|
-
};
|
|
3326
|
-
indexTableColumnProps: {
|
|
3327
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3328
|
-
default: () => {};
|
|
3329
|
-
};
|
|
3330
3338
|
selectionTableColumnProps: {
|
|
3331
3339
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3332
3340
|
default: () => {
|
|
@@ -3351,14 +3359,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3351
3359
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3352
3360
|
default: () => {};
|
|
3353
3361
|
};
|
|
3354
|
-
indexContentStyle: {
|
|
3355
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3356
|
-
default: () => {};
|
|
3357
|
-
};
|
|
3358
|
-
editable: {
|
|
3359
|
-
type: PropType<boolean | "click" | "dblclick">;
|
|
3360
|
-
default: boolean;
|
|
3361
|
-
};
|
|
3362
3362
|
adaptive: {
|
|
3363
3363
|
type: PropType<boolean | {
|
|
3364
3364
|
offsetBottom?: number | undefined;
|
|
@@ -3373,16 +3373,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3373
3373
|
type: PropType<string>;
|
|
3374
3374
|
};
|
|
3375
3375
|
}>> & {
|
|
3376
|
-
onRefresh?: (() => any) | undefined;
|
|
3377
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3378
3376
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3379
3377
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3380
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3381
3378
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3382
|
-
onEdited?: (() => any) | undefined;
|
|
3383
3379
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3384
3380
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3381
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3382
|
+
onRefresh?: (() => any) | undefined;
|
|
3385
3383
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3384
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3385
|
+
onEdited?: (() => any) | undefined;
|
|
3386
3386
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3387
3387
|
}, {
|
|
3388
3388
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -3582,7 +3582,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3582
3582
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
3583
3583
|
setScrollLeft: (left?: number | undefined) => void;
|
|
3584
3584
|
setScrollTop: (top?: number | undefined) => void;
|
|
3585
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "
|
|
3585
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "current-change" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3586
3586
|
data: {
|
|
3587
3587
|
type: PropType<any[]>;
|
|
3588
3588
|
default: () => never[];
|
|
@@ -3958,11 +3958,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3958
3958
|
columnIndex: number;
|
|
3959
3959
|
}) => CSSProperties>;
|
|
3960
3960
|
rowKey: string | ((row: any[]) => string);
|
|
3961
|
-
tableData: RecordType[];
|
|
3962
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
3963
|
-
pagination: false | Partial<PlusPaginationProps>;
|
|
3964
3961
|
actionBar: false | Partial< ActionBarProps>;
|
|
3965
|
-
|
|
3962
|
+
editable: boolean | "click" | "dblclick";
|
|
3963
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3964
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3965
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3966
3966
|
titleBar: boolean | Partial<Partial<{
|
|
3967
3967
|
title?: string | undefined;
|
|
3968
3968
|
refresh?: boolean | undefined;
|
|
@@ -3973,20 +3973,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3973
3973
|
color?: string | undefined;
|
|
3974
3974
|
} | undefined;
|
|
3975
3975
|
}>>;
|
|
3976
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
3977
|
+
tableData: RecordType[];
|
|
3978
|
+
pagination: false | Partial<PlusPaginationProps>;
|
|
3979
|
+
hasIndexColumn: boolean;
|
|
3976
3980
|
isSelection: boolean | "radio";
|
|
3977
3981
|
isRadio: boolean;
|
|
3978
3982
|
hasExpand: boolean;
|
|
3979
3983
|
loadingStatus: boolean;
|
|
3980
3984
|
dragSortable: false | Partial< Options>;
|
|
3981
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3982
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3983
3985
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3984
3986
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3985
3987
|
radioProps: Partial< PlusRadioProps>;
|
|
3986
3988
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
3987
3989
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3988
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3989
|
-
editable: boolean | "click" | "dblclick";
|
|
3990
3990
|
adaptive: boolean | {
|
|
3991
3991
|
offsetBottom?: number | undefined;
|
|
3992
3992
|
timeout?: number | undefined;
|
|
@@ -4042,26 +4042,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4042
4042
|
type: PropType<string | ((row: any[]) => string)>;
|
|
4043
4043
|
default: string;
|
|
4044
4044
|
};
|
|
4045
|
-
tableData: {
|
|
4046
|
-
type: PropType<RecordType[]>;
|
|
4047
|
-
default: () => never[];
|
|
4048
|
-
};
|
|
4049
|
-
defaultSize: {
|
|
4050
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
4051
|
-
default: string;
|
|
4052
|
-
};
|
|
4053
|
-
pagination: {
|
|
4054
|
-
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
4055
|
-
default: boolean;
|
|
4056
|
-
};
|
|
4057
4045
|
actionBar: {
|
|
4058
4046
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
4059
4047
|
default: boolean;
|
|
4060
4048
|
};
|
|
4061
|
-
|
|
4062
|
-
type: PropType<boolean>;
|
|
4049
|
+
editable: {
|
|
4050
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
4063
4051
|
default: boolean;
|
|
4064
4052
|
};
|
|
4053
|
+
indexTableColumnProps: {
|
|
4054
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4055
|
+
default: () => {};
|
|
4056
|
+
};
|
|
4057
|
+
indexContentStyle: {
|
|
4058
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
4059
|
+
default: () => {};
|
|
4060
|
+
};
|
|
4061
|
+
dragSortableTableColumnProps: {
|
|
4062
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4063
|
+
default: () => {};
|
|
4064
|
+
};
|
|
4065
4065
|
titleBar: {
|
|
4066
4066
|
type: PropType<boolean | Partial<Partial<{
|
|
4067
4067
|
title?: string | undefined;
|
|
@@ -4075,6 +4075,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4075
4075
|
}>>>;
|
|
4076
4076
|
default: boolean;
|
|
4077
4077
|
};
|
|
4078
|
+
defaultSize: {
|
|
4079
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
4080
|
+
default: string;
|
|
4081
|
+
};
|
|
4082
|
+
tableData: {
|
|
4083
|
+
type: PropType<RecordType[]>;
|
|
4084
|
+
default: () => never[];
|
|
4085
|
+
};
|
|
4086
|
+
pagination: {
|
|
4087
|
+
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
4088
|
+
default: boolean;
|
|
4089
|
+
};
|
|
4090
|
+
hasIndexColumn: {
|
|
4091
|
+
type: PropType<boolean>;
|
|
4092
|
+
default: boolean;
|
|
4093
|
+
};
|
|
4078
4094
|
isSelection: {
|
|
4079
4095
|
type: PropType<boolean | "radio">;
|
|
4080
4096
|
default: boolean;
|
|
@@ -4095,14 +4111,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4095
4111
|
type: PropType<false | Partial< Options>>;
|
|
4096
4112
|
default: boolean;
|
|
4097
4113
|
};
|
|
4098
|
-
dragSortableTableColumnProps: {
|
|
4099
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4100
|
-
default: () => {};
|
|
4101
|
-
};
|
|
4102
|
-
indexTableColumnProps: {
|
|
4103
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4104
|
-
default: () => {};
|
|
4105
|
-
};
|
|
4106
4114
|
selectionTableColumnProps: {
|
|
4107
4115
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4108
4116
|
default: () => {
|
|
@@ -4127,14 +4135,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4127
4135
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4128
4136
|
default: () => {};
|
|
4129
4137
|
};
|
|
4130
|
-
indexContentStyle: {
|
|
4131
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
4132
|
-
default: () => {};
|
|
4133
|
-
};
|
|
4134
|
-
editable: {
|
|
4135
|
-
type: PropType<boolean | "click" | "dblclick">;
|
|
4136
|
-
default: boolean;
|
|
4137
|
-
};
|
|
4138
4138
|
adaptive: {
|
|
4139
4139
|
type: PropType<boolean | {
|
|
4140
4140
|
offsetBottom?: number | undefined;
|
|
@@ -4149,18 +4149,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4149
4149
|
type: PropType<string>;
|
|
4150
4150
|
};
|
|
4151
4151
|
}>> & {
|
|
4152
|
-
onRefresh?: (() => any) | undefined;
|
|
4153
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
4154
4152
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4155
4153
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4156
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
4157
4154
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
4158
|
-
onEdited?: (() => any) | undefined;
|
|
4159
4155
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
4160
4156
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
4157
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
4158
|
+
onRefresh?: (() => any) | undefined;
|
|
4161
4159
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
4160
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
4161
|
+
onEdited?: (() => any) | undefined;
|
|
4162
4162
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
4163
|
-
}, "
|
|
4163
|
+
}, "tableInstance" | "formRefs"> & ShallowUnwrapRef<{
|
|
4164
4164
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
4165
4165
|
tableInstance: ShallowRef< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
4166
4166
|
data: {
|
|
@@ -4358,7 +4358,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4358
4358
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
4359
4359
|
setScrollLeft: (left?: number | undefined) => void;
|
|
4360
4360
|
setScrollTop: (top?: number | undefined) => void;
|
|
4361
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "
|
|
4361
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "current-change" | "select-all" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend" | "expand-change" | "cell-click" | "cell-dblclick")[], VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
4362
4362
|
data: {
|
|
4363
4363
|
type: PropType<any[]>;
|
|
4364
4364
|
default: () => never[];
|
|
@@ -4793,8 +4793,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4793
4793
|
search: false | Partial<PlusSearchProps>;
|
|
4794
4794
|
immediate: boolean;
|
|
4795
4795
|
table: Partial<PlusTableProps>;
|
|
4796
|
-
pagination: false | Omit<PlusPaginationProps, "modelValue" | "total" | "pageSizeList">;
|
|
4797
4796
|
params: RecordType;
|
|
4797
|
+
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
4798
4798
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
4799
4799
|
beforeSearchSubmit: <T_2 = RecordType>(params: T_2) => T_2;
|
|
4800
4800
|
isCard: boolean;
|
|
@@ -4809,7 +4809,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4809
4809
|
};
|
|
4810
4810
|
searchSlot: boolean;
|
|
4811
4811
|
}, {}>, Partial<Record<never, (_: {
|
|
4812
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
4812
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "options" | "hasLabel" | "clearable" | "renderField" | "valueType" | "optionsMap" | "renderLabel" | "renderErrorMessage">> & {
|
|
4813
4813
|
readonly label: string | ComputedRef<string>;
|
|
4814
4814
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
4815
4815
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -4823,7 +4823,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4823
4823
|
style: CSSProperties;
|
|
4824
4824
|
rows: number;
|
|
4825
4825
|
autocomplete: string;
|
|
4826
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
4826
|
+
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "range" | "dashboard" | "datetime-local" | "email" | "file" | "hidden" | "password" | "tel" | "url";
|
|
4827
4827
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4828
4828
|
step: string | number; /**
|
|
4829
4829
|
* 自定义的插槽是否对 PlusSearch 组件提供。当启用时,自定义的插槽 PlusTable 内的表单不生效
|