tnx-shared 6.0.7 → 6.0.8
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 +10 -1
- 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/t06helper.js +9 -1
- package/esm2015/services/permission.service.js +3 -2
- package/fesm2015/tnx-shared.js +10 -1
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +1 -1
- package/services/common/t06helper.d.ts.map +1 -1
- package/services/permission.service.d.ts.map +1 -1
|
@@ -21596,6 +21596,14 @@
|
|
|
21596
21596
|
positionMap = _b.sent();
|
|
21597
21597
|
reverseMap = new Map();
|
|
21598
21598
|
positionMap.forEach(function (value, key) { return reverseMap.set(value, key); });
|
|
21599
|
+
console.log("indexString____", indexString
|
|
21600
|
+
.split(',')
|
|
21601
|
+
.map(function (part) {
|
|
21602
|
+
var _a;
|
|
21603
|
+
var position = parseInt(part, 10);
|
|
21604
|
+
return (_a = reverseMap.get(position)) !== null && _a !== void 0 ? _a : '';
|
|
21605
|
+
})
|
|
21606
|
+
.join(''));
|
|
21599
21607
|
return [2 /*return*/, indexString
|
|
21600
21608
|
.split(',')
|
|
21601
21609
|
.map(function (part) {
|
|
@@ -22126,11 +22134,12 @@
|
|
|
22126
22134
|
if (storageItem && storageItem !== 'null') {
|
|
22127
22135
|
result = JSON.parse(storageItem);
|
|
22128
22136
|
if (result != null && result.length > 0) {
|
|
22137
|
+
console.log("result____", result);
|
|
22129
22138
|
result.forEach(function (element) {
|
|
22130
22139
|
element = _this.t6helper.fromIndexString(element, _this.t6str);
|
|
22131
22140
|
});
|
|
22132
22141
|
}
|
|
22133
|
-
console.log(
|
|
22142
|
+
// console.log(`Lấy quyền từ local storage với key [${key}] và giá trị ${result}`);
|
|
22134
22143
|
return [2 /*return*/, result];
|
|
22135
22144
|
}
|
|
22136
22145
|
}
|