@bnsights/bbsf-admin-portal 1.0.59 → 1.0.61

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/README.md CHANGED
@@ -5,6 +5,20 @@ BBSF Admin Portal package is part of BBSF 3 packages. It hosts all the angular m
5
5
  For more info please visit [BBSF documentation](https://bnsightsprojects.visualstudio.com/BBSF%203/_wiki/wikis/BBSF-3.wiki/65/BBSF-Documentation)
6
6
 
7
7
  # Change Log
8
+ ## 1.0.61 / 3-1-2022
9
+ ===================
10
+ * Update controls version
11
+ * Update Utilities version
12
+ * Update Error page
13
+ * Update HttpErrorInterceptor
14
+ * Update anonymous layout component
15
+
16
+
17
+ ## 1.0.60 / 25-12-2022
18
+ ===================
19
+ * Update controls version
20
+ * Update Utilities version
21
+
8
22
  ## 1.0.59 / 05-12-2022
9
23
  ===================
10
24
  * Update controls version
@@ -20741,9 +20741,10 @@
20741
20741
  }], ctorParameters: function () { return [{ type: AccountService$1 }, { type: i1__namespace$1.Router }, { type: i1__namespace.RequestHandlerService }, { type: i1__namespace.AuthService }, { type: i1__namespace.StylesBundleService }, { type: i4__namespace.TranslateService }]; } });
20742
20742
 
20743
20743
  var anonymouslayoutComponent$1 = /** @class */ (function () {
20744
- function anonymouslayoutComponent(utilityService, stylesBundleService, anonymousLayoutService, translateService, masterLayoutService, appearanceConfigurationService) {
20744
+ function anonymouslayoutComponent(utilityService, stylesBundleService, environmentService, anonymousLayoutService, translateService, masterLayoutService, appearanceConfigurationService) {
20745
20745
  this.utilityService = utilityService;
20746
20746
  this.stylesBundleService = stylesBundleService;
20747
+ this.environmentService = environmentService;
20747
20748
  this.anonymousLayoutService = anonymousLayoutService;
20748
20749
  this.translateService = translateService;
20749
20750
  this.masterLayoutService = masterLayoutService;
@@ -20752,12 +20753,14 @@
20752
20753
  this.logo = "";
20753
20754
  this.footer = "";
20754
20755
  this.appVersion = "";
20756
+ this.isExternal = false;
20755
20757
  this.translateService.use(this.utilityService.getCurrentLanguage());
20756
20758
  this.loadUI();
20757
20759
  this.utilityService.startBlockUI();
20758
20760
  }
20759
20761
  anonymouslayoutComponent.prototype.ngOnInit = function () {
20760
20762
  var _this = this;
20763
+ this.isExternal = this.environmentService.getIsIdentityServerExternal().toLowerCase() == 'true';
20761
20764
  this.translateService.onLangChange.subscribe(function (event) {
20762
20765
  _this.masterLayoutService.reloadComponent();
20763
20766
  });
@@ -20779,15 +20782,15 @@
20779
20782
  };
20780
20783
  return anonymouslayoutComponent;
20781
20784
  }());
20782
- anonymouslayoutComponent$1.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: anonymouslayoutComponent$1, deps: [{ token: i1__namespace.UtilityService }, { token: i1__namespace.StylesBundleService }, { token: AnonymousLayoutService$1 }, { token: i1__namespace.BBSFTranslateService }, { token: i1__namespace.MasterLayoutService }, { token: i1__namespace.AppearanceConfigurationService }], target: i0__namespace.ɵɵFactoryTarget.Component });
20783
- anonymouslayoutComponent$1.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: anonymouslayoutComponent$1, selector: "app-account", ngImport: i0__namespace, template: "\r\n<block-ui></block-ui>\r\n<div class=\"d-flex flex-column flex-root h-100\">\r\n <!--begin::Authentication - Sign-in -->\r\n <div class=\"d-flex flex-column flex-lg-row flex-column-fluid h-100\">\r\n <!--begin::Aside-->\r\n <div class=\"d-flex flex-column flex-lg-row-auto w-xl-600px positon-xl-relative bg-custom\">\r\n <div class=\"d-flex flex-column position-xl-fixed top-0 bottom-0 w-xl-600px scroll-y\">\r\n <div class=\"d-flex flex-row-fluid flex-column text-center p-10 pt-lg-20\">\r\n <!--begin::Logo-->\r\n <img alt=\"Logo\" src=\"{{logo}}\" class=\"h-60px mt-10\">\r\n </div>\r\n </div>\r\n </div>\r\n <!--end::Aside-->\r\n <div class=\"d-flex flex-column flex-lg-row-fluid py-10\">\r\n <div class=\"d-flex flex-center flex-column flex-column-fluid\">\r\n <div class=\"w-lg-500px p-10 p-lg-15 mx-auto w-100\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </div>\r\n <!--begin::Footer-->\r\n <div class=\"d-flex flex-center fw-bold fs-6 justify-content-between w-100 px-10\">\r\n <div>\r\n <span class=\"text-muted\">{{footer}} </span>\r\n <span>{{appVersion}} </span>\r\n </div>\r\n \r\n <a class=\"text-muted text-hover-primary px-2\" *ngIf=\"lang!='en'\" (click)=\"changeLanguage('en')\">English</a>\r\n <a class=\"text-muted text-hover-primary px-2\" *ngIf=\"lang=='en'\" (click)=\"changeLanguage('ar')\">\u0627\u0644\u0639\u0631\u0628\u064A\u0647</a>\r\n\r\n </div>\r\n <!--end::Footer-->\r\n </div>\r\n </div>\r\n</div>\r\n", components: [{ type: i5__namespace$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }], directives: [{ type: i1__namespace$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
20785
+ anonymouslayoutComponent$1.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: anonymouslayoutComponent$1, deps: [{ token: i1__namespace.UtilityService }, { token: i1__namespace.StylesBundleService }, { token: i1__namespace.EnvironmentService }, { token: AnonymousLayoutService$1 }, { token: i1__namespace.BBSFTranslateService }, { token: i1__namespace.MasterLayoutService }, { token: i1__namespace.AppearanceConfigurationService }], target: i0__namespace.ɵɵFactoryTarget.Component });
20786
+ anonymouslayoutComponent$1.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: anonymouslayoutComponent$1, selector: "app-account", ngImport: i0__namespace, template: "\r\n<block-ui></block-ui>\r\n<div class=\"d-flex flex-column flex-root h-100\" *ngIf=\"isExternal\">\r\n <router-outlet></router-outlet>\r\n</div>\r\n<div class=\"d-flex flex-column flex-root h-100\" *ngIf=\"!isExternal\">\r\n <!--begin::Authentication - Sign-in -->\r\n <div class=\"d-flex flex-column flex-lg-row flex-column-fluid h-100\">\r\n <!--begin::Aside-->\r\n <div class=\"d-flex flex-column flex-lg-row-auto w-xl-600px positon-xl-relative bg-custom\">\r\n <div class=\"d-flex flex-column position-xl-fixed top-0 bottom-0 w-xl-600px scroll-y\">\r\n <div class=\"d-flex flex-row-fluid flex-column text-center p-10 pt-lg-20\">\r\n <!--begin::Logo-->\r\n <img alt=\"Logo\" src=\"{{logo}}\" class=\"h-60px mt-10\">\r\n </div>\r\n </div>\r\n </div>\r\n <!--end::Aside-->\r\n <div class=\"d-flex flex-column flex-lg-row-fluid py-10\">\r\n <div class=\"d-flex flex-center flex-column flex-column-fluid\">\r\n <div class=\"w-lg-500px p-10 p-lg-15 mx-auto w-100\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </div>\r\n <!--begin::Footer-->\r\n <div class=\"d-flex flex-center fw-bold fs-6 justify-content-between w-100 px-10\">\r\n <div>\r\n <span class=\"text-muted\">{{footer}} </span>\r\n <span>{{appVersion}} </span>\r\n </div>\r\n\r\n <a class=\"text-muted text-hover-primary px-2\" *ngIf=\"lang!='en'\" (click)=\"changeLanguage('en')\">English</a>\r\n <a class=\"text-muted text-hover-primary px-2\" *ngIf=\"lang=='en'\" (click)=\"changeLanguage('ar')\">\u0627\u0644\u0639\u0631\u0628\u064A\u0647</a>\r\n\r\n </div>\r\n <!--end::Footer-->\r\n </div>\r\n </div>\r\n</div>\r\n", components: [{ type: i5__namespace$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }] });
20784
20787
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: anonymouslayoutComponent$1, decorators: [{
20785
20788
  type: i0.Component,
20786
20789
  args: [{
20787
20790
  selector: 'app-account',
20788
20791
  templateUrl: './anonymouslayout.component.html'
20789
20792
  }]
20790
- }], ctorParameters: function () { return [{ type: i1__namespace.UtilityService }, { type: i1__namespace.StylesBundleService }, { type: AnonymousLayoutService$1 }, { type: i1__namespace.BBSFTranslateService }, { type: i1__namespace.MasterLayoutService }, { type: i1__namespace.AppearanceConfigurationService }]; } });
20793
+ }], ctorParameters: function () { return [{ type: i1__namespace.UtilityService }, { type: i1__namespace.StylesBundleService }, { type: i1__namespace.EnvironmentService }, { type: AnonymousLayoutService$1 }, { type: i1__namespace.BBSFTranslateService }, { type: i1__namespace.MasterLayoutService }, { type: i1__namespace.AppearanceConfigurationService }]; } });
20791
20794
 
20792
20795
  var ActivationModel = /** @class */ (function () {
20793
20796
  function ActivationModel() {
@@ -21088,12 +21091,13 @@
21088
21091
  }], ctorParameters: function () { return [{ type: AccountService$1 }, { type: i1__namespace.UtilityService }, { type: i1__namespace$1.Router }]; } });
21089
21092
 
21090
21093
  var ErrorComponent = /** @class */ (function () {
21091
- function ErrorComponent(utilityService, activatedRoute, _clipboardService, authService) {
21094
+ function ErrorComponent(utilityService, activatedRoute, _clipboardService, authService, environmentService) {
21092
21095
  var _this = this;
21093
21096
  this.utilityService = utilityService;
21094
21097
  this.activatedRoute = activatedRoute;
21095
21098
  this._clipboardService = _clipboardService;
21096
21099
  this.authService = authService;
21100
+ this.environmentService = environmentService;
21097
21101
  this.errorForm = new i10.FormGroup({});
21098
21102
  this.activatedRoute.params.subscribe(function (params) {
21099
21103
  _this.key = params['key'];
@@ -21101,6 +21105,7 @@
21101
21105
  });
21102
21106
  }
21103
21107
  ErrorComponent.prototype.ngOnInit = function () {
21108
+ this.isExternal = this.environmentService.getIsIdentityServerExternal().toLowerCase() == 'true';
21104
21109
  this.errorForm = new i10.FormGroup({});
21105
21110
  this.errorKey = new i6.TextBoxOptions();
21106
21111
  this.errorKey.Value = this.key;
@@ -21127,15 +21132,15 @@
21127
21132
  };
21128
21133
  return ErrorComponent;
21129
21134
  }());
21130
- ErrorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ErrorComponent, deps: [{ token: i1__namespace.UtilityService }, { token: i1__namespace$1.ActivatedRoute }, { token: i3__namespace.ClipboardService }, { token: i1__namespace.AuthService }], target: i0__namespace.ɵɵFactoryTarget.Component });
21131
- ErrorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ErrorComponent, selector: "lib-error", ngImport: i0__namespace, template: "<div class=\"form w-100\" novalidate=\"novalidate\" id=\"kt_sign_in_form\">\r\n <input type=\"hidden\" name=\"ReturnUrl\" value=\"@Model.ReturnUrl\" />\r\n <div class=\"text-center mb-10\">\r\n <h1 class=\"text-dark mb-3\"> {{utilityService.getResourceValue(\"Error\")}}</h1>\r\n </div>\r\n <form [formGroup]=\"errorForm\">\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"errorKey\" [group]=\"errorForm\"></BBSF-TextBox>\r\n <button type=\"button\" class=\"btn btn-primary btn-sm\" (click)=\"copyInputMessage()\">\r\n {{utilityService.getResourceValue(\"CopyToClipboard\")}}\r\n </button>\r\n </div>\r\n <div (click)=\"logout()\" class=\"link-primary fs-6 fw-bolder d-flex justify-content-end mt-2\"><i\r\n class=\"fas fa-arrow-left text-light-primary me-2 anchor\"></i>\r\n {{utilityService.getResourceValue(\"BackToLoginPage\")}} </div>\r\n </form>\r\n <div *ngIf=\"errorMessage!=null\">\r\n <ul class=\"alert alert-InvalidValidation bg-light-danger list-unstyled\">\r\n <li>\r\n {{errorMessage}}\r\n </li>\r\n </ul>\r\n\r\n </div>\r\n\r\n</div>\r\n\r\n<!--end::Form-->", components: [{ type: i6__namespace.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i10__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i10__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i10__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
21135
+ ErrorComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ErrorComponent, deps: [{ token: i1__namespace.UtilityService }, { token: i1__namespace$1.ActivatedRoute }, { token: i3__namespace.ClipboardService }, { token: i1__namespace.AuthService }, { token: i1__namespace.EnvironmentService }], target: i0__namespace.ɵɵFactoryTarget.Component });
21136
+ ErrorComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ErrorComponent, selector: "lib-error", ngImport: i0__namespace, template: "<div class=\"form w-100\" novalidate=\"novalidate\" id=\"kt_sign_in_form\"\r\n *ngIf=\"!isExternal\">\r\n <input type=\"hidden\" name=\"ReturnUrl\" value=\"@Model.ReturnUrl\" />\r\n <div class=\"text-center mb-10\">\r\n <h1 class=\"text-dark mb-3\"> {{utilityService.getResourceValue(\"Error\")}}</h1>\r\n </div>\r\n <form [formGroup]=\"errorForm\">\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"errorKey\" [group]=\"errorForm\"></BBSF-TextBox>\r\n <button type=\"button\" class=\"btn btn-primary btn-sm\"\r\n (click)=\"copyInputMessage()\">\r\n {{utilityService.getResourceValue(\"CopyToClipboard\")}}\r\n </button>\r\n </div>\r\n <div (click)=\"logout()\" class=\"link-primary fs-6 fw-bolder d-flex\r\n justify-content-end mt-2\"><i\r\n class=\"fas fa-arrow-left text-light-primary me-2 anchor\"></i>\r\n {{utilityService.getResourceValue(\"BackToLoginPage\")}} </div>\r\n </form>\r\n <div *ngIf=\"errorMessage!=null\">\r\n <ul class=\"alert alert-InvalidValidation bg-light-danger list-unstyled\">\r\n <li>\r\n {{errorMessage}}\r\n </li>\r\n </ul>\r\n\r\n </div>\r\n\r\n</div>\r\n\r\n<div *ngIf=\"isExternal\" class=\"d-flex flex-column flex-root\" style=\"\r\n background-color: #b68a3585;\r\n background-image: linear-gradient(#b68a35, #e1c081);\r\n \">\r\n\r\n <div class=\"d-flex flex-column flex-center flex-column-fluid\">\r\n\r\n <div class=\"d-flex flex-column flex-center text-center p-10\">\r\n\r\n <div class=\"card card-flush w-lg-650px py-5 bg-white\">\r\n <div class=\"card-body py-15 py-lg-20\">\r\n\r\n\r\n\r\n\r\n <h1 class=\"fw-bolder text-gray-900 mb-4 text-dark\">{{utilityService.getResourceValue(\"Error\")}}</h1>\r\n <div class=\"fs-6 fw-semibold text-gray-500 mb-10\">\r\n {{errorMessage}}\r\n </div>\r\n\r\n\r\n <a (click)=\"logout()\" class=\"btn btn-sm btn-light-dark\"><span class=\"svg-icon\r\n svg-icon-muted svg-icon-2\"><svg width=\"24\" height=\"24\"\r\n viewBox=\"0 0 24 24\" fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path opacity=\"0.5\" d=\"M14.2657 11.4343L18.45 7.25C18.8642\r\n 6.83579 18.8642 6.16421 18.45 5.75C18.0358 5.33579 17.3642\r\n 5.33579 16.95 5.75L11.4071 11.2929C11.0166 11.6834 11.0166\r\n 12.3166 11.4071 12.7071L16.95 18.25C17.3642 18.6642 18.0358\r\n 18.6642 18.45 18.25C18.8642 17.8358 18.8642 17.1642 18.45\r\n 16.75L14.2657 12.5657C13.9533 12.2533 13.9533 11.7467\r\n 14.2657 11.4343Z\" fill=\"currentColor\"></path>\r\n <path d=\"M8.2657 11.4343L12.45 7.25C12.8642 6.83579 12.8642\r\n 6.16421 12.45 5.75C12.0358 5.33579 11.3642 5.33579 10.95\r\n 5.75L5.40712 11.2929C5.01659 11.6834 5.01659 12.3166 5.40712\r\n 12.7071L10.95 18.25C11.3642 18.6642 12.0358 18.6642 12.45\r\n 18.25C12.8642 17.8358 12.8642 17.1642 12.45 16.75L8.2657\r\n 12.5657C7.95328 12.2533 7.95328 11.7467 8.2657 11.4343Z\"\r\n fill=\"currentColor\"></path>\r\n </svg>\r\n </span> {{utilityService.getResourceValue(\"Back\")}} </a><div>\r\n\r\n </div>\r\n\r\n\r\n\r\n\r\n </div>\r\n </div>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n</div>\r\n", components: [{ type: i6__namespace.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10__namespace.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i10__namespace.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i10__namespace.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
21132
21137
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ErrorComponent, decorators: [{
21133
21138
  type: i0.Component,
21134
21139
  args: [{
21135
21140
  selector: 'lib-error',
21136
21141
  templateUrl: './error.component.html',
21137
21142
  }]
21138
- }], ctorParameters: function () { return [{ type: i1__namespace.UtilityService }, { type: i1__namespace$1.ActivatedRoute }, { type: i3__namespace.ClipboardService }, { type: i1__namespace.AuthService }]; } });
21143
+ }], ctorParameters: function () { return [{ type: i1__namespace.UtilityService }, { type: i1__namespace$1.ActivatedRoute }, { type: i3__namespace.ClipboardService }, { type: i1__namespace.AuthService }, { type: i1__namespace.EnvironmentService }]; } });
21139
21144
 
21140
21145
  var routes$j = [
21141
21146
  {
@@ -21448,6 +21453,9 @@
21448
21453
  _this.zone.run(function () { return router.navigate(["/Admin/account/login"]); });
21449
21454
  //return notificationService.error(`${error.statusText}`, false, null, 5000);
21450
21455
  }
21456
+ else if (error.status == 516) {
21457
+ _this.zone.run(function () { return router.navigate(["/Admin/account/error/" + error.status + "/" + error.error]); });
21458
+ }
21451
21459
  }
21452
21460
  return rxjs.throwError(errorMessage);
21453
21461
  }));
@@ -29260,9 +29268,10 @@
29260
29268
  }], ctorParameters: function () { return [{ type: AccountService }, { type: i1__namespace$1.Router }, { type: i1__namespace.RequestHandlerService }, { type: i1__namespace.AuthService }, { type: i1__namespace.StylesBundleService }, { type: i4__namespace.TranslateService }]; } });
29261
29269
 
29262
29270
  var anonymouslayoutComponent = /** @class */ (function () {
29263
- function anonymouslayoutComponent(utilityService, stylesBundleService, anonymousLayoutService, translateService, masterLayoutService, appearanceConfigurationService) {
29271
+ function anonymouslayoutComponent(utilityService, stylesBundleService, environmentService, anonymousLayoutService, translateService, masterLayoutService, appearanceConfigurationService) {
29264
29272
  this.utilityService = utilityService;
29265
29273
  this.stylesBundleService = stylesBundleService;
29274
+ this.environmentService = environmentService;
29266
29275
  this.anonymousLayoutService = anonymousLayoutService;
29267
29276
  this.translateService = translateService;
29268
29277
  this.masterLayoutService = masterLayoutService;
@@ -29271,12 +29280,14 @@
29271
29280
  this.logo = "";
29272
29281
  this.footer = "";
29273
29282
  this.appVersion = "";
29283
+ this.isExternal = false;
29274
29284
  this.translateService.use(this.utilityService.getCurrentLanguage());
29275
29285
  this.loadUI();
29276
29286
  this.utilityService.startBlockUI();
29277
29287
  }
29278
29288
  anonymouslayoutComponent.prototype.ngOnInit = function () {
29279
29289
  var _this = this;
29290
+ this.isExternal = this.environmentService.getIsIdentityServerExternal().toLowerCase() == 'true';
29280
29291
  this.translateService.onLangChange.subscribe(function (event) {
29281
29292
  _this.masterLayoutService.reloadComponent();
29282
29293
  });
@@ -29298,15 +29309,15 @@
29298
29309
  };
29299
29310
  return anonymouslayoutComponent;
29300
29311
  }());
29301
- anonymouslayoutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: anonymouslayoutComponent, deps: [{ token: i1__namespace.UtilityService }, { token: i1__namespace.StylesBundleService }, { token: AnonymousLayoutService }, { token: i1__namespace.BBSFTranslateService }, { token: i1__namespace.MasterLayoutService }, { token: i1__namespace.AppearanceConfigurationService }], target: i0__namespace.ɵɵFactoryTarget.Component });
29302
- anonymouslayoutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: anonymouslayoutComponent, selector: "app-account", ngImport: i0__namespace, template: "\r\n<block-ui></block-ui>\r\n<div class=\"d-flex flex-column flex-root h-100\">\r\n <!--begin::Authentication - Sign-in -->\r\n <div class=\"d-flex flex-column flex-lg-row flex-column-fluid h-100\">\r\n <!--begin::Aside-->\r\n <div class=\"d-flex flex-column flex-lg-row-auto w-xl-600px positon-xl-relative bg-custom\">\r\n <div class=\"d-flex flex-column position-xl-fixed top-0 bottom-0 w-xl-600px scroll-y\">\r\n <div class=\"d-flex flex-row-fluid flex-column text-center p-10 pt-lg-20\">\r\n <!--begin::Logo-->\r\n <img alt=\"Logo\" src=\"{{logo}}\" class=\"h-60px mt-10\">\r\n </div>\r\n </div>\r\n </div>\r\n <!--end::Aside-->\r\n <div class=\"d-flex flex-column flex-lg-row-fluid py-10\">\r\n <div class=\"d-flex flex-center flex-column flex-column-fluid\">\r\n <div class=\"w-lg-500px p-10 p-lg-15 mx-auto w-100\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </div>\r\n <!--begin::Footer-->\r\n <div class=\"d-flex flex-center fw-bold fs-6 justify-content-between w-100 px-10\">\r\n <div>\r\n <span class=\"text-muted\">{{footer}} </span>\r\n <span>{{appVersion}} </span>\r\n </div>\r\n \r\n <a class=\"text-muted text-hover-primary px-2\" *ngIf=\"lang!='en'\" (click)=\"changeLanguage('en')\">English</a>\r\n <a class=\"text-muted text-hover-primary px-2\" *ngIf=\"lang=='en'\" (click)=\"changeLanguage('ar')\">\u0627\u0644\u0639\u0631\u0628\u064A\u0647</a>\r\n\r\n </div>\r\n <!--end::Footer-->\r\n </div>\r\n </div>\r\n</div>\r\n", components: [{ type: i5__namespace$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }], directives: [{ type: i1__namespace$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }, { type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
29312
+ anonymouslayoutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: anonymouslayoutComponent, deps: [{ token: i1__namespace.UtilityService }, { token: i1__namespace.StylesBundleService }, { token: i1__namespace.EnvironmentService }, { token: AnonymousLayoutService }, { token: i1__namespace.BBSFTranslateService }, { token: i1__namespace.MasterLayoutService }, { token: i1__namespace.AppearanceConfigurationService }], target: i0__namespace.ɵɵFactoryTarget.Component });
29313
+ anonymouslayoutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: anonymouslayoutComponent, selector: "app-account", ngImport: i0__namespace, template: "\r\n<block-ui></block-ui>\r\n<div class=\"d-flex flex-column flex-root h-100\" *ngIf=\"isExternal\">\r\n <router-outlet></router-outlet>\r\n</div>\r\n<div class=\"d-flex flex-column flex-root h-100\" *ngIf=\"!isExternal\">\r\n <!--begin::Authentication - Sign-in -->\r\n <div class=\"d-flex flex-column flex-lg-row flex-column-fluid h-100\">\r\n <!--begin::Aside-->\r\n <div class=\"d-flex flex-column flex-lg-row-auto w-xl-600px positon-xl-relative bg-custom\">\r\n <div class=\"d-flex flex-column position-xl-fixed top-0 bottom-0 w-xl-600px scroll-y\">\r\n <div class=\"d-flex flex-row-fluid flex-column text-center p-10 pt-lg-20\">\r\n <!--begin::Logo-->\r\n <img alt=\"Logo\" src=\"{{logo}}\" class=\"h-60px mt-10\">\r\n </div>\r\n </div>\r\n </div>\r\n <!--end::Aside-->\r\n <div class=\"d-flex flex-column flex-lg-row-fluid py-10\">\r\n <div class=\"d-flex flex-center flex-column flex-column-fluid\">\r\n <div class=\"w-lg-500px p-10 p-lg-15 mx-auto w-100\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n </div>\r\n <!--begin::Footer-->\r\n <div class=\"d-flex flex-center fw-bold fs-6 justify-content-between w-100 px-10\">\r\n <div>\r\n <span class=\"text-muted\">{{footer}} </span>\r\n <span>{{appVersion}} </span>\r\n </div>\r\n\r\n <a class=\"text-muted text-hover-primary px-2\" *ngIf=\"lang!='en'\" (click)=\"changeLanguage('en')\">English</a>\r\n <a class=\"text-muted text-hover-primary px-2\" *ngIf=\"lang=='en'\" (click)=\"changeLanguage('ar')\">\u0627\u0644\u0639\u0631\u0628\u064A\u0647</a>\r\n\r\n </div>\r\n <!--end::Footer-->\r\n </div>\r\n </div>\r\n</div>\r\n", components: [{ type: i5__namespace$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate"], exportAs: ["outlet"] }] });
29303
29314
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: anonymouslayoutComponent, decorators: [{
29304
29315
  type: i0.Component,
29305
29316
  args: [{
29306
29317
  selector: 'app-account',
29307
29318
  templateUrl: './anonymouslayout.component.html'
29308
29319
  }]
29309
- }], ctorParameters: function () { return [{ type: i1__namespace.UtilityService }, { type: i1__namespace.StylesBundleService }, { type: AnonymousLayoutService }, { type: i1__namespace.BBSFTranslateService }, { type: i1__namespace.MasterLayoutService }, { type: i1__namespace.AppearanceConfigurationService }]; } });
29320
+ }], ctorParameters: function () { return [{ type: i1__namespace.UtilityService }, { type: i1__namespace.StylesBundleService }, { type: i1__namespace.EnvironmentService }, { type: AnonymousLayoutService }, { type: i1__namespace.BBSFTranslateService }, { type: i1__namespace.MasterLayoutService }, { type: i1__namespace.AppearanceConfigurationService }]; } });
29310
29321
 
29311
29322
  var LoginComponent = /** @class */ (function () {
29312
29323
  function LoginComponent(authService, utilityService) {