tnx-shared 5.3.332 → 5.3.334

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.
Files changed (33) hide show
  1. package/bundles/tnx-shared.umd.js +116 -26
  2. package/bundles/tnx-shared.umd.js.map +1 -1
  3. package/bundles/tnx-shared.umd.min.js +1 -1
  4. package/bundles/tnx-shared.umd.min.js.map +1 -1
  5. package/classes/public-function.d.ts.map +1 -1
  6. package/components/change-password-component/change-password.component.d.ts +10 -0
  7. package/components/change-password-component/change-password.component.d.ts.map +1 -0
  8. package/components/change-password-component/change-password.component.ngfactory.d.ts.map +1 -0
  9. package/components/change-password-component/change-password.component.scss.shim.ngstyle.d.ts.map +1 -0
  10. package/components/my-drive-component/my-drive.component.d.ts +10 -0
  11. package/components/my-drive-component/my-drive.component.d.ts.map +1 -0
  12. package/components/my-drive-component/my-drive.component.ngfactory.d.ts.map +1 -0
  13. package/components/my-drive-component/my-drive.component.scss.shim.ngstyle.d.ts.map +1 -0
  14. package/components/profile-component/profile.component.d.ts +10 -0
  15. package/components/profile-component/profile.component.d.ts.map +1 -0
  16. package/components/profile-component/profile.component.ngfactory.d.ts.map +1 -0
  17. package/components/profile-component/profile.component.scss.shim.ngstyle.d.ts.map +1 -0
  18. package/esm2015/classes/base/list-component-base.js +3 -3
  19. package/esm2015/classes/public-function.js +16 -1
  20. package/esm2015/components/change-password-component/change-password.component.js +27 -0
  21. package/esm2015/components/my-drive-component/my-drive.component.js +27 -0
  22. package/esm2015/components/profile-component/profile.component.js +27 -0
  23. package/esm2015/tnx-shared.js +26 -23
  24. package/esm2015/tnx-shared.module.js +7 -1
  25. package/fesm2015/tnx-shared.js +87 -3
  26. package/fesm2015/tnx-shared.js.map +1 -1
  27. package/package.json +2 -2
  28. package/tnx-shared.d.ts +25 -22
  29. package/tnx-shared.d.ts.map +1 -1
  30. package/tnx-shared.metadata.json +1 -1
  31. package/tnx-shared.module.d.ts +4 -1
  32. package/tnx-shared.module.d.ts.map +1 -1
  33. package/tnx-shared.module.ngfactory.d.ts.map +1 -1
@@ -22966,7 +22966,7 @@
22966
22966
  }
22967
22967
  };
22968
22968
  ListComponentBase.prototype.initColumnSchema = function (cols) {
22969
- var _a, _b, _c, _d;
22969
+ var _a, _b, _c, _d, _e;
22970
22970
  if (!cols || !cols.length)
22971
22971
  return;
22972
22972
  var colFunction = null, colGroup = null, colHasToggleIcon = null;
@@ -22989,7 +22989,7 @@
22989
22989
  colHasToggleIcon = this.setting.cols[0];
22990
22990
  }
22991
22991
  colHasToggleIcon.colHasToggleIcon = true;
22992
- this.componentKey = location.pathname + "/" + (((_d = (_c = (_b = (_a = this.container) === null || _a === void 0 ? void 0 : _a.nativeElement) === null || _b === void 0 ? void 0 : _b.closest('crud-list').parentNode) === null || _c === void 0 ? void 0 : _c.tagName) === null || _d === void 0 ? void 0 : _d.toLowerCase()) || '') + (this.setting.settingKey ? '/' + this.setting.settingKey : '');
22992
+ this.componentKey = location.pathname + "/" + (((_e = (_d = (_c = (_b = (_a = this.container) === null || _a === void 0 ? void 0 : _a.nativeElement) === null || _b === void 0 ? void 0 : _b.closest('crud-list')) === null || _c === void 0 ? void 0 : _c.parentNode) === null || _d === void 0 ? void 0 : _d.tagName) === null || _e === void 0 ? void 0 : _e.toLowerCase()) || '') + (this.setting.settingKey ? '/' + this.setting.settingKey : '');
22993
22993
  this.getColorSetting();
22994
22994
  this.getColumnSetting(colGroup);
22995
22995
  this.getPageSetting();
@@ -29711,6 +29711,78 @@
29711
29711
  viewContainerRef: [{ type: i0.ViewChild, args: [ViewContainerRefDirective, { static: true },] }]
29712
29712
  };
29713
29713
 
29714
+ var MyDriveComponent = /** @class */ (function () {
29715
+ function MyDriveComponent(_federationService) {
29716
+ this._federationService = _federationService;
29717
+ }
29718
+ MyDriveComponent.prototype.ngOnInit = function () {
29719
+ this._federationService.loadRemoteComponent('commonapp', 'MyDriveListComponent', this.viewContainerRef);
29720
+ };
29721
+ return MyDriveComponent;
29722
+ }());
29723
+ MyDriveComponent.decorators = [
29724
+ { type: i0.Component, args: [{
29725
+ selector: 'common-my-drive',
29726
+ template: "<ng-template viewContainerRef></ng-template>\n",
29727
+ providers: [ComponentContextService],
29728
+ styles: [".modules{font-family:monospace;background:url(/assets/images/splash-bg.png);background-repeat:no-repeat;background-position:50%;background-size:cover;position:fixed;top:0;left:0;z-index:100;display:flex;justify-content:center;align-items:center;width:100vw;height:100vh;flex-direction:column;background-color:#fff}.welcome-user{text-align:center;margin-bottom:80px}.welcome-user a{background:#c2f3c3;padding:6px;border-radius:3px;cursor:pointer}.welcome-user a i{margin-right:6px}.welcome-user img{border-radius:50%;border:2px dashed rgba(0,144,162,.5019607843137255);height:250px;width:250px;-o-object-fit:contain;object-fit:contain}.welcome-user h2{color:#0090a2}.welcome-user h1{color:#666;max-width:75vw;font-size:2rem}"]
29729
+ },] }
29730
+ ];
29731
+ MyDriveComponent.ctorParameters = function () { return [
29732
+ { type: FederationService }
29733
+ ]; };
29734
+ MyDriveComponent.propDecorators = {
29735
+ viewContainerRef: [{ type: i0.ViewChild, args: [ViewContainerRefDirective, { static: true },] }]
29736
+ };
29737
+
29738
+ var ChangePasswordComponent = /** @class */ (function () {
29739
+ function ChangePasswordComponent(_federationService) {
29740
+ this._federationService = _federationService;
29741
+ }
29742
+ ChangePasswordComponent.prototype.ngOnInit = function () {
29743
+ this._federationService.loadRemoteComponent('commonapp', 'ChangePasswordComponent', this.viewContainerRef);
29744
+ };
29745
+ return ChangePasswordComponent;
29746
+ }());
29747
+ ChangePasswordComponent.decorators = [
29748
+ { type: i0.Component, args: [{
29749
+ selector: 'common-change-password',
29750
+ template: "<ng-template viewContainerRef></ng-template>\n",
29751
+ providers: [ComponentContextService],
29752
+ styles: [".modules{font-family:monospace;background:url(/assets/images/splash-bg.png);background-repeat:no-repeat;background-position:50%;background-size:cover;position:fixed;top:0;left:0;z-index:100;display:flex;justify-content:center;align-items:center;width:100vw;height:100vh;flex-direction:column;background-color:#fff}.welcome-user{text-align:center;margin-bottom:80px}.welcome-user a{background:#c2f3c3;padding:6px;border-radius:3px;cursor:pointer}.welcome-user a i{margin-right:6px}.welcome-user img{border-radius:50%;border:2px dashed rgba(0,144,162,.5019607843137255);height:250px;width:250px;-o-object-fit:contain;object-fit:contain}.welcome-user h2{color:#0090a2}.welcome-user h1{color:#666;max-width:75vw;font-size:2rem}"]
29753
+ },] }
29754
+ ];
29755
+ ChangePasswordComponent.ctorParameters = function () { return [
29756
+ { type: FederationService }
29757
+ ]; };
29758
+ ChangePasswordComponent.propDecorators = {
29759
+ viewContainerRef: [{ type: i0.ViewChild, args: [ViewContainerRefDirective, { static: true },] }]
29760
+ };
29761
+
29762
+ var ProfileComponent = /** @class */ (function () {
29763
+ function ProfileComponent(_federationService) {
29764
+ this._federationService = _federationService;
29765
+ }
29766
+ ProfileComponent.prototype.ngOnInit = function () {
29767
+ this._federationService.loadRemoteComponent('commonapp', 'ProfileComponent', this.viewContainerRef);
29768
+ };
29769
+ return ProfileComponent;
29770
+ }());
29771
+ ProfileComponent.decorators = [
29772
+ { type: i0.Component, args: [{
29773
+ selector: 'common-profile',
29774
+ template: "<ng-template viewContainerRef></ng-template>\n",
29775
+ providers: [ComponentContextService],
29776
+ styles: [".modules{font-family:monospace;background:url(/assets/images/splash-bg.png);background-repeat:no-repeat;background-position:50%;background-size:cover;position:fixed;top:0;left:0;z-index:100;display:flex;justify-content:center;align-items:center;width:100vw;height:100vh;flex-direction:column;background-color:#fff}.welcome-user{text-align:center;margin-bottom:80px}.welcome-user a{background:#c2f3c3;padding:6px;border-radius:3px;cursor:pointer}.welcome-user a i{margin-right:6px}.welcome-user img{border-radius:50%;border:2px dashed rgba(0,144,162,.5019607843137255);height:250px;width:250px;-o-object-fit:contain;object-fit:contain}.welcome-user h2{color:#0090a2}.welcome-user h1{color:#666;max-width:75vw;font-size:2rem}"]
29777
+ },] }
29778
+ ];
29779
+ ProfileComponent.ctorParameters = function () { return [
29780
+ { type: FederationService }
29781
+ ]; };
29782
+ ProfileComponent.propDecorators = {
29783
+ viewContainerRef: [{ type: i0.ViewChild, args: [ViewContainerRefDirective, { static: true },] }]
29784
+ };
29785
+
29714
29786
  var PublicFunction = /** @class */ (function () {
29715
29787
  function PublicFunction() {
29716
29788
  }
@@ -29740,6 +29812,18 @@
29740
29812
  path: 'thong-bao',
29741
29813
  component: ThongBaoComponent,
29742
29814
  },
29815
+ {
29816
+ path: 'my-drive',
29817
+ component: MyDriveComponent,
29818
+ },
29819
+ {
29820
+ path: 'change-password',
29821
+ component: ChangePasswordComponent,
29822
+ },
29823
+ {
29824
+ path: 'profile',
29825
+ component: ProfileComponent,
29826
+ },
29743
29827
  ];
29744
29828
  result.forEach(function (item) {
29745
29829
  var customRoute = routes.find(function (route) { return route.path == item.path; });
@@ -56494,6 +56578,9 @@
56494
56578
  QrCodeGeneratorComponent,
56495
56579
  AccessDeniedComponent,
56496
56580
  ThongBaoComponent,
56581
+ MyDriveComponent,
56582
+ ChangePasswordComponent,
56583
+ ProfileComponent,
56497
56584
  FilePickerDialogComponent,
56498
56585
  AddNewsComponent,
56499
56586
  CommonDashboardComponent,
@@ -57193,31 +57280,34 @@
57193
57280
  exports["ɵdd"] = ReferenceTextBoxComponent;
57194
57281
  exports["ɵde"] = QrCodeGeneratorComponent;
57195
57282
  exports["ɵdf"] = ThongBaoComponent;
57196
- exports["ɵdg"] = AddNewsComponent;
57197
- exports["ɵdh"] = ArticleService;
57198
- exports["ɵdi"] = NewsCategoryService;
57199
- exports["ɵdj"] = UniversalLinkProcessorComponent;
57200
- exports["ɵdk"] = SignatureDetailComponent;
57201
- exports["ɵdl"] = KySoSimDanhSachChuKyComponent;
57202
- exports["ɵdm"] = KySoSimChuKyUserService;
57203
- exports["ɵdn"] = FileKySoSimComponent;
57204
- exports["ɵdo"] = KySoSimSignPDFService;
57205
- exports["ɵdp"] = TaiLieuCuaToiComponent;
57206
- exports["ɵdq"] = KhaiThacTaiLieuDungChungComponent;
57207
- exports["ɵdr"] = DanhMucDungChungService;
57208
- exports["ɵds"] = TnTemplateComponent;
57209
- exports["ɵdt"] = DropdownSettingFormComponent;
57210
- exports["ɵdu"] = CheckReadyComponent;
57211
- exports["ɵdv"] = TnAccordionTabComponent;
57212
- exports["ɵdw"] = SettingsWorkflowComponent;
57213
- exports["ɵdx"] = SettingAuthorizeButtonComponent;
57214
- exports["ɵdy"] = BasePermissionService;
57215
- exports["ɵdz"] = SettingsWorkflowNo1Component;
57283
+ exports["ɵdg"] = MyDriveComponent;
57284
+ exports["ɵdh"] = ChangePasswordComponent;
57285
+ exports["ɵdi"] = ProfileComponent;
57286
+ exports["ɵdj"] = AddNewsComponent;
57287
+ exports["ɵdk"] = ArticleService;
57288
+ exports["ɵdl"] = NewsCategoryService;
57289
+ exports["ɵdm"] = UniversalLinkProcessorComponent;
57290
+ exports["ɵdn"] = SignatureDetailComponent;
57291
+ exports["ɵdo"] = KySoSimDanhSachChuKyComponent;
57292
+ exports["ɵdp"] = KySoSimChuKyUserService;
57293
+ exports["ɵdq"] = FileKySoSimComponent;
57294
+ exports["ɵdr"] = KySoSimSignPDFService;
57295
+ exports["ɵds"] = TaiLieuCuaToiComponent;
57296
+ exports["ɵdt"] = KhaiThacTaiLieuDungChungComponent;
57297
+ exports["ɵdu"] = DanhMucDungChungService;
57298
+ exports["ɵdv"] = TnTemplateComponent;
57299
+ exports["ɵdw"] = DropdownSettingFormComponent;
57300
+ exports["ɵdx"] = CheckReadyComponent;
57301
+ exports["ɵdy"] = TnAccordionTabComponent;
57302
+ exports["ɵdz"] = SettingsWorkflowComponent;
57216
57303
  exports["ɵe"] = ListBase;
57217
- exports["ɵea"] = HtmlPreviewComponent;
57218
- exports["ɵeb"] = AUTOCOMPLETE_VALUE_ACCESSOR;
57219
- exports["ɵec"] = AutoComplete;
57220
- exports["ɵed"] = AutoCompleteModule;
57304
+ exports["ɵea"] = SettingAuthorizeButtonComponent;
57305
+ exports["ɵeb"] = BasePermissionService;
57306
+ exports["ɵec"] = SettingsWorkflowNo1Component;
57307
+ exports["ɵed"] = HtmlPreviewComponent;
57308
+ exports["ɵee"] = AUTOCOMPLETE_VALUE_ACCESSOR;
57309
+ exports["ɵef"] = AutoComplete;
57310
+ exports["ɵeg"] = AutoCompleteModule;
57221
57311
  exports["ɵf"] = ListComponentBase;
57222
57312
  exports["ɵg"] = TreeTableComponent;
57223
57313
  exports["ɵh"] = NotFoundComponent;