@esvndev/es-react-table-interface 1.7.37 → 1.7.39
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/dist/component/ExternalInterface/ExternalInterface.d.ts +0 -10
- package/dist/component/ExternalInterface/func.d.ts +2 -1
- package/dist/component/ExternalInterface/modalSetView.d.ts +1 -0
- package/dist/index.js +5 -5
- package/dist/interface.d.ts +5 -0
- package/dist/ultility/request/index.d.ts +7 -8
- package/package.json +1 -4
package/dist/interface.d.ts
CHANGED
|
@@ -238,6 +238,11 @@ export interface IExternalInterface {
|
|
|
238
238
|
apiGetOption: any;
|
|
239
239
|
apiGetDataView: any;
|
|
240
240
|
};
|
|
241
|
+
processEnv?: {
|
|
242
|
+
REACT_APP_PRODUCT_CODE?: any;
|
|
243
|
+
REACT_APP_BASE_URL_CDN?: any;
|
|
244
|
+
REACT_APP_BASE_URL?: any;
|
|
245
|
+
};
|
|
241
246
|
/**Biến kiểm tra có quy trình duyệt*/
|
|
242
247
|
hasWorkflow?: boolean;
|
|
243
248
|
/**Khai báo thuộc tính chức năng quy trình duyệt*/
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
export declare const BASE_URL: string | undefined;
|
|
2
2
|
export declare const CDN_URL_VIEW: string | undefined;
|
|
3
3
|
export declare const getToken: () => string | null;
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const apiDeleteResource: (listId: string[], config?: any, timeout?: number) => Promise<any>;
|
|
4
|
+
export declare const apiTableConfig: (data?: any, baseUrl?: any, config?: any, timeout?: number) => Promise<any>;
|
|
5
|
+
export declare const apiGetDataView: (data?: any, baseUrl?: any, config?: any, timeout?: number) => Promise<any>;
|
|
6
|
+
export declare const apiTableconfigAddEditDelete: (data?: any, baseUrl?: any, config?: any, timeout?: number) => Promise<any>;
|
|
7
|
+
export declare const apiAddResource: (data?: any, baseUrl?: any, config?: any, timeout?: number) => Promise<any>;
|
|
8
|
+
export declare const apiEditResource: (data?: any, baseUrl?: any, config?: any, timeout?: number) => Promise<any>;
|
|
9
|
+
export declare const apiDeleteResource: (listId: string[], baseUrl?: any, config?: any, timeout?: number) => Promise<any>;
|
|
11
10
|
export declare const apiGetViewPermission: (data: {
|
|
12
11
|
productCode: string;
|
|
13
12
|
code: string;
|
|
14
13
|
type?: string;
|
|
15
14
|
organizationId?: string;
|
|
16
|
-
}, config?: RequestInit, timeout?: number) => Promise<any>;
|
|
15
|
+
}, baseUrl?: any, config?: RequestInit, timeout?: number) => Promise<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esvndev/es-react-table-interface",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.39",
|
|
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",
|
|
@@ -63,9 +63,6 @@
|
|
|
63
63
|
"eslint-plugin-react": "^7.31.8",
|
|
64
64
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
65
65
|
"eslint-plugin-simple-import-sort": "^8.0.0",
|
|
66
|
-
"i18next": "^21.8.2",
|
|
67
|
-
"i18next-browser-languagedetector": "^6.1.4",
|
|
68
|
-
"i18next-xhr-backend": "3.2.2",
|
|
69
66
|
"jest": "^29.7.0",
|
|
70
67
|
"jest-css-modules": "^2.1.0",
|
|
71
68
|
"jest-environment-jsdom": "^29.7.0",
|