@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
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { PropType
|
|
1
|
+
import { PropType } 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';
|
|
9
7
|
/** 表格参数 */
|
|
10
8
|
export declare const tableProps: {
|
|
11
9
|
/** 是否显示toolbar */
|
|
@@ -147,27 +145,27 @@ export declare const tableProps: {
|
|
|
147
145
|
/** 操作列Props */
|
|
148
146
|
actionProps: {
|
|
149
147
|
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
150
|
-
default: () => TtColumnOptions<any> | undefined;
|
|
148
|
+
default: () => import('..').TtColumnOptions<any> | undefined;
|
|
151
149
|
};
|
|
152
150
|
/** 序号列Props */
|
|
153
151
|
indexColumnProps: {
|
|
154
152
|
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
155
|
-
default: () => TtColumnOptions<any> | undefined;
|
|
153
|
+
default: () => import('..').TtColumnOptions<any> | undefined;
|
|
156
154
|
};
|
|
157
155
|
/** 复选框列Props */
|
|
158
156
|
checkboxColumnProps: {
|
|
159
157
|
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
160
|
-
default: () => TtColumnOptions<any> | undefined;
|
|
158
|
+
default: () => import('..').TtColumnOptions<any> | undefined;
|
|
161
159
|
};
|
|
162
160
|
/** 展开行props */
|
|
163
161
|
expandColumnProps: {
|
|
164
162
|
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
165
|
-
default: () => TtColumnOptions<any> | undefined;
|
|
163
|
+
default: () => import('..').TtColumnOptions<any> | undefined;
|
|
166
164
|
};
|
|
167
165
|
/** 单选框列Props */
|
|
168
166
|
radioColumnProps: {
|
|
169
167
|
type: PropType<VxeTableDefines.ColumnOptions>;
|
|
170
|
-
default: () => TtColumnOptions<any> | undefined;
|
|
168
|
+
default: () => import('..').TtColumnOptions<any> | undefined;
|
|
171
169
|
};
|
|
172
170
|
/** 表格行id */
|
|
173
171
|
tableRowId: {
|
|
@@ -223,7 +221,7 @@ export declare const tableProps: {
|
|
|
223
221
|
/** 暂无数据的样式 */
|
|
224
222
|
emptyImageStyle: {
|
|
225
223
|
type: ObjectConstructor;
|
|
226
|
-
default: () => CSSProperties | undefined;
|
|
224
|
+
default: () => import('vue').CSSProperties | undefined;
|
|
227
225
|
};
|
|
228
226
|
/** 暂无数据 */
|
|
229
227
|
emptyText: {
|
|
@@ -314,7 +312,7 @@ export declare const tableFormProps: {
|
|
|
314
312
|
loading?: boolean;
|
|
315
313
|
emptyText?: string;
|
|
316
314
|
noSearchText?: string;
|
|
317
|
-
emptyImageStyle?: CSSProperties;
|
|
315
|
+
emptyImageStyle?: import('vue').CSSProperties;
|
|
318
316
|
emptyImageStatus?: "no-data" | "no-search";
|
|
319
317
|
showHeaderTooltip?: boolean;
|
|
320
318
|
showCellTooltip?: boolean;
|
|
@@ -343,10 +341,10 @@ export declare const tableFormProps: {
|
|
|
343
341
|
userId: string | number;
|
|
344
342
|
id: string | number;
|
|
345
343
|
}) => Promise<any>;
|
|
346
|
-
customizeColumn?: ((column: TtColumnOptions<any>) => TtColumnOptions<any>) | undefined;
|
|
344
|
+
customizeColumn?: ((column: import('..').TtColumnOptions<any>) => import('..').TtColumnOptions<any>) | undefined;
|
|
347
345
|
clearTreeExpand?: boolean;
|
|
348
|
-
data?: MaybeRef<any[]> | undefined;
|
|
349
|
-
columns?: MaybeRef<
|
|
346
|
+
data?: import('vue').MaybeRef<any[]> | undefined;
|
|
347
|
+
columns?: import('vue').MaybeRef<import('..').TtColumnOptions<any>[]> | undefined;
|
|
350
348
|
testId?: string;
|
|
351
349
|
toolTipErrorPlacement?: "top" | "bottom" | "left" | "right";
|
|
352
350
|
id?: VxeTablePropTypes.ID<any> | undefined;
|
|
@@ -474,11 +472,11 @@ export declare const tableFormProps: {
|
|
|
474
472
|
actionTitle?: string;
|
|
475
473
|
isCellResize?: boolean;
|
|
476
474
|
isCellSort?: boolean;
|
|
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;
|
|
475
|
+
actionProps?: import('..').TtColumnOptions<any> | undefined;
|
|
476
|
+
indexColumnProps?: import('..').TtColumnOptions<any> | undefined;
|
|
477
|
+
checkboxColumnProps?: import('..').TtColumnOptions<any> | undefined;
|
|
478
|
+
expandColumnProps?: import('..').TtColumnOptions<any> | undefined;
|
|
479
|
+
radioColumnProps?: import('..').TtColumnOptions<any> | undefined;
|
|
482
480
|
tableRowId?: string;
|
|
483
481
|
api?: (...arg: any[]) => Promise<Recordable | Recordable[]>;
|
|
484
482
|
filterApi?: (...arg: any[]) => Promise<Recordable | Recordable[]>;
|
|
@@ -599,7 +597,7 @@ export declare const tableOtherProps: {
|
|
|
599
597
|
/** 表格大小 */
|
|
600
598
|
size: {
|
|
601
599
|
type: PropType<TtTableProps["size"]>;
|
|
602
|
-
default: () => VxeComponentSizeType | undefined;
|
|
600
|
+
default: () => import('vxe-pc-ui').VxeComponentSizeType | undefined;
|
|
603
601
|
};
|
|
604
602
|
/**
|
|
605
603
|
* tooltip错误提示方向,用于控制错误信息提示的显示位置
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MaybeRefOrGetter
|
|
1
|
+
import { MaybeRefOrGetter } 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: ComputedRef<any>;
|
|
319
|
+
selectedKeys: import('vue').ComputedRef<any>;
|
|
320
320
|
/**
|
|
321
321
|
* @description: 获取表格选中数据(响应式)
|
|
322
322
|
*/
|
|
323
|
-
selectedRows: ComputedRef<any>;
|
|
323
|
+
selectedRows: import('vue').ComputedRef<any>;
|
|
324
324
|
/**
|
|
325
325
|
* 获取表格 loading 状态(响应式)
|
|
326
326
|
*/
|
|
327
|
-
getLoading: ComputedRef<boolean>;
|
|
327
|
+
getLoading: import('vue').ComputedRef<boolean>;
|
|
328
328
|
}
|
|
329
329
|
export { TableApi };
|
|
@@ -3,7 +3,6 @@ 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';
|
|
7
6
|
/**
|
|
8
7
|
* TableFormApi 表单+表格复合组件的 API 封装类
|
|
9
8
|
*
|
|
@@ -53,7 +52,7 @@ declare class TableFormApi<Row = any, TValues extends Record<string, any> = Reco
|
|
|
53
52
|
/**
|
|
54
53
|
* 当前选中的行 key 数组(响应式)
|
|
55
54
|
*/
|
|
56
|
-
selectedKeys: ComputedRef<any>;
|
|
55
|
+
selectedKeys: import('vue').ComputedRef<any>;
|
|
57
56
|
/**
|
|
58
57
|
* 获取表单实例
|
|
59
58
|
*/
|
|
@@ -1,39 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { default as TtTextConstructor } from './index.vue';
|
|
2
|
+
export declare const TtText: import('../../../../utils/src').SFCWithInstall<{
|
|
3
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
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<{
|
|
4
51
|
modelValue?: string;
|
|
5
|
-
/** 是否开启toolTip */
|
|
6
52
|
toolTip?: boolean;
|
|
7
|
-
/** toolTip 的位置 */
|
|
8
53
|
placement?: string;
|
|
9
|
-
/** 几行省略 */
|
|
10
54
|
toolTipLine?: number;
|
|
11
|
-
/** toolTip 的最大宽度 */
|
|
12
55
|
toolTipMaxWidth?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
13
|
-
/** toolTip 的最大高度 */
|
|
14
56
|
toolTipMaxHeight?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
15
|
-
/**
|
|
16
|
-
* 行高
|
|
17
|
-
* @deprecated 弃用,去掉高度限制,使用自适应高度
|
|
18
|
-
*/
|
|
19
57
|
lineHeight?: number;
|
|
20
|
-
/** 整个组件是否显示 */
|
|
21
58
|
visible?: boolean;
|
|
22
|
-
/** 是否可以复制 */
|
|
23
59
|
copy?: boolean;
|
|
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<{}>, {
|
|
60
|
+
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
37
61
|
placement: string;
|
|
38
62
|
copy: boolean;
|
|
39
63
|
visible: boolean;
|
|
@@ -41,11 +65,12 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
41
65
|
toolTipLine: number;
|
|
42
66
|
toolTipMaxWidth: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
43
67
|
toolTipMaxHeight: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
44
|
-
}, {},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
$slots: S;
|
|
68
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
69
|
+
$slots: Readonly<{
|
|
70
|
+
default: () => any;
|
|
71
|
+
}> & {
|
|
72
|
+
default: () => any;
|
|
50
73
|
};
|
|
51
|
-
}
|
|
74
|
+
})> & Record<string, any>;
|
|
75
|
+
export type TtTextProps = InstanceType<typeof TtTextConstructor>['$props'];
|
|
76
|
+
export default TtText;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 绑定值 */
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
/** 是否开启toolTip */
|
|
5
|
+
toolTip?: boolean;
|
|
6
|
+
/** toolTip 的位置 */
|
|
7
|
+
placement?: string;
|
|
8
|
+
/** 几行省略 */
|
|
9
|
+
toolTipLine?: number;
|
|
10
|
+
/** toolTip 的最大宽度 */
|
|
11
|
+
toolTipMaxWidth?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
12
|
+
/** toolTip 的最大高度 */
|
|
13
|
+
toolTipMaxHeight?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
14
|
+
/**
|
|
15
|
+
* 行高
|
|
16
|
+
* @deprecated 弃用,去掉高度限制,使用自适应高度
|
|
17
|
+
*/
|
|
18
|
+
lineHeight?: number;
|
|
19
|
+
/** 整个组件是否显示 */
|
|
20
|
+
visible?: boolean;
|
|
21
|
+
/** 是否可以复制 */
|
|
22
|
+
copy?: boolean;
|
|
23
|
+
};
|
|
24
|
+
declare function __VLS_template(): {
|
|
25
|
+
attrs: Partial<{}>;
|
|
26
|
+
slots: Readonly<{
|
|
27
|
+
default: () => any;
|
|
28
|
+
}> & {
|
|
29
|
+
default: () => any;
|
|
30
|
+
};
|
|
31
|
+
refs: {};
|
|
32
|
+
rootEl: any;
|
|
33
|
+
};
|
|
34
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
36
|
+
placement: string;
|
|
37
|
+
copy: boolean;
|
|
38
|
+
visible: boolean;
|
|
39
|
+
toolTip: boolean;
|
|
40
|
+
toolTipLine: number;
|
|
41
|
+
toolTipMaxWidth: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
42
|
+
toolTipMaxHeight: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
44
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
|
+
new (): {
|
|
48
|
+
$slots: S;
|
|
49
|
+
};
|
|
50
|
+
};
|