angular-matecu 2.0.12 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +64 -38
- package/esm2020/lib/components/matecu-alert-box/matecu-alert-box.component.mjs +67 -0
- package/esm2020/lib/components/matecu-alert-dialog/matecu-alert-dialog.component.mjs +54 -0
- package/esm2020/lib/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.mjs +43 -0
- package/esm2020/lib/components/matecu-spinner/matecu-spinner.component.mjs +58 -0
- package/esm2020/lib/components/matecu-topbar-action/matecu-topbar-action.component.mjs +13 -0
- package/esm2020/lib/components/matecu-topbar-body/matecu-topbar-body.component.mjs +28 -0
- package/esm2020/lib/components/matecu-topbar-fab/matecu-topbar-fab.component.mjs +34 -0
- package/esm2020/lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component.mjs +13 -0
- package/esm2020/lib/components/matecu-topbar-layout/matecu-topbar-layout.component.mjs +101 -0
- package/esm2020/lib/components/matecu-topbar-search/matecu-topbar-search.component.mjs +84 -0
- package/esm2020/lib/components/matecu-topbar-title/matecu-topbar-title.component.mjs +19 -0
- package/esm2020/lib/modules/matecu-alert-box/matecu-alert-box.module.mjs +10 -10
- package/esm2020/lib/modules/matecu-spinner/matecu-spinner.module.mjs +8 -10
- package/esm2020/lib/modules/matecu-topbar-layout/matecu-topbar-layout.module.mjs +40 -30
- package/esm2020/lib/services/matecu-snack-bar.service.mjs +66 -0
- package/esm2020/lib/services/matecu-spinner.service.mjs +44 -0
- package/esm2020/lib/types/matecu-alert-dialog.mjs +2 -0
- package/esm2020/lib/types/matecu-alert-snackbar.mjs +2 -0
- package/esm2020/lib/types/matecu-altert-box-type.mjs +8 -0
- package/esm2020/public-api.mjs +19 -18
- package/fesm2015/angular-matecu.mjs +142 -126
- package/fesm2015/angular-matecu.mjs.map +1 -1
- package/fesm2020/angular-matecu.mjs +142 -126
- package/fesm2020/angular-matecu.mjs.map +1 -1
- package/{angular-matecu.d.ts → index.d.ts} +0 -0
- package/lib/{modules/matecu-alert-box/components → components}/matecu-alert-box/matecu-alert-box.component.d.ts +1 -1
- package/lib/{modules/matecu-alert-box/components → components}/matecu-alert-dialog/matecu-alert-dialog.component.d.ts +1 -1
- package/lib/{modules/matecu-alert-box/components → components}/matecu-alert-snack-bar/matecu-alert-snack-bar.component.d.ts +1 -1
- package/lib/{modules/matecu-spinner/components → components}/matecu-spinner/matecu-spinner.component.d.ts +1 -1
- package/lib/components/matecu-topbar-action/matecu-topbar-action.component.d.ts +8 -0
- package/lib/{modules/matecu-topbar-layout/components → components}/matecu-topbar-body/matecu-topbar-body.component.d.ts +1 -1
- package/lib/{modules/matecu-topbar-layout/components → components}/matecu-topbar-fab/matecu-topbar-fab.component.d.ts +1 -1
- package/lib/components/matecu-topbar-header-row/matecu-topbar-header-row.component.d.ts +5 -0
- package/lib/components/matecu-topbar-layout/matecu-topbar-layout.component.d.ts +29 -0
- package/lib/{modules/matecu-topbar-layout/components → components}/matecu-topbar-search/matecu-topbar-search.component.d.ts +3 -3
- package/lib/{modules/matecu-topbar-layout/components → components}/matecu-topbar-title/matecu-topbar-title.component.d.ts +1 -1
- package/lib/modules/matecu-alert-box/matecu-alert-box.module.d.ts +9 -9
- package/lib/modules/matecu-spinner/matecu-spinner.module.d.ts +3 -3
- package/lib/modules/matecu-topbar-layout/matecu-topbar-layout.module.d.ts +13 -12
- package/lib/{modules/matecu-alert-box/services → services}/matecu-snack-bar.service.d.ts +0 -0
- package/lib/{modules/matecu-spinner/services → services}/matecu-spinner.service.d.ts +0 -0
- package/lib/{modules/matecu-alert-box/types → types}/matecu-alert-dialog.d.ts +0 -0
- package/lib/{modules/matecu-alert-box/types → types}/matecu-alert-snackbar.d.ts +0 -0
- package/lib/{modules/matecu-alert-box/types → types}/matecu-altert-box-type.d.ts +0 -0
- package/package.json +6 -6
- package/public-api.d.ts +18 -17
- package/src/scss/matecu-topbar-layout/_variables.scss +2 -0
- package/esm2020/lib/modules/matecu-alert-box/components/matecu-alert-box/matecu-alert-box.component.mjs +0 -65
- package/esm2020/lib/modules/matecu-alert-box/components/matecu-alert-dialog/matecu-alert-dialog.component.mjs +0 -51
- package/esm2020/lib/modules/matecu-alert-box/components/matecu-alert-snack-bar/matecu-alert-snack-bar.component.mjs +0 -41
- package/esm2020/lib/modules/matecu-alert-box/services/matecu-snack-bar.service.mjs +0 -66
- package/esm2020/lib/modules/matecu-alert-box/types/matecu-alert-dialog.mjs +0 -2
- package/esm2020/lib/modules/matecu-alert-box/types/matecu-alert-snackbar.mjs +0 -2
- package/esm2020/lib/modules/matecu-alert-box/types/matecu-altert-box-type.mjs +0 -8
- package/esm2020/lib/modules/matecu-spinner/components/matecu-spinner/matecu-spinner.component.mjs +0 -57
- package/esm2020/lib/modules/matecu-spinner/services/matecu-spinner.service.mjs +0 -44
- package/esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-actions/matecu-topbar-actions.component.mjs +0 -13
- package/esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-body/matecu-topbar-body.component.mjs +0 -28
- package/esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-fab/matecu-topbar-fab.component.mjs +0 -32
- package/esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-layout/matecu-topbar-layout.component.mjs +0 -99
- package/esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-search/matecu-topbar-search.component.mjs +0 -81
- package/esm2020/lib/modules/matecu-topbar-layout/components/matecu-topbar-title/matecu-topbar-title.component.mjs +0 -19
- package/lib/modules/matecu-topbar-layout/components/matecu-topbar-actions/matecu-topbar-actions.component.d.ts +0 -8
- package/lib/modules/matecu-topbar-layout/components/matecu-topbar-layout/matecu-topbar-layout.component.d.ts +0 -30
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, Component, HostBinding, Input, NgModule, EventEmitter, Output, Inject } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import { BehaviorSubject, Subject, of, fromEvent } from 'rxjs';
|
|
6
6
|
import { tap, takeUntil, map, debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
|
7
|
-
import * as
|
|
8
|
-
import {
|
|
9
|
-
import * as
|
|
10
|
-
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
11
|
-
import * as i1$1 from '@angular/material/button';
|
|
7
|
+
import * as i2$1 from '@angular/forms';
|
|
8
|
+
import { UntypedFormControl, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
9
|
+
import * as i3 from '@angular/material/button';
|
|
12
10
|
import { MatButtonModule } from '@angular/material/button';
|
|
13
|
-
import * as i3 from '@angular/material/icon';
|
|
11
|
+
import * as i3$1 from '@angular/material/icon';
|
|
14
12
|
import { MatIconModule } from '@angular/material/icon';
|
|
15
|
-
import * as
|
|
13
|
+
import * as i2 from '@angular/material/toolbar';
|
|
14
|
+
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
15
|
+
import * as i1$1 from '@angular/material/dialog';
|
|
16
16
|
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
17
|
-
import * as i1$
|
|
17
|
+
import * as i1$2 from '@angular/material/snack-bar';
|
|
18
18
|
import { MAT_SNACK_BAR_DATA, MatSnackBarModule } from '@angular/material/snack-bar';
|
|
19
19
|
|
|
20
20
|
class MatecuSpinnerService {
|
|
@@ -49,9 +49,9 @@ class MatecuSpinnerService {
|
|
|
49
49
|
return `${time}__${complement}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
MatecuSpinnerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
MatecuSpinnerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
52
|
+
MatecuSpinnerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuSpinnerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
53
|
+
MatecuSpinnerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuSpinnerService, providedIn: 'root' });
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuSpinnerService, decorators: [{
|
|
55
55
|
type: Injectable,
|
|
56
56
|
args: [{
|
|
57
57
|
providedIn: 'root',
|
|
@@ -91,11 +91,11 @@ class MatecuSpinnerComponent {
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
MatecuSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
95
|
-
MatecuSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
96
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
94
|
+
MatecuSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuSpinnerComponent, deps: [{ token: MatecuSpinnerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
95
|
+
MatecuSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: MatecuSpinnerComponent, isStandalone: true, selector: "matecu-spinner", inputs: { color: "color", global: "global", active: "active", size: "size" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-container *ngIf=\"active\">\n <svg xmlns:svg=\"http://www.w3.org/2000/svg\" [attr.width]=\"size\" [attr.height]=\"size\"\n xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.0\" viewBox=\"0 0 128 128\" xml:space=\"preserve\">\n <rect x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" fill=\"transparent\" />\n <g>\n <path class=\"matecu-spinner__100\" d=\"M122.5 69.25H96.47a33.1 33.1 0 0 0 0-10.5h26.05a5.25 5.25 0 0 1 0 10.5z\" [attr.fill]=\"color\"\n fill-opacity=\"1\" />\n <path class=\"matecu-spinner__30\" d=\"M112.04 97.83L89.47 84.8a33.1 33.1 0 0 0 5.25-9.1l22.57 13.03a5.25 5.25 0 0 1-5.28 9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M88.68 117.35L75.65 94.78a33.1 33.1 0 0 0 9.1-5.25l13.02 22.57a5.25 5.25 0 1 1-9.1 5.25z\"\n [attr.fill]=\"color\" fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M58.7 122.57V96.5a33.1 33.1 0 0 0 10.5 0v26.07a5.25 5.25 0 0 1-10.5 0z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M30.1 112.1l13.04-22.57a33.1 33.1 0 0 0 9.1 5.25L39.2 117.35a5.25 5.25 0 1 1-9.1-5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M10.6 88.74L33.16 75.7a33.1 33.1 0 0 0 5.25 9.1L15.88 97.83a5.25 5.25 0 1 1-5.25-9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__40\" d=\"M5.37 58.75h26.06a33.1 33.1 0 0 0 0 10.5H5.37a5.25 5.25 0 0 1 0-10.5z\" [attr.fill]=\"color\"\n fill-opacity=\"0.4\" />\n <path class=\"matecu-spinner__50\" d=\"M15.85 30.17L38.4 43.2a33.1 33.1 0 0 0-5.24 9.1L10.6 39.25a5.25 5.25 0 1 1 5.25-9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.5\" />\n <path class=\"matecu-spinner__60\" d=\"M39.2 10.65l13.03 22.57a33.1 33.1 0 0 0-9.1 5.25l-13-22.57a5.25 5.25 0 1 1 9.1-5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.6\" />\n <path class=\"matecu-spinner__70\" d=\"M69.2 5.43V31.5a33.1 33.1 0 0 0-10.5 0V5.42a5.25 5.25 0 1 1 10.5 0z\" [attr.fill]=\"color\"\n fill-opacity=\"0.7\" />\n <path class=\"matecu-spinner__80\" d=\"M97.77 15.9L84.75 38.47a33.1 33.1 0 0 0-9.1-5.25l13.03-22.57a5.25 5.25 0 1 1 9.1 5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.8\" />\n <path class=\"matecu-spinner__90\" d=\"M117.3 39.26L94.7 52.3a33.1 33.1 0 0 0-5.25-9.1l22.57-13.03a5.25 5.25 0 0 1 5.25 9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.9\" />\n <animateTransform attributeName=\"transform\" type=\"rotate\"\n values=\"0 64 64;30 64 64;60 64 64;90 64 64;120 64 64;150 64 64;180 64 64;210 64 64;240 64 64;270 64 64;300 64 64;330 64 64\"\n calcMode=\"discrete\" dur=\"600ms\" repeatCount=\"indefinite\"></animateTransform>\n </g>\n</svg>\n</ng-container>", styles: [".matecu-spinner{display:flex;align-items:center;justify-content:center}.matecu-spinner>svg{width:80px;height:80px}.matecu-spinner__hidden{display:none}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuSpinnerComponent, decorators: [{
|
|
97
97
|
type: Component,
|
|
98
|
-
args: [{ selector: 'matecu-spinner', template: "<ng-container *ngIf=\"active\">\n <svg xmlns:svg=\"http://www.w3.org/2000/svg\" [attr.width]=\"size\" [attr.height]=\"size\"\n xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.0\" viewBox=\"0 0 128 128\" xml:space=\"preserve\">\n <rect x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" fill=\"transparent\" />\n <g>\n <path class=\"matecu-spinner__100\" d=\"M122.5 69.25H96.47a33.1 33.1 0 0 0 0-10.5h26.05a5.25 5.25 0 0 1 0 10.5z\" [attr.fill]=\"color\"\n fill-opacity=\"1\" />\n <path class=\"matecu-spinner__30\" d=\"M112.04 97.83L89.47 84.8a33.1 33.1 0 0 0 5.25-9.1l22.57 13.03a5.25 5.25 0 0 1-5.28 9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M88.68 117.35L75.65 94.78a33.1 33.1 0 0 0 9.1-5.25l13.02 22.57a5.25 5.25 0 1 1-9.1 5.25z\"\n [attr.fill]=\"color\" fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M58.7 122.57V96.5a33.1 33.1 0 0 0 10.5 0v26.07a5.25 5.25 0 0 1-10.5 0z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M30.1 112.1l13.04-22.57a33.1 33.1 0 0 0 9.1 5.25L39.2 117.35a5.25 5.25 0 1 1-9.1-5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M10.6 88.74L33.16 75.7a33.1 33.1 0 0 0 5.25 9.1L15.88 97.83a5.25 5.25 0 1 1-5.25-9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__40\" d=\"M5.37 58.75h26.06a33.1 33.1 0 0 0 0 10.5H5.37a5.25 5.25 0 0 1 0-10.5z\" [attr.fill]=\"color\"\n fill-opacity=\"0.4\" />\n <path class=\"matecu-spinner__50\" d=\"M15.85 30.17L38.4 43.2a33.1 33.1 0 0 0-5.24 9.1L10.6 39.25a5.25 5.25 0 1 1 5.25-9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.5\" />\n <path class=\"matecu-spinner__60\" d=\"M39.2 10.65l13.03 22.57a33.1 33.1 0 0 0-9.1 5.25l-13-22.57a5.25 5.25 0 1 1 9.1-5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.6\" />\n <path class=\"matecu-spinner__70\" d=\"M69.2 5.43V31.5a33.1 33.1 0 0 0-10.5 0V5.42a5.25 5.25 0 1 1 10.5 0z\" [attr.fill]=\"color\"\n fill-opacity=\"0.7\" />\n <path class=\"matecu-spinner__80\" d=\"M97.77 15.9L84.75 38.47a33.1 33.1 0 0 0-9.1-5.25l13.03-22.57a5.25 5.25 0 1 1 9.1 5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.8\" />\n <path class=\"matecu-spinner__90\" d=\"M117.3 39.26L94.7 52.3a33.1 33.1 0 0 0-5.25-9.1l22.57-13.03a5.25 5.25 0 0 1 5.25 9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.9\" />\n <animateTransform attributeName=\"transform\" type=\"rotate\"\n values=\"0 64 64;30 64 64;60 64 64;90 64 64;120 64 64;150 64 64;180 64 64;210 64 64;240 64 64;270 64 64;300 64 64;330 64 64\"\n calcMode=\"discrete\" dur=\"600ms\" repeatCount=\"indefinite\"></animateTransform>\n </g>\n</svg>\n</ng-container>", styles: [".matecu-spinner{display:flex;align-items:center;justify-content:center}.matecu-spinner>svg{width:80px;height:80px}.matecu-spinner__hidden{display:none}\n"] }]
|
|
98
|
+
args: [{ selector: 'matecu-spinner', standalone: true, imports: [CommonModule], template: "<ng-container *ngIf=\"active\">\n <svg xmlns:svg=\"http://www.w3.org/2000/svg\" [attr.width]=\"size\" [attr.height]=\"size\"\n xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" version=\"1.0\" viewBox=\"0 0 128 128\" xml:space=\"preserve\">\n <rect x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" fill=\"transparent\" />\n <g>\n <path class=\"matecu-spinner__100\" d=\"M122.5 69.25H96.47a33.1 33.1 0 0 0 0-10.5h26.05a5.25 5.25 0 0 1 0 10.5z\" [attr.fill]=\"color\"\n fill-opacity=\"1\" />\n <path class=\"matecu-spinner__30\" d=\"M112.04 97.83L89.47 84.8a33.1 33.1 0 0 0 5.25-9.1l22.57 13.03a5.25 5.25 0 0 1-5.28 9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M88.68 117.35L75.65 94.78a33.1 33.1 0 0 0 9.1-5.25l13.02 22.57a5.25 5.25 0 1 1-9.1 5.25z\"\n [attr.fill]=\"color\" fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M58.7 122.57V96.5a33.1 33.1 0 0 0 10.5 0v26.07a5.25 5.25 0 0 1-10.5 0z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M30.1 112.1l13.04-22.57a33.1 33.1 0 0 0 9.1 5.25L39.2 117.35a5.25 5.25 0 1 1-9.1-5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__30\" d=\"M10.6 88.74L33.16 75.7a33.1 33.1 0 0 0 5.25 9.1L15.88 97.83a5.25 5.25 0 1 1-5.25-9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.3\" />\n <path class=\"matecu-spinner__40\" d=\"M5.37 58.75h26.06a33.1 33.1 0 0 0 0 10.5H5.37a5.25 5.25 0 0 1 0-10.5z\" [attr.fill]=\"color\"\n fill-opacity=\"0.4\" />\n <path class=\"matecu-spinner__50\" d=\"M15.85 30.17L38.4 43.2a33.1 33.1 0 0 0-5.24 9.1L10.6 39.25a5.25 5.25 0 1 1 5.25-9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.5\" />\n <path class=\"matecu-spinner__60\" d=\"M39.2 10.65l13.03 22.57a33.1 33.1 0 0 0-9.1 5.25l-13-22.57a5.25 5.25 0 1 1 9.1-5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.6\" />\n <path class=\"matecu-spinner__70\" d=\"M69.2 5.43V31.5a33.1 33.1 0 0 0-10.5 0V5.42a5.25 5.25 0 1 1 10.5 0z\" [attr.fill]=\"color\"\n fill-opacity=\"0.7\" />\n <path class=\"matecu-spinner__80\" d=\"M97.77 15.9L84.75 38.47a33.1 33.1 0 0 0-9.1-5.25l13.03-22.57a5.25 5.25 0 1 1 9.1 5.25z\" [attr.fill]=\"color\"\n fill-opacity=\"0.8\" />\n <path class=\"matecu-spinner__90\" d=\"M117.3 39.26L94.7 52.3a33.1 33.1 0 0 0-5.25-9.1l22.57-13.03a5.25 5.25 0 0 1 5.25 9.1z\" [attr.fill]=\"color\"\n fill-opacity=\"0.9\" />\n <animateTransform attributeName=\"transform\" type=\"rotate\"\n values=\"0 64 64;30 64 64;60 64 64;90 64 64;120 64 64;150 64 64;180 64 64;210 64 64;240 64 64;270 64 64;300 64 64;330 64 64\"\n calcMode=\"discrete\" dur=\"600ms\" repeatCount=\"indefinite\"></animateTransform>\n </g>\n</svg>\n</ng-container>", styles: [".matecu-spinner{display:flex;align-items:center;justify-content:center}.matecu-spinner>svg{width:80px;height:80px}.matecu-spinner__hidden{display:none}\n"] }]
|
|
99
99
|
}], ctorParameters: function () { return [{ type: MatecuSpinnerService }]; }, propDecorators: { className: [{
|
|
100
100
|
type: HostBinding,
|
|
101
101
|
args: ['class']
|
|
@@ -111,17 +111,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
111
111
|
|
|
112
112
|
class MatecuSpinnerModule {
|
|
113
113
|
}
|
|
114
|
-
MatecuSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
115
|
-
MatecuSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
116
|
-
MatecuSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
117
|
-
|
|
118
|
-
]] });
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MatecuSpinnerModule, decorators: [{
|
|
114
|
+
MatecuSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
115
|
+
MatecuSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: MatecuSpinnerModule, imports: [CommonModule, MatecuSpinnerComponent], exports: [MatecuSpinnerComponent] });
|
|
116
|
+
MatecuSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuSpinnerModule, imports: [CommonModule, MatecuSpinnerComponent] });
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuSpinnerModule, decorators: [{
|
|
120
118
|
type: NgModule,
|
|
121
119
|
args: [{
|
|
122
|
-
declarations: [
|
|
120
|
+
declarations: [],
|
|
123
121
|
imports: [
|
|
124
|
-
CommonModule
|
|
122
|
+
CommonModule, MatecuSpinnerComponent
|
|
125
123
|
],
|
|
126
124
|
exports: [
|
|
127
125
|
MatecuSpinnerComponent
|
|
@@ -134,28 +132,29 @@ class MatecuTopbarLayoutComponent {
|
|
|
134
132
|
this.className = 'matecu-topbar-layout';
|
|
135
133
|
this.showSearchInput = false;
|
|
136
134
|
this.search = false;
|
|
137
|
-
this.searchInput = new
|
|
135
|
+
this.searchInput = new UntypedFormControl();
|
|
138
136
|
this.isProminent = false;
|
|
137
|
+
this.hasTwoRows = false;
|
|
138
|
+
this.destroySpyScroll$ = new Subject();
|
|
139
139
|
this.scrollingClass = 'matecu-topbar-layout--scrolling';
|
|
140
140
|
this.prominentClass = 'matecu-topbar-layout--prominent';
|
|
141
141
|
this.color = 'primary';
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
this.
|
|
145
|
-
this.
|
|
142
|
+
}
|
|
143
|
+
set twoRows(value) {
|
|
144
|
+
this.hasTwoRows = value;
|
|
145
|
+
this.setProminentClassValue();
|
|
146
146
|
}
|
|
147
147
|
set prominent(value) {
|
|
148
148
|
this.isProminent = value;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
this.className = this.className.replace(regex, '').trim();
|
|
155
|
-
}
|
|
149
|
+
this.setProminentClassValue();
|
|
150
|
+
}
|
|
151
|
+
ngOnDestroy() {
|
|
152
|
+
this.destroySpyScroll$.next();
|
|
153
|
+
this.destroySpyScroll$.complete();
|
|
156
154
|
}
|
|
157
155
|
ngAfterViewInit() {
|
|
158
|
-
this.
|
|
156
|
+
this.destroySpyScroll$.next();
|
|
157
|
+
this.spyScroll().pipe(takeUntil(this.destroySpyScroll$)).subscribe();
|
|
159
158
|
}
|
|
160
159
|
toogleSearch() {
|
|
161
160
|
this.showSearchInput = !this.showSearchInput;
|
|
@@ -165,17 +164,13 @@ class MatecuTopbarLayoutComponent {
|
|
|
165
164
|
this.searchInput.reset();
|
|
166
165
|
}
|
|
167
166
|
onMenuClick() { }
|
|
168
|
-
onClickNavMenu() {
|
|
169
|
-
this.clickNavMenu.emit();
|
|
170
|
-
}
|
|
171
|
-
onClickActionMenu() {
|
|
172
|
-
this.clickActionMenu.emit();
|
|
173
|
-
}
|
|
174
167
|
spyScroll() {
|
|
175
|
-
const
|
|
176
|
-
if (!
|
|
168
|
+
const scrollabes = document.querySelectorAll('.matecu-topbar-body');
|
|
169
|
+
if (!scrollabes || scrollabes.length === 0) {
|
|
177
170
|
return of(null);
|
|
178
171
|
}
|
|
172
|
+
const lastindex = scrollabes.length - 1;
|
|
173
|
+
const scrollabe = scrollabes[lastindex];
|
|
179
174
|
return fromEvent(scrollabe, 'scroll').pipe(tap(() => this.applyScrollStyles(scrollabe)), map(() => scrollabe));
|
|
180
175
|
}
|
|
181
176
|
applyScrollStyles(scrollabe) {
|
|
@@ -196,25 +191,28 @@ class MatecuTopbarLayoutComponent {
|
|
|
196
191
|
this.className = this.className.replace(regexp, '').trim();
|
|
197
192
|
}
|
|
198
193
|
}
|
|
194
|
+
setProminentClassValue() {
|
|
195
|
+
if (this.isProminent && !this.hasTwoRows) {
|
|
196
|
+
this.className += ' ' + this.prominentClass;
|
|
197
|
+
}
|
|
198
|
+
else {
|
|
199
|
+
const regex = new RegExp(this.prominentClass, 'ig');
|
|
200
|
+
this.className = this.className.replace(regex, '').trim();
|
|
201
|
+
}
|
|
202
|
+
}
|
|
199
203
|
}
|
|
200
|
-
MatecuTopbarLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
201
|
-
MatecuTopbarLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
204
|
+
MatecuTopbarLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
205
|
+
MatecuTopbarLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: MatecuTopbarLayoutComponent, isStandalone: true, selector: "matecu-topbar-layout", inputs: { color: "color", twoRows: "twoRows", prominent: "prominent" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: " <mat-toolbar [color]=\"color\">\n \n <mat-toolbar-row>\n <ng-content select=\"matecu-topbar-header-row:not([position])\"></ng-content>\n <ng-content select=\"matecu-topbar-header-row[position='first']\"></ng-content>\n </mat-toolbar-row>\n <mat-toolbar-row *ngIf=\"hasTwoRows\">\n <ng-content select=\"matecu-topbar-header-row[position='second']\"></ng-content>\n </mat-toolbar-row>\n </mat-toolbar>\n <ng-content select=\"matecu-topbar-body\"></ng-content>\n", styles: [":host,.matecu-topbar-layout{display:grid;height:100vh;max-width:100vw;grid-template-rows:auto 1fr;position:relative;overflow:hidden}:host,:host *,.matecu-topbar-layout,.matecu-topbar-layout *{box-sizing:border-box}:host mat-toolbar,.matecu-topbar-layout mat-toolbar{display:block;position:relative;transition:all .3s;min-height:auto!important}:host matecu-topbar-row,.matecu-topbar-layout matecu-topbar-row{white-space:normal;justify-content:space-between;column-gap:1px}:host matecu-topbar-row:first-of-type,.matecu-topbar-layout matecu-topbar-row:first-of-type{min-height:100%}:host.matecu-topbar-layout--prominent .mat-toolbar{height:128px;max-height:128px}:host.matecu-topbar-layout--prominent mat-toolbar-row{align-items:flex-start;min-height:100%}:host.matecu-topbar-layout--scrolling .mat-toolbar{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}:host.matecu-topbar-layout--scrolling.matecu-topbar-layout--prominent .mat-toolbar{height:64px;max-height:64px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i2.MatToolbarRow, selector: "mat-toolbar-row", exportAs: ["matToolbarRow"] }] });
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarLayoutComponent, decorators: [{
|
|
203
207
|
type: Component,
|
|
204
|
-
args: [{ selector: 'matecu-topbar-layout', template: " <mat-toolbar [color]=\"color\">\n
|
|
208
|
+
args: [{ selector: 'matecu-topbar-layout', standalone: true, imports: [CommonModule, MatButtonModule, MatIconModule, MatToolbarModule], template: " <mat-toolbar [color]=\"color\">\n \n <mat-toolbar-row>\n <ng-content select=\"matecu-topbar-header-row:not([position])\"></ng-content>\n <ng-content select=\"matecu-topbar-header-row[position='first']\"></ng-content>\n </mat-toolbar-row>\n <mat-toolbar-row *ngIf=\"hasTwoRows\">\n <ng-content select=\"matecu-topbar-header-row[position='second']\"></ng-content>\n </mat-toolbar-row>\n </mat-toolbar>\n <ng-content select=\"matecu-topbar-body\"></ng-content>\n", styles: [":host,.matecu-topbar-layout{display:grid;height:100vh;max-width:100vw;grid-template-rows:auto 1fr;position:relative;overflow:hidden}:host,:host *,.matecu-topbar-layout,.matecu-topbar-layout *{box-sizing:border-box}:host mat-toolbar,.matecu-topbar-layout mat-toolbar{display:block;position:relative;transition:all .3s;min-height:auto!important}:host matecu-topbar-row,.matecu-topbar-layout matecu-topbar-row{white-space:normal;justify-content:space-between;column-gap:1px}:host matecu-topbar-row:first-of-type,.matecu-topbar-layout matecu-topbar-row:first-of-type{min-height:100%}:host.matecu-topbar-layout--prominent .mat-toolbar{height:128px;max-height:128px}:host.matecu-topbar-layout--prominent mat-toolbar-row{align-items:flex-start;min-height:100%}:host.matecu-topbar-layout--scrolling .mat-toolbar{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}:host.matecu-topbar-layout--scrolling.matecu-topbar-layout--prominent .mat-toolbar{height:64px;max-height:64px}\n"] }]
|
|
205
209
|
}], ctorParameters: function () { return []; }, propDecorators: { className: [{
|
|
206
210
|
type: HostBinding,
|
|
207
211
|
args: ['class']
|
|
208
212
|
}], color: [{
|
|
209
213
|
type: Input
|
|
210
|
-
}],
|
|
214
|
+
}], twoRows: [{
|
|
211
215
|
type: Input
|
|
212
|
-
}], actionMenu: [{
|
|
213
|
-
type: Input
|
|
214
|
-
}], clickNavMenu: [{
|
|
215
|
-
type: Output
|
|
216
|
-
}], clickActionMenu: [{
|
|
217
|
-
type: Output
|
|
218
216
|
}], prominent: [{
|
|
219
217
|
type: Input
|
|
220
218
|
}] } });
|
|
@@ -226,11 +224,11 @@ class MatecuTopbarTitleComponent {
|
|
|
226
224
|
ngOnInit() {
|
|
227
225
|
}
|
|
228
226
|
}
|
|
229
|
-
MatecuTopbarTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
230
|
-
MatecuTopbarTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
227
|
+
MatecuTopbarTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
228
|
+
MatecuTopbarTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: MatecuTopbarTitleComponent, isStandalone: true, selector: "matecu-topbar-title", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{flex-grow:5;display:flex;align-items:center;margin-right:auto;padding:7px 1rem;max-height:100%;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;align-self:center}\n"] });
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarTitleComponent, decorators: [{
|
|
232
230
|
type: Component,
|
|
233
|
-
args: [{ selector: 'matecu-topbar-title', template: "<ng-content></ng-content>", styles: [":host{display:flex;align-items:center;margin-right:auto;padding:7px 1rem;
|
|
231
|
+
args: [{ selector: 'matecu-topbar-title', standalone: true, template: "<ng-content></ng-content>", styles: [":host{flex-grow:5;display:flex;align-items:center;margin-right:auto;padding:7px 1rem;max-height:100%;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;align-self:center}\n"] }]
|
|
234
232
|
}], ctorParameters: function () { return []; }, propDecorators: { className: [{
|
|
235
233
|
type: HostBinding,
|
|
236
234
|
args: ['class']
|
|
@@ -252,11 +250,11 @@ class MatecuTopbarBodyComponent {
|
|
|
252
250
|
}
|
|
253
251
|
}
|
|
254
252
|
}
|
|
255
|
-
MatecuTopbarBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
256
|
-
MatecuTopbarBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
257
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
253
|
+
MatecuTopbarBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarBodyComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
254
|
+
MatecuTopbarBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: MatecuTopbarBodyComponent, isStandalone: true, selector: "matecu-topbar-body", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>", styles: [":host{display:block;padding:0;padding-top:2rem;overflow-y:auto}@media screen and (max-width: 770px){:host{padding-bottom:80px}}\n"] });
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarBodyComponent, decorators: [{
|
|
258
256
|
type: Component,
|
|
259
|
-
args: [{ selector: 'matecu-topbar-body', template: "<ng-content></ng-content>", styles: [":host{display:block;padding:0;padding-top:2rem;overflow-y:auto}@media screen and (max-width: 770px){:host{padding-bottom:80px}}\n"] }]
|
|
257
|
+
args: [{ selector: 'matecu-topbar-body', standalone: true, template: "<ng-content></ng-content>", styles: [":host{display:block;padding:0;padding-top:2rem;overflow-y:auto}@media screen and (max-width: 770px){:host{padding-bottom:80px}}\n"] }]
|
|
260
258
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { className: [{
|
|
261
259
|
type: HostBinding,
|
|
262
260
|
args: ['class']
|
|
@@ -274,11 +272,11 @@ class MatecuTopbarFabComponent {
|
|
|
274
272
|
this.clickAction.emit();
|
|
275
273
|
}
|
|
276
274
|
}
|
|
277
|
-
MatecuTopbarFabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
278
|
-
MatecuTopbarFabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
275
|
+
MatecuTopbarFabComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarFabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
276
|
+
MatecuTopbarFabComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: MatecuTopbarFabComponent, isStandalone: true, selector: "matecu-topbar-fab", inputs: { color: "color", extended: "extended" }, outputs: { clickAction: "clickAction" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: " <button type=\"button\" mat-fab [ngClass]=\"{'extended': extended}\" [color]=\"color\" (click)=\"onClickAction()\">\n <ng-content></ng-content>\n </button>\n", styles: [":host{display:flex;align-items:flex-end;height:100%;position:relative;z-index:2}:host button{transform:translateY(50%)}:host button.extended{border-radius:27px;height:55px;width:auto;padding:0 1rem!important}@media screen and (max-width: 768px){:host{height:auto;position:fixed;bottom:1rem;right:1rem;transform:initial}:host button{transform:translateY(0)}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatFabButton, selector: "button[mat-fab]", inputs: ["disabled", "disableRipple", "color", "tabIndex", "extended"], exportAs: ["matButton"] }] });
|
|
277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarFabComponent, decorators: [{
|
|
280
278
|
type: Component,
|
|
281
|
-
args: [{ selector: 'matecu-topbar-fab', template: " <button type=\"button\" mat-fab [ngClass]=\"{'extended': extended}\" [color]=\"color\" (click)=\"onClickAction()\">\n <ng-content></ng-content>\n </button>\n", styles: [":host{display:flex;align-items:flex-end;height:100%;position:relative;z-index:2}:host button{transform:translateY(50%)}:host button.extended{border-radius:27px;height:55px;width:auto;padding:0 1rem!important}@media screen and (max-width: 768px){:host{height:auto;position:fixed;bottom:1rem;right:1rem;transform:initial}:host button{transform:translateY(0)}}\n"] }]
|
|
279
|
+
args: [{ selector: 'matecu-topbar-fab', standalone: true, imports: [CommonModule, MatButtonModule], template: " <button type=\"button\" mat-fab [ngClass]=\"{'extended': extended}\" [color]=\"color\" (click)=\"onClickAction()\">\n <ng-content></ng-content>\n </button>\n", styles: [":host{display:flex;align-items:flex-end;height:100%;position:relative;z-index:2}:host button{transform:translateY(50%)}:host button.extended{border-radius:27px;height:55px;width:auto;padding:0 1rem!important}@media screen and (max-width: 768px){:host{height:auto;position:fixed;bottom:1rem;right:1rem;transform:initial}:host button{transform:translateY(0)}}\n"] }]
|
|
282
280
|
}], ctorParameters: function () { return []; }, propDecorators: { color: [{
|
|
283
281
|
type: Input
|
|
284
282
|
}], extended: [{
|
|
@@ -293,7 +291,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
293
291
|
class MatecuTopbarSearchComponent {
|
|
294
292
|
constructor() {
|
|
295
293
|
this.showMobileInput = false;
|
|
296
|
-
this.searchInput = new
|
|
294
|
+
this.searchInput = new UntypedFormControl();
|
|
297
295
|
this.showDescktopCleanBtn = false;
|
|
298
296
|
this.destroy = new Subject();
|
|
299
297
|
this.searchPlaceholder = 'Buscar';
|
|
@@ -338,11 +336,11 @@ class MatecuTopbarSearchComponent {
|
|
|
338
336
|
this.showDescktopCleanBtn = typeof value === 'string' && value.length > 0;
|
|
339
337
|
}
|
|
340
338
|
}
|
|
341
|
-
MatecuTopbarSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
342
|
-
MatecuTopbarSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
343
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
339
|
+
MatecuTopbarSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
340
|
+
MatecuTopbarSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: MatecuTopbarSearchComponent, isStandalone: true, selector: "matecu-topbar-search", inputs: { searchPlaceholder: "searchPlaceholder", debounceTime: "debounceTime", inputType: "inputType", cleanWhenClose: "cleanWhenClose", value: "value" }, outputs: { valueChange: "valueChange", whenSearchChanges: "whenSearchChanges" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<button mat-icon-button class=\"only-mobile\" (click)=\"toogleSearch()\">\n <mat-icon>search</mat-icon>\n</button>\n\n<div class=\"matecu-topbar-search__input\" [ngClass]=\"{'mobile-input-active': showMobileInput}\">\n <mat-icon>search</mat-icon>\n <input [type]=\"inputType\" [formControl]=\"searchInput\" [placeholder]=\"searchPlaceholder\" />\n <button mat-icon-button (click)=\"closeMobile()\" [ngClass]=\"{'show-btn': showDescktopCleanBtn}\">\n <mat-icon>close</mat-icon>\n </button>\n\n</div>\n", styles: [":host{flex-grow:1;display:flex;justify-content:flex-end;align-items:center;position:relative;padding:7px;min-height:64px;max-height:64px;box-sizing:border-box}:host *{box-sizing:border-box;outline:none}:host .matecu-topbar-search__input{display:block;position:relative;z-index:2}:host .matecu-topbar-search__input input{border:transparent;border-radius:4px;padding:5px 35px 5px 40px;background-color:#ffffff4d;min-width:200px;width:200px;transition:all .3s ease-in-out;height:39px;color:currentColor}:host .matecu-topbar-search__input input:focus{min-width:290px}:host .matecu-topbar-search__input input::placeholder{color:currentColor}:host .matecu-topbar-search__input input[type=search]::-webkit-search-decoration,:host .matecu-topbar-search__input input[type=search]::-webkit-search-cancel-button,:host .matecu-topbar-search__input input[type=search]::-webkit-search-results-button,:host .matecu-topbar-search__input input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}:host .matecu-topbar-search__input>mat-icon{position:absolute;left:12px;top:10px}:host .matecu-topbar-search__input button{position:absolute;right:0;top:0;transform:scale(0);transition:transform .3s ease-in-out}:host .matecu-topbar-search__input button mat-icon{font-size:20px}:host .matecu-topbar-search__input button.show-btn{transform:scale(1)}@media screen and (max-width: 768px){:host .matecu-topbar-search__input{position:fixed;top:0;left:0;right:0;height:64px;color:#333;transform:translateY(-110%);transition:all .3s ease-in-out}:host .matecu-topbar-search__input input{width:100%;height:100%;background-color:#fff;border-radius:0;padding-right:30px}:host .matecu-topbar-search__input input:focus{min-width:100%}:host .matecu-topbar-search__input>mat-icon{top:20px}:host .matecu-topbar-search__input button{position:absolute;right:5px;top:10px;transform:scale(1)}}:host .matecu-topbar-search__input.mobile-input-active{transform:translateY(0)}@media screen and (max-width: 768px){:host .matecu-topbar-search__input.mobile-input-active{display:block}}:host .only-mobile{display:none}@media screen and (max-width: 768px){:host .only-mobile{display:block}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] });
|
|
341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarSearchComponent, decorators: [{
|
|
344
342
|
type: Component,
|
|
345
|
-
args: [{ selector: 'matecu-topbar-search', template: "<button mat-icon-button class=\"only-mobile\" (click)=\"toogleSearch()\">\n <mat-icon>search</mat-icon>\n</button>\n\n<div class=\"matecu-topbar-search__input\" [ngClass]=\"{'mobile-input-active': showMobileInput}\">\n <mat-icon>search</mat-icon>\n <input [type]=\"inputType\" [formControl]=\"searchInput\" [placeholder]=\"searchPlaceholder\" />\n <button mat-icon-button (click)=\"closeMobile()\" [ngClass]=\"{'show-btn': showDescktopCleanBtn}\">\n <mat-icon>close</mat-icon>\n </button>\n\n</div>\n", styles: [":host{display:flex;align-items:center;position:relative;padding:7px;min-height:64px;box-sizing:border-box}:host .matecu-topbar-search__input{display:block;position:relative;z-index:2}:host .matecu-topbar-search__input input{border:transparent;border-radius:4px;padding:5px 35px 5px 40px;background-color:#ffffff4d;min-width:200px;width:200px;transition:all .3s ease-in-out;height:39px;color:currentColor}:host .matecu-topbar-search__input input:focus{min-width:290px}:host .matecu-topbar-search__input input::placeholder{color:currentColor}:host .matecu-topbar-search__input input[type=search]::-webkit-search-decoration,:host .matecu-topbar-search__input input[type=search]::-webkit-search-cancel-button,:host .matecu-topbar-search__input input[type=search]::-webkit-search-results-button,:host .matecu-topbar-search__input input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}:host .matecu-topbar-search__input>mat-icon{position:absolute;left:12px;top:10px}:host .matecu-topbar-search__input button{position:absolute;right:
|
|
343
|
+
args: [{ selector: 'matecu-topbar-search', standalone: true, imports: [CommonModule, FormsModule, ReactiveFormsModule, MatIconModule, MatButtonModule], template: "<button mat-icon-button class=\"only-mobile\" (click)=\"toogleSearch()\">\n <mat-icon>search</mat-icon>\n</button>\n\n<div class=\"matecu-topbar-search__input\" [ngClass]=\"{'mobile-input-active': showMobileInput}\">\n <mat-icon>search</mat-icon>\n <input [type]=\"inputType\" [formControl]=\"searchInput\" [placeholder]=\"searchPlaceholder\" />\n <button mat-icon-button (click)=\"closeMobile()\" [ngClass]=\"{'show-btn': showDescktopCleanBtn}\">\n <mat-icon>close</mat-icon>\n </button>\n\n</div>\n", styles: [":host{flex-grow:1;display:flex;justify-content:flex-end;align-items:center;position:relative;padding:7px;min-height:64px;max-height:64px;box-sizing:border-box}:host *{box-sizing:border-box;outline:none}:host .matecu-topbar-search__input{display:block;position:relative;z-index:2}:host .matecu-topbar-search__input input{border:transparent;border-radius:4px;padding:5px 35px 5px 40px;background-color:#ffffff4d;min-width:200px;width:200px;transition:all .3s ease-in-out;height:39px;color:currentColor}:host .matecu-topbar-search__input input:focus{min-width:290px}:host .matecu-topbar-search__input input::placeholder{color:currentColor}:host .matecu-topbar-search__input input[type=search]::-webkit-search-decoration,:host .matecu-topbar-search__input input[type=search]::-webkit-search-cancel-button,:host .matecu-topbar-search__input input[type=search]::-webkit-search-results-button,:host .matecu-topbar-search__input input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}:host .matecu-topbar-search__input>mat-icon{position:absolute;left:12px;top:10px}:host .matecu-topbar-search__input button{position:absolute;right:0;top:0;transform:scale(0);transition:transform .3s ease-in-out}:host .matecu-topbar-search__input button mat-icon{font-size:20px}:host .matecu-topbar-search__input button.show-btn{transform:scale(1)}@media screen and (max-width: 768px){:host .matecu-topbar-search__input{position:fixed;top:0;left:0;right:0;height:64px;color:#333;transform:translateY(-110%);transition:all .3s ease-in-out}:host .matecu-topbar-search__input input{width:100%;height:100%;background-color:#fff;border-radius:0;padding-right:30px}:host .matecu-topbar-search__input input:focus{min-width:100%}:host .matecu-topbar-search__input>mat-icon{top:20px}:host .matecu-topbar-search__input button{position:absolute;right:5px;top:10px;transform:scale(1)}}:host .matecu-topbar-search__input.mobile-input-active{transform:translateY(0)}@media screen and (max-width: 768px){:host .matecu-topbar-search__input.mobile-input-active{display:block}}:host .only-mobile{display:none}@media screen and (max-width: 768px){:host .only-mobile{display:block}}\n"] }]
|
|
346
344
|
}], ctorParameters: function () { return []; }, propDecorators: { searchPlaceholder: [{
|
|
347
345
|
type: Input
|
|
348
346
|
}], debounceTime: [{
|
|
@@ -362,55 +360,65 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
362
360
|
args: ['class']
|
|
363
361
|
}] } });
|
|
364
362
|
|
|
365
|
-
class
|
|
363
|
+
class MatecuTopbarActionComponent {
|
|
366
364
|
constructor() { }
|
|
367
365
|
ngOnInit() { }
|
|
368
366
|
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
367
|
+
MatecuTopbarActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
368
|
+
MatecuTopbarActionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: MatecuTopbarActionComponent, isStandalone: true, selector: "matecu-topbar-action", ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:flex;align-items:center;min-height:64px;max-height:64px}\n"] });
|
|
369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarActionComponent, decorators: [{
|
|
372
370
|
type: Component,
|
|
373
|
-
args: [{ selector: 'matecu-topbar-
|
|
371
|
+
args: [{ selector: 'matecu-topbar-action', standalone: true, template: "<ng-content></ng-content>\n", styles: [":host{display:flex;align-items:center;min-height:64px;max-height:64px}\n"] }]
|
|
374
372
|
}], ctorParameters: function () { return []; } });
|
|
375
373
|
|
|
374
|
+
class MatecuTopbarHeaderRowComponent {
|
|
375
|
+
}
|
|
376
|
+
MatecuTopbarHeaderRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarHeaderRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
377
|
+
MatecuTopbarHeaderRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: MatecuTopbarHeaderRowComponent, isStandalone: true, selector: "matecu-topbar-header-row", ngImport: i0, template: " <ng-content select=\"matecu-topbar-action[position='left']\"></ng-content>\n <ng-content select=\"matecu-topbar-fab\"></ng-content>\n <ng-content select=\"matecu-topbar-action[position='after-fab']\"></ng-content>\n <ng-content select=\"matecu-topbar-title\"></ng-content>\n <ng-content select=\"matecu-topbar-action[position='before-search']\"></ng-content>\n <ng-content select=\"matecu-topbar-search\"></ng-content>\n <ng-content select=\"matecu-topbar-action:not([position])\"></ng-content>\n <ng-content select=\"matecu-topbar-action[position='right']\"></ng-content>", styles: [":host{display:flex;white-space:normal;justify-content:space-between;column-gap:1px;width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatToolbarModule }] });
|
|
378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarHeaderRowComponent, decorators: [{
|
|
379
|
+
type: Component,
|
|
380
|
+
args: [{ selector: 'matecu-topbar-header-row', standalone: true, imports: [CommonModule, MatToolbarModule], template: " <ng-content select=\"matecu-topbar-action[position='left']\"></ng-content>\n <ng-content select=\"matecu-topbar-fab\"></ng-content>\n <ng-content select=\"matecu-topbar-action[position='after-fab']\"></ng-content>\n <ng-content select=\"matecu-topbar-title\"></ng-content>\n <ng-content select=\"matecu-topbar-action[position='before-search']\"></ng-content>\n <ng-content select=\"matecu-topbar-search\"></ng-content>\n <ng-content select=\"matecu-topbar-action:not([position])\"></ng-content>\n <ng-content select=\"matecu-topbar-action[position='right']\"></ng-content>", styles: [":host{display:flex;white-space:normal;justify-content:space-between;column-gap:1px;width:100%;height:100%}\n"] }]
|
|
381
|
+
}] });
|
|
382
|
+
|
|
376
383
|
class MatecuTopbarLayoutModule {
|
|
377
384
|
}
|
|
378
|
-
MatecuTopbarLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
379
|
-
MatecuTopbarLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
385
|
+
MatecuTopbarLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
386
|
+
MatecuTopbarLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarLayoutModule, imports: [CommonModule,
|
|
387
|
+
MatToolbarModule,
|
|
388
|
+
MatIconModule,
|
|
389
|
+
FormsModule,
|
|
390
|
+
ReactiveFormsModule,
|
|
391
|
+
MatButtonModule,
|
|
392
|
+
MatecuTopbarLayoutComponent,
|
|
393
|
+
MatecuTopbarTitleComponent,
|
|
394
|
+
MatecuTopbarBodyComponent,
|
|
395
|
+
MatecuTopbarFabComponent,
|
|
396
|
+
MatecuTopbarSearchComponent,
|
|
397
|
+
MatecuTopbarActionComponent,
|
|
398
|
+
MatecuTopbarHeaderRowComponent], exports: [MatecuTopbarLayoutComponent,
|
|
380
399
|
MatecuTopbarTitleComponent,
|
|
381
400
|
MatecuTopbarBodyComponent,
|
|
382
401
|
MatecuTopbarFabComponent,
|
|
383
402
|
MatecuTopbarSearchComponent,
|
|
384
|
-
|
|
403
|
+
MatecuTopbarActionComponent,
|
|
404
|
+
MatecuTopbarHeaderRowComponent] });
|
|
405
|
+
MatecuTopbarLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarLayoutModule, imports: [CommonModule,
|
|
385
406
|
MatToolbarModule,
|
|
386
407
|
MatIconModule,
|
|
387
408
|
FormsModule,
|
|
388
409
|
ReactiveFormsModule,
|
|
389
|
-
MatButtonModule
|
|
410
|
+
MatButtonModule,
|
|
411
|
+
MatecuTopbarLayoutComponent,
|
|
390
412
|
MatecuTopbarTitleComponent,
|
|
391
413
|
MatecuTopbarBodyComponent,
|
|
392
414
|
MatecuTopbarFabComponent,
|
|
393
415
|
MatecuTopbarSearchComponent,
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
MatToolbarModule,
|
|
398
|
-
MatIconModule,
|
|
399
|
-
FormsModule,
|
|
400
|
-
ReactiveFormsModule,
|
|
401
|
-
MatButtonModule,
|
|
402
|
-
]] });
|
|
403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: MatecuTopbarLayoutModule, decorators: [{
|
|
416
|
+
MatecuTopbarActionComponent,
|
|
417
|
+
MatecuTopbarHeaderRowComponent] });
|
|
418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuTopbarLayoutModule, decorators: [{
|
|
404
419
|
type: NgModule,
|
|
405
420
|
args: [{
|
|
406
|
-
declarations: [
|
|
407
|
-
MatecuTopbarLayoutComponent,
|
|
408
|
-
MatecuTopbarTitleComponent,
|
|
409
|
-
MatecuTopbarBodyComponent,
|
|
410
|
-
MatecuTopbarFabComponent,
|
|
411
|
-
MatecuTopbarSearchComponent,
|
|
412
|
-
MatecuTopbarActionsComponent,
|
|
413
|
-
],
|
|
421
|
+
declarations: [],
|
|
414
422
|
imports: [
|
|
415
423
|
CommonModule,
|
|
416
424
|
MatToolbarModule,
|
|
@@ -418,6 +426,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
418
426
|
FormsModule,
|
|
419
427
|
ReactiveFormsModule,
|
|
420
428
|
MatButtonModule,
|
|
429
|
+
MatecuTopbarLayoutComponent,
|
|
430
|
+
MatecuTopbarTitleComponent,
|
|
431
|
+
MatecuTopbarBodyComponent,
|
|
432
|
+
MatecuTopbarFabComponent,
|
|
433
|
+
MatecuTopbarSearchComponent,
|
|
434
|
+
MatecuTopbarActionComponent,
|
|
435
|
+
MatecuTopbarHeaderRowComponent
|
|
421
436
|
],
|
|
422
437
|
exports: [
|
|
423
438
|
MatecuTopbarLayoutComponent,
|
|
@@ -425,7 +440,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
425
440
|
MatecuTopbarBodyComponent,
|
|
426
441
|
MatecuTopbarFabComponent,
|
|
427
442
|
MatecuTopbarSearchComponent,
|
|
428
|
-
|
|
443
|
+
MatecuTopbarActionComponent,
|
|
444
|
+
MatecuTopbarHeaderRowComponent
|
|
429
445
|
],
|
|
430
446
|
}]
|
|
431
447
|
}] });
|
|
@@ -484,11 +500,11 @@ class MatecuAlertBoxComponent {
|
|
|
484
500
|
}
|
|
485
501
|
}
|
|
486
502
|
}
|
|
487
|
-
MatecuAlertBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
488
|
-
MatecuAlertBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
503
|
+
MatecuAlertBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuAlertBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
504
|
+
MatecuAlertBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: MatecuAlertBoxComponent, isStandalone: true, selector: "matecu-alert-box", inputs: { color: "color", icon: "icon" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-container *ngIf=\"icon && iconValue\">\n <div class=\"matecu-alert-box__icon\">\n <mat-icon>{{iconValue}}</mat-icon>\n </div>\n</ng-container>\n<div class=\"matecu-alert-box__content\">\n <ng-content>\n\n\n </ng-content>\n</div>\n", styles: [":host.matecu-alert-box{display:flex;padding:1rem;border-radius:.25rem;position:relative;border:1px solid rgb(224,224,224);box-sizing:border-box;margin:1rem 0}:host.matecu-alert-box--success{color:#0f5032;background-color:#d2e6dc;border-color:#badccd}:host.matecu-alert-box--danger{color:#821e28;background-color:#f8d7da;border-color:#f5c2c7}:host.matecu-alert-box--warning{color:#644d03;background-color:#fff3cd;border-color:#ffecb4}:host.matecu-alert-box--info{color:#055160;background-color:#cff4fc;border-color:#b6effb}:host.matecu-alert-box .matecu-alert-box__icon{display:flex;margin-right:1rem}:host.matecu-alert-box .matecu-alert-box__content{align-self:center}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuAlertBoxComponent, decorators: [{
|
|
490
506
|
type: Component,
|
|
491
|
-
args: [{ selector: 'matecu-alert-box', template: "<ng-container *ngIf=\"icon && iconValue\">\n <div class=\"matecu-alert-box__icon\">\n <mat-icon>{{iconValue}}</mat-icon>\n </div>\n</ng-container>\n<div class=\"matecu-alert-box__content\">\n <ng-content>\n\n\n </ng-content>\n</div>\n", styles: [":host.matecu-alert-box{display:flex;padding:1rem;border-radius:.25rem;position:relative;border:1px solid
|
|
507
|
+
args: [{ selector: 'matecu-alert-box', standalone: true, imports: [CommonModule, MatIconModule], template: "<ng-container *ngIf=\"icon && iconValue\">\n <div class=\"matecu-alert-box__icon\">\n <mat-icon>{{iconValue}}</mat-icon>\n </div>\n</ng-container>\n<div class=\"matecu-alert-box__content\">\n <ng-content>\n\n\n </ng-content>\n</div>\n", styles: [":host.matecu-alert-box{display:flex;padding:1rem;border-radius:.25rem;position:relative;border:1px solid rgb(224,224,224);box-sizing:border-box;margin:1rem 0}:host.matecu-alert-box--success{color:#0f5032;background-color:#d2e6dc;border-color:#badccd}:host.matecu-alert-box--danger{color:#821e28;background-color:#f8d7da;border-color:#f5c2c7}:host.matecu-alert-box--warning{color:#644d03;background-color:#fff3cd;border-color:#ffecb4}:host.matecu-alert-box--info{color:#055160;background-color:#cff4fc;border-color:#b6effb}:host.matecu-alert-box .matecu-alert-box__icon{display:flex;margin-right:1rem}:host.matecu-alert-box .matecu-alert-box__content{align-self:center}\n"] }]
|
|
492
508
|
}], ctorParameters: function () { return []; }, propDecorators: { color: [{
|
|
493
509
|
type: Input
|
|
494
510
|
}], icon: [{
|
|
@@ -532,15 +548,15 @@ class MatecuAlertDialogComponent {
|
|
|
532
548
|
return isValid;
|
|
533
549
|
}
|
|
534
550
|
}
|
|
535
|
-
MatecuAlertDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
536
|
-
MatecuAlertDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
551
|
+
MatecuAlertDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuAlertDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1$1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
552
|
+
MatecuAlertDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: MatecuAlertDialogComponent, isStandalone: true, selector: "matecu-alert-dialog", ngImport: i0, template: "<h2 mat-dialog-title *ngIf=\"hasTitle\">{{dialogData.title}}</h2>\n<mat-dialog-content>\n\n <matecu-alert-box [color]=\"dialogData.type\" [icon]=\"!!dialogData.icon\">\n {{dialogData.message}}\n </matecu-alert-box>\n\n</mat-dialog-content>\n<mat-dialog-actions *ngIf=\"showActions\" align=\"end\">\n <button mat-button color=\"primary\" tabindex=\"-1\" mat-dialog-close\n *ngIf=\"hasDismissBtn\">{{dialogData.dismissText}}</button>\n <button mat-button color=\"primary\" tabindex=\"-2\" (click)=\"activateAction()\"\n *ngIf=\"hasActionBtn\">{{dialogData.action}}</button>\n</mat-dialog-actions>\n", styles: [":host matecu-alert-box{max-width:900px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: i1$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: MatecuAlertBoxComponent, selector: "matecu-alert-box", inputs: ["color", "icon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }] });
|
|
553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuAlertDialogComponent, decorators: [{
|
|
538
554
|
type: Component,
|
|
539
|
-
args: [{ selector: 'matecu-alert-dialog', template: "<h2 mat-dialog-title *ngIf=\"hasTitle\">{{dialogData.title}}</h2>\n<mat-dialog-content>\n\n <matecu-alert-box [color]=\"dialogData.type\" [icon]=\"!!dialogData.icon\">\n {{dialogData.message}}\n </matecu-alert-box>\n\n</mat-dialog-content>\n<mat-dialog-actions *ngIf=\"showActions\" align=\"end\">\n <button mat-button color=\"primary\" tabindex=\"-1\" mat-dialog-close\n *ngIf=\"hasDismissBtn\">{{dialogData.dismissText}}</button>\n <button mat-button color=\"primary\" tabindex=\"-2\" (click)=\"activateAction()\"\n *ngIf=\"hasActionBtn\">{{dialogData.action}}</button>\n</mat-dialog-actions>\n", styles: [":host matecu-alert-box{max-width:900px}\n"] }]
|
|
555
|
+
args: [{ selector: 'matecu-alert-dialog', standalone: true, imports: [CommonModule, MatDialogModule, MatIconModule, MatecuAlertBoxComponent, MatButtonModule], template: "<h2 mat-dialog-title *ngIf=\"hasTitle\">{{dialogData.title}}</h2>\n<mat-dialog-content>\n\n <matecu-alert-box [color]=\"dialogData.type\" [icon]=\"!!dialogData.icon\">\n {{dialogData.message}}\n </matecu-alert-box>\n\n</mat-dialog-content>\n<mat-dialog-actions *ngIf=\"showActions\" align=\"end\">\n <button mat-button color=\"primary\" tabindex=\"-1\" mat-dialog-close\n *ngIf=\"hasDismissBtn\">{{dialogData.dismissText}}</button>\n <button mat-button color=\"primary\" tabindex=\"-2\" (click)=\"activateAction()\"\n *ngIf=\"hasActionBtn\">{{dialogData.action}}</button>\n</mat-dialog-actions>\n", styles: [":host matecu-alert-box{max-width:900px}\n"] }]
|
|
540
556
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
541
557
|
type: Inject,
|
|
542
558
|
args: [MAT_DIALOG_DATA]
|
|
543
|
-
}] }, { type: i1$
|
|
559
|
+
}] }, { type: i1$1.MatDialogRef }]; } });
|
|
544
560
|
|
|
545
561
|
class MatecuAlertSnackBarComponent {
|
|
546
562
|
constructor(data, snackBarRef) {
|
|
@@ -564,29 +580,29 @@ class MatecuAlertSnackBarComponent {
|
|
|
564
580
|
this.snackBarRef.dismissWithAction();
|
|
565
581
|
}
|
|
566
582
|
}
|
|
567
|
-
MatecuAlertSnackBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
568
|
-
MatecuAlertSnackBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
583
|
+
MatecuAlertSnackBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuAlertSnackBarComponent, deps: [{ token: MAT_SNACK_BAR_DATA }, { token: i1$2.MatSnackBarRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
584
|
+
MatecuAlertSnackBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.2", type: MatecuAlertSnackBarComponent, isStandalone: true, selector: "matecu-alert-snack-bar", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<div>\n <strong>{{title}}</strong> \n <span>{{message}}</span>\n</div>\n<div *ngIf=\"!!action?.length\">\n\n <button mat-button color=\"accent\" (click)=\"dismiss()\">{{action}}</button>\n</div>", styles: [":host.matecu-alert-snackbar{display:flex;align-items:center}:host.matecu-alert-snackbar>*:not(:first-child){margin-left:10px}:host.matecu-alert-snackbar--success strong{color:#20db20}:host.matecu-alert-snackbar--danger strong{color:red}:host.matecu-alert-snackbar--warning strong{color:orange}:host.matecu-alert-snackbar--info strong{color:#07a0ed}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: MatSnackBarModule }] });
|
|
585
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuAlertSnackBarComponent, decorators: [{
|
|
570
586
|
type: Component,
|
|
571
|
-
args: [{ selector: 'matecu-alert-snack-bar', template: "<div>\n <strong>{{title}}</strong> \n <span>{{message}}</span>\n</div>\n<div *ngIf=\"!!action?.length\">\n\n <button mat-button color=\"accent\" (click)=\"dismiss()\">{{action}}</button>\n</div>", styles: [":host.matecu-alert-snackbar{display:flex;align-items:center}:host.matecu-alert-snackbar>*:not(:first-child){margin-left:10px}:host.matecu-alert-snackbar--success strong{color:#20db20}:host.matecu-alert-snackbar--danger strong{color:red}:host.matecu-alert-snackbar--warning strong{color:orange}:host.matecu-alert-snackbar--info strong{color:#07a0ed}\n"] }]
|
|
587
|
+
args: [{ selector: 'matecu-alert-snack-bar', standalone: true, imports: [CommonModule, MatButtonModule, MatSnackBarModule], template: "<div>\n <strong>{{title}}</strong> \n <span>{{message}}</span>\n</div>\n<div *ngIf=\"!!action?.length\">\n\n <button mat-button color=\"accent\" (click)=\"dismiss()\">{{action}}</button>\n</div>", styles: [":host.matecu-alert-snackbar{display:flex;align-items:center}:host.matecu-alert-snackbar>*:not(:first-child){margin-left:10px}:host.matecu-alert-snackbar--success strong{color:#20db20}:host.matecu-alert-snackbar--danger strong{color:red}:host.matecu-alert-snackbar--warning strong{color:orange}:host.matecu-alert-snackbar--info strong{color:#07a0ed}\n"] }]
|
|
572
588
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
573
589
|
type: Inject,
|
|
574
590
|
args: [MAT_SNACK_BAR_DATA]
|
|
575
|
-
}] }, { type: i1$
|
|
591
|
+
}] }, { type: i1$2.MatSnackBarRef }]; }, propDecorators: { className: [{
|
|
576
592
|
type: HostBinding,
|
|
577
593
|
args: ['class']
|
|
578
594
|
}] } });
|
|
579
595
|
|
|
580
596
|
class MatecuAlertBoxModule {
|
|
581
597
|
}
|
|
582
|
-
MatecuAlertBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
583
|
-
MatecuAlertBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
584
|
-
MatecuAlertBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
598
|
+
MatecuAlertBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuAlertBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
599
|
+
MatecuAlertBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.2", ngImport: i0, type: MatecuAlertBoxModule, imports: [CommonModule, MatIconModule, MatDialogModule, MatButtonModule, MatSnackBarModule, MatecuAlertBoxComponent, MatecuAlertDialogComponent, MatecuAlertSnackBarComponent], exports: [MatecuAlertBoxComponent] });
|
|
600
|
+
MatecuAlertBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuAlertBoxModule, imports: [CommonModule, MatIconModule, MatDialogModule, MatButtonModule, MatSnackBarModule, MatecuAlertBoxComponent, MatecuAlertDialogComponent, MatecuAlertSnackBarComponent] });
|
|
601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuAlertBoxModule, decorators: [{
|
|
586
602
|
type: NgModule,
|
|
587
603
|
args: [{
|
|
588
|
-
declarations: [
|
|
589
|
-
imports: [CommonModule, MatIconModule, MatDialogModule, MatButtonModule, MatSnackBarModule],
|
|
604
|
+
declarations: [],
|
|
605
|
+
imports: [CommonModule, MatIconModule, MatDialogModule, MatButtonModule, MatSnackBarModule, MatecuAlertBoxComponent, MatecuAlertDialogComponent, MatecuAlertSnackBarComponent],
|
|
590
606
|
exports: [MatecuAlertBoxComponent]
|
|
591
607
|
}]
|
|
592
608
|
}] });
|
|
@@ -643,14 +659,14 @@ class MatecuSnackBarService {
|
|
|
643
659
|
return '';
|
|
644
660
|
}
|
|
645
661
|
}
|
|
646
|
-
MatecuSnackBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
647
|
-
MatecuSnackBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
648
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
662
|
+
MatecuSnackBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuSnackBarService, deps: [{ token: i1$2.MatSnackBar }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
663
|
+
MatecuSnackBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuSnackBarService, providedIn: 'root' });
|
|
664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.2", ngImport: i0, type: MatecuSnackBarService, decorators: [{
|
|
649
665
|
type: Injectable,
|
|
650
666
|
args: [{
|
|
651
667
|
providedIn: 'root'
|
|
652
668
|
}]
|
|
653
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
669
|
+
}], ctorParameters: function () { return [{ type: i1$2.MatSnackBar }]; } });
|
|
654
670
|
|
|
655
671
|
/*
|
|
656
672
|
* Public API Surface of angular-matecu
|
|
@@ -660,5 +676,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
660
676
|
* Generated bundle index. Do not edit.
|
|
661
677
|
*/
|
|
662
678
|
|
|
663
|
-
export { MatecuAlertBoxComponent, MatecuAlertBoxModule, MatecuAlertBoxType, MatecuAlertDialogComponent, MatecuAlertSnackBarComponent, MatecuSnackBarService, MatecuSpinnerComponent, MatecuSpinnerModule, MatecuSpinnerService,
|
|
679
|
+
export { MatecuAlertBoxComponent, MatecuAlertBoxModule, MatecuAlertBoxType, MatecuAlertDialogComponent, MatecuAlertSnackBarComponent, MatecuSnackBarService, MatecuSpinnerComponent, MatecuSpinnerModule, MatecuSpinnerService, MatecuTopbarActionComponent, MatecuTopbarBodyComponent, MatecuTopbarFabComponent, MatecuTopbarHeaderRowComponent, MatecuTopbarLayoutComponent, MatecuTopbarLayoutModule, MatecuTopbarSearchComponent, MatecuTopbarTitleComponent };
|
|
664
680
|
//# sourceMappingURL=angular-matecu.mjs.map
|