@wlydfe/pro-ui 0.2.7 → 0.2.9
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/README.md +119 -119
- 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/display-item/src/index.vue2.mjs +3 -0
- 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/src/index.vue2.mjs +5 -5
- package/es/components/form-item/index.d.ts +84 -84
- package/es/components/form-item/src/index.vue.d.ts +16 -12
- 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 +1039 -994
- package/es/components/page/src/index.vue.d.ts +361 -374
- package/es/components/page/src/index.vue2.mjs +10 -3
- 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/search/src/index.vue2.mjs +1 -1
- 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 +183 -164
- package/es/components/table/src/index.vue.d.ts +16 -13
- package/es/components/table/src/index.vue2.mjs +4 -2
- package/es/components/table/src/table-action-bar.vue.d.ts +6 -2
- package/es/components/table/src/table-action-bar.vue2.mjs +3 -1
- 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-index.vue2.mjs +1 -1
- package/es/components/table/src/table-column.vue.d.ts +25 -43
- package/es/components/table/src/table-column.vue2.mjs +8 -1
- package/es/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/es/components/table/src/type.d.ts +2 -0
- package/es/index.css +8 -8
- package/global.d.ts +29 -29
- package/index.js +35 -14
- package/index.min.js +2 -2
- package/index.min.mjs +2 -2
- package/index.mjs +35 -14
- 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/display-item/src/index.vue2.js +3 -0
- 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/src/index.vue2.js +5 -5
- package/lib/components/form-item/index.d.ts +84 -84
- package/lib/components/form-item/src/index.vue.d.ts +16 -12
- 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 +1039 -994
- package/lib/components/page/src/index.vue.d.ts +361 -374
- package/lib/components/page/src/index.vue2.js +9 -2
- 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/search/src/index.vue2.js +1 -1
- 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 +183 -164
- package/lib/components/table/src/index.vue.d.ts +16 -13
- package/lib/components/table/src/index.vue2.js +4 -2
- package/lib/components/table/src/table-action-bar.vue.d.ts +6 -2
- package/lib/components/table/src/table-action-bar.vue2.js +3 -1
- 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-index.vue2.js +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +25 -43
- package/lib/components/table/src/table-column.vue2.js +8 -1
- package/lib/components/table/src/table-title-bar.vue.d.ts +1 -1
- package/lib/components/table/src/type.d.ts +2 -0
- package/lib/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
- package/theme-chalk/src/breadcrumb.scss +9 -9
- package/theme-chalk/src/date-picker.scss +96 -96
- package/theme-chalk/src/descriptions.scss +41 -41
- package/theme-chalk/src/display-item.scss +82 -82
- package/theme-chalk/src/drawer-form.scss +16 -16
- package/theme-chalk/src/form.scss +34 -34
- package/theme-chalk/src/input-tag.scss +91 -91
- package/theme-chalk/src/layout.scss +36 -36
- package/theme-chalk/src/mixins/function.scss +73 -73
- package/theme-chalk/src/search.scss +49 -49
- package/theme-chalk/src/sidebar.scss +93 -93
- package/theme-chalk/src/table.scss +170 -170
- package/theme-chalk/src/var/index.scss +6 -6
|
@@ -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;
|
|
@@ -154,9 +154,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
154
154
|
readonly modelValue: FieldValues;
|
|
155
155
|
readonly inline: boolean;
|
|
156
156
|
readonly showNumber: number;
|
|
157
|
-
readonly colProps: Partial<Mutable< ColProps>>;
|
|
158
|
-
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
159
157
|
readonly defaultValues: FieldValues;
|
|
158
|
+
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
159
|
+
readonly colProps: Partial<Mutable< ColProps>>;
|
|
160
160
|
readonly hasFooter: boolean;
|
|
161
161
|
readonly hasReset: boolean;
|
|
162
162
|
readonly resetText: string;
|
|
@@ -168,8 +168,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
168
168
|
readonly searchLoading: boolean;
|
|
169
169
|
readonly needValidate: boolean;
|
|
170
170
|
readonly labelPosition?: "top" | "right" | "left" | undefined;
|
|
171
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
172
171
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
172
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
173
173
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
174
174
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
175
175
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
@@ -194,6 +194,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
194
194
|
type: PropType<number>;
|
|
195
195
|
default: number;
|
|
196
196
|
};
|
|
197
|
+
defaultValues: {
|
|
198
|
+
type: PropType<FieldValues>;
|
|
199
|
+
default: () => {};
|
|
200
|
+
};
|
|
201
|
+
rowProps: {
|
|
202
|
+
type: PropType<Partial<Mutable< RowProps>>>;
|
|
203
|
+
default: () => {
|
|
204
|
+
gutter: number;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
197
207
|
colProps: {
|
|
198
208
|
type: PropType<Partial<Mutable< ColProps>>>;
|
|
199
209
|
default: () => {
|
|
@@ -204,16 +214,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
204
214
|
xl: number;
|
|
205
215
|
};
|
|
206
216
|
};
|
|
207
|
-
rowProps: {
|
|
208
|
-
type: PropType<Partial<Mutable< RowProps>>>;
|
|
209
|
-
default: () => {
|
|
210
|
-
gutter: number;
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
defaultValues: {
|
|
214
|
-
type: PropType<FieldValues>;
|
|
215
|
-
default: () => {};
|
|
216
|
-
};
|
|
217
217
|
hasFooter: {
|
|
218
218
|
type: PropType<boolean>;
|
|
219
219
|
default: boolean;
|
|
@@ -255,12 +255,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
255
255
|
default: boolean;
|
|
256
256
|
};
|
|
257
257
|
}>> & {
|
|
258
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
259
258
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
259
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
260
260
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
261
261
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
262
262
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
263
|
-
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "
|
|
263
|
+
}, "columns" | "modelValue" | "labelPosition" | "inline" | "showNumber" | "defaultValues" | "rowProps" | "colProps" | "hasFooter" | "hasReset" | "resetText" | "hasUnfold" | "defaultUnfold" | "searchText" | "retractText" | "expandText" | "searchLoading" | "needValidate">;
|
|
264
264
|
$attrs: {
|
|
265
265
|
[x: string]: unknown;
|
|
266
266
|
};
|
|
@@ -272,7 +272,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
272
272
|
}>;
|
|
273
273
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
274
274
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
275
|
-
$emit: ((event: "search", values: FieldValues) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "
|
|
275
|
+
$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);
|
|
276
276
|
$el: any;
|
|
277
277
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
278
278
|
columns: {
|
|
@@ -295,6 +295,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
295
295
|
type: PropType<number>;
|
|
296
296
|
default: number;
|
|
297
297
|
};
|
|
298
|
+
defaultValues: {
|
|
299
|
+
type: PropType<FieldValues>;
|
|
300
|
+
default: () => {};
|
|
301
|
+
};
|
|
302
|
+
rowProps: {
|
|
303
|
+
type: PropType<Partial<Mutable< RowProps>>>;
|
|
304
|
+
default: () => {
|
|
305
|
+
gutter: number;
|
|
306
|
+
};
|
|
307
|
+
};
|
|
298
308
|
colProps: {
|
|
299
309
|
type: PropType<Partial<Mutable< ColProps>>>;
|
|
300
310
|
default: () => {
|
|
@@ -305,16 +315,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
305
315
|
xl: number;
|
|
306
316
|
};
|
|
307
317
|
};
|
|
308
|
-
rowProps: {
|
|
309
|
-
type: PropType<Partial<Mutable< RowProps>>>;
|
|
310
|
-
default: () => {
|
|
311
|
-
gutter: number;
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
defaultValues: {
|
|
315
|
-
type: PropType<FieldValues>;
|
|
316
|
-
default: () => {};
|
|
317
|
-
};
|
|
318
318
|
hasFooter: {
|
|
319
319
|
type: PropType<boolean>;
|
|
320
320
|
default: boolean;
|
|
@@ -356,8 +356,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
356
356
|
default: boolean;
|
|
357
357
|
};
|
|
358
358
|
}>> & {
|
|
359
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
360
359
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
360
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
361
361
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
362
362
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
363
363
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
@@ -374,12 +374,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
374
374
|
labelWidth: string | number;
|
|
375
375
|
labelSuffix: string;
|
|
376
376
|
hasLabel: boolean;
|
|
377
|
-
clearable: boolean;
|
|
378
|
-
colProps: Partial<Mutable< ColProps>>;
|
|
379
|
-
collapseDuration: number;
|
|
380
|
-
collapseTransition: boolean;
|
|
381
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
382
377
|
defaultValues: FieldValues;
|
|
378
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
379
|
+
colProps: Partial<Mutable< ColProps>>;
|
|
383
380
|
hasErrorTip: boolean;
|
|
384
381
|
hasFooter: boolean;
|
|
385
382
|
hasReset: boolean;
|
|
@@ -389,6 +386,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
389
386
|
footerAlign: "right" | "left" | "center";
|
|
390
387
|
cardProps: Partial<Mutable<CardProps>>;
|
|
391
388
|
prevent: boolean;
|
|
389
|
+
collapseDuration: number;
|
|
390
|
+
collapseTransition: boolean;
|
|
391
|
+
clearable: boolean;
|
|
392
392
|
}> & Omit<{
|
|
393
393
|
readonly columns: PlusColumn[];
|
|
394
394
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -398,10 +398,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
398
398
|
readonly labelWidth: string | number;
|
|
399
399
|
readonly labelSuffix: string;
|
|
400
400
|
readonly hasLabel: boolean;
|
|
401
|
-
readonly clearable: boolean;
|
|
402
|
-
readonly colProps: Partial<Mutable< ColProps>>;
|
|
403
|
-
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
404
401
|
readonly defaultValues: FieldValues;
|
|
402
|
+
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
403
|
+
readonly colProps: Partial<Mutable< ColProps>>;
|
|
405
404
|
readonly hasErrorTip: boolean;
|
|
406
405
|
readonly hasFooter: boolean;
|
|
407
406
|
readonly hasReset: boolean;
|
|
@@ -411,10 +410,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
411
410
|
readonly footerAlign: "right" | "left" | "center";
|
|
412
411
|
readonly cardProps: Partial<Mutable<CardProps>>;
|
|
413
412
|
readonly prevent: boolean;
|
|
413
|
+
readonly clearable: boolean;
|
|
414
414
|
readonly collapseDuration?: number | undefined;
|
|
415
415
|
readonly collapseTransition?: boolean | undefined;
|
|
416
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
417
416
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
417
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
418
418
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
419
419
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
420
420
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -452,28 +452,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
452
452
|
type: PropType<boolean>;
|
|
453
453
|
default: boolean;
|
|
454
454
|
};
|
|
455
|
-
|
|
456
|
-
type: PropType<
|
|
457
|
-
default: boolean;
|
|
458
|
-
};
|
|
459
|
-
colProps: {
|
|
460
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
455
|
+
defaultValues: {
|
|
456
|
+
type: PropType<FieldValues>;
|
|
461
457
|
default: () => {};
|
|
462
458
|
};
|
|
463
|
-
collapseDuration: {
|
|
464
|
-
type: PropType<number>;
|
|
465
|
-
default: undefined;
|
|
466
|
-
};
|
|
467
|
-
collapseTransition: {
|
|
468
|
-
type: PropType<boolean>;
|
|
469
|
-
default: undefined;
|
|
470
|
-
};
|
|
471
459
|
rowProps: {
|
|
472
460
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
473
461
|
default: () => {};
|
|
474
462
|
};
|
|
475
|
-
|
|
476
|
-
type: PropType<
|
|
463
|
+
colProps: {
|
|
464
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
477
465
|
default: () => {};
|
|
478
466
|
};
|
|
479
467
|
hasErrorTip: {
|
|
@@ -512,14 +500,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
512
500
|
type: PropType<boolean>;
|
|
513
501
|
default: boolean;
|
|
514
502
|
};
|
|
503
|
+
collapseDuration: {
|
|
504
|
+
type: PropType<number>;
|
|
505
|
+
default: undefined;
|
|
506
|
+
};
|
|
507
|
+
collapseTransition: {
|
|
508
|
+
type: PropType<boolean>;
|
|
509
|
+
default: undefined;
|
|
510
|
+
};
|
|
511
|
+
clearable: {
|
|
512
|
+
type: PropType<boolean>;
|
|
513
|
+
default: boolean;
|
|
514
|
+
};
|
|
515
515
|
}>> & {
|
|
516
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
517
516
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
517
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
518
518
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
519
519
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
520
520
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
521
521
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
522
|
-
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "
|
|
522
|
+
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "collapseDuration" | "collapseTransition" | "clearable">;
|
|
523
523
|
$attrs: {
|
|
524
524
|
[x: string]: unknown;
|
|
525
525
|
};
|
|
@@ -531,7 +531,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
531
531
|
}>;
|
|
532
532
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
533
533
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
534
|
-
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "
|
|
534
|
+
$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);
|
|
535
535
|
$el: any;
|
|
536
536
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
537
537
|
columns: {
|
|
@@ -566,28 +566,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
566
566
|
type: PropType<boolean>;
|
|
567
567
|
default: boolean;
|
|
568
568
|
};
|
|
569
|
-
|
|
570
|
-
type: PropType<
|
|
571
|
-
default: boolean;
|
|
572
|
-
};
|
|
573
|
-
colProps: {
|
|
574
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
569
|
+
defaultValues: {
|
|
570
|
+
type: PropType<FieldValues>;
|
|
575
571
|
default: () => {};
|
|
576
572
|
};
|
|
577
|
-
collapseDuration: {
|
|
578
|
-
type: PropType<number>;
|
|
579
|
-
default: undefined;
|
|
580
|
-
};
|
|
581
|
-
collapseTransition: {
|
|
582
|
-
type: PropType<boolean>;
|
|
583
|
-
default: undefined;
|
|
584
|
-
};
|
|
585
573
|
rowProps: {
|
|
586
574
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
587
575
|
default: () => {};
|
|
588
576
|
};
|
|
589
|
-
|
|
590
|
-
type: PropType<
|
|
577
|
+
colProps: {
|
|
578
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
591
579
|
default: () => {};
|
|
592
580
|
};
|
|
593
581
|
hasErrorTip: {
|
|
@@ -626,9 +614,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
626
614
|
type: PropType<boolean>;
|
|
627
615
|
default: boolean;
|
|
628
616
|
};
|
|
617
|
+
collapseDuration: {
|
|
618
|
+
type: PropType<number>;
|
|
619
|
+
default: undefined;
|
|
620
|
+
};
|
|
621
|
+
collapseTransition: {
|
|
622
|
+
type: PropType<boolean>;
|
|
623
|
+
default: undefined;
|
|
624
|
+
};
|
|
625
|
+
clearable: {
|
|
626
|
+
type: PropType<boolean>;
|
|
627
|
+
default: boolean;
|
|
628
|
+
};
|
|
629
629
|
}>> & {
|
|
630
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
631
630
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
631
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
632
632
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
633
633
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
634
634
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -732,10 +732,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
732
732
|
getField: (prop: string) => FormItemContext | undefined;
|
|
733
733
|
addField: (field: FormItemContext) => void;
|
|
734
734
|
removeField: (field: FormItemContext) => void;
|
|
735
|
-
/**
|
|
736
|
-
* 设置搜索的值
|
|
737
|
-
* @version v0.1.17
|
|
738
|
-
*/
|
|
739
735
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
740
736
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
741
737
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -745,9 +741,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
745
741
|
validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
|
|
746
742
|
scrollToField: (prop: FormItemProp) => void;
|
|
747
743
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
748
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
749
|
-
* TODO: 将会在v0.2.0中移除
|
|
750
|
-
*/
|
|
744
|
+
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
751
745
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
752
746
|
readonly model: ObjectConstructor;
|
|
753
747
|
readonly rules: {
|
|
@@ -900,10 +894,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
900
894
|
getField: (prop: string) => FormItemContext | undefined;
|
|
901
895
|
addField: (field: FormItemContext) => void;
|
|
902
896
|
removeField: (field: FormItemContext) => void;
|
|
903
|
-
/**
|
|
904
|
-
* 设置搜索的值
|
|
905
|
-
* @version v0.1.17
|
|
906
|
-
*/
|
|
907
897
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
908
898
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
909
899
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -944,12 +934,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
944
934
|
labelWidth: string | number;
|
|
945
935
|
labelSuffix: string;
|
|
946
936
|
hasLabel: boolean;
|
|
947
|
-
clearable: boolean;
|
|
948
|
-
colProps: Partial<Mutable< ColProps>>;
|
|
949
|
-
collapseDuration: number;
|
|
950
|
-
collapseTransition: boolean;
|
|
951
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
952
937
|
defaultValues: FieldValues;
|
|
938
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
939
|
+
colProps: Partial<Mutable< ColProps>>;
|
|
953
940
|
hasErrorTip: boolean;
|
|
954
941
|
hasFooter: boolean;
|
|
955
942
|
hasReset: boolean;
|
|
@@ -959,6 +946,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
959
946
|
footerAlign: "right" | "left" | "center";
|
|
960
947
|
cardProps: Partial<Mutable<CardProps>>;
|
|
961
948
|
prevent: boolean;
|
|
949
|
+
collapseDuration: number;
|
|
950
|
+
collapseTransition: boolean;
|
|
951
|
+
clearable: boolean;
|
|
962
952
|
}, {}, string, {}> & {
|
|
963
953
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
964
954
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1012,28 +1002,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1012
1002
|
type: PropType<boolean>;
|
|
1013
1003
|
default: boolean;
|
|
1014
1004
|
};
|
|
1015
|
-
|
|
1016
|
-
type: PropType<
|
|
1017
|
-
default: boolean;
|
|
1018
|
-
};
|
|
1019
|
-
colProps: {
|
|
1020
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1005
|
+
defaultValues: {
|
|
1006
|
+
type: PropType<FieldValues>;
|
|
1021
1007
|
default: () => {};
|
|
1022
1008
|
};
|
|
1023
|
-
collapseDuration: {
|
|
1024
|
-
type: PropType<number>;
|
|
1025
|
-
default: undefined;
|
|
1026
|
-
};
|
|
1027
|
-
collapseTransition: {
|
|
1028
|
-
type: PropType<boolean>;
|
|
1029
|
-
default: undefined;
|
|
1030
|
-
};
|
|
1031
1009
|
rowProps: {
|
|
1032
1010
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1033
1011
|
default: () => {};
|
|
1034
1012
|
};
|
|
1035
|
-
|
|
1036
|
-
type: PropType<
|
|
1013
|
+
colProps: {
|
|
1014
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1037
1015
|
default: () => {};
|
|
1038
1016
|
};
|
|
1039
1017
|
hasErrorTip: {
|
|
@@ -1072,9 +1050,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1072
1050
|
type: PropType<boolean>;
|
|
1073
1051
|
default: boolean;
|
|
1074
1052
|
};
|
|
1053
|
+
collapseDuration: {
|
|
1054
|
+
type: PropType<number>;
|
|
1055
|
+
default: undefined;
|
|
1056
|
+
};
|
|
1057
|
+
collapseTransition: {
|
|
1058
|
+
type: PropType<boolean>;
|
|
1059
|
+
default: undefined;
|
|
1060
|
+
};
|
|
1061
|
+
clearable: {
|
|
1062
|
+
type: PropType<boolean>;
|
|
1063
|
+
default: boolean;
|
|
1064
|
+
};
|
|
1075
1065
|
}>> & {
|
|
1076
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1077
1066
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1067
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1078
1068
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1079
1069
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1080
1070
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -1178,10 +1168,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1178
1168
|
getField: (prop: string) => FormItemContext | undefined;
|
|
1179
1169
|
addField: (field: FormItemContext) => void;
|
|
1180
1170
|
removeField: (field: FormItemContext) => void;
|
|
1181
|
-
/**
|
|
1182
|
-
* 设置搜索的值
|
|
1183
|
-
* @version v0.1.17
|
|
1184
|
-
*/
|
|
1185
1171
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
1186
1172
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
1187
1173
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -1191,9 +1177,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1191
1177
|
validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
|
|
1192
1178
|
scrollToField: (prop: FormItemProp) => void;
|
|
1193
1179
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1194
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
1195
|
-
* TODO: 将会在v0.2.0中移除
|
|
1196
|
-
*/
|
|
1180
|
+
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
1197
1181
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1198
1182
|
readonly model: ObjectConstructor;
|
|
1199
1183
|
readonly rules: {
|
|
@@ -1346,10 +1330,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1346
1330
|
getField: (prop: string) => FormItemContext | undefined;
|
|
1347
1331
|
addField: (field: FormItemContext) => void;
|
|
1348
1332
|
removeField: (field: FormItemContext) => void;
|
|
1349
|
-
/**
|
|
1350
|
-
* 设置搜索的值
|
|
1351
|
-
* @version v0.1.17
|
|
1352
|
-
*/
|
|
1353
1333
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
1354
1334
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
1355
1335
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -1384,7 +1364,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1384
1364
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
1385
1365
|
columns?: PlusColumn[] | undefined;
|
|
1386
1366
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1387
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
1367
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1388
1368
|
readonly label: string | ComputedRef<string>;
|
|
1389
1369
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1390
1370
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1395,10 +1375,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1395
1375
|
}>;
|
|
1396
1376
|
readonly fieldProps: PropsItemType<Partial<{
|
|
1397
1377
|
[key: string]: any;
|
|
1398
|
-
style: CSSProperties;
|
|
1378
|
+
style: CSSProperties; /**
|
|
1379
|
+
* 表格和搜索是否需要el-card 包裹 默认true
|
|
1380
|
+
*/
|
|
1399
1381
|
rows: number;
|
|
1400
1382
|
autocomplete: string;
|
|
1401
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
1383
|
+
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
1384
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1403
1385
|
step: string | number;
|
|
1404
1386
|
format: string | ProgressFn | undefined;
|
|
@@ -1459,7 +1441,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1459
1441
|
clearable: boolean;
|
|
1460
1442
|
index: number;
|
|
1461
1443
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
1462
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
1444
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
1463
1445
|
readonly label: string | ComputedRef<string>;
|
|
1464
1446
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
1465
1447
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -1470,10 +1452,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1470
1452
|
}>;
|
|
1471
1453
|
readonly fieldProps: PropsItemType<Partial<{
|
|
1472
1454
|
[key: string]: any;
|
|
1473
|
-
style: CSSProperties;
|
|
1455
|
+
style: CSSProperties; /**
|
|
1456
|
+
* 表格和搜索是否需要el-card 包裹 默认true
|
|
1457
|
+
*/
|
|
1474
1458
|
rows: number;
|
|
1475
1459
|
autocomplete: string;
|
|
1476
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
1460
|
+
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";
|
|
1477
1461
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1478
1462
|
step: string | number;
|
|
1479
1463
|
format: string | ProgressFn | undefined;
|
|
@@ -1562,9 +1546,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1562
1546
|
labelPosition: "top" | "right" | "left";
|
|
1563
1547
|
inline: boolean;
|
|
1564
1548
|
showNumber: number;
|
|
1565
|
-
colProps: Partial<Mutable< ColProps>>;
|
|
1566
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
1567
1549
|
defaultValues: FieldValues;
|
|
1550
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
1551
|
+
colProps: Partial<Mutable< ColProps>>;
|
|
1568
1552
|
hasFooter: boolean;
|
|
1569
1553
|
hasReset: boolean;
|
|
1570
1554
|
resetText: string;
|
|
@@ -1616,6 +1600,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1616
1600
|
type: PropType<number>;
|
|
1617
1601
|
default: number;
|
|
1618
1602
|
};
|
|
1603
|
+
defaultValues: {
|
|
1604
|
+
type: PropType<FieldValues>;
|
|
1605
|
+
default: () => {};
|
|
1606
|
+
};
|
|
1607
|
+
rowProps: {
|
|
1608
|
+
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1609
|
+
default: () => {
|
|
1610
|
+
gutter: number;
|
|
1611
|
+
};
|
|
1612
|
+
};
|
|
1619
1613
|
colProps: {
|
|
1620
1614
|
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1621
1615
|
default: () => {
|
|
@@ -1626,16 +1620,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1626
1620
|
xl: number;
|
|
1627
1621
|
};
|
|
1628
1622
|
};
|
|
1629
|
-
rowProps: {
|
|
1630
|
-
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1631
|
-
default: () => {
|
|
1632
|
-
gutter: number;
|
|
1633
|
-
};
|
|
1634
|
-
};
|
|
1635
|
-
defaultValues: {
|
|
1636
|
-
type: PropType<FieldValues>;
|
|
1637
|
-
default: () => {};
|
|
1638
|
-
};
|
|
1639
1623
|
hasFooter: {
|
|
1640
1624
|
type: PropType<boolean>;
|
|
1641
1625
|
default: boolean;
|
|
@@ -1677,8 +1661,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1677
1661
|
default: boolean;
|
|
1678
1662
|
};
|
|
1679
1663
|
}>> & {
|
|
1680
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1681
1664
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1665
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1682
1666
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1683
1667
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1684
1668
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
@@ -1695,12 +1679,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1695
1679
|
labelWidth: string | number;
|
|
1696
1680
|
labelSuffix: string;
|
|
1697
1681
|
hasLabel: boolean;
|
|
1698
|
-
clearable: boolean;
|
|
1699
|
-
colProps: Partial<Mutable< ColProps>>;
|
|
1700
|
-
collapseDuration: number;
|
|
1701
|
-
collapseTransition: boolean;
|
|
1702
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
1703
1682
|
defaultValues: FieldValues;
|
|
1683
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
1684
|
+
colProps: Partial<Mutable< ColProps>>;
|
|
1704
1685
|
hasErrorTip: boolean;
|
|
1705
1686
|
hasFooter: boolean;
|
|
1706
1687
|
hasReset: boolean;
|
|
@@ -1710,6 +1691,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1710
1691
|
footerAlign: "right" | "left" | "center";
|
|
1711
1692
|
cardProps: Partial<Mutable<CardProps>>;
|
|
1712
1693
|
prevent: boolean;
|
|
1694
|
+
collapseDuration: number;
|
|
1695
|
+
collapseTransition: boolean;
|
|
1696
|
+
clearable: boolean;
|
|
1713
1697
|
}> & Omit<{
|
|
1714
1698
|
readonly columns: PlusColumn[];
|
|
1715
1699
|
readonly group: false | PlusFormGroupRow[];
|
|
@@ -1719,10 +1703,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1719
1703
|
readonly labelWidth: string | number;
|
|
1720
1704
|
readonly labelSuffix: string;
|
|
1721
1705
|
readonly hasLabel: boolean;
|
|
1722
|
-
readonly clearable: boolean;
|
|
1723
|
-
readonly colProps: Partial<Mutable< ColProps>>;
|
|
1724
|
-
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
1725
1706
|
readonly defaultValues: FieldValues;
|
|
1707
|
+
readonly rowProps: Partial<Mutable< RowProps>>;
|
|
1708
|
+
readonly colProps: Partial<Mutable< ColProps>>;
|
|
1726
1709
|
readonly hasErrorTip: boolean;
|
|
1727
1710
|
readonly hasFooter: boolean;
|
|
1728
1711
|
readonly hasReset: boolean;
|
|
@@ -1732,10 +1715,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1732
1715
|
readonly footerAlign: "right" | "left" | "center";
|
|
1733
1716
|
readonly cardProps: Partial<Mutable<CardProps>>;
|
|
1734
1717
|
readonly prevent: boolean;
|
|
1718
|
+
readonly clearable: boolean;
|
|
1735
1719
|
readonly collapseDuration?: number | undefined;
|
|
1736
1720
|
readonly collapseTransition?: boolean | undefined;
|
|
1737
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1738
1721
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1722
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1739
1723
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1740
1724
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1741
1725
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -1773,28 +1757,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1773
1757
|
type: PropType<boolean>;
|
|
1774
1758
|
default: boolean;
|
|
1775
1759
|
};
|
|
1776
|
-
|
|
1777
|
-
type: PropType<
|
|
1778
|
-
default: boolean;
|
|
1779
|
-
};
|
|
1780
|
-
colProps: {
|
|
1781
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1760
|
+
defaultValues: {
|
|
1761
|
+
type: PropType<FieldValues>;
|
|
1782
1762
|
default: () => {};
|
|
1783
1763
|
};
|
|
1784
|
-
collapseDuration: {
|
|
1785
|
-
type: PropType<number>;
|
|
1786
|
-
default: undefined;
|
|
1787
|
-
};
|
|
1788
|
-
collapseTransition: {
|
|
1789
|
-
type: PropType<boolean>;
|
|
1790
|
-
default: undefined;
|
|
1791
|
-
};
|
|
1792
1764
|
rowProps: {
|
|
1793
1765
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1794
1766
|
default: () => {};
|
|
1795
1767
|
};
|
|
1796
|
-
|
|
1797
|
-
type: PropType<
|
|
1768
|
+
colProps: {
|
|
1769
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1798
1770
|
default: () => {};
|
|
1799
1771
|
};
|
|
1800
1772
|
hasErrorTip: {
|
|
@@ -1833,14 +1805,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1833
1805
|
type: PropType<boolean>;
|
|
1834
1806
|
default: boolean;
|
|
1835
1807
|
};
|
|
1808
|
+
collapseDuration: {
|
|
1809
|
+
type: PropType<number>;
|
|
1810
|
+
default: undefined;
|
|
1811
|
+
};
|
|
1812
|
+
collapseTransition: {
|
|
1813
|
+
type: PropType<boolean>;
|
|
1814
|
+
default: undefined;
|
|
1815
|
+
};
|
|
1816
|
+
clearable: {
|
|
1817
|
+
type: PropType<boolean>;
|
|
1818
|
+
default: boolean;
|
|
1819
|
+
};
|
|
1836
1820
|
}>> & {
|
|
1837
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1838
1821
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1822
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1839
1823
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1840
1824
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1841
1825
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1842
1826
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1843
|
-
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "
|
|
1827
|
+
}, "columns" | "group" | "modelValue" | "rules" | "labelPosition" | "labelWidth" | "labelSuffix" | "hasLabel" | "defaultValues" | "rowProps" | "colProps" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent" | "collapseDuration" | "collapseTransition" | "clearable">;
|
|
1844
1828
|
$attrs: {
|
|
1845
1829
|
[x: string]: unknown;
|
|
1846
1830
|
};
|
|
@@ -1852,7 +1836,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1852
1836
|
}>;
|
|
1853
1837
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1854
1838
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1855
|
-
$emit: ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "
|
|
1839
|
+
$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);
|
|
1856
1840
|
$el: any;
|
|
1857
1841
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1858
1842
|
columns: {
|
|
@@ -1887,28 +1871,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1887
1871
|
type: PropType<boolean>;
|
|
1888
1872
|
default: boolean;
|
|
1889
1873
|
};
|
|
1890
|
-
|
|
1891
|
-
type: PropType<
|
|
1892
|
-
default: boolean;
|
|
1893
|
-
};
|
|
1894
|
-
colProps: {
|
|
1895
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1874
|
+
defaultValues: {
|
|
1875
|
+
type: PropType<FieldValues>;
|
|
1896
1876
|
default: () => {};
|
|
1897
1877
|
};
|
|
1898
|
-
collapseDuration: {
|
|
1899
|
-
type: PropType<number>;
|
|
1900
|
-
default: undefined;
|
|
1901
|
-
};
|
|
1902
|
-
collapseTransition: {
|
|
1903
|
-
type: PropType<boolean>;
|
|
1904
|
-
default: undefined;
|
|
1905
|
-
};
|
|
1906
1878
|
rowProps: {
|
|
1907
1879
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
1908
1880
|
default: () => {};
|
|
1909
1881
|
};
|
|
1910
|
-
|
|
1911
|
-
type: PropType<
|
|
1882
|
+
colProps: {
|
|
1883
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
1912
1884
|
default: () => {};
|
|
1913
1885
|
};
|
|
1914
1886
|
hasErrorTip: {
|
|
@@ -1947,9 +1919,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
1947
1919
|
type: PropType<boolean>;
|
|
1948
1920
|
default: boolean;
|
|
1949
1921
|
};
|
|
1922
|
+
collapseDuration: {
|
|
1923
|
+
type: PropType<number>;
|
|
1924
|
+
default: undefined;
|
|
1925
|
+
};
|
|
1926
|
+
collapseTransition: {
|
|
1927
|
+
type: PropType<boolean>;
|
|
1928
|
+
default: undefined;
|
|
1929
|
+
};
|
|
1930
|
+
clearable: {
|
|
1931
|
+
type: PropType<boolean>;
|
|
1932
|
+
default: boolean;
|
|
1933
|
+
};
|
|
1950
1934
|
}>> & {
|
|
1951
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1952
1935
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1936
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1953
1937
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1954
1938
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1955
1939
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -2053,10 +2037,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2053
2037
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2054
2038
|
addField: (field: FormItemContext) => void;
|
|
2055
2039
|
removeField: (field: FormItemContext) => void;
|
|
2056
|
-
/**
|
|
2057
|
-
* 设置搜索的值
|
|
2058
|
-
* @version v0.1.17
|
|
2059
|
-
*/
|
|
2060
2040
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2061
2041
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2062
2042
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -2066,9 +2046,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2066
2046
|
validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
|
|
2067
2047
|
scrollToField: (prop: FormItemProp) => void;
|
|
2068
2048
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2069
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
2070
|
-
* TODO: 将会在v0.2.0中移除
|
|
2071
|
-
*/
|
|
2049
|
+
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
2072
2050
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2073
2051
|
readonly model: ObjectConstructor;
|
|
2074
2052
|
readonly rules: {
|
|
@@ -2221,10 +2199,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2221
2199
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2222
2200
|
addField: (field: FormItemContext) => void;
|
|
2223
2201
|
removeField: (field: FormItemContext) => void;
|
|
2224
|
-
/**
|
|
2225
|
-
* 设置搜索的值
|
|
2226
|
-
* @version v0.1.17
|
|
2227
|
-
*/
|
|
2228
2202
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2229
2203
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2230
2204
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -2265,12 +2239,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2265
2239
|
labelWidth: string | number;
|
|
2266
2240
|
labelSuffix: string;
|
|
2267
2241
|
hasLabel: boolean;
|
|
2268
|
-
clearable: boolean;
|
|
2269
|
-
colProps: Partial<Mutable< ColProps>>;
|
|
2270
|
-
collapseDuration: number;
|
|
2271
|
-
collapseTransition: boolean;
|
|
2272
|
-
rowProps: Partial<Mutable< RowProps>>;
|
|
2273
2242
|
defaultValues: FieldValues;
|
|
2243
|
+
rowProps: Partial<Mutable< RowProps>>;
|
|
2244
|
+
colProps: Partial<Mutable< ColProps>>;
|
|
2274
2245
|
hasErrorTip: boolean;
|
|
2275
2246
|
hasFooter: boolean;
|
|
2276
2247
|
hasReset: boolean;
|
|
@@ -2280,6 +2251,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2280
2251
|
footerAlign: "right" | "left" | "center";
|
|
2281
2252
|
cardProps: Partial<Mutable<CardProps>>;
|
|
2282
2253
|
prevent: boolean;
|
|
2254
|
+
collapseDuration: number;
|
|
2255
|
+
collapseTransition: boolean;
|
|
2256
|
+
clearable: boolean;
|
|
2283
2257
|
}, {}, string, {}> & {
|
|
2284
2258
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2285
2259
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -2333,28 +2307,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2333
2307
|
type: PropType<boolean>;
|
|
2334
2308
|
default: boolean;
|
|
2335
2309
|
};
|
|
2336
|
-
|
|
2337
|
-
type: PropType<
|
|
2338
|
-
default: boolean;
|
|
2339
|
-
};
|
|
2340
|
-
colProps: {
|
|
2341
|
-
type: PropType<Partial<Mutable< ColProps>>>;
|
|
2310
|
+
defaultValues: {
|
|
2311
|
+
type: PropType<FieldValues>;
|
|
2342
2312
|
default: () => {};
|
|
2343
2313
|
};
|
|
2344
|
-
collapseDuration: {
|
|
2345
|
-
type: PropType<number>;
|
|
2346
|
-
default: undefined;
|
|
2347
|
-
};
|
|
2348
|
-
collapseTransition: {
|
|
2349
|
-
type: PropType<boolean>;
|
|
2350
|
-
default: undefined;
|
|
2351
|
-
};
|
|
2352
2314
|
rowProps: {
|
|
2353
2315
|
type: PropType<Partial<Mutable< RowProps>>>;
|
|
2354
2316
|
default: () => {};
|
|
2355
2317
|
};
|
|
2356
|
-
|
|
2357
|
-
type: PropType<
|
|
2318
|
+
colProps: {
|
|
2319
|
+
type: PropType<Partial<Mutable< ColProps>>>;
|
|
2358
2320
|
default: () => {};
|
|
2359
2321
|
};
|
|
2360
2322
|
hasErrorTip: {
|
|
@@ -2393,9 +2355,21 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2393
2355
|
type: PropType<boolean>;
|
|
2394
2356
|
default: boolean;
|
|
2395
2357
|
};
|
|
2358
|
+
collapseDuration: {
|
|
2359
|
+
type: PropType<number>;
|
|
2360
|
+
default: undefined;
|
|
2361
|
+
};
|
|
2362
|
+
collapseTransition: {
|
|
2363
|
+
type: PropType<boolean>;
|
|
2364
|
+
default: undefined;
|
|
2365
|
+
};
|
|
2366
|
+
clearable: {
|
|
2367
|
+
type: PropType<boolean>;
|
|
2368
|
+
default: boolean;
|
|
2369
|
+
};
|
|
2396
2370
|
}>> & {
|
|
2397
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2398
2371
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2372
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2399
2373
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2400
2374
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2401
2375
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
@@ -2499,10 +2473,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2499
2473
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2500
2474
|
addField: (field: FormItemContext) => void;
|
|
2501
2475
|
removeField: (field: FormItemContext) => void;
|
|
2502
|
-
/**
|
|
2503
|
-
* 设置搜索的值
|
|
2504
|
-
* @version v0.1.17
|
|
2505
|
-
*/
|
|
2506
2476
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2507
2477
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2508
2478
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -2512,9 +2482,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2512
2482
|
validateField: (props?: Arrayable<FormItemProp> | undefined, callback?: FormValidateCallback | undefined) => FormValidationResult;
|
|
2513
2483
|
scrollToField: (prop: FormItemProp) => void;
|
|
2514
2484
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2515
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
2516
|
-
* TODO: 将会在v0.2.0中移除
|
|
2517
|
-
*/
|
|
2485
|
+
validate: (prop: FormItemProp, isValid: boolean, message: string) => boolean;
|
|
2518
2486
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
2519
2487
|
readonly model: ObjectConstructor;
|
|
2520
2488
|
readonly rules: {
|
|
@@ -2667,10 +2635,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2667
2635
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2668
2636
|
addField: (field: FormItemContext) => void;
|
|
2669
2637
|
removeField: (field: FormItemContext) => void;
|
|
2670
|
-
/**
|
|
2671
|
-
* 设置搜索的值
|
|
2672
|
-
* @version v0.1.17
|
|
2673
|
-
*/
|
|
2674
2638
|
resetFields: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2675
2639
|
clearValidate: (props?: Arrayable<FormItemProp> | undefined) => void;
|
|
2676
2640
|
isValidatable: ComputedRef<boolean>;
|
|
@@ -2705,7 +2669,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2705
2669
|
hideInGroup?: boolean | ComputedRef<boolean> | undefined;
|
|
2706
2670
|
columns?: PlusColumn[] | undefined;
|
|
2707
2671
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2708
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
2672
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
2709
2673
|
readonly label: string | ComputedRef<string>;
|
|
2710
2674
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2711
2675
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -2716,10 +2680,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2716
2680
|
}>;
|
|
2717
2681
|
readonly fieldProps: PropsItemType<Partial<{
|
|
2718
2682
|
[key: string]: any;
|
|
2719
|
-
style: CSSProperties;
|
|
2683
|
+
style: CSSProperties; /**
|
|
2684
|
+
* 表格和搜索是否需要el-card 包裹 默认true
|
|
2685
|
+
*/
|
|
2720
2686
|
rows: number;
|
|
2721
2687
|
autocomplete: string;
|
|
2722
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
2688
|
+
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";
|
|
2723
2689
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2724
2690
|
step: string | number;
|
|
2725
2691
|
format: string | ProgressFn | undefined;
|
|
@@ -2780,7 +2746,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2780
2746
|
clearable: boolean;
|
|
2781
2747
|
index: number;
|
|
2782
2748
|
}) => any>> & Partial<Record<NonNullable<string | number>, (_: {
|
|
2783
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
2749
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
2784
2750
|
readonly label: string | ComputedRef<string>;
|
|
2785
2751
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2786
2752
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -2791,10 +2757,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2791
2757
|
}>;
|
|
2792
2758
|
readonly fieldProps: PropsItemType<Partial<{
|
|
2793
2759
|
[key: string]: any;
|
|
2794
|
-
style: CSSProperties;
|
|
2760
|
+
style: CSSProperties; /**
|
|
2761
|
+
* 表格和搜索是否需要el-card 包裹 默认true
|
|
2762
|
+
*/
|
|
2795
2763
|
rows: number;
|
|
2796
2764
|
autocomplete: string;
|
|
2797
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
2765
|
+
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";
|
|
2798
2766
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2799
2767
|
step: string | number;
|
|
2800
2768
|
format: string | ProgressFn | undefined;
|
|
@@ -2873,7 +2841,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2873
2841
|
handleUnfold: (e: MouseEvent) => void;
|
|
2874
2842
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2875
2843
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2876
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
2844
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
2877
2845
|
readonly label: string | ComputedRef<string>;
|
|
2878
2846
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
2879
2847
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -2884,10 +2852,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2884
2852
|
}>;
|
|
2885
2853
|
readonly fieldProps: PropsItemType<Partial<{
|
|
2886
2854
|
[key: string]: any;
|
|
2887
|
-
style: CSSProperties;
|
|
2855
|
+
style: CSSProperties; /**
|
|
2856
|
+
* 表格和搜索是否需要el-card 包裹 默认true
|
|
2857
|
+
*/
|
|
2888
2858
|
rows: number;
|
|
2889
2859
|
autocomplete: string;
|
|
2890
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
2860
|
+
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";
|
|
2891
2861
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2892
2862
|
step: string | number;
|
|
2893
2863
|
format: string | ProgressFn | undefined;
|
|
@@ -2961,6 +2931,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2961
2931
|
$: ComponentInternalInstance;
|
|
2962
2932
|
$data: {};
|
|
2963
2933
|
$props: Partial<{
|
|
2934
|
+
showOverflowTooltip: boolean;
|
|
2964
2935
|
columns: PlusColumn[];
|
|
2965
2936
|
data: RecordType[];
|
|
2966
2937
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
@@ -2970,11 +2941,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2970
2941
|
columnIndex: number;
|
|
2971
2942
|
}) => CSSProperties>;
|
|
2972
2943
|
rowKey: string | ((row: any[]) => string);
|
|
2944
|
+
tableData: RecordType[];
|
|
2945
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
2946
|
+
pagination: false | Partial<PlusPaginationProps>;
|
|
2973
2947
|
actionBar: false | Partial< ActionBarProps>;
|
|
2974
|
-
|
|
2975
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2976
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
2977
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2948
|
+
hasIndexColumn: boolean;
|
|
2978
2949
|
titleBar: boolean | Partial<Partial<{
|
|
2979
2950
|
title?: string | undefined;
|
|
2980
2951
|
refresh?: boolean | undefined;
|
|
@@ -2985,25 +2956,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
2985
2956
|
color?: string | undefined;
|
|
2986
2957
|
} | undefined;
|
|
2987
2958
|
}>>;
|
|
2988
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
2989
|
-
tableData: RecordType[];
|
|
2990
|
-
pagination: false | Partial<PlusPaginationProps>;
|
|
2991
|
-
hasIndexColumn: boolean;
|
|
2992
2959
|
isSelection: boolean | "radio";
|
|
2993
2960
|
isRadio: boolean;
|
|
2994
2961
|
hasExpand: boolean;
|
|
2995
2962
|
loadingStatus: boolean;
|
|
2996
2963
|
dragSortable: false | Partial< Options>;
|
|
2964
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2965
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2997
2966
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2998
2967
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2999
2968
|
radioProps: Partial< PlusRadioProps>;
|
|
3000
2969
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
3001
2970
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2971
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
2972
|
+
editable: boolean | "click" | "dblclick";
|
|
3002
2973
|
adaptive: boolean | {
|
|
3003
2974
|
offsetBottom?: number | undefined;
|
|
3004
2975
|
timeout?: number | undefined;
|
|
3005
2976
|
};
|
|
3006
2977
|
}> & Omit<{
|
|
2978
|
+
readonly showOverflowTooltip: boolean;
|
|
3007
2979
|
readonly columns: PlusColumn[];
|
|
3008
2980
|
readonly data: RecordType[];
|
|
3009
2981
|
readonly headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
@@ -3013,11 +2985,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3013
2985
|
columnIndex: number;
|
|
3014
2986
|
}) => CSSProperties>;
|
|
3015
2987
|
readonly rowKey: string | ((row: any[]) => string);
|
|
2988
|
+
readonly tableData: RecordType[];
|
|
2989
|
+
readonly defaultSize: "" | "default" | "small" | "large";
|
|
2990
|
+
readonly pagination: false | Partial<PlusPaginationProps>;
|
|
3016
2991
|
readonly actionBar: false | Partial< ActionBarProps>;
|
|
3017
|
-
readonly
|
|
3018
|
-
readonly indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3019
|
-
readonly indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3020
|
-
readonly dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
2992
|
+
readonly hasIndexColumn: boolean;
|
|
3021
2993
|
readonly titleBar: boolean | Partial<Partial<{
|
|
3022
2994
|
title?: string | undefined;
|
|
3023
2995
|
refresh?: boolean | undefined;
|
|
@@ -3028,18 +3000,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3028
3000
|
color?: string | undefined;
|
|
3029
3001
|
} | undefined;
|
|
3030
3002
|
}>>;
|
|
3031
|
-
readonly defaultSize: "" | "default" | "small" | "large";
|
|
3032
|
-
readonly tableData: RecordType[];
|
|
3033
|
-
readonly pagination: false | Partial<PlusPaginationProps>;
|
|
3034
|
-
readonly hasIndexColumn: boolean;
|
|
3035
3003
|
readonly isSelection: boolean | "radio";
|
|
3036
3004
|
readonly isRadio: boolean;
|
|
3037
3005
|
readonly hasExpand: boolean;
|
|
3038
3006
|
readonly loadingStatus: boolean;
|
|
3039
3007
|
readonly dragSortable: false | Partial< Options>;
|
|
3008
|
+
readonly dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3009
|
+
readonly indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3040
3010
|
readonly selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3041
3011
|
readonly radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3042
3012
|
readonly expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3013
|
+
readonly indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3014
|
+
readonly editable: boolean | "click" | "dblclick";
|
|
3043
3015
|
readonly adaptive: boolean | {
|
|
3044
3016
|
offsetBottom?: number | undefined;
|
|
3045
3017
|
timeout?: number | undefined;
|
|
@@ -3048,18 +3020,22 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3048
3020
|
readonly radioProps?: Partial< PlusRadioProps> | undefined;
|
|
3049
3021
|
readonly defaultSelectedRadioRow?: RecordType | ComputedRef<RecordType> | undefined;
|
|
3050
3022
|
readonly filterTableHeaderOverflowLabelLength?: number | undefined;
|
|
3023
|
+
onRefresh?: (() => any) | undefined;
|
|
3024
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3051
3025
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3052
3026
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3027
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3053
3028
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3029
|
+
onEdited?: (() => any) | undefined;
|
|
3054
3030
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3055
3031
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3056
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3057
|
-
onRefresh?: (() => any) | undefined;
|
|
3058
3032
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3059
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3060
|
-
onEdited?: (() => any) | undefined;
|
|
3061
3033
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3062
3034
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3035
|
+
showOverflowTooltip: {
|
|
3036
|
+
type: PropType<boolean>;
|
|
3037
|
+
default: boolean;
|
|
3038
|
+
};
|
|
3063
3039
|
columns: {
|
|
3064
3040
|
type: PropType<PlusColumn[]>;
|
|
3065
3041
|
default: () => never[];
|
|
@@ -3086,26 +3062,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3086
3062
|
type: PropType<string | ((row: any[]) => string)>;
|
|
3087
3063
|
default: string;
|
|
3088
3064
|
};
|
|
3065
|
+
tableData: {
|
|
3066
|
+
type: PropType<RecordType[]>;
|
|
3067
|
+
default: () => never[];
|
|
3068
|
+
};
|
|
3069
|
+
defaultSize: {
|
|
3070
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
3071
|
+
default: string;
|
|
3072
|
+
};
|
|
3073
|
+
pagination: {
|
|
3074
|
+
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
3075
|
+
default: boolean;
|
|
3076
|
+
};
|
|
3089
3077
|
actionBar: {
|
|
3090
3078
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
3091
3079
|
default: boolean;
|
|
3092
3080
|
};
|
|
3093
|
-
|
|
3094
|
-
type: PropType<boolean
|
|
3081
|
+
hasIndexColumn: {
|
|
3082
|
+
type: PropType<boolean>;
|
|
3095
3083
|
default: boolean;
|
|
3096
3084
|
};
|
|
3097
|
-
indexTableColumnProps: {
|
|
3098
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3099
|
-
default: () => {};
|
|
3100
|
-
};
|
|
3101
|
-
indexContentStyle: {
|
|
3102
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3103
|
-
default: () => {};
|
|
3104
|
-
};
|
|
3105
|
-
dragSortableTableColumnProps: {
|
|
3106
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3107
|
-
default: () => {};
|
|
3108
|
-
};
|
|
3109
3085
|
titleBar: {
|
|
3110
3086
|
type: PropType<boolean | Partial<Partial<{
|
|
3111
3087
|
title?: string | undefined;
|
|
@@ -3119,22 +3095,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3119
3095
|
}>>>;
|
|
3120
3096
|
default: boolean;
|
|
3121
3097
|
};
|
|
3122
|
-
defaultSize: {
|
|
3123
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
3124
|
-
default: string;
|
|
3125
|
-
};
|
|
3126
|
-
tableData: {
|
|
3127
|
-
type: PropType<RecordType[]>;
|
|
3128
|
-
default: () => never[];
|
|
3129
|
-
};
|
|
3130
|
-
pagination: {
|
|
3131
|
-
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
3132
|
-
default: boolean;
|
|
3133
|
-
};
|
|
3134
|
-
hasIndexColumn: {
|
|
3135
|
-
type: PropType<boolean>;
|
|
3136
|
-
default: boolean;
|
|
3137
|
-
};
|
|
3138
3098
|
isSelection: {
|
|
3139
3099
|
type: PropType<boolean | "radio">;
|
|
3140
3100
|
default: boolean;
|
|
@@ -3155,6 +3115,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3155
3115
|
type: PropType<false | Partial< Options>>;
|
|
3156
3116
|
default: boolean;
|
|
3157
3117
|
};
|
|
3118
|
+
dragSortableTableColumnProps: {
|
|
3119
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3120
|
+
default: () => {};
|
|
3121
|
+
};
|
|
3122
|
+
indexTableColumnProps: {
|
|
3123
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3124
|
+
default: () => {};
|
|
3125
|
+
};
|
|
3158
3126
|
selectionTableColumnProps: {
|
|
3159
3127
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3160
3128
|
default: () => {
|
|
@@ -3179,6 +3147,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3179
3147
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3180
3148
|
default: () => {};
|
|
3181
3149
|
};
|
|
3150
|
+
indexContentStyle: {
|
|
3151
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3152
|
+
default: () => {};
|
|
3153
|
+
};
|
|
3154
|
+
editable: {
|
|
3155
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
3156
|
+
default: boolean;
|
|
3157
|
+
};
|
|
3182
3158
|
adaptive: {
|
|
3183
3159
|
type: PropType<boolean | {
|
|
3184
3160
|
offsetBottom?: number | undefined;
|
|
@@ -3190,18 +3166,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3190
3166
|
type: PropType<number>;
|
|
3191
3167
|
};
|
|
3192
3168
|
}>> & {
|
|
3169
|
+
onRefresh?: (() => any) | undefined;
|
|
3170
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3193
3171
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3194
3172
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3173
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3195
3174
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3175
|
+
onEdited?: (() => any) | undefined;
|
|
3196
3176
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3197
3177
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3198
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3199
|
-
onRefresh?: (() => any) | undefined;
|
|
3200
3178
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3201
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3202
|
-
onEdited?: (() => any) | undefined;
|
|
3203
3179
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3204
|
-
}, "columns" | "data" | "headerCellStyle" | "rowKey" | "
|
|
3180
|
+
}, "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">;
|
|
3205
3181
|
$attrs: {
|
|
3206
3182
|
[x: string]: unknown;
|
|
3207
3183
|
};
|
|
@@ -3216,6 +3192,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3216
3192
|
$emit: ((event: "paginationChange", pageInfo: PageInfo) => void) & ((event: "clickAction", data: ButtonsCallBackParams) => void) & ((event: "clickActionConfirmCancel", data: ButtonsCallBackParams) => void) & ((event: "dragSortEnd", newIndex: number, oldIndex: number) => void) & ((event: "formChange", data: FormChangeCallBackParams) => void) & ((event: "refresh") => void) & ((event: "edited") => void) & ((event: "cell-click", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "cell-dblclick", row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void) & ((event: "filterTableHeader", columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void) & ((event: "radioChange", row: RecordType, index: number, value: boolean) => void);
|
|
3217
3193
|
$el: any;
|
|
3218
3194
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3195
|
+
showOverflowTooltip: {
|
|
3196
|
+
type: PropType<boolean>;
|
|
3197
|
+
default: boolean;
|
|
3198
|
+
};
|
|
3219
3199
|
columns: {
|
|
3220
3200
|
type: PropType<PlusColumn[]>;
|
|
3221
3201
|
default: () => never[];
|
|
@@ -3242,26 +3222,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3242
3222
|
type: PropType<string | ((row: any[]) => string)>;
|
|
3243
3223
|
default: string;
|
|
3244
3224
|
};
|
|
3225
|
+
tableData: {
|
|
3226
|
+
type: PropType<RecordType[]>;
|
|
3227
|
+
default: () => never[];
|
|
3228
|
+
};
|
|
3229
|
+
defaultSize: {
|
|
3230
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
3231
|
+
default: string;
|
|
3232
|
+
};
|
|
3233
|
+
pagination: {
|
|
3234
|
+
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
3235
|
+
default: boolean;
|
|
3236
|
+
};
|
|
3245
3237
|
actionBar: {
|
|
3246
3238
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
3247
3239
|
default: boolean;
|
|
3248
3240
|
};
|
|
3249
|
-
|
|
3250
|
-
type: PropType<boolean
|
|
3241
|
+
hasIndexColumn: {
|
|
3242
|
+
type: PropType<boolean>;
|
|
3251
3243
|
default: boolean;
|
|
3252
3244
|
};
|
|
3253
|
-
indexTableColumnProps: {
|
|
3254
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3255
|
-
default: () => {};
|
|
3256
|
-
};
|
|
3257
|
-
indexContentStyle: {
|
|
3258
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3259
|
-
default: () => {};
|
|
3260
|
-
};
|
|
3261
|
-
dragSortableTableColumnProps: {
|
|
3262
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3263
|
-
default: () => {};
|
|
3264
|
-
};
|
|
3265
3245
|
titleBar: {
|
|
3266
3246
|
type: PropType<boolean | Partial<Partial<{
|
|
3267
3247
|
title?: string | undefined;
|
|
@@ -3275,22 +3255,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3275
3255
|
}>>>;
|
|
3276
3256
|
default: boolean;
|
|
3277
3257
|
};
|
|
3278
|
-
defaultSize: {
|
|
3279
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
3280
|
-
default: string;
|
|
3281
|
-
};
|
|
3282
|
-
tableData: {
|
|
3283
|
-
type: PropType<RecordType[]>;
|
|
3284
|
-
default: () => never[];
|
|
3285
|
-
};
|
|
3286
|
-
pagination: {
|
|
3287
|
-
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
3288
|
-
default: boolean;
|
|
3289
|
-
};
|
|
3290
|
-
hasIndexColumn: {
|
|
3291
|
-
type: PropType<boolean>;
|
|
3292
|
-
default: boolean;
|
|
3293
|
-
};
|
|
3294
3258
|
isSelection: {
|
|
3295
3259
|
type: PropType<boolean | "radio">;
|
|
3296
3260
|
default: boolean;
|
|
@@ -3311,6 +3275,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3311
3275
|
type: PropType<false | Partial< Options>>;
|
|
3312
3276
|
default: boolean;
|
|
3313
3277
|
};
|
|
3278
|
+
dragSortableTableColumnProps: {
|
|
3279
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3280
|
+
default: () => {};
|
|
3281
|
+
};
|
|
3282
|
+
indexTableColumnProps: {
|
|
3283
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3284
|
+
default: () => {};
|
|
3285
|
+
};
|
|
3314
3286
|
selectionTableColumnProps: {
|
|
3315
3287
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3316
3288
|
default: () => {
|
|
@@ -3335,6 +3307,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3335
3307
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
3336
3308
|
default: () => {};
|
|
3337
3309
|
};
|
|
3310
|
+
indexContentStyle: {
|
|
3311
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
3312
|
+
default: () => {};
|
|
3313
|
+
};
|
|
3314
|
+
editable: {
|
|
3315
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
3316
|
+
default: boolean;
|
|
3317
|
+
};
|
|
3338
3318
|
adaptive: {
|
|
3339
3319
|
type: PropType<boolean | {
|
|
3340
3320
|
offsetBottom?: number | undefined;
|
|
@@ -3346,16 +3326,16 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3346
3326
|
type: PropType<number>;
|
|
3347
3327
|
};
|
|
3348
3328
|
}>> & {
|
|
3329
|
+
onRefresh?: (() => any) | undefined;
|
|
3330
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3349
3331
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3350
3332
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
3333
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3351
3334
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
3335
|
+
onEdited?: (() => any) | undefined;
|
|
3352
3336
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3353
3337
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
3354
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
3355
|
-
onRefresh?: (() => any) | undefined;
|
|
3356
3338
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
3357
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
3358
|
-
onEdited?: (() => any) | undefined;
|
|
3359
3339
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
3360
3340
|
}, {
|
|
3361
3341
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
@@ -3555,7 +3535,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3555
3535
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
3556
3536
|
setScrollLeft: (left?: number | undefined) => void;
|
|
3557
3537
|
setScrollTop: (top?: number | undefined) => void;
|
|
3558
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "
|
|
3538
|
+
}, 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<{
|
|
3559
3539
|
data: {
|
|
3560
3540
|
type: PropType<any[]>;
|
|
3561
3541
|
default: () => never[];
|
|
@@ -3921,6 +3901,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3921
3901
|
filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void;
|
|
3922
3902
|
radioChange: (row: RecordType, index: number, value: boolean) => void;
|
|
3923
3903
|
}, string, {
|
|
3904
|
+
showOverflowTooltip: boolean;
|
|
3924
3905
|
columns: PlusColumn[];
|
|
3925
3906
|
data: RecordType[];
|
|
3926
3907
|
headerCellStyle: Partial< CSSProperties> | Partial<(data: {
|
|
@@ -3930,11 +3911,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3930
3911
|
columnIndex: number;
|
|
3931
3912
|
}) => CSSProperties>;
|
|
3932
3913
|
rowKey: string | ((row: any[]) => string);
|
|
3914
|
+
tableData: RecordType[];
|
|
3915
|
+
defaultSize: "" | "default" | "small" | "large";
|
|
3916
|
+
pagination: false | Partial<PlusPaginationProps>;
|
|
3933
3917
|
actionBar: false | Partial< ActionBarProps>;
|
|
3934
|
-
|
|
3935
|
-
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3936
|
-
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3937
|
-
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3918
|
+
hasIndexColumn: boolean;
|
|
3938
3919
|
titleBar: boolean | Partial<Partial<{
|
|
3939
3920
|
title?: string | undefined;
|
|
3940
3921
|
refresh?: boolean | undefined;
|
|
@@ -3945,20 +3926,20 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3945
3926
|
color?: string | undefined;
|
|
3946
3927
|
} | undefined;
|
|
3947
3928
|
}>>;
|
|
3948
|
-
defaultSize: "" | "default" | "small" | "large";
|
|
3949
|
-
tableData: RecordType[];
|
|
3950
|
-
pagination: false | Partial<PlusPaginationProps>;
|
|
3951
|
-
hasIndexColumn: boolean;
|
|
3952
3929
|
isSelection: boolean | "radio";
|
|
3953
3930
|
isRadio: boolean;
|
|
3954
3931
|
hasExpand: boolean;
|
|
3955
3932
|
loadingStatus: boolean;
|
|
3956
3933
|
dragSortable: false | Partial< Options>;
|
|
3934
|
+
dragSortableTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3935
|
+
indexTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3957
3936
|
selectionTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3958
3937
|
radioTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3959
3938
|
radioProps: Partial< PlusRadioProps>;
|
|
3960
3939
|
defaultSelectedRadioRow: RecordType | ComputedRef<RecordType>;
|
|
3961
3940
|
expandTableColumnProps: Partial< TableColumnCtx<any>>;
|
|
3941
|
+
indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
|
|
3942
|
+
editable: boolean | "click" | "dblclick";
|
|
3962
3943
|
adaptive: boolean | {
|
|
3963
3944
|
offsetBottom?: number | undefined;
|
|
3964
3945
|
timeout?: number | undefined;
|
|
@@ -3984,6 +3965,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
3984
3965
|
$nextTick: nextTick;
|
|
3985
3966
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
3986
3967
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
3968
|
+
showOverflowTooltip: {
|
|
3969
|
+
type: PropType<boolean>;
|
|
3970
|
+
default: boolean;
|
|
3971
|
+
};
|
|
3987
3972
|
columns: {
|
|
3988
3973
|
type: PropType<PlusColumn[]>;
|
|
3989
3974
|
default: () => never[];
|
|
@@ -4010,26 +3995,26 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4010
3995
|
type: PropType<string | ((row: any[]) => string)>;
|
|
4011
3996
|
default: string;
|
|
4012
3997
|
};
|
|
3998
|
+
tableData: {
|
|
3999
|
+
type: PropType<RecordType[]>;
|
|
4000
|
+
default: () => never[];
|
|
4001
|
+
};
|
|
4002
|
+
defaultSize: {
|
|
4003
|
+
type: PropType<"" | "default" | "small" | "large">;
|
|
4004
|
+
default: string;
|
|
4005
|
+
};
|
|
4006
|
+
pagination: {
|
|
4007
|
+
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
4008
|
+
default: boolean;
|
|
4009
|
+
};
|
|
4013
4010
|
actionBar: {
|
|
4014
4011
|
type: PropType<false | Partial< ActionBarProps>>;
|
|
4015
4012
|
default: boolean;
|
|
4016
4013
|
};
|
|
4017
|
-
|
|
4018
|
-
type: PropType<boolean
|
|
4014
|
+
hasIndexColumn: {
|
|
4015
|
+
type: PropType<boolean>;
|
|
4019
4016
|
default: boolean;
|
|
4020
4017
|
};
|
|
4021
|
-
indexTableColumnProps: {
|
|
4022
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4023
|
-
default: () => {};
|
|
4024
|
-
};
|
|
4025
|
-
indexContentStyle: {
|
|
4026
|
-
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
4027
|
-
default: () => {};
|
|
4028
|
-
};
|
|
4029
|
-
dragSortableTableColumnProps: {
|
|
4030
|
-
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4031
|
-
default: () => {};
|
|
4032
|
-
};
|
|
4033
4018
|
titleBar: {
|
|
4034
4019
|
type: PropType<boolean | Partial<Partial<{
|
|
4035
4020
|
title?: string | undefined;
|
|
@@ -4043,22 +4028,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4043
4028
|
}>>>;
|
|
4044
4029
|
default: boolean;
|
|
4045
4030
|
};
|
|
4046
|
-
defaultSize: {
|
|
4047
|
-
type: PropType<"" | "default" | "small" | "large">;
|
|
4048
|
-
default: string;
|
|
4049
|
-
};
|
|
4050
|
-
tableData: {
|
|
4051
|
-
type: PropType<RecordType[]>;
|
|
4052
|
-
default: () => never[];
|
|
4053
|
-
};
|
|
4054
|
-
pagination: {
|
|
4055
|
-
type: PropType<false | Partial<PlusPaginationProps>>;
|
|
4056
|
-
default: boolean;
|
|
4057
|
-
};
|
|
4058
|
-
hasIndexColumn: {
|
|
4059
|
-
type: PropType<boolean>;
|
|
4060
|
-
default: boolean;
|
|
4061
|
-
};
|
|
4062
4031
|
isSelection: {
|
|
4063
4032
|
type: PropType<boolean | "radio">;
|
|
4064
4033
|
default: boolean;
|
|
@@ -4079,6 +4048,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4079
4048
|
type: PropType<false | Partial< Options>>;
|
|
4080
4049
|
default: boolean;
|
|
4081
4050
|
};
|
|
4051
|
+
dragSortableTableColumnProps: {
|
|
4052
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4053
|
+
default: () => {};
|
|
4054
|
+
};
|
|
4055
|
+
indexTableColumnProps: {
|
|
4056
|
+
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4057
|
+
default: () => {};
|
|
4058
|
+
};
|
|
4082
4059
|
selectionTableColumnProps: {
|
|
4083
4060
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4084
4061
|
default: () => {
|
|
@@ -4103,6 +4080,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4103
4080
|
type: PropType<Partial< TableColumnCtx<any>>>;
|
|
4104
4081
|
default: () => {};
|
|
4105
4082
|
};
|
|
4083
|
+
indexContentStyle: {
|
|
4084
|
+
type: PropType<Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>)>;
|
|
4085
|
+
default: () => {};
|
|
4086
|
+
};
|
|
4087
|
+
editable: {
|
|
4088
|
+
type: PropType<boolean | "click" | "dblclick">;
|
|
4089
|
+
default: boolean;
|
|
4090
|
+
};
|
|
4106
4091
|
adaptive: {
|
|
4107
4092
|
type: PropType<boolean | {
|
|
4108
4093
|
offsetBottom?: number | undefined;
|
|
@@ -4114,18 +4099,18 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4114
4099
|
type: PropType<number>;
|
|
4115
4100
|
};
|
|
4116
4101
|
}>> & {
|
|
4102
|
+
onRefresh?: (() => any) | undefined;
|
|
4103
|
+
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
4117
4104
|
onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4118
4105
|
onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined;
|
|
4106
|
+
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
4119
4107
|
onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined;
|
|
4108
|
+
onEdited?: (() => any) | undefined;
|
|
4120
4109
|
"onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
4121
4110
|
"onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
4122
|
-
onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined;
|
|
4123
|
-
onRefresh?: (() => any) | undefined;
|
|
4124
4111
|
onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined;
|
|
4125
|
-
onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined;
|
|
4126
|
-
onEdited?: (() => any) | undefined;
|
|
4127
4112
|
onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined;
|
|
4128
|
-
}, "
|
|
4113
|
+
}, "formRefs" | "tableInstance"> & ShallowUnwrapRef<{
|
|
4129
4114
|
formRefs: ShallowRef<Record<string | number, TableFormRefRow[]>>;
|
|
4130
4115
|
tableInstance: ShallowRef< CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
4131
4116
|
data: {
|
|
@@ -4323,7 +4308,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4323
4308
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
4324
4309
|
setScrollLeft: (left?: number | undefined) => void;
|
|
4325
4310
|
setScrollTop: (top?: number | undefined) => void;
|
|
4326
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("select" | "
|
|
4311
|
+
}, 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<{
|
|
4327
4312
|
data: {
|
|
4328
4313
|
type: PropType<any[]>;
|
|
4329
4314
|
default: () => never[];
|
|
@@ -4758,8 +4743,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4758
4743
|
search: false | Partial<PlusSearchProps>;
|
|
4759
4744
|
immediate: boolean;
|
|
4760
4745
|
table: Partial<PlusTableProps>;
|
|
4746
|
+
pagination: false | Omit<PlusPaginationProps, "modelValue" | "total" | "pageSizeList">;
|
|
4761
4747
|
params: RecordType;
|
|
4762
|
-
pagination: false | Omit<PlusPaginationProps, "total" | "modelValue" | "pageSizeList">;
|
|
4763
4748
|
postData: <T_1 = RecordType[]>(data: T_1[]) => T_1[];
|
|
4764
4749
|
beforeSearchSubmit: <T_2 = RecordType>(params: T_2) => T_2;
|
|
4765
4750
|
isCard: boolean;
|
|
@@ -4774,7 +4759,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4774
4759
|
};
|
|
4775
4760
|
searchSlot: boolean;
|
|
4776
4761
|
}, {}>, Partial<Record<never, (_: {
|
|
4777
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "
|
|
4762
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "label" | "index" | "tooltip" | "formItemProps" | "fieldProps" | "fieldSlots" | "fieldChildrenSlot" | "modelValue" | "options" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
4778
4763
|
readonly label: string | ComputedRef<string>;
|
|
4779
4764
|
readonly modelValue: string | number | boolean | RecordType | Date | string[] | boolean[] | number[] | Date[] | [Date, Date] | [number, number] | [string, string] | string[][] | number[][] | null;
|
|
4780
4765
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
@@ -4785,10 +4770,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
4785
4770
|
}>;
|
|
4786
4771
|
readonly fieldProps: PropsItemType<Partial<{
|
|
4787
4772
|
[key: string]: any;
|
|
4788
|
-
style: CSSProperties;
|
|
4773
|
+
style: CSSProperties; /**
|
|
4774
|
+
* 表格和搜索是否需要el-card 包裹 默认true
|
|
4775
|
+
*/
|
|
4789
4776
|
rows: number;
|
|
4790
4777
|
autocomplete: string;
|
|
4791
|
-
type: "" | "number" | "default" | "search" | "checkbox" | "radio" | "textarea" | "text" | "circle" | "color" | "button" | "success" | "warning" | "info" | "primary" | "danger" | "reset" | "submit" | "
|
|
4778
|
+
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";
|
|
4792
4779
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4793
4780
|
step: string | number;
|
|
4794
4781
|
format: string | ProgressFn | undefined;
|