@dazhicheng/ui 1.6.23 → 1.6.25
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 +24 -35
- package/dist/components/tt-area/TtArea.d.ts +3 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.d.ts +3 -0
- package/dist/components/tt-button/index.d.ts +260 -589
- package/dist/components/tt-checkbox/index.d.ts +26 -35
- package/dist/components/tt-drawer/index.d.ts +306 -299
- package/dist/components/tt-drawer/src/{RenderDrawer.vue.d.ts → RenderDrawer.d.ts} +149 -146
- package/dist/components/tt-drawer/src/components/{DrawerFooter.vue.d.ts → DrawerFooter.d.ts} +18 -16
- package/dist/components/tt-drawer/src/components/{DrawerHeader.vue.d.ts → DrawerHeader.d.ts} +4 -3
- 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 +4 -2
- package/dist/components/tt-empty/index.d.ts +10 -8
- package/dist/components/tt-form/src/components/{ExpandableArrow.vue.d.ts → ExpandableArrow.d.ts} +5 -4
- package/dist/components/tt-form/src/components/{FormActions.vue.d.ts → FormActions.d.ts} +6 -5
- package/dist/components/tt-form/src/components/{FormElInput.vue.d.ts → FormElInput.d.ts} +105 -101
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.vue.d.ts → FormControl.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormDescription.vue.d.ts → FormDescription.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormItem.vue.d.ts → FormItem.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormLabel.vue.d.ts → FormLabel.d.ts} +2 -1
- package/dist/components/tt-form/src/form/FormMessage.d.ts +3 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +9 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.vue.d.ts → FormWarnMessage.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{RenderContent.vue.d.ts → RenderContent.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 +6 -5
- package/dist/components/tt-form/src/form-render/{FormField.vue.d.ts → FormField.d.ts} +2 -1
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.vue.d.ts → FormLabel.d.ts} +3 -2
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +14 -11
- package/dist/components/tt-form/src/form-render/context.d.ts +5 -4
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +7 -6
- package/dist/components/tt-form/src/form-render/expandable.d.ts +4 -3
- package/dist/components/tt-form/src/form-render/{form.vue.d.ts → form.d.ts} +9 -8
- 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.vue.d.ts → GroupForm.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{GroupSection.vue.d.ts → GroupSection.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{LazyFormField.vue.d.ts → LazyFormField.d.ts} +5 -3
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +7 -5
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +3 -2
- 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.d.ts +217 -0
- package/dist/components/tt-form/src/useForm.d.ts +2 -1
- package/dist/components/tt-form/src/useFormContext.d.ts +2 -1
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +61 -337
- package/dist/components/tt-icon/components/AddIcon.d.ts +8 -0
- package/dist/components/tt-icon/components/SubIcon.d.ts +8 -0
- package/dist/components/tt-icon/index.d.ts +24 -115
- package/dist/components/tt-image/index.d.ts +45 -41
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +30 -26
- package/dist/components/tt-image/tt-image.d.ts +36 -34
- package/dist/components/tt-loading/index.d.ts +5 -2
- package/dist/components/tt-loading/src/loading.d.ts +13 -0
- package/dist/components/tt-log/index.d.ts +7 -6
- package/dist/components/tt-modal/index.d.ts +371 -364
- package/dist/components/tt-modal/src/{RenderModal.vue.d.ts → RenderModal.d.ts} +118 -115
- package/dist/components/tt-modal/src/components/{ModalFooter.vue.d.ts → ModalFooter.d.ts} +26 -23
- package/dist/components/tt-modal/src/components/{ModalHeader.vue.d.ts → ModalHeader.d.ts} +4 -3
- package/dist/components/tt-modal/src/components/{ModalWrapper.vue.d.ts → ModalWrapper.d.ts} +27 -24
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +32 -29
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +2 -1
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +3 -2
- package/dist/components/tt-modal-form/index.d.ts +46 -2
- package/dist/components/tt-modal-form/useModalForm.d.ts +4 -3
- package/dist/components/tt-nav-anchor/index.d.ts +15 -12
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.vue.d.ts → TtNavAnchor.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.vue.d.ts → PanelLeft.d.ts} +4 -3
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.vue.d.ts → PanelMiddle.d.ts} +83 -80
- package/dist/components/tt-panel-select/src/components/{PanelRight.vue.d.ts → PanelRight.d.ts} +34 -32
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +7 -6
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.vue.d.ts → index.d.ts} +84 -80
- package/dist/components/tt-radio-group/index.d.ts +31 -50
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.vue.d.ts → Select.d.ts} +146 -141
- package/dist/components/tt-select/src/components/{SelectTable.vue.d.ts → SelectTable.d.ts} +40 -36
- package/dist/components/tt-select/src/components/{Table.vue.d.ts → Table.d.ts} +41 -38
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +4 -3
- 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 +287 -279
- package/dist/components/tt-table/src/{Table.vue.d.ts → Table.d.ts} +209 -204
- package/dist/components/tt-table/src/{TableForm.vue.d.ts → TableForm.d.ts} +83 -80
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.vue.d.ts → TableAction.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.vue.d.ts → TableColumnModal.d.ts} +5 -4
- package/dist/components/tt-table/src/components/{TableToolbarTools.vue.d.ts → TableToolbarTools.d.ts} +7 -6
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +45 -44
- 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 +112 -110
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +19 -17
- 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 +2 -1
- package/dist/components/tt-text/index.d.ts +34 -59
- package/dist/components/tt-upload/index.d.ts +317 -311
- package/dist/components/tt-upload/src/TtUpload.d.ts +519 -0
- package/dist/components/tt-upload/src/typing.d.ts +49 -47
- package/dist/hooks/useDataPermissionOptions.js +76 -72
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
- package/dist/components/tt-api-component/index.vue.d.ts +0 -34
- package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
- package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
- package/dist/components/tt-button/index.vue.d.ts +0 -466
- package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
- 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/index.vue.d.ts +0 -216
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -298
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/index.vue.d.ts +0 -32
- package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
- package/dist/components/tt-log/index.vue.d.ts +0 -5
- package/dist/components/tt-modal-form/index.vue.d.ts +0 -45
- package/dist/components/tt-radio-group/index.vue.d.ts +0 -33
- package/dist/components/tt-text/index.vue.d.ts +0 -50
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +0 -517
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import { PropType, CSSProperties, MaybeRef } from 'vue';
|
|
2
2
|
import { TtExtendedFormApi, TtFormProps } from '../../tt-form';
|
|
3
3
|
import { VxeTableDefines, VxeTablePropTypes } from 'vxe-table';
|
|
4
4
|
import { TtTableExtendedTableApi, TtTableProps } from './types/table';
|
|
5
5
|
import { TtTableExtendedTableFormApi, TtTableFormProps } from './types/tableForm';
|
|
6
6
|
import { TtTableToolsProps } from './types/tableTools';
|
|
7
|
+
import { TtColumnOptions } from '..';
|
|
8
|
+
import { VxeComponentSizeType } from 'vxe-pc-ui';
|
|
7
9
|
/** 表格参数 */
|
|
8
10
|
export declare const tableProps: {
|
|
9
11
|
/** 是否显示toolbar */
|
|
@@ -145,27 +147,27 @@ export declare const tableProps: {
|
|
|
145
147
|
/** 操作列Props */
|
|
146
148
|
actionProps: {
|
|
147
149
|
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
148
|
-
default: () =>
|
|
150
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
149
151
|
};
|
|
150
152
|
/** 序号列Props */
|
|
151
153
|
indexColumnProps: {
|
|
152
154
|
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
153
|
-
default: () =>
|
|
155
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
154
156
|
};
|
|
155
157
|
/** 复选框列Props */
|
|
156
158
|
checkboxColumnProps: {
|
|
157
159
|
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
158
|
-
default: () =>
|
|
160
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
159
161
|
};
|
|
160
162
|
/** 展开行props */
|
|
161
163
|
expandColumnProps: {
|
|
162
164
|
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
163
|
-
default: () =>
|
|
165
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
164
166
|
};
|
|
165
167
|
/** 单选框列Props */
|
|
166
168
|
radioColumnProps: {
|
|
167
169
|
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
168
|
-
default: () =>
|
|
170
|
+
default: () => TtColumnOptions<any> | undefined;
|
|
169
171
|
};
|
|
170
172
|
/** 表格行id */
|
|
171
173
|
tableRowId: {
|
|
@@ -221,7 +223,7 @@ export declare const tableProps: {
|
|
|
221
223
|
/** 暂无数据的样式 */
|
|
222
224
|
emptyImageStyle: {
|
|
223
225
|
type: ObjectConstructor;
|
|
224
|
-
default: () =>
|
|
226
|
+
default: () => CSSProperties | undefined;
|
|
225
227
|
};
|
|
226
228
|
/** 暂无数据 */
|
|
227
229
|
emptyText: {
|
|
@@ -312,7 +314,7 @@ export declare const tableFormProps: {
|
|
|
312
314
|
loading?: boolean;
|
|
313
315
|
emptyText?: string;
|
|
314
316
|
noSearchText?: string;
|
|
315
|
-
emptyImageStyle?:
|
|
317
|
+
emptyImageStyle?: CSSProperties;
|
|
316
318
|
emptyImageStatus?: "no-data" | "no-search";
|
|
317
319
|
showHeaderTooltip?: boolean;
|
|
318
320
|
showCellTooltip?: boolean;
|
|
@@ -341,10 +343,10 @@ export declare const tableFormProps: {
|
|
|
341
343
|
userId: string | number;
|
|
342
344
|
id: string | number;
|
|
343
345
|
}) => Promise<any>;
|
|
344
|
-
customizeColumn?: ((column:
|
|
346
|
+
customizeColumn?: ((column: TtColumnOptions<any>) => TtColumnOptions<any>) | undefined;
|
|
345
347
|
clearTreeExpand?: boolean;
|
|
346
|
-
data?:
|
|
347
|
-
columns?:
|
|
348
|
+
data?: MaybeRef<any[]> | undefined;
|
|
349
|
+
columns?: MaybeRef< TtColumnOptions<any>[]> | undefined;
|
|
348
350
|
testId?: string;
|
|
349
351
|
toolTipErrorPlacement?: "top" | "bottom" | "left" | "right";
|
|
350
352
|
id?: VxeTablePropTypes.ID<any> | undefined;
|
|
@@ -472,11 +474,11 @@ export declare const tableFormProps: {
|
|
|
472
474
|
actionTitle?: string;
|
|
473
475
|
isCellResize?: boolean;
|
|
474
476
|
isCellSort?: boolean;
|
|
475
|
-
actionProps?:
|
|
476
|
-
indexColumnProps?:
|
|
477
|
-
checkboxColumnProps?:
|
|
478
|
-
expandColumnProps?:
|
|
479
|
-
radioColumnProps?:
|
|
477
|
+
actionProps?: TtColumnOptions<any> | undefined;
|
|
478
|
+
indexColumnProps?: TtColumnOptions<any> | undefined;
|
|
479
|
+
checkboxColumnProps?: TtColumnOptions<any> | undefined;
|
|
480
|
+
expandColumnProps?: TtColumnOptions<any> | undefined;
|
|
481
|
+
radioColumnProps?: TtColumnOptions<any> | undefined;
|
|
480
482
|
tableRowId?: string;
|
|
481
483
|
api?: (...arg: any[]) => Promise<Recordable | Recordable[]>;
|
|
482
484
|
filterApi?: (...arg: any[]) => Promise<Recordable | Recordable[]>;
|
|
@@ -597,7 +599,7 @@ export declare const tableOtherProps: {
|
|
|
597
599
|
/** 表格大小 */
|
|
598
600
|
size: {
|
|
599
601
|
type: PropType<TtTableProps["size"]>;
|
|
600
|
-
default: () =>
|
|
602
|
+
default: () => VxeComponentSizeType | undefined;
|
|
601
603
|
};
|
|
602
604
|
/**
|
|
603
605
|
* tooltip错误提示方向,用于控制错误信息提示的显示位置
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MaybeRefOrGetter } from 'vue';
|
|
1
|
+
import { MaybeRefOrGetter, ComputedRef } from 'vue';
|
|
2
2
|
import { VxeGridInstance, VxeGridPropTypes, VxeTableDefines } from 'vxe-table';
|
|
3
3
|
import { Recordable } from '../../../../../../utils/src';
|
|
4
4
|
import { FetchParams, TtSelectRowKeysType, TtSelectRowsType, TtTableMethods, TtTableProps } from '../types/table';
|
|
@@ -316,14 +316,14 @@ declare class TableApi<Row = any> {
|
|
|
316
316
|
/**
|
|
317
317
|
* @description: 获取表格选中数据的keys(响应式)
|
|
318
318
|
*/
|
|
319
|
-
selectedKeys:
|
|
319
|
+
selectedKeys: ComputedRef<any>;
|
|
320
320
|
/**
|
|
321
321
|
* @description: 获取表格选中数据(响应式)
|
|
322
322
|
*/
|
|
323
|
-
selectedRows:
|
|
323
|
+
selectedRows: ComputedRef<any>;
|
|
324
324
|
/**
|
|
325
325
|
* 获取表格 loading 状态(响应式)
|
|
326
326
|
*/
|
|
327
|
-
getLoading:
|
|
327
|
+
getLoading: ComputedRef<boolean>;
|
|
328
328
|
}
|
|
329
329
|
export { TableApi };
|
|
@@ -3,6 +3,7 @@ import { TtExtendedFormApi } from '../../../tt-form';
|
|
|
3
3
|
import { FetchParams, TtTableExtendedTableApi, TtTableProps } from '../types/table';
|
|
4
4
|
import { TtTableFormActionType, TtTableFormProps, TtTableFormRenderFormProps } from '../types/tableForm';
|
|
5
5
|
import { Store } from '@tanstack/vue-store';
|
|
6
|
+
import { ComputedRef } from 'vue';
|
|
6
7
|
/**
|
|
7
8
|
* TableFormApi 表单+表格复合组件的 API 封装类
|
|
8
9
|
*
|
|
@@ -52,7 +53,7 @@ declare class TableFormApi<Row = any, TValues extends Record<string, any> = Reco
|
|
|
52
53
|
/**
|
|
53
54
|
* 当前选中的行 key 数组(响应式)
|
|
54
55
|
*/
|
|
55
|
-
selectedKeys:
|
|
56
|
+
selectedKeys: ComputedRef<any>;
|
|
56
57
|
/**
|
|
57
58
|
* 获取表单实例
|
|
58
59
|
*/
|
|
@@ -1,63 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
modelValue?: string;
|
|
5
|
-
toolTip?: boolean;
|
|
6
|
-
placement?: string;
|
|
7
|
-
toolTipLine?: number;
|
|
8
|
-
toolTipMaxWidth?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
9
|
-
toolTipMaxHeight?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
10
|
-
lineHeight?: number;
|
|
11
|
-
visible?: boolean;
|
|
12
|
-
copy?: boolean;
|
|
13
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
14
|
-
placement: string;
|
|
15
|
-
copy: boolean;
|
|
16
|
-
visible: boolean;
|
|
17
|
-
toolTip: boolean;
|
|
18
|
-
toolTipLine: number;
|
|
19
|
-
toolTipMaxWidth: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
20
|
-
toolTipMaxHeight: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
21
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
22
|
-
P: {};
|
|
23
|
-
B: {};
|
|
24
|
-
D: {};
|
|
25
|
-
C: {};
|
|
26
|
-
M: {};
|
|
27
|
-
Defaults: {};
|
|
28
|
-
}, Readonly<{
|
|
29
|
-
modelValue?: string;
|
|
30
|
-
toolTip?: boolean;
|
|
31
|
-
placement?: string;
|
|
32
|
-
toolTipLine?: number;
|
|
33
|
-
toolTipMaxWidth?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
34
|
-
toolTipMaxHeight?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
35
|
-
lineHeight?: number;
|
|
36
|
-
visible?: boolean;
|
|
37
|
-
copy?: boolean;
|
|
38
|
-
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
39
|
-
placement: string;
|
|
40
|
-
copy: boolean;
|
|
41
|
-
visible: boolean;
|
|
42
|
-
toolTip: boolean;
|
|
43
|
-
toolTipLine: number;
|
|
44
|
-
toolTipMaxWidth: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
45
|
-
toolTipMaxHeight: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
46
|
-
}>;
|
|
47
|
-
__isFragment?: never;
|
|
48
|
-
__isTeleport?: never;
|
|
49
|
-
__isSuspense?: never;
|
|
50
|
-
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** 绑定值 */
|
|
51
4
|
modelValue?: string;
|
|
5
|
+
/** 是否开启toolTip */
|
|
52
6
|
toolTip?: boolean;
|
|
7
|
+
/** toolTip 的位置 */
|
|
53
8
|
placement?: string;
|
|
9
|
+
/** 几行省略 */
|
|
54
10
|
toolTipLine?: number;
|
|
11
|
+
/** toolTip 的最大宽度 */
|
|
55
12
|
toolTipMaxWidth?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
13
|
+
/** toolTip 的最大高度 */
|
|
56
14
|
toolTipMaxHeight?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
15
|
+
/**
|
|
16
|
+
* 行高
|
|
17
|
+
* @deprecated 弃用,去掉高度限制,使用自适应高度
|
|
18
|
+
*/
|
|
57
19
|
lineHeight?: number;
|
|
20
|
+
/** 整个组件是否显示 */
|
|
58
21
|
visible?: boolean;
|
|
22
|
+
/** 是否可以复制 */
|
|
59
23
|
copy?: boolean;
|
|
60
|
-
}
|
|
24
|
+
};
|
|
25
|
+
declare function __VLS_template(): {
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
|
+
slots: Readonly<{
|
|
28
|
+
default: () => any;
|
|
29
|
+
}> & {
|
|
30
|
+
default: () => any;
|
|
31
|
+
};
|
|
32
|
+
refs: {};
|
|
33
|
+
rootEl: any;
|
|
34
|
+
};
|
|
35
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
36
|
+
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
61
37
|
placement: string;
|
|
62
38
|
copy: boolean;
|
|
63
39
|
visible: boolean;
|
|
@@ -65,12 +41,11 @@ export declare const TtText: import('../../../../utils/src').SFCWithInstall<{
|
|
|
65
41
|
toolTipLine: number;
|
|
66
42
|
toolTipMaxWidth: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
67
43
|
toolTipMaxHeight: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
68
|
-
}, {},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
44
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
73
50
|
};
|
|
74
|
-
}
|
|
75
|
-
export type TtTextProps = InstanceType<typeof TtTextConstructor>['$props'];
|
|
76
|
-
export default TtText;
|
|
51
|
+
};
|