@dazhicheng/ui 1.5.30 → 1.5.32
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-NG5FNCLD.js → index-CMjNBMj5.js} +3 -2
- package/dist/index.js +384 -342
- package/dist/{index.modern-DfItAsVf.js → index.modern-BfZxYaPy.js} +1 -1
- package/dist/plugins.js +30 -29
- package/package.json +1 -1
- package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
- package/dist/components/tt-area/index.d.ts +0 -1
- package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
- package/dist/components/tt-button/index.d.ts +0 -1740
- package/dist/components/tt-button/index.vue.d.ts +0 -1004
- package/dist/components/tt-checkbox/index.d.ts +0 -36
- package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
- package/dist/components/tt-checkbox/type.d.ts +0 -9
- package/dist/components/tt-drawer/index.d.ts +0 -3703
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +0 -2121
- package/dist/components/tt-drawer/src/components/DrawerFooter.vue.d.ts +0 -94
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue.d.ts +0 -27
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +0 -10
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +0 -9
- package/dist/components/tt-drawer/src/index.d.ts +0 -10
- package/dist/components/tt-drawer/src/props.d.ts +0 -99
- package/dist/components/tt-drawer/src/typing.d.ts +0 -154
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +0 -87
- package/dist/components/tt-empty/index.d.ts +0 -18
- package/dist/components/tt-form/index.d.ts +0 -13
- package/dist/components/tt-form/src/components/ExpandableArrow.vue.d.ts +0 -33
- package/dist/components/tt-form/src/components/FormActions.vue.d.ts +0 -34
- package/dist/components/tt-form/src/components/Slot.d.ts +0 -7
- package/dist/components/tt-form/src/config.d.ts +0 -6
- package/dist/components/tt-form/src/form/FormControl.vue.d.ts +0 -19
- package/dist/components/tt-form/src/form/FormDescription.vue.d.ts +0 -23
- package/dist/components/tt-form/src/form/FormItem.vue.d.ts +0 -23
- package/dist/components/tt-form/src/form/FormLabel.vue.d.ts +0 -23
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
- package/dist/components/tt-form/src/form/FormWarnMessage.vue.d.ts +0 -25
- package/dist/components/tt-form/src/form/RenderContent.vue.d.ts +0 -23
- package/dist/components/tt-form/src/form/index.d.ts +0 -10
- package/dist/components/tt-form/src/form/injectionKeys.d.ts +0 -2
- package/dist/components/tt-form/src/form/useFormField.d.ts +0 -11
- package/dist/components/tt-form/src/form-render/FormField.vue.d.ts +0 -28
- package/dist/components/tt-form/src/form-render/FormLabel.vue.d.ts +0 -27
- package/dist/components/tt-form/src/form-render/context.d.ts +0 -7
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +0 -361
- package/dist/components/tt-form/src/form-render/expandable.d.ts +0 -9
- package/dist/components/tt-form/src/form-render/form.vue.d.ts +0 -38
- package/dist/components/tt-form/src/form-render/helper.d.ts +0 -11
- package/dist/components/tt-form/src/form-render/index.d.ts +0 -3
- package/dist/components/tt-form/src/formApi.d.ts +0 -71
- package/dist/components/tt-form/src/hooks/useEmitAsProps.d.ts +0 -7
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +0 -14
- package/dist/components/tt-form/src/hooks/useForwardPriorityValues.d.ts +0 -14
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +0 -7
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +0 -8
- package/dist/components/tt-form/src/index.vue.d.ts +0 -27
- package/dist/components/tt-form/src/shared/createContext.d.ts +0 -8
- package/dist/components/tt-form/src/shared/global-state.d.ts +0 -17
- package/dist/components/tt-form/src/shared/store.d.ts +0 -1
- package/dist/components/tt-form/src/shared/zod-defaults.d.ts +0 -54
- package/dist/components/tt-form/src/types/common.d.ts +0 -11
- package/dist/components/tt-form/src/types/forms.d.ts +0 -280
- package/dist/components/tt-form/src/types/index.d.ts +0 -3
- package/dist/components/tt-form/src/types/paths.d.ts +0 -142
- package/dist/components/tt-form/src/types/shared.d.ts +0 -19
- package/dist/components/tt-form/src/types.d.ts +0 -385
- package/dist/components/tt-form/src/useForm.d.ts +0 -2
- package/dist/components/tt-form/src/useFormContext.d.ts +0 -12
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +0 -1549
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -784
- package/dist/components/tt-icon/index.d.ts +0 -76
- package/dist/components/tt-icon/index.vue.d.ts +0 -32
- package/dist/components/tt-image/index.d.ts +0 -127
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +0 -89
- package/dist/components/tt-image/tt-image.d.ts +0 -126
- package/dist/components/tt-loading/index.d.ts +0 -16
- package/dist/components/tt-loading/src/directive.d.ts +0 -9
- package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
- package/dist/components/tt-loading/src/service.d.ts +0 -25
- package/dist/components/tt-loading/src/type.d.ts +0 -20
- package/dist/components/tt-modal/index.d.ts +0 -1809
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +0 -1008
- package/dist/components/tt-modal/src/components/ModalFooter.vue.d.ts +0 -210
- package/dist/components/tt-modal/src/components/ModalHeader.vue.d.ts +0 -31
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +0 -224
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +0 -110
- package/dist/components/tt-modal/src/index.d.ts +0 -5
- package/dist/components/tt-modal/src/props.d.ts +0 -161
- package/dist/components/tt-modal/src/typing.d.ts +0 -188
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +0 -97
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +0 -6
- package/dist/components/tt-modal-form/index.d.ts +0 -2
- package/dist/components/tt-modal-form/index.vue.d.ts +0 -43
- package/dist/components/tt-modal-form/props.d.ts +0 -38
- package/dist/components/tt-modal-form/useModalForm.d.ts +0 -6
- package/dist/components/tt-select/index.d.ts +0 -7
- package/dist/components/tt-select/src/Select.vue.d.ts +0 -861
- package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +0 -111
- package/dist/components/tt-select/src/components/Table.vue.d.ts +0 -250
- package/dist/components/tt-select/src/const.d.ts +0 -16
- package/dist/components/tt-select/src/hooks/useDataSource.d.ts +0 -115
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +0 -32
- package/dist/components/tt-select/src/hooks/useKeyboard.d.ts +0 -59
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +0 -16
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +0 -87
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +0 -178
- package/dist/components/tt-select/src/props.d.ts +0 -190
- package/dist/components/tt-select/src/types/index.d.ts +0 -142
- package/dist/components/tt-select/src/utils/index.d.ts +0 -9
- package/dist/components/tt-table/index.d.ts +0 -127
- package/dist/components/tt-table/src/Table.vue.d.ts +0 -1685
- package/dist/components/tt-table/src/componentMap.d.ts +0 -8
- package/dist/components/tt-table/src/components/RowContext.d.ts +0 -24
- package/dist/components/tt-table/src/components/TableAction.vue.d.ts +0 -79
- package/dist/components/tt-table/src/components/TableButtons.d.ts +0 -30
- package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +0 -26
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +0 -1531
- package/dist/components/tt-table/src/emits.d.ts +0 -1
- package/dist/components/tt-table/src/enum.d.ts +0 -2
- package/dist/components/tt-table/src/hooks/useCellArea.d.ts +0 -15
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +0 -27
- package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts +0 -20
- package/dist/components/tt-table/src/hooks/useDataSource.d.ts +0 -29
- package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts +0 -1082
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +0 -102
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +0 -30
- package/dist/components/tt-table/src/hooks/useTable.d.ts +0 -7
- package/dist/components/tt-table/src/hooks/useTableContext.d.ts +0 -43
- package/dist/components/tt-table/src/hooks/useTableEvent.d.ts +0 -101
- package/dist/components/tt-table/src/hooks/useTableForm.d.ts +0 -15
- package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts +0 -10
- package/dist/components/tt-table/src/hooks/useTableHeight.d.ts +0 -15
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts +0 -93
- package/dist/components/tt-table/src/hooks/useTableSlot.d.ts +0 -11
- package/dist/components/tt-table/src/props.d.ts +0 -433
- package/dist/components/tt-table/src/toolProps.d.ts +0 -19
- package/dist/components/tt-table/src/types/table.d.ts +0 -489
- package/dist/components/tt-table/src/types/tableAction.d.ts +0 -26
- package/dist/components/tt-table/src/types/tableForm.d.ts +0 -64
- package/dist/components/tt-table/src/types/tableTools.d.ts +0 -10
- package/dist/components/tt-table/src/utils/context.d.ts +0 -18
- package/dist/components/tt-table/src/utils/filters.d.ts +0 -109
- package/dist/components/tt-table/src/utils/table-api.d.ts +0 -250
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +0 -88
- package/dist/components/tt-table/src/utils/vxeTable.d.ts +0 -28
- package/dist/components/tt-text/index.d.ts +0 -76
- package/dist/components/tt-text/index.vue.d.ts +0 -50
- package/dist/components/tt-tree-select/index.d.ts +0 -5
- package/dist/components/tt-tree-select/src/TtTreeSelect.vue.d.ts +0 -6
- package/dist/components/tt-tree-select/src/cache-options.d.ts +0 -35
- package/dist/components/tt-tree-select/src/select.d.ts +0 -10
- package/dist/components/tt-tree-select/src/tree.d.ts +0 -23
- package/dist/components/tt-tree-select/src/utils.d.ts +0 -10
- package/dist/components/tt-upload/index.d.ts +0 -428
- package/dist/components/tt-upload/src/TtUpload.d.ts +0 -449
- package/dist/components/tt-upload/src/typing.d.ts +0 -251
- package/dist/components/types.d.ts +0 -230
- package/dist/directives/auto-tip/index.d.ts +0 -3
- package/dist/directives/dialog-resize/index.d.ts +0 -25
- package/dist/directives/dialog-resize/use-css-variable.d.ts +0 -1
- package/dist/directives/dialog-resize/use-draggable.d.ts +0 -4
- package/dist/directives/dialog-resize/use-fullscreen.d.ts +0 -1
- package/dist/directives/dialog-resize/use-parse-translate.d.ts +0 -4
- package/dist/directives/dialog-resize/use-resizer.d.ts +0 -2
- package/dist/directives/disabled-tip/index.d.ts +0 -17
- package/dist/directives/index.d.ts +0 -3
- package/dist/hooks/useFormat.d.ts +0 -73
- package/dist/hooks/useLoading.d.ts +0 -9
- package/dist/hooks/useSetup.d.ts +0 -8
- package/dist/hooks/useTable.d.ts +0 -5
- package/dist/hooks/useTemplateSlot.d.ts +0 -9
- package/dist/index.d.ts +0 -46
- package/dist/plugins/index.d.ts +0 -1
- package/dist/plugins/vxeTable/switchStatus.d.ts +0 -7
- package/dist/plugins.d.ts +0 -2
|
@@ -1,433 +0,0 @@
|
|
|
1
|
-
import { PropType, VNode } from 'vue';
|
|
2
|
-
import { TtExtendedFormApi, TtFormProps } from '../../tt-form';
|
|
3
|
-
import { VxeTableDefines, VxeTablePropTypes } from 'vxe-table';
|
|
4
|
-
import { TtTableExtendedTableApi, TtTableProps } from './types/table';
|
|
5
|
-
import { TtTableExtendedTableFormApi } from './types/tableForm';
|
|
6
|
-
import { TtTableToolsProps } from './types/tableTools';
|
|
7
|
-
/** 表格参数 */
|
|
8
|
-
export declare const tableProps: {
|
|
9
|
-
/** 是否显示toolbar */
|
|
10
|
-
showToolbar: any;
|
|
11
|
-
/** 具体某些列排序 field数组 */
|
|
12
|
-
columnsFieldSort: any;
|
|
13
|
-
/** 具体某些列不排序 field数组 */
|
|
14
|
-
columnsFieldNoSort: any;
|
|
15
|
-
/** 是否显示右边刷新按钮 */
|
|
16
|
-
showRefresh: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: () => boolean | undefined;
|
|
19
|
-
};
|
|
20
|
-
/** 是否显示右边设置 */
|
|
21
|
-
showSetting: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: () => boolean | undefined;
|
|
24
|
-
};
|
|
25
|
-
/** 是否显示自定义列 */
|
|
26
|
-
showSetColumn: {
|
|
27
|
-
type: BooleanConstructor;
|
|
28
|
-
default: () => boolean | undefined;
|
|
29
|
-
};
|
|
30
|
-
/** 是否显示自定义行距 */
|
|
31
|
-
showLineHeight: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: () => any;
|
|
34
|
-
};
|
|
35
|
-
/** 不可自定义列数组 field数组 */
|
|
36
|
-
notSetColumnField: any;
|
|
37
|
-
/** 需要对不显示的字段进行过滤 主要针对于自定义 field数组 */
|
|
38
|
-
filterNoVisibleField: any;
|
|
39
|
-
/** 是否显示表格上方 alert */
|
|
40
|
-
showTableAlert: any;
|
|
41
|
-
/** api请求方法 */
|
|
42
|
-
api: {
|
|
43
|
-
type: PropType<(...arg: any[]) => Promise<any>>;
|
|
44
|
-
default: null;
|
|
45
|
-
};
|
|
46
|
-
/** 表格额外参数 */
|
|
47
|
-
searchInfo: {
|
|
48
|
-
type: ObjectConstructor;
|
|
49
|
-
default: () => {};
|
|
50
|
-
};
|
|
51
|
-
/** 是否初始化加载数据 */
|
|
52
|
-
immediate: any;
|
|
53
|
-
/**
|
|
54
|
-
* 请求的状态吗
|
|
55
|
-
* @deprecated
|
|
56
|
-
*/
|
|
57
|
-
resultCode: {
|
|
58
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
59
|
-
default: number;
|
|
60
|
-
};
|
|
61
|
-
/** 请求后的回调 */
|
|
62
|
-
afterFetch: {
|
|
63
|
-
type: PropType<TtTableProps["afterFetch"]>;
|
|
64
|
-
default: null;
|
|
65
|
-
};
|
|
66
|
-
/** 请求前的回调 */
|
|
67
|
-
beforeFetch: {
|
|
68
|
-
type: PropType<TtTableProps["beforeFetch"]>;
|
|
69
|
-
default: null;
|
|
70
|
-
};
|
|
71
|
-
/** data */
|
|
72
|
-
data: {
|
|
73
|
-
type: PropType<TtTableProps["data"]>;
|
|
74
|
-
default: never[];
|
|
75
|
-
};
|
|
76
|
-
/** 是否滚动加载数据 */
|
|
77
|
-
isScrollFetch: {
|
|
78
|
-
type: BooleanConstructor;
|
|
79
|
-
default: boolean;
|
|
80
|
-
};
|
|
81
|
-
/** 滚动加载数据是否显示loading */
|
|
82
|
-
showScrollFetchLoading: {
|
|
83
|
-
type: BooleanConstructor;
|
|
84
|
-
default: boolean;
|
|
85
|
-
};
|
|
86
|
-
/** 是否显示复选框 */
|
|
87
|
-
showCheckbox: any;
|
|
88
|
-
/** 是否显示单选框 */
|
|
89
|
-
showRadio: any;
|
|
90
|
-
/** 是否显示序号 */
|
|
91
|
-
showIndex: any;
|
|
92
|
-
/** 是否需要列拖拽 */
|
|
93
|
-
isCellResize: any;
|
|
94
|
-
/**
|
|
95
|
-
* 是否拖动列
|
|
96
|
-
* @deprecated 请使用 column-config drag 配合column-drag-config配置 支持的版本看官方文档,后续不在维护列拖拽
|
|
97
|
-
* @default true
|
|
98
|
-
*/
|
|
99
|
-
isColumnsDrag: any;
|
|
100
|
-
/** 是否列排序 */
|
|
101
|
-
isCellSort: any;
|
|
102
|
-
/**
|
|
103
|
-
* 是否checkbox区域选择 选中数据
|
|
104
|
-
* @deprecated
|
|
105
|
-
*/
|
|
106
|
-
isAreaCheckData: any;
|
|
107
|
-
/** 是否显示操作列 */
|
|
108
|
-
showAction: any;
|
|
109
|
-
/** 操作列宽度 */
|
|
110
|
-
actionWidth: any;
|
|
111
|
-
/** 操作列列名 */
|
|
112
|
-
actionTitle: any;
|
|
113
|
-
/** 操作列Props */
|
|
114
|
-
actionProps: {
|
|
115
|
-
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
116
|
-
default: () => {};
|
|
117
|
-
};
|
|
118
|
-
/** 序号列Props */
|
|
119
|
-
indexColumnProps: {
|
|
120
|
-
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
121
|
-
default: () => {};
|
|
122
|
-
};
|
|
123
|
-
/** 复选框列Props */
|
|
124
|
-
checkboxColumnProps: {
|
|
125
|
-
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
126
|
-
default: () => {};
|
|
127
|
-
};
|
|
128
|
-
/** 拖拽 */
|
|
129
|
-
rowDragColumnProps: {
|
|
130
|
-
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
131
|
-
default: () => {};
|
|
132
|
-
};
|
|
133
|
-
/** 单选框列Props */
|
|
134
|
-
radioColumnProps: {
|
|
135
|
-
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
136
|
-
default: () => {};
|
|
137
|
-
};
|
|
138
|
-
/** 表格行id */
|
|
139
|
-
tableRowId: {
|
|
140
|
-
type: StringConstructor;
|
|
141
|
-
default: () => string | undefined;
|
|
142
|
-
};
|
|
143
|
-
/** 自定义Column函数 */
|
|
144
|
-
customizeColumn: {
|
|
145
|
-
type: PropType<TtTableProps["customizeColumn"]>;
|
|
146
|
-
};
|
|
147
|
-
/** 是否显示分页 */
|
|
148
|
-
showPager: any;
|
|
149
|
-
/** 数据总数 */
|
|
150
|
-
total: any;
|
|
151
|
-
/** 当前页数 field */
|
|
152
|
-
currentPageField: {
|
|
153
|
-
type: StringConstructor;
|
|
154
|
-
default: () => string | undefined;
|
|
155
|
-
};
|
|
156
|
-
/** 当前页的大小 field */
|
|
157
|
-
pageSizeField: {
|
|
158
|
-
type: StringConstructor;
|
|
159
|
-
default: () => string | undefined;
|
|
160
|
-
};
|
|
161
|
-
/** 总数 field */
|
|
162
|
-
totalField: {
|
|
163
|
-
type: StringConstructor;
|
|
164
|
-
default: () => string | undefined;
|
|
165
|
-
};
|
|
166
|
-
/** 数据的 field */
|
|
167
|
-
dataField: {
|
|
168
|
-
type: StringConstructor;
|
|
169
|
-
default: () => string | undefined;
|
|
170
|
-
};
|
|
171
|
-
modelValue: {
|
|
172
|
-
type: ArrayConstructor[];
|
|
173
|
-
default: () => never[];
|
|
174
|
-
};
|
|
175
|
-
/** 标题内容 */
|
|
176
|
-
title: any;
|
|
177
|
-
/** 是否显示标题 */
|
|
178
|
-
showTitle: any;
|
|
179
|
-
/** 是否自适应高度 */
|
|
180
|
-
autoHeight: any;
|
|
181
|
-
/**
|
|
182
|
-
* 额外减去的高度
|
|
183
|
-
* @deprecated
|
|
184
|
-
*/
|
|
185
|
-
offsetHeight: any;
|
|
186
|
-
/** 左侧插槽的宽度 */
|
|
187
|
-
leftSlotWidth: any;
|
|
188
|
-
/** 右侧插槽的宽度 */
|
|
189
|
-
rightSlotWidth: any;
|
|
190
|
-
/** loading text */
|
|
191
|
-
loadingText: {
|
|
192
|
-
type: StringConstructor;
|
|
193
|
-
default: () => string | undefined;
|
|
194
|
-
};
|
|
195
|
-
/** 暂无数据的样式 */
|
|
196
|
-
emptyImageStyle: any;
|
|
197
|
-
/** 暂无数据 */
|
|
198
|
-
emptyText: {
|
|
199
|
-
type: StringConstructor;
|
|
200
|
-
default: () => string | undefined;
|
|
201
|
-
};
|
|
202
|
-
/**
|
|
203
|
-
* 空数据图片状态, 对于不传api的默认展示情况
|
|
204
|
-
* @default 'no-data'
|
|
205
|
-
*/
|
|
206
|
-
emptyImageStatus: {
|
|
207
|
-
type: PropType<"no-data" | "no-search">;
|
|
208
|
-
default: string;
|
|
209
|
-
};
|
|
210
|
-
/** 未查询时文字 */
|
|
211
|
-
noSearchText: {
|
|
212
|
-
type: StringConstructor;
|
|
213
|
-
default: () => string | undefined;
|
|
214
|
-
};
|
|
215
|
-
/** 是否手动触发查询事件 */
|
|
216
|
-
isHanderSubmit: any;
|
|
217
|
-
/** 储存的key值 */
|
|
218
|
-
columnsKey: any;
|
|
219
|
-
/** 是否开启服务端缓存 */
|
|
220
|
-
useHttpCache: {
|
|
221
|
-
type: BooleanConstructor;
|
|
222
|
-
default: () => boolean | undefined;
|
|
223
|
-
};
|
|
224
|
-
/** 开启服务端缓存时默认展示的列 用户列为null时默认展示的列 */
|
|
225
|
-
defaultDisplayFields: {
|
|
226
|
-
type: PropType<string[]>;
|
|
227
|
-
default: () => string[] | undefined;
|
|
228
|
-
};
|
|
229
|
-
/**
|
|
230
|
-
* 是否需要行拖拽
|
|
231
|
-
* @deprecated 请使用 row-config drag 配合row-drag-config配置 支持的版本看官方文档,后续不在维护行拖拽
|
|
232
|
-
* @default false
|
|
233
|
-
*/
|
|
234
|
-
isRowDrag: any;
|
|
235
|
-
/**
|
|
236
|
-
* 是否需要行拖拽-树形表格
|
|
237
|
-
* @deprecated 请使用 row-config drag 配合row-drag-config配置 支持的版本看官方文档,后续不在维护行拖拽
|
|
238
|
-
* @default false
|
|
239
|
-
*/
|
|
240
|
-
treeNode: any;
|
|
241
|
-
/** 外部插槽 */
|
|
242
|
-
getSyncSlotComponent: {
|
|
243
|
-
type: PropType<(column: any, row: any, type: "default" | "edit") => VNode | VNode[] | string>;
|
|
244
|
-
};
|
|
245
|
-
/** 是否清空树形展开状态 */
|
|
246
|
-
clearTreeExpand: any;
|
|
247
|
-
/** 是否进行国际化 */
|
|
248
|
-
isI18n: any;
|
|
249
|
-
/**
|
|
250
|
-
* 外部数据是否拷贝一份
|
|
251
|
-
* 设置为 false 时,会有性能问题
|
|
252
|
-
* @default true
|
|
253
|
-
*/
|
|
254
|
-
isDataCloneDeep: any;
|
|
255
|
-
/** 表格的api */
|
|
256
|
-
tableApi: {
|
|
257
|
-
type: PropType<TtTableExtendedTableApi>;
|
|
258
|
-
};
|
|
259
|
-
/** 表格的api */
|
|
260
|
-
formApi: {
|
|
261
|
-
type: PropType<TtExtendedFormApi>;
|
|
262
|
-
};
|
|
263
|
-
/** 是否使用搜索form */
|
|
264
|
-
useSearchForm: any;
|
|
265
|
-
/** 是否禁用Teleport将节点输送至body */
|
|
266
|
-
disabledTeleport: any;
|
|
267
|
-
/** 表格 testId,用于生成测试标识 */
|
|
268
|
-
testId: {
|
|
269
|
-
type: StringConstructor;
|
|
270
|
-
default: undefined;
|
|
271
|
-
};
|
|
272
|
-
};
|
|
273
|
-
/** table-pro配置参数 */
|
|
274
|
-
export declare const tableProProps: {
|
|
275
|
-
/** 按键配置项 */
|
|
276
|
-
keyboardConfig: {
|
|
277
|
-
type: PropType<VxeTablePropTypes.KeyboardConfig>;
|
|
278
|
-
default: () => VxeTablePropTypes.KeyboardConfig<any> | undefined;
|
|
279
|
-
};
|
|
280
|
-
/** 右键菜单配置项 */
|
|
281
|
-
menuConfig: {
|
|
282
|
-
type: PropType<VxeTablePropTypes.MenuConfig>;
|
|
283
|
-
default: () => {};
|
|
284
|
-
};
|
|
285
|
-
/** 鼠标配置项 */
|
|
286
|
-
mouseConfig: {
|
|
287
|
-
type: PropType<VxeTablePropTypes.MouseConfig>;
|
|
288
|
-
default: () => VxeTablePropTypes.MouseConfig | undefined;
|
|
289
|
-
};
|
|
290
|
-
/** 复选框配置项 */
|
|
291
|
-
checkboxConfig: {
|
|
292
|
-
type: PropType<VxeTablePropTypes.CheckboxConfig>;
|
|
293
|
-
default: () => VxeTablePropTypes.CheckboxConfig<VxeTablePropTypes.Row> | undefined;
|
|
294
|
-
};
|
|
295
|
-
/** 单选框配置项 */
|
|
296
|
-
radioConfig: {
|
|
297
|
-
type: PropType<VxeTablePropTypes.RadioConfig>;
|
|
298
|
-
default: () => VxeTablePropTypes.RadioConfig<VxeTablePropTypes.Row> | undefined;
|
|
299
|
-
};
|
|
300
|
-
};
|
|
301
|
-
/** tableForm 参数 */
|
|
302
|
-
export declare const tableFormProps: {
|
|
303
|
-
tableData: {
|
|
304
|
-
type: PropType<Recordable[]>;
|
|
305
|
-
default: () => never[];
|
|
306
|
-
};
|
|
307
|
-
/** table参数 */
|
|
308
|
-
table: {
|
|
309
|
-
type: PropType<Partial<TtTableProps>>;
|
|
310
|
-
default: {};
|
|
311
|
-
};
|
|
312
|
-
/** 是否使用搜索form */
|
|
313
|
-
useSearchForm: any;
|
|
314
|
-
/** BasicFormProps 的配置 */
|
|
315
|
-
form: {
|
|
316
|
-
type: PropType<Partial<TtFormProps>>;
|
|
317
|
-
default: () => {};
|
|
318
|
-
};
|
|
319
|
-
/** 查询条件请求之前处理 */
|
|
320
|
-
handleSearchInfoFn: {
|
|
321
|
-
type: PropType<Fn>;
|
|
322
|
-
default: null;
|
|
323
|
-
};
|
|
324
|
-
/** 刷新前的调用方法 */
|
|
325
|
-
tableRefreshBefore: {
|
|
326
|
-
type: PropType<Fn>;
|
|
327
|
-
default: null;
|
|
328
|
-
};
|
|
329
|
-
/** TtTableTools的props */
|
|
330
|
-
toolConfig: {
|
|
331
|
-
type: PropType<TtTableToolsProps>;
|
|
332
|
-
default: null;
|
|
333
|
-
};
|
|
334
|
-
/** 表格行id */
|
|
335
|
-
tableRowId: {
|
|
336
|
-
type: StringConstructor;
|
|
337
|
-
default: () => string | undefined;
|
|
338
|
-
};
|
|
339
|
-
/** 表格 testId,用于生成测试标识 */
|
|
340
|
-
testId: {
|
|
341
|
-
type: StringConstructor;
|
|
342
|
-
default: undefined;
|
|
343
|
-
};
|
|
344
|
-
/** 表格的api */
|
|
345
|
-
tableFormApi: {
|
|
346
|
-
type: PropType<TtTableExtendedTableFormApi>;
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
|
-
/** 表格的参数和vxe-table的参数相同需要重新定义 */
|
|
350
|
-
export declare const tableOtherProps: {
|
|
351
|
-
/** 按键配置项 */
|
|
352
|
-
keyboardConfig: {
|
|
353
|
-
type: PropType<VxeTablePropTypes.KeyboardConfig>;
|
|
354
|
-
default: () => VxeTablePropTypes.KeyboardConfig<any> | undefined;
|
|
355
|
-
};
|
|
356
|
-
/** 右键菜单配置项 */
|
|
357
|
-
menuConfig: {
|
|
358
|
-
type: PropType<VxeTablePropTypes.MenuConfig>;
|
|
359
|
-
default: () => {};
|
|
360
|
-
};
|
|
361
|
-
/** 鼠标配置项 */
|
|
362
|
-
mouseConfig: {
|
|
363
|
-
type: PropType<VxeTablePropTypes.MouseConfig>;
|
|
364
|
-
default: () => VxeTablePropTypes.MouseConfig | undefined;
|
|
365
|
-
};
|
|
366
|
-
/** 复选框配置项 */
|
|
367
|
-
checkboxConfig: {
|
|
368
|
-
type: PropType<VxeTablePropTypes.CheckboxConfig>;
|
|
369
|
-
default: () => VxeTablePropTypes.CheckboxConfig<VxeTablePropTypes.Row> | undefined;
|
|
370
|
-
};
|
|
371
|
-
/** 单选框配置项 */
|
|
372
|
-
radioConfig: {
|
|
373
|
-
type: PropType<VxeTablePropTypes.RadioConfig>;
|
|
374
|
-
default: () => VxeTablePropTypes.RadioConfig<VxeTablePropTypes.Row> | undefined;
|
|
375
|
-
};
|
|
376
|
-
/** 列配置 */
|
|
377
|
-
columns: {
|
|
378
|
-
type: PropType<TtTableProps["columns"]>;
|
|
379
|
-
default: () => never[];
|
|
380
|
-
};
|
|
381
|
-
/**
|
|
382
|
-
* 表格的高度;支持铺满父容器或者固定高度,如果设置 auto 为铺满父容器(如果设置为 auto,则必须确保存在父节点且不允许存在相邻元素)
|
|
383
|
-
*/
|
|
384
|
-
height: {
|
|
385
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
386
|
-
default: undefined;
|
|
387
|
-
};
|
|
388
|
-
/**
|
|
389
|
-
* 设置所有内容过长时显示为省略号(如果是固定列建议设置该值,提升渲染速度
|
|
390
|
-
* @default true
|
|
391
|
-
*/
|
|
392
|
-
showOverflow: {
|
|
393
|
-
type: PropType<TtTableProps["showOverflow"]>;
|
|
394
|
-
default: boolean;
|
|
395
|
-
};
|
|
396
|
-
/**
|
|
397
|
-
* @description 内部使用插槽重写title内容。true 和 'tooltip' 都会有 tooltip 效果,false 和其他的值会显示省略号不会有 tooltip 效果
|
|
398
|
-
* @default true
|
|
399
|
-
*/
|
|
400
|
-
showHeaderOverflow: {
|
|
401
|
-
type: PropType<TtTableProps["showHeaderOverflow"]>;
|
|
402
|
-
default: boolean;
|
|
403
|
-
};
|
|
404
|
-
/** 分页配置 */
|
|
405
|
-
pagerConfig: {
|
|
406
|
-
type: PropType<TtTableProps["pagerConfig"]>;
|
|
407
|
-
default: () => import("vxe-table").VxeGridPropTypes.PagerConfig | undefined;
|
|
408
|
-
};
|
|
409
|
-
/** toolbar 配置 */
|
|
410
|
-
toolbarConfig: {
|
|
411
|
-
type: PropType<TtTableProps["toolbarConfig"]>;
|
|
412
|
-
default: () => null;
|
|
413
|
-
};
|
|
414
|
-
/** 缩放配置项 */
|
|
415
|
-
zoomConfig: {
|
|
416
|
-
type: PropType<TtTableProps["zoomConfig"]>;
|
|
417
|
-
default: () => null;
|
|
418
|
-
};
|
|
419
|
-
/** 表格大小 */
|
|
420
|
-
size: {
|
|
421
|
-
type: PropType<TtTableProps["size"]>;
|
|
422
|
-
default: () => import('vxe-pc-ui').VxeComponentSizeType | undefined;
|
|
423
|
-
};
|
|
424
|
-
/**
|
|
425
|
-
* tooltip错误提示方向,用于控制错误信息提示的显示位置
|
|
426
|
-
* 可选值: 'top', 'bottom', 'left', 'right'
|
|
427
|
-
* @default 'right'
|
|
428
|
-
*/
|
|
429
|
-
toolTipErrorPlacement: {
|
|
430
|
-
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
431
|
-
default: string;
|
|
432
|
-
};
|
|
433
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const toolProps: {
|
|
2
|
-
/** 是否显示设置 */
|
|
3
|
-
showSetting: {
|
|
4
|
-
type: BooleanConstructor;
|
|
5
|
-
default: boolean;
|
|
6
|
-
};
|
|
7
|
-
/** 是否显示刷新按钮 */
|
|
8
|
-
showRefresh: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
/** 是否显示列设置按钮 */
|
|
13
|
-
showSetColumn: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
/** 储存的key */
|
|
18
|
-
columnsKey: any;
|
|
19
|
-
};
|