@esvndev/es-react-config-setting 1.0.79 → 1.0.80
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/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18688,7 +18688,7 @@ const getToken = () => {
|
|
|
18688
18688
|
};
|
|
18689
18689
|
//#endregion
|
|
18690
18690
|
const GetSettingGroup = (callback) => {
|
|
18691
|
-
const _url = `${BASE_URL}/api/
|
|
18691
|
+
const _url = `${BASE_URL}/api/escore/get-setting-config-group`;
|
|
18692
18692
|
const options = {
|
|
18693
18693
|
method: 'POST',
|
|
18694
18694
|
headers: {
|
|
@@ -18726,7 +18726,7 @@ const GetSettingGroup = (callback) => {
|
|
|
18726
18726
|
});
|
|
18727
18727
|
};
|
|
18728
18728
|
const GetSettingConfigClient = async (callback) => {
|
|
18729
|
-
const _url = `${BASE_URL}/api/
|
|
18729
|
+
const _url = `${BASE_URL}/api/escore/get-setting-config-client`;
|
|
18730
18730
|
const _obj = {
|
|
18731
18731
|
ModuleId: REACT_APP_PRODUCT_CODE,
|
|
18732
18732
|
StateId: '',
|
|
@@ -18769,7 +18769,7 @@ const GetSettingConfigClient = async (callback) => {
|
|
|
18769
18769
|
});
|
|
18770
18770
|
};
|
|
18771
18771
|
const GetSettingConfigByGroup = (obj, callback) => {
|
|
18772
|
-
const _url = `${BASE_URL}/api/
|
|
18772
|
+
const _url = `${BASE_URL}/api/escore/get-setting-config-by-group`;
|
|
18773
18773
|
const options = {
|
|
18774
18774
|
method: 'POST',
|
|
18775
18775
|
headers: {
|
|
@@ -18807,7 +18807,7 @@ const GetSettingConfigByGroup = (obj, callback) => {
|
|
|
18807
18807
|
};
|
|
18808
18808
|
//Update setting data
|
|
18809
18809
|
const UpdateSettingConfig = (obj, file, callback) => {
|
|
18810
|
-
const _url = `${BASE_URL}/api/
|
|
18810
|
+
const _url = `${BASE_URL}/api/escore/update-setting-config`;
|
|
18811
18811
|
const formData = new FormData();
|
|
18812
18812
|
formData.append(`GroupId`, obj.GroupId);
|
|
18813
18813
|
formData.append(`ModuleId`, REACT_APP_PRODUCT_CODE ?? "");
|
package/dist/index.mjs
CHANGED
|
@@ -18661,7 +18661,7 @@ const getToken = () => {
|
|
|
18661
18661
|
};
|
|
18662
18662
|
//#endregion
|
|
18663
18663
|
const GetSettingGroup = (callback) => {
|
|
18664
|
-
const _url = `${BASE_URL}/api/
|
|
18664
|
+
const _url = `${BASE_URL}/api/escore/get-setting-config-group`;
|
|
18665
18665
|
const options = {
|
|
18666
18666
|
method: 'POST',
|
|
18667
18667
|
headers: {
|
|
@@ -18699,7 +18699,7 @@ const GetSettingGroup = (callback) => {
|
|
|
18699
18699
|
});
|
|
18700
18700
|
};
|
|
18701
18701
|
const GetSettingConfigClient = async (callback) => {
|
|
18702
|
-
const _url = `${BASE_URL}/api/
|
|
18702
|
+
const _url = `${BASE_URL}/api/escore/get-setting-config-client`;
|
|
18703
18703
|
const _obj = {
|
|
18704
18704
|
ModuleId: REACT_APP_PRODUCT_CODE,
|
|
18705
18705
|
StateId: '',
|
|
@@ -18742,7 +18742,7 @@ const GetSettingConfigClient = async (callback) => {
|
|
|
18742
18742
|
});
|
|
18743
18743
|
};
|
|
18744
18744
|
const GetSettingConfigByGroup = (obj, callback) => {
|
|
18745
|
-
const _url = `${BASE_URL}/api/
|
|
18745
|
+
const _url = `${BASE_URL}/api/escore/get-setting-config-by-group`;
|
|
18746
18746
|
const options = {
|
|
18747
18747
|
method: 'POST',
|
|
18748
18748
|
headers: {
|
|
@@ -18780,7 +18780,7 @@ const GetSettingConfigByGroup = (obj, callback) => {
|
|
|
18780
18780
|
};
|
|
18781
18781
|
//Update setting data
|
|
18782
18782
|
const UpdateSettingConfig = (obj, file, callback) => {
|
|
18783
|
-
const _url = `${BASE_URL}/api/
|
|
18783
|
+
const _url = `${BASE_URL}/api/escore/update-setting-config`;
|
|
18784
18784
|
const formData = new FormData();
|
|
18785
18785
|
formData.append(`GroupId`, obj.GroupId);
|
|
18786
18786
|
formData.append(`ModuleId`, REACT_APP_PRODUCT_CODE ?? "");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esvndev/es-react-config-setting",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.80",
|
|
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
|
"author": "dev@esvn.com.vn",
|
|
6
6
|
"license": "ESVN Limited Use License",
|