@main-class/template 2.2.1 → 3.0.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/README.md +49 -10
- package/acesso/acesso.component.d.ts +1 -1
- package/base/base.component.d.ts +7 -5
- package/base/base.service.d.ts +1 -1
- package/fesm2022/main-class-template.mjs +328 -0
- package/fesm2022/main-class-template.mjs.map +1 -0
- package/footer/footer.component.d.ts +1 -1
- package/header/header.component.d.ts +1 -1
- package/menu/menu-config.d.ts +18 -0
- package/menu/menu.component.d.ts +7 -24
- package/menu/menu.service.d.ts +1 -1
- package/package.json +10 -18
- package/public-api.d.ts +3 -3
- package/esm2020/acesso/acesso.component.mjs +0 -21
- package/esm2020/base/base.component.mjs +0 -138
- package/esm2020/base/base.service.mjs +0 -22
- package/esm2020/footer/footer.component.mjs +0 -21
- package/esm2020/header/header.component.mjs +0 -34
- package/esm2020/main-class-template.mjs +0 -5
- package/esm2020/menu/menu.component.mjs +0 -50
- package/esm2020/menu/menu.service.mjs +0 -25
- package/esm2020/public-api.mjs +0 -12
- package/esm2020/template.module.mjs +0 -137
- package/fesm2015/main-class-template.mjs +0 -414
- package/fesm2015/main-class-template.mjs.map +0 -1
- package/fesm2020/main-class-template.mjs +0 -419
- package/fesm2020/main-class-template.mjs.map +0 -1
- package/template.module.d.ts +0 -40
- package/theming.scss +0 -238
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { BaseComponent } from './base/base.component';
|
|
4
|
-
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
5
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
6
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
7
|
-
import { MenuComponent } from './menu/menu.component';
|
|
8
|
-
import { HeaderComponent } from './header/header.component';
|
|
9
|
-
import { RouterModule } from '@angular/router';
|
|
10
|
-
import { MatBadgeModule } from '@angular/material/badge';
|
|
11
|
-
import { MatTabsModule } from '@angular/material/tabs';
|
|
12
|
-
import { MatMenuModule } from '@angular/material/menu';
|
|
13
|
-
import { MatDividerModule } from '@angular/material/divider';
|
|
14
|
-
import { MatChipsModule } from '@angular/material/chips';
|
|
15
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
16
|
-
import { MenuService } from './menu/menu.service';
|
|
17
|
-
import { BaseService } from './base/base.service';
|
|
18
|
-
import { FooterComponent } from './footer/footer.component';
|
|
19
|
-
import { AcessoComponent } from './acesso/acesso.component';
|
|
20
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
export class TemplateModule {
|
|
23
|
-
static forRoot() {
|
|
24
|
-
return {
|
|
25
|
-
ngModule: TemplateModule,
|
|
26
|
-
providers: [
|
|
27
|
-
MenuService,
|
|
28
|
-
BaseService,
|
|
29
|
-
]
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
static forCrud(config) {
|
|
33
|
-
return RouterModule.forChild([
|
|
34
|
-
{
|
|
35
|
-
path: '',
|
|
36
|
-
data: {
|
|
37
|
-
tabs: [
|
|
38
|
-
{
|
|
39
|
-
label: config.consultaLabel || 'Consulta',
|
|
40
|
-
route: `${config.routeBase}`
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
label: config.cadastroLabel || 'Cadastro',
|
|
44
|
-
route: `${config.routeBase}/${config.cadastroPath || 'cadastro'}`
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
children: [
|
|
49
|
-
{
|
|
50
|
-
path: '',
|
|
51
|
-
component: config.consultaComponent,
|
|
52
|
-
data: {
|
|
53
|
-
...(config.consultaExtraData || {}),
|
|
54
|
-
tabs: [
|
|
55
|
-
{
|
|
56
|
-
label: config.consultaLabel || 'Consulta',
|
|
57
|
-
},
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
path: config.cadastroPath || 'cadastro',
|
|
63
|
-
component: config.cadastroComponent || config.edicaoComponent,
|
|
64
|
-
data: {
|
|
65
|
-
...(config.cadastroExtraData || {}),
|
|
66
|
-
tabs: [
|
|
67
|
-
{
|
|
68
|
-
label: config.cadastroLabel || 'Cadastro',
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
path: ':id',
|
|
75
|
-
component: config.edicaoComponent,
|
|
76
|
-
data: {
|
|
77
|
-
...(config.edicaoExtraData || {}),
|
|
78
|
-
tabs: [
|
|
79
|
-
{
|
|
80
|
-
label: config.edicaoLabel || 'Edição'
|
|
81
|
-
}
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
...(config.extraRoutes || [])
|
|
86
|
-
]
|
|
87
|
-
}
|
|
88
|
-
]);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
TemplateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TemplateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
92
|
-
TemplateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TemplateModule, declarations: [BaseComponent, MenuComponent, HeaderComponent, FooterComponent, AcessoComponent], imports: [CommonModule,
|
|
93
|
-
RouterModule,
|
|
94
|
-
MatSidenavModule,
|
|
95
|
-
MatButtonModule,
|
|
96
|
-
MatIconModule,
|
|
97
|
-
MatBadgeModule,
|
|
98
|
-
MatTabsModule,
|
|
99
|
-
MatMenuModule,
|
|
100
|
-
MatDividerModule,
|
|
101
|
-
MatChipsModule,
|
|
102
|
-
MatTooltipModule,
|
|
103
|
-
TranslateModule], exports: [BaseComponent, AcessoComponent] });
|
|
104
|
-
TemplateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TemplateModule, imports: [CommonModule,
|
|
105
|
-
RouterModule,
|
|
106
|
-
MatSidenavModule,
|
|
107
|
-
MatButtonModule,
|
|
108
|
-
MatIconModule,
|
|
109
|
-
MatBadgeModule,
|
|
110
|
-
MatTabsModule,
|
|
111
|
-
MatMenuModule,
|
|
112
|
-
MatDividerModule,
|
|
113
|
-
MatChipsModule,
|
|
114
|
-
MatTooltipModule,
|
|
115
|
-
TranslateModule] });
|
|
116
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TemplateModule, decorators: [{
|
|
117
|
-
type: NgModule,
|
|
118
|
-
args: [{
|
|
119
|
-
declarations: [BaseComponent, MenuComponent, HeaderComponent, FooterComponent, AcessoComponent],
|
|
120
|
-
exports: [BaseComponent, AcessoComponent],
|
|
121
|
-
imports: [
|
|
122
|
-
CommonModule,
|
|
123
|
-
RouterModule,
|
|
124
|
-
MatSidenavModule,
|
|
125
|
-
MatButtonModule,
|
|
126
|
-
MatIconModule,
|
|
127
|
-
MatBadgeModule,
|
|
128
|
-
MatTabsModule,
|
|
129
|
-
MatMenuModule,
|
|
130
|
-
MatDividerModule,
|
|
131
|
-
MatChipsModule,
|
|
132
|
-
MatTooltipModule,
|
|
133
|
-
TranslateModule,
|
|
134
|
-
],
|
|
135
|
-
}]
|
|
136
|
-
}] });
|
|
137
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVtcGxhdGUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWFpbi1jbGFzcy90ZW1wbGF0ZS9zcmMvdGVtcGxhdGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBc0IsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzVELE9BQU8sRUFBQyxZQUFZLEVBQUMsTU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w/OiBzdHJpbmcsXG4gICAgY2FkYXN0cm9QYXRoPzogc3RyaW5nLFxuICAgIGVkaWNhb0xhYmVsPzogc3RyaW5nLFxuICAgIGNvbnN1bHRhRXh0cmFEYXRhPzogYW55LFxuICAgIGNhZGFzdHJvRXh0cmFEYXRhPzogYW55LFxuICAgIGVkaWNhb0V4dHJhRGF0YT86IGFueSxcbiAgICBleHRyYVJvdXRlcz86IFJvdXRlcyxcbiAgfSk6IE1vZHVsZVdpdGhQcm92aWRlcnM8Um91dGVyTW9kdWxlPiB7XG4gICAgcmV0dXJuIFJvdXRlck1vZHVsZS5mb3JDaGlsZChbXG4gICAgICB7XG4gICAgICAgIHBhdGg6ICcnLFxuICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgdGFiczogW1xuICAgICAgICAgICAge1xuICAgICAgICAgICAgICBsYWJlbDogY29uZmlnLmNvbnN1bHRhTGFiZWwgfHwgJ0NvbnN1bHRhJyxcbiAgICAgICAgICAgICAgcm91dGU6IGAke2NvbmZpZy5yb3V0ZUJhc2V9YFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgbGFiZWw6IGNvbmZpZy5jYWRhc3Ryb0xhYmVsIHx8ICdDYWRhc3RybycsXG4gICAgICAgICAgICAgIHJvdXRlOiBgJHtjb25maWcucm91dGVCYXNlfS8ke2NvbmZpZy5jYWRhc3Ryb1BhdGggfHwgJ2NhZGFzdHJvJ31gXG4gICAgICAgICAgICB9XG4gICAgICAgICAgXVxuICAgICAgICB9LFxuICAgICAgICBjaGlsZHJlbjogW1xuICAgICAgICAgIHtcbiAgICAgICAgICAgIHBhdGg6ICcnLFxuICAgICAgICAgICAgY29tcG9uZW50OiBjb25maWcuY29uc3VsdGFDb21wb25lbnQsXG4gICAgICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgICAgIC4uLihjb25maWcuY29uc3VsdGFFeHRyYURhdGEgfHwge30pLFxuICAgICAgICAgICAgICB0YWJzOiBbXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgbGFiZWw6IGNvbmZpZy5jb25zdWx0YUxhYmVsIHx8ICdDb25zdWx0YScsXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgXVxuICAgICAgICAgICAgfSxcbiAgICAgICAgICB9LFxuICAgICAgICAgIHtcbiAgICAgICAgICAgIHBhdGg6IGNvbmZpZy5jYWRhc3Ryb1BhdGggfHwgJ2NhZGFzdHJvJyxcbiAgICAgICAgICAgIGNvbXBvbmVudDogY29uZmlnLmNhZGFzdHJvQ29tcG9uZW50IHx8IGNvbmZpZy5lZGljYW9Db21wb25lbnQsXG4gICAgICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgICAgIC4uLihjb25maWcuY2FkYXN0cm9FeHRyYURhdGEgfHwge30pLFxuICAgICAgICAgICAgICB0YWJzOiBbXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgbGFiZWw6IGNvbmZpZy5jYWRhc3Ryb0xhYmVsIHx8ICdDYWRhc3RybycsXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICBdXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICB7XG4gICAgICAgICAgICBwYXRoOiAnOmlkJyxcbiAgICAgICAgICAgIGNvbXBvbmVudDogY29uZmlnLmVkaWNhb0NvbXBvbmVudCxcbiAgICAgICAgICAgIGRhdGE6IHtcbiAgICAgICAgICAgICAgLi4uKGNvbmZpZy5lZGljYW9FeHRyYURhdGEgfHwge30pLFxuICAgICAgICAgICAgICB0YWJzOiBbXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgbGFiZWw6IGNvbmZpZy5lZGljYW9MYWJlbCB8fCAnRWRpw6fDo28nXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICBdXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSxcbiAgICAgICAgICAuLi4oY29uZmlnLmV4dHJhUm91dGVzIHx8IFtdKVxuICAgICAgICBdXG4gICAgICB9XG4gICAgXSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,414 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, InjectionToken, Component, Inject, Optional, ViewChild, NgModule } from '@angular/core';
|
|
3
|
-
import * as i5 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { __awaiter } from 'tslib';
|
|
6
|
-
import * as i1 from '@angular/router';
|
|
7
|
-
import { NavigationEnd, RouterModule } from '@angular/router';
|
|
8
|
-
import { from } from 'rxjs';
|
|
9
|
-
import * as i3 from '@main-class/componentes/core';
|
|
10
|
-
import * as i6$1 from '@angular/material/sidenav';
|
|
11
|
-
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
12
|
-
import * as i7$1 from '@angular/material/tabs';
|
|
13
|
-
import { MatTabsModule } from '@angular/material/tabs';
|
|
14
|
-
import * as i6 from '@angular/material/button';
|
|
15
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
16
|
-
import * as i7 from '@angular/material/icon';
|
|
17
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
18
|
-
import * as i8 from '@angular/material/menu';
|
|
19
|
-
import { MatMenuModule } from '@angular/material/menu';
|
|
20
|
-
import * as i9 from '@ngx-translate/core';
|
|
21
|
-
import { TranslateModule } from '@ngx-translate/core';
|
|
22
|
-
import * as i2 from '@main-class/componentes/dialog';
|
|
23
|
-
import { MatBadgeModule } from '@angular/material/badge';
|
|
24
|
-
import { MatDividerModule } from '@angular/material/divider';
|
|
25
|
-
import { MatChipsModule } from '@angular/material/chips';
|
|
26
|
-
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
27
|
-
|
|
28
|
-
class MenuService {
|
|
29
|
-
constructor() {
|
|
30
|
-
this.delegates = [];
|
|
31
|
-
}
|
|
32
|
-
register(delegate) {
|
|
33
|
-
this.delegates.push(delegate);
|
|
34
|
-
}
|
|
35
|
-
unregister(delegate) {
|
|
36
|
-
this.delegates.splice(this.delegates.indexOf(delegate), 1);
|
|
37
|
-
}
|
|
38
|
-
toggle() {
|
|
39
|
-
this.delegates.forEach(d => d.toggle());
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
MenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
43
|
-
MenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MenuService, providedIn: 'root' });
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MenuService, decorators: [{
|
|
45
|
-
type: Injectable,
|
|
46
|
-
args: [{
|
|
47
|
-
providedIn: 'root'
|
|
48
|
-
}]
|
|
49
|
-
}], ctorParameters: function () { return []; } });
|
|
50
|
-
|
|
51
|
-
class BaseService {
|
|
52
|
-
constructor() {
|
|
53
|
-
}
|
|
54
|
-
init() {
|
|
55
|
-
}
|
|
56
|
-
flush() {
|
|
57
|
-
if (this.entidadesSubscription) {
|
|
58
|
-
this.entidadesSubscription.unsubscribe();
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
BaseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
63
|
-
BaseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BaseService, providedIn: 'root' });
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BaseService, decorators: [{
|
|
65
|
-
type: Injectable,
|
|
66
|
-
args: [{
|
|
67
|
-
providedIn: 'root'
|
|
68
|
-
}]
|
|
69
|
-
}], ctorParameters: function () { return []; } });
|
|
70
|
-
|
|
71
|
-
const MENU_PROVIDER = new InjectionToken('MENU_PROVIDER');
|
|
72
|
-
class MenuComponent {
|
|
73
|
-
constructor(mobileService, menuService, baseService, menuProvider) {
|
|
74
|
-
this.mobileService = mobileService;
|
|
75
|
-
this.menuService = menuService;
|
|
76
|
-
this.baseService = baseService;
|
|
77
|
-
this.menuProvider = menuProvider;
|
|
78
|
-
}
|
|
79
|
-
ngOnInit() {
|
|
80
|
-
if (this.menuProvider) {
|
|
81
|
-
this.menuSubscription = this.menuProvider.menus()
|
|
82
|
-
.subscribe(menus => {
|
|
83
|
-
this.menus = menus;
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
ngOnDestroy() {
|
|
88
|
-
if (this.menuSubscription) {
|
|
89
|
-
this.menuSubscription.unsubscribe();
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
menuClicked(menu) {
|
|
93
|
-
if (this.mobileService.mobile) {
|
|
94
|
-
this.menuService.toggle();
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MenuComponent, deps: [{ token: i3.MobileService }, { token: MenuService }, { token: BaseService }, { token: MENU_PROVIDER, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
99
|
-
MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: MenuComponent, selector: "mcl-menu", ngImport: i0, template: "<div class=\"menu\">\n\n <ng-container *ngFor=\"let menu of menus\">\n <button mat-button\n *ngIf=\"!menu.children?.length\"\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 <ng-container *ngIf=\"menu.children?.length\">\n <button mat-button [matMenuTriggerFor]=\"submenu\">\n <mat-icon class=\"left\" *ngIf=\"menu.icon\">{{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 <button mat-menu-item\n *ngFor=\"let sub of menu.children\"\n (click)=\"menuClicked(sub)\"\n [routerLink]=\"sub.route\" [routerLinkActive]=\"['active']\">\n <mat-icon class=\"left\" *ngIf=\"sub.icon\">{{sub.icon}}</mat-icon>\n <span class=\"text\">{{sub.label | translate}}</span>\n </button>\n </mat-menu>\n </ng-container>\n </ng-container>\n\n <div class=\"spacer\"></div>\n\n <router-outlet name=\"menu-bottom\"></router-outlet>\n</div>\n", styles: [":host{display:flex;flex-direction:column;height:100%}.top{background-color:#00000059;height:100px;border-bottom:1px solid rgba(0,0,0,.15)}.menu{flex:1 1 auto;display:flex;flex-flow:column nowrap;border-top:1px solid rgba(255,255,255,.15);padding:30px 8px 20px 40px}.menu button{transition:.3s;width:100%;color:#333;text-align:left;height:60px;padding-left:15px;padding-right:15px;border-radius:4px;margin-bottom:8px}.menu button mat-icon.left{margin-right:10px;float:left;line-height:40px}.menu button mat-icon.right{margin-left:10px;float:right;line-height:40px}.menu .spacer{flex:1 1 auto}@media (max-width: 1200px){.menu{padding-left:8px}}\n"], dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i7.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i8.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i8.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i8.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
|
|
100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: MenuComponent, decorators: [{
|
|
101
|
-
type: Component,
|
|
102
|
-
args: [{ selector: 'mcl-menu', template: "<div class=\"menu\">\n\n <ng-container *ngFor=\"let menu of menus\">\n <button mat-button\n *ngIf=\"!menu.children?.length\"\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 <ng-container *ngIf=\"menu.children?.length\">\n <button mat-button [matMenuTriggerFor]=\"submenu\">\n <mat-icon class=\"left\" *ngIf=\"menu.icon\">{{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 <button mat-menu-item\n *ngFor=\"let sub of menu.children\"\n (click)=\"menuClicked(sub)\"\n [routerLink]=\"sub.route\" [routerLinkActive]=\"['active']\">\n <mat-icon class=\"left\" *ngIf=\"sub.icon\">{{sub.icon}}</mat-icon>\n <span class=\"text\">{{sub.label | translate}}</span>\n </button>\n </mat-menu>\n </ng-container>\n </ng-container>\n\n <div class=\"spacer\"></div>\n\n <router-outlet name=\"menu-bottom\"></router-outlet>\n</div>\n", styles: [":host{display:flex;flex-direction:column;height:100%}.top{background-color:#00000059;height:100px;border-bottom:1px solid rgba(0,0,0,.15)}.menu{flex:1 1 auto;display:flex;flex-flow:column nowrap;border-top:1px solid rgba(255,255,255,.15);padding:30px 8px 20px 40px}.menu button{transition:.3s;width:100%;color:#333;text-align:left;height:60px;padding-left:15px;padding-right:15px;border-radius:4px;margin-bottom:8px}.menu button mat-icon.left{margin-right:10px;float:left;line-height:40px}.menu button mat-icon.right{margin-left:10px;float:right;line-height:40px}.menu .spacer{flex:1 1 auto}@media (max-width: 1200px){.menu{padding-left:8px}}\n"] }]
|
|
103
|
-
}], ctorParameters: function () {
|
|
104
|
-
return [{ type: i3.MobileService }, { type: MenuService }, { type: BaseService }, { type: undefined, decorators: [{
|
|
105
|
-
type: Inject,
|
|
106
|
-
args: [MENU_PROVIDER]
|
|
107
|
-
}, {
|
|
108
|
-
type: Optional
|
|
109
|
-
}] }];
|
|
110
|
-
} });
|
|
111
|
-
|
|
112
|
-
class HeaderComponent {
|
|
113
|
-
constructor(menuService, dialogService, mensageria, mobileService, activatedRoute) {
|
|
114
|
-
this.menuService = menuService;
|
|
115
|
-
this.dialogService = dialogService;
|
|
116
|
-
this.mensageria = mensageria;
|
|
117
|
-
this.mobileService = mobileService;
|
|
118
|
-
this.activatedRoute = activatedRoute;
|
|
119
|
-
}
|
|
120
|
-
ngOnInit() {
|
|
121
|
-
}
|
|
122
|
-
get logo() {
|
|
123
|
-
return this.activatedRoute.snapshot.data.logo;
|
|
124
|
-
}
|
|
125
|
-
get mobile() {
|
|
126
|
-
return this.mobileService.mobile;
|
|
127
|
-
}
|
|
128
|
-
toggleMenu() {
|
|
129
|
-
this.menuService.toggle();
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderComponent, deps: [{ token: MenuService }, { token: i2.DialogService }, { token: i3.MensageriaService }, { token: i3.MobileService }, { token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
133
|
-
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: HeaderComponent, selector: "mcl-header", ngImport: i0, template: "<a class=\"logo\" href=\"javascript:void(0)\" routerLink=\"/\">\n <img *ngIf=\"logo\" [src]=\"logo\"/>\n <ng-content select=\"logo\"></ng-content>\n</a>\n\n<div class=\"spacer\"></div>\n\n<router-outlet name=\"header-actions\"></router-outlet>\n", styles: [":host{background-color:#fff;display:flex;padding:0 80px;align-items:center;height:80px}:host a.logo img{height:50px;transition:.2s}:host h2{flex:1;margin:auto 10px;color:#0000008a}:host .spacer{flex:1 1 auto}:host button{color:#00000059;margin:auto 15px}:host button mat-icon{vertical-align:middle}@media (max-width: 750px){:host{padding:0;flex-direction:column-reverse}}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
135
|
-
type: Component,
|
|
136
|
-
args: [{ selector: 'mcl-header', template: "<a class=\"logo\" href=\"javascript:void(0)\" routerLink=\"/\">\n <img *ngIf=\"logo\" [src]=\"logo\"/>\n <ng-content select=\"logo\"></ng-content>\n</a>\n\n<div class=\"spacer\"></div>\n\n<router-outlet name=\"header-actions\"></router-outlet>\n", styles: [":host{background-color:#fff;display:flex;padding:0 80px;align-items:center;height:80px}:host a.logo img{height:50px;transition:.2s}:host h2{flex:1;margin:auto 10px;color:#0000008a}:host .spacer{flex:1 1 auto}:host button{color:#00000059;margin:auto 15px}:host button mat-icon{vertical-align:middle}@media (max-width: 750px){:host{padding:0;flex-direction:column-reverse}}\n"] }]
|
|
137
|
-
}], ctorParameters: function () { return [{ type: MenuService }, { type: i2.DialogService }, { type: i3.MensageriaService }, { type: i3.MobileService }, { type: i1.ActivatedRoute }]; } });
|
|
138
|
-
|
|
139
|
-
class FooterComponent {
|
|
140
|
-
constructor(activatedRoute) {
|
|
141
|
-
this.activatedRoute = activatedRoute;
|
|
142
|
-
}
|
|
143
|
-
ngOnInit() {
|
|
144
|
-
}
|
|
145
|
-
get direitos() {
|
|
146
|
-
return this.activatedRoute.snapshot.data.direitos;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
FooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FooterComponent, deps: [{ token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
150
|
-
FooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: FooterComponent, 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: i9.TranslatePipe, name: "translate" }] });
|
|
151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FooterComponent, decorators: [{
|
|
152
|
-
type: Component,
|
|
153
|
-
args: [{ selector: 'mcl-footer', template: "{{direitos | translate}}\n", styles: [":host{display:flex;justify-items:center;align-items:center;justify-content:center;color:#fff;text-align:center}\n"] }]
|
|
154
|
-
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute }]; } });
|
|
155
|
-
|
|
156
|
-
class BaseComponent {
|
|
157
|
-
constructor(router, injector, activatedRoute, mobileService, menuService, baseService, application) {
|
|
158
|
-
this.router = router;
|
|
159
|
-
this.injector = injector;
|
|
160
|
-
this.activatedRoute = activatedRoute;
|
|
161
|
-
this.mobileService = mobileService;
|
|
162
|
-
this.menuService = menuService;
|
|
163
|
-
this.baseService = baseService;
|
|
164
|
-
this.application = application;
|
|
165
|
-
this.hasTabs = true;
|
|
166
|
-
this.mode = 'default';
|
|
167
|
-
this.badges = {};
|
|
168
|
-
this.mobieListener = (mobile) => this.mobile = mobile;
|
|
169
|
-
this.listener = (label, badge) => this.change(label, badge);
|
|
170
|
-
this.activatedRoute.data.subscribe(data => {
|
|
171
|
-
if (data.badgeProvider) {
|
|
172
|
-
if (this.badgeProvider != null) {
|
|
173
|
-
this.badgeProvider.unsubscribe(this.listener);
|
|
174
|
-
}
|
|
175
|
-
this.badgeProvider = this.injector.get(data.badgeProvider);
|
|
176
|
-
this.badgeProvider.subscribe(this.listener);
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
this.activatedRoute.queryParams.subscribe(qp => {
|
|
180
|
-
if (qp.mode === 'dialog') {
|
|
181
|
-
this.mode = 'dialog';
|
|
182
|
-
}
|
|
183
|
-
else {
|
|
184
|
-
this.mode = 'default';
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
change(label, badge) {
|
|
189
|
-
this.tabs
|
|
190
|
-
.forEach(tab => {
|
|
191
|
-
if (tab.label === label) {
|
|
192
|
-
this.badges[tab.label] = badge;
|
|
193
|
-
}
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
ngOnDestroy() {
|
|
197
|
-
this.baseService.flush();
|
|
198
|
-
this.menuService.unregister(this);
|
|
199
|
-
this.mobileService.removeListener(this.mobieListener);
|
|
200
|
-
if (this.badgeProvider != null) {
|
|
201
|
-
this.badgeProvider.unsubscribe(this.listener);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
ngAfterViewInit() {
|
|
205
|
-
if (this.badgeProvider != null) {
|
|
206
|
-
this.tabs.forEach((tab) => __awaiter(this, void 0, void 0, function* () {
|
|
207
|
-
this.badges[tab.label] = this.badgeProvider.getBadget(tab.label).toPromise();
|
|
208
|
-
}));
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
ngOnInit() {
|
|
212
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
213
|
-
this.baseService.init();
|
|
214
|
-
this.mobile = this.mobileService.mobile;
|
|
215
|
-
this.menuService.register(this);
|
|
216
|
-
this.mobileService.addListener(this.mobieListener);
|
|
217
|
-
const updateState = (tabs = [], activatedRoute = this.activatedRoute) => __awaiter(this, void 0, void 0, function* () {
|
|
218
|
-
if (activatedRoute.snapshot.data.hasTabs !== null &&
|
|
219
|
-
activatedRoute.snapshot.data.hasTabs !== undefined && !activatedRoute.snapshot.data.hasTabs) {
|
|
220
|
-
this.hasTabs = false;
|
|
221
|
-
}
|
|
222
|
-
else {
|
|
223
|
-
this.hasTabs = true;
|
|
224
|
-
if (activatedRoute.snapshot.data &&
|
|
225
|
-
activatedRoute.snapshot.data.tabs) {
|
|
226
|
-
for (const tab of activatedRoute.snapshot.data.tabs) {
|
|
227
|
-
const permission = yield this.checkPermission(tab);
|
|
228
|
-
if (permission) {
|
|
229
|
-
const route = !!tab.route ? this.router.createUrlTree(tab.route.split('/'), {
|
|
230
|
-
relativeTo: activatedRoute,
|
|
231
|
-
}).toString() : undefined;
|
|
232
|
-
const t = tabs.find(t0 => t0.label === tab.label);
|
|
233
|
-
if (t) {
|
|
234
|
-
t.route = route;
|
|
235
|
-
}
|
|
236
|
-
else {
|
|
237
|
-
tabs.push(Object.assign(Object.assign({}, tab), { route }));
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
if (activatedRoute.firstChild) {
|
|
243
|
-
return yield updateState(tabs, activatedRoute.firstChild);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
return tabs;
|
|
247
|
-
});
|
|
248
|
-
this.router.events.subscribe((event) => __awaiter(this, void 0, void 0, function* () {
|
|
249
|
-
if (event instanceof NavigationEnd) {
|
|
250
|
-
this.tabs = yield updateState();
|
|
251
|
-
this.application.tick();
|
|
252
|
-
}
|
|
253
|
-
}));
|
|
254
|
-
this.tabs = yield updateState();
|
|
255
|
-
this.application.tick();
|
|
256
|
-
});
|
|
257
|
-
}
|
|
258
|
-
toggle() {
|
|
259
|
-
this.sidenav.toggle();
|
|
260
|
-
}
|
|
261
|
-
checkPermission(tab) {
|
|
262
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
263
|
-
if (tab.permission && tab.permission.condition) {
|
|
264
|
-
const deps = tab.permission.deps ? tab.permission.deps.map((dep) => this.injector.get(dep)) : [];
|
|
265
|
-
return yield from(tab.permission.condition(...deps)).toPromise();
|
|
266
|
-
}
|
|
267
|
-
return true;
|
|
268
|
-
});
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
BaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BaseComponent, deps: [{ token: i1.Router }, { token: i0.Injector }, { token: i1.ActivatedRoute }, { token: i3.MobileService }, { token: MenuService }, { token: BaseService }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
272
|
-
BaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: BaseComponent, selector: "mcl-base", viewQueries: [{ propertyName: "sidenav", first: true, predicate: ["sidenav"], descendants: true }], ngImport: i0, template: "<mcl-header *ngIf=\"mode !== 'dialog'\"></mcl-header>\n\n<mat-sidenav-container [ngClass]=\"{'dialog': mode === 'dialog'}\">\n <mat-sidenav [mode]=\"mobile ? 'over' : 'side'\"\n *ngIf=\"mode !== 'dialog'\"\n [opened]=\"!mobile\" #sidenav>\n <mcl-menu></mcl-menu>\n </mat-sidenav>\n <mat-sidenav-content>\n <div class=\"content\">\n <nav mat-tab-nav-bar *ngIf=\"hasTabs && mode !== 'dialog'\"\n [color]=\"'accent'\">\n <a mat-tab-link\n *ngFor=\"let tab of tabs\"\n [routerLink]=\"tab.route\"\n queryParamsHandling=\"preserve\"\n [active]=\"!tab.route\"\n >\n {{tab.label}}\n <span class=\"badge\" *ngIf=\"badges[tab.label]\">{{badges[tab.label]}}</span>\n </a>\n </nav>\n\n <router-outlet></router-outlet>\n </div>\n </mat-sidenav-content>\n</mat-sidenav-container>\n\n<mcl-footer *ngIf=\"mode !== 'dialog'\"></mcl-footer>\n", styles: [":host{display:flex;flex-direction:column;min-height:100%}:host mat-sidenav-container{background-color:transparent;flex:1 1 auto}:host mat-sidenav-container *.dialog{top:0;bottom:0}:host mat-sidenav-container mat-sidenav{width:250px;background-color:#fff;display:flex;border:none;border-top-right-radius:8px;margin-top:25px;transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}:host mat-sidenav-container.dialog mat-sidenav-content{margin-left:0;padding-right:30px}:host mat-sidenav-container mat-sidenav-content{display:flex;flex-direction:column;padding-left:30px;padding-top:25px}:host mat-sidenav-container mat-sidenav-content .content{flex:1 1 auto}:host mat-sidenav-container mat-sidenav-content .content [mat-tab-nav-bar]{margin-bottom:20px;border-bottom:0;border-top-left-radius:8px;border-bottom-left-radius:8px;background:#fff}:host mat-sidenav-container mat-sidenav-content .content [mat-tab-nav-bar] [mat-tab-link]{text-transform:uppercase;color:#00000080;min-width:100px;height:60px}:host mat-sidenav-container mat-sidenav-content .content [mat-tab-nav-bar] [mat-tab-link].mat-tab-label-active{color:#000c;font-weight:700}:host mat-sidenav-container mat-sidenav-content .content .inner-content{padding:20px}:host mcl-header{height:80px;animation:.2s}:host mcl-footer{height:40px;animation:.2s}@media (max-width: 600px){mat-sidenav-container mat-sidenav-content{margin-left:0}}\n"], dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i6$1.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i6$1.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i6$1.MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "component", type: i7$1.MatTabNav, selector: "[mat-tab-nav-bar]", inputs: ["color", "fitInkBarToContent", "mat-stretch-tabs"], exportAs: ["matTabNavBar", "matTabNav"] }, { kind: "component", type: i7$1.MatTabLink, selector: "[mat-tab-link], [matTabLink]", inputs: ["disabled", "disableRipple", "tabIndex", "active", "id"], exportAs: ["matTabLink"] }, { kind: "component", type: MenuComponent, selector: "mcl-menu" }, { kind: "component", type: HeaderComponent, selector: "mcl-header" }, { kind: "component", type: FooterComponent, selector: "mcl-footer" }] });
|
|
273
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BaseComponent, decorators: [{
|
|
274
|
-
type: Component,
|
|
275
|
-
args: [{ selector: 'mcl-base', template: "<mcl-header *ngIf=\"mode !== 'dialog'\"></mcl-header>\n\n<mat-sidenav-container [ngClass]=\"{'dialog': mode === 'dialog'}\">\n <mat-sidenav [mode]=\"mobile ? 'over' : 'side'\"\n *ngIf=\"mode !== 'dialog'\"\n [opened]=\"!mobile\" #sidenav>\n <mcl-menu></mcl-menu>\n </mat-sidenav>\n <mat-sidenav-content>\n <div class=\"content\">\n <nav mat-tab-nav-bar *ngIf=\"hasTabs && mode !== 'dialog'\"\n [color]=\"'accent'\">\n <a mat-tab-link\n *ngFor=\"let tab of tabs\"\n [routerLink]=\"tab.route\"\n queryParamsHandling=\"preserve\"\n [active]=\"!tab.route\"\n >\n {{tab.label}}\n <span class=\"badge\" *ngIf=\"badges[tab.label]\">{{badges[tab.label]}}</span>\n </a>\n </nav>\n\n <router-outlet></router-outlet>\n </div>\n </mat-sidenav-content>\n</mat-sidenav-container>\n\n<mcl-footer *ngIf=\"mode !== 'dialog'\"></mcl-footer>\n", styles: [":host{display:flex;flex-direction:column;min-height:100%}:host mat-sidenav-container{background-color:transparent;flex:1 1 auto}:host mat-sidenav-container *.dialog{top:0;bottom:0}:host mat-sidenav-container mat-sidenav{width:250px;background-color:#fff;display:flex;border:none;border-top-right-radius:8px;margin-top:25px;transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}:host mat-sidenav-container.dialog mat-sidenav-content{margin-left:0;padding-right:30px}:host mat-sidenav-container mat-sidenav-content{display:flex;flex-direction:column;padding-left:30px;padding-top:25px}:host mat-sidenav-container mat-sidenav-content .content{flex:1 1 auto}:host mat-sidenav-container mat-sidenav-content .content [mat-tab-nav-bar]{margin-bottom:20px;border-bottom:0;border-top-left-radius:8px;border-bottom-left-radius:8px;background:#fff}:host mat-sidenav-container mat-sidenav-content .content [mat-tab-nav-bar] [mat-tab-link]{text-transform:uppercase;color:#00000080;min-width:100px;height:60px}:host mat-sidenav-container mat-sidenav-content .content [mat-tab-nav-bar] [mat-tab-link].mat-tab-label-active{color:#000c;font-weight:700}:host mat-sidenav-container mat-sidenav-content .content .inner-content{padding:20px}:host mcl-header{height:80px;animation:.2s}:host mcl-footer{height:40px;animation:.2s}@media (max-width: 600px){mat-sidenav-container mat-sidenav-content{margin-left:0}}\n"] }]
|
|
276
|
-
}], ctorParameters: function () { return [{ type: i1.Router }, { type: i0.Injector }, { type: i1.ActivatedRoute }, { type: i3.MobileService }, { type: MenuService }, { type: BaseService }, { type: i0.ApplicationRef }]; }, propDecorators: { sidenav: [{
|
|
277
|
-
type: ViewChild,
|
|
278
|
-
args: ['sidenav']
|
|
279
|
-
}] } });
|
|
280
|
-
|
|
281
|
-
class AcessoComponent {
|
|
282
|
-
constructor(activatedRoute) {
|
|
283
|
-
this.activatedRoute = activatedRoute;
|
|
284
|
-
}
|
|
285
|
-
get logo() {
|
|
286
|
-
return this.activatedRoute.snapshot.data.logo;
|
|
287
|
-
}
|
|
288
|
-
ngOnInit() {
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
AcessoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AcessoComponent, deps: [{ token: i1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
292
|
-
AcessoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: AcessoComponent, selector: "mcl-acesso", ngImport: i0, template: "<div class=\"form\">\n <div class=\"logo\">\n <img *ngIf=\"!!logo\" [src]=\"logo\" />\n <ng-content select=\"logo\"></ng-content>\n </div>\n\n <router-outlet></router-outlet>\n</div>\n", styles: [":host{position:absolute;inset:0;width:100%;height:100%;min-width:520px;min-height:700px;background-color:#f9f9f9;display:flex;justify-content:center;align-content:center;align-items:center}.form{padding:56px 48px 36px;width:301px;box-shadow:0 4px 4px #8fa4ad;border-radius:20px;text-align:center;font-size:16px;background-color:#fff}.form img{margin:-10% auto 0;width:90%}.form::ng-deep h2{width:100%;text-align:center;font-weight:400;font-size:22px;line-height:42px;margin:4px 0 36px}.form::ng-deep button{text-transform:uppercase}.form::ng-deep button[mat-flat-button]{margin-top:28px;height:40px;line-height:40px;width:100%;border-radius:30px;margin-bottom:16px}@media (max-width: 750px){.form{margin-top:280px}}\n"], dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AcessoComponent, decorators: [{
|
|
294
|
-
type: Component,
|
|
295
|
-
args: [{ selector: 'mcl-acesso', template: "<div class=\"form\">\n <div class=\"logo\">\n <img *ngIf=\"!!logo\" [src]=\"logo\" />\n <ng-content select=\"logo\"></ng-content>\n </div>\n\n <router-outlet></router-outlet>\n</div>\n", styles: [":host{position:absolute;inset:0;width:100%;height:100%;min-width:520px;min-height:700px;background-color:#f9f9f9;display:flex;justify-content:center;align-content:center;align-items:center}.form{padding:56px 48px 36px;width:301px;box-shadow:0 4px 4px #8fa4ad;border-radius:20px;text-align:center;font-size:16px;background-color:#fff}.form img{margin:-10% auto 0;width:90%}.form::ng-deep h2{width:100%;text-align:center;font-weight:400;font-size:22px;line-height:42px;margin:4px 0 36px}.form::ng-deep button{text-transform:uppercase}.form::ng-deep button[mat-flat-button]{margin-top:28px;height:40px;line-height:40px;width:100%;border-radius:30px;margin-bottom:16px}@media (max-width: 750px){.form{margin-top:280px}}\n"] }]
|
|
296
|
-
}], ctorParameters: function () { return [{ type: i1.ActivatedRoute }]; } });
|
|
297
|
-
|
|
298
|
-
class TemplateModule {
|
|
299
|
-
static forRoot() {
|
|
300
|
-
return {
|
|
301
|
-
ngModule: TemplateModule,
|
|
302
|
-
providers: [
|
|
303
|
-
MenuService,
|
|
304
|
-
BaseService,
|
|
305
|
-
]
|
|
306
|
-
};
|
|
307
|
-
}
|
|
308
|
-
static forCrud(config) {
|
|
309
|
-
return RouterModule.forChild([
|
|
310
|
-
{
|
|
311
|
-
path: '',
|
|
312
|
-
data: {
|
|
313
|
-
tabs: [
|
|
314
|
-
{
|
|
315
|
-
label: config.consultaLabel || 'Consulta',
|
|
316
|
-
route: `${config.routeBase}`
|
|
317
|
-
},
|
|
318
|
-
{
|
|
319
|
-
label: config.cadastroLabel || 'Cadastro',
|
|
320
|
-
route: `${config.routeBase}/${config.cadastroPath || 'cadastro'}`
|
|
321
|
-
}
|
|
322
|
-
]
|
|
323
|
-
},
|
|
324
|
-
children: [
|
|
325
|
-
{
|
|
326
|
-
path: '',
|
|
327
|
-
component: config.consultaComponent,
|
|
328
|
-
data: Object.assign(Object.assign({}, (config.consultaExtraData || {})), { tabs: [
|
|
329
|
-
{
|
|
330
|
-
label: config.consultaLabel || 'Consulta',
|
|
331
|
-
},
|
|
332
|
-
] }),
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
path: config.cadastroPath || 'cadastro',
|
|
336
|
-
component: config.cadastroComponent || config.edicaoComponent,
|
|
337
|
-
data: Object.assign(Object.assign({}, (config.cadastroExtraData || {})), { tabs: [
|
|
338
|
-
{
|
|
339
|
-
label: config.cadastroLabel || 'Cadastro',
|
|
340
|
-
}
|
|
341
|
-
] })
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
path: ':id',
|
|
345
|
-
component: config.edicaoComponent,
|
|
346
|
-
data: Object.assign(Object.assign({}, (config.edicaoExtraData || {})), { tabs: [
|
|
347
|
-
{
|
|
348
|
-
label: config.edicaoLabel || 'Edição'
|
|
349
|
-
}
|
|
350
|
-
] })
|
|
351
|
-
},
|
|
352
|
-
...(config.extraRoutes || [])
|
|
353
|
-
]
|
|
354
|
-
}
|
|
355
|
-
]);
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
TemplateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TemplateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
359
|
-
TemplateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TemplateModule, declarations: [BaseComponent, MenuComponent, HeaderComponent, FooterComponent, AcessoComponent], imports: [CommonModule,
|
|
360
|
-
RouterModule,
|
|
361
|
-
MatSidenavModule,
|
|
362
|
-
MatButtonModule,
|
|
363
|
-
MatIconModule,
|
|
364
|
-
MatBadgeModule,
|
|
365
|
-
MatTabsModule,
|
|
366
|
-
MatMenuModule,
|
|
367
|
-
MatDividerModule,
|
|
368
|
-
MatChipsModule,
|
|
369
|
-
MatTooltipModule,
|
|
370
|
-
TranslateModule], exports: [BaseComponent, AcessoComponent] });
|
|
371
|
-
TemplateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TemplateModule, imports: [CommonModule,
|
|
372
|
-
RouterModule,
|
|
373
|
-
MatSidenavModule,
|
|
374
|
-
MatButtonModule,
|
|
375
|
-
MatIconModule,
|
|
376
|
-
MatBadgeModule,
|
|
377
|
-
MatTabsModule,
|
|
378
|
-
MatMenuModule,
|
|
379
|
-
MatDividerModule,
|
|
380
|
-
MatChipsModule,
|
|
381
|
-
MatTooltipModule,
|
|
382
|
-
TranslateModule] });
|
|
383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TemplateModule, decorators: [{
|
|
384
|
-
type: NgModule,
|
|
385
|
-
args: [{
|
|
386
|
-
declarations: [BaseComponent, MenuComponent, HeaderComponent, FooterComponent, AcessoComponent],
|
|
387
|
-
exports: [BaseComponent, AcessoComponent],
|
|
388
|
-
imports: [
|
|
389
|
-
CommonModule,
|
|
390
|
-
RouterModule,
|
|
391
|
-
MatSidenavModule,
|
|
392
|
-
MatButtonModule,
|
|
393
|
-
MatIconModule,
|
|
394
|
-
MatBadgeModule,
|
|
395
|
-
MatTabsModule,
|
|
396
|
-
MatMenuModule,
|
|
397
|
-
MatDividerModule,
|
|
398
|
-
MatChipsModule,
|
|
399
|
-
MatTooltipModule,
|
|
400
|
-
TranslateModule,
|
|
401
|
-
],
|
|
402
|
-
}]
|
|
403
|
-
}] });
|
|
404
|
-
|
|
405
|
-
/*
|
|
406
|
-
* Public API Surface of template
|
|
407
|
-
*/
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* Generated bundle index. Do not edit.
|
|
411
|
-
*/
|
|
412
|
-
|
|
413
|
-
export { AcessoComponent, BaseComponent, BaseService, FooterComponent, HeaderComponent, MENU_PROVIDER, MenuComponent, MenuService, TemplateModule };
|
|
414
|
-
//# sourceMappingURL=main-class-template.mjs.map
|