@qqt-product/ui 0.0.13 → 0.0.14
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/dist/index.es.js +54012 -78511
- package/dist/index.umd.js +24 -123
- package/dist/lib/components/breadcrumb/index.d.ts +1 -1
- package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +1 -1
- package/dist/lib/components/card-list-layout/index.d.ts +14 -14
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +4 -4
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +7 -7
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +14 -14
- package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +1 -1
- package/dist/lib/components/cascader/index.d.ts +6 -6
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +6 -6
- package/dist/lib/components/checkbox/index.d.ts +7 -7
- package/dist/lib/components/checkbox/src/checkbox.vue.d.ts +7 -7
- package/dist/lib/components/codeEditorModel/index.d.ts +4 -98
- package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +4 -98
- package/dist/lib/components/collapse-transition/index.d.ts +1 -1
- package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +1 -1
- package/dist/lib/components/coutdown/index.d.ts +4 -14
- package/dist/lib/components/coutdown/src/coutdown.d.ts +0 -8
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +4 -22
- package/dist/lib/components/currency/index.d.ts +3 -3
- package/dist/lib/components/currency/src/currency.vue.d.ts +3 -3
- package/dist/lib/components/detail-form/index.d.ts +4 -4
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +4 -4
- package/dist/lib/components/detail-grid/index.d.ts +337 -292
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +337 -292
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +2 -2
- package/dist/lib/components/detail-page-layout/index.d.ts +1 -1
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +1 -1
- package/dist/lib/components/edit-form/index.d.ts +4 -4
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +4 -4
- package/dist/lib/components/edit-grid/index.d.ts +337 -293
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +2 -2
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +337 -293
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +2 -2
- package/dist/lib/components/edit-page-layout/index.d.ts +1 -1
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +8 -4
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +1 -1
- package/dist/lib/components/editor/index.d.ts +2 -2
- package/dist/lib/components/editor/src/index.vue.d.ts +2 -2
- package/dist/lib/components/field-select-modal/index.d.ts +9 -9
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +2 -2
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +9 -9
- package/dist/lib/components/item-wrap/index.d.ts +2 -2
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +2 -2
- package/dist/lib/components/layout/index.d.ts +2 -2
- package/dist/lib/components/layout/src/header/index.vue.d.ts +11 -11
- package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +9 -9
- package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +4 -4
- package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/index.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +1 -1
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +2 -2
- package/dist/lib/components/layout/src/sider/search.vue.d.ts +1 -1
- package/dist/lib/components/layout-anchor/index.d.ts +1 -1
- package/dist/lib/components/layout-anchor/src/layout-auchor.vue.d.ts +1 -1
- package/dist/lib/components/layout-buttons/index.d.ts +3 -3
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +3 -3
- package/dist/lib/components/layout-pattern/index.d.ts +1 -1
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +44 -6
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/index.d.ts +7 -7
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +23 -23
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +656 -566
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +10 -10
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +2 -2
- package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +1 -1
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +7 -7
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +3 -3
- package/dist/lib/components/list-page-layout/src/tokens.d.ts +2 -2
- package/dist/lib/components/page-layout/index.d.ts +1 -1
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +1 -1
- package/dist/lib/components/radio/index.d.ts +7 -7
- package/dist/lib/components/radio/src/radio.vue.d.ts +7 -7
- package/dist/lib/components/remote-select/index.d.ts +5 -5
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +5 -5
- package/dist/lib/components/select/index.d.ts +5 -5
- package/dist/lib/components/select/src/select.vue.d.ts +5 -5
- package/dist/lib/components/select-modal/index.d.ts +71 -67
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +71 -67
- package/dist/lib/components/switch/index.d.ts +2 -2
- package/dist/lib/components/switch/src/switch.vue.d.ts +2 -2
- package/dist/lib/components/tree-select/index.d.ts +5 -5
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +5 -5
- package/dist/lib/components/upload-file/index.d.ts +23 -15
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +29 -15
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +1 -1
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +6 -19
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +22 -13
- package/dist/lib/components/upload-image/index.d.ts +4 -4
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +4 -4
- package/dist/lib/components/vxe-select/index.d.ts +6 -6
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +6 -6
- package/dist/lib/index.d.ts +1 -2
- package/dist/style.css +2 -2
- package/package.json +19 -19
- package/dist/components/ComponentsDemo.vue.d.ts +0 -13
- package/dist/components/EditPage.vue.d.ts +0 -6011
- package/dist/components/PreviewList.vue.d.ts +0 -218
- package/dist/components/hook/use-field-select-modal-hook.d.ts +0 -288
- package/dist/components/login.vue.d.ts +0 -19
- package/dist/components/mock.d.ts +0 -260
- package/dist/components/mockList.d.ts +0 -44
- package/dist/lib/components/upload-file/src/hook/use-operation-column-hook.d.ts +0 -15
- package/dist/router/index.d.ts +0 -4
- package/dist/stores/user.d.ts +0 -25
- package/dist/utils/qApiPlugin.d.ts +0 -6
- package/dist/views/dashboard/workspace.vue.d.ts +0 -6972
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ruleItem } from './hook/use-grid-config-hook';
|
|
2
2
|
import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
3
|
import type { ColumnItem, PageButton, PageButtonWithGroupCode, RecordStringNumber } from '../../edit-page-layout';
|
|
4
|
-
import type { SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxeGridInstance, VxeGridProps } from 'vxe-table';
|
|
4
|
+
import type { VxeTableDataRow, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams, VxeGridInstance, VxeGridProps } from 'vxe-table';
|
|
5
5
|
declare const _sfc_main: DefineComponent<{
|
|
6
6
|
readonly groupName: {
|
|
7
7
|
readonly type: PropType<string>;
|
|
@@ -36,7 +36,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
36
36
|
readonly default: () => {};
|
|
37
37
|
};
|
|
38
38
|
readonly vxeGridConfig: {
|
|
39
|
-
readonly type: PropType<VxeGridProps<
|
|
39
|
+
readonly type: PropType<VxeGridProps<VxeTableDataRow>>;
|
|
40
40
|
readonly default: () => {};
|
|
41
41
|
};
|
|
42
42
|
readonly shake: {
|
|
@@ -51,11 +51,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
51
51
|
groupName: Ref<string>;
|
|
52
52
|
groupCode: Ref<string>;
|
|
53
53
|
wrapBoxHeight: ComputedRef<number>;
|
|
54
|
-
xGrid: Ref<VxeGridInstance | undefined>;
|
|
54
|
+
xGrid: Ref<VxeGridInstance<any> | undefined>;
|
|
55
55
|
gridOptions: {
|
|
56
56
|
size?: SizeType | undefined;
|
|
57
57
|
id?: string | undefined;
|
|
58
|
-
data?:
|
|
58
|
+
data?: VxeTableDataRow[] | undefined;
|
|
59
59
|
height?: VxeTablePropTypes.Height | undefined;
|
|
60
60
|
maxHeight?: VxeTablePropTypes.MaxHeight | undefined;
|
|
61
61
|
resizable?: boolean | undefined;
|
|
@@ -73,19 +73,19 @@ declare const _sfc_main: DefineComponent<{
|
|
|
73
73
|
highlightHoverColumn?: boolean | undefined;
|
|
74
74
|
highlightCell?: boolean | undefined;
|
|
75
75
|
showFooter?: boolean | undefined;
|
|
76
|
-
footerMethod?: VxeTablePropTypes.FooterMethod | undefined;
|
|
77
|
-
rowClassName?: VxeTablePropTypes.RowClassName | undefined;
|
|
78
|
-
cellClassName?: VxeTablePropTypes.CellClassName | undefined;
|
|
79
|
-
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName | undefined;
|
|
80
|
-
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName | undefined;
|
|
81
|
-
footerRowClassName?: VxeTablePropTypes.FooterRowClassName | undefined;
|
|
82
|
-
footerCellClassName?: VxeTablePropTypes.FooterCellClassName | undefined;
|
|
83
|
-
cellStyle?: VxeTablePropTypes.CellStyle | undefined;
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
76
|
+
footerMethod?: VxeTablePropTypes.FooterMethod<VxeTableDataRow> | undefined;
|
|
77
|
+
rowClassName?: VxeTablePropTypes.RowClassName<VxeTableDataRow> | undefined;
|
|
78
|
+
cellClassName?: VxeTablePropTypes.CellClassName<VxeTableDataRow> | undefined;
|
|
79
|
+
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName<VxeTableDataRow> | undefined;
|
|
80
|
+
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName<VxeTableDataRow> | undefined;
|
|
81
|
+
footerRowClassName?: VxeTablePropTypes.FooterRowClassName<VxeTableDataRow> | undefined;
|
|
82
|
+
footerCellClassName?: VxeTablePropTypes.FooterCellClassName<VxeTableDataRow> | undefined;
|
|
83
|
+
cellStyle?: VxeTablePropTypes.CellStyle<VxeTableDataRow> | undefined;
|
|
84
|
+
rowStyle?: VxeTablePropTypes.RowStyle<VxeTableDataRow> | undefined;
|
|
85
|
+
headerCellStyle?: VxeTablePropTypes.HeaderCellStyle<VxeTableDataRow> | undefined;
|
|
86
|
+
headerRowStyle?: VxeTablePropTypes.HeaderRowStyle<VxeTableDataRow> | undefined;
|
|
87
|
+
footerRowStyle?: VxeTablePropTypes.FooterRowStyle<VxeTableDataRow> | undefined;
|
|
88
|
+
footerCellStyle?: VxeTablePropTypes.FooterCellStyle<VxeTableDataRow> | undefined;
|
|
89
89
|
mergeCells?: {
|
|
90
90
|
row: any;
|
|
91
91
|
col: number | {
|
|
@@ -104,12 +104,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
104
104
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
105
105
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
106
106
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
107
|
-
className: VxeColumnPropTypes.ClassName
|
|
108
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
109
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
110
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
107
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
108
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
109
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
110
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
111
111
|
sortable: boolean;
|
|
112
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
112
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
113
113
|
sortType: VxeColumnPropTypes.SortType;
|
|
114
114
|
filters: {
|
|
115
115
|
label?: string | number | undefined;
|
|
@@ -119,7 +119,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
119
119
|
checked?: boolean | undefined;
|
|
120
120
|
}[];
|
|
121
121
|
filterMultiple: boolean;
|
|
122
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
122
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
123
123
|
filterRender: {
|
|
124
124
|
options?: any[] | undefined;
|
|
125
125
|
optionProps?: {
|
|
@@ -149,8 +149,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
149
149
|
};
|
|
150
150
|
treeNode: boolean;
|
|
151
151
|
visible: boolean;
|
|
152
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
153
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
152
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
153
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
154
154
|
titleHelp: {
|
|
155
155
|
useHTML?: boolean | undefined;
|
|
156
156
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -170,7 +170,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
170
170
|
cellType: VxeColumnPropTypes.CellType;
|
|
171
171
|
cellRender: {
|
|
172
172
|
events?: {
|
|
173
|
-
[key: string]: (cellParams:
|
|
173
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
174
174
|
} | undefined;
|
|
175
175
|
options?: any[] | undefined;
|
|
176
176
|
optionProps?: {
|
|
@@ -197,7 +197,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
197
197
|
};
|
|
198
198
|
editRender: {
|
|
199
199
|
events?: {
|
|
200
|
-
[key: string]: (cellParams:
|
|
200
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
201
201
|
} | undefined;
|
|
202
202
|
enabled?: boolean | undefined;
|
|
203
203
|
options?: any[] | undefined;
|
|
@@ -215,7 +215,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
215
215
|
autofocus?: string | undefined;
|
|
216
216
|
autoselect?: boolean | undefined;
|
|
217
217
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
218
|
-
column: VxeTableDefines.ColumnInfo
|
|
218
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
219
219
|
}) => any) | {
|
|
220
220
|
exec: (string: string) => RegExpExecArray | null;
|
|
221
221
|
test: (string: string) => boolean;
|
|
@@ -341,16 +341,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
341
341
|
};
|
|
342
342
|
params: any;
|
|
343
343
|
slots: {
|
|
344
|
-
title?: string | ((params:
|
|
345
|
-
radio?: string | ((params:
|
|
346
|
-
checkbox?: string | ((params:
|
|
347
|
-
default?: string | ((params:
|
|
348
|
-
header?: string | ((params:
|
|
349
|
-
footer?: string | ((params:
|
|
350
|
-
content?: string | ((params:
|
|
351
|
-
filter?: string | ((params:
|
|
352
|
-
edit?: string | ((params:
|
|
353
|
-
icon?: string | ((params:
|
|
344
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
345
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
346
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
347
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
348
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
349
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
350
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
351
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
352
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
353
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
354
354
|
};
|
|
355
355
|
id: string;
|
|
356
356
|
parentId: string;
|
|
@@ -359,6 +359,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
359
359
|
colSpan: number;
|
|
360
360
|
halfVisible: boolean;
|
|
361
361
|
defaultVisible: any;
|
|
362
|
+
defaultFixed: any;
|
|
362
363
|
checked: boolean;
|
|
363
364
|
halfChecked: boolean;
|
|
364
365
|
disabled: boolean;
|
|
@@ -372,16 +373,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
372
373
|
value: any;
|
|
373
374
|
};
|
|
374
375
|
children: any[];
|
|
375
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
376
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
376
377
|
[key: string]: any;
|
|
377
378
|
}>[];
|
|
378
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
379
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
379
380
|
[key: string]: any;
|
|
380
381
|
}>[];
|
|
381
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
382
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
382
383
|
[key: string]: any;
|
|
383
384
|
}>[];
|
|
384
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
385
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
385
386
|
[key: string]: any;
|
|
386
387
|
}>[];
|
|
387
388
|
getTitle: () => string;
|
|
@@ -408,12 +409,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
408
409
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
409
410
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
410
411
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
411
|
-
className: VxeColumnPropTypes.ClassName
|
|
412
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
413
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
414
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
412
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
413
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
414
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
415
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
415
416
|
sortable: boolean;
|
|
416
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
417
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
417
418
|
sortType: VxeColumnPropTypes.SortType;
|
|
418
419
|
filters: {
|
|
419
420
|
label?: string | number | undefined;
|
|
@@ -423,7 +424,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
423
424
|
checked?: boolean | undefined;
|
|
424
425
|
}[];
|
|
425
426
|
filterMultiple: boolean;
|
|
426
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
427
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
427
428
|
filterRender: {
|
|
428
429
|
options?: any[] | undefined;
|
|
429
430
|
optionProps?: {
|
|
@@ -453,8 +454,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
453
454
|
};
|
|
454
455
|
treeNode: boolean;
|
|
455
456
|
visible: boolean;
|
|
456
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
457
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
457
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
458
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
458
459
|
titleHelp: {
|
|
459
460
|
useHTML?: boolean | undefined;
|
|
460
461
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -474,7 +475,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
474
475
|
cellType: VxeColumnPropTypes.CellType;
|
|
475
476
|
cellRender: {
|
|
476
477
|
events?: {
|
|
477
|
-
[key: string]: (cellParams:
|
|
478
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
478
479
|
} | undefined;
|
|
479
480
|
options?: any[] | undefined;
|
|
480
481
|
optionProps?: {
|
|
@@ -501,7 +502,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
501
502
|
};
|
|
502
503
|
editRender: {
|
|
503
504
|
events?: {
|
|
504
|
-
[key: string]: (cellParams:
|
|
505
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
505
506
|
} | undefined;
|
|
506
507
|
enabled?: boolean | undefined;
|
|
507
508
|
options?: any[] | undefined;
|
|
@@ -519,7 +520,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
519
520
|
autofocus?: string | undefined;
|
|
520
521
|
autoselect?: boolean | undefined;
|
|
521
522
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
522
|
-
column: VxeTableDefines.ColumnInfo
|
|
523
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
523
524
|
}) => any) | {
|
|
524
525
|
exec: (string: string) => RegExpExecArray | null;
|
|
525
526
|
test: (string: string) => boolean;
|
|
@@ -645,16 +646,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
645
646
|
};
|
|
646
647
|
params: any;
|
|
647
648
|
slots: {
|
|
648
|
-
title?: string | ((params:
|
|
649
|
-
radio?: string | ((params:
|
|
650
|
-
checkbox?: string | ((params:
|
|
651
|
-
default?: string | ((params:
|
|
652
|
-
header?: string | ((params:
|
|
653
|
-
footer?: string | ((params:
|
|
654
|
-
content?: string | ((params:
|
|
655
|
-
filter?: string | ((params:
|
|
656
|
-
edit?: string | ((params:
|
|
657
|
-
icon?: string | ((params:
|
|
649
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
650
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
651
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
652
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
653
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
654
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
655
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
656
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
657
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
658
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
658
659
|
};
|
|
659
660
|
id: string;
|
|
660
661
|
parentId: string;
|
|
@@ -663,6 +664,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
663
664
|
colSpan: number;
|
|
664
665
|
halfVisible: boolean;
|
|
665
666
|
defaultVisible: any;
|
|
667
|
+
defaultFixed: any;
|
|
666
668
|
checked: boolean;
|
|
667
669
|
halfChecked: boolean;
|
|
668
670
|
disabled: boolean;
|
|
@@ -676,16 +678,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
676
678
|
value: any;
|
|
677
679
|
};
|
|
678
680
|
children: any[];
|
|
679
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
681
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
680
682
|
[key: string]: any;
|
|
681
683
|
}>[];
|
|
682
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
684
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
683
685
|
[key: string]: any;
|
|
684
686
|
}>[];
|
|
685
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
687
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
686
688
|
[key: string]: any;
|
|
687
689
|
}>[];
|
|
688
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
690
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
689
691
|
[key: string]: any;
|
|
690
692
|
}>[];
|
|
691
693
|
getTitle: () => string;
|
|
@@ -694,8 +696,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
694
696
|
rowspan: number;
|
|
695
697
|
colspan: number;
|
|
696
698
|
}[] | undefined;
|
|
697
|
-
spanMethod?: VxeTablePropTypes.SpanMethod | undefined;
|
|
698
|
-
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod | undefined;
|
|
699
|
+
spanMethod?: VxeTablePropTypes.SpanMethod<VxeTableDataRow> | undefined;
|
|
700
|
+
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod<VxeTableDataRow> | undefined;
|
|
699
701
|
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
700
702
|
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
701
703
|
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
@@ -725,9 +727,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
725
727
|
storage?: boolean | {
|
|
726
728
|
visible?: boolean | undefined;
|
|
727
729
|
resizable?: boolean | undefined;
|
|
730
|
+
fixed?: boolean | undefined;
|
|
731
|
+
order?: boolean | undefined;
|
|
728
732
|
} | undefined;
|
|
729
733
|
checkMethod?: ((params: {
|
|
730
|
-
column: VxeTableDefines.ColumnInfo
|
|
734
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
731
735
|
}) => boolean) | undefined;
|
|
732
736
|
} | undefined;
|
|
733
737
|
resizeConfig?: {
|
|
@@ -735,16 +739,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
735
739
|
} | undefined;
|
|
736
740
|
resizableConfig?: {
|
|
737
741
|
minWidth?: string | number | ((params: {
|
|
738
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
739
|
-
column: VxeTableDefines.ColumnInfo
|
|
742
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
743
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
740
744
|
columnIndex: number;
|
|
741
745
|
$columnIndex: number;
|
|
742
746
|
$rowIndex: number;
|
|
743
747
|
cell: HTMLElement;
|
|
744
748
|
}) => string | number) | undefined;
|
|
745
749
|
maxWidth?: string | number | ((params: {
|
|
746
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
747
|
-
column: VxeTableDefines.ColumnInfo
|
|
750
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
751
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
748
752
|
columnIndex: number;
|
|
749
753
|
$columnIndex: number;
|
|
750
754
|
$rowIndex: number;
|
|
@@ -754,10 +758,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
754
758
|
seqConfig?: {
|
|
755
759
|
startIndex?: number | undefined;
|
|
756
760
|
seqMethod?: ((params: {
|
|
757
|
-
column: VxeTableDefines.ColumnInfo
|
|
761
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
758
762
|
columnIndex: number;
|
|
759
763
|
$columnIndex: number;
|
|
760
|
-
row:
|
|
764
|
+
row: VxeTableDataRow;
|
|
761
765
|
rowIndex: number;
|
|
762
766
|
$rowIndex: number;
|
|
763
767
|
}) => string | number) | undefined;
|
|
@@ -772,9 +776,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
772
776
|
}[] | undefined;
|
|
773
777
|
orders?: VxeTablePropTypes.SortOrder[] | undefined;
|
|
774
778
|
sortMethod?: ((params: {
|
|
775
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
776
|
-
data:
|
|
777
|
-
sortList: VxeTableDefines.SortCheckedParams[];
|
|
779
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
780
|
+
data: VxeTableDataRow[];
|
|
781
|
+
sortList: VxeTableDefines.SortCheckedParams<VxeTableDataRow>[];
|
|
778
782
|
}) => any[]) | undefined;
|
|
779
783
|
remote?: boolean | undefined;
|
|
780
784
|
multiple?: boolean | undefined;
|
|
@@ -789,8 +793,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
789
793
|
options: VxeTableDefines.FilterOption[];
|
|
790
794
|
values: any[];
|
|
791
795
|
cellValue: any;
|
|
792
|
-
row:
|
|
793
|
-
column: VxeTableDefines.ColumnInfo
|
|
796
|
+
row: VxeTableDataRow;
|
|
797
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
794
798
|
}) => any) | undefined;
|
|
795
799
|
remote?: boolean | undefined;
|
|
796
800
|
showIcon?: boolean | undefined;
|
|
@@ -802,12 +806,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
802
806
|
labelField?: string | undefined;
|
|
803
807
|
checkRowKey?: string | number | undefined;
|
|
804
808
|
checkMethod?: ((params: {
|
|
805
|
-
row:
|
|
809
|
+
row: VxeTableDataRow;
|
|
806
810
|
}) => boolean) | undefined;
|
|
807
811
|
visibleMethod?: ((params: {
|
|
808
|
-
row:
|
|
812
|
+
row: VxeTableDataRow;
|
|
809
813
|
}) => boolean) | undefined;
|
|
810
|
-
trigger?: "" | "default" | "
|
|
814
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
811
815
|
highlight?: boolean | undefined;
|
|
812
816
|
strict?: boolean | undefined;
|
|
813
817
|
} | undefined;
|
|
@@ -822,12 +826,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
822
826
|
checkStrictly?: boolean | undefined;
|
|
823
827
|
strict?: boolean | undefined;
|
|
824
828
|
checkMethod?: ((params: {
|
|
825
|
-
row:
|
|
829
|
+
row: VxeTableDataRow;
|
|
826
830
|
}) => boolean) | undefined;
|
|
827
831
|
visibleMethod?: ((params: {
|
|
828
|
-
row:
|
|
832
|
+
row: VxeTableDataRow;
|
|
829
833
|
}) => boolean) | undefined;
|
|
830
|
-
trigger?: "" | "default" | "
|
|
834
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
831
835
|
highlight?: boolean | undefined;
|
|
832
836
|
range?: boolean | undefined;
|
|
833
837
|
} | undefined;
|
|
@@ -839,11 +843,11 @@ declare const _sfc_main: DefineComponent<{
|
|
|
839
843
|
leaveDelay?: number | undefined;
|
|
840
844
|
contentMethod?: ((params: {
|
|
841
845
|
items: any[];
|
|
842
|
-
row:
|
|
846
|
+
row: VxeTableDataRow;
|
|
843
847
|
rowIndex: number;
|
|
844
848
|
$rowIndex: number;
|
|
845
849
|
_rowIndex: number;
|
|
846
|
-
column: VxeTableDefines.ColumnInfo
|
|
850
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
847
851
|
columnIndex: number;
|
|
848
852
|
$columnIndex: number;
|
|
849
853
|
_columnIndex: number;
|
|
@@ -883,12 +887,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
883
887
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
884
888
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
885
889
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
886
|
-
className: VxeColumnPropTypes.ClassName
|
|
887
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
888
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
889
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
890
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
891
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
892
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
893
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
890
894
|
sortable: boolean;
|
|
891
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
895
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
892
896
|
sortType: VxeColumnPropTypes.SortType;
|
|
893
897
|
filters: {
|
|
894
898
|
label?: string | number | undefined;
|
|
@@ -898,7 +902,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
898
902
|
checked?: boolean | undefined;
|
|
899
903
|
}[];
|
|
900
904
|
filterMultiple: boolean;
|
|
901
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
905
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
902
906
|
filterRender: {
|
|
903
907
|
options?: any[] | undefined;
|
|
904
908
|
optionProps?: {
|
|
@@ -928,8 +932,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
928
932
|
};
|
|
929
933
|
treeNode: boolean;
|
|
930
934
|
visible: boolean;
|
|
931
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
932
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
935
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
936
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
933
937
|
titleHelp: {
|
|
934
938
|
useHTML?: boolean | undefined;
|
|
935
939
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -949,7 +953,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
949
953
|
cellType: VxeColumnPropTypes.CellType;
|
|
950
954
|
cellRender: {
|
|
951
955
|
events?: {
|
|
952
|
-
[key: string]: (cellParams:
|
|
956
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
953
957
|
} | undefined;
|
|
954
958
|
options?: any[] | undefined;
|
|
955
959
|
optionProps?: {
|
|
@@ -976,7 +980,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
976
980
|
};
|
|
977
981
|
editRender: {
|
|
978
982
|
events?: {
|
|
979
|
-
[key: string]: (cellParams:
|
|
983
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
980
984
|
} | undefined;
|
|
981
985
|
enabled?: boolean | undefined;
|
|
982
986
|
options?: any[] | undefined;
|
|
@@ -994,7 +998,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
994
998
|
autofocus?: string | undefined;
|
|
995
999
|
autoselect?: boolean | undefined;
|
|
996
1000
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
997
|
-
column: VxeTableDefines.ColumnInfo
|
|
1001
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
998
1002
|
}) => any) | {
|
|
999
1003
|
exec: (string: string) => RegExpExecArray | null;
|
|
1000
1004
|
test: (string: string) => boolean;
|
|
@@ -1120,16 +1124,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1120
1124
|
};
|
|
1121
1125
|
params: any;
|
|
1122
1126
|
slots: {
|
|
1123
|
-
title?: string | ((params:
|
|
1124
|
-
radio?: string | ((params:
|
|
1125
|
-
checkbox?: string | ((params:
|
|
1126
|
-
default?: string | ((params:
|
|
1127
|
-
header?: string | ((params:
|
|
1128
|
-
footer?: string | ((params:
|
|
1129
|
-
content?: string | ((params:
|
|
1130
|
-
filter?: string | ((params:
|
|
1131
|
-
edit?: string | ((params:
|
|
1132
|
-
icon?: string | ((params:
|
|
1127
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1128
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1129
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1130
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1131
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1132
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1133
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1134
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1135
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1136
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1133
1137
|
};
|
|
1134
1138
|
id: string;
|
|
1135
1139
|
parentId: string;
|
|
@@ -1138,6 +1142,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1138
1142
|
colSpan: number;
|
|
1139
1143
|
halfVisible: boolean;
|
|
1140
1144
|
defaultVisible: any;
|
|
1145
|
+
defaultFixed: any;
|
|
1141
1146
|
checked: boolean;
|
|
1142
1147
|
halfChecked: boolean;
|
|
1143
1148
|
disabled: boolean;
|
|
@@ -1151,16 +1156,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1151
1156
|
value: any;
|
|
1152
1157
|
};
|
|
1153
1158
|
children: any[];
|
|
1154
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
1159
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1155
1160
|
[key: string]: any;
|
|
1156
1161
|
}>[];
|
|
1157
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
1162
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1158
1163
|
[key: string]: any;
|
|
1159
1164
|
}>[];
|
|
1160
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
1165
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1161
1166
|
[key: string]: any;
|
|
1162
1167
|
}>[];
|
|
1163
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
1168
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1164
1169
|
[key: string]: any;
|
|
1165
1170
|
}>[];
|
|
1166
1171
|
getTitle: () => string;
|
|
@@ -1171,7 +1176,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1171
1176
|
field?: string | undefined;
|
|
1172
1177
|
}[] | undefined;
|
|
1173
1178
|
columnFilterMethod?: ((params: {
|
|
1174
|
-
column: VxeTableDefines.ColumnInfo
|
|
1179
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1175
1180
|
$columnIndex: number;
|
|
1176
1181
|
}) => boolean) | undefined;
|
|
1177
1182
|
dataFilterMethod?: ((params: {
|
|
@@ -1186,8 +1191,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1186
1191
|
useStyle?: boolean | undefined;
|
|
1187
1192
|
sheetMethod?: ((params: VxeTableDefines.ExtortSheetMethodParams) => void) | undefined;
|
|
1188
1193
|
exportMethod?: ((params: {
|
|
1189
|
-
$table: VxeTableConstructor
|
|
1190
|
-
$grid?: VxeGridConstructor | undefined;
|
|
1194
|
+
$table: VxeTableConstructor<any>;
|
|
1195
|
+
$grid?: VxeGridConstructor<any> | undefined;
|
|
1191
1196
|
options: VxeTablePropTypes.ExportHandleOptions;
|
|
1192
1197
|
}) => Promise<any>) | undefined;
|
|
1193
1198
|
beforeExportMethod?: ((params: {
|
|
@@ -1204,17 +1209,17 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1204
1209
|
message?: boolean | undefined;
|
|
1205
1210
|
remote?: boolean | undefined;
|
|
1206
1211
|
importMethod?: ((params: {
|
|
1207
|
-
$table: VxeTableConstructor
|
|
1208
|
-
$grid: VxeGridConstructor
|
|
1212
|
+
$table: VxeTableConstructor<any>;
|
|
1213
|
+
$grid: VxeGridConstructor<any>;
|
|
1209
1214
|
file: File;
|
|
1210
1215
|
options: VxeTablePropTypes.ImportHandleOptions;
|
|
1211
1216
|
}) => Promise<any>) | undefined;
|
|
1212
1217
|
beforeImportMethod?: ((params: {
|
|
1213
|
-
$table: VxeTableConstructor
|
|
1218
|
+
$table: VxeTableConstructor<any>;
|
|
1214
1219
|
options: any;
|
|
1215
1220
|
}) => void) | undefined;
|
|
1216
1221
|
afterImportMethod?: ((params: {
|
|
1217
|
-
$table: VxeTableConstructor
|
|
1222
|
+
$table: VxeTableConstructor<any>;
|
|
1218
1223
|
options: any;
|
|
1219
1224
|
status: boolean;
|
|
1220
1225
|
}) => void) | undefined;
|
|
@@ -1243,12 +1248,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1243
1248
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1244
1249
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1245
1250
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1246
|
-
className: VxeColumnPropTypes.ClassName
|
|
1247
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
1248
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
1249
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
1251
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
1252
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
1253
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
1254
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
1250
1255
|
sortable: boolean;
|
|
1251
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
1256
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
1252
1257
|
sortType: VxeColumnPropTypes.SortType;
|
|
1253
1258
|
filters: {
|
|
1254
1259
|
label?: string | number | undefined;
|
|
@@ -1258,7 +1263,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1258
1263
|
checked?: boolean | undefined;
|
|
1259
1264
|
}[];
|
|
1260
1265
|
filterMultiple: boolean;
|
|
1261
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
1266
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
1262
1267
|
filterRender: {
|
|
1263
1268
|
options?: any[] | undefined;
|
|
1264
1269
|
optionProps?: {
|
|
@@ -1288,8 +1293,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1288
1293
|
};
|
|
1289
1294
|
treeNode: boolean;
|
|
1290
1295
|
visible: boolean;
|
|
1291
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
1292
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
1296
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
1297
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
1293
1298
|
titleHelp: {
|
|
1294
1299
|
useHTML?: boolean | undefined;
|
|
1295
1300
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -1309,7 +1314,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1309
1314
|
cellType: VxeColumnPropTypes.CellType;
|
|
1310
1315
|
cellRender: {
|
|
1311
1316
|
events?: {
|
|
1312
|
-
[key: string]: (cellParams:
|
|
1317
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
1313
1318
|
} | undefined;
|
|
1314
1319
|
options?: any[] | undefined;
|
|
1315
1320
|
optionProps?: {
|
|
@@ -1336,7 +1341,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1336
1341
|
};
|
|
1337
1342
|
editRender: {
|
|
1338
1343
|
events?: {
|
|
1339
|
-
[key: string]: (cellParams:
|
|
1344
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
1340
1345
|
} | undefined;
|
|
1341
1346
|
enabled?: boolean | undefined;
|
|
1342
1347
|
options?: any[] | undefined;
|
|
@@ -1354,7 +1359,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1354
1359
|
autofocus?: string | undefined;
|
|
1355
1360
|
autoselect?: boolean | undefined;
|
|
1356
1361
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
1357
|
-
column: VxeTableDefines.ColumnInfo
|
|
1362
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1358
1363
|
}) => any) | {
|
|
1359
1364
|
exec: (string: string) => RegExpExecArray | null;
|
|
1360
1365
|
test: (string: string) => boolean;
|
|
@@ -1480,16 +1485,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1480
1485
|
};
|
|
1481
1486
|
params: any;
|
|
1482
1487
|
slots: {
|
|
1483
|
-
title?: string | ((params:
|
|
1484
|
-
radio?: string | ((params:
|
|
1485
|
-
checkbox?: string | ((params:
|
|
1486
|
-
default?: string | ((params:
|
|
1487
|
-
header?: string | ((params:
|
|
1488
|
-
footer?: string | ((params:
|
|
1489
|
-
content?: string | ((params:
|
|
1490
|
-
filter?: string | ((params:
|
|
1491
|
-
edit?: string | ((params:
|
|
1492
|
-
icon?: string | ((params:
|
|
1488
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1489
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1490
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1491
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1492
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1493
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1494
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1495
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1496
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1497
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1493
1498
|
};
|
|
1494
1499
|
id: string;
|
|
1495
1500
|
parentId: string;
|
|
@@ -1498,6 +1503,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1498
1503
|
colSpan: number;
|
|
1499
1504
|
halfVisible: boolean;
|
|
1500
1505
|
defaultVisible: any;
|
|
1506
|
+
defaultFixed: any;
|
|
1501
1507
|
checked: boolean;
|
|
1502
1508
|
halfChecked: boolean;
|
|
1503
1509
|
disabled: boolean;
|
|
@@ -1511,16 +1517,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1511
1517
|
value: any;
|
|
1512
1518
|
};
|
|
1513
1519
|
children: any[];
|
|
1514
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
1520
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1515
1521
|
[key: string]: any;
|
|
1516
1522
|
}>[];
|
|
1517
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
1523
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1518
1524
|
[key: string]: any;
|
|
1519
1525
|
}>[];
|
|
1520
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
1526
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1521
1527
|
[key: string]: any;
|
|
1522
1528
|
}>[];
|
|
1523
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
1529
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1524
1530
|
[key: string]: any;
|
|
1525
1531
|
}>[];
|
|
1526
1532
|
getTitle: () => string;
|
|
@@ -1533,7 +1539,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1533
1539
|
style?: string | undefined;
|
|
1534
1540
|
content?: string | undefined;
|
|
1535
1541
|
columnFilterMethod?: ((params: {
|
|
1536
|
-
column: VxeTableDefines.ColumnInfo
|
|
1542
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1537
1543
|
$columnIndex: number;
|
|
1538
1544
|
}) => boolean) | undefined;
|
|
1539
1545
|
dataFilterMethod?: ((params: {
|
|
@@ -1545,7 +1551,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1545
1551
|
$rowIndex: number;
|
|
1546
1552
|
}) => boolean) | undefined;
|
|
1547
1553
|
beforePrintMethod?: ((params: {
|
|
1548
|
-
$table: VxeTableConstructor | null;
|
|
1554
|
+
$table: VxeTableConstructor<any> | null;
|
|
1549
1555
|
content: string;
|
|
1550
1556
|
options: VxeTablePropTypes.PrintHandleOptions;
|
|
1551
1557
|
}) => string) | undefined;
|
|
@@ -1555,27 +1561,27 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1555
1561
|
expandAll?: boolean | undefined;
|
|
1556
1562
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1557
1563
|
accordion?: boolean | undefined;
|
|
1558
|
-
trigger?: "" | "default" | "
|
|
1564
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
1559
1565
|
lazy?: boolean | undefined;
|
|
1560
1566
|
reserve?: boolean | undefined;
|
|
1561
1567
|
height?: number | undefined;
|
|
1562
1568
|
loadMethod?: ((params: {
|
|
1563
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1564
|
-
row:
|
|
1569
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1570
|
+
row: VxeTableDataRow;
|
|
1565
1571
|
rowIndex: number;
|
|
1566
1572
|
$rowIndex: number;
|
|
1567
1573
|
}) => Promise<void>) | undefined;
|
|
1568
1574
|
toggleMethod?: ((params: {
|
|
1569
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1575
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1570
1576
|
expanded: boolean;
|
|
1571
|
-
row:
|
|
1577
|
+
row: VxeTableDataRow;
|
|
1572
1578
|
rowIndex: number;
|
|
1573
1579
|
$rowIndex: number;
|
|
1574
|
-
column: VxeTableDefines.ColumnInfo
|
|
1580
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1575
1581
|
columnIndex: number;
|
|
1576
1582
|
$columnIndex: number;
|
|
1577
1583
|
}) => boolean) | undefined;
|
|
1578
|
-
visibleMethod?: ((params: VxeTableDefines.CellRenderBodyParams) => boolean) | undefined;
|
|
1584
|
+
visibleMethod?: ((params: VxeTableDefines.CellRenderBodyParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1579
1585
|
showIcon?: boolean | undefined;
|
|
1580
1586
|
iconOpen?: string | undefined;
|
|
1581
1587
|
iconClose?: string | undefined;
|
|
@@ -1592,19 +1598,19 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1592
1598
|
expandAll?: boolean | undefined;
|
|
1593
1599
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1594
1600
|
accordion?: boolean | undefined;
|
|
1595
|
-
trigger?: "" | "default" | "
|
|
1601
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
1596
1602
|
lazy?: boolean | undefined;
|
|
1597
1603
|
hasChild?: string | undefined;
|
|
1598
1604
|
reserve?: boolean | undefined;
|
|
1599
1605
|
loadMethod?: ((params: {
|
|
1600
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1601
|
-
row:
|
|
1606
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1607
|
+
row: VxeTableDataRow;
|
|
1602
1608
|
}) => Promise<any[]>) | undefined;
|
|
1603
1609
|
toggleMethod?: ((params: {
|
|
1604
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1610
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1605
1611
|
expanded: boolean;
|
|
1606
|
-
row:
|
|
1607
|
-
column: VxeTableDefines.ColumnInfo
|
|
1612
|
+
row: VxeTableDataRow;
|
|
1613
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1608
1614
|
columnIndex: number;
|
|
1609
1615
|
$columnIndex: number;
|
|
1610
1616
|
}) => boolean) | undefined;
|
|
@@ -1691,10 +1697,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1691
1697
|
visibleMethod?: ((params: {
|
|
1692
1698
|
type: string;
|
|
1693
1699
|
options: VxeTableDefines.MenuFirstOption[][];
|
|
1694
|
-
columns: VxeTableDefines.ColumnInfo[];
|
|
1695
|
-
row?:
|
|
1700
|
+
columns: VxeTableDefines.ColumnInfo<VxeTableDataRow>[];
|
|
1701
|
+
row?: VxeTableDataRow | undefined;
|
|
1696
1702
|
rowIndex?: number | undefined;
|
|
1697
|
-
column?: VxeTableDefines.ColumnInfo | undefined;
|
|
1703
|
+
column?: VxeTableDefines.ColumnInfo<VxeTableDataRow> | undefined;
|
|
1698
1704
|
columnIndex?: number | undefined;
|
|
1699
1705
|
}) => boolean) | undefined;
|
|
1700
1706
|
} | undefined;
|
|
@@ -1704,19 +1710,20 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1704
1710
|
extension?: boolean | undefined;
|
|
1705
1711
|
} | undefined;
|
|
1706
1712
|
areaConfig?: {
|
|
1713
|
+
multiple?: boolean | undefined;
|
|
1707
1714
|
selectCellByHeader?: boolean | undefined;
|
|
1708
1715
|
extendByCopy?: boolean | undefined;
|
|
1709
1716
|
extendByCalc?: boolean | undefined;
|
|
1710
|
-
extendCalcMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams) => any[][]) | undefined;
|
|
1717
|
+
extendCalcMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => any[][]) | undefined;
|
|
1711
1718
|
extendSetMethod?: ((params: {
|
|
1712
1719
|
cellValue: any;
|
|
1713
|
-
row:
|
|
1714
|
-
column: VxeTableDefines.ColumnInfo
|
|
1715
|
-
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams) => void) | undefined;
|
|
1716
|
-
beforeExtendSetMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams) => boolean) | undefined;
|
|
1720
|
+
row: VxeTableDataRow;
|
|
1721
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1722
|
+
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => void) | undefined;
|
|
1723
|
+
beforeExtendSetMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1717
1724
|
afterExtendSetMethod?: ((params: {
|
|
1718
1725
|
extendValues: any[][];
|
|
1719
|
-
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams) => boolean) | undefined;
|
|
1726
|
+
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1720
1727
|
} | undefined;
|
|
1721
1728
|
fnrConfig?: {
|
|
1722
1729
|
isFind?: boolean | undefined;
|
|
@@ -1731,36 +1738,36 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1731
1738
|
beforeFindMethod?: ((params: {
|
|
1732
1739
|
isAll: boolean;
|
|
1733
1740
|
findValue: string | null;
|
|
1734
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1735
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1741
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1742
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1736
1743
|
}) => boolean) | undefined;
|
|
1737
1744
|
afterFindMethod?: ((params: {
|
|
1738
1745
|
isAll: boolean;
|
|
1739
1746
|
findValue: string | null;
|
|
1740
|
-
result: VxeTableProDefines.FindAndReplaceResult[];
|
|
1741
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1742
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1747
|
+
result: VxeTableProDefines.FindAndReplaceResult<VxeTableDataRow>[];
|
|
1748
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1749
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1743
1750
|
}) => void) | undefined;
|
|
1744
1751
|
isReplace?: boolean | undefined;
|
|
1745
1752
|
replaceMethod?: ((params: {
|
|
1746
|
-
row:
|
|
1747
|
-
column: VxeTableDefines.ColumnInfo
|
|
1753
|
+
row: VxeTableDataRow;
|
|
1754
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1748
1755
|
cellValue: any;
|
|
1749
1756
|
}) => void) | undefined;
|
|
1750
1757
|
beforeReplaceMethod?: ((params: {
|
|
1751
1758
|
isAll: boolean;
|
|
1752
1759
|
findValue: string | null;
|
|
1753
1760
|
replaceValue: string;
|
|
1754
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1755
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1761
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1762
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1756
1763
|
}) => boolean) | undefined;
|
|
1757
1764
|
afterReplaceMethod?: ((params: {
|
|
1758
1765
|
isAll: boolean;
|
|
1759
1766
|
findValue: string | null;
|
|
1760
1767
|
replaceValue: string;
|
|
1761
|
-
result: VxeTableProDefines.FindAndReplaceResult[];
|
|
1762
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1763
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1768
|
+
result: VxeTableProDefines.FindAndReplaceResult<VxeTableDataRow>[];
|
|
1769
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1770
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1764
1771
|
}) => void) | undefined;
|
|
1765
1772
|
} | undefined;
|
|
1766
1773
|
keyboardConfig?: {
|
|
@@ -1777,26 +1784,26 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1777
1784
|
isChecked?: boolean | undefined;
|
|
1778
1785
|
enterToTab?: boolean | undefined;
|
|
1779
1786
|
delMethod?: ((params: {
|
|
1780
|
-
row:
|
|
1787
|
+
row: VxeTableDataRow;
|
|
1781
1788
|
rowIndex: number;
|
|
1782
|
-
column: VxeTableDefines.ColumnInfo
|
|
1789
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1783
1790
|
columnIndex: number;
|
|
1784
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1791
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1785
1792
|
}) => void) | undefined;
|
|
1786
1793
|
backMethod?: ((params: {
|
|
1787
|
-
row:
|
|
1794
|
+
row: VxeTableDataRow;
|
|
1788
1795
|
rowIndex: number;
|
|
1789
|
-
column: VxeTableDefines.ColumnInfo
|
|
1796
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1790
1797
|
columnIndex: number;
|
|
1791
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1798
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1792
1799
|
}) => void) | undefined;
|
|
1793
1800
|
editMethod?: ((params: {
|
|
1794
|
-
row:
|
|
1801
|
+
row: VxeTableDataRow;
|
|
1795
1802
|
rowIndex: number;
|
|
1796
|
-
column: VxeTableDefines.ColumnInfo
|
|
1803
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1797
1804
|
columnIndex: number;
|
|
1798
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1799
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1805
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1806
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1800
1807
|
}) => boolean) | undefined;
|
|
1801
1808
|
} | undefined;
|
|
1802
1809
|
clipConfig?: {
|
|
@@ -1808,97 +1815,97 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1808
1815
|
isColumnIncrement?: boolean | undefined;
|
|
1809
1816
|
copyMethod?: ((params: {
|
|
1810
1817
|
isCut: boolean;
|
|
1811
|
-
row:
|
|
1812
|
-
column: VxeTableDefines.ColumnInfo
|
|
1818
|
+
row: VxeTableDataRow;
|
|
1819
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1813
1820
|
cellValue: any;
|
|
1814
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1815
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1821
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1822
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1816
1823
|
}) => string) | undefined;
|
|
1817
1824
|
beforeCopyMethod?: ((params: {
|
|
1818
1825
|
isCut: boolean;
|
|
1819
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1820
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1821
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1822
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1826
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1827
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1828
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1829
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1823
1830
|
}) => boolean) | undefined;
|
|
1824
1831
|
afterCopyMethod?: ((params: {
|
|
1825
1832
|
isCut: boolean;
|
|
1826
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1827
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1828
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1833
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1834
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1835
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1829
1836
|
}) => boolean) | undefined;
|
|
1830
1837
|
cutMethod?: ((params: {
|
|
1831
|
-
row:
|
|
1832
|
-
column: VxeTableDefines.ColumnInfo
|
|
1838
|
+
row: VxeTableDataRow;
|
|
1839
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1833
1840
|
cellValue: any;
|
|
1834
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1835
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1841
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1842
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1836
1843
|
}) => void) | undefined;
|
|
1837
1844
|
beforeCutMethod?: ((params: {
|
|
1838
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1839
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1840
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1841
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1842
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1845
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1846
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1847
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1848
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1849
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1843
1850
|
}) => boolean) | undefined;
|
|
1844
1851
|
afterCutMethod?: ((params: {
|
|
1845
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1846
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1847
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1848
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1852
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1853
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1854
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1855
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1849
1856
|
}) => void) | undefined;
|
|
1850
1857
|
pasteMethod?: ((params: {
|
|
1851
1858
|
isCut: boolean;
|
|
1852
|
-
row:
|
|
1853
|
-
column: VxeTableDefines.ColumnInfo
|
|
1859
|
+
row: VxeTableDataRow;
|
|
1860
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1854
1861
|
cellValue: any;
|
|
1855
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1856
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1862
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1863
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1857
1864
|
}) => void) | undefined;
|
|
1858
1865
|
beforePasteMethod?: ((params: {
|
|
1859
1866
|
isCut: boolean;
|
|
1860
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1861
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1862
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1863
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1867
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1868
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1869
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1870
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1864
1871
|
cellValues: string[][];
|
|
1865
1872
|
pasteCells: string[][];
|
|
1866
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1867
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1873
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1874
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1868
1875
|
}) => boolean) | undefined;
|
|
1869
1876
|
afterPasteMethod?: ((params: {
|
|
1870
1877
|
isCut: boolean;
|
|
1871
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1872
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1873
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1878
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1879
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1880
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1874
1881
|
cellValues: any[][];
|
|
1875
1882
|
pasteCells: string[][];
|
|
1876
|
-
insertRows:
|
|
1877
|
-
insertColumns: VxeTableDefines.ColumnInfo[];
|
|
1878
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1879
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1883
|
+
insertRows: VxeTableDataRow[];
|
|
1884
|
+
insertColumns: VxeTableDefines.ColumnInfo<VxeTableDataRow>[];
|
|
1885
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1886
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1880
1887
|
}) => boolean) | undefined;
|
|
1881
1888
|
createRowsMethod?: ((params: {
|
|
1882
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1883
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1889
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1890
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1884
1891
|
cellValues: any[][];
|
|
1885
1892
|
pasteCells: string[][];
|
|
1886
|
-
insertRows:
|
|
1887
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1888
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1889
|
-
}) =>
|
|
1893
|
+
insertRows: VxeTableDataRow[];
|
|
1894
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1895
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1896
|
+
}) => VxeTableDataRow[]) | undefined;
|
|
1890
1897
|
createColumnsMethod?: ((params: {
|
|
1891
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1892
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1898
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1899
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1893
1900
|
cellValues: any[][];
|
|
1894
1901
|
pasteCells: string[][];
|
|
1895
|
-
insertColumns: VxeTableDefines.ColumnOptions[];
|
|
1896
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1897
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1898
|
-
}) => VxeTableDefines.ColumnOptions[]) | undefined;
|
|
1902
|
+
insertColumns: VxeTableDefines.ColumnOptions<VxeTableDataRow>[];
|
|
1903
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1904
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1905
|
+
}) => VxeTableDefines.ColumnOptions<VxeTableDataRow>[]) | undefined;
|
|
1899
1906
|
} | undefined;
|
|
1900
1907
|
editConfig?: {
|
|
1901
|
-
trigger?: "" | "
|
|
1908
|
+
trigger?: "" | "click" | "manual" | "dblclick" | null | undefined;
|
|
1902
1909
|
enabled?: boolean | undefined;
|
|
1903
1910
|
mode?: string | undefined;
|
|
1904
1911
|
icon?: string | undefined;
|
|
@@ -1909,20 +1916,20 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1909
1916
|
showAsterisk?: boolean | undefined;
|
|
1910
1917
|
autoClear?: boolean | undefined;
|
|
1911
1918
|
beforeEditMethod?: ((params: {
|
|
1912
|
-
row:
|
|
1919
|
+
row: VxeTableDataRow;
|
|
1913
1920
|
rowIndex: number;
|
|
1914
|
-
column: VxeTableDefines.ColumnInfo
|
|
1921
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1915
1922
|
columnIndex: number;
|
|
1916
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1917
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1923
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1924
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1918
1925
|
}) => boolean) | undefined;
|
|
1919
1926
|
activeMethod?: ((params: {
|
|
1920
|
-
row:
|
|
1927
|
+
row: VxeTableDataRow;
|
|
1921
1928
|
rowIndex: number;
|
|
1922
|
-
column: VxeTableDefines.ColumnInfo
|
|
1929
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1923
1930
|
columnIndex: number;
|
|
1924
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1925
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1931
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1932
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1926
1933
|
}) => boolean) | undefined;
|
|
1927
1934
|
} | undefined;
|
|
1928
1935
|
validConfig?: {
|
|
@@ -1931,7 +1938,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1931
1938
|
message?: string | undefined;
|
|
1932
1939
|
maxWidth?: number | undefined;
|
|
1933
1940
|
} | undefined;
|
|
1934
|
-
editRules?: VxeTablePropTypes.EditRules | undefined;
|
|
1941
|
+
editRules?: VxeTablePropTypes.EditRules<VxeTableDataRow> | undefined;
|
|
1935
1942
|
emptyText?: string | undefined;
|
|
1936
1943
|
emptyRender?: {
|
|
1937
1944
|
name?: string | undefined;
|
|
@@ -1973,16 +1980,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1973
1980
|
columns?: {
|
|
1974
1981
|
children?: any[] | undefined;
|
|
1975
1982
|
slots?: {
|
|
1976
|
-
title?: string | ((params:
|
|
1977
|
-
radio?: string | ((params:
|
|
1978
|
-
checkbox?: string | ((params:
|
|
1979
|
-
default?: string | ((params:
|
|
1980
|
-
header?: string | ((params:
|
|
1981
|
-
footer?: string | ((params:
|
|
1982
|
-
content?: string | ((params:
|
|
1983
|
-
filter?: string | ((params:
|
|
1984
|
-
edit?: string | ((params:
|
|
1985
|
-
icon?: string | ((params:
|
|
1983
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1984
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1985
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1986
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1987
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1988
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1989
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1990
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1991
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1992
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1986
1993
|
} | undefined;
|
|
1987
1994
|
colId?: VxeColumnPropTypes.ColId | undefined;
|
|
1988
1995
|
type?: VxeColumnPropTypes.Type | undefined;
|
|
@@ -1999,12 +2006,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
1999
2006
|
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
2000
2007
|
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
2001
2008
|
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
2002
|
-
className?: VxeColumnPropTypes.ClassName | undefined;
|
|
2003
|
-
headerClassName?: VxeColumnPropTypes.HeaderClassName | undefined;
|
|
2004
|
-
footerClassName?: VxeColumnPropTypes.FooterClassName | undefined;
|
|
2005
|
-
formatter?: VxeColumnPropTypes.Formatter | undefined;
|
|
2009
|
+
className?: VxeColumnPropTypes.ClassName<VxeTableDataRow> | undefined;
|
|
2010
|
+
headerClassName?: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow> | undefined;
|
|
2011
|
+
footerClassName?: VxeColumnPropTypes.FooterClassName<VxeTableDataRow> | undefined;
|
|
2012
|
+
formatter?: VxeColumnPropTypes.Formatter<VxeTableDataRow> | undefined;
|
|
2006
2013
|
sortable?: boolean | undefined;
|
|
2007
|
-
sortBy?: VxeColumnPropTypes.SortBy | undefined;
|
|
2014
|
+
sortBy?: VxeColumnPropTypes.SortBy<VxeTableDataRow> | undefined;
|
|
2008
2015
|
sortType?: VxeColumnPropTypes.SortType | undefined;
|
|
2009
2016
|
filters?: {
|
|
2010
2017
|
label?: string | number | undefined;
|
|
@@ -2014,7 +2021,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2014
2021
|
checked?: boolean | undefined;
|
|
2015
2022
|
}[] | undefined;
|
|
2016
2023
|
filterMultiple?: boolean | undefined;
|
|
2017
|
-
filterMethod?: VxeColumnPropTypes.FilterMethod | undefined;
|
|
2024
|
+
filterMethod?: VxeColumnPropTypes.FilterMethod<VxeTableDataRow> | undefined;
|
|
2018
2025
|
filterRender?: {
|
|
2019
2026
|
options?: any[] | undefined;
|
|
2020
2027
|
optionProps?: {
|
|
@@ -2044,8 +2051,8 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2044
2051
|
} | undefined;
|
|
2045
2052
|
treeNode?: boolean | undefined;
|
|
2046
2053
|
visible?: boolean | undefined;
|
|
2047
|
-
exportMethod?: VxeColumnPropTypes.ExportMethod | undefined;
|
|
2048
|
-
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod | undefined;
|
|
2054
|
+
exportMethod?: VxeColumnPropTypes.ExportMethod<VxeTableDataRow> | undefined;
|
|
2055
|
+
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow> | undefined;
|
|
2049
2056
|
titleHelp?: {
|
|
2050
2057
|
useHTML?: boolean | undefined;
|
|
2051
2058
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -2065,7 +2072,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2065
2072
|
cellType?: VxeColumnPropTypes.CellType | undefined;
|
|
2066
2073
|
cellRender?: {
|
|
2067
2074
|
events?: {
|
|
2068
|
-
[key: string]: (cellParams:
|
|
2075
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2069
2076
|
} | undefined;
|
|
2070
2077
|
options?: any[] | undefined;
|
|
2071
2078
|
optionProps?: {
|
|
@@ -2092,7 +2099,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2092
2099
|
} | undefined;
|
|
2093
2100
|
editRender?: {
|
|
2094
2101
|
events?: {
|
|
2095
|
-
[key: string]: (cellParams:
|
|
2102
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2096
2103
|
} | undefined;
|
|
2097
2104
|
enabled?: boolean | undefined;
|
|
2098
2105
|
options?: any[] | undefined;
|
|
@@ -2110,7 +2117,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2110
2117
|
autofocus?: string | undefined;
|
|
2111
2118
|
autoselect?: boolean | undefined;
|
|
2112
2119
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
2113
|
-
column: VxeTableDefines.ColumnInfo
|
|
2120
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
2114
2121
|
}) => any) | {
|
|
2115
2122
|
exec: (string: string) => RegExpExecArray | null;
|
|
2116
2123
|
test: (string: string) => boolean;
|
|
@@ -2240,7 +2247,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2240
2247
|
enabled?: boolean | undefined;
|
|
2241
2248
|
slots?: any;
|
|
2242
2249
|
size?: SizeType | undefined;
|
|
2243
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
2250
|
+
layouts?: ("PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
|
|
2244
2251
|
currentPage?: number | undefined;
|
|
2245
2252
|
loading?: boolean | undefined;
|
|
2246
2253
|
pageSize?: number | undefined;
|
|
@@ -2279,15 +2286,14 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2279
2286
|
message?: string | undefined;
|
|
2280
2287
|
} | undefined;
|
|
2281
2288
|
ajax?: {
|
|
2282
|
-
query?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams
|
|
2283
|
-
queryAll?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams
|
|
2284
|
-
delete?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams
|
|
2285
|
-
save?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams
|
|
2289
|
+
query?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2290
|
+
queryAll?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2291
|
+
delete?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2292
|
+
save?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2286
2293
|
} | undefined;
|
|
2287
2294
|
} | undefined;
|
|
2288
2295
|
toolbarConfig?: {
|
|
2289
2296
|
enabled?: boolean | undefined;
|
|
2290
|
-
buttons?: any[] | undefined;
|
|
2291
2297
|
zoom?: boolean | {
|
|
2292
2298
|
escRestore?: boolean | undefined;
|
|
2293
2299
|
iconIn?: string | undefined;
|
|
@@ -2314,7 +2320,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2314
2320
|
refresh?: boolean | {
|
|
2315
2321
|
queryMethod?: ((params: {
|
|
2316
2322
|
[key: string]: any;
|
|
2317
|
-
}) =>
|
|
2323
|
+
}) => any) | undefined;
|
|
2318
2324
|
code?: "" | "query" | "reload" | null | undefined;
|
|
2319
2325
|
icon?: string | undefined;
|
|
2320
2326
|
iconLoading?: string | undefined;
|
|
@@ -2336,11 +2342,45 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2336
2342
|
immediate?: boolean | undefined;
|
|
2337
2343
|
storage?: boolean | undefined;
|
|
2338
2344
|
checkMethod?: ((params: {
|
|
2339
|
-
column: VxeTableDefines.ColumnInfo
|
|
2345
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
2340
2346
|
}) => boolean) | undefined;
|
|
2341
2347
|
isFooter?: boolean | undefined;
|
|
2342
2348
|
icon?: string | undefined;
|
|
2343
2349
|
} | undefined;
|
|
2350
|
+
buttons?: {
|
|
2351
|
+
dropdowns?: any[] | undefined;
|
|
2352
|
+
buttonRender?: {
|
|
2353
|
+
name?: string | undefined;
|
|
2354
|
+
props?: {
|
|
2355
|
+
[key: string]: any;
|
|
2356
|
+
} | undefined;
|
|
2357
|
+
attrs?: {
|
|
2358
|
+
[key: string]: any;
|
|
2359
|
+
} | undefined;
|
|
2360
|
+
events?: {
|
|
2361
|
+
[key: string]: (...args: any[]) => any;
|
|
2362
|
+
} | undefined;
|
|
2363
|
+
children?: any[] | undefined;
|
|
2364
|
+
cellType?: "string" | "number" | undefined;
|
|
2365
|
+
} | undefined;
|
|
2366
|
+
code?: string | undefined;
|
|
2367
|
+
visible?: boolean | undefined;
|
|
2368
|
+
params?: any;
|
|
2369
|
+
size?: SizeType | undefined;
|
|
2370
|
+
type?: string | undefined;
|
|
2371
|
+
className?: string | undefined;
|
|
2372
|
+
name?: VxeButtonPropTypes.Name | undefined;
|
|
2373
|
+
content?: string | undefined;
|
|
2374
|
+
placement?: string | undefined;
|
|
2375
|
+
status?: string | undefined;
|
|
2376
|
+
icon?: string | undefined;
|
|
2377
|
+
round?: boolean | undefined;
|
|
2378
|
+
circle?: boolean | undefined;
|
|
2379
|
+
disabled?: boolean | undefined;
|
|
2380
|
+
loading?: boolean | undefined;
|
|
2381
|
+
destroyOnClose?: boolean | undefined;
|
|
2382
|
+
transfer?: boolean | undefined;
|
|
2383
|
+
}[] | undefined;
|
|
2344
2384
|
tools?: {
|
|
2345
2385
|
dropdowns?: any[] | undefined;
|
|
2346
2386
|
toolRender?: {
|
|
@@ -2389,7 +2429,12 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2389
2429
|
titleWidth?: VxeFormPropTypes.TitleWidth | undefined;
|
|
2390
2430
|
titleColon?: boolean | undefined;
|
|
2391
2431
|
titleAsterisk?: boolean | undefined;
|
|
2432
|
+
showTitle?: boolean | undefined;
|
|
2392
2433
|
className?: VxeFormItemPropTypes.ClassName | undefined;
|
|
2434
|
+
contentClassName?: VxeFormItemPropTypes.ContentClassName | undefined;
|
|
2435
|
+
contentStyle?: VxeFormItemPropTypes.ContentStyle | undefined;
|
|
2436
|
+
titleClassName?: VxeFormItemPropTypes.TitleClassName | undefined;
|
|
2437
|
+
titleStyle?: VxeFormItemPropTypes.TitleStyle | undefined;
|
|
2393
2438
|
titlePrefix?: {
|
|
2394
2439
|
useHTML?: boolean | undefined;
|
|
2395
2440
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -2426,7 +2471,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2426
2471
|
key?: string | undefined;
|
|
2427
2472
|
} | undefined;
|
|
2428
2473
|
content?: string | undefined;
|
|
2429
|
-
autofocus?:
|
|
2474
|
+
autofocus?: string | undefined;
|
|
2430
2475
|
defaultValue?: string | number | object | any[] | {
|
|
2431
2476
|
exec: (string: string) => RegExpExecArray | null;
|
|
2432
2477
|
test: (string: string) => boolean;
|
|
@@ -2571,8 +2616,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2571
2616
|
};
|
|
2572
2617
|
pageData: Ref<RecordStringNumber>;
|
|
2573
2618
|
handleDeleteRow: (btn: PageButtonWithGroupCode) => void;
|
|
2574
|
-
|
|
2575
|
-
computedColumns: ComputedRef<VxeGridPropTypes.Columns>;
|
|
2619
|
+
computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
2576
2620
|
editRules: ComputedRef<ruleItem>;
|
|
2577
2621
|
shake: Ref<boolean>;
|
|
2578
2622
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
@@ -2609,7 +2653,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2609
2653
|
readonly default: () => {};
|
|
2610
2654
|
};
|
|
2611
2655
|
readonly vxeGridConfig: {
|
|
2612
|
-
readonly type: PropType<VxeGridProps<
|
|
2656
|
+
readonly type: PropType<VxeGridProps<VxeTableDataRow>>;
|
|
2613
2657
|
readonly default: () => {};
|
|
2614
2658
|
};
|
|
2615
2659
|
readonly shake: {
|
|
@@ -2617,15 +2661,15 @@ declare const _sfc_main: DefineComponent<{
|
|
|
2617
2661
|
readonly default: true;
|
|
2618
2662
|
};
|
|
2619
2663
|
}>>, {
|
|
2620
|
-
readonly vxeGridConfig: VxeGridProps<any>;
|
|
2621
|
-
readonly extend: Record<string, any>;
|
|
2622
|
-
readonly groupCode: string;
|
|
2623
2664
|
readonly columns: ColumnItem[];
|
|
2665
|
+
readonly buttons: PageButton[];
|
|
2666
|
+
readonly extend: Record<string, any>;
|
|
2624
2667
|
readonly groupName: string;
|
|
2625
2668
|
readonly groupNameI18nKey: string;
|
|
2669
|
+
readonly groupCode: string;
|
|
2626
2670
|
readonly groupType: string;
|
|
2627
2671
|
readonly sortOrder: string;
|
|
2628
|
-
readonly buttons: PageButton[];
|
|
2629
2672
|
readonly shake: boolean;
|
|
2630
|
-
|
|
2673
|
+
readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
|
|
2674
|
+
}, {}>;
|
|
2631
2675
|
export default _sfc_main;
|