@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,8 @@
|
|
|
1
|
-
import { Slot, nextTick
|
|
1
|
+
import { Slot, nextTick } from 'vue';
|
|
2
2
|
import { TtModalExtendedModalApi } from '../../tt-modal';
|
|
3
3
|
import { Recordable } from '../../../../../utils/src';
|
|
4
4
|
import { TtTableProps } from './types/table';
|
|
5
5
|
import { TtTableExtendedTableFormApi, TtTableFormProps, TtTableSearchBeforeResult, TtTableSearchTrigger } from './types/tableForm';
|
|
6
|
-
import { OpenModalParams } from './components/TableColumnModal';
|
|
7
|
-
import { ModalRenderState, TtExtendedFormApi, TtColumnOptions, TtFormProps, TtTableToolsProps, TtTableMethods, TtTableRenderFormInstance, TtSelectRowKeysType } from '../../../index';
|
|
8
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
9
6
|
declare function __VLS_template(): {
|
|
10
7
|
attrs: Partial<{}>;
|
|
11
8
|
slots: Readonly<{
|
|
@@ -61,7 +58,7 @@ declare function __VLS_template(): {
|
|
|
61
58
|
};
|
|
62
59
|
refs: {
|
|
63
60
|
columnModalRef: ({
|
|
64
|
-
$: ComponentInternalInstance;
|
|
61
|
+
$: import('vue').ComponentInternalInstance;
|
|
65
62
|
$data: {};
|
|
66
63
|
$props: {
|
|
67
64
|
readonly openColumn?: ((boolean: boolean) => void) | undefined;
|
|
@@ -71,7 +68,7 @@ declare function __VLS_template(): {
|
|
|
71
68
|
modalApi: TtModalExtendedModalApi;
|
|
72
69
|
isExport: boolean;
|
|
73
70
|
}) => any) | undefined;
|
|
74
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
71
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
75
72
|
$attrs: {
|
|
76
73
|
[x: string]: unknown;
|
|
77
74
|
};
|
|
@@ -81,8 +78,8 @@ declare function __VLS_template(): {
|
|
|
81
78
|
$slots: Readonly<{
|
|
82
79
|
[name: string]: Slot<any> | undefined;
|
|
83
80
|
}>;
|
|
84
|
-
$root: ComponentPublicInstance | null;
|
|
85
|
-
$parent: ComponentPublicInstance | null;
|
|
81
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
82
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
86
83
|
$host: Element | null;
|
|
87
84
|
$emit: (event: "on-submit", val: {
|
|
88
85
|
checkedModel: string[];
|
|
@@ -90,7 +87,7 @@ declare function __VLS_template(): {
|
|
|
90
87
|
isExport: boolean;
|
|
91
88
|
}) => void;
|
|
92
89
|
$el: any;
|
|
93
|
-
$options: ComponentOptionsBase<Readonly<{
|
|
90
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
94
91
|
openColumn?: (boolean: boolean) => void;
|
|
95
92
|
openExport?: (boolean: boolean) => void;
|
|
96
93
|
}> & Readonly<{
|
|
@@ -101,15 +98,15 @@ declare function __VLS_template(): {
|
|
|
101
98
|
}) => any) | undefined;
|
|
102
99
|
}>, {
|
|
103
100
|
handleSubmit: () => void;
|
|
104
|
-
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: OpenModalParams) => void;
|
|
105
|
-
setModalProps(modalProps: ModalRenderState): void;
|
|
106
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
101
|
+
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: import('./components/TableColumnModal.vue').OpenModalParams) => void;
|
|
102
|
+
setModalProps(modalProps: import('../../../index').ModalRenderState): void;
|
|
103
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
107
104
|
"on-submit": (val: {
|
|
108
105
|
checkedModel: string[];
|
|
109
106
|
modalApi: TtModalExtendedModalApi;
|
|
110
107
|
isExport: boolean;
|
|
111
108
|
}) => any;
|
|
112
|
-
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
109
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
113
110
|
beforeCreate?: (() => void) | (() => void)[];
|
|
114
111
|
created?: (() => void) | (() => void)[];
|
|
115
112
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -122,13 +119,13 @@ declare function __VLS_template(): {
|
|
|
122
119
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
123
120
|
destroyed?: (() => void) | (() => void)[];
|
|
124
121
|
unmounted?: (() => void) | (() => void)[];
|
|
125
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
126
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
127
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
122
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
123
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
124
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
128
125
|
};
|
|
129
126
|
$forceUpdate: () => void;
|
|
130
127
|
$nextTick: typeof nextTick;
|
|
131
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
128
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
132
129
|
} & Readonly<{}> & Omit<Readonly<{
|
|
133
130
|
openColumn?: (boolean: boolean) => void;
|
|
134
131
|
openExport?: (boolean: boolean) => void;
|
|
@@ -138,11 +135,11 @@ declare function __VLS_template(): {
|
|
|
138
135
|
modalApi: TtModalExtendedModalApi;
|
|
139
136
|
isExport: boolean;
|
|
140
137
|
}) => any) | undefined;
|
|
141
|
-
}>, "setModalProps" | "openModal" | "handleSubmit"> & ShallowUnwrapRef<{
|
|
138
|
+
}>, "setModalProps" | "openModal" | "handleSubmit"> & import('vue').ShallowUnwrapRef<{
|
|
142
139
|
handleSubmit: () => void;
|
|
143
|
-
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: OpenModalParams) => void;
|
|
144
|
-
setModalProps(modalProps: ModalRenderState): void;
|
|
145
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
140
|
+
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: import('./components/TableColumnModal.vue').OpenModalParams) => void;
|
|
141
|
+
setModalProps(modalProps: import('../../../index').ModalRenderState): void;
|
|
142
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
146
143
|
$slots: {
|
|
147
144
|
title?(_: {}): any;
|
|
148
145
|
beforeFooter?(_: {}): any;
|
|
@@ -152,9 +149,9 @@ declare function __VLS_template(): {
|
|
|
152
149
|
rootEl: HTMLDivElement;
|
|
153
150
|
};
|
|
154
151
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
155
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
152
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
156
153
|
table: {
|
|
157
|
-
type: PropType<Partial<TtTableProps>>;
|
|
154
|
+
type: import('vue').PropType<Partial<TtTableProps>>;
|
|
158
155
|
default: () => {
|
|
159
156
|
autoHeight: boolean;
|
|
160
157
|
columnsKey: string;
|
|
@@ -162,11 +159,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
162
159
|
loading?: boolean;
|
|
163
160
|
emptyText?: string;
|
|
164
161
|
noSearchText?: string;
|
|
165
|
-
emptyImageStyle?: CSSProperties;
|
|
162
|
+
emptyImageStyle?: import('vue').CSSProperties;
|
|
166
163
|
emptyImageStatus?: "no-data" | "no-search";
|
|
167
164
|
showHeaderTooltip?: boolean;
|
|
168
165
|
showCellTooltip?: boolean;
|
|
169
|
-
formApi?: Partial<
|
|
166
|
+
formApi?: Partial<import('../../../index').TtExtendedFormApi>;
|
|
170
167
|
showSetting?: boolean;
|
|
171
168
|
showSetColumn?: boolean;
|
|
172
169
|
leftSlotWidth?: number;
|
|
@@ -191,10 +188,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
191
188
|
userId: string | number;
|
|
192
189
|
id: string | number;
|
|
193
190
|
}) => Promise<any>;
|
|
194
|
-
customizeColumn?: ((column: TtColumnOptions<any>) => TtColumnOptions<any>) | undefined;
|
|
191
|
+
customizeColumn?: ((column: import('../../../index').TtColumnOptions<any>) => import('../../../index').TtColumnOptions<any>) | undefined;
|
|
195
192
|
clearTreeExpand?: boolean;
|
|
196
|
-
data?: MaybeRef<any[]> | undefined;
|
|
197
|
-
columns?: MaybeRef<
|
|
193
|
+
data?: import('vue').MaybeRef<any[]> | undefined;
|
|
194
|
+
columns?: import('vue').MaybeRef<import('../../../index').TtColumnOptions<any>[]> | undefined;
|
|
198
195
|
testId?: string;
|
|
199
196
|
toolTipErrorPlacement?: "top" | "bottom" | "left" | "right";
|
|
200
197
|
id?: import("vxe-table").VxeTablePropTypes.ID<any> | undefined;
|
|
@@ -322,11 +319,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
322
319
|
actionTitle?: string;
|
|
323
320
|
isCellResize?: boolean;
|
|
324
321
|
isCellSort?: boolean;
|
|
325
|
-
actionProps?: TtColumnOptions<any> | undefined;
|
|
326
|
-
indexColumnProps?: TtColumnOptions<any> | undefined;
|
|
327
|
-
checkboxColumnProps?: TtColumnOptions<any> | undefined;
|
|
328
|
-
expandColumnProps?: TtColumnOptions<any> | undefined;
|
|
329
|
-
radioColumnProps?: TtColumnOptions<any> | undefined;
|
|
322
|
+
actionProps?: import('../../../index').TtColumnOptions<any> | undefined;
|
|
323
|
+
indexColumnProps?: import('../../../index').TtColumnOptions<any> | undefined;
|
|
324
|
+
checkboxColumnProps?: import('../../../index').TtColumnOptions<any> | undefined;
|
|
325
|
+
expandColumnProps?: import('../../../index').TtColumnOptions<any> | undefined;
|
|
326
|
+
radioColumnProps?: import('../../../index').TtColumnOptions<any> | undefined;
|
|
330
327
|
tableRowId?: string;
|
|
331
328
|
api?: (...arg: any[]) => Promise<globalThis.Recordable | globalThis.Recordable[]>;
|
|
332
329
|
filterApi?: (...arg: any[]) => Promise<globalThis.Recordable | globalThis.Recordable[]>;
|
|
@@ -345,23 +342,23 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
345
342
|
};
|
|
346
343
|
useSearchForm: any;
|
|
347
344
|
form: {
|
|
348
|
-
type: PropType<Partial<
|
|
345
|
+
type: import('vue').PropType<Partial<import('../../../index').TtFormProps>>;
|
|
349
346
|
default: () => {};
|
|
350
347
|
};
|
|
351
348
|
handleSearchInfoFn: {
|
|
352
|
-
type: PropType<Fn>;
|
|
349
|
+
type: import('vue').PropType<Fn>;
|
|
353
350
|
default: null;
|
|
354
351
|
};
|
|
355
352
|
tableRefreshBefore: {
|
|
356
|
-
type: PropType<Fn>;
|
|
353
|
+
type: import('vue').PropType<Fn>;
|
|
357
354
|
default: null;
|
|
358
355
|
};
|
|
359
356
|
tableSearchBefore: {
|
|
360
|
-
type: PropType<NonNullable<TtTableFormProps["tableSearchBefore"]>>;
|
|
357
|
+
type: import('vue').PropType<NonNullable<TtTableFormProps["tableSearchBefore"]>>;
|
|
361
358
|
default: null;
|
|
362
359
|
};
|
|
363
360
|
toolConfig: {
|
|
364
|
-
type: PropType<TtTableToolsProps>;
|
|
361
|
+
type: import('vue').PropType<import('../../../index').TtTableToolsProps>;
|
|
365
362
|
default: null;
|
|
366
363
|
};
|
|
367
364
|
testId: {
|
|
@@ -369,20 +366,20 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
369
366
|
default: undefined;
|
|
370
367
|
};
|
|
371
368
|
tableFormApi: {
|
|
372
|
-
type: PropType<TtTableExtendedTableFormApi>;
|
|
369
|
+
type: import('vue').PropType<TtTableExtendedTableFormApi>;
|
|
373
370
|
};
|
|
374
371
|
}>, {
|
|
375
|
-
instance: ComponentInternalInstance | null;
|
|
372
|
+
instance: import('vue').ComponentInternalInstance | null;
|
|
376
373
|
setTableProps: (props: Partial<TtTableProps<any>>) => void;
|
|
377
|
-
setFormProps: (props: Partial<
|
|
378
|
-
tableMethods: TtTableMethods<any>;
|
|
379
|
-
formMethods: TtTableRenderFormInstance<Record<string, any>>;
|
|
374
|
+
setFormProps: (props: Partial<import('../../../index').TtFormProps<Record<string, any>>>) => void;
|
|
375
|
+
tableMethods: import('../../../index').TtTableMethods<any>;
|
|
376
|
+
formMethods: import('../../../index').TtTableRenderFormInstance<Record<string, any>>;
|
|
380
377
|
setProps: (props: Partial<TtTableFormProps<any, Record<string, any>>>) => void;
|
|
381
|
-
reload: TtTableMethods<Row>["reload"];
|
|
382
|
-
selectedKeys: MaybeRef<TtSelectRowKeysType>;
|
|
383
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
378
|
+
reload: import('../../../index').TtTableMethods<Row>["reload"];
|
|
379
|
+
selectedKeys: import('vue').MaybeRef<import('../../../index').TtSelectRowKeysType>;
|
|
380
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
384
381
|
table: {
|
|
385
|
-
type: PropType<Partial<TtTableProps>>;
|
|
382
|
+
type: import('vue').PropType<Partial<TtTableProps>>;
|
|
386
383
|
default: () => {
|
|
387
384
|
autoHeight: boolean;
|
|
388
385
|
columnsKey: string;
|
|
@@ -390,11 +387,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
390
387
|
loading?: boolean;
|
|
391
388
|
emptyText?: string;
|
|
392
389
|
noSearchText?: string;
|
|
393
|
-
emptyImageStyle?: CSSProperties;
|
|
390
|
+
emptyImageStyle?: import('vue').CSSProperties;
|
|
394
391
|
emptyImageStatus?: "no-data" | "no-search";
|
|
395
392
|
showHeaderTooltip?: boolean;
|
|
396
393
|
showCellTooltip?: boolean;
|
|
397
|
-
formApi?: Partial<
|
|
394
|
+
formApi?: Partial<import('../../../index').TtExtendedFormApi>;
|
|
398
395
|
showSetting?: boolean;
|
|
399
396
|
showSetColumn?: boolean;
|
|
400
397
|
leftSlotWidth?: number;
|
|
@@ -419,10 +416,10 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
419
416
|
userId: string | number;
|
|
420
417
|
id: string | number;
|
|
421
418
|
}) => Promise<any>;
|
|
422
|
-
customizeColumn?: ((column: TtColumnOptions<any>) => TtColumnOptions<any>) | undefined;
|
|
419
|
+
customizeColumn?: ((column: import('../../../index').TtColumnOptions<any>) => import('../../../index').TtColumnOptions<any>) | undefined;
|
|
423
420
|
clearTreeExpand?: boolean;
|
|
424
|
-
data?: MaybeRef<any[]> | undefined;
|
|
425
|
-
columns?: MaybeRef<
|
|
421
|
+
data?: import('vue').MaybeRef<any[]> | undefined;
|
|
422
|
+
columns?: import('vue').MaybeRef<import('../../../index').TtColumnOptions<any>[]> | undefined;
|
|
426
423
|
testId?: string;
|
|
427
424
|
toolTipErrorPlacement?: "top" | "bottom" | "left" | "right";
|
|
428
425
|
id?: import("vxe-table").VxeTablePropTypes.ID<any> | undefined;
|
|
@@ -550,11 +547,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
550
547
|
actionTitle?: string;
|
|
551
548
|
isCellResize?: boolean;
|
|
552
549
|
isCellSort?: boolean;
|
|
553
|
-
actionProps?: TtColumnOptions<any> | undefined;
|
|
554
|
-
indexColumnProps?: TtColumnOptions<any> | undefined;
|
|
555
|
-
checkboxColumnProps?: TtColumnOptions<any> | undefined;
|
|
556
|
-
expandColumnProps?: TtColumnOptions<any> | undefined;
|
|
557
|
-
radioColumnProps?: TtColumnOptions<any> | undefined;
|
|
550
|
+
actionProps?: import('../../../index').TtColumnOptions<any> | undefined;
|
|
551
|
+
indexColumnProps?: import('../../../index').TtColumnOptions<any> | undefined;
|
|
552
|
+
checkboxColumnProps?: import('../../../index').TtColumnOptions<any> | undefined;
|
|
553
|
+
expandColumnProps?: import('../../../index').TtColumnOptions<any> | undefined;
|
|
554
|
+
radioColumnProps?: import('../../../index').TtColumnOptions<any> | undefined;
|
|
558
555
|
tableRowId?: string;
|
|
559
556
|
api?: (...arg: any[]) => Promise<globalThis.Recordable | globalThis.Recordable[]>;
|
|
560
557
|
filterApi?: (...arg: any[]) => Promise<globalThis.Recordable | globalThis.Recordable[]>;
|
|
@@ -573,23 +570,23 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
573
570
|
};
|
|
574
571
|
useSearchForm: any;
|
|
575
572
|
form: {
|
|
576
|
-
type: PropType<Partial<
|
|
573
|
+
type: import('vue').PropType<Partial<import('../../../index').TtFormProps>>;
|
|
577
574
|
default: () => {};
|
|
578
575
|
};
|
|
579
576
|
handleSearchInfoFn: {
|
|
580
|
-
type: PropType<Fn>;
|
|
577
|
+
type: import('vue').PropType<Fn>;
|
|
581
578
|
default: null;
|
|
582
579
|
};
|
|
583
580
|
tableRefreshBefore: {
|
|
584
|
-
type: PropType<Fn>;
|
|
581
|
+
type: import('vue').PropType<Fn>;
|
|
585
582
|
default: null;
|
|
586
583
|
};
|
|
587
584
|
tableSearchBefore: {
|
|
588
|
-
type: PropType<NonNullable<TtTableFormProps["tableSearchBefore"]>>;
|
|
585
|
+
type: import('vue').PropType<NonNullable<TtTableFormProps["tableSearchBefore"]>>;
|
|
589
586
|
default: null;
|
|
590
587
|
};
|
|
591
588
|
toolConfig: {
|
|
592
|
-
type: PropType<TtTableToolsProps>;
|
|
589
|
+
type: import('vue').PropType<import('../../../index').TtTableToolsProps>;
|
|
593
590
|
default: null;
|
|
594
591
|
};
|
|
595
592
|
testId: {
|
|
@@ -597,20 +594,20 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
597
594
|
default: undefined;
|
|
598
595
|
};
|
|
599
596
|
tableFormApi: {
|
|
600
|
-
type: PropType<TtTableExtendedTableFormApi>;
|
|
597
|
+
type: import('vue').PropType<TtTableExtendedTableFormApi>;
|
|
601
598
|
};
|
|
602
599
|
}>> & Readonly<{}>, {
|
|
603
|
-
form: Partial<
|
|
600
|
+
form: Partial<import('../../../index').TtFormProps<Record<string, any>>>;
|
|
604
601
|
table: Partial<TtTableProps>;
|
|
605
602
|
useSearchForm: any;
|
|
606
603
|
testId: string;
|
|
607
604
|
handleSearchInfoFn: Fn<any, any>;
|
|
608
|
-
toolConfig: TtTableToolsProps;
|
|
605
|
+
toolConfig: import('../../../index').TtTableToolsProps;
|
|
609
606
|
tableRefreshBefore: Fn<any, any>;
|
|
610
607
|
tableSearchBefore: (values: Record<string, any>, trigger: TtTableSearchTrigger) => TtTableSearchBeforeResult | Promise<TtTableSearchBeforeResult>;
|
|
611
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
608
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
612
609
|
columnModalRef: ({
|
|
613
|
-
$: ComponentInternalInstance;
|
|
610
|
+
$: import('vue').ComponentInternalInstance;
|
|
614
611
|
$data: {};
|
|
615
612
|
$props: {
|
|
616
613
|
readonly openColumn?: ((boolean: boolean) => void) | undefined;
|
|
@@ -620,7 +617,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
620
617
|
modalApi: TtModalExtendedModalApi;
|
|
621
618
|
isExport: boolean;
|
|
622
619
|
}) => any) | undefined;
|
|
623
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
620
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
624
621
|
$attrs: {
|
|
625
622
|
[x: string]: unknown;
|
|
626
623
|
};
|
|
@@ -630,8 +627,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
630
627
|
$slots: Readonly<{
|
|
631
628
|
[name: string]: Slot<any> | undefined;
|
|
632
629
|
}>;
|
|
633
|
-
$root: ComponentPublicInstance | null;
|
|
634
|
-
$parent: ComponentPublicInstance | null;
|
|
630
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
631
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
635
632
|
$host: Element | null;
|
|
636
633
|
$emit: (event: "on-submit", val: {
|
|
637
634
|
checkedModel: string[];
|
|
@@ -639,7 +636,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
639
636
|
isExport: boolean;
|
|
640
637
|
}) => void;
|
|
641
638
|
$el: any;
|
|
642
|
-
$options: ComponentOptionsBase<Readonly<{
|
|
639
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
643
640
|
openColumn?: (boolean: boolean) => void;
|
|
644
641
|
openExport?: (boolean: boolean) => void;
|
|
645
642
|
}> & Readonly<{
|
|
@@ -650,15 +647,15 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
650
647
|
}) => any) | undefined;
|
|
651
648
|
}>, {
|
|
652
649
|
handleSubmit: () => void;
|
|
653
|
-
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: OpenModalParams) => void;
|
|
654
|
-
setModalProps(modalProps: ModalRenderState): void;
|
|
655
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
650
|
+
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: import('./components/TableColumnModal.vue').OpenModalParams) => void;
|
|
651
|
+
setModalProps(modalProps: import('../../../index').ModalRenderState): void;
|
|
652
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
656
653
|
"on-submit": (val: {
|
|
657
654
|
checkedModel: string[];
|
|
658
655
|
modalApi: TtModalExtendedModalApi;
|
|
659
656
|
isExport: boolean;
|
|
660
657
|
}) => any;
|
|
661
|
-
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
658
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
662
659
|
beforeCreate?: (() => void) | (() => void)[];
|
|
663
660
|
created?: (() => void) | (() => void)[];
|
|
664
661
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -671,13 +668,13 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
671
668
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
672
669
|
destroyed?: (() => void) | (() => void)[];
|
|
673
670
|
unmounted?: (() => void) | (() => void)[];
|
|
674
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
675
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
676
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
671
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
672
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
673
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
677
674
|
};
|
|
678
675
|
$forceUpdate: () => void;
|
|
679
676
|
$nextTick: typeof nextTick;
|
|
680
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
677
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
681
678
|
} & Readonly<{}> & Omit<Readonly<{
|
|
682
679
|
openColumn?: (boolean: boolean) => void;
|
|
683
680
|
openExport?: (boolean: boolean) => void;
|
|
@@ -687,11 +684,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
687
684
|
modalApi: TtModalExtendedModalApi;
|
|
688
685
|
isExport: boolean;
|
|
689
686
|
}) => any) | undefined;
|
|
690
|
-
}>, "setModalProps" | "openModal" | "handleSubmit"> & ShallowUnwrapRef<{
|
|
687
|
+
}>, "setModalProps" | "openModal" | "handleSubmit"> & import('vue').ShallowUnwrapRef<{
|
|
691
688
|
handleSubmit: () => void;
|
|
692
|
-
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: OpenModalParams) => void;
|
|
693
|
-
setModalProps(modalProps: ModalRenderState): void;
|
|
694
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
689
|
+
openModal: ({ columns: source, displayFields, disabledColumnField, isExport }: import('./components/TableColumnModal.vue').OpenModalParams) => void;
|
|
690
|
+
setModalProps(modalProps: import('../../../index').ModalRenderState): void;
|
|
691
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
695
692
|
$slots: {
|
|
696
693
|
title?(_: {}): any;
|
|
697
694
|
beforeFooter?(_: {}): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef, InjectionKey
|
|
1
|
+
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
2
|
/**
|
|
3
3
|
* 行上下文 Key - 用于 provide/inject 当前行索引
|
|
4
4
|
*/
|
|
@@ -7,18 +7,18 @@ export declare const ROW_INDEX_KEY: InjectionKey<ComputedRef<number>>;
|
|
|
7
7
|
* 行上下文包装组件
|
|
8
8
|
* 用于在渲染表格行时提供当前行索引给子组件
|
|
9
9
|
*/
|
|
10
|
-
export declare const RowContext: DefineComponent<ExtractPropTypes<{
|
|
10
|
+
export declare const RowContext: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
11
|
/** 当前行索引 */
|
|
12
12
|
rowIndex: {
|
|
13
13
|
type: NumberConstructor;
|
|
14
14
|
required: true;
|
|
15
15
|
};
|
|
16
|
-
}>, () => VNode<RendererNode, RendererElement, {
|
|
16
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
17
17
|
[key: string]: any;
|
|
18
|
-
}>[] | undefined, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
18
|
+
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
19
|
/** 当前行索引 */
|
|
20
20
|
rowIndex: {
|
|
21
21
|
type: NumberConstructor;
|
|
22
22
|
required: true;
|
|
23
23
|
};
|
|
24
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropType, VNode
|
|
1
|
+
import { PropType, VNode } from 'vue';
|
|
2
2
|
import { TtActionItem } from '../types/tableAction';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
attrs: Partial<{}>;
|
|
@@ -13,7 +13,7 @@ declare function __VLS_template(): {
|
|
|
13
13
|
rootEl: HTMLDivElement;
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
17
17
|
/** 操作项 */
|
|
18
18
|
actions: {
|
|
19
19
|
type: PropType<TtActionItem[]>;
|
|
@@ -34,7 +34,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
34
34
|
stopButtonPropagation: any;
|
|
35
35
|
/** 操作按钮在宽度不足时是否自动换行 */
|
|
36
36
|
wrap: any;
|
|
37
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
37
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
38
38
|
/** 操作项 */
|
|
39
39
|
actions: {
|
|
40
40
|
type: PropType<TtActionItem[]>;
|
|
@@ -61,7 +61,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
61
61
|
actions: TtActionItem[];
|
|
62
62
|
slotContext: Record<string, any>;
|
|
63
63
|
stopButtonPropagation: any;
|
|
64
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
64
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
65
65
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
66
66
|
export default _default;
|
|
67
67
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PropType
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
2
|
import { TtActionItem } from '../types/tableAction';
|
|
3
|
-
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
/** 按钮acitons */
|
|
5
5
|
actions: {
|
|
6
6
|
type: PropType<TtActionItem[]>;
|
|
@@ -10,7 +10,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
10
10
|
divider: any;
|
|
11
11
|
/** 是否阻止默认行为 */
|
|
12
12
|
stopButtonPropagation: any;
|
|
13
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
13
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
14
|
/** 按钮acitons */
|
|
15
15
|
actions: {
|
|
16
16
|
type: PropType<TtActionItem[]>;
|
|
@@ -25,6 +25,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
25
25
|
stopButtonPropagation: any;
|
|
26
26
|
divider: any;
|
|
27
27
|
}, {}, {}, {
|
|
28
|
-
disabledTip: Directive;
|
|
29
|
-
}, string, ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
disabledTip: import('vue').Directive;
|
|
29
|
+
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
30
|
export default _default;
|
package/dist/components/tt-table/src/components/{TableColumnModal.d.ts → TableColumnModal.vue.d.ts}
RENAMED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TtModalExtendedModalApi, ModalRenderState } from '../../../tt-modal';
|
|
2
2
|
import { VxeTableDefines } from 'vxe-table';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
3
|
export interface OpenModalParams {
|
|
5
4
|
columns: VxeTableDefines.ColumnOptions[];
|
|
6
5
|
displayFields?: string[];
|
|
@@ -26,25 +25,25 @@ declare function __VLS_template(): {
|
|
|
26
25
|
rootEl: any;
|
|
27
26
|
};
|
|
28
27
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
-
declare const __VLS_component: DefineComponent<__VLS_Props, {
|
|
28
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
30
29
|
handleSubmit: typeof handleSubmit;
|
|
31
30
|
openModal: typeof openModal;
|
|
32
31
|
setModalProps(modalProps: ModalRenderState): void;
|
|
33
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
32
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
33
|
"on-submit": (val: {
|
|
35
34
|
checkedModel: string[];
|
|
36
35
|
modalApi: TtModalExtendedModalApi;
|
|
37
36
|
/** 是否调用保存接口 */
|
|
38
37
|
isExport: boolean;
|
|
39
38
|
}) => any;
|
|
40
|
-
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
41
40
|
"onOn-submit"?: ((val: {
|
|
42
41
|
checkedModel: string[];
|
|
43
42
|
modalApi: TtModalExtendedModalApi;
|
|
44
43
|
/** 是否调用保存接口 */
|
|
45
44
|
isExport: boolean;
|
|
46
45
|
}) => any) | undefined;
|
|
47
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
48
47
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
49
48
|
export default _default;
|
|
50
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Recordable } from '../../../../../../utils/src';
|
|
2
|
-
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
2
|
declare function __VLS_template(): {
|
|
4
3
|
attrs: Partial<{}>;
|
|
5
4
|
slots: Readonly<{
|
|
@@ -15,7 +14,7 @@ declare function __VLS_template(): {
|
|
|
15
14
|
rootEl: HTMLDivElement;
|
|
16
15
|
};
|
|
17
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
19
18
|
showSetting: {
|
|
20
19
|
type: BooleanConstructor;
|
|
21
20
|
default: boolean;
|
|
@@ -33,14 +32,14 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
33
32
|
default: boolean;
|
|
34
33
|
};
|
|
35
34
|
columnsKey: {
|
|
36
|
-
type: PropType<string | (() => string)>;
|
|
35
|
+
type: import('vue').PropType<string | (() => string)>;
|
|
37
36
|
default: string;
|
|
38
37
|
};
|
|
39
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
38
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
40
39
|
"on-refresh": () => any;
|
|
41
40
|
"on-columns-setting": () => any;
|
|
42
41
|
"on-export": () => any;
|
|
43
|
-
}, string, PublicProps, Readonly<
|
|
42
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
43
|
showSetting: {
|
|
45
44
|
type: BooleanConstructor;
|
|
46
45
|
default: boolean;
|
|
@@ -58,7 +57,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
58
57
|
default: boolean;
|
|
59
58
|
};
|
|
60
59
|
columnsKey: {
|
|
61
|
-
type: PropType<string | (() => string)>;
|
|
60
|
+
type: import('vue').PropType<string | (() => string)>;
|
|
62
61
|
default: string;
|
|
63
62
|
};
|
|
64
63
|
}>> & Readonly<{
|
|
@@ -71,7 +70,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
71
70
|
showExport: boolean;
|
|
72
71
|
columnsKey: string | (() => string);
|
|
73
72
|
showSetColumn: boolean;
|
|
74
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
73
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
75
74
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
76
75
|
export default _default;
|
|
77
76
|
type __VLS_WithTemplateSlots<T, S> = T & {
|