@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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "test": "THIS IS ENGLISH"
3
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "xxx": "这是页面"
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: {
@@ -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
+ };
@@ -197,7 +197,7 @@
197
197
  .column-select{
198
198
  padding: 20px;
199
199
 
200
- .ant-checkbox-group{
200
+ .ant-row{
201
201
  width: 100%;
202
202
  line-height: 32px;
203
203
  }
@@ -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;