@dt-frames/ui 1.0.23 → 1.0.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/es/assets/locales/en.json +3 -0
- package/es/assets/locales/zh.json +3 -0
- package/es/components/curd/src/components/dialog.d.ts +1 -0
- package/es/components/curd/src/hooks/useCurd.d.ts +5 -0
- package/es/components/forms/src/index.d.ts +1 -0
- package/es/components/index.d.ts +1 -2
- package/es/components/source/src/hooks/useDownload.d.ts +7 -0
- package/es/components/table/index.less +1 -1
- package/es/components/table/src/components/setting/Column.d.ts +1 -0
- package/es/components/table/src/components/setting/Download.d.ts +1887 -0
- package/es/components/table/src/components/setting/DownloadCtrl.d.ts +1882 -0
- package/es/components/table/src/components/setting/Fullscreen.d.ts +1 -0
- package/es/components/table/src/components/setting/Size.d.ts +1 -0
- package/es/components/table/src/hooks/useTableInstance.d.ts +1 -0
- package/es/index.js +164 -72
- package/es/theme/header/components/lang-picker.d.ts +1 -1
- package/package.json +1 -1
- package/es/components/excel/index.d.ts +0 -2
- package/es/components/excel/src/export2Excel.d.ts +0 -3
|
@@ -208,6 +208,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
208
208
|
}>>;
|
|
209
209
|
setFormModel: (key: string, value: any) => void;
|
|
210
210
|
handleMethod: (params: boolean | import("@dt-frames/core").ButtonProps) => void;
|
|
211
|
+
handleEnterPress: () => void;
|
|
211
212
|
getActionsProps: import("vue").ComputedRef<Recordable<any>>;
|
|
212
213
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("register" | "reset")[], "register" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
213
214
|
mode: {
|
|
@@ -8,5 +8,10 @@ export declare function useCurd(curdOpt: CrudOptType): {
|
|
|
8
8
|
del: ({ row }: Recordable) => void;
|
|
9
9
|
dels: (ids?: string[]) => void;
|
|
10
10
|
update: ({ row }: Recordable) => void;
|
|
11
|
+
closeModal: () => void;
|
|
12
|
+
openModal: (data?: {
|
|
13
|
+
data?: Recordable<any>;
|
|
14
|
+
afterClose?: (data: Recordable<any>) => void;
|
|
15
|
+
}, openOnSet?: boolean) => void;
|
|
11
16
|
setFormValues: (params: Recordable) => void;
|
|
12
17
|
};
|
|
@@ -117,6 +117,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
117
|
}>>;
|
|
118
118
|
setFormModel: (key: string, value: any) => void;
|
|
119
119
|
handleMethod: (params: boolean | ButtonProps) => void;
|
|
120
|
+
handleEnterPress: () => void;
|
|
120
121
|
getActionsProps: import("vue").ComputedRef<Recordable<any>>;
|
|
121
122
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("register" | "reset")[], "register" | "reset", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
122
123
|
mode: {
|
package/es/components/index.d.ts
CHANGED
|
@@ -6,11 +6,10 @@ import { DtForm, useForm, FormButtons } from './forms';
|
|
|
6
6
|
import { DtTable, useTable } from './table';
|
|
7
7
|
import { useSource } from './source';
|
|
8
8
|
import { useCurd } from './curd';
|
|
9
|
-
import { export2Excel } from './excel';
|
|
10
9
|
import { DtIframe } from './iframe';
|
|
11
10
|
import { DtUpload } from './upload';
|
|
12
11
|
import { DtTree } from './tree';
|
|
13
12
|
export declare function initComponents(): {
|
|
14
13
|
install(app: App): void;
|
|
15
14
|
};
|
|
16
|
-
export { DtBaseRouter, DtIcon, DtPickIcon, DtModal, DtForm, DtTable, FormButtons, DtIframe, DtUpload, DtTree, useForm, useTable, useSource, useCurd, useModal, useModalOut
|
|
15
|
+
export { DtBaseRouter, DtIcon, DtPickIcon, DtModal, DtForm, DtTable, FormButtons, DtIframe, DtUpload, DtTree, useForm, useTable, useSource, useCurd, useModal, useModalOut };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DownloadType } from '../../../table/src/types/tableHeader.type';
|
|
2
|
+
import { Recordable } from '@dt-frames/core';
|
|
3
|
+
export declare function useDownload(exportUrl: string, exportName: string): {
|
|
4
|
+
download: (excelData: DownloadType & {
|
|
5
|
+
params: Recordable;
|
|
6
|
+
}) => void;
|
|
7
|
+
};
|
|
@@ -12,6 +12,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
12
12
|
getBind: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
13
13
|
}, "getBind"> & {
|
|
14
14
|
getBind: import("vue").ComputedRef<import("../../types/table.type").BasicTableProps>;
|
|
15
|
+
getProps: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
15
16
|
};
|
|
16
17
|
defaultRowSelection: any;
|
|
17
18
|
inited: boolean;
|