@esvndev/es-react-table-interface 1.6.26 → 1.6.28

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.
@@ -1,4 +1,4 @@
1
- import { IQueryFilter } from "../../interface";
1
+ import { IQueryFilter, ISettingTable } from "../../interface";
2
2
  import { IToolbarTemplate } from "../../ultility/Export";
3
3
  export declare const getSettingTable: ({ stateId, group, setGroupColumns, setSettingTable }: {
4
4
  stateId: any;
@@ -39,5 +39,6 @@ export declare const renderData: ({ id, more, more1 }: {
39
39
  columns: any;
40
40
  callback?: any;
41
41
  setParaJson?: any;
42
+ settingTable?: ISettingTable;
42
43
  };
43
44
  }) => Promise<void>;
@@ -1,9 +1,13 @@
1
1
  import { IToolbarTemplate } from "../../ultility/Export";
2
- export declare const listFilterDate: () => {
2
+ export declare const listFilterDate: () => ({
3
+ value: null;
4
+ label: string;
5
+ type: never[];
6
+ } | {
3
7
  value: number;
4
8
  label: string;
5
9
  type: Date[];
6
- }[];
10
+ })[];
7
11
  export declare const ToolbarTemplate: (props: IToolbarTemplate[]) => {
8
12
  template: any;
9
13
  position: string;
package/dist/func.d.ts CHANGED
@@ -38,3 +38,13 @@ export declare const connectString: (t: any, props: string[]) => any;
38
38
  export declare const PermissionResolveTree: (data: any) => any[];
39
39
  export declare const getFormatColumnsPrint: (type: any) => "dd/MM/yyyy" | "dd/MM/yyyy HH:mm" | undefined;
40
40
  export declare const getDataTypeColumnsPrint: (type: any) => "number" | "date" | undefined;
41
+ type Node = {
42
+ [key: string]: any;
43
+ };
44
+ export declare const buildTree: (props: {
45
+ list: Node[];
46
+ parentValue: string | null;
47
+ fieldParent: string;
48
+ fieldChild: string;
49
+ }) => Node[];
50
+ export {};