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.
@@ -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("L\u1EA5y quy\u1EC1n t\u1EEB local storage v\u1EDBi key [" + key + "] v\u00E0 gi\u00E1 tr\u1ECB " + result);
22142
+ // console.log(`Lấy quyền từ local storage với key [${key}] giá trị ${result}`);
22134
22143
  return [2 /*return*/, result];
22135
22144
  }
22136
22145
  }