@dt-frames/ui 1.0.22 → 1.0.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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "test": "THIS IS ENGLISH"
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "xxx": "这是页面"
3
+ }
@@ -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
  };
@@ -35,7 +35,8 @@
35
35
  transform: all 0.25s;
36
36
  p{
37
37
  font-size: 14px;
38
- line-height: 24x;
38
+ line-height: 24px;
39
+ margin: 0;
39
40
  span{
40
41
  opacity: 0.7;
41
42
  font-size: 12px;
@@ -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, export2Excel };
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
+ };
@@ -192,4 +192,16 @@
192
192
  }
193
193
  }
194
194
  }
195
+ }
196
+
197
+ .column-select{
198
+ padding: 20px;
199
+
200
+ .ant-row{
201
+ width: 100%;
202
+ line-height: 32px;
203
+ }
204
+ .ant-divider-horizontal{
205
+ margin: 16px 0;
206
+ }
195
207
  }
@@ -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;