@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,5 +1,5 @@
|
|
|
1
1
|
import type { ruleItem } from './src/hook/use-grid-config-hook';
|
|
2
|
-
import type { VxeGridProps, VxeGridInstance, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
|
|
2
|
+
import type { VxeGridProps, VxeTableDataRow, VxeGridInstance, SizeType, VxeTablePropTypes, VxeColumnPropTypes, VxeTooltipPropTypes, VxeColumnSlotTypes, VxeTableDefines, SlotVNodeType, VxeTableConstructor, VxeTablePrivateMethods, VxeGridConstructor, VxeTableProDefines, VxePagerPropTypes, VxeGridPropTypes, VxeButtonPropTypes, VxeToolbarPropTypes, VxeFormPropTypes, VxeFormItemPropTypes, VxeFormItemProps, FormItemTitleRenderParams, FormItemContentRenderParams } from 'vxe-table';
|
|
3
3
|
import type { PageButton, ColumnItem, RecordStringNumber, PageButtonWithGroupCode } from '../edit-page-layout';
|
|
4
4
|
import type { DefineComponent, PropType, ComputedRef, Ref, VNode, RendererNode, RendererElement, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
5
5
|
import type { SFCWithInstall } from '@qqt-product/utils/dist/modules/withInstall';
|
|
@@ -40,7 +40,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
40
40
|
readonly default: () => {};
|
|
41
41
|
};
|
|
42
42
|
readonly vxeGridConfig: {
|
|
43
|
-
readonly type: PropType<VxeGridProps<
|
|
43
|
+
readonly type: PropType<VxeGridProps<VxeTableDataRow>>;
|
|
44
44
|
readonly default: () => {};
|
|
45
45
|
};
|
|
46
46
|
readonly shake: {
|
|
@@ -55,11 +55,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
55
55
|
groupName: Ref<string>;
|
|
56
56
|
groupCode: Ref<string>;
|
|
57
57
|
wrapBoxHeight: ComputedRef<number>;
|
|
58
|
-
xGrid: Ref<VxeGridInstance | undefined>;
|
|
58
|
+
xGrid: Ref<VxeGridInstance<any> | undefined>;
|
|
59
59
|
gridOptions: {
|
|
60
60
|
size?: SizeType | undefined;
|
|
61
61
|
id?: string | undefined;
|
|
62
|
-
data?:
|
|
62
|
+
data?: VxeTableDataRow[] | undefined;
|
|
63
63
|
height?: VxeTablePropTypes.Height | undefined;
|
|
64
64
|
maxHeight?: VxeTablePropTypes.MaxHeight | undefined;
|
|
65
65
|
resizable?: boolean | undefined;
|
|
@@ -77,19 +77,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
77
77
|
highlightHoverColumn?: boolean | undefined;
|
|
78
78
|
highlightCell?: boolean | undefined;
|
|
79
79
|
showFooter?: boolean | undefined;
|
|
80
|
-
footerMethod?: VxeTablePropTypes.FooterMethod | undefined;
|
|
81
|
-
rowClassName?: VxeTablePropTypes.RowClassName | undefined;
|
|
82
|
-
cellClassName?: VxeTablePropTypes.CellClassName | undefined;
|
|
83
|
-
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName | undefined;
|
|
84
|
-
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName | undefined;
|
|
85
|
-
footerRowClassName?: VxeTablePropTypes.FooterRowClassName | undefined;
|
|
86
|
-
footerCellClassName?: VxeTablePropTypes.FooterCellClassName | undefined;
|
|
87
|
-
cellStyle?: VxeTablePropTypes.CellStyle | undefined;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
80
|
+
footerMethod?: VxeTablePropTypes.FooterMethod<VxeTableDataRow> | undefined;
|
|
81
|
+
rowClassName?: VxeTablePropTypes.RowClassName<VxeTableDataRow> | undefined;
|
|
82
|
+
cellClassName?: VxeTablePropTypes.CellClassName<VxeTableDataRow> | undefined;
|
|
83
|
+
headerRowClassName?: VxeTablePropTypes.HeaderRowClassName<VxeTableDataRow> | undefined;
|
|
84
|
+
headerCellClassName?: VxeTablePropTypes.HeaderCellClassName<VxeTableDataRow> | undefined;
|
|
85
|
+
footerRowClassName?: VxeTablePropTypes.FooterRowClassName<VxeTableDataRow> | undefined;
|
|
86
|
+
footerCellClassName?: VxeTablePropTypes.FooterCellClassName<VxeTableDataRow> | undefined;
|
|
87
|
+
cellStyle?: VxeTablePropTypes.CellStyle<VxeTableDataRow> | undefined;
|
|
88
|
+
rowStyle?: VxeTablePropTypes.RowStyle<VxeTableDataRow> | undefined;
|
|
89
|
+
headerCellStyle?: VxeTablePropTypes.HeaderCellStyle<VxeTableDataRow> | undefined;
|
|
90
|
+
headerRowStyle?: VxeTablePropTypes.HeaderRowStyle<VxeTableDataRow> | undefined;
|
|
91
|
+
footerRowStyle?: VxeTablePropTypes.FooterRowStyle<VxeTableDataRow> | undefined;
|
|
92
|
+
footerCellStyle?: VxeTablePropTypes.FooterCellStyle<VxeTableDataRow> | undefined;
|
|
93
93
|
mergeCells?: {
|
|
94
94
|
row: any;
|
|
95
95
|
col: number | {
|
|
@@ -108,12 +108,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
108
108
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
109
109
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
110
110
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
111
|
-
className: VxeColumnPropTypes.ClassName
|
|
112
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
113
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
114
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
111
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
112
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
113
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
114
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
115
115
|
sortable: boolean;
|
|
116
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
116
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
117
117
|
sortType: VxeColumnPropTypes.SortType;
|
|
118
118
|
filters: {
|
|
119
119
|
label?: string | number | undefined;
|
|
@@ -123,7 +123,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
123
123
|
checked?: boolean | undefined;
|
|
124
124
|
}[];
|
|
125
125
|
filterMultiple: boolean;
|
|
126
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
126
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
127
127
|
filterRender: {
|
|
128
128
|
options?: any[] | undefined;
|
|
129
129
|
optionProps?: {
|
|
@@ -153,8 +153,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
153
153
|
};
|
|
154
154
|
treeNode: boolean;
|
|
155
155
|
visible: boolean;
|
|
156
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
157
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
156
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
157
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
158
158
|
titleHelp: {
|
|
159
159
|
useHTML?: boolean | undefined;
|
|
160
160
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -174,7 +174,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
174
174
|
cellType: VxeColumnPropTypes.CellType;
|
|
175
175
|
cellRender: {
|
|
176
176
|
events?: {
|
|
177
|
-
[key: string]: (cellParams:
|
|
177
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
178
178
|
} | undefined;
|
|
179
179
|
options?: any[] | undefined;
|
|
180
180
|
optionProps?: {
|
|
@@ -201,7 +201,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
201
201
|
};
|
|
202
202
|
editRender: {
|
|
203
203
|
events?: {
|
|
204
|
-
[key: string]: (cellParams:
|
|
204
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
205
205
|
} | undefined;
|
|
206
206
|
enabled?: boolean | undefined;
|
|
207
207
|
options?: any[] | undefined;
|
|
@@ -219,7 +219,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
219
219
|
autofocus?: string | undefined;
|
|
220
220
|
autoselect?: boolean | undefined;
|
|
221
221
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
222
|
-
column: VxeTableDefines.ColumnInfo
|
|
222
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
223
223
|
}) => any) | {
|
|
224
224
|
exec: (string: string) => RegExpExecArray | null;
|
|
225
225
|
test: (string: string) => boolean;
|
|
@@ -345,16 +345,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
345
345
|
};
|
|
346
346
|
params: any;
|
|
347
347
|
slots: {
|
|
348
|
-
title?: string | ((params:
|
|
349
|
-
radio?: string | ((params:
|
|
350
|
-
checkbox?: string | ((params:
|
|
351
|
-
default?: string | ((params:
|
|
352
|
-
header?: string | ((params:
|
|
353
|
-
footer?: string | ((params:
|
|
354
|
-
content?: string | ((params:
|
|
355
|
-
filter?: string | ((params:
|
|
356
|
-
edit?: string | ((params:
|
|
357
|
-
icon?: string | ((params:
|
|
348
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
349
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
350
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
351
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
352
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
353
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
354
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
355
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
356
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
357
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
358
358
|
};
|
|
359
359
|
id: string;
|
|
360
360
|
parentId: string;
|
|
@@ -363,6 +363,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
363
363
|
colSpan: number;
|
|
364
364
|
halfVisible: boolean;
|
|
365
365
|
defaultVisible: any;
|
|
366
|
+
defaultFixed: any;
|
|
366
367
|
checked: boolean;
|
|
367
368
|
halfChecked: boolean;
|
|
368
369
|
disabled: boolean;
|
|
@@ -376,16 +377,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
376
377
|
value: any;
|
|
377
378
|
};
|
|
378
379
|
children: any[];
|
|
379
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
380
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
380
381
|
[key: string]: any;
|
|
381
382
|
}>[];
|
|
382
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
383
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
383
384
|
[key: string]: any;
|
|
384
385
|
}>[];
|
|
385
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
386
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
386
387
|
[key: string]: any;
|
|
387
388
|
}>[];
|
|
388
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
389
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
389
390
|
[key: string]: any;
|
|
390
391
|
}>[];
|
|
391
392
|
getTitle: () => string;
|
|
@@ -412,12 +413,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
412
413
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
413
414
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
414
415
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
415
|
-
className: VxeColumnPropTypes.ClassName
|
|
416
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
417
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
418
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
416
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
417
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
418
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
419
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
419
420
|
sortable: boolean;
|
|
420
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
421
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
421
422
|
sortType: VxeColumnPropTypes.SortType;
|
|
422
423
|
filters: {
|
|
423
424
|
label?: string | number | undefined;
|
|
@@ -427,7 +428,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
427
428
|
checked?: boolean | undefined;
|
|
428
429
|
}[];
|
|
429
430
|
filterMultiple: boolean;
|
|
430
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
431
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
431
432
|
filterRender: {
|
|
432
433
|
options?: any[] | undefined;
|
|
433
434
|
optionProps?: {
|
|
@@ -457,8 +458,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
457
458
|
};
|
|
458
459
|
treeNode: boolean;
|
|
459
460
|
visible: boolean;
|
|
460
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
461
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
461
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
462
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
462
463
|
titleHelp: {
|
|
463
464
|
useHTML?: boolean | undefined;
|
|
464
465
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -478,7 +479,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
478
479
|
cellType: VxeColumnPropTypes.CellType;
|
|
479
480
|
cellRender: {
|
|
480
481
|
events?: {
|
|
481
|
-
[key: string]: (cellParams:
|
|
482
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
482
483
|
} | undefined;
|
|
483
484
|
options?: any[] | undefined;
|
|
484
485
|
optionProps?: {
|
|
@@ -505,7 +506,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
505
506
|
};
|
|
506
507
|
editRender: {
|
|
507
508
|
events?: {
|
|
508
|
-
[key: string]: (cellParams:
|
|
509
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
509
510
|
} | undefined;
|
|
510
511
|
enabled?: boolean | undefined;
|
|
511
512
|
options?: any[] | undefined;
|
|
@@ -523,7 +524,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
523
524
|
autofocus?: string | undefined;
|
|
524
525
|
autoselect?: boolean | undefined;
|
|
525
526
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
526
|
-
column: VxeTableDefines.ColumnInfo
|
|
527
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
527
528
|
}) => any) | {
|
|
528
529
|
exec: (string: string) => RegExpExecArray | null;
|
|
529
530
|
test: (string: string) => boolean;
|
|
@@ -649,16 +650,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
649
650
|
};
|
|
650
651
|
params: any;
|
|
651
652
|
slots: {
|
|
652
|
-
title?: string | ((params:
|
|
653
|
-
radio?: string | ((params:
|
|
654
|
-
checkbox?: string | ((params:
|
|
655
|
-
default?: string | ((params:
|
|
656
|
-
header?: string | ((params:
|
|
657
|
-
footer?: string | ((params:
|
|
658
|
-
content?: string | ((params:
|
|
659
|
-
filter?: string | ((params:
|
|
660
|
-
edit?: string | ((params:
|
|
661
|
-
icon?: string | ((params:
|
|
653
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
654
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
655
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
656
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
657
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
658
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
659
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
660
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
661
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
662
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
662
663
|
};
|
|
663
664
|
id: string;
|
|
664
665
|
parentId: string;
|
|
@@ -667,6 +668,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
667
668
|
colSpan: number;
|
|
668
669
|
halfVisible: boolean;
|
|
669
670
|
defaultVisible: any;
|
|
671
|
+
defaultFixed: any;
|
|
670
672
|
checked: boolean;
|
|
671
673
|
halfChecked: boolean;
|
|
672
674
|
disabled: boolean;
|
|
@@ -680,16 +682,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
680
682
|
value: any;
|
|
681
683
|
};
|
|
682
684
|
children: any[];
|
|
683
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
685
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
684
686
|
[key: string]: any;
|
|
685
687
|
}>[];
|
|
686
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
688
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
687
689
|
[key: string]: any;
|
|
688
690
|
}>[];
|
|
689
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
691
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
690
692
|
[key: string]: any;
|
|
691
693
|
}>[];
|
|
692
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
694
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
693
695
|
[key: string]: any;
|
|
694
696
|
}>[];
|
|
695
697
|
getTitle: () => string;
|
|
@@ -698,8 +700,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
698
700
|
rowspan: number;
|
|
699
701
|
colspan: number;
|
|
700
702
|
}[] | undefined;
|
|
701
|
-
spanMethod?: VxeTablePropTypes.SpanMethod | undefined;
|
|
702
|
-
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod | undefined;
|
|
703
|
+
spanMethod?: VxeTablePropTypes.SpanMethod<VxeTableDataRow> | undefined;
|
|
704
|
+
footerSpanMethod?: VxeTablePropTypes.FooterSpanMethod<VxeTableDataRow> | undefined;
|
|
703
705
|
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
704
706
|
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
705
707
|
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
@@ -729,9 +731,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
729
731
|
storage?: boolean | {
|
|
730
732
|
visible?: boolean | undefined;
|
|
731
733
|
resizable?: boolean | undefined;
|
|
734
|
+
fixed?: boolean | undefined;
|
|
735
|
+
order?: boolean | undefined;
|
|
732
736
|
} | undefined;
|
|
733
737
|
checkMethod?: ((params: {
|
|
734
|
-
column: VxeTableDefines.ColumnInfo
|
|
738
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
735
739
|
}) => boolean) | undefined;
|
|
736
740
|
} | undefined;
|
|
737
741
|
resizeConfig?: {
|
|
@@ -739,16 +743,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
739
743
|
} | undefined;
|
|
740
744
|
resizableConfig?: {
|
|
741
745
|
minWidth?: string | number | ((params: {
|
|
742
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
743
|
-
column: VxeTableDefines.ColumnInfo
|
|
746
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
747
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
744
748
|
columnIndex: number;
|
|
745
749
|
$columnIndex: number;
|
|
746
750
|
$rowIndex: number;
|
|
747
751
|
cell: HTMLElement;
|
|
748
752
|
}) => string | number) | undefined;
|
|
749
753
|
maxWidth?: string | number | ((params: {
|
|
750
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
751
|
-
column: VxeTableDefines.ColumnInfo
|
|
754
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
755
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
752
756
|
columnIndex: number;
|
|
753
757
|
$columnIndex: number;
|
|
754
758
|
$rowIndex: number;
|
|
@@ -758,10 +762,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
758
762
|
seqConfig?: {
|
|
759
763
|
startIndex?: number | undefined;
|
|
760
764
|
seqMethod?: ((params: {
|
|
761
|
-
column: VxeTableDefines.ColumnInfo
|
|
765
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
762
766
|
columnIndex: number;
|
|
763
767
|
$columnIndex: number;
|
|
764
|
-
row:
|
|
768
|
+
row: VxeTableDataRow;
|
|
765
769
|
rowIndex: number;
|
|
766
770
|
$rowIndex: number;
|
|
767
771
|
}) => string | number) | undefined;
|
|
@@ -776,9 +780,9 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
776
780
|
}[] | undefined;
|
|
777
781
|
orders?: VxeTablePropTypes.SortOrder[] | undefined;
|
|
778
782
|
sortMethod?: ((params: {
|
|
779
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
780
|
-
data:
|
|
781
|
-
sortList: VxeTableDefines.SortCheckedParams[];
|
|
783
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
784
|
+
data: VxeTableDataRow[];
|
|
785
|
+
sortList: VxeTableDefines.SortCheckedParams<VxeTableDataRow>[];
|
|
782
786
|
}) => any[]) | undefined;
|
|
783
787
|
remote?: boolean | undefined;
|
|
784
788
|
multiple?: boolean | undefined;
|
|
@@ -793,8 +797,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
793
797
|
options: VxeTableDefines.FilterOption[];
|
|
794
798
|
values: any[];
|
|
795
799
|
cellValue: any;
|
|
796
|
-
row:
|
|
797
|
-
column: VxeTableDefines.ColumnInfo
|
|
800
|
+
row: VxeTableDataRow;
|
|
801
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
798
802
|
}) => any) | undefined;
|
|
799
803
|
remote?: boolean | undefined;
|
|
800
804
|
showIcon?: boolean | undefined;
|
|
@@ -806,12 +810,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
806
810
|
labelField?: string | undefined;
|
|
807
811
|
checkRowKey?: string | number | undefined;
|
|
808
812
|
checkMethod?: ((params: {
|
|
809
|
-
row:
|
|
813
|
+
row: VxeTableDataRow;
|
|
810
814
|
}) => boolean) | undefined;
|
|
811
815
|
visibleMethod?: ((params: {
|
|
812
|
-
row:
|
|
816
|
+
row: VxeTableDataRow;
|
|
813
817
|
}) => boolean) | undefined;
|
|
814
|
-
trigger?: "" | "default" | "
|
|
818
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
815
819
|
highlight?: boolean | undefined;
|
|
816
820
|
strict?: boolean | undefined;
|
|
817
821
|
} | undefined;
|
|
@@ -826,12 +830,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
826
830
|
checkStrictly?: boolean | undefined;
|
|
827
831
|
strict?: boolean | undefined;
|
|
828
832
|
checkMethod?: ((params: {
|
|
829
|
-
row:
|
|
833
|
+
row: VxeTableDataRow;
|
|
830
834
|
}) => boolean) | undefined;
|
|
831
835
|
visibleMethod?: ((params: {
|
|
832
|
-
row:
|
|
836
|
+
row: VxeTableDataRow;
|
|
833
837
|
}) => boolean) | undefined;
|
|
834
|
-
trigger?: "" | "default" | "
|
|
838
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
835
839
|
highlight?: boolean | undefined;
|
|
836
840
|
range?: boolean | undefined;
|
|
837
841
|
} | undefined;
|
|
@@ -843,11 +847,11 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
843
847
|
leaveDelay?: number | undefined;
|
|
844
848
|
contentMethod?: ((params: {
|
|
845
849
|
items: any[];
|
|
846
|
-
row:
|
|
850
|
+
row: VxeTableDataRow;
|
|
847
851
|
rowIndex: number;
|
|
848
852
|
$rowIndex: number;
|
|
849
853
|
_rowIndex: number;
|
|
850
|
-
column: VxeTableDefines.ColumnInfo
|
|
854
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
851
855
|
columnIndex: number;
|
|
852
856
|
$columnIndex: number;
|
|
853
857
|
_columnIndex: number;
|
|
@@ -887,12 +891,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
887
891
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
888
892
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
889
893
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
890
|
-
className: VxeColumnPropTypes.ClassName
|
|
891
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
892
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
893
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
894
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
895
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
896
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
897
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
894
898
|
sortable: boolean;
|
|
895
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
899
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
896
900
|
sortType: VxeColumnPropTypes.SortType;
|
|
897
901
|
filters: {
|
|
898
902
|
label?: string | number | undefined;
|
|
@@ -902,7 +906,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
902
906
|
checked?: boolean | undefined;
|
|
903
907
|
}[];
|
|
904
908
|
filterMultiple: boolean;
|
|
905
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
909
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
906
910
|
filterRender: {
|
|
907
911
|
options?: any[] | undefined;
|
|
908
912
|
optionProps?: {
|
|
@@ -932,8 +936,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
932
936
|
};
|
|
933
937
|
treeNode: boolean;
|
|
934
938
|
visible: boolean;
|
|
935
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
936
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
939
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
940
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
937
941
|
titleHelp: {
|
|
938
942
|
useHTML?: boolean | undefined;
|
|
939
943
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -953,7 +957,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
953
957
|
cellType: VxeColumnPropTypes.CellType;
|
|
954
958
|
cellRender: {
|
|
955
959
|
events?: {
|
|
956
|
-
[key: string]: (cellParams:
|
|
960
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
957
961
|
} | undefined;
|
|
958
962
|
options?: any[] | undefined;
|
|
959
963
|
optionProps?: {
|
|
@@ -980,7 +984,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
980
984
|
};
|
|
981
985
|
editRender: {
|
|
982
986
|
events?: {
|
|
983
|
-
[key: string]: (cellParams:
|
|
987
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
984
988
|
} | undefined;
|
|
985
989
|
enabled?: boolean | undefined;
|
|
986
990
|
options?: any[] | undefined;
|
|
@@ -998,7 +1002,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
998
1002
|
autofocus?: string | undefined;
|
|
999
1003
|
autoselect?: boolean | undefined;
|
|
1000
1004
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
1001
|
-
column: VxeTableDefines.ColumnInfo
|
|
1005
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1002
1006
|
}) => any) | {
|
|
1003
1007
|
exec: (string: string) => RegExpExecArray | null;
|
|
1004
1008
|
test: (string: string) => boolean;
|
|
@@ -1124,16 +1128,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1124
1128
|
};
|
|
1125
1129
|
params: any;
|
|
1126
1130
|
slots: {
|
|
1127
|
-
title?: string | ((params:
|
|
1128
|
-
radio?: string | ((params:
|
|
1129
|
-
checkbox?: string | ((params:
|
|
1130
|
-
default?: string | ((params:
|
|
1131
|
-
header?: string | ((params:
|
|
1132
|
-
footer?: string | ((params:
|
|
1133
|
-
content?: string | ((params:
|
|
1134
|
-
filter?: string | ((params:
|
|
1135
|
-
edit?: string | ((params:
|
|
1136
|
-
icon?: string | ((params:
|
|
1131
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1132
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1133
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1134
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1135
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1136
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1137
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1138
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1139
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1140
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1137
1141
|
};
|
|
1138
1142
|
id: string;
|
|
1139
1143
|
parentId: string;
|
|
@@ -1142,6 +1146,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1142
1146
|
colSpan: number;
|
|
1143
1147
|
halfVisible: boolean;
|
|
1144
1148
|
defaultVisible: any;
|
|
1149
|
+
defaultFixed: any;
|
|
1145
1150
|
checked: boolean;
|
|
1146
1151
|
halfChecked: boolean;
|
|
1147
1152
|
disabled: boolean;
|
|
@@ -1155,16 +1160,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1155
1160
|
value: any;
|
|
1156
1161
|
};
|
|
1157
1162
|
children: any[];
|
|
1158
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
1163
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1159
1164
|
[key: string]: any;
|
|
1160
1165
|
}>[];
|
|
1161
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
1166
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1162
1167
|
[key: string]: any;
|
|
1163
1168
|
}>[];
|
|
1164
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
1169
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1165
1170
|
[key: string]: any;
|
|
1166
1171
|
}>[];
|
|
1167
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
1172
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1168
1173
|
[key: string]: any;
|
|
1169
1174
|
}>[];
|
|
1170
1175
|
getTitle: () => string;
|
|
@@ -1175,7 +1180,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1175
1180
|
field?: string | undefined;
|
|
1176
1181
|
}[] | undefined;
|
|
1177
1182
|
columnFilterMethod?: ((params: {
|
|
1178
|
-
column: VxeTableDefines.ColumnInfo
|
|
1183
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1179
1184
|
$columnIndex: number;
|
|
1180
1185
|
}) => boolean) | undefined;
|
|
1181
1186
|
dataFilterMethod?: ((params: {
|
|
@@ -1190,8 +1195,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1190
1195
|
useStyle?: boolean | undefined;
|
|
1191
1196
|
sheetMethod?: ((params: VxeTableDefines.ExtortSheetMethodParams) => void) | undefined;
|
|
1192
1197
|
exportMethod?: ((params: {
|
|
1193
|
-
$table: VxeTableConstructor
|
|
1194
|
-
$grid?: VxeGridConstructor | undefined;
|
|
1198
|
+
$table: VxeTableConstructor<any>;
|
|
1199
|
+
$grid?: VxeGridConstructor<any> | undefined;
|
|
1195
1200
|
options: VxeTablePropTypes.ExportHandleOptions;
|
|
1196
1201
|
}) => Promise<any>) | undefined;
|
|
1197
1202
|
beforeExportMethod?: ((params: {
|
|
@@ -1208,17 +1213,17 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1208
1213
|
message?: boolean | undefined;
|
|
1209
1214
|
remote?: boolean | undefined;
|
|
1210
1215
|
importMethod?: ((params: {
|
|
1211
|
-
$table: VxeTableConstructor
|
|
1212
|
-
$grid: VxeGridConstructor
|
|
1216
|
+
$table: VxeTableConstructor<any>;
|
|
1217
|
+
$grid: VxeGridConstructor<any>;
|
|
1213
1218
|
file: File;
|
|
1214
1219
|
options: VxeTablePropTypes.ImportHandleOptions;
|
|
1215
1220
|
}) => Promise<any>) | undefined;
|
|
1216
1221
|
beforeImportMethod?: ((params: {
|
|
1217
|
-
$table: VxeTableConstructor
|
|
1222
|
+
$table: VxeTableConstructor<any>;
|
|
1218
1223
|
options: any;
|
|
1219
1224
|
}) => void) | undefined;
|
|
1220
1225
|
afterImportMethod?: ((params: {
|
|
1221
|
-
$table: VxeTableConstructor
|
|
1226
|
+
$table: VxeTableConstructor<any>;
|
|
1222
1227
|
options: any;
|
|
1223
1228
|
status: boolean;
|
|
1224
1229
|
}) => void) | undefined;
|
|
@@ -1247,12 +1252,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1247
1252
|
showOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1248
1253
|
showHeaderOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1249
1254
|
showFooterOverflow: VxeTablePropTypes.ShowOverflow;
|
|
1250
|
-
className: VxeColumnPropTypes.ClassName
|
|
1251
|
-
headerClassName: VxeColumnPropTypes.HeaderClassName
|
|
1252
|
-
footerClassName: VxeColumnPropTypes.FooterClassName
|
|
1253
|
-
formatter: VxeColumnPropTypes.Formatter
|
|
1255
|
+
className: VxeColumnPropTypes.ClassName<VxeTableDataRow>;
|
|
1256
|
+
headerClassName: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow>;
|
|
1257
|
+
footerClassName: VxeColumnPropTypes.FooterClassName<VxeTableDataRow>;
|
|
1258
|
+
formatter: VxeColumnPropTypes.Formatter<VxeTableDataRow>;
|
|
1254
1259
|
sortable: boolean;
|
|
1255
|
-
sortBy: VxeColumnPropTypes.SortBy
|
|
1260
|
+
sortBy: VxeColumnPropTypes.SortBy<VxeTableDataRow>;
|
|
1256
1261
|
sortType: VxeColumnPropTypes.SortType;
|
|
1257
1262
|
filters: {
|
|
1258
1263
|
label?: string | number | undefined;
|
|
@@ -1262,7 +1267,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1262
1267
|
checked?: boolean | undefined;
|
|
1263
1268
|
}[];
|
|
1264
1269
|
filterMultiple: boolean;
|
|
1265
|
-
filterMethod: VxeColumnPropTypes.FilterMethod
|
|
1270
|
+
filterMethod: VxeColumnPropTypes.FilterMethod<VxeTableDataRow>;
|
|
1266
1271
|
filterRender: {
|
|
1267
1272
|
options?: any[] | undefined;
|
|
1268
1273
|
optionProps?: {
|
|
@@ -1292,8 +1297,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1292
1297
|
};
|
|
1293
1298
|
treeNode: boolean;
|
|
1294
1299
|
visible: boolean;
|
|
1295
|
-
exportMethod: VxeColumnPropTypes.ExportMethod
|
|
1296
|
-
footerExportMethod: VxeColumnPropTypes.FooterExportMethod
|
|
1300
|
+
exportMethod: VxeColumnPropTypes.ExportMethod<VxeTableDataRow>;
|
|
1301
|
+
footerExportMethod: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow>;
|
|
1297
1302
|
titleHelp: {
|
|
1298
1303
|
useHTML?: boolean | undefined;
|
|
1299
1304
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -1313,7 +1318,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1313
1318
|
cellType: VxeColumnPropTypes.CellType;
|
|
1314
1319
|
cellRender: {
|
|
1315
1320
|
events?: {
|
|
1316
|
-
[key: string]: (cellParams:
|
|
1321
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
1317
1322
|
} | undefined;
|
|
1318
1323
|
options?: any[] | undefined;
|
|
1319
1324
|
optionProps?: {
|
|
@@ -1340,7 +1345,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1340
1345
|
};
|
|
1341
1346
|
editRender: {
|
|
1342
1347
|
events?: {
|
|
1343
|
-
[key: string]: (cellParams:
|
|
1348
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
1344
1349
|
} | undefined;
|
|
1345
1350
|
enabled?: boolean | undefined;
|
|
1346
1351
|
options?: any[] | undefined;
|
|
@@ -1358,7 +1363,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1358
1363
|
autofocus?: string | undefined;
|
|
1359
1364
|
autoselect?: boolean | undefined;
|
|
1360
1365
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
1361
|
-
column: VxeTableDefines.ColumnInfo
|
|
1366
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1362
1367
|
}) => any) | {
|
|
1363
1368
|
exec: (string: string) => RegExpExecArray | null;
|
|
1364
1369
|
test: (string: string) => boolean;
|
|
@@ -1484,16 +1489,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1484
1489
|
};
|
|
1485
1490
|
params: any;
|
|
1486
1491
|
slots: {
|
|
1487
|
-
title?: string | ((params:
|
|
1488
|
-
radio?: string | ((params:
|
|
1489
|
-
checkbox?: string | ((params:
|
|
1490
|
-
default?: string | ((params:
|
|
1491
|
-
header?: string | ((params:
|
|
1492
|
-
footer?: string | ((params:
|
|
1493
|
-
content?: string | ((params:
|
|
1494
|
-
filter?: string | ((params:
|
|
1495
|
-
edit?: string | ((params:
|
|
1496
|
-
icon?: string | ((params:
|
|
1492
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1493
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1494
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1495
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1496
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1497
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1498
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1499
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1500
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1501
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1497
1502
|
};
|
|
1498
1503
|
id: string;
|
|
1499
1504
|
parentId: string;
|
|
@@ -1502,6 +1507,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1502
1507
|
colSpan: number;
|
|
1503
1508
|
halfVisible: boolean;
|
|
1504
1509
|
defaultVisible: any;
|
|
1510
|
+
defaultFixed: any;
|
|
1505
1511
|
checked: boolean;
|
|
1506
1512
|
halfChecked: boolean;
|
|
1507
1513
|
disabled: boolean;
|
|
@@ -1515,16 +1521,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1515
1521
|
value: any;
|
|
1516
1522
|
};
|
|
1517
1523
|
children: any[];
|
|
1518
|
-
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams) => VNode<RendererNode, RendererElement, {
|
|
1524
|
+
renderHeader: (params: VxeTableDefines.CellRenderHeaderParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1519
1525
|
[key: string]: any;
|
|
1520
1526
|
}>[];
|
|
1521
|
-
renderCell: (params: VxeTableDefines.CellRenderCellParams) => VNode<RendererNode, RendererElement, {
|
|
1527
|
+
renderCell: (params: VxeTableDefines.CellRenderCellParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1522
1528
|
[key: string]: any;
|
|
1523
1529
|
}>[];
|
|
1524
|
-
renderData: (params: VxeTableDefines.CellRenderDataParams) => VNode<RendererNode, RendererElement, {
|
|
1530
|
+
renderData: (params: VxeTableDefines.CellRenderDataParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1525
1531
|
[key: string]: any;
|
|
1526
1532
|
}>[];
|
|
1527
|
-
renderFooter: (params: VxeTableDefines.CellRenderFooterParams) => VNode<RendererNode, RendererElement, {
|
|
1533
|
+
renderFooter: (params: VxeTableDefines.CellRenderFooterParams<VxeTableDataRow>) => VNode<RendererNode, RendererElement, {
|
|
1528
1534
|
[key: string]: any;
|
|
1529
1535
|
}>[];
|
|
1530
1536
|
getTitle: () => string;
|
|
@@ -1537,7 +1543,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1537
1543
|
style?: string | undefined;
|
|
1538
1544
|
content?: string | undefined;
|
|
1539
1545
|
columnFilterMethod?: ((params: {
|
|
1540
|
-
column: VxeTableDefines.ColumnInfo
|
|
1546
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1541
1547
|
$columnIndex: number;
|
|
1542
1548
|
}) => boolean) | undefined;
|
|
1543
1549
|
dataFilterMethod?: ((params: {
|
|
@@ -1549,7 +1555,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1549
1555
|
$rowIndex: number;
|
|
1550
1556
|
}) => boolean) | undefined;
|
|
1551
1557
|
beforePrintMethod?: ((params: {
|
|
1552
|
-
$table: VxeTableConstructor | null;
|
|
1558
|
+
$table: VxeTableConstructor<any> | null;
|
|
1553
1559
|
content: string;
|
|
1554
1560
|
options: VxeTablePropTypes.PrintHandleOptions;
|
|
1555
1561
|
}) => string) | undefined;
|
|
@@ -1559,27 +1565,27 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1559
1565
|
expandAll?: boolean | undefined;
|
|
1560
1566
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1561
1567
|
accordion?: boolean | undefined;
|
|
1562
|
-
trigger?: "" | "default" | "
|
|
1568
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
1563
1569
|
lazy?: boolean | undefined;
|
|
1564
1570
|
reserve?: boolean | undefined;
|
|
1565
1571
|
height?: number | undefined;
|
|
1566
1572
|
loadMethod?: ((params: {
|
|
1567
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1568
|
-
row:
|
|
1573
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1574
|
+
row: VxeTableDataRow;
|
|
1569
1575
|
rowIndex: number;
|
|
1570
1576
|
$rowIndex: number;
|
|
1571
1577
|
}) => Promise<void>) | undefined;
|
|
1572
1578
|
toggleMethod?: ((params: {
|
|
1573
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1579
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1574
1580
|
expanded: boolean;
|
|
1575
|
-
row:
|
|
1581
|
+
row: VxeTableDataRow;
|
|
1576
1582
|
rowIndex: number;
|
|
1577
1583
|
$rowIndex: number;
|
|
1578
|
-
column: VxeTableDefines.ColumnInfo
|
|
1584
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1579
1585
|
columnIndex: number;
|
|
1580
1586
|
$columnIndex: number;
|
|
1581
1587
|
}) => boolean) | undefined;
|
|
1582
|
-
visibleMethod?: ((params: VxeTableDefines.CellRenderBodyParams) => boolean) | undefined;
|
|
1588
|
+
visibleMethod?: ((params: VxeTableDefines.CellRenderBodyParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1583
1589
|
showIcon?: boolean | undefined;
|
|
1584
1590
|
iconOpen?: string | undefined;
|
|
1585
1591
|
iconClose?: string | undefined;
|
|
@@ -1596,19 +1602,19 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1596
1602
|
expandAll?: boolean | undefined;
|
|
1597
1603
|
expandRowKeys?: string[] | number[] | undefined;
|
|
1598
1604
|
accordion?: boolean | undefined;
|
|
1599
|
-
trigger?: "" | "default" | "
|
|
1605
|
+
trigger?: "" | "default" | "cell" | "row" | null | undefined;
|
|
1600
1606
|
lazy?: boolean | undefined;
|
|
1601
1607
|
hasChild?: string | undefined;
|
|
1602
1608
|
reserve?: boolean | undefined;
|
|
1603
1609
|
loadMethod?: ((params: {
|
|
1604
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1605
|
-
row:
|
|
1610
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1611
|
+
row: VxeTableDataRow;
|
|
1606
1612
|
}) => Promise<any[]>) | undefined;
|
|
1607
1613
|
toggleMethod?: ((params: {
|
|
1608
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1614
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1609
1615
|
expanded: boolean;
|
|
1610
|
-
row:
|
|
1611
|
-
column: VxeTableDefines.ColumnInfo
|
|
1616
|
+
row: VxeTableDataRow;
|
|
1617
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1612
1618
|
columnIndex: number;
|
|
1613
1619
|
$columnIndex: number;
|
|
1614
1620
|
}) => boolean) | undefined;
|
|
@@ -1695,10 +1701,10 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1695
1701
|
visibleMethod?: ((params: {
|
|
1696
1702
|
type: string;
|
|
1697
1703
|
options: VxeTableDefines.MenuFirstOption[][];
|
|
1698
|
-
columns: VxeTableDefines.ColumnInfo[];
|
|
1699
|
-
row?:
|
|
1704
|
+
columns: VxeTableDefines.ColumnInfo<VxeTableDataRow>[];
|
|
1705
|
+
row?: VxeTableDataRow | undefined;
|
|
1700
1706
|
rowIndex?: number | undefined;
|
|
1701
|
-
column?: VxeTableDefines.ColumnInfo | undefined;
|
|
1707
|
+
column?: VxeTableDefines.ColumnInfo<VxeTableDataRow> | undefined;
|
|
1702
1708
|
columnIndex?: number | undefined;
|
|
1703
1709
|
}) => boolean) | undefined;
|
|
1704
1710
|
} | undefined;
|
|
@@ -1708,19 +1714,20 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1708
1714
|
extension?: boolean | undefined;
|
|
1709
1715
|
} | undefined;
|
|
1710
1716
|
areaConfig?: {
|
|
1717
|
+
multiple?: boolean | undefined;
|
|
1711
1718
|
selectCellByHeader?: boolean | undefined;
|
|
1712
1719
|
extendByCopy?: boolean | undefined;
|
|
1713
1720
|
extendByCalc?: boolean | undefined;
|
|
1714
|
-
extendCalcMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams) => any[][]) | undefined;
|
|
1721
|
+
extendCalcMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => any[][]) | undefined;
|
|
1715
1722
|
extendSetMethod?: ((params: {
|
|
1716
1723
|
cellValue: any;
|
|
1717
|
-
row:
|
|
1718
|
-
column: VxeTableDefines.ColumnInfo
|
|
1719
|
-
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams) => void) | undefined;
|
|
1720
|
-
beforeExtendSetMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams) => boolean) | undefined;
|
|
1724
|
+
row: VxeTableDataRow;
|
|
1725
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1726
|
+
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => void) | undefined;
|
|
1727
|
+
beforeExtendSetMethod?: ((params: VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1721
1728
|
afterExtendSetMethod?: ((params: {
|
|
1722
1729
|
extendValues: any[][];
|
|
1723
|
-
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams) => boolean) | undefined;
|
|
1730
|
+
} & VxeTableProDefines.ExtendCellAreaCalcBaseParams<VxeTableDataRow>) => boolean) | undefined;
|
|
1724
1731
|
} | undefined;
|
|
1725
1732
|
fnrConfig?: {
|
|
1726
1733
|
isFind?: boolean | undefined;
|
|
@@ -1735,36 +1742,36 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1735
1742
|
beforeFindMethod?: ((params: {
|
|
1736
1743
|
isAll: boolean;
|
|
1737
1744
|
findValue: string | null;
|
|
1738
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1739
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1745
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1746
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1740
1747
|
}) => boolean) | undefined;
|
|
1741
1748
|
afterFindMethod?: ((params: {
|
|
1742
1749
|
isAll: boolean;
|
|
1743
1750
|
findValue: string | null;
|
|
1744
|
-
result: VxeTableProDefines.FindAndReplaceResult[];
|
|
1745
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1746
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1751
|
+
result: VxeTableProDefines.FindAndReplaceResult<VxeTableDataRow>[];
|
|
1752
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1753
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1747
1754
|
}) => void) | undefined;
|
|
1748
1755
|
isReplace?: boolean | undefined;
|
|
1749
1756
|
replaceMethod?: ((params: {
|
|
1750
|
-
row:
|
|
1751
|
-
column: VxeTableDefines.ColumnInfo
|
|
1757
|
+
row: VxeTableDataRow;
|
|
1758
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1752
1759
|
cellValue: any;
|
|
1753
1760
|
}) => void) | undefined;
|
|
1754
1761
|
beforeReplaceMethod?: ((params: {
|
|
1755
1762
|
isAll: boolean;
|
|
1756
1763
|
findValue: string | null;
|
|
1757
1764
|
replaceValue: string;
|
|
1758
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1759
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1765
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1766
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1760
1767
|
}) => boolean) | undefined;
|
|
1761
1768
|
afterReplaceMethod?: ((params: {
|
|
1762
1769
|
isAll: boolean;
|
|
1763
1770
|
findValue: string | null;
|
|
1764
1771
|
replaceValue: string;
|
|
1765
|
-
result: VxeTableProDefines.FindAndReplaceResult[];
|
|
1766
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1767
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1772
|
+
result: VxeTableProDefines.FindAndReplaceResult<VxeTableDataRow>[];
|
|
1773
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1774
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1768
1775
|
}) => void) | undefined;
|
|
1769
1776
|
} | undefined;
|
|
1770
1777
|
keyboardConfig?: {
|
|
@@ -1781,26 +1788,26 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1781
1788
|
isChecked?: boolean | undefined;
|
|
1782
1789
|
enterToTab?: boolean | undefined;
|
|
1783
1790
|
delMethod?: ((params: {
|
|
1784
|
-
row:
|
|
1791
|
+
row: VxeTableDataRow;
|
|
1785
1792
|
rowIndex: number;
|
|
1786
|
-
column: VxeTableDefines.ColumnInfo
|
|
1793
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1787
1794
|
columnIndex: number;
|
|
1788
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1795
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1789
1796
|
}) => void) | undefined;
|
|
1790
1797
|
backMethod?: ((params: {
|
|
1791
|
-
row:
|
|
1798
|
+
row: VxeTableDataRow;
|
|
1792
1799
|
rowIndex: number;
|
|
1793
|
-
column: VxeTableDefines.ColumnInfo
|
|
1800
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1794
1801
|
columnIndex: number;
|
|
1795
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1802
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1796
1803
|
}) => void) | undefined;
|
|
1797
1804
|
editMethod?: ((params: {
|
|
1798
|
-
row:
|
|
1805
|
+
row: VxeTableDataRow;
|
|
1799
1806
|
rowIndex: number;
|
|
1800
|
-
column: VxeTableDefines.ColumnInfo
|
|
1807
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1801
1808
|
columnIndex: number;
|
|
1802
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1803
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1809
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1810
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1804
1811
|
}) => boolean) | undefined;
|
|
1805
1812
|
} | undefined;
|
|
1806
1813
|
clipConfig?: {
|
|
@@ -1812,97 +1819,97 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1812
1819
|
isColumnIncrement?: boolean | undefined;
|
|
1813
1820
|
copyMethod?: ((params: {
|
|
1814
1821
|
isCut: boolean;
|
|
1815
|
-
row:
|
|
1816
|
-
column: VxeTableDefines.ColumnInfo
|
|
1822
|
+
row: VxeTableDataRow;
|
|
1823
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1817
1824
|
cellValue: any;
|
|
1818
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1819
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1825
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1826
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1820
1827
|
}) => string) | undefined;
|
|
1821
1828
|
beforeCopyMethod?: ((params: {
|
|
1822
1829
|
isCut: boolean;
|
|
1823
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1824
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1825
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1826
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1830
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1831
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1832
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1833
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1827
1834
|
}) => boolean) | undefined;
|
|
1828
1835
|
afterCopyMethod?: ((params: {
|
|
1829
1836
|
isCut: boolean;
|
|
1830
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1831
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1832
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1837
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1838
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1839
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1833
1840
|
}) => boolean) | undefined;
|
|
1834
1841
|
cutMethod?: ((params: {
|
|
1835
|
-
row:
|
|
1836
|
-
column: VxeTableDefines.ColumnInfo
|
|
1842
|
+
row: VxeTableDataRow;
|
|
1843
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1837
1844
|
cellValue: any;
|
|
1838
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1839
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1845
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1846
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1840
1847
|
}) => void) | undefined;
|
|
1841
1848
|
beforeCutMethod?: ((params: {
|
|
1842
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1843
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1844
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1845
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1846
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1849
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1850
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1851
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1852
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1853
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1847
1854
|
}) => boolean) | undefined;
|
|
1848
1855
|
afterCutMethod?: ((params: {
|
|
1849
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1850
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1851
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1852
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1856
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1857
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1858
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1859
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1853
1860
|
}) => void) | undefined;
|
|
1854
1861
|
pasteMethod?: ((params: {
|
|
1855
1862
|
isCut: boolean;
|
|
1856
|
-
row:
|
|
1857
|
-
column: VxeTableDefines.ColumnInfo
|
|
1863
|
+
row: VxeTableDataRow;
|
|
1864
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1858
1865
|
cellValue: any;
|
|
1859
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1860
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1866
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1867
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1861
1868
|
}) => void) | undefined;
|
|
1862
1869
|
beforePasteMethod?: ((params: {
|
|
1863
1870
|
isCut: boolean;
|
|
1864
|
-
activeArea: VxeTableProDefines.MouseActiveCellArea
|
|
1865
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1866
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1867
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1871
|
+
activeArea: VxeTableProDefines.MouseActiveCellArea<VxeTableDataRow>;
|
|
1872
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1873
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1874
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1868
1875
|
cellValues: string[][];
|
|
1869
1876
|
pasteCells: string[][];
|
|
1870
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1871
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1877
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1878
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1872
1879
|
}) => boolean) | undefined;
|
|
1873
1880
|
afterPasteMethod?: ((params: {
|
|
1874
1881
|
isCut: boolean;
|
|
1875
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1876
|
-
cutAreas: VxeTableProDefines.CellAreaParams[];
|
|
1877
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1882
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1883
|
+
cutAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1884
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1878
1885
|
cellValues: any[][];
|
|
1879
1886
|
pasteCells: string[][];
|
|
1880
|
-
insertRows:
|
|
1881
|
-
insertColumns: VxeTableDefines.ColumnInfo[];
|
|
1882
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1883
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1887
|
+
insertRows: VxeTableDataRow[];
|
|
1888
|
+
insertColumns: VxeTableDefines.ColumnInfo<VxeTableDataRow>[];
|
|
1889
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1890
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1884
1891
|
}) => boolean) | undefined;
|
|
1885
1892
|
createRowsMethod?: ((params: {
|
|
1886
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1887
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1893
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1894
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1888
1895
|
cellValues: any[][];
|
|
1889
1896
|
pasteCells: string[][];
|
|
1890
|
-
insertRows:
|
|
1891
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1892
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1893
|
-
}) =>
|
|
1897
|
+
insertRows: VxeTableDataRow[];
|
|
1898
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1899
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1900
|
+
}) => VxeTableDataRow[]) | undefined;
|
|
1894
1901
|
createColumnsMethod?: ((params: {
|
|
1895
|
-
currentAreas: VxeTableProDefines.CellAreaParams[];
|
|
1896
|
-
targetAreas: VxeTableProDefines.CellAreaParams[];
|
|
1902
|
+
currentAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1903
|
+
targetAreas: VxeTableProDefines.CellAreaParams<VxeTableDataRow>[];
|
|
1897
1904
|
cellValues: any[][];
|
|
1898
1905
|
pasteCells: string[][];
|
|
1899
|
-
insertColumns: VxeTableDefines.ColumnOptions[];
|
|
1900
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1901
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1902
|
-
}) => VxeTableDefines.ColumnOptions[]) | undefined;
|
|
1906
|
+
insertColumns: VxeTableDefines.ColumnOptions<VxeTableDataRow>[];
|
|
1907
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1908
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1909
|
+
}) => VxeTableDefines.ColumnOptions<VxeTableDataRow>[]) | undefined;
|
|
1903
1910
|
} | undefined;
|
|
1904
1911
|
editConfig?: {
|
|
1905
|
-
trigger?: "" | "
|
|
1912
|
+
trigger?: "" | "click" | "manual" | "dblclick" | null | undefined;
|
|
1906
1913
|
enabled?: boolean | undefined;
|
|
1907
1914
|
mode?: string | undefined;
|
|
1908
1915
|
icon?: string | undefined;
|
|
@@ -1913,20 +1920,20 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1913
1920
|
showAsterisk?: boolean | undefined;
|
|
1914
1921
|
autoClear?: boolean | undefined;
|
|
1915
1922
|
beforeEditMethod?: ((params: {
|
|
1916
|
-
row:
|
|
1923
|
+
row: VxeTableDataRow;
|
|
1917
1924
|
rowIndex: number;
|
|
1918
|
-
column: VxeTableDefines.ColumnInfo
|
|
1925
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1919
1926
|
columnIndex: number;
|
|
1920
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1921
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1927
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1928
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1922
1929
|
}) => boolean) | undefined;
|
|
1923
1930
|
activeMethod?: ((params: {
|
|
1924
|
-
row:
|
|
1931
|
+
row: VxeTableDataRow;
|
|
1925
1932
|
rowIndex: number;
|
|
1926
|
-
column: VxeTableDefines.ColumnInfo
|
|
1933
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
1927
1934
|
columnIndex: number;
|
|
1928
|
-
$table: VxeTableConstructor & VxeTablePrivateMethods
|
|
1929
|
-
$grid: VxeGridConstructor | null | undefined;
|
|
1935
|
+
$table: VxeTableConstructor<VxeTableDataRow> & VxeTablePrivateMethods<VxeTableDataRow>;
|
|
1936
|
+
$grid: VxeGridConstructor<VxeTableDataRow> | null | undefined;
|
|
1930
1937
|
}) => boolean) | undefined;
|
|
1931
1938
|
} | undefined;
|
|
1932
1939
|
validConfig?: {
|
|
@@ -1935,7 +1942,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1935
1942
|
message?: string | undefined;
|
|
1936
1943
|
maxWidth?: number | undefined;
|
|
1937
1944
|
} | undefined;
|
|
1938
|
-
editRules?: VxeTablePropTypes.EditRules | undefined;
|
|
1945
|
+
editRules?: VxeTablePropTypes.EditRules<VxeTableDataRow> | undefined;
|
|
1939
1946
|
emptyText?: string | undefined;
|
|
1940
1947
|
emptyRender?: {
|
|
1941
1948
|
name?: string | undefined;
|
|
@@ -1977,16 +1984,16 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
1977
1984
|
columns?: {
|
|
1978
1985
|
children?: any[] | undefined;
|
|
1979
1986
|
slots?: {
|
|
1980
|
-
title?: string | ((params:
|
|
1981
|
-
radio?: string | ((params:
|
|
1982
|
-
checkbox?: string | ((params:
|
|
1983
|
-
default?: string | ((params:
|
|
1984
|
-
header?: string | ((params:
|
|
1985
|
-
footer?: string | ((params:
|
|
1986
|
-
content?: string | ((params:
|
|
1987
|
-
filter?: string | ((params:
|
|
1988
|
-
edit?: string | ((params:
|
|
1989
|
-
icon?: string | ((params:
|
|
1987
|
+
title?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1988
|
+
radio?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1989
|
+
checkbox?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1990
|
+
default?: string | ((params: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1991
|
+
header?: string | ((params: VxeColumnSlotTypes.HeaderSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1992
|
+
footer?: string | ((params: VxeColumnSlotTypes.FooterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1993
|
+
content?: string | ((params: VxeColumnSlotTypes.ContentSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1994
|
+
filter?: string | ((params: VxeColumnSlotTypes.FilterSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1995
|
+
edit?: string | ((params: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1996
|
+
icon?: string | ((params: VxeColumnSlotTypes.IconSlotParams<VxeTableDataRow>) => SlotVNodeType | SlotVNodeType[]) | null | undefined;
|
|
1990
1997
|
} | undefined;
|
|
1991
1998
|
colId?: VxeColumnPropTypes.ColId | undefined;
|
|
1992
1999
|
type?: VxeColumnPropTypes.Type | undefined;
|
|
@@ -2003,12 +2010,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2003
2010
|
showOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
2004
2011
|
showHeaderOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
2005
2012
|
showFooterOverflow?: VxeTablePropTypes.ShowOverflow | undefined;
|
|
2006
|
-
className?: VxeColumnPropTypes.ClassName | undefined;
|
|
2007
|
-
headerClassName?: VxeColumnPropTypes.HeaderClassName | undefined;
|
|
2008
|
-
footerClassName?: VxeColumnPropTypes.FooterClassName | undefined;
|
|
2009
|
-
formatter?: VxeColumnPropTypes.Formatter | undefined;
|
|
2013
|
+
className?: VxeColumnPropTypes.ClassName<VxeTableDataRow> | undefined;
|
|
2014
|
+
headerClassName?: VxeColumnPropTypes.HeaderClassName<VxeTableDataRow> | undefined;
|
|
2015
|
+
footerClassName?: VxeColumnPropTypes.FooterClassName<VxeTableDataRow> | undefined;
|
|
2016
|
+
formatter?: VxeColumnPropTypes.Formatter<VxeTableDataRow> | undefined;
|
|
2010
2017
|
sortable?: boolean | undefined;
|
|
2011
|
-
sortBy?: VxeColumnPropTypes.SortBy | undefined;
|
|
2018
|
+
sortBy?: VxeColumnPropTypes.SortBy<VxeTableDataRow> | undefined;
|
|
2012
2019
|
sortType?: VxeColumnPropTypes.SortType | undefined;
|
|
2013
2020
|
filters?: {
|
|
2014
2021
|
label?: string | number | undefined;
|
|
@@ -2018,7 +2025,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2018
2025
|
checked?: boolean | undefined;
|
|
2019
2026
|
}[] | undefined;
|
|
2020
2027
|
filterMultiple?: boolean | undefined;
|
|
2021
|
-
filterMethod?: VxeColumnPropTypes.FilterMethod | undefined;
|
|
2028
|
+
filterMethod?: VxeColumnPropTypes.FilterMethod<VxeTableDataRow> | undefined;
|
|
2022
2029
|
filterRender?: {
|
|
2023
2030
|
options?: any[] | undefined;
|
|
2024
2031
|
optionProps?: {
|
|
@@ -2048,8 +2055,8 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2048
2055
|
} | undefined;
|
|
2049
2056
|
treeNode?: boolean | undefined;
|
|
2050
2057
|
visible?: boolean | undefined;
|
|
2051
|
-
exportMethod?: VxeColumnPropTypes.ExportMethod | undefined;
|
|
2052
|
-
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod | undefined;
|
|
2058
|
+
exportMethod?: VxeColumnPropTypes.ExportMethod<VxeTableDataRow> | undefined;
|
|
2059
|
+
footerExportMethod?: VxeColumnPropTypes.FooterExportMethod<VxeTableDataRow> | undefined;
|
|
2053
2060
|
titleHelp?: {
|
|
2054
2061
|
useHTML?: boolean | undefined;
|
|
2055
2062
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -2069,7 +2076,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2069
2076
|
cellType?: VxeColumnPropTypes.CellType | undefined;
|
|
2070
2077
|
cellRender?: {
|
|
2071
2078
|
events?: {
|
|
2072
|
-
[key: string]: (cellParams:
|
|
2079
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2073
2080
|
} | undefined;
|
|
2074
2081
|
options?: any[] | undefined;
|
|
2075
2082
|
optionProps?: {
|
|
@@ -2096,7 +2103,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2096
2103
|
} | undefined;
|
|
2097
2104
|
editRender?: {
|
|
2098
2105
|
events?: {
|
|
2099
|
-
[key: string]: (cellParams:
|
|
2106
|
+
[key: string]: (cellParams: VxeColumnSlotTypes.EditSlotParams<VxeTableDataRow>, ...args: any[]) => any;
|
|
2100
2107
|
} | undefined;
|
|
2101
2108
|
enabled?: boolean | undefined;
|
|
2102
2109
|
options?: any[] | undefined;
|
|
@@ -2114,7 +2121,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2114
2121
|
autofocus?: string | undefined;
|
|
2115
2122
|
autoselect?: boolean | undefined;
|
|
2116
2123
|
defaultValue?: string | number | object | any[] | ((params: {
|
|
2117
|
-
column: VxeTableDefines.ColumnInfo
|
|
2124
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
2118
2125
|
}) => any) | {
|
|
2119
2126
|
exec: (string: string) => RegExpExecArray | null;
|
|
2120
2127
|
test: (string: string) => boolean;
|
|
@@ -2244,7 +2251,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2244
2251
|
enabled?: boolean | undefined;
|
|
2245
2252
|
slots?: any;
|
|
2246
2253
|
size?: SizeType | undefined;
|
|
2247
|
-
layouts?: ("PrevJump" | "PrevPage" | "
|
|
2254
|
+
layouts?: ("PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
|
|
2248
2255
|
currentPage?: number | undefined;
|
|
2249
2256
|
loading?: boolean | undefined;
|
|
2250
2257
|
pageSize?: number | undefined;
|
|
@@ -2283,15 +2290,14 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2283
2290
|
message?: string | undefined;
|
|
2284
2291
|
} | undefined;
|
|
2285
2292
|
ajax?: {
|
|
2286
|
-
query?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams
|
|
2287
|
-
queryAll?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams
|
|
2288
|
-
delete?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams
|
|
2289
|
-
save?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams
|
|
2293
|
+
query?: ((params: VxeGridPropTypes.ProxyAjaxQueryParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2294
|
+
queryAll?: ((params: VxeGridPropTypes.ProxyAjaxQueryAllParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2295
|
+
delete?: ((params: VxeGridPropTypes.ProxyAjaxDeleteParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2296
|
+
save?: ((params: VxeGridPropTypes.ProxyAjaxSaveParams<VxeTableDataRow>, ...args: any[]) => Promise<any>) | undefined;
|
|
2290
2297
|
} | undefined;
|
|
2291
2298
|
} | undefined;
|
|
2292
2299
|
toolbarConfig?: {
|
|
2293
2300
|
enabled?: boolean | undefined;
|
|
2294
|
-
buttons?: any[] | undefined;
|
|
2295
2301
|
zoom?: boolean | {
|
|
2296
2302
|
escRestore?: boolean | undefined;
|
|
2297
2303
|
iconIn?: string | undefined;
|
|
@@ -2318,7 +2324,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2318
2324
|
refresh?: boolean | {
|
|
2319
2325
|
queryMethod?: ((params: {
|
|
2320
2326
|
[key: string]: any;
|
|
2321
|
-
}) =>
|
|
2327
|
+
}) => any) | undefined;
|
|
2322
2328
|
code?: "" | "query" | "reload" | null | undefined;
|
|
2323
2329
|
icon?: string | undefined;
|
|
2324
2330
|
iconLoading?: string | undefined;
|
|
@@ -2340,11 +2346,45 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2340
2346
|
immediate?: boolean | undefined;
|
|
2341
2347
|
storage?: boolean | undefined;
|
|
2342
2348
|
checkMethod?: ((params: {
|
|
2343
|
-
column: VxeTableDefines.ColumnInfo
|
|
2349
|
+
column: VxeTableDefines.ColumnInfo<VxeTableDataRow>;
|
|
2344
2350
|
}) => boolean) | undefined;
|
|
2345
2351
|
isFooter?: boolean | undefined;
|
|
2346
2352
|
icon?: string | undefined;
|
|
2347
2353
|
} | undefined;
|
|
2354
|
+
buttons?: {
|
|
2355
|
+
dropdowns?: any[] | undefined;
|
|
2356
|
+
buttonRender?: {
|
|
2357
|
+
name?: string | undefined;
|
|
2358
|
+
props?: {
|
|
2359
|
+
[key: string]: any;
|
|
2360
|
+
} | undefined;
|
|
2361
|
+
attrs?: {
|
|
2362
|
+
[key: string]: any;
|
|
2363
|
+
} | undefined;
|
|
2364
|
+
events?: {
|
|
2365
|
+
[key: string]: (...args: any[]) => any;
|
|
2366
|
+
} | undefined;
|
|
2367
|
+
children?: any[] | undefined;
|
|
2368
|
+
cellType?: "string" | "number" | undefined;
|
|
2369
|
+
} | undefined;
|
|
2370
|
+
code?: string | undefined;
|
|
2371
|
+
visible?: boolean | undefined;
|
|
2372
|
+
params?: any;
|
|
2373
|
+
size?: SizeType | undefined;
|
|
2374
|
+
type?: string | undefined;
|
|
2375
|
+
className?: string | undefined;
|
|
2376
|
+
name?: VxeButtonPropTypes.Name | undefined;
|
|
2377
|
+
content?: string | undefined;
|
|
2378
|
+
placement?: string | undefined;
|
|
2379
|
+
status?: string | undefined;
|
|
2380
|
+
icon?: string | undefined;
|
|
2381
|
+
round?: boolean | undefined;
|
|
2382
|
+
circle?: boolean | undefined;
|
|
2383
|
+
disabled?: boolean | undefined;
|
|
2384
|
+
loading?: boolean | undefined;
|
|
2385
|
+
destroyOnClose?: boolean | undefined;
|
|
2386
|
+
transfer?: boolean | undefined;
|
|
2387
|
+
}[] | undefined;
|
|
2348
2388
|
tools?: {
|
|
2349
2389
|
dropdowns?: any[] | undefined;
|
|
2350
2390
|
toolRender?: {
|
|
@@ -2393,7 +2433,12 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2393
2433
|
titleWidth?: VxeFormPropTypes.TitleWidth | undefined;
|
|
2394
2434
|
titleColon?: boolean | undefined;
|
|
2395
2435
|
titleAsterisk?: boolean | undefined;
|
|
2436
|
+
showTitle?: boolean | undefined;
|
|
2396
2437
|
className?: VxeFormItemPropTypes.ClassName | undefined;
|
|
2438
|
+
contentClassName?: VxeFormItemPropTypes.ContentClassName | undefined;
|
|
2439
|
+
contentStyle?: VxeFormItemPropTypes.ContentStyle | undefined;
|
|
2440
|
+
titleClassName?: VxeFormItemPropTypes.TitleClassName | undefined;
|
|
2441
|
+
titleStyle?: VxeFormItemPropTypes.TitleStyle | undefined;
|
|
2397
2442
|
titlePrefix?: {
|
|
2398
2443
|
useHTML?: boolean | undefined;
|
|
2399
2444
|
content?: VxeTooltipPropTypes.Content | undefined;
|
|
@@ -2430,7 +2475,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2430
2475
|
key?: string | undefined;
|
|
2431
2476
|
} | undefined;
|
|
2432
2477
|
content?: string | undefined;
|
|
2433
|
-
autofocus?:
|
|
2478
|
+
autofocus?: string | undefined;
|
|
2434
2479
|
defaultValue?: string | number | object | any[] | {
|
|
2435
2480
|
exec: (string: string) => RegExpExecArray | null;
|
|
2436
2481
|
test: (string: string) => boolean;
|
|
@@ -2575,8 +2620,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2575
2620
|
};
|
|
2576
2621
|
pageData: Ref<RecordStringNumber>;
|
|
2577
2622
|
handleDeleteRow: (btn: PageButtonWithGroupCode) => void;
|
|
2578
|
-
|
|
2579
|
-
computedColumns: ComputedRef<VxeGridPropTypes.Columns>;
|
|
2623
|
+
computedColumns: ComputedRef<VxeGridPropTypes.Columns<VxeTableDataRow>>;
|
|
2580
2624
|
editRules: ComputedRef<ruleItem>;
|
|
2581
2625
|
shake: Ref<boolean>;
|
|
2582
2626
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
@@ -2613,7 +2657,7 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2613
2657
|
readonly default: () => {};
|
|
2614
2658
|
};
|
|
2615
2659
|
readonly vxeGridConfig: {
|
|
2616
|
-
readonly type: PropType<VxeGridProps<
|
|
2660
|
+
readonly type: PropType<VxeGridProps<VxeTableDataRow>>;
|
|
2617
2661
|
readonly default: () => {};
|
|
2618
2662
|
};
|
|
2619
2663
|
readonly shake: {
|
|
@@ -2621,15 +2665,15 @@ declare const _default: SFCWithInstall<DefineComponent<{
|
|
|
2621
2665
|
readonly default: true;
|
|
2622
2666
|
};
|
|
2623
2667
|
}>>, {
|
|
2624
|
-
readonly vxeGridConfig: VxeGridProps<any>;
|
|
2625
|
-
readonly extend: Record<string, any>;
|
|
2626
|
-
readonly groupCode: string;
|
|
2627
2668
|
readonly columns: ColumnItem[];
|
|
2669
|
+
readonly buttons: PageButton[];
|
|
2670
|
+
readonly extend: Record<string, any>;
|
|
2628
2671
|
readonly groupName: string;
|
|
2629
2672
|
readonly groupNameI18nKey: string;
|
|
2673
|
+
readonly groupCode: string;
|
|
2630
2674
|
readonly groupType: string;
|
|
2631
2675
|
readonly sortOrder: string;
|
|
2632
|
-
readonly buttons: PageButton[];
|
|
2633
2676
|
readonly shake: boolean;
|
|
2634
|
-
|
|
2677
|
+
readonly vxeGridConfig: VxeGridProps<VxeTableDataRow>;
|
|
2678
|
+
}, {}>>;
|
|
2635
2679
|
export default _default;
|