@koalarx/ui 14.0.7 → 15.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/alert/esm2020/lib/dialog-alert.component.mjs +6 -6
- package/alert/esm2020/lib/koala.alert.module.mjs +7 -7
- package/alert/esm2020/lib/koala.alert.service.mjs +4 -4
- package/alert/fesm2015/koalarx-ui-alert.mjs +11 -11
- package/alert/fesm2015/koalarx-ui-alert.mjs.map +1 -1
- package/alert/fesm2020/koalarx-ui-alert.mjs +11 -11
- package/alert/fesm2020/koalarx-ui-alert.mjs.map +1 -1
- package/alert/lib/dialog-alert.component.d.ts +1 -1
- package/button/esm2020/lib/button.component.mjs +4 -4
- package/button/esm2020/lib/koala.button.module.mjs +7 -7
- package/button/fesm2015/koalarx-ui-button.mjs +7 -7
- package/button/fesm2015/koalarx-ui-button.mjs.map +1 -1
- package/button/fesm2020/koalarx-ui-button.mjs +7 -7
- package/button/fesm2020/koalarx-ui-button.mjs.map +1 -1
- package/button/lib/button.component.d.ts +1 -1
- package/common/esm2020/lib/services/csv/koala.csv.service.mjs +4 -4
- package/common/esm2020/lib/services/xlsx/koala.xlsx.service.mjs +4 -4
- package/common/fesm2015/koalarx-ui-common.mjs +6 -6
- package/common/fesm2015/koalarx-ui-common.mjs.map +1 -1
- package/common/fesm2020/koalarx-ui-common.mjs +6 -6
- package/common/fesm2020/koalarx-ui-common.mjs.map +1 -1
- package/common/lib/services/csv/koala.csv.service.d.ts +1 -1
- package/core/esm2020/lib/loader/loader-bar-page.component.mjs +4 -4
- package/core/esm2020/lib/ngx-koala.module.mjs +5 -5
- package/core/esm2020/lib/page/koala.page.module.mjs +10 -10
- package/core/esm2020/lib/page/notifications/notification.component.mjs +5 -6
- package/core/esm2020/lib/page/page.component.mjs +58 -46
- package/core/esm2020/lib/router/koala.parameter-hash-location-stategy.mjs +4 -4
- package/core/esm2020/lib/services/api-requester/koala.api-requester.service.mjs +5 -5
- package/core/esm2020/lib/services/loader/koala.loader.service.mjs +4 -4
- package/core/esm2020/lib/services/openid/koala.oauth2.service.mjs +4 -4
- package/core/esm2020/lib/services/request/koala.request.service.mjs +4 -4
- package/core/esm2020/lib/services/token/koala.token.service.mjs +4 -4
- package/core/fesm2015/koalarx-ui-core.mjs +94 -83
- package/core/fesm2015/koalarx-ui-core.mjs.map +1 -1
- package/core/fesm2020/koalarx-ui-core.mjs +94 -83
- package/core/fesm2020/koalarx-ui-core.mjs.map +1 -1
- package/core/lib/loader/loader-bar-page.component.d.ts +2 -2
- package/core/lib/page/notifications/notification.component.d.ts +1 -1
- package/core/lib/page/page.component.d.ts +1 -1
- package/core/theme/koala.theme.css +58 -48
- package/dialog/esm2020/lib/dialog.component.mjs +4 -4
- package/dialog/esm2020/lib/koala.dialog-template.interface.mjs +1 -1
- package/dialog/esm2020/lib/koala.dialog.module.mjs +7 -7
- package/dialog/esm2020/lib/koala.dialog.service.mjs +4 -4
- package/dialog/fesm2015/koalarx-ui-dialog.mjs +10 -10
- package/dialog/fesm2015/koalarx-ui-dialog.mjs.map +1 -1
- package/dialog/fesm2020/koalarx-ui-dialog.mjs +10 -10
- package/dialog/fesm2020/koalarx-ui-dialog.mjs.map +1 -1
- package/dialog/lib/dialog.component.d.ts +1 -1
- package/dialog/lib/koala.dialog-template.interface.d.ts +1 -1
- package/dialog/lib/koala.dialog.service.d.ts +1 -1
- package/dynamic-component/esm2020/lib/koala-dynamic-component.directive.mjs +4 -4
- package/dynamic-component/esm2020/lib/koala-dynamic-component.factory.mjs +4 -4
- package/dynamic-component/esm2020/lib/koala-dynamic-component.module.mjs +5 -5
- package/dynamic-component/fesm2015/koalarx-ui-dynamic-component.mjs +10 -10
- package/dynamic-component/fesm2015/koalarx-ui-dynamic-component.mjs.map +1 -1
- package/dynamic-component/fesm2020/koalarx-ui-dynamic-component.mjs +10 -10
- package/dynamic-component/fesm2020/koalarx-ui-dynamic-component.mjs.map +1 -1
- package/dynamic-component/lib/koala-dynamic-component.directive.d.ts +1 -1
- package/dynamic-component/lib/koala-dynamic-component.factory.d.ts +1 -1
- package/file-button/esm2020/lib/file-button.component.mjs +4 -4
- package/file-button/esm2020/lib/koala.btn-file.service.mjs +4 -4
- package/file-button/esm2020/lib/koala.file-button.module.mjs +7 -7
- package/file-button/fesm2015/koalarx-ui-file-button.mjs +10 -10
- package/file-button/fesm2015/koalarx-ui-file-button.mjs.map +1 -1
- package/file-button/fesm2020/koalarx-ui-file-button.mjs +10 -10
- package/file-button/fesm2020/koalarx-ui-file-button.mjs.map +1 -1
- package/file-button/lib/file-button.component.d.ts +1 -1
- package/folder-page/esm2020/lib/folder.component.mjs +4 -4
- package/folder-page/esm2020/lib/koala.folder-page.module.mjs +6 -6
- package/folder-page/fesm2015/koalarx-ui-folder-page.mjs +7 -7
- package/folder-page/fesm2015/koalarx-ui-folder-page.mjs.map +1 -1
- package/folder-page/fesm2020/koalarx-ui-folder-page.mjs +7 -7
- package/folder-page/fesm2020/koalarx-ui-folder-page.mjs.map +1 -1
- package/folder-page/lib/folder.component.d.ts +1 -1
- package/form/esm2020/lib/btn-submit/btn-submit.component.mjs +4 -4
- package/form/esm2020/lib/directives/koala-autofocus.directive.mjs +4 -4
- package/form/esm2020/lib/dynamic-form/builder/dynamic-form.builder.mjs +2 -2
- package/form/esm2020/lib/dynamic-form/builder/fields/field.base.mjs +2 -2
- package/form/esm2020/lib/dynamic-form/builder/fields/field.builder.mjs +1 -1
- package/form/esm2020/lib/dynamic-form/builder/fields/more-items.builder.mjs +2 -2
- package/form/esm2020/lib/dynamic-form/dynamic-form.component.mjs +9 -9
- package/form/esm2020/lib/dynamic-form/interfaces/koala.dynamic-form-field.interface.mjs +1 -1
- package/form/esm2020/lib/dynamic-form/koala.dynamic-form.service.mjs +4 -4
- package/form/esm2020/lib/koala.form.module.mjs +25 -21
- package/form/fesm2015/koalarx-ui-form.mjs +34 -29
- package/form/fesm2015/koalarx-ui-form.mjs.map +1 -1
- package/form/fesm2020/koalarx-ui-form.mjs +34 -29
- package/form/fesm2020/koalarx-ui-form.mjs.map +1 -1
- package/form/lib/btn-submit/btn-submit.component.d.ts +1 -1
- package/form/lib/directives/koala-autofocus.directive.d.ts +1 -1
- package/form/lib/dynamic-form/builder/dynamic-form.builder.d.ts +2 -2
- package/form/lib/dynamic-form/builder/fields/field.base.d.ts +4 -4
- package/form/lib/dynamic-form/builder/fields/field.builder.d.ts +2 -2
- package/form/lib/dynamic-form/builder/fields/more-items.builder.d.ts +1 -1
- package/form/lib/dynamic-form/dynamic-form.component.d.ts +1 -1
- package/form/lib/dynamic-form/interfaces/koala.dynamic-form-field.interface.d.ts +1 -1
- package/form/lib/koala.form.module.d.ts +4 -4
- package/icon/esm2020/lib/icon.component.mjs +4 -4
- package/icon/esm2020/lib/koala.icon.module.mjs +5 -5
- package/icon/fesm2015/koalarx-ui-icon.mjs +7 -7
- package/icon/fesm2015/koalarx-ui-icon.mjs.map +1 -1
- package/icon/fesm2020/koalarx-ui-icon.mjs +7 -7
- package/icon/fesm2020/koalarx-ui-icon.mjs.map +1 -1
- package/icon/lib/icon.component.d.ts +1 -1
- package/icons-animated/esm2020/lib/icons/downloading/downloading-icon-animated.component.mjs +4 -4
- package/icons-animated/esm2020/lib/icons/loading/loading-icon-animated.component.mjs +4 -4
- package/icons-animated/esm2020/lib/icons-animated.component.mjs +4 -4
- package/icons-animated/esm2020/lib/icons-animated.service.mjs +4 -4
- package/icons-animated/esm2020/lib/koala-icons-animated.module.mjs +5 -5
- package/icons-animated/fesm2015/koalarx-ui-icons-animated.mjs +16 -16
- package/icons-animated/fesm2015/koalarx-ui-icons-animated.mjs.map +1 -1
- package/icons-animated/fesm2020/koalarx-ui-icons-animated.mjs +16 -16
- package/icons-animated/fesm2020/koalarx-ui-icons-animated.mjs.map +1 -1
- package/icons-animated/lib/icons/downloading/downloading-icon-animated.component.d.ts +1 -1
- package/icons-animated/lib/icons/loading/loading-icon-animated.component.d.ts +1 -1
- package/icons-animated/lib/icons-animated.component.d.ts +1 -1
- package/list/esm2020/lib/koala.list.module.mjs +9 -9
- package/list/esm2020/lib/koala.list.service.mjs +4 -4
- package/list/esm2020/lib/list.abstract.mjs +9 -2
- package/list/esm2020/lib/list.component.mjs +6 -6
- package/list/esm2020/lib/providers/pagination/pagination.provider.mjs +5 -5
- package/list/fesm2015/koalarx-ui-list.mjs +26 -20
- package/list/fesm2015/koalarx-ui-list.mjs.map +1 -1
- package/list/fesm2020/koalarx-ui-list.mjs +26 -20
- package/list/fesm2020/koalarx-ui-list.mjs.map +1 -1
- package/list/lib/list.abstract.d.ts +6 -3
- package/list/lib/list.component.d.ts +2 -2
- package/list/lib/providers/pagination/pagination.provider.d.ts +1 -1
- package/menu/esm2020/lib/koala.menu.module.mjs +5 -5
- package/menu/esm2020/lib/koala.menu.service.mjs +4 -4
- package/menu/esm2020/lib/menu.component.mjs +4 -4
- package/menu/fesm2015/koalarx-ui-menu.mjs +10 -10
- package/menu/fesm2015/koalarx-ui-menu.mjs.map +1 -1
- package/menu/fesm2020/koalarx-ui-menu.mjs +10 -10
- package/menu/fesm2020/koalarx-ui-menu.mjs.map +1 -1
- package/menu/lib/menu.component.d.ts +1 -1
- package/package.json +6 -8
- package/question/esm2020/lib/dialog-question.component.mjs +5 -5
- package/question/esm2020/lib/koala.question.module.mjs +7 -7
- package/question/esm2020/lib/koala.question.service.mjs +4 -4
- package/question/fesm2015/koalarx-ui-question.mjs +11 -11
- package/question/fesm2015/koalarx-ui-question.mjs.map +1 -1
- package/question/fesm2020/koalarx-ui-question.mjs +11 -11
- package/question/fesm2020/koalarx-ui-question.mjs.map +1 -1
- package/question/lib/dialog-question.component.d.ts +1 -1
- package/snackbar/esm2020/lib/koala.snackbar.component.mjs +7 -7
- package/snackbar/esm2020/lib/koala.snackbar.module.mjs +6 -6
- package/snackbar/esm2020/lib/koala.snackbar.service.mjs +4 -4
- package/snackbar/fesm2015/koalarx-ui-snackbar.mjs +17 -15
- package/snackbar/fesm2015/koalarx-ui-snackbar.mjs.map +1 -1
- package/snackbar/fesm2020/koalarx-ui-snackbar.mjs +17 -15
- package/snackbar/fesm2020/koalarx-ui-snackbar.mjs.map +1 -1
- package/snackbar/lib/koala.snackbar.component.d.ts +2 -2
|
@@ -8,16 +8,15 @@ import * as i2$1 from '@angular/router';
|
|
|
8
8
|
import { NavigationError, NavigationEnd, NavigationCancel, NavigationStart, RouterModule } from '@angular/router';
|
|
9
9
|
import * as i3 from '@angular/material/tooltip';
|
|
10
10
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i11 from '@angular/material/button';
|
|
12
12
|
import { MatButtonModule } from '@angular/material/button';
|
|
13
13
|
import * as i5 from '@angular/material/icon';
|
|
14
14
|
import { MatIconModule } from '@angular/material/icon';
|
|
15
15
|
import * as i6 from '@angular/material/list';
|
|
16
16
|
import { MatListModule } from '@angular/material/list';
|
|
17
|
-
import * as i7 from '@angular/material/core';
|
|
18
17
|
import { BehaviorSubject, interval, Observable, skipWhile } from 'rxjs';
|
|
19
18
|
import jwt from 'jwt-decode';
|
|
20
|
-
import * as i4
|
|
19
|
+
import * as i4 from '@koalarx/ui/menu';
|
|
21
20
|
import { menuStateSubject } from '@koalarx/ui/menu';
|
|
22
21
|
import jwtEncode from 'jwt-encode';
|
|
23
22
|
import { koala } from '@koalarx/utils';
|
|
@@ -48,9 +47,9 @@ class LoaderBarPageComponent {
|
|
|
48
47
|
this.typeLoader = 'indeterminate';
|
|
49
48
|
}
|
|
50
49
|
}
|
|
51
|
-
LoaderBarPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
LoaderBarPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
LoaderBarPageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LoaderBarPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
+
LoaderBarPageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: LoaderBarPageComponent, selector: "app-loader-page", inputs: { show: "show", progress: "progress", typeLoader: "typeLoader" }, ngImport: i0, template: "<div [ngClass]=\"{'bouncedInDown d-block': show}\" class=\"animated loader-bar-page\">\n <mat-progress-bar\n [bufferValue]=\"progress\"\n [mode]=\"typeLoader\"\n [value]=\"progress\"\n color=\"primary\">\n </mat-progress-bar>\n</div>\n", styles: [".loader-bar-page{position:absolute;display:none;top:0;left:0;width:100vw;height:100vh;z-index:100000}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LoaderBarPageComponent, decorators: [{
|
|
54
53
|
type: Component,
|
|
55
54
|
args: [{ selector: 'app-loader-page', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"{'bouncedInDown d-block': show}\" class=\"animated loader-bar-page\">\n <mat-progress-bar\n [bufferValue]=\"progress\"\n [mode]=\"typeLoader\"\n [value]=\"progress\"\n color=\"primary\">\n </mat-progress-bar>\n</div>\n", styles: [".loader-bar-page{position:absolute;display:none;top:0;left:0;width:100vw;height:100vh;z-index:100000}\n"] }]
|
|
56
55
|
}], propDecorators: { show: [{
|
|
@@ -82,11 +81,11 @@ class NotificationComponent {
|
|
|
82
81
|
this.delete.emit(notification);
|
|
83
82
|
}
|
|
84
83
|
}
|
|
85
|
-
NotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
86
|
-
NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
84
|
+
NotificationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
85
|
+
NotificationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: NotificationComponent, selector: "koala-notification-list", inputs: { notifications: "notifications" }, outputs: { deleteAll: "deleteAll", delete: "delete" }, usesOnChanges: true, ngImport: i0, template: "<div (click)=\"$event.stopPropagation()\" class=\"notifications-content\">\n <div class=\"title\">\n <mat-icon>info</mat-icon>\n <h2>Notifica\u00E7\u00F5es</h2>\n <span class=\"spacer\"></span>\n <button (click)=\"deleteAllNotifications()\" *ngIf=\"notifications.length > 0\" class=\"btn-delete-all\"\n mat-icon-button\n matTooltip=\"Excluir Todas\" matTooltipPosition=\"above\">\n <mat-icon>delete_sweep</mat-icon>\n </button>\n </div>\n <mat-action-list *ngIf=\"notifications.length > 0 else noNotifications\">\n <mat-list-item *ngFor=\"let notification of notifications\" [routerLink]=\"notification.redirectTo\" class=\"itemList\">\n <button (click)=\"deleteNotification(notification)\" class=\"delete-notification\" color=\"warn\" mat-icon-button\n matTooltip=\"Excluir\" matTooltipPosition=\"above\"\n mat-list-icon>\n <mat-icon>delete</mat-icon>\n </button>\n <mat-icon class=\"iconList\" mat-list-icon>announcement</mat-icon>\n <h4 class=\"titleList\" mat-line>{{notification.title}}</h4>\n <p [innerHTML]=\"notification.text\" class=\"textList\" mat-line></p>\n </mat-list-item>\n </mat-action-list>\n <ng-template #noNotifications>\n <div class=\"empty\">\n <mat-icon>mood</mat-icon>\n <p>Tudo certo por aqui!</p>\n </div>\n </ng-template>\n</div>\n", styles: [".title{color:#616161;padding:5px 20px 15px}.title h2{vertical-align:middle;display:inline-flex;padding:0 10px;margin:0;font-family:OpenSans,sans-serif;font-size:.8em}.title mat-icon{vertical-align:middle;display:inline-flex;width:22px;height:22px;font-size:22px;line-height:22px}.title .btn-delete-all{position:absolute;right:20px;top:5px}.iconList{color:#1976d2}.titleList{font-family:OpenSansLight,sans-serif;font-size:.7em!important;color:#616161}.textList{font-family:OpenSans,sans-serif;font-size:.9em!important;color:#212121;white-space:unset!important}.itemList{height:-moz-fit-content!important;height:fit-content!important;padding:8px 0!important}.delete-notification{background:#b71c1c;border-radius:0!important;height:100%!important;margin-left:-75px;margin-right:10px;position:absolute;transition:.3s;width:50px!important}.delete-notification mat-icon{color:#fff;vertical-align:middle}mat-action-list{max-height:70vh;overflow-y:auto}mat-list-item:hover .delete-notification{margin-left:-15px}.empty{padding:50px;text-align:center;color:#616161}.empty mat-icon{width:40px;height:40px;font-size:40px;line-height:40px}.empty p{text-align:center;font-family:OpenSansLight,sans-serif;font-size:1em}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i11.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i6.MatActionList, selector: "mat-action-list", exportAs: ["matActionList"] }, { kind: "component", type: i6.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NotificationComponent, decorators: [{
|
|
88
87
|
type: Component,
|
|
89
|
-
args: [{ selector: 'koala-notification-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div (click)=\"$event.stopPropagation()\" class=\"notifications-content\">\n <div class=\"title\">\n <mat-icon>info</mat-icon>\n <h2>Notifica\u00E7\u00F5es</h2>\n <span class=\"spacer\"></span>\n <button (click)=\"deleteAllNotifications()\" *ngIf=\"notifications.length > 0\" class=\"btn-delete-all\"\n mat-icon-button\n matTooltip=\"Excluir Todas\" matTooltipPosition=\"above\">\n <mat-icon>delete_sweep</mat-icon>\n </button>\n </div>\n <mat-action-list *ngIf=\"notifications.length > 0 else noNotifications\">\n <mat-list-item *ngFor=\"let notification of notifications\" [routerLink]=\"notification.redirectTo\" class=\"itemList\">\n <button (click)=\"deleteNotification(notification)\" class=\"delete-notification\" color=\"warn\" mat-icon-button\n matTooltip=\"Excluir\" matTooltipPosition=\"above\"\n mat-list-icon>\n <mat-icon>delete</mat-icon>\n </button>\n <mat-icon class=\"iconList\" mat-list-icon>announcement</mat-icon>\n <h4 class=\"titleList\" mat-line>{{notification.title}}</h4>\n <p [innerHTML]=\"notification.text\" class=\"textList\" mat-line></p>\n </mat-list-item>\n </mat-action-list>\n <ng-template #noNotifications>\n <div class=\"empty\">\n <mat-icon>mood</mat-icon>\n <p>Tudo certo por aqui!</p>\n </div>\n </ng-template>\n</div>\n", styles: [".title{color:#616161;padding:5px 20px 15px}.title h2{vertical-align:middle;display:inline-flex;padding:0 10px;margin:0;font-family:OpenSans,sans-serif;font-size:.8em}.title mat-icon{vertical-align:middle;display:inline-flex;width:22px;height:22px;font-size:22px;line-height:22px}.title .btn-delete-all{position:absolute;right:20px;top:5px}.iconList{color:#1976d2}.titleList{font-family:OpenSansLight,sans-serif;font-size:.7em!important;color:#616161}.textList{font-family:OpenSans,sans-serif;font-size:.9em!important;color:#212121;white-space:
|
|
88
|
+
args: [{ selector: 'koala-notification-list', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div (click)=\"$event.stopPropagation()\" class=\"notifications-content\">\n <div class=\"title\">\n <mat-icon>info</mat-icon>\n <h2>Notifica\u00E7\u00F5es</h2>\n <span class=\"spacer\"></span>\n <button (click)=\"deleteAllNotifications()\" *ngIf=\"notifications.length > 0\" class=\"btn-delete-all\"\n mat-icon-button\n matTooltip=\"Excluir Todas\" matTooltipPosition=\"above\">\n <mat-icon>delete_sweep</mat-icon>\n </button>\n </div>\n <mat-action-list *ngIf=\"notifications.length > 0 else noNotifications\">\n <mat-list-item *ngFor=\"let notification of notifications\" [routerLink]=\"notification.redirectTo\" class=\"itemList\">\n <button (click)=\"deleteNotification(notification)\" class=\"delete-notification\" color=\"warn\" mat-icon-button\n matTooltip=\"Excluir\" matTooltipPosition=\"above\"\n mat-list-icon>\n <mat-icon>delete</mat-icon>\n </button>\n <mat-icon class=\"iconList\" mat-list-icon>announcement</mat-icon>\n <h4 class=\"titleList\" mat-line>{{notification.title}}</h4>\n <p [innerHTML]=\"notification.text\" class=\"textList\" mat-line></p>\n </mat-list-item>\n </mat-action-list>\n <ng-template #noNotifications>\n <div class=\"empty\">\n <mat-icon>mood</mat-icon>\n <p>Tudo certo por aqui!</p>\n </div>\n </ng-template>\n</div>\n", styles: [".title{color:#616161;padding:5px 20px 15px}.title h2{vertical-align:middle;display:inline-flex;padding:0 10px;margin:0;font-family:OpenSans,sans-serif;font-size:.8em}.title mat-icon{vertical-align:middle;display:inline-flex;width:22px;height:22px;font-size:22px;line-height:22px}.title .btn-delete-all{position:absolute;right:20px;top:5px}.iconList{color:#1976d2}.titleList{font-family:OpenSansLight,sans-serif;font-size:.7em!important;color:#616161}.textList{font-family:OpenSans,sans-serif;font-size:.9em!important;color:#212121;white-space:unset!important}.itemList{height:-moz-fit-content!important;height:fit-content!important;padding:8px 0!important}.delete-notification{background:#b71c1c;border-radius:0!important;height:100%!important;margin-left:-75px;margin-right:10px;position:absolute;transition:.3s;width:50px!important}.delete-notification mat-icon{color:#fff;vertical-align:middle}mat-action-list{max-height:70vh;overflow-y:auto}mat-list-item:hover .delete-notification{margin-left:-15px}.empty{padding:50px;text-align:center;color:#616161}.empty mat-icon{width:40px;height:40px;font-size:40px;line-height:40px}.empty p{text-align:center;font-family:OpenSansLight,sans-serif;font-size:1em}\n"] }]
|
|
90
89
|
}], ctorParameters: function () { return []; }, propDecorators: { notifications: [{
|
|
91
90
|
type: Input
|
|
92
91
|
}], deleteAll: [{
|
|
@@ -298,9 +297,9 @@ class KoalaTokenService {
|
|
|
298
297
|
});
|
|
299
298
|
}
|
|
300
299
|
}
|
|
301
|
-
KoalaTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
302
|
-
KoalaTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
303
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
300
|
+
KoalaTokenService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaTokenService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
301
|
+
KoalaTokenService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaTokenService, providedIn: "any" });
|
|
302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaTokenService, decorators: [{
|
|
304
303
|
type: Injectable,
|
|
305
304
|
args: [{ providedIn: "any" }]
|
|
306
305
|
}], ctorParameters: function () { return []; } });
|
|
@@ -357,9 +356,9 @@ class KoalaLoaderService {
|
|
|
357
356
|
});
|
|
358
357
|
}
|
|
359
358
|
}
|
|
360
|
-
KoalaLoaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
361
|
-
KoalaLoaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
362
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
359
|
+
KoalaLoaderService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaLoaderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
360
|
+
KoalaLoaderService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaLoaderService, providedIn: "any" });
|
|
361
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaLoaderService, decorators: [{
|
|
363
362
|
type: Injectable,
|
|
364
363
|
args: [{ providedIn: "any" }]
|
|
365
364
|
}] });
|
|
@@ -536,9 +535,9 @@ class KoalaOAuth2Service {
|
|
|
536
535
|
});
|
|
537
536
|
}
|
|
538
537
|
}
|
|
539
|
-
KoalaOAuth2Service.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
540
|
-
KoalaOAuth2Service.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
538
|
+
KoalaOAuth2Service.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaOAuth2Service, deps: [{ token: i1$1.HttpClient }, { token: i2$1.Router }, { token: KoalaTokenService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
539
|
+
KoalaOAuth2Service.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaOAuth2Service });
|
|
540
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaOAuth2Service, decorators: [{
|
|
542
541
|
type: Injectable
|
|
543
542
|
}], ctorParameters: function () { return [{ type: i1$1.HttpClient }, { type: i2$1.Router }, { type: KoalaTokenService }]; } });
|
|
544
543
|
|
|
@@ -728,52 +727,64 @@ input:-webkit-autofill, input:-webkit-autofill:focus, input:-webkit-autofill:hov
|
|
|
728
727
|
.menu-container,
|
|
729
728
|
body {background: ${this.palletColors.bodyBackground}!important;}
|
|
730
729
|
input:-webkit-autofill, input:-webkit-autofill:focus, input:-webkit-autofill:hover {-webkit-box-shadow: 0 0 0 1000px ${this.palletColors.firstColor} inset !important;}
|
|
731
|
-
.mat-button-disabled,
|
|
730
|
+
.mat-mdc-button-disabled,
|
|
732
731
|
input::placeholder,
|
|
733
|
-
.mat-form-field-appearance-outline .mat-form-field-outline {color: ${this.palletColors.fontColor}!important;opacity: .6;}
|
|
734
|
-
.mat-hint,
|
|
732
|
+
.mat-mdc-form-field-appearance-outline .mat-mdc-form-field-outline {color: ${this.palletColors.fontColor}!important;opacity: .6;}
|
|
733
|
+
.mat-mdc-form-field-hint-wrapper,
|
|
735
734
|
.mat-expansion-indicator::after,
|
|
736
735
|
.more-items-content .items .titleForm,
|
|
737
736
|
fieldset legend,
|
|
738
|
-
.mat-paginator-container,
|
|
739
|
-
.mat-form-field-flex mat-icon
|
|
740
|
-
.mat-
|
|
741
|
-
|
|
737
|
+
.mat-mdc-paginator-container,
|
|
738
|
+
.mat-mdc-form-field-flex mat-icon,
|
|
739
|
+
.mat-mdc-menu-item .mdc-list-item__primary-text,
|
|
740
|
+
button:disabled,
|
|
741
|
+
.mat-mdc-paginator-range-actions button {color: ${this.palletColors.fontColor}!important;}
|
|
742
|
+
.mat-mdc-paginator-range-actions button svg {fill: ${this.palletColors.fontColor}!important;}
|
|
743
|
+
.mat-mdc-paginator-container,
|
|
744
|
+
.mat-mdc-card,
|
|
742
745
|
.mat-expansion-panel,
|
|
743
|
-
.mat-select-panel,
|
|
744
|
-
.mat-autocomplete-panel,
|
|
745
|
-
.mat-menu-panel {background: ${this.palletColors.firstColor}}
|
|
746
|
-
.mat-selected {background-color: rgba(0,0,0,.3)!important;}
|
|
746
|
+
.mat-mdc-select-panel,
|
|
747
|
+
.mat-mdc-autocomplete-panel,
|
|
748
|
+
.mat-mdc-menu-panel {background: ${this.palletColors.firstColor}}
|
|
749
|
+
.mat-mdc-selected {background-color: rgba(0,0,0,.3)!important;}
|
|
750
|
+
input:-webkit-autofill,
|
|
751
|
+
input:-webkit-autofill:focus,
|
|
752
|
+
input:-webkit-autofill:hover {-webkit-box-shadow: 0 0 0 1000px ${this.palletColors.fontColor} inset !important;}
|
|
753
|
+
.mat-mdc-progress-spinner circle {stroke: ${this.palletColors.fontColor};}
|
|
747
754
|
.question p,
|
|
748
755
|
.alert-message,
|
|
749
|
-
.mat-action-row,
|
|
750
|
-
.mat-option,
|
|
751
|
-
.mat-menu-item,
|
|
752
|
-
.mat-menu-item mat-icon {color: ${this.palletColors.fontColor}!important}
|
|
753
|
-
.
|
|
754
|
-
.mat-select-
|
|
755
|
-
.mat-
|
|
756
|
-
.mat-form-field
|
|
757
|
-
.mat-
|
|
758
|
-
.mat-form-field
|
|
756
|
+
.mat-mdc-action-row,
|
|
757
|
+
.mat-mdc-option .mdc-list-item__primary-text,
|
|
758
|
+
.mat-mdc-menu-item,
|
|
759
|
+
.mat-mdc-menu-item mat-icon {color: ${this.palletColors.fontColor}!important}
|
|
760
|
+
.mdc-notched-outline div {border-color: ${this.palletColors.fontColor}!important;}
|
|
761
|
+
.mat-mdc-select-value,
|
|
762
|
+
.mat-mdc-select-arrow,
|
|
763
|
+
.mat-mdc-form-field input,
|
|
764
|
+
.mat-mdc-form-field textarea,
|
|
765
|
+
.mat-mdc-form-field-appearance-outline:not(.mat-mdc-form-field-invalid) .mat-mdc-form-field-outline-thick,
|
|
766
|
+
.mat-mdc-form-field label,
|
|
759
767
|
.select-multiple-native select {color: ${this.palletColors.fontColor}!important;caret-color: ${this.palletColors.fontColor}!important;}
|
|
760
|
-
.mat-form-field-underline,
|
|
761
|
-
.mat-form-field-appearance-fill .mat-form-field-underline::before,
|
|
762
|
-
.mat-form-field-ripple {background: ${this.palletColors.fontColor}!important;}
|
|
763
|
-
.mat-checkbox
|
|
764
|
-
.mat-
|
|
765
|
-
.mat-checkbox-
|
|
766
|
-
.mat-checkbox-
|
|
767
|
-
.mat-checkbox-
|
|
768
|
-
.mat-checkbox-
|
|
769
|
-
.mat-checkbox-
|
|
770
|
-
.mat-
|
|
771
|
-
.mat-radio-
|
|
772
|
-
.
|
|
773
|
-
.
|
|
774
|
-
.
|
|
775
|
-
.
|
|
776
|
-
.
|
|
768
|
+
.mat-mdc-form-field-underline,
|
|
769
|
+
.mat-mdc-form-field-appearance-fill .mat-mdc-form-field-underline::before,
|
|
770
|
+
.mat-mdc-form-field-ripple {background: ${this.palletColors.fontColor}!important;}
|
|
771
|
+
.mat-mdc-checkbox .mdc-form-field {color: ${this.palletColors.fontColor}!important;}
|
|
772
|
+
.mat-mdc-checkbox-checked.mat-accent .mat-mdc-checkbox-background, .mat-mdc-checkbox-indeterminate.mat-accent .mat-mdc-checkbox-background,
|
|
773
|
+
.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background {background-color: ${this.palletColors.checkboxBackground} !important;border-color: ${this.palletColors.checkboxOutlineColor}!important;}
|
|
774
|
+
.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__checkmark {color: ${this.palletColors.checkboxColor} !important;}
|
|
775
|
+
.mat-mdc-checkbox.mat-accent .mdc-checkbox--selected~.mdc-checkbox__ripple, .mat-mdc-checkbox.mat-accent .mdc-checkbox--selected~.mdc-checkbox__ripple div {background-color: ${this.palletColors.checkboxBackground} !important;}
|
|
776
|
+
.mat-mdc-checkbox-checkmark {fill: ${this.palletColors.checkboxColor} !important;}
|
|
777
|
+
.mat-mdc-checkbox-mixedmark {background-color: ${this.palletColors.checkboxColor} !important;}
|
|
778
|
+
.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background {border-color: ${this.palletColors.checkboxOutlineColor}!important;}
|
|
779
|
+
.mat-mdc-radio-button .mdc-form-field {color: ${this.palletColors.fontColor}!important;}
|
|
780
|
+
.mat-mdc-radio-button .mdc-radio__outer-circle,
|
|
781
|
+
.mat-mdc-radio-button .mdc-radio__inner-circle {border-color: ${this.palletColors.checkboxBackground}!important;}
|
|
782
|
+
.mat-mdc-radio-ripple .mat-ripple-element, .mat-mdc-radio-button .mdc-radio__background::before, .mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element {background-color: ${this.palletColors.checkboxBackground} !important;}
|
|
783
|
+
.home-list-cards .list .mat-mdc-list-item-content .mat-mdc-icon {color: ${this.palletColors.fontColor};}
|
|
784
|
+
.home-list-cards .list button .mat-mdc-badge-content {background: ${this.palletColors.fontColor};}
|
|
785
|
+
.koala-dialog .mat-mdc-dialog-title h2 {color: ${this.palletColors.fontColor};}
|
|
786
|
+
.koala-dialog .mat-mdc-dialog-title mat-icon {color: ${this.palletColors.fontColor}!important;}
|
|
787
|
+
.koala-dialog .mat-mdc-dialog-surface {background-color: ${this.palletColors.firstColor}!important;}
|
|
777
788
|
.list-filter mat-icon {color: ${this.palletColors.filterIconColor}!important;}
|
|
778
789
|
koala-page .menu-options {background: ${this.palletColors.menuBackground};}
|
|
779
790
|
koala-page .toolbar {background: ${this.palletColors.toolbarBackground};}
|
|
@@ -820,10 +831,10 @@ koala-menu ul li li.active a koala-icon * {fill: ${this.palletColors.menuOptions
|
|
|
820
831
|
.content {background: ${this.palletColors.listContentBackground};}
|
|
821
832
|
.mat-tab-group .mat-tab-label {color: ${this.palletColors.fontColor};}
|
|
822
833
|
.mat-tab-group .mat-ink-bar {background-color: ${this.palletColors.fontColor}!important;}
|
|
823
|
-
.mat-table {background: ${this.palletColors.listBackground};color: ${this.palletColors.fontColor};}
|
|
824
|
-
.mat-table th {color: ${this.palletColors.listTitleItemColor}!important;}
|
|
825
|
-
.mat-sort-header-arrow {color: ${this.palletColors.listItemColor}!important;}
|
|
826
|
-
.mat-table td {color: ${this.palletColors.listItemColor}!important;}`;
|
|
834
|
+
.mat-mdc-table {background: ${this.palletColors.listBackground};color: ${this.palletColors.fontColor};}
|
|
835
|
+
.mat-mdc-table th {color: ${this.palletColors.listTitleItemColor}!important;}
|
|
836
|
+
.mat-mdc-sort-header-arrow {color: ${this.palletColors.listItemColor}!important;}
|
|
837
|
+
.mat-mdc-table td {color: ${this.palletColors.listItemColor}!important;}`;
|
|
827
838
|
const head = document.head || document.getElementsByTagName('head')[0];
|
|
828
839
|
const style = document.createElement('style');
|
|
829
840
|
head.appendChild(style);
|
|
@@ -877,12 +888,12 @@ koala-menu ul li li.active a koala-icon * {fill: ${this.palletColors.menuOptions
|
|
|
877
888
|
}
|
|
878
889
|
}
|
|
879
890
|
}
|
|
880
|
-
PageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
881
|
-
PageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
891
|
+
PageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PageComponent, deps: [{ token: KoalaTokenService }, { token: i2$1.Router }, { token: KoalaLoaderService }, { token: i4.KoalaMenuService }, { token: KoalaOAuth2Service }, { token: i6$1.DeviceDetectorService }], target: i0.ɵɵFactoryTarget.Component });
|
|
892
|
+
PageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: PageComponent, selector: "koala-page", inputs: { showMenu: "showMenu", color: "color", logo: "logo", startMenuOpened: "startMenuOpened", showLoaderPage: "showLoaderPage", messageLoaderPage: "messageLoaderPage", defaultPage: "defaultPage", openPages: "openPages", notifications: "notifications", userMenuOptions: "userMenuOptions", palletColors: "palletColors", language: "language" }, outputs: { validatingScope: "validatingScope", logoutEmitter: "logoutEmitter", deleteAllNotifications: "deleteAllNotifications", deleteNotification: "deleteNotification" }, providers: [KoalaTokenService], viewQueries: [{ propertyName: "menu", first: true, predicate: ["drawer"], descendants: true, static: true }], ngImport: i0, template: "<div *ngIf=\"showLoaderPage | async\" class=\"koala-loader-pg\">\n <div class=\"loader-content\">\n <figure>\n <img [src]=\"logo\" alt=\"Logotipo\"/>\n <figcaption *ngIf=\"(messageLoaderPage | async) as messageLoader\" [innerHTML]=\"messageLoader\"></figcaption>\n </figure>\n <mat-spinner></mat-spinner>\n </div>\n</div>\n<app-loader-page *ngIf=\"(loaderSubject | async) as loader\" [progress]=\"loader.progress\" [show]=\"loader.show\"\n [typeLoader]=\"loader.typeLoader\"></app-loader-page>\n<mat-drawer-container autosize class=\"menu-container\">\n <mat-drawer #drawer class=\"menu-options\" [mode]=\"isMobile ? 'push' : 'side'\">\n <img [src]=\"logo\" alt=\"Logotipo\" id=\"logotipo\"/>\n <ng-content *ngIf=\"showMenu\" select=\"[menu-options]\"></ng-content>\n </mat-drawer>\n\n <mat-toolbar *ngIf=\"!!(logged$ | async) && (username$ | async)\" class=\"toolbar\">\n <img *ngIf=\"!showMenu\" [src]=\"logo\" alt=\"Logotipo Toolbar\" id=\"logotipo-toolbar\"/>\n <button (click)=\"toogleMenu()\" *ngIf=\"showMenu\" [color]=\"color\" class=\"btn-collapse-menu\" mat-icon-button>\n <mat-icon>menu</mat-icon>\n </button>\n <span class=\"spacer\"></span>\n\t <div class=\"menu-toolbar\">\n\t\t <ng-content select=\"[menu-toolbar]\"></ng-content>\n\t </div>\n <div *ngIf=\"(notifications | async) as notificationList\">\n <button *ngIf=\"notifications\" [color]=\"color\" [matMenuTriggerFor]=\"notificationsMenu\" class=\"btn-toolbar\"\n mat-icon-button>\n <mat-icon\n\t [matBadgeHidden]=\"notificationList.length === 0\"\n\t [matBadge]=\"notificationList.length.toString()\"\n\t matBadgeColor=\"warn\">notifications\n </mat-icon>\n </button>\n <mat-menu #notificationsMenu=\"matMenu\" class=\"menu-list\" yPosition=\"below\">\n <koala-notification-list\n (delete)=\"deleteNotification.emit($event)\"\n (deleteAll)=\"deleteAllNotifications.emit($event)\"\n [notifications]=\"notificationList\">\n </koala-notification-list>\n </mat-menu>\n </div>\n <button [color]=\"color\" [matMenuTriggerFor]=\"userOptions\" class=\"btn-toolbar\" mat-button>\n <span>{{username$ | async}}</span>\n <span class=\"icon-user\">{{firstUserLetter$ | async}}</span>\n </button>\n <mat-menu #userOptions=\"matMenu\" class=\"user-menu menu-list\" yPosition=\"below\">\n <div class=\"user-presentation\">\n <span class=\"icon-user\">{{firstUserLetter$ | async}}</span><br/>\n <span class=\"username\">{{username$ | async}}</span>\n </div>\n <button (click)=\"btn.action()\" *ngFor=\"let btn of userMenuOptions\" mat-menu-item>\n <mat-icon>{{btn.icon}}</mat-icon>\n <span>{{btn.name}}</span>\n </button>\n <button (click)=\"logout()\" mat-menu-item>\n <mat-icon>exit_to_app</mat-icon>\n <span>{{language === 'ptBr' ? 'Sair' : 'Logout'}}</span>\n </button>\n </mat-menu>\n </mat-toolbar>\n\n <ng-content class=\"page-content\" select=\"[page-content]\"></ng-content>\n\n</mat-drawer-container>\n\n<ng-content class=\"loading-info-content\" select=\"[loading-info-content]\"></ng-content>\n", styles: [".menu-container{height:100vh;width:100vw}.menu-options{border:none;padding:20px 0 0;width:250px}.page-content{align-items:center;display:flex;height:100%;justify-content:center}img#logotipo,img#logotipo-toolbar{display:block;height:auto;margin:0 auto 25px;position:relative;width:120px}.toolbar{box-shadow:none;padding:0 7px 0 13px}.toolbar img#logotipo-toolbar{margin:0;padding:0 10px}.menu-toolbar{margin:0 10px}.spacer{flex:1 1 auto}.btn-toolbar{display:inline-block;margin-right:10px;position:relative}.btn-toolbar span{padding:0 10px 0 0}.btn-toolbar span.icon-user,.user-presentation span.icon-user{border-radius:50%;display:inline-block;height:10px;line-height:10px;padding:5px;width:10px}.user-presentation{min-width:260px;padding:50px 10px;text-align:center}.user-presentation span.icon-user{font-size:30px;height:30px;line-height:30px;margin-bottom:10px;width:30px}.user-presentation span.username{font-family:OpenSansLight,sans-serif;word-break:break-all}@media (max-width: 900px){.btn-toolbar span:first-child{display:none}.btn-toolbar span.icon-user,.user-presentation span.icon-user{height:20px;line-height:20px;width:20px}}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i8.MatBadge, selector: "[matBadge]", inputs: ["matBadgeDisabled", "matBadgeColor", "matBadgeOverlap", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "component", type: i9.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i10.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i11.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: i11.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i13.MatDrawer, selector: "mat-drawer", inputs: ["position", "mode", "disableClose", "autoFocus", "opened"], outputs: ["openedChange", "opened", "openedStart", "closed", "closedStart", "positionChanged"], exportAs: ["matDrawer"] }, { kind: "component", type: i13.MatDrawerContainer, selector: "mat-drawer-container", inputs: ["autosize", "hasBackdrop"], outputs: ["backdropClick"], exportAs: ["matDrawerContainer"] }, { kind: "component", type: i14.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i14.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i14.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }, { kind: "component", type: NotificationComponent, selector: "koala-notification-list", inputs: ["notifications"], outputs: ["deleteAll", "delete"] }, { kind: "component", type: LoaderBarPageComponent, selector: "app-loader-page", inputs: ["show", "progress", "typeLoader"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PageComponent, decorators: [{
|
|
883
894
|
type: Component,
|
|
884
895
|
args: [{ selector: 'koala-page', providers: [KoalaTokenService], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"showLoaderPage | async\" class=\"koala-loader-pg\">\n <div class=\"loader-content\">\n <figure>\n <img [src]=\"logo\" alt=\"Logotipo\"/>\n <figcaption *ngIf=\"(messageLoaderPage | async) as messageLoader\" [innerHTML]=\"messageLoader\"></figcaption>\n </figure>\n <mat-spinner></mat-spinner>\n </div>\n</div>\n<app-loader-page *ngIf=\"(loaderSubject | async) as loader\" [progress]=\"loader.progress\" [show]=\"loader.show\"\n [typeLoader]=\"loader.typeLoader\"></app-loader-page>\n<mat-drawer-container autosize class=\"menu-container\">\n <mat-drawer #drawer class=\"menu-options\" [mode]=\"isMobile ? 'push' : 'side'\">\n <img [src]=\"logo\" alt=\"Logotipo\" id=\"logotipo\"/>\n <ng-content *ngIf=\"showMenu\" select=\"[menu-options]\"></ng-content>\n </mat-drawer>\n\n <mat-toolbar *ngIf=\"!!(logged$ | async) && (username$ | async)\" class=\"toolbar\">\n <img *ngIf=\"!showMenu\" [src]=\"logo\" alt=\"Logotipo Toolbar\" id=\"logotipo-toolbar\"/>\n <button (click)=\"toogleMenu()\" *ngIf=\"showMenu\" [color]=\"color\" class=\"btn-collapse-menu\" mat-icon-button>\n <mat-icon>menu</mat-icon>\n </button>\n <span class=\"spacer\"></span>\n\t <div class=\"menu-toolbar\">\n\t\t <ng-content select=\"[menu-toolbar]\"></ng-content>\n\t </div>\n <div *ngIf=\"(notifications | async) as notificationList\">\n <button *ngIf=\"notifications\" [color]=\"color\" [matMenuTriggerFor]=\"notificationsMenu\" class=\"btn-toolbar\"\n mat-icon-button>\n <mat-icon\n\t [matBadgeHidden]=\"notificationList.length === 0\"\n\t [matBadge]=\"notificationList.length.toString()\"\n\t matBadgeColor=\"warn\">notifications\n </mat-icon>\n </button>\n <mat-menu #notificationsMenu=\"matMenu\" class=\"menu-list\" yPosition=\"below\">\n <koala-notification-list\n (delete)=\"deleteNotification.emit($event)\"\n (deleteAll)=\"deleteAllNotifications.emit($event)\"\n [notifications]=\"notificationList\">\n </koala-notification-list>\n </mat-menu>\n </div>\n <button [color]=\"color\" [matMenuTriggerFor]=\"userOptions\" class=\"btn-toolbar\" mat-button>\n <span>{{username$ | async}}</span>\n <span class=\"icon-user\">{{firstUserLetter$ | async}}</span>\n </button>\n <mat-menu #userOptions=\"matMenu\" class=\"user-menu menu-list\" yPosition=\"below\">\n <div class=\"user-presentation\">\n <span class=\"icon-user\">{{firstUserLetter$ | async}}</span><br/>\n <span class=\"username\">{{username$ | async}}</span>\n </div>\n <button (click)=\"btn.action()\" *ngFor=\"let btn of userMenuOptions\" mat-menu-item>\n <mat-icon>{{btn.icon}}</mat-icon>\n <span>{{btn.name}}</span>\n </button>\n <button (click)=\"logout()\" mat-menu-item>\n <mat-icon>exit_to_app</mat-icon>\n <span>{{language === 'ptBr' ? 'Sair' : 'Logout'}}</span>\n </button>\n </mat-menu>\n </mat-toolbar>\n\n <ng-content class=\"page-content\" select=\"[page-content]\"></ng-content>\n\n</mat-drawer-container>\n\n<ng-content class=\"loading-info-content\" select=\"[loading-info-content]\"></ng-content>\n", styles: [".menu-container{height:100vh;width:100vw}.menu-options{border:none;padding:20px 0 0;width:250px}.page-content{align-items:center;display:flex;height:100%;justify-content:center}img#logotipo,img#logotipo-toolbar{display:block;height:auto;margin:0 auto 25px;position:relative;width:120px}.toolbar{box-shadow:none;padding:0 7px 0 13px}.toolbar img#logotipo-toolbar{margin:0;padding:0 10px}.menu-toolbar{margin:0 10px}.spacer{flex:1 1 auto}.btn-toolbar{display:inline-block;margin-right:10px;position:relative}.btn-toolbar span{padding:0 10px 0 0}.btn-toolbar span.icon-user,.user-presentation span.icon-user{border-radius:50%;display:inline-block;height:10px;line-height:10px;padding:5px;width:10px}.user-presentation{min-width:260px;padding:50px 10px;text-align:center}.user-presentation span.icon-user{font-size:30px;height:30px;line-height:30px;margin-bottom:10px;width:30px}.user-presentation span.username{font-family:OpenSansLight,sans-serif;word-break:break-all}@media (max-width: 900px){.btn-toolbar span:first-child{display:none}.btn-toolbar span.icon-user,.user-presentation span.icon-user{height:20px;line-height:20px;width:20px}}\n"] }]
|
|
885
|
-
}], ctorParameters: function () { return [{ type: KoalaTokenService }, { type: i2$1.Router }, { type: KoalaLoaderService }, { type: i4
|
|
896
|
+
}], ctorParameters: function () { return [{ type: KoalaTokenService }, { type: i2$1.Router }, { type: KoalaLoaderService }, { type: i4.KoalaMenuService }, { type: KoalaOAuth2Service }, { type: i6$1.DeviceDetectorService }]; }, propDecorators: { showMenu: [{
|
|
886
897
|
type: Input
|
|
887
898
|
}], color: [{
|
|
888
899
|
type: Input
|
|
@@ -921,8 +932,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImpo
|
|
|
921
932
|
|
|
922
933
|
class KoalaPageModule {
|
|
923
934
|
}
|
|
924
|
-
KoalaPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
925
|
-
KoalaPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
935
|
+
KoalaPageModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaPageModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
936
|
+
KoalaPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: KoalaPageModule, declarations: [PageComponent,
|
|
926
937
|
NotificationComponent,
|
|
927
938
|
LoaderBarPageComponent], imports: [CommonModule,
|
|
928
939
|
RouterModule,
|
|
@@ -937,7 +948,7 @@ KoalaPageModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
937
948
|
MatListModule,
|
|
938
949
|
MatMenuModule], exports: [PageComponent,
|
|
939
950
|
RouterModule] });
|
|
940
|
-
KoalaPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
951
|
+
KoalaPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaPageModule, imports: [CommonModule,
|
|
941
952
|
RouterModule,
|
|
942
953
|
MatBadgeModule,
|
|
943
954
|
MatProgressSpinnerModule,
|
|
@@ -949,7 +960,7 @@ KoalaPageModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
949
960
|
MatSidenavModule,
|
|
950
961
|
MatListModule,
|
|
951
962
|
MatMenuModule, RouterModule] });
|
|
952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaPageModule, decorators: [{
|
|
953
964
|
type: NgModule,
|
|
954
965
|
args: [{
|
|
955
966
|
declarations: [
|
|
@@ -986,9 +997,9 @@ class KoalaParameterHashLocationStrategy extends HashLocationStrategy {
|
|
|
986
997
|
super.prepareExternalUrl(internal);
|
|
987
998
|
}
|
|
988
999
|
}
|
|
989
|
-
KoalaParameterHashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
990
|
-
KoalaParameterHashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
991
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1000
|
+
KoalaParameterHashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaParameterHashLocationStrategy, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
1001
|
+
KoalaParameterHashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaParameterHashLocationStrategy });
|
|
1002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaParameterHashLocationStrategy, decorators: [{
|
|
992
1003
|
type: Injectable
|
|
993
1004
|
}] });
|
|
994
1005
|
|
|
@@ -1234,11 +1245,11 @@ class KoalaApiRequesterService {
|
|
|
1234
1245
|
}
|
|
1235
1246
|
}
|
|
1236
1247
|
}
|
|
1237
|
-
KoalaApiRequesterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1238
|
-
KoalaApiRequesterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1248
|
+
KoalaApiRequesterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaApiRequesterService, deps: [{ token: i1$1.HttpClient }, { token: KoalaOAuth2Service }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1249
|
+
KoalaApiRequesterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaApiRequesterService, providedIn: "any" });
|
|
1250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaApiRequesterService, decorators: [{
|
|
1240
1251
|
type: Injectable,
|
|
1241
|
-
args: [{ providedIn: "
|
|
1252
|
+
args: [{ providedIn: "any" }]
|
|
1242
1253
|
}], ctorParameters: function () { return [{ type: i1$1.HttpClient }, { type: KoalaOAuth2Service }]; } });
|
|
1243
1254
|
|
|
1244
1255
|
class KoalaApiRequesterCache {
|
|
@@ -1400,9 +1411,9 @@ class KoalaRequestService {
|
|
|
1400
1411
|
});
|
|
1401
1412
|
}
|
|
1402
1413
|
}
|
|
1403
|
-
KoalaRequestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1404
|
-
KoalaRequestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1405
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1414
|
+
KoalaRequestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaRequestService, deps: [{ token: i1$2.KoalaAlertService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1415
|
+
KoalaRequestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaRequestService, providedIn: "any" });
|
|
1416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: KoalaRequestService, decorators: [{
|
|
1406
1417
|
type: Injectable,
|
|
1407
1418
|
args: [{ providedIn: "any" }]
|
|
1408
1419
|
}], ctorParameters: function () { return [{ type: i1$2.KoalaAlertService }]; } });
|
|
@@ -1418,18 +1429,18 @@ class NgxKoalaModule {
|
|
|
1418
1429
|
};
|
|
1419
1430
|
}
|
|
1420
1431
|
}
|
|
1421
|
-
NgxKoalaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1422
|
-
NgxKoalaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1432
|
+
NgxKoalaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NgxKoalaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1433
|
+
NgxKoalaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: NgxKoalaModule, imports: [CommonModule,
|
|
1423
1434
|
HttpClientModule,
|
|
1424
1435
|
KoalaPageModule], exports: [HttpClientModule,
|
|
1425
1436
|
KoalaPageModule] });
|
|
1426
|
-
NgxKoalaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1437
|
+
NgxKoalaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NgxKoalaModule, providers: [
|
|
1427
1438
|
KoalaOAuth2Service
|
|
1428
1439
|
], imports: [CommonModule,
|
|
1429
1440
|
HttpClientModule,
|
|
1430
1441
|
KoalaPageModule, HttpClientModule,
|
|
1431
1442
|
KoalaPageModule] });
|
|
1432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: NgxKoalaModule, decorators: [{
|
|
1433
1444
|
type: NgModule,
|
|
1434
1445
|
args: [{
|
|
1435
1446
|
imports: [
|