@retalia/sidebar-navigation 13.4.0 → 14.3.0
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/esm2020/lib/navigation-lib.component.mjs +7 -7
- package/esm2020/lib/navigation-lib.module.mjs +8 -11
- package/esm2020/lib/navigation-lib.service.mjs +3 -3
- package/esm2020/lib/services/auth.service.mjs +4 -4
- package/esm2020/lib/services/cookie.service.mjs +4 -4
- package/esm2020/lib/services/module.service.mjs +3 -3
- package/esm2020/lib/services/sub-item.service.mjs +3 -3
- package/esm2020/lib/sidebar/shop-modal/shop-modal.component.mjs +4 -4
- package/esm2020/lib/sidebar/sidebar.component.mjs +7 -7
- package/esm2020/lib/sidebar/sub-item/sub-item.component.mjs +5 -5
- package/esm2020/lib/topbar/topbar.component.mjs +4 -4
- package/fesm2015/retalia-sidebar-navigation.mjs +44 -47
- package/fesm2015/retalia-sidebar-navigation.mjs.map +1 -1
- package/fesm2020/retalia-sidebar-navigation.mjs +44 -47
- package/fesm2020/retalia-sidebar-navigation.mjs.map +1 -1
- package/lib/navigation-lib.component.d.ts +1 -1
- package/lib/sidebar/shop-modal/shop-modal.component.d.ts +1 -1
- package/lib/sidebar/sidebar.component.d.ts +1 -1
- package/lib/sidebar/sub-item/sub-item.component.d.ts +1 -1
- package/lib/topbar/topbar.component.d.ts +1 -1
- package/package.json +7 -17
- /package/{retalia-sidebar-navigation.d.ts → index.d.ts} +0 -0
|
@@ -15,19 +15,17 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
import * as i1 from "ngx-smart-modal";
|
|
16
16
|
export class NavigationLibModule {
|
|
17
17
|
}
|
|
18
|
-
NavigationLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
19
|
-
NavigationLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
18
|
+
NavigationLibModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NavigationLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
+
NavigationLibModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: NavigationLibModule, declarations: [SidebarComponent,
|
|
20
20
|
SubItemComponent,
|
|
21
21
|
TopbarComponent,
|
|
22
22
|
NavigationLibComponent,
|
|
23
23
|
ShopModalComponent], imports: [CommonModule,
|
|
24
24
|
HttpClientModule, i1.NgxSmartModalModule], exports: [NavigationLibComponent] });
|
|
25
|
-
NavigationLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
]] });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NavigationLibModule, decorators: [{
|
|
25
|
+
NavigationLibModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NavigationLibModule, providers: [SubItemService, ModuleService, AuthService, CookieService], imports: [CommonModule,
|
|
26
|
+
HttpClientModule,
|
|
27
|
+
NgxSmartModalModule.forRoot()] });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NavigationLibModule, decorators: [{
|
|
31
29
|
type: NgModule,
|
|
32
30
|
args: [{
|
|
33
31
|
declarations: [
|
|
@@ -43,8 +41,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
43
41
|
NgxSmartModalModule.forRoot(),
|
|
44
42
|
],
|
|
45
43
|
providers: [SubItemService, ModuleService, AuthService, CookieService],
|
|
46
|
-
|
|
47
|
-
exports: [NavigationLibComponent],
|
|
44
|
+
exports: [NavigationLibComponent]
|
|
48
45
|
}]
|
|
49
46
|
}] });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base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SxcclxuICAgIGltcG9ydHM6IFtcclxuICAgICAgICBDb21tb25Nb2R1bGUsXHJcbiAgICAgICAgSHR0cENsaWVudE1vZHVsZSxcclxuICAgICAgICBOZ3hTbWFydE1vZGFsTW9kdWxlLmZvclJvb3QoKSxcclxuICAgIF0sXHJcbiAgICBwcm92aWRlcnM6IFtTdWJJdGVtU2VydmljZSwgTW9kdWxlU2VydmljZSwgQXV0aFNlcnZpY2UsIENvb2tpZVNlcnZpY2VdLFxyXG4gICAgZXhwb3J0czogW05hdmlnYXRpb25MaWJDb21wb25lbnRdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBOYXZpZ2F0aW9uTGliTW9kdWxlIHt9XHJcbiJdfQ==
|
|
@@ -3,9 +3,9 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export class NavigationLibService {
|
|
4
4
|
constructor() { }
|
|
5
5
|
}
|
|
6
|
-
NavigationLibService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
NavigationLibService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6
|
+
NavigationLibService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NavigationLibService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7
|
+
NavigationLibService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NavigationLibService, providedIn: 'root' });
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NavigationLibService, decorators: [{
|
|
9
9
|
type: Injectable,
|
|
10
10
|
args: [{
|
|
11
11
|
providedIn: 'root'
|
|
@@ -29,9 +29,9 @@ export class AuthService {
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AuthService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
33
|
+
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AuthService, decorators: [{
|
|
35
35
|
type: Injectable,
|
|
36
36
|
args: [{
|
|
37
37
|
providedIn: 'root',
|
|
@@ -40,4 +40,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
|
|
|
40
40
|
type: Inject,
|
|
41
41
|
args: [DOCUMENT]
|
|
42
42
|
}] }]; } });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2lkZWJhci1uYXZpZ2F0aW9uL3NyYy9saWIvc2VydmljZXMvYXV0aC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7QUFFM0MsV0FB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29va2llcy5sZW5ndGg7IGMrKykge1xyXG4gICAgICBsZXQgZG9tYWluID0gd2luZG93LmxvY2F0aW9uLmhvc3RuYW1lLnNwbGl0KCcuJyk7XHJcbiAgICAgIHdoaWxlIChkb21haW4ubGVuZ3RoID4gMCkge1xyXG4gICAgICAgIGxldCBjb29raWVCYXNlID1cclxuICAgICAgICAgIGVuY29kZVVSSUNvbXBvbmVudChjb29raWVzW2NdLnNwbGl0KCc7JylbMF0uc3BsaXQoJz0nKVswXSkgK1xyXG4gICAgICAgICAgJz07IGV4cGlyZXM9VGh1LCAwMS1KYW4tMTk3MCAwMDowMDowMSBHTVQ7IGRvbWFpbj0nICtcclxuICAgICAgICAgIGRvbWFpbi5qb2luKCcuJykgK1xyXG4gICAgICAgICAgJyA7cGF0aD0nO1xyXG4gICAgICAgIGxldCBwID0gbG9jYXRpb24ucGF0aG5hbWUuc3BsaXQoJy8nKTtcclxuICAgICAgICBkb2N1bWVudC5jb29raWUgPSBjb29raWVCYXNlICsgJy8nO1xyXG4gICAgICAgIHdoaWxlIChwLmxlbmd0aCA+IDApIHtcclxuICAgICAgICAgIGRvY3VtZW50LmNvb2tpZSA9IGNvb2tpZUJhc2UgKyBwLmpvaW4oJy8nKTtcclxuICAgICAgICAgIHAucG9wKCk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGRvbWFpbi5zaGlmdCgpO1xyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -23,12 +23,12 @@ export class CookieService {
|
|
|
23
23
|
removeCookie(cookieName, { path: '/', domain: this.getDomain() });
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
CookieService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
CookieService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
CookieService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CookieService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27
|
+
CookieService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CookieService });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: CookieService, decorators: [{
|
|
29
29
|
type: Injectable
|
|
30
30
|
}], ctorParameters: function () { return [{ type: Document, decorators: [{
|
|
31
31
|
type: Inject,
|
|
32
32
|
args: [DOCUMENT]
|
|
33
33
|
}] }]; } });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29va2llLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaWRlYmFyLW5hdmlnYXRpb24vc3JjL2xpYi9zZXJ2aWNlcy9jb29raWUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDM0MsT0FBTyxFQUNMLEdBQUcsSUFBSSxTQUFTLEVBQ2hCLEdBQUcsSUFBSSxTQUFTLEVBQ2hCLE1BQU0sSUFBSSxZQUFZLEdBQ3ZCLE1BQU0sV0FBVyxDQUFDO0FBRW5CLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxPQUFPLENBQUM7O0FBRWxDLFdBQVc7QUFFWCxNQUFNLE9BQU8sYUFBYTtJQUN4QixZQUFzQyxRQUFrQjtRQUFsQixhQUFRL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92ZUNvb2tpZShjb29raWVOYW1lOiBDb29raWVOYW1lcyk6IHZvaWQge1xyXG4gICAgcmVtb3ZlQ29va2llKGNvb2tpZU5hbWUsIHsgcGF0aDogJy8nLCBkb21haW46IHRoaXMuZ2V0RG9tYWluKCkgfSk7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -122,9 +122,9 @@ export class ModuleService {
|
|
|
122
122
|
return this.modules.filter(m => m.url.indexOf(moduleRoute) > 0)[0];
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
ModuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
126
|
-
ModuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
125
|
+
ModuleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ModuleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
126
|
+
ModuleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ModuleService, providedIn: 'root' });
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ModuleService, decorators: [{
|
|
128
128
|
type: Injectable,
|
|
129
129
|
args: [{
|
|
130
130
|
providedIn: 'root',
|
|
@@ -39,9 +39,9 @@ export class SubItemService {
|
|
|
39
39
|
this.subItemClickEvent.emit(item);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
SubItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
43
|
-
SubItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
42
|
+
SubItemService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SubItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
43
|
+
SubItemService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SubItemService });
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SubItemService, decorators: [{
|
|
45
45
|
type: Injectable
|
|
46
46
|
}], ctorParameters: function () { return []; } });
|
|
47
47
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ViLWl0ZW0uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpZGViYXItbmF2aWdhdGlvbi9zcmMvbGliL3NlcnZpY2VzL3N1Yi1pdGVtLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE9BQU8sQ0FBQztBQUNsQyxPQUFPLEVBQUUsR0FBRyxJQUFJLFNBQVMsRUFBRSxNQUFNLFdBQVcsQ0FBQzs7QUFHN0MsTUFBTSxPQUFPLGNBQWM7SUFJekI7UUFIQSxzQkFBaUIsR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO1FBSXJDLElBQUksQ0FBQyxRQUFRLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQztJQUN0QyxDQUFDO0lBRU0sWUFBWSxDQUFDLGNBQTBCLEVBQUUsTUFBYztRQUM1RCxJQUFJLFNBQVMsR0FBRyxVQUFVLGNBQWMsQ0FBQyxZQUFZLElBQUksQ0FBQztRQUMxRCxJQUFJLE1BQU0sR0FBUSxjQUFjLENBQUM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3aXRoIGEgZm9ybWF0dGVkIGRvbWFpblxyXG4gICAgc2V0Q29va2llKG1vZHVsZUtleSwgZW50aXR5LnRvU3RyaW5nKCksIHtcclxuICAgICAgcGF0aDogJy8nLFxyXG4gICAgICBkb21haW46IHRsZCxcclxuICAgICAgc2FtZVNpdGUgOiAnbm9uZScsIFxyXG4gICAgICBzZWN1cmUgOiB0cnVlXHJcbiAgICB9KTtcclxuICB9XHJcblxyXG4gIHN1Ykl0ZW1jbGlja2VkKGl0ZW0pIHtcclxuICAgIHRoaXMuc3ViSXRlbUNsaWNrRXZlbnQuZW1pdChpdGVtKTtcclxuICB9XHJcbn1cclxuXHJcbi8vIFRoaXMgc2VydmljZSBleGlzdHMgdG8gYWxsb3cgdGhlIEV2ZW50RW1pdHRlciB0byBidWJibGUgdXAgZnJvbSB0aGUgcmVjdXJzaXZlIHN1Ykl0ZW0gY29tcG9uZW50IHRvIHRoZSBwYXJlbnQgc2lkZWJhciBjb21wb25lbnQuXHJcbiJdfQ==
|
|
@@ -25,11 +25,11 @@ export class ShopModalComponent {
|
|
|
25
25
|
.includes(this.shopSearchValue.toLowerCase()));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
ShopModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
ShopModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
28
|
+
ShopModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ShopModalComponent, deps: [{ token: i1.NgxSmartModalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
ShopModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ShopModalComponent, selector: "shop-modal", inputs: { availableShops: "availableShops", shopSearchValue: "shopSearchValue" }, outputs: { selectedShop: "selectedShop" }, ngImport: i0, template: "<ngx-smart-modal #shopModal identifier=\"shopModal\">\r\n <h1 class=\"shopSelect\">Shop Select</h1>\r\n <ng-container *ngIf=\"availableShops\">\r\n <ng-container *ngIf=\"availableShops.length > 8 || copyAvailableShops.length > 8\">\r\n <input class=\"shopSearchInput\" type=\"search\" autocomplete=\"off\" id=\"search\" [value]=\"shopSearchValue\"\r\n required=\"false\" [placeholder]=\"shopSearchPlaceholder\" (keyup)=\"handleShopSearch($event)\"\r\n (click)=\"handleShopSearch($event)\" />\r\n </ng-container>\r\n <div class=\"shopButtons\">\r\n <button class=\"shopButton\" *ngFor=\"let shop of availableShops\"\r\n [attr.data-testid]=\"'nav-shop' + shop.id\"\r\n (click)=\"shopSelected(shop)\">{{shop.description}}</button>\r\n </div>\r\n </ng-container>\r\n</ngx-smart-modal>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:translateZ(0)}.nsm-body{position:relative;flex:1 1 auto}.nsm-dialog[class*=nsm-dialog-animation-]{transition:transform .5s ease-in-out,opacity .5s}.nsm-dialog-animation-ltr{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-ltr.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ltr.nsm-dialog-close{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-rtl{transform:translate3d(50%,0,0)}.nsm-dialog-animation-rtl.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-rtl.nsm-dialog-close{transform:translate3d(50%,0,0)}.nsm-dialog-animation-ttb{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-ttb.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ttb.nsm-dialog-close{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-btt{transform:translate3d(0,50%,0)}.nsm-dialog-animation-btt.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-btt.nsm-dialog-close{transform:translate3d(0,50%,0)}.imagine-body{background-color:#fafbfc}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Regular.ttf) format(\"truetype\");font-weight:400;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Bold.ttf) format(\"truetype\");font-weight:700;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Italic.ttf) format(\"truetype\");font-weight:400;font-style:italic}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-SemiBold.ttf) format(\"truetype\");font-weight:600;font-style:normal}#shopModal{direction:ltr}.shopButtons{display:block;padding:10px 0;margin:auto;width:100%;text-align:center}.shopButton{cursor:pointer;min-width:90px;border-radius:5px;border:none;outline:none;padding:5px 10px}.shopButton+.shopButton{margin-left:10px;margin-bottom:10px}.shopSearchInput{display:block;direction:ltr;width:90%;height:inherit;margin:auto}input:invalid{box-shadow:none}.shopSelect{font-size:18px;font-family:Poppins,sans-serif;text-align:center}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1.NgxSmartModalComponent, selector: "ngx-smart-modal", inputs: ["closable", "escapable", "dismissable", "identifier", "customClass", "visible", "backdrop", "force", "hideDelay", "autostart", "target", "ariaLabel", "ariaLabelledBy", "ariaDescribedBy", "refocus"], outputs: ["visibleChange", "onClose", "onCloseFinished", "onDismiss", "onDismissFinished", "onAnyCloseEvent", "onAnyCloseEventFinished", "onOpen", "onOpenFinished", "onEscape", "onDataAdded", "onDataRemoved"] }] });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ShopModalComponent, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
|
-
args: [{ selector: 'shop-modal', template: "<ngx-smart-modal #shopModal identifier=\"shopModal\">\r\n <h1 class=\"shopSelect\">Shop Select</h1>\r\n <ng-container *ngIf=\"availableShops\">\r\n <ng-container *ngIf=\"availableShops.length > 8 || copyAvailableShops.length > 8\">\r\n <input class=\"shopSearchInput\" type=\"search\" autocomplete=\"off\" id=\"search\" [value]=\"shopSearchValue\"\r\n required=\"false\" [placeholder]=\"shopSearchPlaceholder\" (keyup)=\"handleShopSearch($event)\"\r\n (click)=\"handleShopSearch($event)\" />\r\n </ng-container>\r\n <div class=\"shopButtons\">\r\n <button class=\"shopButton\" *ngFor=\"let shop of availableShops\"\r\n [attr.data-testid]=\"'nav-shop' + shop.id\"\r\n (click)=\"shopSelected(shop)\">{{shop.description}}</button>\r\n </div>\r\n </ng-container>\r\n</ngx-smart-modal>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:
|
|
32
|
+
args: [{ selector: 'shop-modal', template: "<ngx-smart-modal #shopModal identifier=\"shopModal\">\r\n <h1 class=\"shopSelect\">Shop Select</h1>\r\n <ng-container *ngIf=\"availableShops\">\r\n <ng-container *ngIf=\"availableShops.length > 8 || copyAvailableShops.length > 8\">\r\n <input class=\"shopSearchInput\" type=\"search\" autocomplete=\"off\" id=\"search\" [value]=\"shopSearchValue\"\r\n required=\"false\" [placeholder]=\"shopSearchPlaceholder\" (keyup)=\"handleShopSearch($event)\"\r\n (click)=\"handleShopSearch($event)\" />\r\n </ng-container>\r\n <div class=\"shopButtons\">\r\n <button class=\"shopButton\" *ngFor=\"let shop of availableShops\"\r\n [attr.data-testid]=\"'nav-shop' + shop.id\"\r\n (click)=\"shopSelected(shop)\">{{shop.description}}</button>\r\n </div>\r\n </ng-container>\r\n</ngx-smart-modal>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:translateZ(0)}.nsm-body{position:relative;flex:1 1 auto}.nsm-dialog[class*=nsm-dialog-animation-]{transition:transform .5s ease-in-out,opacity .5s}.nsm-dialog-animation-ltr{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-ltr.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ltr.nsm-dialog-close{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-rtl{transform:translate3d(50%,0,0)}.nsm-dialog-animation-rtl.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-rtl.nsm-dialog-close{transform:translate3d(50%,0,0)}.nsm-dialog-animation-ttb{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-ttb.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ttb.nsm-dialog-close{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-btt{transform:translate3d(0,50%,0)}.nsm-dialog-animation-btt.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-btt.nsm-dialog-close{transform:translate3d(0,50%,0)}.imagine-body{background-color:#fafbfc}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Regular.ttf) format(\"truetype\");font-weight:400;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Bold.ttf) format(\"truetype\");font-weight:700;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Italic.ttf) format(\"truetype\");font-weight:400;font-style:italic}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-SemiBold.ttf) format(\"truetype\");font-weight:600;font-style:normal}#shopModal{direction:ltr}.shopButtons{display:block;padding:10px 0;margin:auto;width:100%;text-align:center}.shopButton{cursor:pointer;min-width:90px;border-radius:5px;border:none;outline:none;padding:5px 10px}.shopButton+.shopButton{margin-left:10px;margin-bottom:10px}.shopSearchInput{display:block;direction:ltr;width:90%;height:inherit;margin:auto}input:invalid{box-shadow:none}.shopSelect{font-size:18px;font-family:Poppins,sans-serif;text-align:center}\n"] }]
|
|
33
33
|
}], ctorParameters: function () { return [{ type: i1.NgxSmartModalService }]; }, propDecorators: { availableShops: [{
|
|
34
34
|
type: Input
|
|
35
35
|
}], selectedShop: [{
|
|
@@ -6,9 +6,9 @@ import * as i1 from "../services/module.service";
|
|
|
6
6
|
import * as i2 from "../services/sub-item.service";
|
|
7
7
|
import * as i3 from "../services/cookie.service";
|
|
8
8
|
import * as i4 from "ngx-smart-modal";
|
|
9
|
-
import * as i5 from "
|
|
10
|
-
import * as i6 from "./
|
|
11
|
-
import * as i7 from "
|
|
9
|
+
import * as i5 from "@angular/common";
|
|
10
|
+
import * as i6 from "./sub-item/sub-item.component";
|
|
11
|
+
import * as i7 from "./shop-modal/shop-modal.component";
|
|
12
12
|
export class SidebarComponent {
|
|
13
13
|
constructor(moduleService, subItemService, cookieService, ngxSmartModalService) {
|
|
14
14
|
this.moduleService = moduleService;
|
|
@@ -167,11 +167,11 @@ export class SidebarComponent {
|
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
-
SidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
171
|
-
SidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: SidebarComponent, selector: "sidebar", inputs: { environment: "environment", moduleSearchValue: "moduleSearchValue" }, outputs: { selectedRoute: "selectedRoute" }, usesOnChanges: true, ngImport: i0, template: "<div id=\"sidebar-panel\">\r\n <div class=\"panel-item\" (click)=\"toggleSidebar($event, 'isModuleOpen')\" data-testid=\"nav-menu\">\r\n <svg class=\"panel-icon\" *ngIf=\"!panelButtonStates.isModuleOpen\" height=\"14\" width=\"21\" viewBox=\"0 0 18 12\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path d=\"M0 12H18V10H0V12ZM0 7H18V5H0V7ZM0 0V2H18V0H0Z\" />\r\n </svg>\r\n <svg class=\"panel-icon\" *ngIf=\"panelButtonStates.isModuleOpen\" height=\"13\" width=\"13\" viewBox=\"0 0 14 14\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path\r\n d=\"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z\" />\r\n </svg>\r\n </div>\r\n <div class=\"panel-item\" (click)=\"toggleSidebar($event, 'isSupportOpen')\" data-testid=\"nav-support\">\r\n <svg class=\"panel-icon\" *ngIf=\"!panelButtonStates.isSupportOpen\" width=\"18\" height=\"21\" viewBox=\"0 0 18 21\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M16 0H2C0.89 0 0 0.9 0 2V16C0 17.1 0.89 18 2 18H6L9 21L12 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0ZM10 16H8V14H10V16ZM12.07 8.25L11.17 9.17C10.45 9.9 10 10.5 10 12H8V11.5C8 10.4 8.45 9.4 9.17 8.67L10.41 7.41C10.78 7.05 11 6.55 11 6C11 4.9 10.1 4 9 4C7.9 4 7 4.9 7 6H5C5 3.79 6.79 2 9 2C11.21 2 13 3.79 13 6C13 6.88 12.64 7.68 12.07 8.25Z\" />\r\n </svg>\r\n <svg class=\"panel-icon\" *ngIf=\"panelButtonStates.isSupportOpen\" height=\"13\" width=\"13\" viewBox=\"0 0 14 14\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path\r\n d=\"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z\" />\r\n </svg>\r\n </div>\r\n\r\n\r\n <div class=\"status-button\" (mouseover)=\"hideStatus = false\" (mouseleave)=\"hideStatus = true\"\r\n (click)=\"goToStatusPage()\" data-testid=\"sidebar-status\">\r\n <svg class=\"panel-icon\" width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"#FFFFFF\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M20.625 6.5H1.375C0.615613 6.5 0 5.82842 0 5V2C0 1.17158 0.615613 0.5 1.375 0.5H20.625C21.3844 0.5 22 1.17158 22 2V5C22 5.82842 21.3844 6.5 20.625 6.5ZM18.5625 2.375C17.9929 2.375 17.5312 2.87867 17.5312 3.5C17.5312 4.12133 17.9929 4.625 18.5625 4.625C19.1321 4.625 19.5938 4.12133 19.5938 3.5C19.5938 2.87867 19.1321 2.375 18.5625 2.375ZM15.8125 2.375C15.2429 2.375 14.7812 2.87867 14.7812 3.5C14.7812 4.12133 15.2429 4.625 15.8125 4.625C16.3821 4.625 16.8438 4.12133 16.8438 3.5C16.8438 2.87867 16.3821 2.375 15.8125 2.375ZM20.625 14H1.375C0.615613 14 0 13.3284 0 12.5V9.5C0 8.67158 0.615613 8 1.375 8H20.625C21.3844 8 22 8.67158 22 9.5V12.5C22 13.3284 21.3844 14 20.625 14ZM18.5625 9.875C17.9929 9.875 17.5312 10.3787 17.5312 11C17.5312 11.6213 17.9929 12.125 18.5625 12.125C19.1321 12.125 19.5938 11.6213 19.5938 11C19.5938 10.3787 19.1321 9.875 18.5625 9.875ZM15.8125 9.875C15.2429 9.875 14.7812 10.3787 14.7812 11C14.7812 11.6213 15.2429 12.125 15.8125 12.125C16.3821 12.125 16.8438 11.6213 16.8438 11C16.8438 10.3787 16.3821 9.875 15.8125 9.875ZM20.625 21.5H1.375C0.615613 21.5 0 20.8284 0 20V17C0 16.1716 0.615613 15.5 1.375 15.5H20.625C21.3844 15.5 22 16.1716 22 17V20C22 20.8284 21.3844 21.5 20.625 21.5ZM18.5625 17.375C17.9929 17.375 17.5312 17.8787 17.5312 18.5C17.5312 19.1213 17.9929 19.625 18.5625 19.625C19.1321 19.625 19.5938 19.1213 19.5938 18.5C19.5938 17.8787 19.1321 17.375 18.5625 17.375ZM15.8125 17.375C15.2429 17.375 14.7812 17.8787 14.7812 18.5C14.7812 19.1213 15.2429 19.625 15.8125 19.625C16.3821 19.625 16.8438 19.1213 16.8438 18.5C16.8438 17.8787 16.3821 17.375 15.8125 17.375Z\" />\r\n </svg>\r\n <iframe id=\"status-frame\" [ngClass]=\"{'isOpen': !hideStatus, 'isClosed': hideStatus }\"\r\n src=\"//status.retalia.cloud/embed-status/light-sm\" name=\"statusPage\" width=\"230\" height=\"61\" frameBorder=\"0\"\r\n scrolling=\"no\">\r\n </iframe>\r\n </div>\r\n</div>\r\n\r\n<div id=\"sidebar-container\" [class.open-sidebar]=\"isSidebarOpen\">\r\n <div id=\"sticky-header\">\r\n <img class=\"logo-full\" height=\"40px\" src=\"https://imagineshared.blob.core.windows.net/portal/retalia_files/logos/sidebar_logo.png\" (click)=\"goToPortal()\"\r\n data-testid=\"nav-logo\" />\r\n <div class=\"module-divider\"></div>\r\n <div class=\"moduleSearchbar\" *ngIf=\"panelButtonStates.isModuleOpen\">\r\n <input class=\"moduleSearchInput\" type=\"search\" autocomplete=\"off\" id=\"search\" [value]=\"moduleSearchValue\"\r\n required=\"false\" [placeholder]=\"moduleSearchPlaceholder\" (keyup)=\"handleModuleSearch($event)\"\r\n (click)=\"handleModuleSearch($event)\" />\r\n </div>\r\n </div>\r\n <div id=\"menu\" *ngIf=\"panelButtonStates.isModuleOpen\">\r\n <sub-item [items]=\"modules\"></sub-item>\r\n </div>\r\n <div id=\"menu\" *ngIf=\"panelButtonStates.isSupportOpen\">\r\n <sub-item [items]=\"supportRoutes\"></sub-item>\r\n </div>\r\n</div>\r\n\r\n<shop-modal [availableShops]=\"availableShops\" (selectedShop)=\"selectedShop($event)\"></shop-modal>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:translate(0)}.nsm-body{position:relative;flex:1 1 auto}.nsm-dialog[class*=nsm-dialog-animation-]{transition:transform .5s ease-in-out,opacity .5s}.nsm-dialog-animation-ltr{transform:translate(-50%)}.nsm-dialog-animation-ltr.nsm-dialog-open{transform:translate(0)}.nsm-dialog-animation-ltr.nsm-dialog-close{transform:translate(-50%)}.nsm-dialog-animation-rtl{transform:translate(50%)}.nsm-dialog-animation-rtl.nsm-dialog-open{transform:translate(0)}.nsm-dialog-animation-rtl.nsm-dialog-close{transform:translate(50%)}.nsm-dialog-animation-ttb{transform:translateY(-50%)}.nsm-dialog-animation-ttb.nsm-dialog-open{transform:translate(0)}.nsm-dialog-animation-ttb.nsm-dialog-close{transform:translateY(-50%)}.nsm-dialog-animation-btt{transform:translateY(50%)}.nsm-dialog-animation-btt.nsm-dialog-open{transform:translate(0)}.nsm-dialog-animation-btt.nsm-dialog-close{transform:translateY(50%)}.imagine-body{background-color:#fafbfc}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Regular.ttf) format(\"truetype\");font-weight:400;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Bold.ttf) format(\"truetype\");font-weight:700;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Italic.ttf) format(\"truetype\");font-weight:400;font-style:italic}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-SemiBold.ttf) format(\"truetype\");font-weight:600;font-style:normal}#sidebar-panel{z-index:1;position:fixed;float:left;width:60px;height:100vh;color:#000;text-align:center;transition:.2s linear;background-color:#fff;box-shadow:0 0 4px #0003}@media (max-width: 37.5em){#sidebar-panel{height:100%}}.panel-item{cursor:pointer;position:relative;height:40px;margin:10px;transition:.2s linear;border-radius:50%}.panel-item:hover{background-color:#919295}.panel-item:hover .panel-icon{fill:#fff}.panel-item:active,.panel-item:focus{background:rgba(84,84,84,.2)}.panel-item:active .panel-icon,.panel-item:focus .panel-icon{fill:#545454}.panel-item .panel-icon{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#sidebar-container{position:sticky;top:0;height:100vh;overflow:hidden;font-size:12px;font-family:Poppins,sans-serif;width:0px;background:#f2f2f2;padding-left:60px;transition:.3s;transition-timing-function:cubic-bezier(.11,.95,.91,.93);-ms-overflow-style:none;scrollbar-width:none;box-shadow:0 0 4px #0003}@media (max-width: 37.5em){#sidebar-container{top:auto;position:relative;border-right:0px}}.open-sidebar{width:260px!important}@media (max-width: 37.5em){.open-sidebar{width:160px!important}}@media print{#container{display:none}}.module-divider{width:240px;margin:10px;border-top:.2px solid rgba(128,128,128,.2);background-clip:padding-box}@media (max-width: 37.5em){.module-divider{width:240px!important}}div#menu{display:flex;flex-flow:column;background-color:transparent;z-index:10;direction:ltr;float:left;width:258px;height:85%;overflow-y:overlay;overflow-x:hidden;transition:.2s linear}@media (max-width: 37.5em){div#menu{width:160px!important}}.moduleSearchbar{z-index:20;position:inherit;cursor:pointer;width:240px;height:28px;border-radius:4px;margin:10px;background:#e2e2e2}@media (max-width: 37.5em){.moduleSearchbar{width:140px!important;height:40px}}.moduleSearchbar .moduleSearchInput{direction:ltr;width:inherit;height:inherit;padding-left:10px;color:#545454;background-color:transparent;border-style:none;outline:none;-webkit-appearance:none}.moduleSearchbar input:invalid{box-shadow:none}.moduleSearchbar ::placeholder{color:#919295;font-size:11px;opacity:1}#sticky-header{margin-top:10px;width:100%;text-align:center;position:sticky;transition:1s ease}#sticky-header .logo-full{cursor:pointer;padding:5px 21px 0}.status-button{cursor:pointer;position:inherit;bottom:0;margin-left:8px;margin-bottom:15px;width:40px;height:32px;padding-top:8px;border-radius:50%;transition:.2s linear}.status-button .panel-icon{fill:#0c1830}.status-button:hover{background-color:#545454}.status-button:hover .panel-icon{fill:#fff}#status-frame{position:inherit;bottom:-8px;padding-left:25px;transition:.2s linear}.isOpen{opacity:1;visibility:visible}.isClosed{opacity:0;visibility:hidden}::-webkit-scrollbar{width:5px;background:transparent}::-webkit-scrollbar-thumb{background-color:#5454544d;border-radius:10px;-webkit-transition:.2s linear;transition:.2s linear}::-webkit-scrollbar-thumb:hover{background-color:#545454e6}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}\n"], components: [{ type: i5.SubItemComponent, selector: "sub-item", inputs: ["items"] }, { type: i6.ShopModalComponent, selector: "shop-modal", inputs: ["availableShops", "shopSearchValue"], outputs: ["selectedShop"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
170
|
+
SidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SidebarComponent, deps: [{ token: i1.ModuleService }, { token: i2.SubItemService }, { token: i3.CookieService }, { token: i4.NgxSmartModalService }], target: i0.ɵɵFactoryTarget.Component });
|
|
171
|
+
SidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: SidebarComponent, selector: "sidebar", inputs: { environment: "environment", moduleSearchValue: "moduleSearchValue" }, outputs: { selectedRoute: "selectedRoute" }, usesOnChanges: true, ngImport: i0, template: "<div id=\"sidebar-panel\">\r\n <div class=\"panel-item\" (click)=\"toggleSidebar($event, 'isModuleOpen')\" data-testid=\"nav-menu\">\r\n <svg class=\"panel-icon\" *ngIf=\"!panelButtonStates.isModuleOpen\" height=\"14\" width=\"21\" viewBox=\"0 0 18 12\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path d=\"M0 12H18V10H0V12ZM0 7H18V5H0V7ZM0 0V2H18V0H0Z\" />\r\n </svg>\r\n <svg class=\"panel-icon\" *ngIf=\"panelButtonStates.isModuleOpen\" height=\"13\" width=\"13\" viewBox=\"0 0 14 14\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path\r\n d=\"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z\" />\r\n </svg>\r\n </div>\r\n <div class=\"panel-item\" (click)=\"toggleSidebar($event, 'isSupportOpen')\" data-testid=\"nav-support\">\r\n <svg class=\"panel-icon\" *ngIf=\"!panelButtonStates.isSupportOpen\" width=\"18\" height=\"21\" viewBox=\"0 0 18 21\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M16 0H2C0.89 0 0 0.9 0 2V16C0 17.1 0.89 18 2 18H6L9 21L12 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0ZM10 16H8V14H10V16ZM12.07 8.25L11.17 9.17C10.45 9.9 10 10.5 10 12H8V11.5C8 10.4 8.45 9.4 9.17 8.67L10.41 7.41C10.78 7.05 11 6.55 11 6C11 4.9 10.1 4 9 4C7.9 4 7 4.9 7 6H5C5 3.79 6.79 2 9 2C11.21 2 13 3.79 13 6C13 6.88 12.64 7.68 12.07 8.25Z\" />\r\n </svg>\r\n <svg class=\"panel-icon\" *ngIf=\"panelButtonStates.isSupportOpen\" height=\"13\" width=\"13\" viewBox=\"0 0 14 14\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path\r\n d=\"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z\" />\r\n </svg>\r\n </div>\r\n\r\n\r\n <div class=\"status-button\" (mouseover)=\"hideStatus = false\" (mouseleave)=\"hideStatus = true\"\r\n (click)=\"goToStatusPage()\" data-testid=\"sidebar-status\">\r\n <svg class=\"panel-icon\" width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"#FFFFFF\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M20.625 6.5H1.375C0.615613 6.5 0 5.82842 0 5V2C0 1.17158 0.615613 0.5 1.375 0.5H20.625C21.3844 0.5 22 1.17158 22 2V5C22 5.82842 21.3844 6.5 20.625 6.5ZM18.5625 2.375C17.9929 2.375 17.5312 2.87867 17.5312 3.5C17.5312 4.12133 17.9929 4.625 18.5625 4.625C19.1321 4.625 19.5938 4.12133 19.5938 3.5C19.5938 2.87867 19.1321 2.375 18.5625 2.375ZM15.8125 2.375C15.2429 2.375 14.7812 2.87867 14.7812 3.5C14.7812 4.12133 15.2429 4.625 15.8125 4.625C16.3821 4.625 16.8438 4.12133 16.8438 3.5C16.8438 2.87867 16.3821 2.375 15.8125 2.375ZM20.625 14H1.375C0.615613 14 0 13.3284 0 12.5V9.5C0 8.67158 0.615613 8 1.375 8H20.625C21.3844 8 22 8.67158 22 9.5V12.5C22 13.3284 21.3844 14 20.625 14ZM18.5625 9.875C17.9929 9.875 17.5312 10.3787 17.5312 11C17.5312 11.6213 17.9929 12.125 18.5625 12.125C19.1321 12.125 19.5938 11.6213 19.5938 11C19.5938 10.3787 19.1321 9.875 18.5625 9.875ZM15.8125 9.875C15.2429 9.875 14.7812 10.3787 14.7812 11C14.7812 11.6213 15.2429 12.125 15.8125 12.125C16.3821 12.125 16.8438 11.6213 16.8438 11C16.8438 10.3787 16.3821 9.875 15.8125 9.875ZM20.625 21.5H1.375C0.615613 21.5 0 20.8284 0 20V17C0 16.1716 0.615613 15.5 1.375 15.5H20.625C21.3844 15.5 22 16.1716 22 17V20C22 20.8284 21.3844 21.5 20.625 21.5ZM18.5625 17.375C17.9929 17.375 17.5312 17.8787 17.5312 18.5C17.5312 19.1213 17.9929 19.625 18.5625 19.625C19.1321 19.625 19.5938 19.1213 19.5938 18.5C19.5938 17.8787 19.1321 17.375 18.5625 17.375ZM15.8125 17.375C15.2429 17.375 14.7812 17.8787 14.7812 18.5C14.7812 19.1213 15.2429 19.625 15.8125 19.625C16.3821 19.625 16.8438 19.1213 16.8438 18.5C16.8438 17.8787 16.3821 17.375 15.8125 17.375Z\" />\r\n </svg>\r\n <iframe id=\"status-frame\" [ngClass]=\"{'isOpen': !hideStatus, 'isClosed': hideStatus }\"\r\n src=\"//status.retalia.cloud/embed-status/light-sm\" name=\"statusPage\" width=\"230\" height=\"61\" frameBorder=\"0\"\r\n scrolling=\"no\">\r\n </iframe>\r\n </div>\r\n</div>\r\n\r\n<div id=\"sidebar-container\" [class.open-sidebar]=\"isSidebarOpen\">\r\n <div id=\"sticky-header\">\r\n <img class=\"logo-full\" height=\"40px\" src=\"https://imagineshared.blob.core.windows.net/portal/retalia_files/logos/sidebar_logo.png\" (click)=\"goToPortal()\"\r\n data-testid=\"nav-logo\" />\r\n <div class=\"module-divider\"></div>\r\n <div class=\"moduleSearchbar\" *ngIf=\"panelButtonStates.isModuleOpen\">\r\n <input class=\"moduleSearchInput\" type=\"search\" autocomplete=\"off\" id=\"search\" [value]=\"moduleSearchValue\"\r\n required=\"false\" [placeholder]=\"moduleSearchPlaceholder\" (keyup)=\"handleModuleSearch($event)\"\r\n (click)=\"handleModuleSearch($event)\" />\r\n </div>\r\n </div>\r\n <div id=\"menu\" *ngIf=\"panelButtonStates.isModuleOpen\">\r\n <sub-item [items]=\"modules\"></sub-item>\r\n </div>\r\n <div id=\"menu\" *ngIf=\"panelButtonStates.isSupportOpen\">\r\n <sub-item [items]=\"supportRoutes\"></sub-item>\r\n </div>\r\n</div>\r\n\r\n<shop-modal [availableShops]=\"availableShops\" (selectedShop)=\"selectedShop($event)\"></shop-modal>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:translateZ(0)}.nsm-body{position:relative;flex:1 1 auto}.nsm-dialog[class*=nsm-dialog-animation-]{transition:transform .5s ease-in-out,opacity .5s}.nsm-dialog-animation-ltr{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-ltr.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ltr.nsm-dialog-close{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-rtl{transform:translate3d(50%,0,0)}.nsm-dialog-animation-rtl.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-rtl.nsm-dialog-close{transform:translate3d(50%,0,0)}.nsm-dialog-animation-ttb{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-ttb.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ttb.nsm-dialog-close{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-btt{transform:translate3d(0,50%,0)}.nsm-dialog-animation-btt.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-btt.nsm-dialog-close{transform:translate3d(0,50%,0)}.imagine-body{background-color:#fafbfc}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Regular.ttf) format(\"truetype\");font-weight:400;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Bold.ttf) format(\"truetype\");font-weight:700;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Italic.ttf) format(\"truetype\");font-weight:400;font-style:italic}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-SemiBold.ttf) format(\"truetype\");font-weight:600;font-style:normal}#sidebar-panel{z-index:1;position:fixed;float:left;width:60px;height:100vh;color:#000;text-align:center;transition:.2s linear;background-color:#fff;box-shadow:0 0 4px #0003}@media (max-width: 37.5em){#sidebar-panel{height:100%}}.panel-item{cursor:pointer;position:relative;height:40px;margin:10px;transition:.2s linear;border-radius:50%}.panel-item:hover{background-color:#919295}.panel-item:hover .panel-icon{fill:#fff}.panel-item:active,.panel-item:focus{background:rgba(84,84,84,.2)}.panel-item:active .panel-icon,.panel-item:focus .panel-icon{fill:#545454}.panel-item .panel-icon{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#sidebar-container{position:sticky;top:0;height:100vh;overflow:hidden;font-size:12px;font-family:Poppins,sans-serif;width:0px;background:#f2f2f2;padding-left:60px;transition:.3s;transition-timing-function:cubic-bezier(.11,.95,.91,.93);-ms-overflow-style:none;scrollbar-width:none;box-shadow:0 0 4px #0003}@media (max-width: 37.5em){#sidebar-container{top:auto;position:relative;border-right:0px}}.open-sidebar{width:260px!important}@media (max-width: 37.5em){.open-sidebar{width:160px!important}}@media print{#container{display:none}}.module-divider{width:240px;margin:10px;border-top:.2px solid rgba(128,128,128,.2);background-clip:padding-box}@media (max-width: 37.5em){.module-divider{width:240px!important}}div#menu{display:flex;flex-flow:column;background-color:transparent;z-index:10;direction:ltr;float:left;width:258px;height:85%;overflow-y:overlay;overflow-x:hidden;transition:.2s linear}@media (max-width: 37.5em){div#menu{width:160px!important}}.moduleSearchbar{z-index:20;position:inherit;cursor:pointer;width:240px;height:28px;border-radius:4px;margin:10px;background:#e2e2e2}@media (max-width: 37.5em){.moduleSearchbar{width:140px!important;height:40px}}.moduleSearchbar .moduleSearchInput{direction:ltr;width:inherit;height:inherit;padding-left:10px;color:#545454;background-color:transparent;border-style:none;outline:none;-webkit-appearance:none}.moduleSearchbar input:invalid{box-shadow:none}.moduleSearchbar ::placeholder{color:#919295;font-size:11px;opacity:1}#sticky-header{margin-top:10px;width:100%;text-align:center;position:sticky;transition:1s ease}#sticky-header .logo-full{cursor:pointer;padding:5px 21px 0}.status-button{cursor:pointer;position:inherit;bottom:0;margin-left:8px;margin-bottom:15px;width:40px;height:32px;padding-top:8px;border-radius:50%;transition:.2s linear}.status-button .panel-icon{fill:#0c1830}.status-button:hover{background-color:#545454}.status-button:hover .panel-icon{fill:#fff}#status-frame{position:inherit;bottom:-8px;padding-left:25px;transition:.2s linear}.isOpen{opacity:1;visibility:visible}.isClosed{opacity:0;visibility:hidden}::-webkit-scrollbar{width:5px;background:transparent}::-webkit-scrollbar-thumb{background-color:#5454544d;border-radius:10px;-webkit-transition:.2s linear;transition:.2s linear}::-webkit-scrollbar-thumb:hover{background-color:#545454e6}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}\n"], dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.SubItemComponent, selector: "sub-item", inputs: ["items"] }, { kind: "component", type: i7.ShopModalComponent, selector: "shop-modal", inputs: ["availableShops", "shopSearchValue"], outputs: ["selectedShop"] }] });
|
|
172
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SidebarComponent, decorators: [{
|
|
173
173
|
type: Component,
|
|
174
|
-
args: [{ selector: 'sidebar', template: "<div id=\"sidebar-panel\">\r\n <div class=\"panel-item\" (click)=\"toggleSidebar($event, 'isModuleOpen')\" data-testid=\"nav-menu\">\r\n <svg class=\"panel-icon\" *ngIf=\"!panelButtonStates.isModuleOpen\" height=\"14\" width=\"21\" viewBox=\"0 0 18 12\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path d=\"M0 12H18V10H0V12ZM0 7H18V5H0V7ZM0 0V2H18V0H0Z\" />\r\n </svg>\r\n <svg class=\"panel-icon\" *ngIf=\"panelButtonStates.isModuleOpen\" height=\"13\" width=\"13\" viewBox=\"0 0 14 14\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path\r\n d=\"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z\" />\r\n </svg>\r\n </div>\r\n <div class=\"panel-item\" (click)=\"toggleSidebar($event, 'isSupportOpen')\" data-testid=\"nav-support\">\r\n <svg class=\"panel-icon\" *ngIf=\"!panelButtonStates.isSupportOpen\" width=\"18\" height=\"21\" viewBox=\"0 0 18 21\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M16 0H2C0.89 0 0 0.9 0 2V16C0 17.1 0.89 18 2 18H6L9 21L12 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0ZM10 16H8V14H10V16ZM12.07 8.25L11.17 9.17C10.45 9.9 10 10.5 10 12H8V11.5C8 10.4 8.45 9.4 9.17 8.67L10.41 7.41C10.78 7.05 11 6.55 11 6C11 4.9 10.1 4 9 4C7.9 4 7 4.9 7 6H5C5 3.79 6.79 2 9 2C11.21 2 13 3.79 13 6C13 6.88 12.64 7.68 12.07 8.25Z\" />\r\n </svg>\r\n <svg class=\"panel-icon\" *ngIf=\"panelButtonStates.isSupportOpen\" height=\"13\" width=\"13\" viewBox=\"0 0 14 14\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path\r\n d=\"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z\" />\r\n </svg>\r\n </div>\r\n\r\n\r\n <div class=\"status-button\" (mouseover)=\"hideStatus = false\" (mouseleave)=\"hideStatus = true\"\r\n (click)=\"goToStatusPage()\" data-testid=\"sidebar-status\">\r\n <svg class=\"panel-icon\" width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"#FFFFFF\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M20.625 6.5H1.375C0.615613 6.5 0 5.82842 0 5V2C0 1.17158 0.615613 0.5 1.375 0.5H20.625C21.3844 0.5 22 1.17158 22 2V5C22 5.82842 21.3844 6.5 20.625 6.5ZM18.5625 2.375C17.9929 2.375 17.5312 2.87867 17.5312 3.5C17.5312 4.12133 17.9929 4.625 18.5625 4.625C19.1321 4.625 19.5938 4.12133 19.5938 3.5C19.5938 2.87867 19.1321 2.375 18.5625 2.375ZM15.8125 2.375C15.2429 2.375 14.7812 2.87867 14.7812 3.5C14.7812 4.12133 15.2429 4.625 15.8125 4.625C16.3821 4.625 16.8438 4.12133 16.8438 3.5C16.8438 2.87867 16.3821 2.375 15.8125 2.375ZM20.625 14H1.375C0.615613 14 0 13.3284 0 12.5V9.5C0 8.67158 0.615613 8 1.375 8H20.625C21.3844 8 22 8.67158 22 9.5V12.5C22 13.3284 21.3844 14 20.625 14ZM18.5625 9.875C17.9929 9.875 17.5312 10.3787 17.5312 11C17.5312 11.6213 17.9929 12.125 18.5625 12.125C19.1321 12.125 19.5938 11.6213 19.5938 11C19.5938 10.3787 19.1321 9.875 18.5625 9.875ZM15.8125 9.875C15.2429 9.875 14.7812 10.3787 14.7812 11C14.7812 11.6213 15.2429 12.125 15.8125 12.125C16.3821 12.125 16.8438 11.6213 16.8438 11C16.8438 10.3787 16.3821 9.875 15.8125 9.875ZM20.625 21.5H1.375C0.615613 21.5 0 20.8284 0 20V17C0 16.1716 0.615613 15.5 1.375 15.5H20.625C21.3844 15.5 22 16.1716 22 17V20C22 20.8284 21.3844 21.5 20.625 21.5ZM18.5625 17.375C17.9929 17.375 17.5312 17.8787 17.5312 18.5C17.5312 19.1213 17.9929 19.625 18.5625 19.625C19.1321 19.625 19.5938 19.1213 19.5938 18.5C19.5938 17.8787 19.1321 17.375 18.5625 17.375ZM15.8125 17.375C15.2429 17.375 14.7812 17.8787 14.7812 18.5C14.7812 19.1213 15.2429 19.625 15.8125 19.625C16.3821 19.625 16.8438 19.1213 16.8438 18.5C16.8438 17.8787 16.3821 17.375 15.8125 17.375Z\" />\r\n </svg>\r\n <iframe id=\"status-frame\" [ngClass]=\"{'isOpen': !hideStatus, 'isClosed': hideStatus }\"\r\n src=\"//status.retalia.cloud/embed-status/light-sm\" name=\"statusPage\" width=\"230\" height=\"61\" frameBorder=\"0\"\r\n scrolling=\"no\">\r\n </iframe>\r\n </div>\r\n</div>\r\n\r\n<div id=\"sidebar-container\" [class.open-sidebar]=\"isSidebarOpen\">\r\n <div id=\"sticky-header\">\r\n <img class=\"logo-full\" height=\"40px\" src=\"https://imagineshared.blob.core.windows.net/portal/retalia_files/logos/sidebar_logo.png\" (click)=\"goToPortal()\"\r\n data-testid=\"nav-logo\" />\r\n <div class=\"module-divider\"></div>\r\n <div class=\"moduleSearchbar\" *ngIf=\"panelButtonStates.isModuleOpen\">\r\n <input class=\"moduleSearchInput\" type=\"search\" autocomplete=\"off\" id=\"search\" [value]=\"moduleSearchValue\"\r\n required=\"false\" [placeholder]=\"moduleSearchPlaceholder\" (keyup)=\"handleModuleSearch($event)\"\r\n (click)=\"handleModuleSearch($event)\" />\r\n </div>\r\n </div>\r\n <div id=\"menu\" *ngIf=\"panelButtonStates.isModuleOpen\">\r\n <sub-item [items]=\"modules\"></sub-item>\r\n </div>\r\n <div id=\"menu\" *ngIf=\"panelButtonStates.isSupportOpen\">\r\n <sub-item [items]=\"supportRoutes\"></sub-item>\r\n </div>\r\n</div>\r\n\r\n<shop-modal [availableShops]=\"availableShops\" (selectedShop)=\"selectedShop($event)\"></shop-modal>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:translate(0)}.nsm-body{position:relative;flex:1 1 auto}.nsm-dialog[class*=nsm-dialog-animation-]{transition:transform .5s ease-in-out,opacity .5s}.nsm-dialog-animation-ltr{transform:translate(-50%)}.nsm-dialog-animation-ltr.nsm-dialog-open{transform:translate(0)}.nsm-dialog-animation-ltr.nsm-dialog-close{transform:translate(-50%)}.nsm-dialog-animation-rtl{transform:translate(50%)}.nsm-dialog-animation-rtl.nsm-dialog-open{transform:translate(0)}.nsm-dialog-animation-rtl.nsm-dialog-close{transform:translate(50%)}.nsm-dialog-animation-ttb{transform:translateY(-50%)}.nsm-dialog-animation-ttb.nsm-dialog-open{transform:translate(0)}.nsm-dialog-animation-ttb.nsm-dialog-close{transform:translateY(-50%)}.nsm-dialog-animation-btt{transform:translateY(50%)}.nsm-dialog-animation-btt.nsm-dialog-open{transform:translate(0)}.nsm-dialog-animation-btt.nsm-dialog-close{transform:translateY(50%)}.imagine-body{background-color:#fafbfc}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Regular.ttf) format(\"truetype\");font-weight:400;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Bold.ttf) format(\"truetype\");font-weight:700;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Italic.ttf) format(\"truetype\");font-weight:400;font-style:italic}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-SemiBold.ttf) format(\"truetype\");font-weight:600;font-style:normal}#sidebar-panel{z-index:1;position:fixed;float:left;width:60px;height:100vh;color:#000;text-align:center;transition:.2s linear;background-color:#fff;box-shadow:0 0 4px #0003}@media (max-width: 37.5em){#sidebar-panel{height:100%}}.panel-item{cursor:pointer;position:relative;height:40px;margin:10px;transition:.2s linear;border-radius:50%}.panel-item:hover{background-color:#919295}.panel-item:hover .panel-icon{fill:#fff}.panel-item:active,.panel-item:focus{background:rgba(84,84,84,.2)}.panel-item:active .panel-icon,.panel-item:focus .panel-icon{fill:#545454}.panel-item .panel-icon{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#sidebar-container{position:sticky;top:0;height:100vh;overflow:hidden;font-size:12px;font-family:Poppins,sans-serif;width:0px;background:#f2f2f2;padding-left:60px;transition:.3s;transition-timing-function:cubic-bezier(.11,.95,.91,.93);-ms-overflow-style:none;scrollbar-width:none;box-shadow:0 0 4px #0003}@media (max-width: 37.5em){#sidebar-container{top:auto;position:relative;border-right:0px}}.open-sidebar{width:260px!important}@media (max-width: 37.5em){.open-sidebar{width:160px!important}}@media print{#container{display:none}}.module-divider{width:240px;margin:10px;border-top:.2px solid rgba(128,128,128,.2);background-clip:padding-box}@media (max-width: 37.5em){.module-divider{width:240px!important}}div#menu{display:flex;flex-flow:column;background-color:transparent;z-index:10;direction:ltr;float:left;width:258px;height:85%;overflow-y:overlay;overflow-x:hidden;transition:.2s linear}@media (max-width: 37.5em){div#menu{width:160px!important}}.moduleSearchbar{z-index:20;position:inherit;cursor:pointer;width:240px;height:28px;border-radius:4px;margin:10px;background:#e2e2e2}@media (max-width: 37.5em){.moduleSearchbar{width:140px!important;height:40px}}.moduleSearchbar .moduleSearchInput{direction:ltr;width:inherit;height:inherit;padding-left:10px;color:#545454;background-color:transparent;border-style:none;outline:none;-webkit-appearance:none}.moduleSearchbar input:invalid{box-shadow:none}.moduleSearchbar ::placeholder{color:#919295;font-size:11px;opacity:1}#sticky-header{margin-top:10px;width:100%;text-align:center;position:sticky;transition:1s ease}#sticky-header .logo-full{cursor:pointer;padding:5px 21px 0}.status-button{cursor:pointer;position:inherit;bottom:0;margin-left:8px;margin-bottom:15px;width:40px;height:32px;padding-top:8px;border-radius:50%;transition:.2s linear}.status-button .panel-icon{fill:#0c1830}.status-button:hover{background-color:#545454}.status-button:hover .panel-icon{fill:#fff}#status-frame{position:inherit;bottom:-8px;padding-left:25px;transition:.2s linear}.isOpen{opacity:1;visibility:visible}.isClosed{opacity:0;visibility:hidden}::-webkit-scrollbar{width:5px;background:transparent}::-webkit-scrollbar-thumb{background-color:#5454544d;border-radius:10px;-webkit-transition:.2s linear;transition:.2s linear}::-webkit-scrollbar-thumb:hover{background-color:#545454e6}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}\n"] }]
|
|
174
|
+
args: [{ selector: 'sidebar', template: "<div id=\"sidebar-panel\">\r\n <div class=\"panel-item\" (click)=\"toggleSidebar($event, 'isModuleOpen')\" data-testid=\"nav-menu\">\r\n <svg class=\"panel-icon\" *ngIf=\"!panelButtonStates.isModuleOpen\" height=\"14\" width=\"21\" viewBox=\"0 0 18 12\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path d=\"M0 12H18V10H0V12ZM0 7H18V5H0V7ZM0 0V2H18V0H0Z\" />\r\n </svg>\r\n <svg class=\"panel-icon\" *ngIf=\"panelButtonStates.isModuleOpen\" height=\"13\" width=\"13\" viewBox=\"0 0 14 14\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path\r\n d=\"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z\" />\r\n </svg>\r\n </div>\r\n <div class=\"panel-item\" (click)=\"toggleSidebar($event, 'isSupportOpen')\" data-testid=\"nav-support\">\r\n <svg class=\"panel-icon\" *ngIf=\"!panelButtonStates.isSupportOpen\" width=\"18\" height=\"21\" viewBox=\"0 0 18 21\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M16 0H2C0.89 0 0 0.9 0 2V16C0 17.1 0.89 18 2 18H6L9 21L12 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0ZM10 16H8V14H10V16ZM12.07 8.25L11.17 9.17C10.45 9.9 10 10.5 10 12H8V11.5C8 10.4 8.45 9.4 9.17 8.67L10.41 7.41C10.78 7.05 11 6.55 11 6C11 4.9 10.1 4 9 4C7.9 4 7 4.9 7 6H5C5 3.79 6.79 2 9 2C11.21 2 13 3.79 13 6C13 6.88 12.64 7.68 12.07 8.25Z\" />\r\n </svg>\r\n <svg class=\"panel-icon\" *ngIf=\"panelButtonStates.isSupportOpen\" height=\"13\" width=\"13\" viewBox=\"0 0 14 14\"\r\n fill=\"#3e3e3e\" xmlns=\"http://www.w3.org/2000/svg\" preserveAspectRatio=\"xMinYMin meet\">\r\n <path\r\n d=\"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z\" />\r\n </svg>\r\n </div>\r\n\r\n\r\n <div class=\"status-button\" (mouseover)=\"hideStatus = false\" (mouseleave)=\"hideStatus = true\"\r\n (click)=\"goToStatusPage()\" data-testid=\"sidebar-status\">\r\n <svg class=\"panel-icon\" width=\"22\" height=\"22\" viewBox=\"0 0 22 22\" fill=\"#FFFFFF\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M20.625 6.5H1.375C0.615613 6.5 0 5.82842 0 5V2C0 1.17158 0.615613 0.5 1.375 0.5H20.625C21.3844 0.5 22 1.17158 22 2V5C22 5.82842 21.3844 6.5 20.625 6.5ZM18.5625 2.375C17.9929 2.375 17.5312 2.87867 17.5312 3.5C17.5312 4.12133 17.9929 4.625 18.5625 4.625C19.1321 4.625 19.5938 4.12133 19.5938 3.5C19.5938 2.87867 19.1321 2.375 18.5625 2.375ZM15.8125 2.375C15.2429 2.375 14.7812 2.87867 14.7812 3.5C14.7812 4.12133 15.2429 4.625 15.8125 4.625C16.3821 4.625 16.8438 4.12133 16.8438 3.5C16.8438 2.87867 16.3821 2.375 15.8125 2.375ZM20.625 14H1.375C0.615613 14 0 13.3284 0 12.5V9.5C0 8.67158 0.615613 8 1.375 8H20.625C21.3844 8 22 8.67158 22 9.5V12.5C22 13.3284 21.3844 14 20.625 14ZM18.5625 9.875C17.9929 9.875 17.5312 10.3787 17.5312 11C17.5312 11.6213 17.9929 12.125 18.5625 12.125C19.1321 12.125 19.5938 11.6213 19.5938 11C19.5938 10.3787 19.1321 9.875 18.5625 9.875ZM15.8125 9.875C15.2429 9.875 14.7812 10.3787 14.7812 11C14.7812 11.6213 15.2429 12.125 15.8125 12.125C16.3821 12.125 16.8438 11.6213 16.8438 11C16.8438 10.3787 16.3821 9.875 15.8125 9.875ZM20.625 21.5H1.375C0.615613 21.5 0 20.8284 0 20V17C0 16.1716 0.615613 15.5 1.375 15.5H20.625C21.3844 15.5 22 16.1716 22 17V20C22 20.8284 21.3844 21.5 20.625 21.5ZM18.5625 17.375C17.9929 17.375 17.5312 17.8787 17.5312 18.5C17.5312 19.1213 17.9929 19.625 18.5625 19.625C19.1321 19.625 19.5938 19.1213 19.5938 18.5C19.5938 17.8787 19.1321 17.375 18.5625 17.375ZM15.8125 17.375C15.2429 17.375 14.7812 17.8787 14.7812 18.5C14.7812 19.1213 15.2429 19.625 15.8125 19.625C16.3821 19.625 16.8438 19.1213 16.8438 18.5C16.8438 17.8787 16.3821 17.375 15.8125 17.375Z\" />\r\n </svg>\r\n <iframe id=\"status-frame\" [ngClass]=\"{'isOpen': !hideStatus, 'isClosed': hideStatus }\"\r\n src=\"//status.retalia.cloud/embed-status/light-sm\" name=\"statusPage\" width=\"230\" height=\"61\" frameBorder=\"0\"\r\n scrolling=\"no\">\r\n </iframe>\r\n </div>\r\n</div>\r\n\r\n<div id=\"sidebar-container\" [class.open-sidebar]=\"isSidebarOpen\">\r\n <div id=\"sticky-header\">\r\n <img class=\"logo-full\" height=\"40px\" src=\"https://imagineshared.blob.core.windows.net/portal/retalia_files/logos/sidebar_logo.png\" (click)=\"goToPortal()\"\r\n data-testid=\"nav-logo\" />\r\n <div class=\"module-divider\"></div>\r\n <div class=\"moduleSearchbar\" *ngIf=\"panelButtonStates.isModuleOpen\">\r\n <input class=\"moduleSearchInput\" type=\"search\" autocomplete=\"off\" id=\"search\" [value]=\"moduleSearchValue\"\r\n required=\"false\" [placeholder]=\"moduleSearchPlaceholder\" (keyup)=\"handleModuleSearch($event)\"\r\n (click)=\"handleModuleSearch($event)\" />\r\n </div>\r\n </div>\r\n <div id=\"menu\" *ngIf=\"panelButtonStates.isModuleOpen\">\r\n <sub-item [items]=\"modules\"></sub-item>\r\n </div>\r\n <div id=\"menu\" *ngIf=\"panelButtonStates.isSupportOpen\">\r\n <sub-item [items]=\"supportRoutes\"></sub-item>\r\n </div>\r\n</div>\r\n\r\n<shop-modal [availableShops]=\"availableShops\" (selectedShop)=\"selectedShop($event)\"></shop-modal>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:translateZ(0)}.nsm-body{position:relative;flex:1 1 auto}.nsm-dialog[class*=nsm-dialog-animation-]{transition:transform .5s ease-in-out,opacity .5s}.nsm-dialog-animation-ltr{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-ltr.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ltr.nsm-dialog-close{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-rtl{transform:translate3d(50%,0,0)}.nsm-dialog-animation-rtl.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-rtl.nsm-dialog-close{transform:translate3d(50%,0,0)}.nsm-dialog-animation-ttb{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-ttb.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ttb.nsm-dialog-close{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-btt{transform:translate3d(0,50%,0)}.nsm-dialog-animation-btt.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-btt.nsm-dialog-close{transform:translate3d(0,50%,0)}.imagine-body{background-color:#fafbfc}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Regular.ttf) format(\"truetype\");font-weight:400;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Bold.ttf) format(\"truetype\");font-weight:700;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Italic.ttf) format(\"truetype\");font-weight:400;font-style:italic}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-SemiBold.ttf) format(\"truetype\");font-weight:600;font-style:normal}#sidebar-panel{z-index:1;position:fixed;float:left;width:60px;height:100vh;color:#000;text-align:center;transition:.2s linear;background-color:#fff;box-shadow:0 0 4px #0003}@media (max-width: 37.5em){#sidebar-panel{height:100%}}.panel-item{cursor:pointer;position:relative;height:40px;margin:10px;transition:.2s linear;border-radius:50%}.panel-item:hover{background-color:#919295}.panel-item:hover .panel-icon{fill:#fff}.panel-item:active,.panel-item:focus{background:rgba(84,84,84,.2)}.panel-item:active .panel-icon,.panel-item:focus .panel-icon{fill:#545454}.panel-item .panel-icon{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#sidebar-container{position:sticky;top:0;height:100vh;overflow:hidden;font-size:12px;font-family:Poppins,sans-serif;width:0px;background:#f2f2f2;padding-left:60px;transition:.3s;transition-timing-function:cubic-bezier(.11,.95,.91,.93);-ms-overflow-style:none;scrollbar-width:none;box-shadow:0 0 4px #0003}@media (max-width: 37.5em){#sidebar-container{top:auto;position:relative;border-right:0px}}.open-sidebar{width:260px!important}@media (max-width: 37.5em){.open-sidebar{width:160px!important}}@media print{#container{display:none}}.module-divider{width:240px;margin:10px;border-top:.2px solid rgba(128,128,128,.2);background-clip:padding-box}@media (max-width: 37.5em){.module-divider{width:240px!important}}div#menu{display:flex;flex-flow:column;background-color:transparent;z-index:10;direction:ltr;float:left;width:258px;height:85%;overflow-y:overlay;overflow-x:hidden;transition:.2s linear}@media (max-width: 37.5em){div#menu{width:160px!important}}.moduleSearchbar{z-index:20;position:inherit;cursor:pointer;width:240px;height:28px;border-radius:4px;margin:10px;background:#e2e2e2}@media (max-width: 37.5em){.moduleSearchbar{width:140px!important;height:40px}}.moduleSearchbar .moduleSearchInput{direction:ltr;width:inherit;height:inherit;padding-left:10px;color:#545454;background-color:transparent;border-style:none;outline:none;-webkit-appearance:none}.moduleSearchbar input:invalid{box-shadow:none}.moduleSearchbar ::placeholder{color:#919295;font-size:11px;opacity:1}#sticky-header{margin-top:10px;width:100%;text-align:center;position:sticky;transition:1s ease}#sticky-header .logo-full{cursor:pointer;padding:5px 21px 0}.status-button{cursor:pointer;position:inherit;bottom:0;margin-left:8px;margin-bottom:15px;width:40px;height:32px;padding-top:8px;border-radius:50%;transition:.2s linear}.status-button .panel-icon{fill:#0c1830}.status-button:hover{background-color:#545454}.status-button:hover .panel-icon{fill:#fff}#status-frame{position:inherit;bottom:-8px;padding-left:25px;transition:.2s linear}.isOpen{opacity:1;visibility:visible}.isClosed{opacity:0;visibility:hidden}::-webkit-scrollbar{width:5px;background:transparent}::-webkit-scrollbar-thumb{background-color:#5454544d;border-radius:10px;-webkit-transition:.2s linear;transition:.2s linear}::-webkit-scrollbar-thumb:hover{background-color:#545454e6}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}\n"] }]
|
|
175
175
|
}], ctorParameters: function () { return [{ type: i1.ModuleService }, { type: i2.SubItemService }, { type: i3.CookieService }, { type: i4.NgxSmartModalService }]; }, propDecorators: { selectedRoute: [{
|
|
176
176
|
type: Output
|
|
177
177
|
}], environment: [{
|
|
@@ -41,12 +41,12 @@ export class SubItemComponent {
|
|
|
41
41
|
return item && item.visible && item.children.some((se) => se.visible);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
SubItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
45
|
-
SubItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
+
SubItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SubItemComponent, deps: [{ token: i1.SubItemService }], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
SubItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: SubItemComponent, selector: "sub-item", inputs: { items: "items" }, ngImport: i0, template: "<div *ngFor=\"let item of items; let i = index\"\r\n [attr.data-testid]=\"'nav-' + (item.authorizationId || item.name)\"\r\n [class]=\"this.getClass(item, items)\" (click)=\"subItemClicked($event, item)\">\r\n <ng-container *ngIf=\"item.visible\">\r\n {{ item.translatedName || item.name }}\r\n <img src=\"assets/icons/subItem-arrow.svg\" class=\"sub-item-arrow\"\r\n [ngClass]=\"{'rotated': checkVisibleSubItems(item)}\" *ngIf=\"item.children.length > 0\" />\r\n </ng-container>\r\n <sub-item [items]=\"item.children\" *ngIf=\"item.children\">\r\n </sub-item>\r\n</div>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:translateZ(0)}.nsm-body{position:relative;flex:1 1 auto}.nsm-dialog[class*=nsm-dialog-animation-]{transition:transform .5s ease-in-out,opacity .5s}.nsm-dialog-animation-ltr{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-ltr.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ltr.nsm-dialog-close{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-rtl{transform:translate3d(50%,0,0)}.nsm-dialog-animation-rtl.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-rtl.nsm-dialog-close{transform:translate3d(50%,0,0)}.nsm-dialog-animation-ttb{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-ttb.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ttb.nsm-dialog-close{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-btt{transform:translate3d(0,50%,0)}.nsm-dialog-animation-btt.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-btt.nsm-dialog-close{transform:translate3d(0,50%,0)}.imagine-body{background-color:#fafbfc}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Regular.ttf) format(\"truetype\");font-weight:400;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Bold.ttf) format(\"truetype\");font-weight:700;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Italic.ttf) format(\"truetype\");font-weight:400;font-style:italic}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-SemiBold.ttf) format(\"truetype\");font-weight:600;font-style:normal}.sub-item,.item-group{position:relative;list-style:none;pointer-events:all;text-transform:capitalize;color:#919295;transition:background-color .1s ease-in-out;width:258px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:400}@media (max-width: 37.5em){.sub-item,.item-group{width:100%;line-height:45px}}.sub-item:hover,.item-group:hover{color:#454fef;background:rgba(255,255,255,.8);font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.2);transform:scale(1.02)}.item-group>*{text-indent:30px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item{display:inline-block;position:relative;list-style:none;text-transform:uppercase;text-indent:12px;align-items:center;line-height:30px;border:0px;cursor:pointer;font-weight:600;color:#545454;transition:background-color .1s ease-in-out;padding:4px 0;padding-right:15px!important;width:245px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (max-width: 37.5em){.item{width:100%;padding:10px 0!important}}.item:hover{background:rgba(255,255,255,.4)}.sub-item-arrow{position:absolute!important;all:initial;pointer-events:none;height:5px;right:10px;padding:12px 0;transition:.1s linear all;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;transform:rotate(180deg)}.rotated{transform:rotate(0)}.active{color:#454fef;background:rgba(255,255,255,.8);font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.2);transform:scale(1.02)}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SubItemComponent, selector: "sub-item", inputs: ["items"] }] });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SubItemComponent, decorators: [{
|
|
47
47
|
type: Component,
|
|
48
|
-
args: [{ selector: 'sub-item', template: "<div *ngFor=\"let item of items; let i = index\"\r\n [attr.data-testid]=\"'nav-' + (item.authorizationId || item.name)\"\r\n [class]=\"this.getClass(item, items)\" (click)=\"subItemClicked($event, item)\">\r\n <ng-container *ngIf=\"item.visible\">\r\n {{ item.translatedName || item.name }}\r\n <img src=\"assets/icons/subItem-arrow.svg\" class=\"sub-item-arrow\"\r\n [ngClass]=\"{'rotated': checkVisibleSubItems(item)}\" *ngIf=\"item.children.length > 0\" />\r\n </ng-container>\r\n <sub-item [items]=\"item.children\" *ngIf=\"item.children\">\r\n </sub-item>\r\n</div>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:
|
|
48
|
+
args: [{ selector: 'sub-item', template: "<div *ngFor=\"let item of items; let i = index\"\r\n [attr.data-testid]=\"'nav-' + (item.authorizationId || item.name)\"\r\n [class]=\"this.getClass(item, items)\" (click)=\"subItemClicked($event, item)\">\r\n <ng-container *ngIf=\"item.visible\">\r\n {{ item.translatedName || item.name }}\r\n <img src=\"assets/icons/subItem-arrow.svg\" class=\"sub-item-arrow\"\r\n [ngClass]=\"{'rotated': checkVisibleSubItems(item)}\" *ngIf=\"item.children.length > 0\" />\r\n </ng-container>\r\n <sub-item [items]=\"item.children\" *ngIf=\"item.children\">\r\n </sub-item>\r\n</div>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:translateZ(0)}.nsm-body{position:relative;flex:1 1 auto}.nsm-dialog[class*=nsm-dialog-animation-]{transition:transform .5s ease-in-out,opacity .5s}.nsm-dialog-animation-ltr{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-ltr.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ltr.nsm-dialog-close{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-rtl{transform:translate3d(50%,0,0)}.nsm-dialog-animation-rtl.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-rtl.nsm-dialog-close{transform:translate3d(50%,0,0)}.nsm-dialog-animation-ttb{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-ttb.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ttb.nsm-dialog-close{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-btt{transform:translate3d(0,50%,0)}.nsm-dialog-animation-btt.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-btt.nsm-dialog-close{transform:translate3d(0,50%,0)}.imagine-body{background-color:#fafbfc}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Regular.ttf) format(\"truetype\");font-weight:400;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Bold.ttf) format(\"truetype\");font-weight:700;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Italic.ttf) format(\"truetype\");font-weight:400;font-style:italic}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-SemiBold.ttf) format(\"truetype\");font-weight:600;font-style:normal}.sub-item,.item-group{position:relative;list-style:none;pointer-events:all;text-transform:capitalize;color:#919295;transition:background-color .1s ease-in-out;width:258px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:400}@media (max-width: 37.5em){.sub-item,.item-group{width:100%;line-height:45px}}.sub-item:hover,.item-group:hover{color:#454fef;background:rgba(255,255,255,.8);font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.2);transform:scale(1.02)}.item-group>*{text-indent:30px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.item{display:inline-block;position:relative;list-style:none;text-transform:uppercase;text-indent:12px;align-items:center;line-height:30px;border:0px;cursor:pointer;font-weight:600;color:#545454;transition:background-color .1s ease-in-out;padding:4px 0;padding-right:15px!important;width:245px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (max-width: 37.5em){.item{width:100%;padding:10px 0!important}}.item:hover{background:rgba(255,255,255,.4)}.sub-item-arrow{position:absolute!important;all:initial;pointer-events:none;height:5px;right:10px;padding:12px 0;transition:.1s linear all;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;transform:rotate(180deg)}.rotated{transform:rotate(0)}.active{color:#454fef;background:rgba(255,255,255,.8);font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.2);transform:scale(1.02)}\n"] }]
|
|
49
49
|
}], ctorParameters: function () { return [{ type: i1.SubItemService }]; }, propDecorators: { items: [{
|
|
50
50
|
type: Input
|
|
51
51
|
}] } });
|
|
52
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ViLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2lkZWJhci1uYXZpZ2F0aW9uL3NyYy9saWIvc2lkZWJhci9zdWItaXRlbS9zdWItaXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zaWRlYmFyLW5hdmlnYXRpb24vc3JjL2xpYi9zaWRlYmFyL3N1Yi1pdGVtL3N1Yi1pdGVtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFT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I9XCJsZXQgaXRlbSBvZiBpdGVtczsgbGV0IGkgPSBpbmRleFwiXHJcbiAgICBbYXR0ci5kYXRhLXRlc3RpZF09XCInbmF2LScgKyAoaXRlbS5hdXRob3JpemF0aW9uSWQgfHwgaXRlbS5uYW1lKVwiXHJcbiAgICBbY2xhc3NdPVwidGhpcy5nZXRDbGFzcyhpdGVtLCBpdGVtcylcIiAoY2xpY2spPVwic3ViSXRlbUNsaWNrZWQoJGV2ZW50LCBpdGVtKVwiPlxyXG4gICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIml0ZW0udmlzaWJsZVwiPlxyXG4gICAgICAgIHt7IGl0ZW0udHJhbnNsYXRlZE5hbWUgfHwgaXRlbS5uYW1lIH19XHJcbiAgICAgICAgPGltZyBzcmM9XCJhc3NldHMvaWNvbnMvc3ViSXRlbS1hcnJvdy5zdmdcIiBjbGFzcz1cInN1Yi1pdGVtLWFycm93XCJcclxuICAgICAgICAgICAgW25nQ2xhc3NdPVwieydyb3RhdGVkJzogY2hlY2tWaXNpYmxlU3ViSXRlbXMoaXRlbSl9XCIgKm5nSWY9XCJpdGVtLmNoaWxkcmVuLmxlbmd0aCA+IDBcIiAvPlxyXG4gICAgPC9uZy1jb250YWluZXI+XHJcbiAgICA8c3ViLWl0ZW0gW2l0ZW1zXT1cIml0ZW0uY2hpbGRyZW5cIiAqbmdJZj1cIml0ZW0uY2hpbGRyZW5cIj5cclxuICAgIDwvc3ViLWl0ZW0+XHJcbjwvZGl2PiJdfQ==
|
|
@@ -54,11 +54,11 @@ export class TopbarComponent {
|
|
|
54
54
|
window.location.href = loginUrl;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
TopbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
58
|
-
TopbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
57
|
+
TopbarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TopbarComponent, deps: [{ token: i1.ModuleService }, { token: i2.AuthService }], target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
+
TopbarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TopbarComponent, selector: "topbar", inputs: { environment: "environment" }, host: { listeners: { "document:click": "clickout($event)" } }, ngImport: i0, template: "<nav class=\"top-menu\">\r\n\r\n <div id=\"profile\">\r\n\r\n <div id=\"avatar\" (click)=\"showDropdownOptions('profile')\" data-testid=\"nav-profile\">\r\n <svg class=\"profile-icon\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" fill=\"#213244\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M16 20C20.4183 20 24 16.4183 24 12C24 7.58172 20.4183 4 16 4C11.5817 4 8 7.58172 8 12C8 16.4183 11.5817 20 16 20Z\"\r\n stroke=\"white\" stroke-width=\"2\" stroke-miterlimit=\"10\" />\r\n <path\r\n d=\"M3.87354 26.9988C5.10299 24.8708 6.8708 23.1037 8.99939 21.8752C11.128 20.6467 13.5424 20 16.0001 20C18.4577 20 20.8721 20.6468 23.0007 21.8754C25.1292 23.1039 26.897 24.871 28.1264 26.9991\"\r\n stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\r\n </svg>\r\n </div>\r\n <div *ngIf=\"showProfileDropdown\" class=\"dropdown-items\">\r\n <div class=\"option-text\" (click)=\"clickDetails($event)\" data-testid=\"nav-profile-settings\">\r\n <img class=\"dropdown-icon\" src=\"assets/icons/topbar-settings.svg\" />\r\n Update details\r\n </div>\r\n <div class=\"option-text\" (click)=\"logout()\" data-testid=\"nav-profile-logout\">\r\n <img class=\"dropdown-icon\" src=\"assets/icons/topbar-logout.svg\" />\r\n Logout\r\n </div>\r\n </div>\r\n </div>\r\n</nav>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:translateZ(0)}.nsm-body{position:relative;flex:1 1 auto}.nsm-dialog[class*=nsm-dialog-animation-]{transition:transform .5s ease-in-out,opacity .5s}.nsm-dialog-animation-ltr{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-ltr.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ltr.nsm-dialog-close{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-rtl{transform:translate3d(50%,0,0)}.nsm-dialog-animation-rtl.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-rtl.nsm-dialog-close{transform:translate3d(50%,0,0)}.nsm-dialog-animation-ttb{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-ttb.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ttb.nsm-dialog-close{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-btt{transform:translate3d(0,50%,0)}.nsm-dialog-animation-btt.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-btt.nsm-dialog-close{transform:translate3d(0,50%,0)}.imagine-body{background-color:#fafbfc}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Regular.ttf) format(\"truetype\");font-weight:400;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Bold.ttf) format(\"truetype\");font-weight:700;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Italic.ttf) format(\"truetype\");font-weight:400;font-style:italic}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-SemiBold.ttf) format(\"truetype\");font-weight:600;font-style:normal}#item-name{font-family:Poppins,sans-serif;font-size:24px;font-weight:700;padding-left:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-transform:capitalize}@media (max-width: 37.5em){#item-name{padding-left:70px}}.top-menu{z-index:20;margin:0;top:0;position:fixed;display:flex;align-items:center;height:67px;width:100vw;overflow:hidden;background-color:none}@media (max-width: 37.5em){.top-menu{min-height:60px;height:60px}}.top-menu .dropdown-items{position:fixed;list-style-type:none;white-space:nowrap;padding:0;min-width:120px;border-radius:10px;border:1px solid #d8dde6;background-color:#fff;box-shadow:0 2px 3px;text-align-last:center}@media (max-width: 37.5em){.top-menu .dropdown-items{top:110px}}.top-menu .dropdown-items .option-text{cursor:pointer;font-family:Poppins,sans-serif;font-size:12px;text-align:left;margin:0;padding:10px 0;color:#000}.top-menu .dropdown-items .option-text:hover{background-color:#f5f5f5;border-radius:10px}.top-menu .dropdown-icon{pointer-events:none;float:left;margin-top:2px;padding:0 8px;height:10px}.top-menu #profile{position:fixed;right:20px;display:flex;align-items:center}@media (max-width: 37.5em){.top-menu #profile{height:60px}}.top-menu #profile img{margin-left:0}.top-menu #profile #avatar{cursor:pointer;position:relative;height:30px;width:30px;transition:.2s linear;border-radius:50%;padding:5px;background-color:#213244}.top-menu #profile #avatar:hover{background-color:#545454}.top-menu #profile #avatar .profile-icon{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.top-menu #profile #info{cursor:pointer;height:30px;transition:.2s linear all}.top-menu #profile #info:hover{transform:scale(1.1)}.top-menu #profile .admin-group{right:110px!important}.top-menu #profile .info-group{right:10px!important}.top-menu #profile .dropdown-items{position:fixed;top:70px;right:30px}@media (max-width: 37.5em){.top-menu #profile .dropdown-items{top:70px}}@media print{.top-menu{display:none}}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TopbarComponent, decorators: [{
|
|
60
60
|
type: Component,
|
|
61
|
-
args: [{ selector: 'topbar', template: "<nav class=\"top-menu\">\r\n\r\n <div id=\"profile\">\r\n\r\n <div id=\"avatar\" (click)=\"showDropdownOptions('profile')\" data-testid=\"nav-profile\">\r\n <svg class=\"profile-icon\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" fill=\"#213244\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M16 20C20.4183 20 24 16.4183 24 12C24 7.58172 20.4183 4 16 4C11.5817 4 8 7.58172 8 12C8 16.4183 11.5817 20 16 20Z\"\r\n stroke=\"white\" stroke-width=\"2\" stroke-miterlimit=\"10\" />\r\n <path\r\n d=\"M3.87354 26.9988C5.10299 24.8708 6.8708 23.1037 8.99939 21.8752C11.128 20.6467 13.5424 20 16.0001 20C18.4577 20 20.8721 20.6468 23.0007 21.8754C25.1292 23.1039 26.897 24.871 28.1264 26.9991\"\r\n stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\r\n </svg>\r\n </div>\r\n <div *ngIf=\"showProfileDropdown\" class=\"dropdown-items\">\r\n <div class=\"option-text\" (click)=\"clickDetails($event)\" data-testid=\"nav-profile-settings\">\r\n <img class=\"dropdown-icon\" src=\"assets/icons/topbar-settings.svg\" />\r\n Update details\r\n </div>\r\n <div class=\"option-text\" (click)=\"logout()\" data-testid=\"nav-profile-logout\">\r\n <img class=\"dropdown-icon\" src=\"assets/icons/topbar-logout.svg\" />\r\n Logout\r\n </div>\r\n </div>\r\n </div>\r\n</nav>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:
|
|
61
|
+
args: [{ selector: 'topbar', template: "<nav class=\"top-menu\">\r\n\r\n <div id=\"profile\">\r\n\r\n <div id=\"avatar\" (click)=\"showDropdownOptions('profile')\" data-testid=\"nav-profile\">\r\n <svg class=\"profile-icon\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" fill=\"#213244\"\r\n xmlns=\"http://www.w3.org/2000/svg\">\r\n <path\r\n d=\"M16 20C20.4183 20 24 16.4183 24 12C24 7.58172 20.4183 4 16 4C11.5817 4 8 7.58172 8 12C8 16.4183 11.5817 20 16 20Z\"\r\n stroke=\"white\" stroke-width=\"2\" stroke-miterlimit=\"10\" />\r\n <path\r\n d=\"M3.87354 26.9988C5.10299 24.8708 6.8708 23.1037 8.99939 21.8752C11.128 20.6467 13.5424 20 16.0001 20C18.4577 20 20.8721 20.6468 23.0007 21.8754C25.1292 23.1039 26.897 24.871 28.1264 26.9991\"\r\n stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\r\n </svg>\r\n </div>\r\n <div *ngIf=\"showProfileDropdown\" class=\"dropdown-items\">\r\n <div class=\"option-text\" (click)=\"clickDetails($event)\" data-testid=\"nav-profile-settings\">\r\n <img class=\"dropdown-icon\" src=\"assets/icons/topbar-settings.svg\" />\r\n Update details\r\n </div>\r\n <div class=\"option-text\" (click)=\"logout()\" data-testid=\"nav-profile-logout\">\r\n <img class=\"dropdown-icon\" src=\"assets/icons/topbar-logout.svg\" />\r\n Logout\r\n </div>\r\n </div>\r\n </div>\r\n</nav>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,300;0,400;1,300;1,400;1,600&display=swap\";body.dialog-open{overflow:hidden}.nsm-dialog-btn-close{border:0;background:none;position:absolute;top:8px;right:8px;font-size:1.2em;cursor:pointer}.overlay{position:fixed;inset:0;overflow-x:hidden;overflow-y:auto;transition:background-color .5s;background-color:transparent;z-index:999}.overlay.nsm-overlay-open{background-color:#00000080}.overlay.transparent{background-color:transparent}.nsm-dialog{position:relative;opacity:1;visibility:visible;min-height:200px;width:100%;max-width:520px;margin:0 auto;pointer-events:none;outline:none}.nsm-dialog.nsm-dialog-close{opacity:0}.nsm-dialog.nsm-centered{display:flex;align-items:center;min-height:calc(100% - 3.5rem)}.nsm-content{position:relative;display:flex;flex-direction:column;pointer-events:auto;background-clip:padding-box;background-color:#fff;border-radius:2px;padding:1rem;margin:1.75rem;box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;outline:0;transform:translateZ(0)}.nsm-body{position:relative;flex:1 1 auto}.nsm-dialog[class*=nsm-dialog-animation-]{transition:transform .5s ease-in-out,opacity .5s}.nsm-dialog-animation-ltr{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-ltr.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ltr.nsm-dialog-close{transform:translate3d(-50%,0,0)}.nsm-dialog-animation-rtl{transform:translate3d(50%,0,0)}.nsm-dialog-animation-rtl.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-rtl.nsm-dialog-close{transform:translate3d(50%,0,0)}.nsm-dialog-animation-ttb{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-ttb.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-ttb.nsm-dialog-close{transform:translate3d(0,-50%,0)}.nsm-dialog-animation-btt{transform:translate3d(0,50%,0)}.nsm-dialog-animation-btt.nsm-dialog-open{transform:translateZ(0)}.nsm-dialog-animation-btt.nsm-dialog-close{transform:translate3d(0,50%,0)}.imagine-body{background-color:#fafbfc}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Regular.ttf) format(\"truetype\");font-weight:400;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Bold.ttf) format(\"truetype\");font-weight:700;font-style:normal}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-Italic.ttf) format(\"truetype\");font-weight:400;font-style:italic}@font-face{font-family:Poppins;src:url(../assets/fonts/Poppins-SemiBold.ttf) format(\"truetype\");font-weight:600;font-style:normal}#item-name{font-family:Poppins,sans-serif;font-size:24px;font-weight:700;padding-left:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-transform:capitalize}@media (max-width: 37.5em){#item-name{padding-left:70px}}.top-menu{z-index:20;margin:0;top:0;position:fixed;display:flex;align-items:center;height:67px;width:100vw;overflow:hidden;background-color:none}@media (max-width: 37.5em){.top-menu{min-height:60px;height:60px}}.top-menu .dropdown-items{position:fixed;list-style-type:none;white-space:nowrap;padding:0;min-width:120px;border-radius:10px;border:1px solid #d8dde6;background-color:#fff;box-shadow:0 2px 3px;text-align-last:center}@media (max-width: 37.5em){.top-menu .dropdown-items{top:110px}}.top-menu .dropdown-items .option-text{cursor:pointer;font-family:Poppins,sans-serif;font-size:12px;text-align:left;margin:0;padding:10px 0;color:#000}.top-menu .dropdown-items .option-text:hover{background-color:#f5f5f5;border-radius:10px}.top-menu .dropdown-icon{pointer-events:none;float:left;margin-top:2px;padding:0 8px;height:10px}.top-menu #profile{position:fixed;right:20px;display:flex;align-items:center}@media (max-width: 37.5em){.top-menu #profile{height:60px}}.top-menu #profile img{margin-left:0}.top-menu #profile #avatar{cursor:pointer;position:relative;height:30px;width:30px;transition:.2s linear;border-radius:50%;padding:5px;background-color:#213244}.top-menu #profile #avatar:hover{background-color:#545454}.top-menu #profile #avatar .profile-icon{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.top-menu #profile #info{cursor:pointer;height:30px;transition:.2s linear all}.top-menu #profile #info:hover{transform:scale(1.1)}.top-menu #profile .admin-group{right:110px!important}.top-menu #profile .info-group{right:10px!important}.top-menu #profile .dropdown-items{position:fixed;top:70px;right:30px}@media (max-width: 37.5em){.top-menu #profile .dropdown-items{top:70px}}@media print{.top-menu{display:none}}\n"] }]
|
|
62
62
|
}], ctorParameters: function () { return [{ type: i1.ModuleService }, { type: i2.AuthService }]; }, propDecorators: { environment: [{
|
|
63
63
|
type: Input
|
|
64
64
|
}], clickout: [{
|