@dazhicheng/ui 1.6.25 → 1.6.26
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/components/tt-api-component/index.d.ts +35 -24
- package/dist/components/tt-api-component/index.vue.d.ts +34 -0
- package/dist/components/tt-area/TtArea.vue.d.ts +2 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.vue.d.ts +2 -0
- package/dist/components/tt-button/index.d.ts +589 -260
- package/dist/components/tt-button/index.vue.d.ts +466 -0
- package/dist/components/tt-checkbox/index.d.ts +35 -26
- package/dist/components/tt-checkbox/index.vue.d.ts +28 -0
- package/dist/components/tt-drawer/index.d.ts +299 -306
- package/dist/components/tt-drawer/src/{RenderDrawer.d.ts → RenderDrawer.vue.d.ts} +146 -149
- package/dist/components/tt-drawer/src/components/{DrawerFooter.d.ts → DrawerFooter.vue.d.ts} +16 -18
- package/dist/components/tt-drawer/src/components/{DrawerHeader.d.ts → DrawerHeader.vue.d.ts} +3 -4
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +2 -4
- package/dist/components/tt-empty/index.d.ts +8 -10
- package/dist/components/tt-form/src/components/{ExpandableArrow.d.ts → ExpandableArrow.vue.d.ts} +4 -5
- package/dist/components/tt-form/src/components/{FormActions.d.ts → FormActions.vue.d.ts} +5 -6
- package/dist/components/tt-form/src/components/{FormElInput.d.ts → FormElInput.vue.d.ts} +101 -105
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.d.ts → FormControl.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormDescription.d.ts → FormDescription.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormItem.d.ts → FormItem.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{FormLabel.d.ts → FormLabel.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +2 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +8 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.d.ts → FormWarnMessage.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form/{RenderContent.d.ts → RenderContent.vue.d.ts} +4 -4
- package/dist/components/tt-form/src/form/index.d.ts +8 -8
- package/dist/components/tt-form/src/form/useFormField.d.ts +5 -6
- package/dist/components/tt-form/src/form-render/{FormField.d.ts → FormField.vue.d.ts} +1 -2
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.d.ts → FormLabel.vue.d.ts} +2 -3
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +11 -14
- package/dist/components/tt-form/src/form-render/context.d.ts +4 -5
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +6 -7
- package/dist/components/tt-form/src/form-render/expandable.d.ts +3 -4
- package/dist/components/tt-form/src/form-render/{form.d.ts → form.vue.d.ts} +8 -9
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
- package/dist/components/tt-form/src/formApi.d.ts +3 -3
- package/dist/components/tt-form/src/group-form/{GroupForm.d.ts → GroupForm.vue.d.ts} +5 -7
- package/dist/components/tt-form/src/group-form/{GroupSection.d.ts → GroupSection.vue.d.ts} +5 -7
- package/dist/components/tt-form/src/group-form/{LazyFormField.d.ts → LazyFormField.vue.d.ts} +3 -5
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +5 -7
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +2 -3
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
- package/dist/components/tt-form/src/index.vue.d.ts +216 -0
- package/dist/components/tt-form/src/useForm.d.ts +1 -2
- package/dist/components/tt-form/src/useFormContext.d.ts +1 -2
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +337 -61
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +298 -0
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/index.d.ts +115 -24
- package/dist/components/tt-icon/index.vue.d.ts +32 -0
- package/dist/components/tt-image/index.d.ts +41 -45
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +26 -30
- package/dist/components/tt-image/tt-image.d.ts +34 -36
- package/dist/components/tt-loading/index.d.ts +2 -5
- package/dist/components/tt-loading/src/loading.vue.d.ts +12 -0
- package/dist/components/tt-log/index.d.ts +6 -7
- package/dist/components/tt-log/index.vue.d.ts +5 -0
- package/dist/components/tt-modal/index.d.ts +364 -371
- package/dist/components/tt-modal/src/{RenderModal.d.ts → RenderModal.vue.d.ts} +115 -118
- package/dist/components/tt-modal/src/components/{ModalFooter.d.ts → ModalFooter.vue.d.ts} +23 -26
- package/dist/components/tt-modal/src/components/{ModalHeader.d.ts → ModalHeader.vue.d.ts} +3 -4
- package/dist/components/tt-modal/src/components/{ModalWrapper.d.ts → ModalWrapper.vue.d.ts} +24 -27
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +29 -32
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +1 -2
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +2 -3
- package/dist/components/tt-modal-form/index.d.ts +2 -46
- package/dist/components/tt-modal-form/index.vue.d.ts +45 -0
- package/dist/components/tt-modal-form/useModalForm.d.ts +3 -4
- package/dist/components/tt-nav-anchor/index.d.ts +12 -15
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.d.ts → TtNavAnchor.vue.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.d.ts → PanelLeft.vue.d.ts} +3 -4
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.d.ts → PanelMiddle.vue.d.ts} +80 -83
- package/dist/components/tt-panel-select/src/components/{PanelRight.d.ts → PanelRight.vue.d.ts} +32 -34
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +6 -7
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.d.ts → index.vue.d.ts} +80 -84
- package/dist/components/tt-radio-group/index.d.ts +50 -31
- package/dist/components/tt-radio-group/index.vue.d.ts +33 -0
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.d.ts → Select.vue.d.ts} +141 -146
- package/dist/components/tt-select/src/components/{SelectTable.d.ts → SelectTable.vue.d.ts} +36 -40
- package/dist/components/tt-select/src/components/{Table.d.ts → Table.vue.d.ts} +38 -41
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +3 -4
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +279 -287
- package/dist/components/tt-table/src/{Table.d.ts → Table.vue.d.ts} +204 -209
- package/dist/components/tt-table/src/{TableForm.d.ts → TableForm.vue.d.ts} +80 -83
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.d.ts → TableAction.vue.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.d.ts → TableColumnModal.vue.d.ts} +4 -5
- package/dist/components/tt-table/src/components/{TableToolbarTools.d.ts → TableToolbarTools.vue.d.ts} +6 -7
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +44 -45
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +110 -112
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +17 -19
- package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +1 -2
- package/dist/components/tt-text/index.d.ts +59 -34
- package/dist/components/tt-text/index.vue.d.ts +50 -0
- package/dist/components/tt-upload/index.d.ts +311 -317
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +517 -0
- package/dist/components/tt-upload/src/typing.d.ts +47 -49
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +1 -2
- package/package.json +3 -3
- package/dist/components/tt-area/TtArea.d.ts +0 -3
- package/dist/components/tt-button/components/AddButton.d.ts +0 -3
- package/dist/components/tt-form/src/form/FormMessage.d.ts +0 -3
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +0 -9
- package/dist/components/tt-form/src/index.d.ts +0 -217
- package/dist/components/tt-icon/components/AddIcon.d.ts +0 -8
- package/dist/components/tt-icon/components/SubIcon.d.ts +0 -8
- package/dist/components/tt-loading/src/loading.d.ts +0 -13
- package/dist/components/tt-upload/src/TtUpload.d.ts +0 -519
|
@@ -2,7 +2,6 @@ import { ComputedRef, Ref } from 'vue';
|
|
|
2
2
|
import { VxeGridDefines, VxeGridInstance, VxeGridPropTypes, VxeTableDefines, VxeTablePropTypes } from 'vxe-table';
|
|
3
3
|
import { Recordable } from '../../../../../../utils/src';
|
|
4
4
|
import { TtTableProps } from '../types/table';
|
|
5
|
-
import { VxeComponentSlotType } from 'vxe-pc-ui';
|
|
6
5
|
/** 表格列配置类型 */
|
|
7
6
|
type ColumnOptions = VxeTableDefines.ColumnOptions;
|
|
8
7
|
type ColumnsEmit = {
|
|
@@ -24,28 +23,28 @@ export declare function useColumns(propsRef: ComputedRef<TtTableProps>, grid: Re
|
|
|
24
23
|
children?: {
|
|
25
24
|
children?: /*elided*/ any[] | undefined;
|
|
26
25
|
slots?: {
|
|
27
|
-
title?: string | ((params: import("vxe-table").VxeColumnSlotTypes.TitleSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
28
|
-
sort?: string | ((params: import("vxe-table").VxeColumnSlotTypes.SortSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
29
|
-
radio?: string | ((params: import("vxe-table").VxeColumnSlotTypes.RadioSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
30
|
-
checkbox?: string | ((params: import("vxe-table").VxeColumnSlotTypes.CheckboxSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
31
|
-
default?: string | ((params: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
32
|
-
header?: string | ((params: import("vxe-table").VxeColumnSlotTypes.HeaderSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
33
|
-
footer?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FooterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
34
|
-
content?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
35
|
-
filter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
36
|
-
floatingFilter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
37
|
-
'floating-filter'?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
38
|
-
edit?: string | ((params: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
39
|
-
valid?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ValidSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
40
|
-
rowDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
41
|
-
'row-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
42
|
-
columnDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
43
|
-
'column-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
44
|
-
groupContent?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
45
|
-
'group-content'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
46
|
-
groupValues?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
47
|
-
'group-values'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
48
|
-
icon?: string | ((params: import("vxe-table").VxeColumnSlotTypes.IconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
26
|
+
title?: string | ((params: import("vxe-table").VxeColumnSlotTypes.TitleSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
27
|
+
sort?: string | ((params: import("vxe-table").VxeColumnSlotTypes.SortSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
28
|
+
radio?: string | ((params: import("vxe-table").VxeColumnSlotTypes.RadioSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
29
|
+
checkbox?: string | ((params: import("vxe-table").VxeColumnSlotTypes.CheckboxSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
30
|
+
default?: string | ((params: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
31
|
+
header?: string | ((params: import("vxe-table").VxeColumnSlotTypes.HeaderSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
32
|
+
footer?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FooterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
33
|
+
content?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
34
|
+
filter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
35
|
+
floatingFilter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
36
|
+
'floating-filter'?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
37
|
+
edit?: string | ((params: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
38
|
+
valid?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ValidSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
39
|
+
rowDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
40
|
+
'row-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
41
|
+
columnDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
42
|
+
'column-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
43
|
+
groupContent?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
44
|
+
'group-content'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
45
|
+
groupValues?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
46
|
+
'group-values'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
47
|
+
icon?: string | ((params: import("vxe-table").VxeColumnSlotTypes.IconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
49
48
|
} | undefined;
|
|
50
49
|
colId?: import("vxe-table").VxeColumnPropTypes.ColId | undefined;
|
|
51
50
|
type?: import("vxe-table").VxeColumnPropTypes.Type | undefined;
|
|
@@ -266,28 +265,28 @@ export declare function useColumns(propsRef: ComputedRef<TtTableProps>, grid: Re
|
|
|
266
265
|
params?: import("vxe-table").VxeColumnPropTypes.Params;
|
|
267
266
|
}[] | undefined;
|
|
268
267
|
slots?: {
|
|
269
|
-
title?: string | ((params: import("vxe-table").VxeColumnSlotTypes.TitleSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
270
|
-
sort?: string | ((params: import("vxe-table").VxeColumnSlotTypes.SortSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
271
|
-
radio?: string | ((params: import("vxe-table").VxeColumnSlotTypes.RadioSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
272
|
-
checkbox?: string | ((params: import("vxe-table").VxeColumnSlotTypes.CheckboxSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
273
|
-
default?: string | ((params: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
274
|
-
header?: string | ((params: import("vxe-table").VxeColumnSlotTypes.HeaderSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
275
|
-
footer?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FooterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
276
|
-
content?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
277
|
-
filter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
278
|
-
floatingFilter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
279
|
-
'floating-filter'?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
280
|
-
edit?: string | ((params: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
281
|
-
valid?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ValidSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
282
|
-
rowDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
283
|
-
'row-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
284
|
-
columnDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
285
|
-
'column-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
286
|
-
groupContent?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
287
|
-
'group-content'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
288
|
-
groupValues?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
289
|
-
'group-values'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
290
|
-
icon?: string | ((params: import("vxe-table").VxeColumnSlotTypes.IconSlotParams<any>) => VxeComponentSlotType[] | VxeComponentSlotType) | null | undefined;
|
|
268
|
+
title?: string | ((params: import("vxe-table").VxeColumnSlotTypes.TitleSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
269
|
+
sort?: string | ((params: import("vxe-table").VxeColumnSlotTypes.SortSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
270
|
+
radio?: string | ((params: import("vxe-table").VxeColumnSlotTypes.RadioSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
271
|
+
checkbox?: string | ((params: import("vxe-table").VxeColumnSlotTypes.CheckboxSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
272
|
+
default?: string | ((params: import("vxe-table").VxeColumnSlotTypes.DefaultSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
273
|
+
header?: string | ((params: import("vxe-table").VxeColumnSlotTypes.HeaderSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
274
|
+
footer?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FooterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
275
|
+
content?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
276
|
+
filter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
277
|
+
floatingFilter?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
278
|
+
'floating-filter'?: string | ((params: import("vxe-table").VxeColumnSlotTypes.FloatingFilterSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
279
|
+
edit?: string | ((params: import("vxe-table").VxeColumnSlotTypes.EditSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
280
|
+
valid?: string | ((params: import("vxe-table").VxeColumnSlotTypes.ValidSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
281
|
+
rowDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
282
|
+
'row-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.RowDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
283
|
+
columnDragIcon?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
284
|
+
'column-drag-icon'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnDragIconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
285
|
+
groupContent?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
286
|
+
'group-content'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupContentSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
287
|
+
groupValues?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
288
|
+
'group-values'?: string | ((params: import("vxe-table").VxeTableSlotTypes.ColumnGroupValuesSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
289
|
+
icon?: string | ((params: import("vxe-table").VxeColumnSlotTypes.IconSlotParams<any>) => import('vxe-pc-ui').VxeComponentSlotType[] | import('vxe-pc-ui').VxeComponentSlotType) | null | undefined;
|
|
291
290
|
} | undefined;
|
|
292
291
|
colId?: import("vxe-table").VxeColumnPropTypes.ColId | undefined;
|
|
293
292
|
type?: import("vxe-table").VxeColumnPropTypes.Type | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComputedRef
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
2
|
import { VxeGridPropTypes } from 'vxe-table';
|
|
3
|
-
import { VxePagerDefines, VxePagerEvents
|
|
3
|
+
import { VxePagerDefines, VxePagerEvents } from 'vxe-pc-ui';
|
|
4
4
|
import { TtTableProps } from '../types/table';
|
|
5
5
|
/** 分页配置类型 */
|
|
6
6
|
type PagerConfig = VxeGridPropTypes.PagerConfig;
|
|
@@ -10,24 +10,24 @@ type PagerConfig = VxeGridPropTypes.PagerConfig;
|
|
|
10
10
|
* @param emit 组件 emit
|
|
11
11
|
*/
|
|
12
12
|
export declare function usePagination(propsRef: ComputedRef<TtTableProps>, emit: (event: "page-change", data: any) => void): {
|
|
13
|
-
pagination: Ref<{
|
|
13
|
+
pagination: import('vue').Ref<{
|
|
14
14
|
enabled?: boolean | undefined;
|
|
15
15
|
slots?: {
|
|
16
|
-
left?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.LeftSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
17
|
-
right?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.RightSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
18
|
-
home?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.HomeSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
19
|
-
prevPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevPageSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
20
|
-
prevJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
21
|
-
nextJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
22
|
-
nextPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextPageSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
23
|
-
end?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.EndSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
24
|
-
number?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
25
|
-
numberJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
26
|
-
sizes?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.SizesSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
27
|
-
fullJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
28
|
-
jump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
29
|
-
pageCount?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PageCountSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
30
|
-
total?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.TotalSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
16
|
+
left?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.LeftSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
17
|
+
right?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.RightSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
18
|
+
home?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.HomeSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
19
|
+
prevPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevPageSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
20
|
+
prevJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
21
|
+
nextJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
22
|
+
nextPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextPageSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
23
|
+
end?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.EndSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
24
|
+
number?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
25
|
+
numberJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
26
|
+
sizes?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.SizesSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
27
|
+
fullJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
28
|
+
jump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
29
|
+
pageCount?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PageCountSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
30
|
+
total?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.TotalSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
31
31
|
} | undefined;
|
|
32
32
|
size?: import("vxe-pc-ui").VxePagerPropTypes.Size | undefined;
|
|
33
33
|
layouts?: ("Home" | "PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "End" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
|
|
@@ -58,21 +58,21 @@ export declare function usePagination(propsRef: ComputedRef<TtTableProps>, emit:
|
|
|
58
58
|
}, VxeGridPropTypes.PagerConfig | {
|
|
59
59
|
enabled?: boolean | undefined;
|
|
60
60
|
slots?: {
|
|
61
|
-
left?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.LeftSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
62
|
-
right?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.RightSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
63
|
-
home?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.HomeSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
64
|
-
prevPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevPageSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
65
|
-
prevJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
66
|
-
nextJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
67
|
-
nextPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextPageSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
68
|
-
end?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.EndSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
69
|
-
number?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
70
|
-
numberJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
71
|
-
sizes?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.SizesSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
72
|
-
fullJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
73
|
-
jump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
74
|
-
pageCount?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PageCountSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
75
|
-
total?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.TotalSlotParams) => VxeComponentSlotType | VxeComponentSlotType[]) | undefined;
|
|
61
|
+
left?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.LeftSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
62
|
+
right?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.RightSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
63
|
+
home?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.HomeSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
64
|
+
prevPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevPageSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
65
|
+
prevJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PrevJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
66
|
+
nextJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
67
|
+
nextPage?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NextPageSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
68
|
+
end?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.EndSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
69
|
+
number?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
70
|
+
numberJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.NumberJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
71
|
+
sizes?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.SizesSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
72
|
+
fullJump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
73
|
+
jump?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.FullJumpSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
74
|
+
pageCount?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.PageCountSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
75
|
+
total?: string | ((params: import("vxe-pc-ui").VxePagerSlotTypes.TotalSlotParams) => import('vxe-pc-ui').VxeComponentSlotType | import('vxe-pc-ui').VxeComponentSlotType[]) | undefined;
|
|
76
76
|
} | undefined;
|
|
77
77
|
size?: import("vxe-pc-ui").VxePagerPropTypes.Size | undefined;
|
|
78
78
|
layouts?: ("Home" | "PrevJump" | "PrevPage" | "Number" | "JumpNumber" | "NextPage" | "NextJump" | "End" | "Sizes" | "Jump" | "FullJump" | "PageCount" | "Total")[] | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef, Ref
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { VxeGridInstance, VxeGridPropTypes } from 'vxe-table';
|
|
3
3
|
import { Recordable } from '../../../../../../utils/src';
|
|
4
4
|
import { FetchParams, TtTableProps } from '../types/table';
|
|
@@ -36,6 +36,6 @@ export declare function useQuery(propsRef: ComputedRef<TtTableProps>, ctx: Query
|
|
|
36
36
|
query: (opt: FetchParams) => Promise<void>;
|
|
37
37
|
reload: (opt?: FetchParams) => Promise<void>;
|
|
38
38
|
reloadFilter: (type?: "sort" | "filter" | "page") => Promise<void>;
|
|
39
|
-
isLoaded: ShallowRef<boolean, boolean>;
|
|
39
|
+
isLoaded: import('vue').ShallowRef<boolean, boolean>;
|
|
40
40
|
};
|
|
41
41
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef, Ref
|
|
1
|
+
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { VxeGridDefines, VxeGridEvents, VxeGridInstance, VxeTableExtendCellAreaDefines } from 'vxe-table';
|
|
3
3
|
import { Recordable } from '../../../../../../utils/src';
|
|
4
4
|
import { TtSelectRowKeysType, TtSelectRowsType, TtTableProps, TtTableSelectionPayload } from '../types/table';
|
|
@@ -27,7 +27,7 @@ type RowSelectionIdentity = {
|
|
|
27
27
|
*/
|
|
28
28
|
export declare function useRowSelection(propsRef: ComputedRef<TtTableProps>, grid: Ref<undefined | VxeGridInstance<Recordable>>, emit: SelectionEmit, identity: RowSelectionIdentity): {
|
|
29
29
|
selectedKeys: Ref<any, any>;
|
|
30
|
-
selectedRows: ShallowRef<any, any>;
|
|
30
|
+
selectedRows: import('vue').ShallowRef<any, any>;
|
|
31
31
|
selectedKeyList: ComputedRef<(string | number)[]>;
|
|
32
32
|
getSelectRowKeys: () => any;
|
|
33
33
|
getSelectRows: () => TtSelectRowsType;
|