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