tnx-shared 5.3.175 → 5.3.177

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.
@@ -4780,6 +4780,16 @@
4780
4780
  });
4781
4781
  return result;
4782
4782
  };
4783
+ CommonService.prototype.embedScript = function (scriptConfig) {
4784
+ var scriptElement = document.createElement('script');
4785
+ scriptElement.src = scriptConfig.src;
4786
+ for (var prop in scriptConfig) {
4787
+ if (scriptConfig.hasOwnProperty(prop) && prop !== 'src') {
4788
+ scriptElement.setAttribute(prop, scriptConfig[prop]);
4789
+ }
4790
+ }
4791
+ document.body.appendChild(scriptElement);
4792
+ };
4783
4793
  return CommonService;
4784
4794
  }());
4785
4795
  CommonService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CommonService_Factory() { return new CommonService(i0__namespace.ɵɵinject(ModuleConfigService)); }, token: CommonService, providedIn: "root" });
@@ -20938,6 +20948,10 @@
20938
20948
  CanBoHoSoService.prototype.getQuanLyCapTrenByUserId = function (idUser) {
20939
20949
  return this.defaultGet(this.serviceUri + "/CanBoQuanLyByUserId/" + idUser);
20940
20950
  };
20951
+ CanBoHoSoService.prototype.getDanhSachUserCapTren = function (idsDonVi) {
20952
+ var url = this.serviceUri + "/GetDanhSachUserCapTren";
20953
+ return this.defaultPost(url, idsDonVi);
20954
+ };
20941
20955
  return CanBoHoSoService;
20942
20956
  }(BaseService));
20943
20957
  CanBoHoSoService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CanBoHoSoService_Factory() { return new CanBoHoSoService(i0__namespace.ɵɵinject(i1__namespace$1.HttpClient), i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject(ModuleConfigService), i0__namespace.ɵɵinject(UserService), i0__namespace.ɵɵinject(CanBo_HoSo_CoCauToChucService), i0__namespace.ɵɵinject(CoCauToChucService), i0__namespace.ɵɵinject(HoSoDoiTacService), i0__namespace.ɵɵinject(CrudService)); }, token: CanBoHoSoService, providedIn: "root" });