tango-app-ui-shared 3.7.3-dev27 → 3.7.3-dev29

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.
@@ -4530,7 +4530,7 @@ class TrafficNobComponent {
4530
4530
  }
4531
4531
  onClick(event) {
4532
4532
  const target = event.target;
4533
- if (!target.closest('.dropdown1')) {
4533
+ if (!target.closest('.dropdown2')) {
4534
4534
  this.Opendropdown = false;
4535
4535
  }
4536
4536
  }
@@ -5246,7 +5246,7 @@ class TrafficNobComponent {
5246
5246
  }
5247
5247
  clickOutside(event) {
5248
5248
  const clickedInside = event.target.closest(".dropdown-container");
5249
- const clickedoutSide = event.target.closest(".dropdown1");
5249
+ const clickedoutSide = event.target.closest(".dropdown2");
5250
5250
  if (!clickedInside) {
5251
5251
  this.closeDropdown();
5252
5252
  }
@@ -10329,10 +10329,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
10329
10329
  class Error404Component {
10330
10330
  router;
10331
10331
  modeService;
10332
+ gs;
10332
10333
  unsubscribe = [];
10333
- constructor(router, modeService) {
10334
+ constructor(router, modeService, gs) {
10334
10335
  this.router = router;
10335
10336
  this.modeService = modeService;
10337
+ this.gs = gs;
10336
10338
  }
10337
10339
  ngOnInit() {
10338
10340
  // const subscr = this.modeService.mode.asObservable().subscribe((mode) => {
@@ -10343,6 +10345,9 @@ class Error404Component {
10343
10345
  // });
10344
10346
  // this.unsubscribe.push(subscr);
10345
10347
  }
10348
+ routeToDashboard1() {
10349
+ this.router.navigate(['/manage/summary']);
10350
+ }
10346
10351
  routeToDashboard() {
10347
10352
  this.router.navigate(['/manage/brands']);
10348
10353
  // setTimeout(() => {
@@ -10358,13 +10363,13 @@ class Error404Component {
10358
10363
  this.unsubscribe.forEach((sb) => sb.unsubscribe());
10359
10364
  document.body.style.backgroundImage = 'none';
10360
10365
  }
10361
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Error404Component, deps: [{ token: i2.Router }, { token: i1.ThemeModeService }], target: i0.ɵɵFactoryTarget.Component });
10362
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: Error404Component, selector: "lib-error404", ngImport: i0, template: "<!--begin::Title-->\r\n<h1 class=\"fw-bolder fs-2hx text-gray-900 mb-4\">\r\n Oops!\r\n</h1>\r\n<!--end::Title-->\r\n\r\n<!--begin::Text-->\r\n<div class=\"fw-semibold fs-6 text-gray-500 mb-7\">\r\n We can't find that page.\r\n</div>\r\n<!--end::Text-->\r\n\r\n<!--begin::Illustration-->\r\n<div class=\"mb-3\">\r\n <img src=\"./assets/media/auth/404-error.png\" class=\"mw-100 mh-300px theme-light-show\" alt=\"\" />\r\n <!-- <img src=\"./assets/media/auth/404-error-dark.png\" class=\"mw-100 mh-300px theme-dark-show\" alt=\"\" /> -->\r\n</div>\r\n<!--end::Illustration-->\r\n\r\n<!--begin::Link-->\r\n<div class=\"mb-0\">\r\n <a (click)=\"routeToDashboard()\" class=\"btn btn-sm btn-primary\">Return Home</a>\r\n</div>\r\n<!--end::Link-->\r\n", styles: [""] });
10366
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Error404Component, deps: [{ token: i2.Router }, { token: i1.ThemeModeService }, { token: i1.GlobalStateService }], target: i0.ɵɵFactoryTarget.Component });
10367
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: Error404Component, selector: "lib-error404", ngImport: i0, template: "<!--begin::Title-->\r\n<h1 class=\"fw-bolder fs-2hx text-gray-900 mb-4\">\r\n Oops!\r\n</h1>\r\n<!--end::Title-->\r\n\r\n<!--begin::Text-->\r\n<div class=\"fw-semibold fs-6 text-gray-500 mb-7\">\r\n We can't find that page.\r\n</div>\r\n<!--end::Text-->\r\n\r\n<!--begin::Illustration-->\r\n<div class=\"mb-3\">\r\n <img src=\"./assets/media/auth/404-error.png\" class=\"mw-100 mh-300px theme-light-show\" alt=\"\" />\r\n <!-- <img src=\"./assets/media/auth/404-error-dark.png\" class=\"mw-100 mh-300px theme-dark-show\" alt=\"\" /> -->\r\n</div>\r\n<!--end::Illustration-->\r\n\r\n<!--begin::Link-->\r\n<div class=\"mb-0\">\r\n <a *ngIf=\"(gs.userAccess | async)?.userType === 'tango'\" (click)=\"routeToDashboard()\" class=\"btn btn-sm btn-primary\">Return Home</a>\r\n <a *ngIf=\"(gs.userAccess | async)?.userType !== 'tango'\" (click)=\"routeToDashboard1()\" class=\"btn btn-sm btn-primary\">Return Home</a>\r\n\r\n</div>\r\n<!--end::Link-->\r\n", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }] });
10363
10368
  }
10364
10369
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: Error404Component, decorators: [{
10365
10370
  type: Component,
10366
- args: [{ selector: 'lib-error404', template: "<!--begin::Title-->\r\n<h1 class=\"fw-bolder fs-2hx text-gray-900 mb-4\">\r\n Oops!\r\n</h1>\r\n<!--end::Title-->\r\n\r\n<!--begin::Text-->\r\n<div class=\"fw-semibold fs-6 text-gray-500 mb-7\">\r\n We can't find that page.\r\n</div>\r\n<!--end::Text-->\r\n\r\n<!--begin::Illustration-->\r\n<div class=\"mb-3\">\r\n <img src=\"./assets/media/auth/404-error.png\" class=\"mw-100 mh-300px theme-light-show\" alt=\"\" />\r\n <!-- <img src=\"./assets/media/auth/404-error-dark.png\" class=\"mw-100 mh-300px theme-dark-show\" alt=\"\" /> -->\r\n</div>\r\n<!--end::Illustration-->\r\n\r\n<!--begin::Link-->\r\n<div class=\"mb-0\">\r\n <a (click)=\"routeToDashboard()\" class=\"btn btn-sm btn-primary\">Return Home</a>\r\n</div>\r\n<!--end::Link-->\r\n" }]
10367
- }], ctorParameters: () => [{ type: i2.Router }, { type: i1.ThemeModeService }] });
10371
+ args: [{ selector: 'lib-error404', template: "<!--begin::Title-->\r\n<h1 class=\"fw-bolder fs-2hx text-gray-900 mb-4\">\r\n Oops!\r\n</h1>\r\n<!--end::Title-->\r\n\r\n<!--begin::Text-->\r\n<div class=\"fw-semibold fs-6 text-gray-500 mb-7\">\r\n We can't find that page.\r\n</div>\r\n<!--end::Text-->\r\n\r\n<!--begin::Illustration-->\r\n<div class=\"mb-3\">\r\n <img src=\"./assets/media/auth/404-error.png\" class=\"mw-100 mh-300px theme-light-show\" alt=\"\" />\r\n <!-- <img src=\"./assets/media/auth/404-error-dark.png\" class=\"mw-100 mh-300px theme-dark-show\" alt=\"\" /> -->\r\n</div>\r\n<!--end::Illustration-->\r\n\r\n<!--begin::Link-->\r\n<div class=\"mb-0\">\r\n <a *ngIf=\"(gs.userAccess | async)?.userType === 'tango'\" (click)=\"routeToDashboard()\" class=\"btn btn-sm btn-primary\">Return Home</a>\r\n <a *ngIf=\"(gs.userAccess | async)?.userType !== 'tango'\" (click)=\"routeToDashboard1()\" class=\"btn btn-sm btn-primary\">Return Home</a>\r\n\r\n</div>\r\n<!--end::Link-->\r\n" }]
10372
+ }], ctorParameters: () => [{ type: i2.Router }, { type: i1.ThemeModeService }, { type: i1.GlobalStateService }] });
10368
10373
 
10369
10374
  class Error500Component {
10370
10375
  router;