tnx-shared 5.3.221 → 5.3.222

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.
@@ -4845,6 +4845,12 @@
4845
4845
  }
4846
4846
  return Math.floor((date.getMonth() + 3) / 3);
4847
4847
  };
4848
+ CommonService.prototype.generateIndex = function (index, maxLength) {
4849
+ if (maxLength === void 0) { maxLength = 8; }
4850
+ var stringIndex = "" + index;
4851
+ var diff = (maxLength < stringIndex.length) ? 0 : maxLength - stringIndex.length;
4852
+ return "" + Array(diff).map(function (x) { return ''; }).join(' ') + stringIndex;
4853
+ };
4848
4854
  return CommonService;
4849
4855
  }());
4850
4856
  CommonService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CommonService_Factory() { return new CommonService(i0__namespace.ɵɵinject(ModuleConfigService)); }, token: CommonService, providedIn: "root" });