ngx-smz-ui 17.2.21 → 17.2.22
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/esm2022/lib/modules/smz-layouts/layouts/athena/components/topbar-actions/topbar-actions.component.mjs +7 -5
- package/esm2022/lib/modules/smz-layouts/layouts/hephaestus/components/topbar/topbar.component.mjs +5 -3
- package/fesm2022/ngx-smz-ui.mjs +10 -6
- package/fesm2022/ngx-smz-ui.mjs.map +1 -1
- package/lib/modules/smz-layouts/layouts/athena/components/topbar-actions/topbar-actions.component.d.ts +2 -0
- package/lib/modules/smz-layouts/layouts/hephaestus/components/topbar/topbar.component.d.ts +2 -0
- package/package.json +1 -1
|
@@ -11,6 +11,8 @@ export class AthenaTopbarActionsComponent {
|
|
|
11
11
|
constructor() {
|
|
12
12
|
this.profile = [];
|
|
13
13
|
this.notifications = [];
|
|
14
|
+
this.showLocalizationSwitch = GlobalInjector.config.rbkUtils.uiLocalization.allowLocalizationSwitching;
|
|
15
|
+
this.showTenantSwitch = GlobalInjector.config.rbkUtils.authentication.allowTenantSwitching;
|
|
14
16
|
this.uiConfig = GlobalInjector.config;
|
|
15
17
|
}
|
|
16
18
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: AthenaTopbarActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -33,9 +35,9 @@ export class AthenaTopbarActionsComponent {
|
|
|
33
35
|
<span class="notification-container" *ngIf="notifications != null" smz-ui-athena-notifications [items]="notifications"></span>
|
|
34
36
|
</ng-template>
|
|
35
37
|
|
|
36
|
-
<smz-localization-switch class="mx-3"></smz-localization-switch>
|
|
38
|
+
<smz-localization-switch *ngIf="showLocalizationSwitch" class="mx-3"></smz-localization-switch>
|
|
37
39
|
|
|
38
|
-
<smz-tenant-switch class="mx-3"></smz-tenant-switch>
|
|
40
|
+
<smz-tenant-switch *ngIf="showTenantSwitch" class="mx-3"></smz-tenant-switch>
|
|
39
41
|
|
|
40
42
|
<span id="smz-ui-profile-menu" *ngIf="profile != null" smz-ui-athena-profile-menu [profile]="profile"></span>
|
|
41
43
|
|
|
@@ -62,9 +64,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
62
64
|
<span class="notification-container" *ngIf="notifications != null" smz-ui-athena-notifications [items]="notifications"></span>
|
|
63
65
|
</ng-template>
|
|
64
66
|
|
|
65
|
-
<smz-localization-switch class="mx-3"></smz-localization-switch>
|
|
67
|
+
<smz-localization-switch *ngIf="showLocalizationSwitch" class="mx-3"></smz-localization-switch>
|
|
66
68
|
|
|
67
|
-
<smz-tenant-switch class="mx-3"></smz-tenant-switch>
|
|
69
|
+
<smz-tenant-switch *ngIf="showTenantSwitch" class="mx-3"></smz-tenant-switch>
|
|
68
70
|
|
|
69
71
|
<span id="smz-ui-profile-menu" *ngIf="profile != null" smz-ui-athena-profile-menu [profile]="profile"></span>
|
|
70
72
|
|
|
@@ -76,4 +78,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
76
78
|
}], headerExtrasTemplate: [{
|
|
77
79
|
type: Input
|
|
78
80
|
}] } });
|
|
79
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9wYmFyLWFjdGlvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LWxheW91dHMvbGF5b3V0cy9hdGhlbmEvY29tcG9uZW50cy90b3BiYXItYWN0aW9ucy90b3BiYXItYWN0aW9ucy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6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QoKSBwdWJsaWMgbm90aWZpY2F0aW9uczogU216Tm90aWZpY2F0aW9uW10gPSBbXTtcclxuICBASW5wdXQoKSBwdWJsaWMgaGVhZGVyRXh0cmFzVGVtcGxhdGU6IFRlbXBsYXRlUmVmPGFueT47XHJcbiAgcHVibGljIHNob3dMb2NhbGl6YXRpb25Td2l0Y2ggPSBHbG9iYWxJbmplY3Rvci5jb25maWcucmJrVXRpbHMudWlMb2NhbGl6YXRpb24uYWxsb3dMb2NhbGl6YXRpb25Td2l0Y2hpbmc7XHJcbiAgcHVibGljIHNob3dUZW5hbnRTd2l0Y2ggPSBHbG9iYWxJbmplY3Rvci5jb25maWcucmJrVXRpbHMuYXV0aGVudGljYXRpb24uYWxsb3dUZW5hbnRTd2l0Y2hpbmc7XHJcbiAgcHVibGljIHVpQ29uZmlnID0gR2xvYmFsSW5qZWN0b3IuY29uZmlnO1xyXG5cclxufVxyXG4iXX0=
|
package/esm2022/lib/modules/smz-layouts/layouts/hephaestus/components/topbar/topbar.component.mjs
CHANGED
|
@@ -23,6 +23,8 @@ let HephaestusTopbarComponent = class HephaestusTopbarComponent {
|
|
|
23
23
|
this.location = location;
|
|
24
24
|
this.sideBaseStateActive = SidebarState.ACTIVE;
|
|
25
25
|
this.uiConfig = GlobalInjector.config;
|
|
26
|
+
this.showLocalizationSwitch = GlobalInjector.config.rbkUtils.uiLocalization.allowLocalizationSwitching;
|
|
27
|
+
this.showTenantSwitch = GlobalInjector.config.rbkUtils.authentication.allowTenantSwitching;
|
|
26
28
|
}
|
|
27
29
|
ngOnInit() {
|
|
28
30
|
}
|
|
@@ -55,7 +57,7 @@ let HephaestusTopbarComponent = class HephaestusTopbarComponent {
|
|
|
55
57
|
this.location.back();
|
|
56
58
|
}
|
|
57
59
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: HephaestusTopbarComponent, deps: [{ token: i1.Store }, { token: i2.Location }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
58
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: HephaestusTopbarComponent, selector: "smz-ui-hephaestus-topbar", inputs: { notifications: "notifications", profile: "profile" }, host: { classAttribute: "z-10" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: "<ng-container *ngIf=\"(layout$ | async) as layout\">\r\n\r\n<div class=\"layout-topbar\">\r\n <div class=\"topbar-left\">\r\n <a tabindex=\"0\" class=\"menu-button\" (click)=\"toggle()\">\r\n <i [ngClass]=\"layout.sidebarState == sideBaseStateActive ? layout.topbarMenuIcon.toClose : layout.topbarMenuIcon.toOpen\"></i>\r\n </a>\r\n <button *ngIf=\"layout.enableNavigationBack\" pButton type=\"button\" label=\"Voltar\" icon=\"fa-solid fa-angle-left\" class=\"p-button-rounded p-button-text p-button-plain\" (click)=\"navigateBack()\"></button>\r\n <span class=\"topbar-separator\"></span>\r\n <span class=\"viewname ng-star-inserted\" style=\"text-transform: uppercase;\">{{ topbarTitle$ | async }}</span>\r\n <img id=\"logo-mobile\" alt=\"hephaestus-layout\" class=\"mobile-logo\" [src]=\"uiConfig.layouts.appLogo.icon.light\">\r\n </div>\r\n\r\n <div class=\"topbar-right\">\r\n <ul class=\"topbar-menu\">\r\n <div id=\"smz-ui-topbar\"></div>\r\n <li *ngIf=\"headerExtrasTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"headerExtrasTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"notifications?.length > 0\" class=\"notifications-item\" smz-ui-hephaestus-notifications [items]=\"notifications\"></li>\r\n <li><smz-localization-switch></smz-localization-switch></li>\r\n <li><smz-tenant-switch></smz-tenant-switch></li>\r\n <li *ngIf=\"profile?.length > 0\" class=\"profile-item\" smz-ui-hephaestus-profile-menu [items]=\"profile\"></li>\r\n </ul>\r\n </div>\r\n</div>\r\n\r\n</ng-container>", styles: [".profile-item{border-right:unset!important}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.HephaestusProfileMenuComponent, selector: "[smz-ui-hephaestus-profile-menu]", inputs: ["items"] }, { kind: "component", type: i4.HephaestusNotificationsComponent, selector: "[smz-ui-hephaestus-notifications]", inputs: ["items"] }, { kind: "directive", type: i5.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }, { kind: "component", type: i6.SmzTenantSwitchComponent, selector: "smz-tenant-switch" }, { kind: "component", type: i7.SmzLocalizationSwitchComponent, selector: "smz-localization-switch" }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] }); }
|
|
60
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: HephaestusTopbarComponent, selector: "smz-ui-hephaestus-topbar", inputs: { notifications: "notifications", profile: "profile" }, host: { classAttribute: "z-10" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: "<ng-container *ngIf=\"(layout$ | async) as layout\">\r\n\r\n<div class=\"layout-topbar\">\r\n <div class=\"topbar-left\">\r\n <a tabindex=\"0\" class=\"menu-button\" (click)=\"toggle()\">\r\n <i [ngClass]=\"layout.sidebarState == sideBaseStateActive ? layout.topbarMenuIcon.toClose : layout.topbarMenuIcon.toOpen\"></i>\r\n </a>\r\n <button *ngIf=\"layout.enableNavigationBack\" pButton type=\"button\" label=\"Voltar\" icon=\"fa-solid fa-angle-left\" class=\"p-button-rounded p-button-text p-button-plain\" (click)=\"navigateBack()\"></button>\r\n <span class=\"topbar-separator\"></span>\r\n <span class=\"viewname ng-star-inserted\" style=\"text-transform: uppercase;\">{{ topbarTitle$ | async }}</span>\r\n <img id=\"logo-mobile\" alt=\"hephaestus-layout\" class=\"mobile-logo\" [src]=\"uiConfig.layouts.appLogo.icon.light\">\r\n </div>\r\n\r\n <div class=\"topbar-right\">\r\n <ul class=\"topbar-menu\">\r\n <div id=\"smz-ui-topbar\"></div>\r\n <li *ngIf=\"headerExtrasTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"headerExtrasTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"notifications?.length > 0\" class=\"notifications-item\" smz-ui-hephaestus-notifications [items]=\"notifications\"></li>\r\n <li *ngIf=\"showLocalizationSwitch\"><smz-localization-switch></smz-localization-switch></li>\r\n <li *ngIf=\"showTenantSwitch\"><smz-tenant-switch></smz-tenant-switch></li>\r\n <li *ngIf=\"profile?.length > 0\" class=\"profile-item\" smz-ui-hephaestus-profile-menu [items]=\"profile\"></li>\r\n </ul>\r\n </div>\r\n</div>\r\n\r\n</ng-container>", styles: [".profile-item{border-right:unset!important}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.HephaestusProfileMenuComponent, selector: "[smz-ui-hephaestus-profile-menu]", inputs: ["items"] }, { kind: "component", type: i4.HephaestusNotificationsComponent, selector: "[smz-ui-hephaestus-notifications]", inputs: ["items"] }, { kind: "directive", type: i5.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }, { kind: "component", type: i6.SmzTenantSwitchComponent, selector: "smz-tenant-switch" }, { kind: "component", type: i7.SmzLocalizationSwitchComponent, selector: "smz-localization-switch" }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] }); }
|
|
59
61
|
};
|
|
60
62
|
__decorate([
|
|
61
63
|
Select(LayoutUiSelectors.topbarTitle)
|
|
@@ -69,7 +71,7 @@ HephaestusTopbarComponent = __decorate([
|
|
|
69
71
|
export { HephaestusTopbarComponent };
|
|
70
72
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: HephaestusTopbarComponent, decorators: [{
|
|
71
73
|
type: Component,
|
|
72
|
-
args: [{ selector: 'smz-ui-hephaestus-topbar', host: { 'class': 'z-10' }, template: "<ng-container *ngIf=\"(layout$ | async) as layout\">\r\n\r\n<div class=\"layout-topbar\">\r\n <div class=\"topbar-left\">\r\n <a tabindex=\"0\" class=\"menu-button\" (click)=\"toggle()\">\r\n <i [ngClass]=\"layout.sidebarState == sideBaseStateActive ? layout.topbarMenuIcon.toClose : layout.topbarMenuIcon.toOpen\"></i>\r\n </a>\r\n <button *ngIf=\"layout.enableNavigationBack\" pButton type=\"button\" label=\"Voltar\" icon=\"fa-solid fa-angle-left\" class=\"p-button-rounded p-button-text p-button-plain\" (click)=\"navigateBack()\"></button>\r\n <span class=\"topbar-separator\"></span>\r\n <span class=\"viewname ng-star-inserted\" style=\"text-transform: uppercase;\">{{ topbarTitle$ | async }}</span>\r\n <img id=\"logo-mobile\" alt=\"hephaestus-layout\" class=\"mobile-logo\" [src]=\"uiConfig.layouts.appLogo.icon.light\">\r\n </div>\r\n\r\n <div class=\"topbar-right\">\r\n <ul class=\"topbar-menu\">\r\n <div id=\"smz-ui-topbar\"></div>\r\n <li *ngIf=\"headerExtrasTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"headerExtrasTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"notifications?.length > 0\" class=\"notifications-item\" smz-ui-hephaestus-notifications [items]=\"notifications\"></li>\r\n <li><smz-localization-switch></smz-localization-switch></li>\r\n <li><smz-tenant-switch></smz-tenant-switch></li>\r\n <li *ngIf=\"profile?.length > 0\" class=\"profile-item\" smz-ui-hephaestus-profile-menu [items]=\"profile\"></li>\r\n </ul>\r\n </div>\r\n</div>\r\n\r\n</ng-container>", styles: [".profile-item{border-right:unset!important}\n"] }]
|
|
74
|
+
args: [{ selector: 'smz-ui-hephaestus-topbar', host: { 'class': 'z-10' }, template: "<ng-container *ngIf=\"(layout$ | async) as layout\">\r\n\r\n<div class=\"layout-topbar\">\r\n <div class=\"topbar-left\">\r\n <a tabindex=\"0\" class=\"menu-button\" (click)=\"toggle()\">\r\n <i [ngClass]=\"layout.sidebarState == sideBaseStateActive ? layout.topbarMenuIcon.toClose : layout.topbarMenuIcon.toOpen\"></i>\r\n </a>\r\n <button *ngIf=\"layout.enableNavigationBack\" pButton type=\"button\" label=\"Voltar\" icon=\"fa-solid fa-angle-left\" class=\"p-button-rounded p-button-text p-button-plain\" (click)=\"navigateBack()\"></button>\r\n <span class=\"topbar-separator\"></span>\r\n <span class=\"viewname ng-star-inserted\" style=\"text-transform: uppercase;\">{{ topbarTitle$ | async }}</span>\r\n <img id=\"logo-mobile\" alt=\"hephaestus-layout\" class=\"mobile-logo\" [src]=\"uiConfig.layouts.appLogo.icon.light\">\r\n </div>\r\n\r\n <div class=\"topbar-right\">\r\n <ul class=\"topbar-menu\">\r\n <div id=\"smz-ui-topbar\"></div>\r\n <li *ngIf=\"headerExtrasTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"headerExtrasTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"notifications?.length > 0\" class=\"notifications-item\" smz-ui-hephaestus-notifications [items]=\"notifications\"></li>\r\n <li *ngIf=\"showLocalizationSwitch\"><smz-localization-switch></smz-localization-switch></li>\r\n <li *ngIf=\"showTenantSwitch\"><smz-tenant-switch></smz-tenant-switch></li>\r\n <li *ngIf=\"profile?.length > 0\" class=\"profile-item\" smz-ui-hephaestus-profile-menu [items]=\"profile\"></li>\r\n </ul>\r\n </div>\r\n</div>\r\n\r\n</ng-container>", styles: [".profile-item{border-right:unset!important}\n"] }]
|
|
73
75
|
}], ctorParameters: () => [{ type: i1.Store }, { type: i2.Location }], propDecorators: { templates: [{
|
|
74
76
|
type: ContentChildren,
|
|
75
77
|
args: [PrimeTemplate]
|
|
@@ -78,4 +80,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
78
80
|
}], profile: [{
|
|
79
81
|
type: Input
|
|
80
82
|
}], topbarTitle$: [], layout$: [] } });
|
|
81
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9wYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zbXotdWkvc3JjL2xpYi9tb2R1bGVzL3Ntei1sYXlvdXRzL2xheW91dHMvaGVwaGFlc3R1cy9jb21wb25lbnRzL3RvcGJhci90b3BiYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LWxheW91dHMvbGF5b3V0cy9oZXBoYWVzdHVzL2NvbXBvbmVudHMvdG9wYmFyL3RvcGJhci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFvQixTQUFTLEVBQUUsZUFBZSxFQUFFLEtBQUssRUFBa0MsTUFBTSxlQUFlLENBQUM7QUFDcEgsT0FBTyxFQUFFLE1BQU0sRUFBUyxNQUFNLGFBQWEsQ0FBQztBQUU1QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDckQsT0FBTyxFQUFZLGFBQWEsRUFBR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ICAgPGxpICpuZ0lmPVwic2hvd1RlbmFudFN3aXRjaFwiPjxzbXotdGVuYW50LXN3aXRjaD48L3Ntei10ZW5hbnQtc3dpdGNoPjwvbGk+XHJcbiAgICAgICAgICAgIDxsaSAqbmdJZj1cInByb2ZpbGU/Lmxlbmd0aCA+IDBcIiBjbGFzcz1cInByb2ZpbGUtaXRlbVwiIHNtei11aS1oZXBoYWVzdHVzLXByb2ZpbGUtbWVudSBbaXRlbXNdPVwicHJvZmlsZVwiPjwvbGk+XHJcbiAgICAgICAgPC91bD5cclxuICAgIDwvZGl2PlxyXG48L2Rpdj5cclxuXHJcbjwvbmctY29udGFpbmVyPiJdfQ==
|
package/fesm2022/ngx-smz-ui.mjs
CHANGED
|
@@ -36711,6 +36711,8 @@ let HephaestusTopbarComponent = class HephaestusTopbarComponent {
|
|
|
36711
36711
|
this.location = location;
|
|
36712
36712
|
this.sideBaseStateActive = SidebarState.ACTIVE;
|
|
36713
36713
|
this.uiConfig = GlobalInjector.config;
|
|
36714
|
+
this.showLocalizationSwitch = GlobalInjector.config.rbkUtils.uiLocalization.allowLocalizationSwitching;
|
|
36715
|
+
this.showTenantSwitch = GlobalInjector.config.rbkUtils.authentication.allowTenantSwitching;
|
|
36714
36716
|
}
|
|
36715
36717
|
ngOnInit() {
|
|
36716
36718
|
}
|
|
@@ -36743,7 +36745,7 @@ let HephaestusTopbarComponent = class HephaestusTopbarComponent {
|
|
|
36743
36745
|
this.location.back();
|
|
36744
36746
|
}
|
|
36745
36747
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: HephaestusTopbarComponent, deps: [{ token: i1$2.Store }, { token: i1.Location }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
36746
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: HephaestusTopbarComponent, selector: "smz-ui-hephaestus-topbar", inputs: { notifications: "notifications", profile: "profile" }, host: { classAttribute: "z-10" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: "<ng-container *ngIf=\"(layout$ | async) as layout\">\r\n\r\n<div class=\"layout-topbar\">\r\n <div class=\"topbar-left\">\r\n <a tabindex=\"0\" class=\"menu-button\" (click)=\"toggle()\">\r\n <i [ngClass]=\"layout.sidebarState == sideBaseStateActive ? layout.topbarMenuIcon.toClose : layout.topbarMenuIcon.toOpen\"></i>\r\n </a>\r\n <button *ngIf=\"layout.enableNavigationBack\" pButton type=\"button\" label=\"Voltar\" icon=\"fa-solid fa-angle-left\" class=\"p-button-rounded p-button-text p-button-plain\" (click)=\"navigateBack()\"></button>\r\n <span class=\"topbar-separator\"></span>\r\n <span class=\"viewname ng-star-inserted\" style=\"text-transform: uppercase;\">{{ topbarTitle$ | async }}</span>\r\n <img id=\"logo-mobile\" alt=\"hephaestus-layout\" class=\"mobile-logo\" [src]=\"uiConfig.layouts.appLogo.icon.light\">\r\n </div>\r\n\r\n <div class=\"topbar-right\">\r\n <ul class=\"topbar-menu\">\r\n <div id=\"smz-ui-topbar\"></div>\r\n <li *ngIf=\"headerExtrasTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"headerExtrasTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"notifications?.length > 0\" class=\"notifications-item\" smz-ui-hephaestus-notifications [items]=\"notifications\"></li>\r\n <li><smz-localization-switch></smz-localization-switch></li>\r\n <li><smz-tenant-switch></smz-tenant-switch></li>\r\n <li *ngIf=\"profile?.length > 0\" class=\"profile-item\" smz-ui-hephaestus-profile-menu [items]=\"profile\"></li>\r\n </ul>\r\n </div>\r\n</div>\r\n\r\n</ng-container>", styles: [".profile-item{border-right:unset!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: HephaestusProfileMenuComponent, selector: "[smz-ui-hephaestus-profile-menu]", inputs: ["items"] }, { kind: "component", type: HephaestusNotificationsComponent, selector: "[smz-ui-hephaestus-notifications]", inputs: ["items"] }, { kind: "directive", type: i4$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }, { kind: "component", type: SmzTenantSwitchComponent, selector: "smz-tenant-switch" }, { kind: "component", type: SmzLocalizationSwitchComponent, selector: "smz-localization-switch" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
36748
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: HephaestusTopbarComponent, selector: "smz-ui-hephaestus-topbar", inputs: { notifications: "notifications", profile: "profile" }, host: { classAttribute: "z-10" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: "<ng-container *ngIf=\"(layout$ | async) as layout\">\r\n\r\n<div class=\"layout-topbar\">\r\n <div class=\"topbar-left\">\r\n <a tabindex=\"0\" class=\"menu-button\" (click)=\"toggle()\">\r\n <i [ngClass]=\"layout.sidebarState == sideBaseStateActive ? layout.topbarMenuIcon.toClose : layout.topbarMenuIcon.toOpen\"></i>\r\n </a>\r\n <button *ngIf=\"layout.enableNavigationBack\" pButton type=\"button\" label=\"Voltar\" icon=\"fa-solid fa-angle-left\" class=\"p-button-rounded p-button-text p-button-plain\" (click)=\"navigateBack()\"></button>\r\n <span class=\"topbar-separator\"></span>\r\n <span class=\"viewname ng-star-inserted\" style=\"text-transform: uppercase;\">{{ topbarTitle$ | async }}</span>\r\n <img id=\"logo-mobile\" alt=\"hephaestus-layout\" class=\"mobile-logo\" [src]=\"uiConfig.layouts.appLogo.icon.light\">\r\n </div>\r\n\r\n <div class=\"topbar-right\">\r\n <ul class=\"topbar-menu\">\r\n <div id=\"smz-ui-topbar\"></div>\r\n <li *ngIf=\"headerExtrasTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"headerExtrasTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"notifications?.length > 0\" class=\"notifications-item\" smz-ui-hephaestus-notifications [items]=\"notifications\"></li>\r\n <li *ngIf=\"showLocalizationSwitch\"><smz-localization-switch></smz-localization-switch></li>\r\n <li *ngIf=\"showTenantSwitch\"><smz-tenant-switch></smz-tenant-switch></li>\r\n <li *ngIf=\"profile?.length > 0\" class=\"profile-item\" smz-ui-hephaestus-profile-menu [items]=\"profile\"></li>\r\n </ul>\r\n </div>\r\n</div>\r\n\r\n</ng-container>", styles: [".profile-item{border-right:unset!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: HephaestusProfileMenuComponent, selector: "[smz-ui-hephaestus-profile-menu]", inputs: ["items"] }, { kind: "component", type: HephaestusNotificationsComponent, selector: "[smz-ui-hephaestus-notifications]", inputs: ["items"] }, { kind: "directive", type: i4$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }, { kind: "component", type: SmzTenantSwitchComponent, selector: "smz-tenant-switch" }, { kind: "component", type: SmzLocalizationSwitchComponent, selector: "smz-localization-switch" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }] }); }
|
|
36747
36749
|
};
|
|
36748
36750
|
__decorate([
|
|
36749
36751
|
Select(LayoutUiSelectors.topbarTitle)
|
|
@@ -36756,7 +36758,7 @@ HephaestusTopbarComponent = __decorate([
|
|
|
36756
36758
|
], HephaestusTopbarComponent);
|
|
36757
36759
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: HephaestusTopbarComponent, decorators: [{
|
|
36758
36760
|
type: Component,
|
|
36759
|
-
args: [{ selector: 'smz-ui-hephaestus-topbar', host: { 'class': 'z-10' }, template: "<ng-container *ngIf=\"(layout$ | async) as layout\">\r\n\r\n<div class=\"layout-topbar\">\r\n <div class=\"topbar-left\">\r\n <a tabindex=\"0\" class=\"menu-button\" (click)=\"toggle()\">\r\n <i [ngClass]=\"layout.sidebarState == sideBaseStateActive ? layout.topbarMenuIcon.toClose : layout.topbarMenuIcon.toOpen\"></i>\r\n </a>\r\n <button *ngIf=\"layout.enableNavigationBack\" pButton type=\"button\" label=\"Voltar\" icon=\"fa-solid fa-angle-left\" class=\"p-button-rounded p-button-text p-button-plain\" (click)=\"navigateBack()\"></button>\r\n <span class=\"topbar-separator\"></span>\r\n <span class=\"viewname ng-star-inserted\" style=\"text-transform: uppercase;\">{{ topbarTitle$ | async }}</span>\r\n <img id=\"logo-mobile\" alt=\"hephaestus-layout\" class=\"mobile-logo\" [src]=\"uiConfig.layouts.appLogo.icon.light\">\r\n </div>\r\n\r\n <div class=\"topbar-right\">\r\n <ul class=\"topbar-menu\">\r\n <div id=\"smz-ui-topbar\"></div>\r\n <li *ngIf=\"headerExtrasTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"headerExtrasTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"notifications?.length > 0\" class=\"notifications-item\" smz-ui-hephaestus-notifications [items]=\"notifications\"></li>\r\n <li><smz-localization-switch></smz-localization-switch></li>\r\n <li><smz-tenant-switch></smz-tenant-switch></li>\r\n <li *ngIf=\"profile?.length > 0\" class=\"profile-item\" smz-ui-hephaestus-profile-menu [items]=\"profile\"></li>\r\n </ul>\r\n </div>\r\n</div>\r\n\r\n</ng-container>", styles: [".profile-item{border-right:unset!important}\n"] }]
|
|
36761
|
+
args: [{ selector: 'smz-ui-hephaestus-topbar', host: { 'class': 'z-10' }, template: "<ng-container *ngIf=\"(layout$ | async) as layout\">\r\n\r\n<div class=\"layout-topbar\">\r\n <div class=\"topbar-left\">\r\n <a tabindex=\"0\" class=\"menu-button\" (click)=\"toggle()\">\r\n <i [ngClass]=\"layout.sidebarState == sideBaseStateActive ? layout.topbarMenuIcon.toClose : layout.topbarMenuIcon.toOpen\"></i>\r\n </a>\r\n <button *ngIf=\"layout.enableNavigationBack\" pButton type=\"button\" label=\"Voltar\" icon=\"fa-solid fa-angle-left\" class=\"p-button-rounded p-button-text p-button-plain\" (click)=\"navigateBack()\"></button>\r\n <span class=\"topbar-separator\"></span>\r\n <span class=\"viewname ng-star-inserted\" style=\"text-transform: uppercase;\">{{ topbarTitle$ | async }}</span>\r\n <img id=\"logo-mobile\" alt=\"hephaestus-layout\" class=\"mobile-logo\" [src]=\"uiConfig.layouts.appLogo.icon.light\">\r\n </div>\r\n\r\n <div class=\"topbar-right\">\r\n <ul class=\"topbar-menu\">\r\n <div id=\"smz-ui-topbar\"></div>\r\n <li *ngIf=\"headerExtrasTemplate != null\">\r\n <ng-container *ngTemplateOutlet=\"headerExtrasTemplate\"></ng-container>\r\n </li>\r\n <li *ngIf=\"notifications?.length > 0\" class=\"notifications-item\" smz-ui-hephaestus-notifications [items]=\"notifications\"></li>\r\n <li *ngIf=\"showLocalizationSwitch\"><smz-localization-switch></smz-localization-switch></li>\r\n <li *ngIf=\"showTenantSwitch\"><smz-tenant-switch></smz-tenant-switch></li>\r\n <li *ngIf=\"profile?.length > 0\" class=\"profile-item\" smz-ui-hephaestus-profile-menu [items]=\"profile\"></li>\r\n </ul>\r\n </div>\r\n</div>\r\n\r\n</ng-container>", styles: [".profile-item{border-right:unset!important}\n"] }]
|
|
36760
36762
|
}], ctorParameters: () => [{ type: i1$2.Store }, { type: i1.Location }], propDecorators: { templates: [{
|
|
36761
36763
|
type: ContentChildren,
|
|
36762
36764
|
args: [PrimeTemplate]
|
|
@@ -38941,6 +38943,8 @@ let AthenaTopbarActionsComponent$1 = class AthenaTopbarActionsComponent {
|
|
|
38941
38943
|
constructor() {
|
|
38942
38944
|
this.profile = [];
|
|
38943
38945
|
this.notifications = [];
|
|
38946
|
+
this.showLocalizationSwitch = GlobalInjector.config.rbkUtils.uiLocalization.allowLocalizationSwitching;
|
|
38947
|
+
this.showTenantSwitch = GlobalInjector.config.rbkUtils.authentication.allowTenantSwitching;
|
|
38944
38948
|
this.uiConfig = GlobalInjector.config;
|
|
38945
38949
|
}
|
|
38946
38950
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: AthenaTopbarActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -38963,9 +38967,9 @@ let AthenaTopbarActionsComponent$1 = class AthenaTopbarActionsComponent {
|
|
|
38963
38967
|
<span class="notification-container" *ngIf="notifications != null" smz-ui-athena-notifications [items]="notifications"></span>
|
|
38964
38968
|
</ng-template>
|
|
38965
38969
|
|
|
38966
|
-
<smz-localization-switch class="mx-3"></smz-localization-switch>
|
|
38970
|
+
<smz-localization-switch *ngIf="showLocalizationSwitch" class="mx-3"></smz-localization-switch>
|
|
38967
38971
|
|
|
38968
|
-
<smz-tenant-switch class="mx-3"></smz-tenant-switch>
|
|
38972
|
+
<smz-tenant-switch *ngIf="showTenantSwitch" class="mx-3"></smz-tenant-switch>
|
|
38969
38973
|
|
|
38970
38974
|
<span id="smz-ui-profile-menu" *ngIf="profile != null" smz-ui-athena-profile-menu [profile]="profile"></span>
|
|
38971
38975
|
|
|
@@ -38992,9 +38996,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImpor
|
|
|
38992
38996
|
<span class="notification-container" *ngIf="notifications != null" smz-ui-athena-notifications [items]="notifications"></span>
|
|
38993
38997
|
</ng-template>
|
|
38994
38998
|
|
|
38995
|
-
<smz-localization-switch class="mx-3"></smz-localization-switch>
|
|
38999
|
+
<smz-localization-switch *ngIf="showLocalizationSwitch" class="mx-3"></smz-localization-switch>
|
|
38996
39000
|
|
|
38997
|
-
<smz-tenant-switch class="mx-3"></smz-tenant-switch>
|
|
39001
|
+
<smz-tenant-switch *ngIf="showTenantSwitch" class="mx-3"></smz-tenant-switch>
|
|
38998
39002
|
|
|
38999
39003
|
<span id="smz-ui-profile-menu" *ngIf="profile != null" smz-ui-athena-profile-menu [profile]="profile"></span>
|
|
39000
39004
|
|