@esvndev/es-react-table-interface 1.0.11 → 1.0.12

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,7 +1,7 @@
1
1
  import { TFunction } from 'i18next';
2
2
  import { currencies } from './ultility/constantConfigNumeric';
3
3
  import { IButtonToolbar, IToolbarTemplate } from './ultility/Export/InterfaceExport';
4
- import { ColumnsType } from 'es-grid-template/lib/grid-component/type';
4
+ import { ColumnTable } from 'es-grid-template/lib/grid-component/type';
5
5
  export interface IBreadCrumbsNotLinkProps {
6
6
  breadCrumbTitle?: string;
7
7
  breadCrumbActive: string;
@@ -55,7 +55,22 @@ export interface IHeaderToolbar {
55
55
  * @param stateChildId Mã các bảng con vd ['Table1', 'Table2'], bảng con đính kém: 'AttachFile'
56
56
  * @param titleChild Tiêu đề của tabChild
57
57
  */
58
+ export interface IBreadCrumbsNotLinkProps {
59
+ breadCrumbTitle?: string;
60
+ breadCrumbActive: string;
61
+ breadCrumbParent?: {
62
+ link?: string;
63
+ title: string;
64
+ }[];
65
+ }
66
+ export interface IHeaderToolbar {
67
+ breadCrumb: IBreadCrumbsNotLinkProps;
68
+ buttons?: IButtonToolbar[];
69
+ CanPer: any;
70
+ t: TFunction;
71
+ }
58
72
  export interface IExternalInterface {
73
+ windowSize?: any;
59
74
  rowDataBound?: any;
60
75
  stateId: string;
61
76
  titleChild?: string;
@@ -64,7 +79,7 @@ export interface IExternalInterface {
64
79
  stateName: string;
65
80
  querySelectDefault?: IQueryFilter[];
66
81
  dataSource?: any[];
67
- columns?: ColumnsType;
82
+ columns?: ColumnTable[];
68
83
  totalCount?: number;
69
84
  allowPaging?: boolean;
70
85
  allowResizing?: boolean;
@@ -119,6 +134,13 @@ export interface IExternalInterface {
119
134
  initProcessApi: any;
120
135
  deleteProcessApi: any;
121
136
  };
137
+ printApi?: {
138
+ getListGeneralSettingApi: any;
139
+ deleteGeneralSettingApi: any;
140
+ updateGeneralSettingApi: any;
141
+ printDocumentApi: any;
142
+ uploadFileApi: any;
143
+ };
122
144
  format?: {
123
145
  thousandSeparator?: string;
124
146
  decimalSeparator?: string;
@@ -134,6 +156,7 @@ export interface IExternalInterface {
134
156
  monthFormat?: string;
135
157
  yearFormat?: string;
136
158
  };
159
+ showUltilities?: boolean;
137
160
  allowPaging?: boolean;
138
161
  allowResizing?: boolean;
139
162
  summary?: boolean;
@@ -143,7 +166,7 @@ export interface IExternalInterface {
143
166
  checkInit?: any;
144
167
  checkInit1?: any;
145
168
  checkInit2?: any;
146
- columns?: ColumnsType;
169
+ columns?: ColumnTable[];
147
170
  totalCount?: number;
148
171
  hideSelectAll?: boolean;
149
172
  rowSelection?: {
@@ -1,9 +1,10 @@
1
1
  import { IGridColumns } from "../IGridColumns";
2
+ import { ColumnTable } from "es-grid-template/lib/grid-component/type";
2
3
  export declare const renderColumnTableGrid: (res: any[], t: any, more: {
3
4
  hasIndex?: boolean;
4
5
  breakText?: boolean;
5
6
  hasWorkflow?: boolean;
6
- }) => import("es-grid-template/lib/grid-component/type").ColumnType<any>[];
7
+ }) => ColumnTable[];
7
8
  /**
8
9
  * render cột cho table be-table-template
9
10
  * @param res là dữ liệu cấu hình bảng api trả về
@@ -1,2 +1,3 @@
1
1
  import React from "react";
2
2
  export declare const currentProcessTemplate: (props: any) => React.JSX.Element;
3
+ export declare const defaultPrintSetting: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esvndev/es-react-table-interface",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "This product is designed by ESVN and is only for use in products distributed by ESVN. Any product, whether for non-commercial research or commercial purposes, must have written legal approval and a digital signature from ESVN.",
5
5
  "license": "ESVN Limited Use License",
6
6
  "author": "dev@esvn.com.vn",
@@ -27,6 +27,7 @@
27
27
  "ESVN"
28
28
  ],
29
29
  "devDependencies": {
30
+ "@esvndev/es-react-import-export": "1.0.88",
30
31
  "@rollup/plugin-commonjs": "^20.0.0",
31
32
  "@rollup/plugin-json": "^6.1.0",
32
33
  "@rollup/plugin-node-resolve": "^13.0.4",
@@ -49,7 +50,8 @@
49
50
  "axios": "^1.7.2",
50
51
  "becoxy-icons": "1.9.9",
51
52
  "classnames": "^2.5.1",
52
- "es-grid-template": "1.2.8",
53
+ "es-grid-template": "1.3.1",
54
+ "es-print-template": "0.0.7",
53
55
  "es-workflow-template": "^0.4.2",
54
56
  "eslint": "^8.25.0",
55
57
  "eslint-config-prettier": "^8.5.0",