tango-app-ui-shared 3.0.62-dev → 3.0.63-dev

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.
@@ -4,13 +4,15 @@ import * as i1 from '@angular/router';
4
4
  import { NavigationEnd, NavigationCancel, ResolveEnd, NavigationStart, Router, RouterModule } from '@angular/router';
5
5
  import * as i1$1 from 'tango-app-ui-global';
6
6
  import { MenuComponent, ToggleComponent, ScrollTopComponent, DrawerComponent, StickyComponent, ScrollComponent, GlobalStateService } from 'tango-app-ui-global';
7
- import { BehaviorSubject, throwError, map, catchError, Subject, takeUntil, take, switchMap } from 'rxjs';
7
+ import { BehaviorSubject, throwError, map, catchError, Subject, filter, takeUntil, take, switchMap } from 'rxjs';
8
8
  import * as i3 from '@angular/common/http';
9
9
  import { HttpErrorResponse } from '@angular/common/http';
10
10
  import Swal from 'sweetalert2';
11
11
  import * as i2 from '@angular/common';
12
12
  import { DatePipe, CommonModule } from '@angular/common';
13
- import { filter } from 'rxjs/operators';
13
+ import * as i1$2 from '@ng-bootstrap/ng-bootstrap';
14
+ import { NgbDropdownModule, NgbProgressbarModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
15
+ import { filter as filter$1 } from 'rxjs/operators';
14
16
  import * as i3$1 from '@angular/platform-browser';
15
17
  import dayjs from 'dayjs';
16
18
  import 'dayjs/locale/en';
@@ -23,10 +25,9 @@ import { NgxDaterangepickerMd } from 'ngx-daterangepicker-material';
23
25
  import crypto$1 from 'crypto-js';
24
26
  import * as i3$3 from 'ngx-pagination';
25
27
  import { NgxPaginationModule } from 'ngx-pagination';
26
- import * as i1$2 from '@ngx-translate/core';
28
+ import * as i1$3 from '@ngx-translate/core';
27
29
  import { TranslateModule } from '@ngx-translate/core';
28
30
  import { InlineSVGModule } from 'ng-inline-svg-2';
29
- import { NgbDropdownModule, NgbProgressbarModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
30
31
 
31
32
  class AuthService {
32
33
  router;
@@ -101,6 +102,15 @@ class AuthService {
101
102
  getPersonalInfo() {
102
103
  return this.http.get(`${this.userApiUrl}/profile`).pipe(map((response) => response), catchError(this.handleError));
103
104
  }
105
+ getAssignedUsers(clientId) {
106
+ return this.http.get(`${this.userApiUrl}/get-assign-client?clientId=${clientId}`);
107
+ }
108
+ checkToShowPopup(clientId) {
109
+ return this.http.get(`${this.clientApiUrl}/show-csm-assign-confirmation?clientId=${clientId}`);
110
+ }
111
+ csmAssignClientAction(clientId, data) {
112
+ return this.http.post(`${this.clientApiUrl}/client-csm-assign-action?clientId=${clientId}`, data);
113
+ }
104
114
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuthService, deps: [{ token: i1.Router }, { token: i1$1.GlobalStateService }, { token: i3.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
105
115
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: AuthService, providedIn: 'root' });
106
116
  }
@@ -249,6 +259,10 @@ class NotificationService {
249
259
  updateRemind(_id) {
250
260
  return this.http.post(`${this.paymentSubscriptionApiUrl}/updateRemind/${_id}`, '');
251
261
  }
262
+ updateSubscription(data) {
263
+ return this.http
264
+ .put(`${this.paymentSubscriptionApiUrl}/update/subscription/${data.clientId}`, data, {});
265
+ }
252
266
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationService, deps: [{ token: i3.HttpClient }, { token: i1$1.GlobalStateService }], target: i0.ɵɵFactoryTarget.Injectable });
253
267
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: NotificationService, providedIn: 'root' });
254
268
  }
@@ -314,7 +328,7 @@ class NavbarComponent {
314
328
  this.destroy$.complete();
315
329
  }
316
330
  ngOnInit() {
317
- this.router.events.pipe(takeUntil(this.destroy$)).subscribe(() => {
331
+ this.router.events.pipe(filter(event => event instanceof NavigationEnd)).pipe(takeUntil(this.destroy$)).subscribe(() => {
318
332
  let url = this.router.url.split('/');
319
333
  if (url.includes('notifications')) {
320
334
  this.showNotification = false;
@@ -322,6 +336,7 @@ class NavbarComponent {
322
336
  else {
323
337
  this.showNotification = true;
324
338
  }
339
+ this.notificationList();
325
340
  });
326
341
  this.notificationList();
327
342
  }
@@ -1754,18 +1769,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
1754
1769
  args: [{ selector: 'lib-header', template: "<!--begin::Header container-->\r\n<div class=\"app-container header-style\" id=\"kt_app_header_container\" [ngClass]=\"headerContainerCssClass\">\r\n <ng-container *ngIf=\"appSidebarDefaultCollapseDesktopEnabled\">\r\n <div class=\"app-sidebar-collapse-d-flex align-items-center me-3\">\r\n <!--begin::sidebar toggle-->\r\n <div class=\"btn btn-icon w-auto px-0 btn-color-muted btn-active-icon-primary\" data-kt-toggle=\"true\"\r\n data-kt-toggle-target=\"body\" data-kt-toggle-mode=\"on\" data-kt-toggle-name=\"app-sidebar-collapse\">\r\n <lib-keenicon name=\"double-right\" class=\"fs-1\"></lib-keenicon>\r\n </div>\r\n <!--end::sidebar toggle-->\r\n </div>\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"appSidebarDisplay\">\r\n <!--begin::sidebar mobile toggle-->\r\n <div class=\"d-flex align-items-center d-lg-none ms-n2 me-2\" title=\"Show sidebar menu\">\r\n <div class=\"btn btn-icon btn-active-color-primary w-35px h-35px\" id=\"kt_app_sidebar_mobile_toggle\">\r\n <lib-keenicon name=\"abstract-14\" class=\"fs-1\"></lib-keenicon>\r\n </div>\r\n </div>\r\n <!--end::sidebar mobile toggle-->\r\n <!--begin::Mobile logo-->\r\n <div class=\"d-flex align-items-center flex-grow-1 flex-lg-grow-0\">\r\n <a class=\"d-lg-none\">\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo.svg\" class=\"h-30px\" />\r\n </a>\r\n </div>\r\n <!--end::Mobile logo-->\r\n </ng-container>\r\n\r\n <ng-container *ngIf=\"!appSidebarDisplay\">\r\n <!--begin::Logo-->\r\n <div class=\"d-flex align-items-center flex-grow-1 flex-lg-grow-0 me-lg-15\">\r\n <a >\r\n <ng-container *ngIf=\"currentLayoutType === 'dark-header'\">\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo.svg\"\r\n class=\"h-20px h-lg-30px app-sidebar-logo-default\" />\r\n </ng-container>\r\n <ng-container *ngIf=\"currentLayoutType !== 'dark-header'\">\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo.svg\"\r\n class=\"h-20px h-lg-30px app-sidebar-logo-default theme-light-show\" />\r\n <img alt=\"Logo\" src=\"./assets/tango/sidemenu-icons/tango_logo.svg\"\r\n class=\"h-20px h-lg-30px app-sidebar-logo-default theme-dark-show\" />\r\n </ng-container>\r\n </a>\r\n </div>\r\n <!--end::Logo-->\r\n </ng-container>\r\n\r\n <!--begin::Header wrapper-->\r\n <div class=\"d-flex align-items-stretch justify-content-between flex-lg-grow-1 header-border\" id=\"kt_app_header_wrapper\">\r\n <ng-container *ngIf=\"appHeaderDefaultContent === 'menu' && appHeaderDefaulMenuDisplay\">\r\n <!--begin::Menu wrapper-->\r\n <div class=\"\r\n app-header-menu\r\n app-header-mobile-drawer\r\n align-items-stretch\r\n\" data-kt-drawer=\"true\" data-kt-drawer-name=\"app-header-menu\" data-kt-drawer-activate=\"{default: true, lg: false}\"\r\n data-kt-drawer-overlay=\"true\" data-kt-drawer-width=\"225px\" data-kt-drawer-direction=\"end\"\r\n data-kt-drawer-toggle=\"#kt_app_header_menu_toggle\" data-kt-swapper=\"true\"\r\n data-kt-swapper-mode=\"{default: 'append', lg: 'prepend'}\"\r\n data-kt-swapper-parent=\"{default: '#kt_app_body', lg: '#kt_app_header_wrapper'}\">\r\n <!--begin::Menu-->\r\n <lib-header-menu\r\n appPageTitleDirection = ''\r\n [appPageTitleDescription] = true\r\n class=\"\r\n menu\r\n menu-rounded\r\n menu-column\r\n menu-lg-row\r\n my-5\r\n my-lg-0\r\n align-items-stretch\r\n fw-semibold\r\n px-2 px-lg-0\r\n \" id=\"kt_app_header_menu\" data-kt-menu=\"true\"></lib-header-menu>\r\n <!--end::Menu-->\r\n </div>\r\n <!--end::Menu wrapper-->\r\n </ng-container>\r\n <!-- <ng-container *ngIf=\"appHeaderDefaultContent === 'page-title' && appPageTitleDisplay\">\r\n <app-page-title #ktPageTitle class=\"page-title d-flex\"></app-page-title>\r\n </ng-container> -->\r\n <lib-navbar class=\"app-navbar flex-shrink-0\" [appHeaderDefaulMenuDisplay]=\"appHeaderDefaulMenuDisplay\"\r\n [isRtl]=\"false\"></lib-navbar>\r\n </div>\r\n <!--end::Header wrapper-->\r\n</div>\r\n<!--end::Header container-->\r\n", styles: [".header-style{background-color:#fff}.header-border{border-bottom:1px solid #EAECF0}\n"] }]
1755
1770
  }], ctorParameters: () => [{ type: i1$1.LayoutService }, { type: i1.Router }] });
1756
1771
 
1772
+ class CsmAssignConfirmationComponent {
1773
+ activeModal;
1774
+ clientId;
1775
+ email;
1776
+ mobile;
1777
+ name;
1778
+ constructor(activeModal) {
1779
+ this.activeModal = activeModal;
1780
+ }
1781
+ onSubmit(value) {
1782
+ this.activeModal.close({ clientId: this.clientId, action: value });
1783
+ }
1784
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CsmAssignConfirmationComponent, deps: [{ token: i1$2.NgbActiveModal }], target: i0.ɵɵFactoryTarget.Component });
1785
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: CsmAssignConfirmationComponent, selector: "lib-csm-assign-confirmation", inputs: { clientId: "clientId", email: "email", mobile: "mobile", name: "name" }, ngImport: i0, template: "<span class=\"mb-5\">\r\n <svg width=\"56\" height=\"56\" viewBox=\"0 0 56 56\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <rect x=\"4\" y=\"4\" width=\"48\" height=\"48\" rx=\"24\" fill=\"#FEF0C7\" />\r\n <rect x=\"4\" y=\"4\" width=\"48\" height=\"48\" rx=\"24\" stroke=\"#FFFAEB\" stroke-width=\"8\" />\r\n <path\r\n d=\"M27.9998 24V28M27.9998 32H28.0098M26.2898 18.86L17.8198 33C17.6451 33.3024 17.5527 33.6453 17.5518 33.9945C17.5508 34.3437 17.6413 34.6871 17.8142 34.9905C17.9871 35.2939 18.2365 35.5467 18.5375 35.7238C18.8385 35.9009 19.1806 35.9961 19.5298 36H36.4698C36.819 35.9961 37.1611 35.9009 37.4621 35.7238C37.7631 35.5467 38.0124 35.2939 38.1854 34.9905C38.3583 34.6871 38.4488 34.3437 38.4478 33.9945C38.4468 33.6453 38.3544 33.3024 38.1798 33L29.7098 18.86C29.5315 18.5661 29.2805 18.3231 28.981 18.1544C28.6814 17.9858 28.3435 17.8972 27.9998 17.8972C27.656 17.8972 27.3181 17.9858 27.0186 18.1544C26.7191 18.3231 26.468 18.5661 26.2898 18.86Z\"\r\n stroke=\"#DC6803\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\r\n </svg>\r\n</span>\r\n\r\n<span class=\"mb-3 title\">\r\n {{name}} Assigned as Your CSM\r\n</span>\r\n\r\n<span class=\"mb-5 description\">\r\n {{name}} has been assigned as your Customer Success Manager (CSM). For inquiries about data management, store\r\n operations, or user management, please contact {{name}}.\r\n</span>\r\n\r\n<span class=\"mb-5 sub-title\">\r\n Contact Information:\r\n</span>\r\n\r\n<span class=\"mb-5 description\">\r\n <ul>\r\n <li>\r\n Phone: {{mobile}}\r\n </li>\r\n <li>\r\n Email: {{email}}\r\n </li>\r\n </ul>\r\n</span>\r\n\r\n<span class=\"mb-10 description\">\r\n Please approve {{name}}'s access to your data dashboard.\r\n</span>\r\n\r\n<div class=\"d-flex align-items-center justify-content-center\" >\r\n <button (click)=\"onSubmit('decline')\" class=\"btn btn-outline btn-cust me-5\">Decline</button>\r\n\r\n <button (click)=\"onSubmit('approve')\" class=\"btn btn-primary btn-cust\">Approve</button>\r\n\r\n</div>", styles: [":host{padding:24px}.title{color:#101828;font-size:18px;font-weight:600;line-height:28px}.sub-title{color:#667085;font-size:14px;font-weight:600;line-height:20px}.description{color:#667085;font-size:14px;font-weight:400;line-height:20px}.btn-cust{width:25%}\n"] });
1786
+ }
1787
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: CsmAssignConfirmationComponent, decorators: [{
1788
+ type: Component,
1789
+ args: [{ selector: 'lib-csm-assign-confirmation', template: "<span class=\"mb-5\">\r\n <svg width=\"56\" height=\"56\" viewBox=\"0 0 56 56\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <rect x=\"4\" y=\"4\" width=\"48\" height=\"48\" rx=\"24\" fill=\"#FEF0C7\" />\r\n <rect x=\"4\" y=\"4\" width=\"48\" height=\"48\" rx=\"24\" stroke=\"#FFFAEB\" stroke-width=\"8\" />\r\n <path\r\n d=\"M27.9998 24V28M27.9998 32H28.0098M26.2898 18.86L17.8198 33C17.6451 33.3024 17.5527 33.6453 17.5518 33.9945C17.5508 34.3437 17.6413 34.6871 17.8142 34.9905C17.9871 35.2939 18.2365 35.5467 18.5375 35.7238C18.8385 35.9009 19.1806 35.9961 19.5298 36H36.4698C36.819 35.9961 37.1611 35.9009 37.4621 35.7238C37.7631 35.5467 38.0124 35.2939 38.1854 34.9905C38.3583 34.6871 38.4488 34.3437 38.4478 33.9945C38.4468 33.6453 38.3544 33.3024 38.1798 33L29.7098 18.86C29.5315 18.5661 29.2805 18.3231 28.981 18.1544C28.6814 17.9858 28.3435 17.8972 27.9998 17.8972C27.656 17.8972 27.3181 17.9858 27.0186 18.1544C26.7191 18.3231 26.468 18.5661 26.2898 18.86Z\"\r\n stroke=\"#DC6803\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\r\n </svg>\r\n</span>\r\n\r\n<span class=\"mb-3 title\">\r\n {{name}} Assigned as Your CSM\r\n</span>\r\n\r\n<span class=\"mb-5 description\">\r\n {{name}} has been assigned as your Customer Success Manager (CSM). For inquiries about data management, store\r\n operations, or user management, please contact {{name}}.\r\n</span>\r\n\r\n<span class=\"mb-5 sub-title\">\r\n Contact Information:\r\n</span>\r\n\r\n<span class=\"mb-5 description\">\r\n <ul>\r\n <li>\r\n Phone: {{mobile}}\r\n </li>\r\n <li>\r\n Email: {{email}}\r\n </li>\r\n </ul>\r\n</span>\r\n\r\n<span class=\"mb-10 description\">\r\n Please approve {{name}}'s access to your data dashboard.\r\n</span>\r\n\r\n<div class=\"d-flex align-items-center justify-content-center\" >\r\n <button (click)=\"onSubmit('decline')\" class=\"btn btn-outline btn-cust me-5\">Decline</button>\r\n\r\n <button (click)=\"onSubmit('approve')\" class=\"btn btn-primary btn-cust\">Approve</button>\r\n\r\n</div>", styles: [":host{padding:24px}.title{color:#101828;font-size:18px;font-weight:600;line-height:28px}.sub-title{color:#667085;font-size:14px;font-weight:600;line-height:20px}.description{color:#667085;font-size:14px;font-weight:400;line-height:20px}.btn-cust{width:25%}\n"] }]
1790
+ }], ctorParameters: () => [{ type: i1$2.NgbActiveModal }], propDecorators: { clientId: [{
1791
+ type: Input
1792
+ }], email: [{
1793
+ type: Input
1794
+ }], mobile: [{
1795
+ type: Input
1796
+ }], name: [{
1797
+ type: Input
1798
+ }] } });
1799
+
1757
1800
  // import { DrawerComponent } from '../../../kt/components';
1758
1801
  class ContentComponent {
1759
1802
  router;
1803
+ modalService;
1804
+ authService;
1805
+ toastService;
1760
1806
  contentContainerCSSClass = '';
1761
1807
  appContentContiner;
1762
1808
  appContentContainerClass = '';
1763
1809
  unsubscribe = [];
1764
- constructor(router) {
1810
+ constructor(router, modalService, authService, toastService) {
1765
1811
  this.router = router;
1812
+ this.modalService = modalService;
1813
+ this.authService = authService;
1814
+ this.toastService = toastService;
1766
1815
  }
1767
1816
  ngOnInit() {
1768
1817
  this.routingChanges();
1818
+ this.getAssignedUsers();
1769
1819
  }
1770
1820
  routingChanges() {
1771
1821
  const routerSubscription = this.router.events.subscribe((event) => {
@@ -1778,13 +1828,66 @@ class ContentComponent {
1778
1828
  ngOnDestroy() {
1779
1829
  this.unsubscribe.forEach((sb) => sb.unsubscribe());
1780
1830
  }
1781
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ContentComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
1831
+ confirmCsmAssign(clientId, email, mobile, name) {
1832
+ const modalRef = this.modalService.open(CsmAssignConfirmationComponent, {
1833
+ centered: true, size: 'md', scrollable: true,
1834
+ });
1835
+ modalRef.componentInstance.clientId = clientId;
1836
+ modalRef.componentInstance.email = email;
1837
+ modalRef.componentInstance.mobile = mobile;
1838
+ modalRef.componentInstance.name = name;
1839
+ modalRef.result.then((result) => {
1840
+ if (result.action === 'approve' || result.action === 'decline') {
1841
+ let data = {
1842
+ action: result.action
1843
+ };
1844
+ this.authService.csmAssignClientAction(result.clientId, data).subscribe({
1845
+ next: (e) => {
1846
+ this.toastService.getSuccessToast(e.message);
1847
+ },
1848
+ error: (e) => {
1849
+ this.toastService.getErrorToast('Update failed');
1850
+ }
1851
+ });
1852
+ }
1853
+ });
1854
+ }
1855
+ getAssignedUsers() {
1856
+ let userData = localStorage.getItem('user-info');
1857
+ if (userData) {
1858
+ userData = JSON.parse(userData);
1859
+ if (userData.role === 'superadmin' && userData.userType === 'client') {
1860
+ this.authService.checkToShowPopup(userData?.clientId).subscribe({
1861
+ next: (res) => {
1862
+ if (res.data.notifyCsmAssign) {
1863
+ this.getCsmDetail(userData?.clientId);
1864
+ }
1865
+ }
1866
+ });
1867
+ }
1868
+ }
1869
+ }
1870
+ getCsmDetail(clientId) {
1871
+ this.authService.getAssignedUsers(clientId).subscribe({
1872
+ next: (e) => {
1873
+ if (e?.data?.result?.length) {
1874
+ e?.data?.result.forEach((element) => {
1875
+ if (element.tangoUserType === 'csm') {
1876
+ const csm = element?.assignedUser?.[0];
1877
+ this.confirmCsmAssign(clientId, csm?.email, csm?.mobileNumber, csm?.userName);
1878
+ }
1879
+ });
1880
+ }
1881
+ }
1882
+ });
1883
+ }
1884
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ContentComponent, deps: [{ token: i1.Router }, { token: i1$2.NgbModal }, { token: AuthService }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Component });
1782
1885
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.10", type: ContentComponent, selector: "lib-content", inputs: { contentContainerCSSClass: "contentContainerCSSClass", appContentContiner: "appContentContiner", appContentContainerClass: "appContentContainerClass" }, ngImport: i0, template: "<ng-container *ngIf=\"appContentContiner\">\r\n <!--begin::Content container-->\r\n <div id=\"kt_app_content_container\" class=\"app-container\"\r\n [ngClass]=\"appContentContainerClass + ' ' + contentContainerCSSClass\"\r\n [ngClass]=\"{'container-xxl': appContentContiner === 'fixed', 'container-fluid': appContentContiner === 'fluid'}\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n <!--end::Content container-->\r\n</ng-container>\r\n<ng-container *ngIf=\"!appContentContiner\">\r\n <router-outlet></router-outlet>\r\n</ng-container>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
1783
1886
  }
1784
1887
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: ContentComponent, decorators: [{
1785
1888
  type: Component,
1786
1889
  args: [{ selector: 'lib-content', template: "<ng-container *ngIf=\"appContentContiner\">\r\n <!--begin::Content container-->\r\n <div id=\"kt_app_content_container\" class=\"app-container\"\r\n [ngClass]=\"appContentContainerClass + ' ' + contentContainerCSSClass\"\r\n [ngClass]=\"{'container-xxl': appContentContiner === 'fixed', 'container-fluid': appContentContiner === 'fluid'}\">\r\n <router-outlet></router-outlet>\r\n </div>\r\n <!--end::Content container-->\r\n</ng-container>\r\n<ng-container *ngIf=\"!appContentContiner\">\r\n <router-outlet></router-outlet>\r\n</ng-container>\r\n" }]
1787
- }], ctorParameters: () => [{ type: i1.Router }], propDecorators: { contentContainerCSSClass: [{
1890
+ }], ctorParameters: () => [{ type: i1.Router }, { type: i1$2.NgbModal }, { type: AuthService }, { type: ToastService }], propDecorators: { contentContainerCSSClass: [{
1788
1891
  type: Input
1789
1892
  }], appContentContiner: [{
1790
1893
  type: Input
@@ -1815,7 +1918,7 @@ class ScriptsInitComponent {
1815
1918
  initPageInfo();
1816
1919
  // subscribe to router events
1817
1920
  this.router.events
1818
- .pipe(filter((event) => event instanceof ResolveEnd))
1921
+ .pipe(filter$1((event) => event instanceof ResolveEnd))
1819
1922
  .subscribe(initPageInfo);
1820
1923
  }
1821
1924
  ngOnInit() {
@@ -2969,7 +3072,7 @@ class ToolbarComponent {
2969
3072
  URL == `/manage/stores/settings?storeId=${this.storeId}` ||
2970
3073
  URL == `/manage/stores/zones?storeId=${this.storeId}` ||
2971
3074
  URL == `/manage/stores/cameras?storeId=${this.storeId}` ||
2972
- URL == `/manage/stores/infrastructure?storeId=${this.storeId}` ||
3075
+ // URL == `/manage/stores/infrastructure?storeId=${this.storeId}` ||
2973
3076
  URL == `/manage/stores/mat?storeId=${this.storeId}`) {
2974
3077
  this.setUIProperties(false, false, false, true, false);
2975
3078
  }
@@ -2988,7 +3091,7 @@ class ToolbarComponent {
2988
3091
  URL == `/manage/stores/settings?storeId=${this.storeId}` ||
2989
3092
  URL == `/manage/stores/zones?storeId=${this.storeId}` ||
2990
3093
  URL == `/manage/stores/cameras?storeId=${this.storeId}` ||
2991
- URL == `/manage/stores/infrastructure?storeId=${this.storeId}` ||
3094
+ // URL == `/manage/stores/infrastructure?storeId=${this.storeId}` ||
2992
3095
  URL == `/manage/stores/mat?storeId=${this.storeId}`) {
2993
3096
  this.setUIProperties(false, false, false, true, false);
2994
3097
  }
@@ -4167,7 +4270,7 @@ class TranslationService {
4167
4270
  return (localStorage.getItem(LOCALIZATION_LOCAL_STORAGE_KEY) ||
4168
4271
  this.translate.getDefaultLang());
4169
4272
  }
4170
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: TranslationService, deps: [{ token: i1$2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4273
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: TranslationService, deps: [{ token: i1$3.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
4171
4274
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: TranslationService, providedIn: 'root' });
4172
4275
  }
4173
4276
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImport: i0, type: TranslationService, decorators: [{
@@ -4175,7 +4278,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
4175
4278
  args: [{
4176
4279
  providedIn: 'root',
4177
4280
  }]
4178
- }], ctorParameters: () => [{ type: i1$2.TranslateService }] });
4281
+ }], ctorParameters: () => [{ type: i1$3.TranslateService }] });
4179
4282
 
4180
4283
  // USA
4181
4284
  const locale$5 = {
@@ -4910,7 +5013,7 @@ const Routing = [
4910
5013
  },
4911
5014
  {
4912
5015
  path: 'notifications',
4913
- loadChildren: () => import('./tango-app-ui-shared-notification.module-UNDnJK8t.mjs').then((m) => m.NotificationModule),
5016
+ loadChildren: () => import('./tango-app-ui-shared-notification.module-C_ObuoyP.mjs').then((m) => m.NotificationModule),
4914
5017
  },
4915
5018
  {
4916
5019
  path: '',
@@ -5051,7 +5154,8 @@ class LayoutModule {
5051
5154
  DatepickerComponent,
5052
5155
  DateSingleSelectComponent,
5053
5156
  SingleStoreComponent,
5054
- NotificationsInnerComponent], imports: [CommonModule, i1.RouterModule, TranslationModule,
5157
+ NotificationsInnerComponent,
5158
+ CsmAssignConfirmationComponent], imports: [CommonModule, i1.RouterModule, TranslationModule,
5055
5159
  InlineSVGModule,
5056
5160
  NgbDropdownModule,
5057
5161
  NgbProgressbarModule,
@@ -5113,6 +5217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.10", ngImpo
5113
5217
  DateSingleSelectComponent,
5114
5218
  SingleStoreComponent,
5115
5219
  NotificationsInnerComponent,
5220
+ CsmAssignConfirmationComponent,
5116
5221
  ],
5117
5222
  imports: [
5118
5223
  CommonModule,