@dazhicheng/ui 1.5.126 → 1.5.128
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-table/src/components/TableColumnModal.vue.d.ts +10 -4
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +11 -0
- package/dist/components/tt-table/src/toolProps.d.ts +5 -0
- package/dist/components/tt-table/src/types/tableTools.d.ts +2 -0
- package/dist/components/types.d.ts +5 -0
- package/dist/index.js +6201 -6163
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -1,28 +1,34 @@
|
|
|
1
|
-
import { TtModalExtendedModalApi } from '../../../tt-modal';
|
|
1
|
+
import { TtModalExtendedModalApi, ModalRenderState } from '../../../tt-modal';
|
|
2
2
|
import { VxeTableDefines } from 'vxe-table';
|
|
3
3
|
interface OpenModalParams {
|
|
4
4
|
columns: VxeTableDefines.ColumnOptions[];
|
|
5
5
|
displayFields?: string[];
|
|
6
6
|
disabledColumnField: string[];
|
|
7
|
+
isExport?: boolean;
|
|
7
8
|
}
|
|
8
9
|
type __VLS_Props = {
|
|
9
10
|
/** 打开方法 */
|
|
10
|
-
openMethod?: () => void;
|
|
11
|
+
openMethod?: (boolean: boolean) => void;
|
|
11
12
|
};
|
|
12
13
|
/** @param params - 列数据、默认展示字段、禁用字段 */
|
|
13
|
-
declare function openModal({ columns, displayFields, disabledColumnField }: OpenModalParams): void;
|
|
14
|
+
declare function openModal({ columns, displayFields, disabledColumnField, isExport }: OpenModalParams): void;
|
|
14
15
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
15
|
-
handleSubmit:
|
|
16
|
+
handleSubmit: () => void;
|
|
16
17
|
openModal: typeof openModal;
|
|
18
|
+
setModalProps(modalProps: ModalRenderState): void;
|
|
17
19
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
20
|
"on-submit": (val: {
|
|
19
21
|
checkedModel: string[];
|
|
20
22
|
modalApi: TtModalExtendedModalApi;
|
|
23
|
+
/** 是否调用保存接口 */
|
|
24
|
+
isExport: boolean;
|
|
21
25
|
}) => any;
|
|
22
26
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
27
|
"onOn-submit"?: ((val: {
|
|
24
28
|
checkedModel: string[];
|
|
25
29
|
modalApi: TtModalExtendedModalApi;
|
|
30
|
+
/** 是否调用保存接口 */
|
|
31
|
+
isExport: boolean;
|
|
26
32
|
}) => any) | undefined;
|
|
27
33
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
28
34
|
contentRef: HTMLDivElement;
|
|
@@ -271,6 +271,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
271
271
|
type: BooleanConstructor;
|
|
272
272
|
default: boolean;
|
|
273
273
|
};
|
|
274
|
+
showExport: {
|
|
275
|
+
type: BooleanConstructor;
|
|
276
|
+
default: boolean;
|
|
277
|
+
};
|
|
274
278
|
showSetColumn: {
|
|
275
279
|
type: BooleanConstructor;
|
|
276
280
|
default: boolean;
|
|
@@ -279,6 +283,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
279
283
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
280
284
|
"on-refresh": () => any;
|
|
281
285
|
"on-columns-setting": () => any;
|
|
286
|
+
"on-export": () => any;
|
|
282
287
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
283
288
|
showSetting: {
|
|
284
289
|
type: BooleanConstructor;
|
|
@@ -288,6 +293,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
288
293
|
type: BooleanConstructor;
|
|
289
294
|
default: boolean;
|
|
290
295
|
};
|
|
296
|
+
showExport: {
|
|
297
|
+
type: BooleanConstructor;
|
|
298
|
+
default: boolean;
|
|
299
|
+
};
|
|
291
300
|
showSetColumn: {
|
|
292
301
|
type: BooleanConstructor;
|
|
293
302
|
default: boolean;
|
|
@@ -296,9 +305,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
296
305
|
}>> & Readonly<{
|
|
297
306
|
"onOn-refresh"?: (() => any) | undefined;
|
|
298
307
|
"onOn-columns-setting"?: (() => any) | undefined;
|
|
308
|
+
"onOn-export"?: (() => any) | undefined;
|
|
299
309
|
}>, {
|
|
300
310
|
showSetting: boolean;
|
|
301
311
|
showRefresh: boolean;
|
|
312
|
+
showExport: boolean;
|
|
302
313
|
columnsKey: any;
|
|
303
314
|
showSetColumn: boolean;
|
|
304
315
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|