@main-class/template 3.3.15 → 3.4.1

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.
@@ -30,10 +30,10 @@ class MenuService {
30
30
  toggle() {
31
31
  this.delegates.forEach(d => d.toggle());
32
32
  }
33
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: MenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
34
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: MenuService, providedIn: 'root' });
33
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
34
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MenuService, providedIn: 'root' });
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: MenuService, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MenuService, decorators: [{
37
37
  type: Injectable,
38
38
  args: [{
39
39
  providedIn: 'root'
@@ -136,10 +136,10 @@ class BaseService {
136
136
  }
137
137
  return true;
138
138
  }
139
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: BaseService, deps: [{ token: i1.Router }, { token: i0.Injector }, { token: i1.ActivatedRoute }, { token: i0.ApplicationRef }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
140
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: BaseService, providedIn: 'root' });
139
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: BaseService, deps: [{ token: i1.Router }, { token: i0.Injector }, { token: i1.ActivatedRoute }, { token: i0.ApplicationRef }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
140
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: BaseService, providedIn: 'root' });
141
141
  }
142
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: BaseService, decorators: [{
142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: BaseService, decorators: [{
143
143
  type: Injectable,
144
144
  args: [{
145
145
  providedIn: 'root'
@@ -161,10 +161,10 @@ class MenuComponent {
161
161
  this.menuService.toggle();
162
162
  }
163
163
  }
164
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: MenuComponent, deps: [{ token: i1$1.MobileService }, { token: MenuService }, { token: BaseService }], target: i0.ɵɵFactoryTarget.Component });
165
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: MenuComponent, isStandalone: true, selector: "mcl-menu", ngImport: i0, template: "<div class=\"top\">\n <router-outlet name=\"menu-header\"></router-outlet>\n</div>\n<div class=\"content\">\n @let user = menuConfig.user() | async;\n @if (!!user) {\n <button type=\"button\" mat-button class=\"profile\"\n [matMenuTriggerFor]=\"opcoesUsuario\" >\n @if (!!user.photoUrl) {\n <img [src]=\"user.photoUrl\" />\n } @else {\n <mat-icon>person</mat-icon>\n }\n {{user.name}}\n </button>\n\n <mat-menu #opcoesUsuario >\n @for (menu of user.menus; track menu.label) {\n <button type=\"button\" mat-menu-item (click)=\"menu.action()\">\n @if (menu.icon) { <mat-icon class=\"left\" >{{menu.icon}}</mat-icon> }\n <span class=\"text\">{{menu.label | translate}}</span>\n </button>\n }\n </mat-menu>\n }\n\n @let menus = menuConfig.menus() | async;\n\n @for (menu of menus; track menu.label) {\n @if (!menu.children?.length) {\n <button mat-button\n (click)=\"menuClicked(menu)\"\n [routerLink]=\"menu.route\" [routerLinkActive]=\"['active']\">\n <mat-icon class=\"left\">{{menu.icon}}</mat-icon>\n <span class=\"text\">{{menu.label | translate}}</span>\n </button>\n }\n\n @if (menu.children?.length){\n <button mat-button [matMenuTriggerFor]=\"submenu\">\n @if (menu.icon) { <mat-icon class=\"left\" >{{menu.icon}}</mat-icon> }\n <span class=\"text\">{{menu.label | translate}}</span>\n <mat-icon class=\"right\" >chevron_right</mat-icon>\n </button>\n\n <mat-menu #submenu=\"matMenu\" xPosition=\"before\">\n @for (sub of menu.children; track sub.label){\n <button mat-menu-item\n (click)=\"menuClicked(sub)\"\n [routerLink]=\"sub.route\" [routerLinkActive]=\"['active']\">\n @if (sub.icon){<mat-icon class=\"left\">{{sub.icon}}</mat-icon>}\n <span class=\"text\">{{sub.label | translate}}</span>\n </button>\n }\n </mat-menu>\n }\n }\n\n <div class=\"spacer\"></div>\n\n</div>\n<div class=\"bottom\">\n <router-outlet name=\"menu-bottom\"></router-outlet>\n</div>\n\n", styles: [":host{height:100%;display:flex;flex-direction:column}:host .top{height:150px;background:#222;color:#fff;text-align:center;padding:15px 30px;overflow:visible;z-index:2;box-shadow:0 0 5px #0000004d}:host .content{flex:1 1 auto}:host .content button{display:block;color:#fff;border-radius:0;text-align:left;width:100%;height:50px;border-left:5px solid #222222}:host .content button.profile{background:#000;color:#fff;overflow:visible;z-index:2;border-left:5px solid #000000}:host .content button.profile mat-icon{background:#fff;color:#333;border-radius:50%;padding:2px;vertical-align:middle}:host .content button.active{background:#fff;color:#111;border-left:5px solid #888888}:host .bottom{padding:10px}:host .bottom .version{text-align:center;color:#fff;font-size:11px}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "component", type: MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }] });
164
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MenuComponent, deps: [{ token: i1$1.MobileService }, { token: MenuService }, { token: BaseService }], target: i0.ɵɵFactoryTarget.Component });
165
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: MenuComponent, isStandalone: true, selector: "mcl-menu", ngImport: i0, template: "<div class=\"top\">\n <router-outlet name=\"menu-header\"></router-outlet>\n</div>\n<div class=\"content\">\n @let user = menuConfig.user() | async;\n @if (!!user) {\n <button type=\"button\" mat-button class=\"profile\"\n [matMenuTriggerFor]=\"opcoesUsuario\" >\n @if (!!user.photoUrl) {\n <img [src]=\"user.photoUrl\" />\n } @else {\n <mat-icon>person</mat-icon>\n }\n {{user.name}}\n </button>\n\n <mat-menu #opcoesUsuario >\n @for (menu of user.menus; track menu.label) {\n <button type=\"button\" mat-menu-item (click)=\"menu.action()\">\n @if (menu.icon) { <mat-icon class=\"left\" >{{menu.icon}}</mat-icon> }\n <span class=\"text\">{{menu.label | translate}}</span>\n </button>\n }\n </mat-menu>\n }\n\n @let menus = menuConfig.menus() | async;\n\n @for (menu of menus; track menu.label) {\n @if (!menu.children?.length) {\n <button mat-button\n (click)=\"menuClicked(menu)\"\n [routerLink]=\"menu.route\" [routerLinkActive]=\"['active']\">\n <mat-icon class=\"left\">{{menu.icon}}</mat-icon>\n <span class=\"text\">{{menu.label | translate}}</span>\n </button>\n }\n\n @if (menu.children?.length){\n <button mat-button [matMenuTriggerFor]=\"submenu\">\n @if (menu.icon) { <mat-icon class=\"left\" >{{menu.icon}}</mat-icon> }\n <span class=\"text\">{{menu.label | translate}}</span>\n <mat-icon class=\"right\" >chevron_right</mat-icon>\n </button>\n\n <mat-menu #submenu=\"matMenu\" xPosition=\"before\">\n @for (sub of menu.children; track sub.label){\n <button mat-menu-item\n (click)=\"menuClicked(sub)\"\n [routerLink]=\"sub.route\" [routerLinkActive]=\"['active']\">\n @if (sub.icon){<mat-icon class=\"left\">{{sub.icon}}</mat-icon>}\n <span class=\"text\">{{sub.label | translate}}</span>\n </button>\n }\n </mat-menu>\n }\n }\n\n <div class=\"spacer\"></div>\n\n</div>\n<div class=\"bottom\">\n <router-outlet name=\"menu-bottom\"></router-outlet>\n</div>\n\n", styles: [":host{height:100%;display:flex;flex-direction:column}:host .top{height:150px;background:#222;color:#fff;text-align:center;padding:15px 30px;overflow:visible;z-index:2;box-shadow:0 0 5px #0000004d}:host .content{flex:1 1 auto}:host .content button{display:block;color:#fff;border-radius:0;text-align:left;width:100%;height:50px;border-left:5px solid #222222}:host .content button.profile{background:#000;color:#fff;overflow:visible;z-index:2;border-left:5px solid #000000}:host .content button.profile mat-icon{background:#fff;color:#333;border-radius:50%;padding:2px;vertical-align:middle}:host .content button.active{background:#fff;color:#111;border-left:5px solid #888888}:host .bottom{padding:10px}:host .bottom .version{text-align:center;color:#fff;font-size:11px}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "component", type: MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }] });
166
166
  }
167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: MenuComponent, decorators: [{
167
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MenuComponent, decorators: [{
168
168
  type: Component,
169
169
  args: [{ selector: 'mcl-menu', imports: [
170
170
  AsyncPipe,
@@ -200,10 +200,10 @@ class HeaderComponent {
200
200
  toggleMenu() {
201
201
  this.menuService.toggle();
202
202
  }
203
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: HeaderComponent, deps: [{ token: MenuService }, { token: BaseService }, { token: i1$1.MobileService }], target: i0.ɵɵFactoryTarget.Component });
204
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: HeaderComponent, isStandalone: true, selector: "mcl-header", ngImport: i0, template: "@if (mobile) {\n <button mat-icon-button type=\"button\" (click)=\"toggleMenu()\">\n <mat-icon>menu</mat-icon>\n </button>\n}\n\n<div class=\"title\">\n {{ title | async }}\n</div>\n\n<div class=\"spacer\"></div>\n\n<router-outlet name=\"header-actions\"></router-outlet>\n", styles: [":host{height:50px;overflow:visible;z-index:2;box-shadow:0 0 5px #0000004d;background:#fff;color:#222;padding:5px 30px;display:flex;gap:20px;align-items:center}:host .title{font-size:18px}:host .spacer{flex:1 1 auto}\n"], dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
203
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: HeaderComponent, deps: [{ token: MenuService }, { token: BaseService }, { token: i1$1.MobileService }], target: i0.ɵɵFactoryTarget.Component });
204
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: HeaderComponent, isStandalone: true, selector: "mcl-header", ngImport: i0, template: "@if (mobile) {\n <button mat-icon-button type=\"button\" (click)=\"toggleMenu()\">\n <mat-icon>menu</mat-icon>\n </button>\n}\n\n<div class=\"title\">\n {{ title | async }}\n</div>\n\n<div class=\"spacer\"></div>\n\n<router-outlet name=\"header-actions\"></router-outlet>\n", styles: [":host{height:50px;overflow:visible;z-index:2;box-shadow:0 0 5px #0000004d;background:#fff;color:#222;padding:5px 30px;display:flex;gap:20px;align-items:center}:host .title{font-size:18px}:host .spacer{flex:1 1 auto}\n"], dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
205
205
  }
206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: HeaderComponent, decorators: [{
206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: HeaderComponent, decorators: [{
207
207
  type: Component,
208
208
  args: [{ selector: 'mcl-header', imports: [
209
209
  RouterOutlet,
@@ -223,10 +223,10 @@ class FooterComponent {
223
223
  get direitos() {
224
224
  return this.activatedRoute.snapshot.data['direitos'];
225
225
  }
226
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: FooterComponent, deps: [{ token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
227
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: FooterComponent, isStandalone: true, selector: "mcl-footer", ngImport: i0, template: "{{direitos | translate}}\n", styles: [":host{display:flex;justify-items:center;align-items:center;justify-content:center;color:#fff;text-align:center}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }] });
226
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: FooterComponent, deps: [{ token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
227
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: FooterComponent, isStandalone: true, selector: "mcl-footer", ngImport: i0, template: "{{direitos | translate}}\n", styles: [":host{display:flex;justify-items:center;align-items:center;justify-content:center;color:#fff;text-align:center}\n"], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }] });
228
228
  }
229
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: FooterComponent, decorators: [{
229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: FooterComponent, decorators: [{
230
230
  type: Component,
231
231
  args: [{ selector: 'mcl-footer', imports: [
232
232
  TranslatePipe
@@ -272,10 +272,10 @@ class BaseComponent {
272
272
  toggle() {
273
273
  this.sidenav.toggle();
274
274
  }
275
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: BaseComponent, deps: [{ token: i1$1.MobileService }, { token: MenuService }, { token: BaseService }], target: i0.ɵɵFactoryTarget.Component });
276
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.5", type: BaseComponent, isStandalone: true, selector: "mcl-base", viewQueries: [{ propertyName: "sidenav", first: true, predicate: ["sidenav"], descendants: true }], ngImport: i0, template: "<mat-drawer-container [ngClass]=\"{'dialog': mode === 'dialog'}\">\n @if (mode !== 'dialog') {\n <mat-drawer [mode]=\"mobile ? 'over' : 'side'\"\n [opened]=\"!mobile\" #sidenav>\n <mcl-menu></mcl-menu>\n </mat-drawer>\n }\n <mat-drawer-content>\n @if (mode !== 'dialog') {\n <mcl-header></mcl-header>\n\n @if (hasTabs) {\n <div class=\"toolbar\">\n <nav mat-tab-nav-bar\n [color]=\"'accent'\">\n @for (tab of tabs; track tab.label) {\n <a mat-tab-link\n [routerLink]=\"tab.route\"\n queryParamsHandling=\"preserve\"\n [active]=\"!tab.route\"\n >\n {{ tab.label }}\n @if (!!tab.badge) {\n <span class=\"badge\">{{ tab.badge }}</span>\n }\n </a>\n }\n </nav>\n </div>\n }\n }\n\n <div class=\"content\">\n <router-outlet></router-outlet>\n </div>\n\n @if (mode !== 'dialog') {\n <mcl-footer></mcl-footer>\n }\n </mat-drawer-content>\n</mat-drawer-container>\n\n", styles: [":host{width:100%;height:100%;display:flex;flex-direction:column}:host mat-drawer-container{flex:1 1 auto}:host mat-drawer-container *.dialog{top:0;bottom:0}:host mat-drawer-container mat-drawer{background:#222;border-radius:0;width:260px;border:0;box-shadow:inset 0 0 10px #0000004d;transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}:host mat-drawer-container mat-drawer-content{display:flex;flex-direction:column}:host mat-drawer-container mat-drawer-content .toolbar{background:#e9e9e9;height:60px;border-bottom:1px solid #d9d9d9}:host mat-drawer-container mat-drawer-content .toolbar [mat-tab-nav-bar]{margin-bottom:20px;border-bottom:0;border-top-left-radius:8px;border-bottom-left-radius:8px;background:transparent}:host mat-drawer-container mat-drawer-content .toolbar [mat-tab-nav-bar] [mat-tab-link]{text-transform:uppercase;color:#00000080;min-width:100px;height:60px;flex-grow:0}:host mat-drawer-container mat-drawer-content .toolbar [mat-tab-nav-bar] [mat-tab-link].mdc-tab-indicator--active{background:#ffffff73}:host mat-drawer-container mat-drawer-content .toolbar [mat-tab-nav-bar] [mat-tab-link].mat-tab-label-active{color:#000c;font-weight:700}:host mat-drawer-container mat-drawer-content .content{background:#fafafa;flex:1 1 auto;padding:20px}:host mat-drawer-container mat-drawer-content mcl-header{height:80px;animation:.2s}:host mat-drawer-container mat-drawer-content mcl-footer{height:40px;animation:.2s}\n"], dependencies: [{ kind: "component", type: HeaderComponent, selector: "mcl-header" }, { kind: "component", type: MenuComponent, selector: "mcl-menu" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["fitInkBarToContent", "mat-stretch-tabs", "animationDuration", "backgroundColor", "disableRipple", "color", "tabPanel"], exportAs: ["matTabNavBar", "matTabNav"] }, { kind: "component", type: MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["active", "disabled", "disableRipple", "tabIndex", "id"], exportAs: ["matTabLink"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: FooterComponent, selector: "mcl-footer" }, { kind: "component", type: MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: MatDrawerContent, selector: "mat-drawer-content" }, { kind: "component", type: MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }] });
275
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: BaseComponent, deps: [{ token: i1$1.MobileService }, { token: MenuService }, { token: BaseService }], target: i0.ɵɵFactoryTarget.Component });
276
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: BaseComponent, isStandalone: true, selector: "mcl-base", viewQueries: [{ propertyName: "sidenav", first: true, predicate: ["sidenav"], descendants: true }], ngImport: i0, template: "<mat-drawer-container [ngClass]=\"{'dialog': mode === 'dialog'}\">\n @if (mode !== 'dialog') {\n <mat-drawer [mode]=\"mobile ? 'over' : 'side'\"\n [opened]=\"!mobile\" #sidenav>\n <mcl-menu></mcl-menu>\n </mat-drawer>\n }\n <mat-drawer-content>\n @if (mode !== 'dialog') {\n <mcl-header></mcl-header>\n\n @if (hasTabs) {\n <div class=\"toolbar\">\n <nav mat-tab-nav-bar\n [color]=\"'accent'\">\n @for (tab of tabs; track tab.label) {\n <a mat-tab-link\n [routerLink]=\"tab.route\"\n queryParamsHandling=\"preserve\"\n [active]=\"!tab.route\"\n >\n {{ tab.label }}\n @if (!!tab.badge) {\n <span class=\"badge\">{{ tab.badge }}</span>\n }\n </a>\n }\n </nav>\n </div>\n }\n }\n\n <div class=\"content\">\n <router-outlet></router-outlet>\n </div>\n\n @if (mode !== 'dialog') {\n <mcl-footer></mcl-footer>\n }\n </mat-drawer-content>\n</mat-drawer-container>\n\n", styles: [":host{width:100%;height:100%;display:flex;flex-direction:column}:host mat-drawer-container{flex:1 1 auto}:host mat-drawer-container *.dialog{top:0;bottom:0}:host mat-drawer-container mat-drawer{background:#222;border-radius:0;width:260px;border:0;box-shadow:inset 0 0 10px #0000004d;transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}:host mat-drawer-container mat-drawer-content{display:flex;flex-direction:column}:host mat-drawer-container mat-drawer-content .toolbar{background:#e9e9e9;height:60px;border-bottom:1px solid #d9d9d9}:host mat-drawer-container mat-drawer-content .toolbar [mat-tab-nav-bar]{margin-bottom:20px;border-bottom:0;border-top-left-radius:8px;border-bottom-left-radius:8px;background:transparent}:host mat-drawer-container mat-drawer-content .toolbar [mat-tab-nav-bar] [mat-tab-link]{text-transform:uppercase;color:#00000080;min-width:100px;height:60px;flex-grow:0}:host mat-drawer-container mat-drawer-content .toolbar [mat-tab-nav-bar] [mat-tab-link].mdc-tab-indicator--active{background:#ffffff73}:host mat-drawer-container mat-drawer-content .toolbar [mat-tab-nav-bar] [mat-tab-link].mat-tab-label-active{color:#000c;font-weight:700}:host mat-drawer-container mat-drawer-content .content{background:#fafafa;flex:1 1 auto;padding:20px}:host mat-drawer-container mat-drawer-content mcl-header{height:80px;animation:.2s}:host mat-drawer-container mat-drawer-content mcl-footer{height:40px;animation:.2s}\n"], dependencies: [{ kind: "component", type: HeaderComponent, selector: "mcl-header" }, { kind: "component", type: MenuComponent, selector: "mcl-menu" }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["fitInkBarToContent", "mat-stretch-tabs", "animationDuration", "backgroundColor", "disableRipple", "color", "tabPanel"], exportAs: ["matTabNavBar", "matTabNav"] }, { kind: "component", type: MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["active", "disabled", "disableRipple", "tabIndex", "id"], exportAs: ["matTabLink"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: FooterComponent, selector: "mcl-footer" }, { kind: "component", type: MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: MatDrawerContent, selector: "mat-drawer-content" }, { kind: "component", type: MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }] });
277
277
  }
278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: BaseComponent, decorators: [{
278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: BaseComponent, decorators: [{
279
279
  type: Component,
280
280
  args: [{ selector: 'mcl-base', imports: [
281
281
  HeaderComponent,
@@ -302,10 +302,10 @@ class AcessoComponent {
302
302
  }
303
303
  ngOnInit() {
304
304
  }
305
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AcessoComponent, deps: [{ token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
306
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.5", type: AcessoComponent, isStandalone: true, selector: "mcl-acesso", ngImport: i0, template: "<div class=\"background\"></div>\n\n<div class=\"content\">\n <mat-card>\n <router-outlet></router-outlet>\n </mat-card>\n\n <div class=\"footer\">\n <router-outlet name=\"footer\"></router-outlet>\n </div>\n</div>\n", styles: [":host{display:block;background:#f9f9f9;inset:0;height:100%}:host .background{background:#999;background-size:contain;position:absolute;top:0;left:0;right:0;height:200px;box-shadow:0 0 10px #0000004d}:host .content{padding-top:100px}:host .content mat-card{border-top:30px solid #666666;box-shadow:0 0 10px #0000004d;margin:auto;background:#fff;width:380px;padding:30px 50px 50px}:host .content .footer{margin-top:40px;font-size:12px;color:#999;text-align:center}\n"], dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }] });
305
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: AcessoComponent, deps: [{ token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
306
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: AcessoComponent, isStandalone: true, selector: "mcl-acesso", ngImport: i0, template: "<div class=\"background\"></div>\n\n<div class=\"content\">\n <mat-card>\n <router-outlet></router-outlet>\n </mat-card>\n\n <div class=\"footer\">\n <router-outlet name=\"footer\"></router-outlet>\n </div>\n</div>\n", styles: [":host{display:block;background:#f9f9f9;inset:0;height:100%}:host .background{background:#999;background-size:contain;position:absolute;top:0;left:0;right:0;height:200px;box-shadow:0 0 10px #0000004d}:host .content{padding-top:100px}:host .content mat-card{border-top:30px solid #666666;box-shadow:0 0 10px #0000004d;margin:auto;background:#fff;width:380px;padding:30px 50px 50px}:host .content .footer{margin-top:40px;font-size:12px;color:#999;text-align:center}\n"], dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }] });
307
307
  }
308
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImport: i0, type: AcessoComponent, decorators: [{
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: AcessoComponent, decorators: [{
309
309
  type: Component,
310
310
  args: [{ selector: 'mcl-acesso', imports: [
311
311
  RouterOutlet,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@main-class/template",
3
- "version": "3.3.15",
3
+ "version": "3.4.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.0",
6
6
  "@angular/core": "^19.2.0",