tnx-shared 6.0.6 → 6.0.7
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/bundles/tnx-shared.umd.js +2 -12
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/esm2015/services/common/common.js +1 -12
- package/esm2015/services/permission.service.js +3 -2
- package/fesm2015/tnx-shared.js +2 -12
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +1 -1
- package/services/common/common.d.ts +0 -5
- package/services/common/common.d.ts.map +1 -1
- package/services/permission.service.d.ts.map +1 -1
|
@@ -5839,11 +5839,6 @@
|
|
|
5839
5839
|
this._moduleConfigService = _moduleConfigService;
|
|
5840
5840
|
// Obfuscation key - không thay đổi sau khi đã encode các endpoint
|
|
5841
5841
|
this._K = 'H3m1s@V5#2024!Dn';
|
|
5842
|
-
this.DANHMUC_EP = "";
|
|
5843
|
-
this.VANBANG_EP = "";
|
|
5844
|
-
this.KHO_EP = "";
|
|
5845
|
-
this.CHIASE_EP = "";
|
|
5846
|
-
this.BAOCAO_EP = "";
|
|
5847
5842
|
this.AU_EP = "";
|
|
5848
5843
|
this.US_EP = "";
|
|
5849
5844
|
this.TMPLATE_EP = "";
|
|
@@ -5853,11 +5848,6 @@
|
|
|
5853
5848
|
this.DOS_EP = "";
|
|
5854
5849
|
this.comonurl = "";
|
|
5855
5850
|
this.comonurl = _moduleConfigService.getConfig().environment.gateway + '/' + _moduleConfigService.getConfig().environment.gwenv;
|
|
5856
|
-
this.DANHMUC_EP = this.comonurl + '/danhmuc'; // TODO: paste kết quả t6m1('https://...') vào đây
|
|
5857
|
-
this.VANBANG_EP = this.comonurl + '/vanbangso'; // TODO: paste kết quả t6m1('https://...') vào đây
|
|
5858
|
-
this.KHO_EP = this.comonurl + '/khodulieu'; // TODO: paste kết quả t6m1('https://...') vào đây
|
|
5859
|
-
this.CHIASE_EP = this.comonurl + '/chiaseapi'; // TODO: paste kết quả t6m1('https://...') vào đây
|
|
5860
|
-
this.BAOCAO_EP = this.comonurl + '/baocao'; // TODO: paste kết quả t6m1('https://...') vào đây
|
|
5861
5851
|
this.AU_EP = this.comonurl + '/authorization'; // TODO: paste kết quả t6m1('https://...') vào đây
|
|
5862
5852
|
this.US_EP = this.comonurl + '/userorg'; // TODO: paste kết quả t6m1('https://...') vào đây
|
|
5863
5853
|
this.TMPLATE_EP = this.comonurl + '/template'; // TODO: paste kết quả t6m1('https://...') vào đây
|
|
@@ -5865,7 +5855,6 @@
|
|
|
5865
5855
|
this.NOTI_EP = this.comonurl + '/noti/v5'; // TODO: paste kết quả t6m1('https://...') vào đây
|
|
5866
5856
|
this.NOTICRUD_EP = this.comonurl + '/notification/v5'; // TODO: paste kết quả t6m1('https://...') vào đây
|
|
5867
5857
|
this.DOS_EP = this.comonurl + '/documentserver'; // TODO: paste kết quả t6m1('https://...') vào đây
|
|
5868
|
-
console.log("comonurl_____" + this.comonurl);
|
|
5869
5858
|
}
|
|
5870
5859
|
/**
|
|
5871
5860
|
* Mã hóa endpoint URL (dùng 1 lần để tạo constant, không gọi lúc runtime).
|
|
@@ -22132,7 +22121,6 @@
|
|
|
22132
22121
|
switch (_d.label) {
|
|
22133
22122
|
case 0:
|
|
22134
22123
|
key = "AT." + service.toUpperCase();
|
|
22135
|
-
console.log("P414_____");
|
|
22136
22124
|
if (!overrideLocalStorage) {
|
|
22137
22125
|
storageItem = this.storage.getItem(key);
|
|
22138
22126
|
if (storageItem && storageItem !== 'null') {
|
|
@@ -22142,6 +22130,7 @@
|
|
|
22142
22130
|
element = _this.t6helper.fromIndexString(element, _this.t6str);
|
|
22143
22131
|
});
|
|
22144
22132
|
}
|
|
22133
|
+
console.log("L\u1EA5y quy\u1EC1n t\u1EEB local storage v\u1EDBi key [" + key + "] v\u00E0 gi\u00E1 tr\u1ECB " + result);
|
|
22145
22134
|
return [2 /*return*/, result];
|
|
22146
22135
|
}
|
|
22147
22136
|
}
|
|
@@ -22161,6 +22150,7 @@
|
|
|
22161
22150
|
element = _this.t6helper.fromIndexString(element, _this.t6str);
|
|
22162
22151
|
});
|
|
22163
22152
|
}
|
|
22153
|
+
console.log("L\u1EA5y quy\u1EC1n t\u1EEB GetPermissionsByService v\u1EDBi key [" + key + "] v\u00E0 gi\u00E1 tr\u1ECB " + response.data);
|
|
22164
22154
|
return [2 /*return*/, response.data];
|
|
22165
22155
|
}
|
|
22166
22156
|
});
|