@wlydfe/pro-ui 0.2.27 → 0.2.28
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 +988 -988
- package/es/components/page/src/index.vue.d.ts +331 -331
- 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/index.vue2.mjs +17 -6
- 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/components/table/src/table-title-bar.vue.mjs +2 -1
- package/es/components/table/src/table-title-bar.vue2.mjs +10 -9
- package/es/components/table/src/table-title-bar.vue3.mjs +3 -0
- package/es/index.css +14 -13
- package/index.css +5 -1
- package/index.js +2861 -19
- package/index.min.css +1 -0
- package/index.min.js +7 -2
- package/index.min.mjs +7 -2
- package/index.mjs +2862 -20
- 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 +988 -988
- package/lib/components/page/src/index.vue.d.ts +331 -331
- 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/index.vue2.js +17 -6
- 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/components/table/src/table-title-bar.vue.js +2 -1
- package/lib/components/table/src/table-title-bar.vue2.js +9 -8
- package/lib/components/table/src/table-title-bar.vue3.js +7 -0
- package/lib/index.css +16 -15
- 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 +3 -2
|
@@ -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, RowProps, ColProps, 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
|
-
colProps: Partial<Mutable< ColProps>>;
|
|
140
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
141
139
|
defaultValues: FieldValues;
|
|
140
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
141
|
+
colProps: Partial<Mutable< ColProps>>;
|
|
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 colProps: Partial<Mutable< ColProps>>;
|
|
160
|
-
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
161
159
|
readonly defaultValues: FieldValues;
|
|
160
|
+
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
161
|
+
readonly colProps: Partial<Mutable< ColProps>>;
|
|
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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
176
175
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
176
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
177
177
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
178
178
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
179
179
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
@@ -198,6 +198,16 @@ 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
|
+
};
|
|
201
211
|
colProps: {
|
|
202
212
|
type: PropType<Partial<Mutable< ColProps>>>;
|
|
203
213
|
default: () => {
|
|
@@ -208,16 +218,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
208
218
|
xl: number;
|
|
209
219
|
};
|
|
210
220
|
};
|
|
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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
271
270
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
271
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => 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" | "defaultValues" | "rowProps" | "colProps" | "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: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "collapse", isShowUnfold: boolean) => void);
|
|
288
288
|
$el: any;
|
|
289
289
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
290
290
|
columns: {
|
|
@@ -307,6 +307,16 @@ 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
|
+
};
|
|
310
320
|
colProps: {
|
|
311
321
|
type: PropType<Partial<Mutable< ColProps>>>;
|
|
312
322
|
default: () => {
|
|
@@ -317,16 +327,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
317
327
|
xl: number;
|
|
318
328
|
};
|
|
319
329
|
};
|
|
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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
380
379
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
380
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
381
381
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
382
382
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
383
383
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
@@ -394,12 +394,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
394
394
|
labelWidth: string | number;
|
|
395
395
|
labelSuffix: string;
|
|
396
396
|
hasLabel: boolean;
|
|
397
|
-
clearable: boolean;
|
|
398
|
-
colProps: Partial<Mutable< ColProps>>;
|
|
399
|
-
collapseDuration: number;
|
|
400
|
-
collapseTransition: boolean;
|
|
401
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
402
397
|
defaultValues: FieldValues;
|
|
398
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
399
|
+
colProps: Partial<Mutable< ColProps>>;
|
|
403
400
|
hasErrorTip: boolean;
|
|
404
401
|
hasFooter: boolean;
|
|
405
402
|
hasReset: boolean;
|
|
@@ -409,6 +406,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
409
406
|
footerAlign: "right" | "left" | "center";
|
|
410
407
|
cardProps: Partial<Mutable<CardProps>>;
|
|
411
408
|
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,10 +418,9 @@ 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 clearable: boolean;
|
|
422
|
-
readonly colProps: Partial<Mutable< ColProps>>;
|
|
423
|
-
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
424
421
|
readonly defaultValues: FieldValues;
|
|
422
|
+
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
423
|
+
readonly colProps: Partial<Mutable< ColProps>>;
|
|
425
424
|
readonly hasErrorTip: boolean;
|
|
426
425
|
readonly hasFooter: boolean;
|
|
427
426
|
readonly hasReset: boolean;
|
|
@@ -431,10 +430,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
431
430
|
readonly footerAlign: "right" | "left" | "center";
|
|
432
431
|
readonly cardProps: Partial<Mutable<CardProps>>;
|
|
433
432
|
readonly prevent: boolean;
|
|
433
|
+
readonly clearable: boolean;
|
|
434
434
|
readonly collapseDuration?: number | undefined;
|
|
435
435
|
readonly collapseTransition?: boolean | undefined;
|
|
436
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
437
436
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
437
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
438
438
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
439
439
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
440
440
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -472,28 +472,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
472
472
|
type: PropType<boolean>;
|
|
473
473
|
default: boolean;
|
|
474
474
|
};
|
|
475
|
-
|
|
476
|
-
type: PropType<
|
|
477
|
-
default: boolean;
|
|
478
|
-
};
|
|
479
|
-
colProps: {
|
|
480
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
475
|
+
defaultValues: {
|
|
476
|
+
type: PropType<FieldValues>;
|
|
481
477
|
default: () => {};
|
|
482
478
|
};
|
|
483
|
-
collapseDuration: {
|
|
484
|
-
type: PropType<number>;
|
|
485
|
-
default: undefined;
|
|
486
|
-
};
|
|
487
|
-
collapseTransition: {
|
|
488
|
-
type: PropType<boolean>;
|
|
489
|
-
default: undefined;
|
|
490
|
-
};
|
|
491
479
|
rowProps: {
|
|
492
480
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
493
481
|
default: () => {};
|
|
494
482
|
};
|
|
495
|
-
|
|
496
|
-
type: PropType<
|
|
483
|
+
colProps: {
|
|
484
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
497
485
|
default: () => {};
|
|
498
486
|
};
|
|
499
487
|
hasErrorTip: {
|
|
@@ -532,14 +520,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
532
520
|
type: PropType<boolean>;
|
|
533
521
|
default: boolean;
|
|
534
522
|
};
|
|
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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
537
536
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
537
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => 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" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "collapseDuration" | "collapseTransition" | "clearable">;
|
|
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: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "update:modelValue", values: FieldValues) => 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,28 +586,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
586
586
|
type: PropType<boolean>;
|
|
587
587
|
default: boolean;
|
|
588
588
|
};
|
|
589
|
-
|
|
590
|
-
type: PropType<
|
|
591
|
-
default: boolean;
|
|
592
|
-
};
|
|
593
|
-
colProps: {
|
|
594
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
589
|
+
defaultValues: {
|
|
590
|
+
type: PropType<FieldValues>;
|
|
595
591
|
default: () => {};
|
|
596
592
|
};
|
|
597
|
-
collapseDuration: {
|
|
598
|
-
type: PropType<number>;
|
|
599
|
-
default: undefined;
|
|
600
|
-
};
|
|
601
|
-
collapseTransition: {
|
|
602
|
-
type: PropType<boolean>;
|
|
603
|
-
default: undefined;
|
|
604
|
-
};
|
|
605
593
|
rowProps: {
|
|
606
594
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
607
595
|
default: () => {};
|
|
608
596
|
};
|
|
609
|
-
|
|
610
|
-
type: PropType<
|
|
597
|
+
colProps: {
|
|
598
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
611
599
|
default: () => {};
|
|
612
600
|
};
|
|
613
601
|
hasErrorTip: {
|
|
@@ -646,9 +634,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
646
634
|
type: PropType<boolean>;
|
|
647
635
|
default: boolean;
|
|
648
636
|
};
|
|
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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
651
650
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
651
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
652
652
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
653
653
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
654
654
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -954,12 +954,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
954
954
|
labelWidth: string | number;
|
|
955
955
|
labelSuffix: string;
|
|
956
956
|
hasLabel: boolean;
|
|
957
|
-
clearable: boolean;
|
|
958
|
-
colProps: Partial<Mutable< ColProps>>;
|
|
959
|
-
collapseDuration: number;
|
|
960
|
-
collapseTransition: boolean;
|
|
961
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
962
957
|
defaultValues: FieldValues;
|
|
958
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
959
|
+
colProps: Partial<Mutable< ColProps>>;
|
|
963
960
|
hasErrorTip: boolean;
|
|
964
961
|
hasFooter: boolean;
|
|
965
962
|
hasReset: boolean;
|
|
@@ -969,6 +966,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
969
966
|
footerAlign: "right" | "left" | "center";
|
|
970
967
|
cardProps: Partial<Mutable<CardProps>>;
|
|
971
968
|
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,28 +1022,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1022
1022
|
type: PropType<boolean>;
|
|
1023
1023
|
default: boolean;
|
|
1024
1024
|
};
|
|
1025
|
-
|
|
1026
|
-
type: PropType<
|
|
1027
|
-
default: boolean;
|
|
1028
|
-
};
|
|
1029
|
-
colProps: {
|
|
1030
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1025
|
+
defaultValues: {
|
|
1026
|
+
type: PropType<FieldValues>;
|
|
1031
1027
|
default: () => {};
|
|
1032
1028
|
};
|
|
1033
|
-
collapseDuration: {
|
|
1034
|
-
type: PropType<number>;
|
|
1035
|
-
default: undefined;
|
|
1036
|
-
};
|
|
1037
|
-
collapseTransition: {
|
|
1038
|
-
type: PropType<boolean>;
|
|
1039
|
-
default: undefined;
|
|
1040
|
-
};
|
|
1041
1029
|
rowProps: {
|
|
1042
1030
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1043
1031
|
default: () => {};
|
|
1044
1032
|
};
|
|
1045
|
-
|
|
1046
|
-
type: PropType<
|
|
1033
|
+
colProps: {
|
|
1034
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1047
1035
|
default: () => {};
|
|
1048
1036
|
};
|
|
1049
1037
|
hasErrorTip: {
|
|
@@ -1082,9 +1070,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1082
1070
|
type: PropType<boolean>;
|
|
1083
1071
|
default: boolean;
|
|
1084
1072
|
};
|
|
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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1087
1086
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1087
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => 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" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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
|
-
colProps: Partial<Mutable< ColProps>>;
|
|
1574
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
1575
1573
|
defaultValues: FieldValues;
|
|
1574
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
1575
|
+
colProps: Partial<Mutable< ColProps>>;
|
|
1576
1576
|
hasFooter: boolean;
|
|
1577
1577
|
hasReset: boolean;
|
|
1578
1578
|
resetText: string;
|
|
@@ -1626,6 +1626,16 @@ 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
|
+
};
|
|
1629
1639
|
colProps: {
|
|
1630
1640
|
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1631
1641
|
default: () => {
|
|
@@ -1636,16 +1646,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1636
1646
|
xl: number;
|
|
1637
1647
|
};
|
|
1638
1648
|
};
|
|
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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1699
1698
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1699
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1700
1700
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1701
1701
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1702
1702
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
@@ -1713,12 +1713,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1713
1713
|
labelWidth: string | number;
|
|
1714
1714
|
labelSuffix: string;
|
|
1715
1715
|
hasLabel: boolean;
|
|
1716
|
-
clearable: boolean;
|
|
1717
|
-
colProps: Partial<Mutable< ColProps>>;
|
|
1718
|
-
collapseDuration: number;
|
|
1719
|
-
collapseTransition: boolean;
|
|
1720
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
1721
1716
|
defaultValues: FieldValues;
|
|
1717
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
1718
|
+
colProps: Partial<Mutable< ColProps>>;
|
|
1722
1719
|
hasErrorTip: boolean;
|
|
1723
1720
|
hasFooter: boolean;
|
|
1724
1721
|
hasReset: boolean;
|
|
@@ -1728,6 +1725,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1728
1725
|
footerAlign: "right" | "left" | "center";
|
|
1729
1726
|
cardProps: Partial<Mutable<CardProps>>;
|
|
1730
1727
|
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,10 +1737,9 @@ 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 clearable: boolean;
|
|
1741
|
-
readonly colProps: Partial<Mutable< ColProps>>;
|
|
1742
|
-
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
1743
1740
|
readonly defaultValues: FieldValues;
|
|
1741
|
+
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
1742
|
+
readonly colProps: Partial<Mutable< ColProps>>;
|
|
1744
1743
|
readonly hasErrorTip: boolean;
|
|
1745
1744
|
readonly hasFooter: boolean;
|
|
1746
1745
|
readonly hasReset: boolean;
|
|
@@ -1750,10 +1749,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1750
1749
|
readonly footerAlign: "right" | "left" | "center";
|
|
1751
1750
|
readonly cardProps: Partial<Mutable<CardProps>>;
|
|
1752
1751
|
readonly prevent: boolean;
|
|
1752
|
+
readonly clearable: boolean;
|
|
1753
1753
|
readonly collapseDuration?: number | undefined;
|
|
1754
1754
|
readonly collapseTransition?: boolean | undefined;
|
|
1755
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1756
1755
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1756
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1757
1757
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1758
1758
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1759
1759
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -1791,28 +1791,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1791
1791
|
type: PropType<boolean>;
|
|
1792
1792
|
default: boolean;
|
|
1793
1793
|
};
|
|
1794
|
-
|
|
1795
|
-
type: PropType<
|
|
1796
|
-
default: boolean;
|
|
1797
|
-
};
|
|
1798
|
-
colProps: {
|
|
1799
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1794
|
+
defaultValues: {
|
|
1795
|
+
type: PropType<FieldValues>;
|
|
1800
1796
|
default: () => {};
|
|
1801
1797
|
};
|
|
1802
|
-
collapseDuration: {
|
|
1803
|
-
type: PropType<number>;
|
|
1804
|
-
default: undefined;
|
|
1805
|
-
};
|
|
1806
|
-
collapseTransition: {
|
|
1807
|
-
type: PropType<boolean>;
|
|
1808
|
-
default: undefined;
|
|
1809
|
-
};
|
|
1810
1798
|
rowProps: {
|
|
1811
1799
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1812
1800
|
default: () => {};
|
|
1813
1801
|
};
|
|
1814
|
-
|
|
1815
|
-
type: PropType<
|
|
1802
|
+
colProps: {
|
|
1803
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1816
1804
|
default: () => {};
|
|
1817
1805
|
};
|
|
1818
1806
|
hasErrorTip: {
|
|
@@ -1851,15 +1839,27 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1851
1839
|
type: PropType<boolean>;
|
|
1852
1840
|
default: boolean;
|
|
1853
1841
|
};
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
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
|
+
}>> & {
|
|
1855
|
+
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1856
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1857
|
+
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1858
|
+
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1859
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1860
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1861
|
+
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "collapseDuration" | "collapseTransition" | "clearable">;
|
|
1862
|
+
$attrs: {
|
|
1863
1863
|
[x: string]: unknown;
|
|
1864
1864
|
};
|
|
1865
1865
|
$refs: {
|
|
@@ -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: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "update:modelValue", values: FieldValues) => 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,28 +1905,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1905
1905
|
type: PropType<boolean>;
|
|
1906
1906
|
default: boolean;
|
|
1907
1907
|
};
|
|
1908
|
-
|
|
1909
|
-
type: PropType<
|
|
1910
|
-
default: boolean;
|
|
1911
|
-
};
|
|
1912
|
-
colProps: {
|
|
1913
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1908
|
+
defaultValues: {
|
|
1909
|
+
type: PropType<FieldValues>;
|
|
1914
1910
|
default: () => {};
|
|
1915
1911
|
};
|
|
1916
|
-
collapseDuration: {
|
|
1917
|
-
type: PropType<number>;
|
|
1918
|
-
default: undefined;
|
|
1919
|
-
};
|
|
1920
|
-
collapseTransition: {
|
|
1921
|
-
type: PropType<boolean>;
|
|
1922
|
-
default: undefined;
|
|
1923
|
-
};
|
|
1924
1912
|
rowProps: {
|
|
1925
1913
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1926
1914
|
default: () => {};
|
|
1927
1915
|
};
|
|
1928
|
-
|
|
1929
|
-
type: PropType<
|
|
1916
|
+
colProps: {
|
|
1917
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1930
1918
|
default: () => {};
|
|
1931
1919
|
};
|
|
1932
1920
|
hasErrorTip: {
|
|
@@ -1965,9 +1953,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1965
1953
|
type: PropType<boolean>;
|
|
1966
1954
|
default: boolean;
|
|
1967
1955
|
};
|
|
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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1970
1969
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1970
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1971
1971
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1972
1972
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1973
1973
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -2273,12 +2273,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2273
2273
|
labelWidth: string | number;
|
|
2274
2274
|
labelSuffix: string;
|
|
2275
2275
|
hasLabel: boolean;
|
|
2276
|
-
clearable: boolean;
|
|
2277
|
-
colProps: Partial<Mutable< ColProps>>;
|
|
2278
|
-
collapseDuration: number;
|
|
2279
|
-
collapseTransition: boolean;
|
|
2280
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
2281
2276
|
defaultValues: FieldValues;
|
|
2277
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
2278
|
+
colProps: Partial<Mutable< ColProps>>;
|
|
2282
2279
|
hasErrorTip: boolean;
|
|
2283
2280
|
hasFooter: boolean;
|
|
2284
2281
|
hasReset: boolean;
|
|
@@ -2288,6 +2285,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2288
2285
|
footerAlign: "right" | "left" | "center";
|
|
2289
2286
|
cardProps: Partial<Mutable<CardProps>>;
|
|
2290
2287
|
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,28 +2341,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2341
2341
|
type: PropType<boolean>;
|
|
2342
2342
|
default: boolean;
|
|
2343
2343
|
};
|
|
2344
|
-
|
|
2345
|
-
type: PropType<
|
|
2346
|
-
default: boolean;
|
|
2347
|
-
};
|
|
2348
|
-
colProps: {
|
|
2349
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
2344
|
+
defaultValues: {
|
|
2345
|
+
type: PropType<FieldValues>;
|
|
2350
2346
|
default: () => {};
|
|
2351
2347
|
};
|
|
2352
|
-
collapseDuration: {
|
|
2353
|
-
type: PropType<number>;
|
|
2354
|
-
default: undefined;
|
|
2355
|
-
};
|
|
2356
|
-
collapseTransition: {
|
|
2357
|
-
type: PropType<boolean>;
|
|
2358
|
-
default: undefined;
|
|
2359
|
-
};
|
|
2360
2348
|
rowProps: {
|
|
2361
2349
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
2362
2350
|
default: () => {};
|
|
2363
2351
|
};
|
|
2364
|
-
|
|
2365
|
-
type: PropType<
|
|
2352
|
+
colProps: {
|
|
2353
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
2366
2354
|
default: () => {};
|
|
2367
2355
|
};
|
|
2368
2356
|
hasErrorTip: {
|
|
@@ -2401,9 +2389,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2401
2389
|
type: PropType<boolean>;
|
|
2402
2390
|
default: boolean;
|
|
2403
2391
|
};
|
|
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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2406
2405
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2406
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => 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" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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>;
|
|
2984
2987
|
actionBar: false | Partial< ActionBarProps>;
|
|
2985
|
-
|
|
2986
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2987
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
2988
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2988
|
+
hasIndexColumn: boolean;
|
|
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;
|
|
3003
2999
|
isSelection: boolean | "radio";
|
|
3004
3000
|
isRadio: boolean;
|
|
3005
3001
|
hasExpand: boolean;
|
|
3006
3002
|
loadingStatus: boolean;
|
|
3007
3003
|
dragSortable: false | Partial< Options>;
|
|
3004
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3005
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3008
3006
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3009
3007
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3010
3008
|
radioProps: Partial< PlusRadioProps>;
|
|
3011
3009
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
3012
3010
|
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>;
|
|
3028
3031
|
readonly actionBar: false | Partial< ActionBarProps>;
|
|
3029
|
-
readonly
|
|
3030
|
-
readonly indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3031
|
-
readonly indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3032
|
-
readonly dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3032
|
+
readonly hasIndexColumn: boolean;
|
|
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;
|
|
3047
3043
|
readonly isSelection: boolean | "radio";
|
|
3048
3044
|
readonly isRadio: boolean;
|
|
3049
3045
|
readonly hasExpand: boolean;
|
|
3050
3046
|
readonly loadingStatus: boolean;
|
|
3051
3047
|
readonly dragSortable: false | Partial< Options>;
|
|
3048
|
+
readonly dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3049
|
+
readonly indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3052
3050
|
readonly selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3053
3051
|
readonly radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3054
3052
|
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;
|
|
3064
3066
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3065
3067
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3068
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3066
3069
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3070
|
+
onEdited?: (() => any) | undefined;
|
|
3067
3071
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3068
3072
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3069
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3070
|
-
onRefresh?: (() => any) | undefined;
|
|
3071
3073
|
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
|
+
};
|
|
3106
3118
|
actionBar: {
|
|
3107
3119
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
3108
3120
|
default: boolean;
|
|
3109
3121
|
};
|
|
3110
|
-
|
|
3111
|
-
type: PropType<boolean
|
|
3122
|
+
hasIndexColumn: {
|
|
3123
|
+
type: PropType<boolean>;
|
|
3112
3124
|
default: boolean;
|
|
3113
3125
|
};
|
|
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,22 +3136,6 @@ 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
|
-
};
|
|
3155
3139
|
isSelection: {
|
|
3156
3140
|
type: PropType<boolean | "radio">;
|
|
3157
3141
|
default: boolean;
|
|
@@ -3172,6 +3156,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3172
3156
|
type: PropType<false | Partial< Options>>;
|
|
3173
3157
|
default: boolean;
|
|
3174
3158
|
};
|
|
3159
|
+
dragSortableTableColumnProps: {
|
|
3160
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3161
|
+
default: () => {};
|
|
3162
|
+
};
|
|
3163
|
+
indexTableColumnProps: {
|
|
3164
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3165
|
+
default: () => {};
|
|
3166
|
+
};
|
|
3175
3167
|
selectionTableColumnProps: {
|
|
3176
3168
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3177
3169
|
default: () => {
|
|
@@ -3196,6 +3188,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3196
3188
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3197
3189
|
default: () => {};
|
|
3198
3190
|
};
|
|
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;
|
|
3213
3215
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3214
3216
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3217
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3215
3218
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3219
|
+
onEdited?: (() => any) | undefined;
|
|
3216
3220
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3217
3221
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3218
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3219
|
-
onRefresh?: (() => any) | undefined;
|
|
3220
3222
|
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" | "tableData" | "defaultSize" | "pagination" | "actionBar" | "hasIndexColumn" | "titleBar" | "isSelection" | "isRadio" | "hasExpand" | "loadingStatus" | "dragSortable" | "dragSortableTableColumnProps" | "indexTableColumnProps" | "selectionTableColumnProps" | "radioTableColumnProps" | "radioProps" | "defaultSelectedRadioRow" | "expandTableColumnProps" | "indexContentStyle" | "editable" | "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
|
+
};
|
|
3269
3281
|
actionBar: {
|
|
3270
3282
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
3271
3283
|
default: boolean;
|
|
3272
3284
|
};
|
|
3273
|
-
|
|
3274
|
-
type: PropType<boolean
|
|
3285
|
+
hasIndexColumn: {
|
|
3286
|
+
type: PropType<boolean>;
|
|
3275
3287
|
default: boolean;
|
|
3276
3288
|
};
|
|
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,22 +3299,6 @@ 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
|
-
};
|
|
3318
3302
|
isSelection: {
|
|
3319
3303
|
type: PropType<boolean | "radio">;
|
|
3320
3304
|
default: boolean;
|
|
@@ -3335,6 +3319,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3335
3319
|
type: PropType<false | Partial< Options>>;
|
|
3336
3320
|
default: boolean;
|
|
3337
3321
|
};
|
|
3322
|
+
dragSortableTableColumnProps: {
|
|
3323
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3324
|
+
default: () => {};
|
|
3325
|
+
};
|
|
3326
|
+
indexTableColumnProps: {
|
|
3327
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3328
|
+
default: () => {};
|
|
3329
|
+
};
|
|
3338
3330
|
selectionTableColumnProps: {
|
|
3339
3331
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3340
3332
|
default: () => {
|
|
@@ -3359,6 +3351,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3359
3351
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3360
3352
|
default: () => {};
|
|
3361
3353
|
};
|
|
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;
|
|
3376
3378
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3377
3379
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3380
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3378
3381
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3382
|
+
onEdited?: (() => any) | undefined;
|
|
3379
3383
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3380
3384
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3381
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3382
|
-
onRefresh?: (() => any) | undefined;
|
|
3383
3385
|
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" | "
|
|
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" | "current-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>;
|
|
3961
3964
|
actionBar: false | Partial< ActionBarProps>;
|
|
3962
|
-
|
|
3963
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3964
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3965
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3965
|
+
hasIndexColumn: boolean;
|
|
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;
|
|
3980
3976
|
isSelection: boolean | "radio";
|
|
3981
3977
|
isRadio: boolean;
|
|
3982
3978
|
hasExpand: boolean;
|
|
3983
3979
|
loadingStatus: boolean;
|
|
3984
3980
|
dragSortable: false | Partial< Options>;
|
|
3981
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3982
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3985
3983
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3986
3984
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3987
3985
|
radioProps: Partial< PlusRadioProps>;
|
|
3988
3986
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
3989
3987
|
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
|
+
};
|
|
4045
4057
|
actionBar: {
|
|
4046
4058
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
4047
4059
|
default: boolean;
|
|
4048
4060
|
};
|
|
4049
|
-
|
|
4050
|
-
type: PropType<boolean
|
|
4061
|
+
hasIndexColumn: {
|
|
4062
|
+
type: PropType<boolean>;
|
|
4051
4063
|
default: boolean;
|
|
4052
4064
|
};
|
|
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,22 +4075,6 @@ 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
|
-
};
|
|
4094
4078
|
isSelection: {
|
|
4095
4079
|
type: PropType<boolean | "radio">;
|
|
4096
4080
|
default: boolean;
|
|
@@ -4111,6 +4095,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4111
4095
|
type: PropType<false | Partial< Options>>;
|
|
4112
4096
|
default: boolean;
|
|
4113
4097
|
};
|
|
4098
|
+
dragSortableTableColumnProps: {
|
|
4099
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4100
|
+
default: () => {};
|
|
4101
|
+
};
|
|
4102
|
+
indexTableColumnProps: {
|
|
4103
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4104
|
+
default: () => {};
|
|
4105
|
+
};
|
|
4114
4106
|
selectionTableColumnProps: {
|
|
4115
4107
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4116
4108
|
default: () => {
|
|
@@ -4135,6 +4127,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4135
4127
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4136
4128
|
default: () => {};
|
|
4137
4129
|
};
|
|
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;
|
|
4152
4154
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4153
4155
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4156
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
4154
4157
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
4158
|
+
onEdited?: (() => any) | undefined;
|
|
4155
4159
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
4156
4160
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
4157
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
4158
|
-
onRefresh?: (() => any) | undefined;
|
|
4159
4161
|
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
|
+
}, "formRefs" | "tableInstance"> & 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" | "
|
|
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" | "current-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">;
|
|
4796
4797
|
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" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
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" | "time" | "image" | "line" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "range" | "dashboard" | "hidden" | "datetime-local" | "email" | "file" | "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 内的表单不生效
|