mapa-library-ui 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/esm2022/lib/core/directives/custom-paginator.directive.mjs +183 -0
- package/esm2022/lib/core/directives/mat-input-autosize.directive.mjs +96 -0
- package/esm2022/lib/core/elements/dropdown.mjs +8 -0
- package/esm2022/lib/core/elements/element-base.mjs +21 -0
- package/esm2022/lib/core/elements/input-text.mjs +8 -0
- package/esm2022/lib/core/interfaces/option.interface.mjs +2 -0
- package/esm2022/mapa-library-ui.mjs +5 -0
- package/esm2022/public-api.mjs +10 -0
- package/esm2022/src/lib/components/button/mapa-library-ui-src-lib-components-button.mjs +5 -0
- package/esm2022/src/lib/components/button/public-api.mjs +6 -0
- package/esm2022/src/lib/components/button/src/button.component.mjs +23 -0
- package/esm2022/src/lib/components/button/src/button.module.mjs +19 -0
- package/esm2022/src/lib/components/button-icon/mapa-library-ui-src-lib-components-button-icon.mjs +5 -0
- package/esm2022/src/lib/components/button-icon/public-api.mjs +6 -0
- package/esm2022/src/lib/components/button-icon/src/button-icon.component.mjs +34 -0
- package/esm2022/src/lib/components/button-icon/src/button-icon.module.mjs +28 -0
- package/esm2022/src/lib/components/checkbox/mapa-library-ui-src-lib-components-checkbox.mjs +5 -0
- package/esm2022/src/lib/components/checkbox/public-api.mjs +6 -0
- package/esm2022/src/lib/components/checkbox/src/checkbox.component.mjs +17 -0
- package/esm2022/src/lib/components/checkbox/src/checkbox.module.mjs +35 -0
- package/esm2022/src/lib/components/dialog/button/public-api.mjs +6 -0
- package/esm2022/src/lib/components/dialog/button/src/button.component.mjs +23 -0
- package/esm2022/src/lib/components/dialog/button/src/button.module.mjs +19 -0
- package/esm2022/src/lib/components/dialog/icon/public-api.mjs +6 -0
- package/esm2022/src/lib/components/dialog/icon/src/icon.component.mjs +26 -0
- package/esm2022/src/lib/components/dialog/icon/src/icon.module.mjs +19 -0
- package/esm2022/src/lib/components/dialog/mapa-library-ui-src-lib-components-dialog.mjs +5 -0
- package/esm2022/src/lib/components/dialog/shared-public-api.mjs +6 -0
- package/esm2022/src/lib/components/dropdown/mapa-library-ui-src-lib-components-dropdown.mjs +5 -0
- package/esm2022/src/lib/components/dropdown/public-api.mjs +6 -0
- package/esm2022/src/lib/components/dropdown/src/dropdown.component.mjs +26 -0
- package/esm2022/src/lib/components/dropdown/src/dropdown.module.mjs +36 -0
- package/esm2022/src/lib/components/dropdown/src/option/option.component.mjs +26 -0
- package/esm2022/src/lib/components/empty/mapa-library-ui-src-lib-components-empty.mjs +5 -0
- package/esm2022/src/lib/components/empty/public-api.mjs +6 -0
- package/esm2022/src/lib/components/empty/src/empty.component.mjs +11 -0
- package/esm2022/src/lib/components/empty/src/empty.module.mjs +24 -0
- package/esm2022/src/lib/components/filters/button/public-api.mjs +6 -0
- package/esm2022/src/lib/components/filters/button/src/button.component.mjs +23 -0
- package/esm2022/src/lib/components/filters/button/src/button.module.mjs +19 -0
- package/esm2022/src/lib/components/filters/icon/public-api.mjs +6 -0
- package/esm2022/src/lib/components/filters/icon/src/icon.component.mjs +26 -0
- package/esm2022/src/lib/components/filters/icon/src/icon.module.mjs +19 -0
- package/esm2022/src/lib/components/filters/mapa-library-ui-src-lib-components-filters.mjs +5 -0
- package/esm2022/src/lib/components/filters/shared-public-api.mjs +6 -0
- package/esm2022/src/lib/components/icon/mapa-library-ui-src-lib-components-icon.mjs +5 -0
- package/esm2022/src/lib/components/icon/public-api.mjs +6 -0
- package/esm2022/src/lib/components/icon/src/icon.component.mjs +26 -0
- package/esm2022/src/lib/components/icon/src/icon.module.mjs +19 -0
- package/esm2022/src/lib/components/input/mapa-library-ui-src-lib-components-input.mjs +5 -0
- package/esm2022/src/lib/components/input/public-api.mjs +6 -0
- package/esm2022/src/lib/components/input/src/input.component.mjs +27 -0
- package/esm2022/src/lib/components/input/src/input.module.mjs +46 -0
- package/esm2022/src/lib/components/nav-list/mapa-library-ui-src-lib-components-nav-list.mjs +5 -0
- package/esm2022/src/lib/components/nav-list/public-api.mjs +6 -0
- package/esm2022/src/lib/components/nav-list/src/nav-list.component.mjs +26 -0
- package/esm2022/src/lib/components/nav-list/src/nav-list.module.mjs +18 -0
- package/esm2022/src/lib/components/radio-button/mapa-library-ui-src-lib-components-radio-button.mjs +5 -0
- package/esm2022/src/lib/components/radio-button/public-api.mjs +6 -0
- package/esm2022/src/lib/components/radio-button/src/radio-button.component.mjs +26 -0
- package/esm2022/src/lib/components/radio-button/src/radio-button.module.mjs +28 -0
- package/esm2022/src/lib/components/report-item/mapa-library-ui-src-lib-components-report-item.mjs +5 -0
- package/esm2022/src/lib/components/report-item/public-api.mjs +6 -0
- package/esm2022/src/lib/components/report-item/src/report-item.component.mjs +34 -0
- package/esm2022/src/lib/components/report-item/src/report-item.module.mjs +32 -0
- package/esm2022/src/lib/components/table/mapa-library-ui-src-lib-components-table.mjs +5 -0
- package/esm2022/src/lib/components/table/public-api.mjs +6 -0
- package/esm2022/src/lib/components/table/src/paginator_customization.mjs +9 -0
- package/esm2022/src/lib/components/table/src/table.component.mjs +112 -0
- package/esm2022/src/lib/components/table/src/table.module.mjs +49 -0
- package/esm2022/src/lib/components/tag/mapa-library-ui-src-lib-components-tag.mjs +5 -0
- package/esm2022/src/lib/components/tag/public-api.mjs +6 -0
- package/esm2022/src/lib/components/tag/tag.component.mjs +15 -0
- package/esm2022/src/lib/components/tag/tag.module.mjs +24 -0
- package/esm2022/src/lib/components/warning/mapa-library-ui-src-lib-components-warning.mjs +5 -0
- package/esm2022/src/lib/components/warning/public-api.mjs +6 -0
- package/esm2022/src/lib/components/warning/src/warning.component.mjs +16 -0
- package/esm2022/src/lib/components/warning/src/warning.module.mjs +26 -0
- package/fesm2022/mapa-library-ui-src-lib-components-button-icon.mjs +70 -0
- package/fesm2022/mapa-library-ui-src-lib-components-button-icon.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-button.mjs +50 -0
- package/fesm2022/mapa-library-ui-src-lib-components-button.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-checkbox.mjs +60 -0
- package/fesm2022/mapa-library-ui-src-lib-components-checkbox.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dialog.mjs +97 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dialog.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs +91 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-empty.mjs +43 -0
- package/fesm2022/mapa-library-ui-src-lib-components-empty.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs +97 -0
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-icon.mjs +53 -0
- package/fesm2022/mapa-library-ui-src-lib-components-icon.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs +81 -0
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-nav-list.mjs +52 -0
- package/fesm2022/mapa-library-ui-src-lib-components-nav-list.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-radio-button.mjs +62 -0
- package/fesm2022/mapa-library-ui-src-lib-components-radio-button.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-report-item.mjs +74 -0
- package/fesm2022/mapa-library-ui-src-lib-components-report-item.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs +174 -0
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-tag.mjs +47 -0
- package/fesm2022/mapa-library-ui-src-lib-components-tag.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs +50 -0
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs.map +1 -0
- package/fesm2022/mapa-library-ui.mjs +323 -0
- package/fesm2022/mapa-library-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/core/directives/custom-paginator.directive.d.ts +33 -0
- package/lib/core/directives/mat-input-autosize.directive.d.ts +26 -0
- package/lib/core/elements/dropdown.d.ts +4 -0
- package/lib/core/elements/element-base.d.ts +37 -0
- package/lib/core/elements/input-text.d.ts +4 -0
- package/lib/core/interfaces/option.interface.d.ts +4 -0
- package/mapa-library-ui-0.0.8.tgz +0 -0
- package/package.json +115 -0
- package/public-api.d.ts +6 -0
- package/src/lib/components/button/index.d.ts +5 -0
- package/src/lib/components/button/public-api.d.ts +2 -0
- package/src/lib/components/button/src/button.component.d.ts +10 -0
- package/src/lib/components/button/src/button.module.d.ts +9 -0
- package/src/lib/components/button-icon/index.d.ts +5 -0
- package/src/lib/components/button-icon/public-api.d.ts +2 -0
- package/src/lib/components/button-icon/src/button-icon.component.d.ts +20 -0
- package/src/lib/components/button-icon/src/button-icon.module.d.ts +9 -0
- package/src/lib/components/checkbox/index.d.ts +5 -0
- package/src/lib/components/checkbox/public-api.d.ts +2 -0
- package/src/lib/components/checkbox/src/checkbox.component.d.ts +8 -0
- package/src/lib/components/checkbox/src/checkbox.module.d.ts +10 -0
- package/src/lib/components/dialog/button/public-api.d.ts +2 -0
- package/src/lib/components/dialog/button/src/button.component.d.ts +10 -0
- package/src/lib/components/dialog/button/src/button.module.d.ts +9 -0
- package/src/lib/components/dialog/icon/public-api.d.ts +2 -0
- package/src/lib/components/dialog/icon/src/icon.component.d.ts +13 -0
- package/src/lib/components/dialog/icon/src/icon.module.d.ts +9 -0
- package/src/lib/components/dialog/index.d.ts +5 -0
- package/src/lib/components/dialog/shared-public-api.d.ts +2 -0
- package/src/lib/components/dropdown/index.d.ts +5 -0
- package/src/lib/components/dropdown/public-api.d.ts +2 -0
- package/src/lib/components/dropdown/src/dropdown.component.d.ts +12 -0
- package/src/lib/components/dropdown/src/dropdown.module.d.ts +12 -0
- package/src/lib/components/dropdown/src/option/option.component.d.ts +12 -0
- package/src/lib/components/empty/index.d.ts +5 -0
- package/src/lib/components/empty/public-api.d.ts +2 -0
- package/src/lib/components/empty/src/empty.component.d.ts +5 -0
- package/src/lib/components/empty/src/empty.module.d.ts +8 -0
- package/src/lib/components/filters/button/public-api.d.ts +2 -0
- package/src/lib/components/filters/button/src/button.component.d.ts +10 -0
- package/src/lib/components/filters/button/src/button.module.d.ts +9 -0
- package/src/lib/components/filters/icon/public-api.d.ts +2 -0
- package/src/lib/components/filters/icon/src/icon.component.d.ts +13 -0
- package/src/lib/components/filters/icon/src/icon.module.d.ts +9 -0
- package/src/lib/components/filters/index.d.ts +5 -0
- package/src/lib/components/filters/shared-public-api.d.ts +2 -0
- package/src/lib/components/icon/index.d.ts +5 -0
- package/src/lib/components/icon/public-api.d.ts +2 -0
- package/src/lib/components/icon/src/icon.component.d.ts +13 -0
- package/src/lib/components/icon/src/icon.module.d.ts +9 -0
- package/src/lib/components/input/index.d.ts +5 -0
- package/src/lib/components/input/public-api.d.ts +2 -0
- package/src/lib/components/input/src/input.component.d.ts +11 -0
- package/src/lib/components/input/src/input.module.d.ts +13 -0
- package/src/lib/components/nav-list/index.d.ts +5 -0
- package/src/lib/components/nav-list/public-api.d.ts +2 -0
- package/src/lib/components/nav-list/src/nav-list.component.d.ts +13 -0
- package/src/lib/components/nav-list/src/nav-list.module.d.ts +8 -0
- package/src/lib/components/radio-button/index.d.ts +5 -0
- package/src/lib/components/radio-button/public-api.d.ts +2 -0
- package/src/lib/components/radio-button/src/radio-button.component.d.ts +15 -0
- package/src/lib/components/radio-button/src/radio-button.module.d.ts +9 -0
- package/src/lib/components/report-item/index.d.ts +5 -0
- package/src/lib/components/report-item/public-api.d.ts +2 -0
- package/src/lib/components/report-item/src/report-item.component.d.ts +20 -0
- package/src/lib/components/report-item/src/report-item.module.d.ts +10 -0
- package/src/lib/components/table/index.d.ts +5 -0
- package/src/lib/components/table/public-api.d.ts +2 -0
- package/src/lib/components/table/src/paginator_customization.d.ts +2 -0
- package/src/lib/components/table/src/table.component.d.ts +36 -0
- package/src/lib/components/table/src/table.module.d.ts +13 -0
- package/src/lib/components/tag/index.d.ts +5 -0
- package/src/lib/components/tag/public-api.d.ts +2 -0
- package/src/lib/components/tag/tag.component.d.ts +7 -0
- package/src/lib/components/tag/tag.module.d.ts +8 -0
- package/src/lib/components/warning/index.d.ts +5 -0
- package/src/lib/components/warning/public-api.d.ts +2 -0
- package/src/lib/components/warning/src/warning.component.d.ts +7 -0
- package/src/lib/components/warning/src/warning.module.d.ts +9 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/material/icon';
|
|
4
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
+
import * as i2 from '@angular/material/menu';
|
|
6
|
+
import { MatMenuModule } from '@angular/material/menu';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
|
|
9
|
+
class ReportItemComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.clicked = new EventEmitter();
|
|
12
|
+
this.id = "";
|
|
13
|
+
this.description = "";
|
|
14
|
+
this.icon = "";
|
|
15
|
+
this.objectData = "";
|
|
16
|
+
}
|
|
17
|
+
ngOnInit() {
|
|
18
|
+
const data = this.itemData[0];
|
|
19
|
+
this.id = data.id;
|
|
20
|
+
this.description = data.description;
|
|
21
|
+
this.icon = data.icon;
|
|
22
|
+
this.objectData = data.objectData;
|
|
23
|
+
}
|
|
24
|
+
onClick(id) {
|
|
25
|
+
this.clicked.emit(id);
|
|
26
|
+
}
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReportItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ReportItemComponent, selector: "mapa-report-item", inputs: { itemData: "itemData" }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<div class=\"report-item\">\n <div class=\"report-icon\">\n <mat-icon class=\"material-icons\">{{ icon }}</mat-icon>\n </div>\n <div class=\"report-text\">\n <h1> \n {{ description }}\n </h1>\n <div>\n <li>\n {{ objectData }}\n </li> \n </div>\n </div>\n <div class=\"report-button\">\n <div class=\"report-circle\">\n <mat-icon [matMenuTriggerFor]=\"menu\">more_vert</mat-icon>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"onClick(id)\">\n <mat-icon>delete_outline</mat-icon>\n <span>Descartar</span>\n </button>\n </mat-menu>\n </div> \n </div> \n</div>", styles: [".report-item{margin:24px 48px;height:161px;display:flex;border-radius:16px;border:1px solid #CDCDCD}.report-item .report-icon{width:25%;border-radius:16px 0 0 16px;background:#fdefea}.report-item .report-icon .mat-icon{width:123px;height:123px;font-size:123px;color:#ea561d;padding:20px 42px}.report-item .report-text{background:var(--GlobalColors-Neutral-20, #F9F9F9);width:100%;padding:0 16px}.report-item .report-text h1{color:#000;font-family:SF-Pro;font-size:20px;font-style:normal;font-weight:400;line-height:28px;margin-top:25px}.report-item .report-text li{color:var #000;font-family:SF-Pro;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin-top:10px}.report-item .report-button{width:4vw;align-items:flex-end;border-radius:50%;margin-top:10px}.report-item .report-button .report-circle{background-color:#fff;border-radius:50%;display:flex;align-items:center;margin-right:10px}.report-item .report-button .mat-icon{width:20px;height:20px;font-size:20px;margin:5px;color:#ea561d}\n"], dependencies: [{ kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i2.MatMenu, selector: "mat-menu", exportAs: ["matMenu"] }, { kind: "component", type: i2.MatMenuItem, selector: "[mat-menu-item]", inputs: ["disabled", "disableRipple", "role"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i2.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", exportAs: ["matMenuTrigger"] }] }); }
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ReportItemComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{ selector: 'mapa-report-item', template: "<div class=\"report-item\">\n <div class=\"report-icon\">\n <mat-icon class=\"material-icons\">{{ icon }}</mat-icon>\n </div>\n <div class=\"report-text\">\n <h1> \n {{ description }}\n </h1>\n <div>\n <li>\n {{ objectData }}\n </li> \n </div>\n </div>\n <div class=\"report-button\">\n <div class=\"report-circle\">\n <mat-icon [matMenuTriggerFor]=\"menu\">more_vert</mat-icon>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"onClick(id)\">\n <mat-icon>delete_outline</mat-icon>\n <span>Descartar</span>\n </button>\n </mat-menu>\n </div> \n </div> \n</div>", styles: [".report-item{margin:24px 48px;height:161px;display:flex;border-radius:16px;border:1px solid #CDCDCD}.report-item .report-icon{width:25%;border-radius:16px 0 0 16px;background:#fdefea}.report-item .report-icon .mat-icon{width:123px;height:123px;font-size:123px;color:#ea561d;padding:20px 42px}.report-item .report-text{background:var(--GlobalColors-Neutral-20, #F9F9F9);width:100%;padding:0 16px}.report-item .report-text h1{color:#000;font-family:SF-Pro;font-size:20px;font-style:normal;font-weight:400;line-height:28px;margin-top:25px}.report-item .report-text li{color:var #000;font-family:SF-Pro;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin-top:10px}.report-item .report-button{width:4vw;align-items:flex-end;border-radius:50%;margin-top:10px}.report-item .report-button .report-circle{background-color:#fff;border-radius:50%;display:flex;align-items:center;margin-right:10px}.report-item .report-button .mat-icon{width:20px;height:20px;font-size:20px;margin:5px;color:#ea561d}\n"] }]
|
|
33
|
+
}], propDecorators: { itemData: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], clicked: [{
|
|
36
|
+
type: Output
|
|
37
|
+
}] } });
|
|
38
|
+
|
|
39
|
+
class MapaReportItemModule {
|
|
40
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaReportItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
41
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: MapaReportItemModule, declarations: [ReportItemComponent], imports: [CommonModule,
|
|
42
|
+
MatIconModule,
|
|
43
|
+
MatMenuModule], exports: [ReportItemComponent] }); }
|
|
44
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaReportItemModule, imports: [CommonModule,
|
|
45
|
+
MatIconModule,
|
|
46
|
+
MatMenuModule] }); }
|
|
47
|
+
}
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaReportItemModule, decorators: [{
|
|
49
|
+
type: NgModule,
|
|
50
|
+
args: [{
|
|
51
|
+
declarations: [
|
|
52
|
+
ReportItemComponent
|
|
53
|
+
],
|
|
54
|
+
imports: [
|
|
55
|
+
CommonModule,
|
|
56
|
+
MatIconModule,
|
|
57
|
+
MatMenuModule
|
|
58
|
+
],
|
|
59
|
+
exports: [
|
|
60
|
+
ReportItemComponent
|
|
61
|
+
]
|
|
62
|
+
}]
|
|
63
|
+
}] });
|
|
64
|
+
|
|
65
|
+
/*
|
|
66
|
+
* Public API Surface of mapa-library-ui input
|
|
67
|
+
*/
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Generated bundle index. Do not edit.
|
|
71
|
+
*/
|
|
72
|
+
|
|
73
|
+
export { MapaReportItemModule, ReportItemComponent };
|
|
74
|
+
//# sourceMappingURL=mapa-library-ui-src-lib-components-report-item.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapa-library-ui-src-lib-components-report-item.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/report-item/src/report-item.component.ts","../../../projects/mapa-library-ui/src/lib/components/report-item/src/report-item.component.html","../../../projects/mapa-library-ui/src/lib/components/report-item/src/report-item.module.ts","../../../projects/mapa-library-ui/src/lib/components/report-item/public-api.ts","../../../projects/mapa-library-ui/src/lib/components/report-item/mapa-library-ui-src-lib-components-report-item.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\n\nexport interface ReportItem {\n id: string;\n icon: string;\n description: string;\n objectData: string;\n}\n\n@Component({\n selector: 'mapa-report-item',\n templateUrl: './report-item.component.html',\n styleUrls: ['./report-item.component.scss']\n})\n\nexport class ReportItemComponent {\n @Input() itemData: any;\n @Output() clicked: EventEmitter<string> = new EventEmitter<string>();\n \n id: string = \"\";\n description: string = \"\";\n icon: string = \"\";\n objectData: string = \"\";\n\n\n ngOnInit() {\n const data = this.itemData[0];\n this.id = data.id;\n this.description = data.description;\n this.icon = data.icon;\n this.objectData = data.objectData;\n }\n\n onClick(id: string): void {\n this.clicked.emit(id);\n }\n}\n","<div class=\"report-item\">\n <div class=\"report-icon\">\n <mat-icon class=\"material-icons\">{{ icon }}</mat-icon>\n </div>\n <div class=\"report-text\">\n <h1> \n {{ description }}\n </h1>\n <div>\n <li>\n {{ objectData }}\n </li> \n </div>\n </div>\n <div class=\"report-button\">\n <div class=\"report-circle\">\n <mat-icon [matMenuTriggerFor]=\"menu\">more_vert</mat-icon>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"onClick(id)\">\n <mat-icon>delete_outline</mat-icon>\n <span>Descartar</span>\n </button>\n </mat-menu>\n </div> \n </div> \n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReportItemComponent } from './report-item.component';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatMenuModule } from '@angular/material/menu';\n\n\n\n@NgModule({\n declarations: [\n ReportItemComponent\n ],\n imports: [\n CommonModule,\n MatIconModule,\n MatMenuModule\n ],\n exports: [\n ReportItemComponent\n ]\n})\nexport class MapaReportItemModule { }\n","/*\n * Public API Surface of mapa-library-ui input\n */\n\nexport * from './src/report-item.component';\nexport * from './src/report-item.module';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAea,mBAAmB,CAAA;AANhC,IAAA,WAAA,GAAA;AAQY,QAAA,IAAA,CAAA,OAAO,GAAyB,IAAI,YAAY,EAAU,CAAC;QAErE,IAAE,CAAA,EAAA,GAAW,EAAE,CAAC;QAChB,IAAW,CAAA,WAAA,GAAW,EAAE,CAAC;QACzB,IAAI,CAAA,IAAA,GAAW,EAAE,CAAC;QAClB,IAAU,CAAA,UAAA,GAAW,EAAE,CAAC;AAczB,KAAA;IAXC,QAAQ,GAAA;QACN,MAAM,IAAI,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;AAC9B,QAAA,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;AAClB,QAAA,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;AACpC,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;AACtB,QAAA,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;KACnC;AAED,IAAA,OAAO,CAAC,EAAU,EAAA;AAChB,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;KACvB;+GApBU,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAA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,CAGnB,YAAY;YACZ,aAAa;AACb,YAAA,aAAa,aAGb,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;AAGV,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAR7B,YAAY;YACZ,aAAa;YACb,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAMJ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAbhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,mBAAmB;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,aAAa;wBACb,aAAa;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,mBAAmB;AACpB,qBAAA;AACF,iBAAA,CAAA;;;ACpBD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { EventEmitter, Component, ViewEncapsulation, Input, ViewChild, Output, NgModule } from '@angular/core';
|
|
4
|
+
import * as i4 from '@angular/material/paginator';
|
|
5
|
+
import { MatPaginator, MatPaginatorIntl, MatPaginatorModule } from '@angular/material/paginator';
|
|
6
|
+
import { MatSort } from '@angular/material/sort';
|
|
7
|
+
import * as i5 from '@angular/material/table';
|
|
8
|
+
import { MatTableDataSource, MatTableModule } from '@angular/material/table';
|
|
9
|
+
import * as i1 from '@angular/common';
|
|
10
|
+
import { CommonModule } from '@angular/common';
|
|
11
|
+
import * as i2 from '@angular/material/checkbox';
|
|
12
|
+
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
13
|
+
import * as i3 from '@angular/material/icon';
|
|
14
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
15
|
+
import * as i6 from 'mapa-library-ui';
|
|
16
|
+
import { BubblePaginationDirective } from 'mapa-library-ui';
|
|
17
|
+
|
|
18
|
+
class MapaTableComponent {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.columns = [];
|
|
21
|
+
this.data = [];
|
|
22
|
+
this.tableData = new EventEmitter();
|
|
23
|
+
this.rowClick = new EventEmitter();
|
|
24
|
+
this.displayedColumns = [];
|
|
25
|
+
this.selection = new SelectionModel(true, []);
|
|
26
|
+
}
|
|
27
|
+
ngAfterViewInit() {
|
|
28
|
+
this.dataSource = new MatTableDataSource(this.data);
|
|
29
|
+
this.dataSource.paginator = this.paginator;
|
|
30
|
+
this.dataSource.sort = this.sort;
|
|
31
|
+
this.displayedColumns = this.columns.map(column => column.key);
|
|
32
|
+
}
|
|
33
|
+
isAllSelected() {
|
|
34
|
+
const numSelected = this.selection.selected.length;
|
|
35
|
+
const numRows = this.dataSource.data.length;
|
|
36
|
+
return numSelected === numRows;
|
|
37
|
+
}
|
|
38
|
+
toggleAllRows() {
|
|
39
|
+
if (this.isAllSelected()) {
|
|
40
|
+
this.selection.clear();
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
const dataAsPeriodicElements = this.dataSource.data;
|
|
44
|
+
dataAsPeriodicElements.forEach(row => this.selection.select(row));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
checkboxLabel(row) {
|
|
48
|
+
if (!row) {
|
|
49
|
+
return `${this.isAllSelected() ? 'deselect' : 'select'} all`;
|
|
50
|
+
}
|
|
51
|
+
return `${this.selection.isSelected(row) ? 'deselect' : 'select'} row ${row.position + 1}`;
|
|
52
|
+
}
|
|
53
|
+
sortData(sortKey) {
|
|
54
|
+
const sort = { active: sortKey, direction: 'asc' };
|
|
55
|
+
if (this.currentSort && this.currentSort.active === sortKey && this.currentSort.direction === 'asc') {
|
|
56
|
+
sort.direction = 'desc';
|
|
57
|
+
}
|
|
58
|
+
this.currentSort = sort;
|
|
59
|
+
this.sortDataFunction(sort);
|
|
60
|
+
}
|
|
61
|
+
sortDataFunction(sort) {
|
|
62
|
+
const data = this.dataSource.data.slice();
|
|
63
|
+
if (!sort.active || sort.direction === '') {
|
|
64
|
+
this.dataSource.data = data;
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
this.dataSource.data = data.sort((a, b) => {
|
|
68
|
+
const isAsc = sort.direction === 'asc';
|
|
69
|
+
return this.compare(a[sort.active], b[sort.active], isAsc);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
compare(a, b, isAsc) {
|
|
73
|
+
if (typeof a === 'string' && typeof b === 'string') {
|
|
74
|
+
return (a.toLowerCase() < b.toLowerCase() ? -1 : 1) * (isAsc ? 1 : -1);
|
|
75
|
+
}
|
|
76
|
+
return (a < b ? -1 : 1) * (isAsc ? 1 : -1);
|
|
77
|
+
}
|
|
78
|
+
createObjectFromSelection() {
|
|
79
|
+
const selectedRows = this.selection.selected;
|
|
80
|
+
const selectedObjects = selectedRows.map(row => {
|
|
81
|
+
const obj = {};
|
|
82
|
+
this.columns.forEach(column => {
|
|
83
|
+
obj[column.key] = row[column.key];
|
|
84
|
+
});
|
|
85
|
+
return obj;
|
|
86
|
+
});
|
|
87
|
+
this.tableData.emit(selectedObjects);
|
|
88
|
+
}
|
|
89
|
+
handleRowClick(id) {
|
|
90
|
+
this.rowClick.emit(id);
|
|
91
|
+
}
|
|
92
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
93
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MapaTableComponent, selector: "mapa-table", inputs: { columns: "columns", data: "data", checkbox: "checkbox", actions: "actions" }, outputs: { tableData: "tableData", rowClick: "rowClick" }, viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true }], ngImport: i0, template: "<div class=\"checkboxTable\">\n <table mat-table [dataSource]=\"dataSource\" matSort>\n <ng-container *ngFor=\"let column of columns; let isFirst = first\" [matColumnDef]=\"column.key\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header (click)=\"sortData(column.key)\">\n <div class=\"header\">\n <ng-container *ngIf=\"isFirst && checkbox\">\n <mat-checkbox (change)=\"$event ? toggleAllRows() : null\" [checked]=\"selection.hasValue() && isAllSelected()\"\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\"\n (click)=\"$event.stopPropagation(); createObjectFromSelection()\">\n </mat-checkbox>\n </ng-container>\n <div *ngIf=\"column.key !== 'actions'\">\n <mat-icon>filter_list</mat-icon>\n </div>\n <div class=\"label\">\n {{ column.label }}\n </div> \n </div> \n </th>\n <td mat-cell *matCellDef=\"let row\">\n <ng-container *ngIf=\"isFirst && checkbox\">\n <mat-checkbox (click)=\"$event.stopPropagation(); createObjectFromSelection()\"\n (change)=\"$event ? selection.toggle(row) : null\" [checked]=\"selection.isSelected(row)\">\n </mat-checkbox>\n </ng-container>\n <ng-container *ngIf=\"column.key === 'actions'\">\n <div class=\"actions\">\n <mat-icon (click)=\"handleRowClick(row)\">edit</mat-icon>\n <mat-icon (click)=\"handleRowClick(row)\">delete</mat-icon> \n <mat-icon (click)=\"handleRowClick(row)\">visibility</mat-icon>\n </div>\n </ng-container>\n {{ row[column.key] }}\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n\n <mat-paginator class=\"custom_paginator\" appBubblePagination\n [appCustomLength]=\"dataSource ? dataSource.data.length : 0\" [length]=\"dataSource ? dataSource.data.length : 0\"\n [pageSizeOptions]=\"[5, 10, 25, 100]\" [pageSize]=\"5\" aria-label=\"Select page\"></mat-paginator>\n</div>", styles: [".checkboxTable ::ng-deep .mat-mdc-paginator-page-size-label{display:none}.checkboxTable .mat-table{width:100%}.checkboxTable .tr,.checkboxTable th{padding-top:15px;padding-bottom:15px}.checkboxTable .label{margin-top:4px}.checkboxTable .header{padding-top:15px;padding-bottom:15px;align-items:center;display:flex}.checkboxTable .mat-mdc-cell{padding:15px}.checkboxTable .mat-icon{cursor:pointer;position:relative;bottom:-6px;padding:0 5px}.checkboxTable .actions{display:flex}.checkboxTable .actions .mat-icon{color:#ea561d!important}.checkboxTable .mat-accent{--mdc-checkbox-selected-focus-icon-color: #ea561d;--mdc-checkbox-selected-hover-icon-color: #ea561d;--mdc-checkbox-selected-pressed-icon-color: transparent;--mdc-checkbox-selected-icon-color: #ea561d;--mdc-checkbox-selected-checkmark-color: #fff;--mdc-circular-progress-active-indicator-color: transparent}.mat-mdc-paginator-container{display:flex;justify-content:space-between}.g-bubble-container{display:flex;gap:4px}.g-bubble{background-color:#fff;border-radius:20%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:#181818;font-size:14px;cursor:pointer;transition:.3s}.g-bubble:hover{background-color:#b6b6b6;color:#fff}.g-bubble__active{background-color:#ea561d;color:#fff}mat-paginator{background:transparent!important}.mat-mdc-paginator-range-actions{margin-right:12px!important}.custom_paginator .mat-mdc-paginator-container{display:flex;justify-content:space-between;margin-right:25vw}\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: "component", type: i2.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }, { kind: "component", type: i5.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i5.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i5.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i5.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i5.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i5.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i5.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i5.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i5.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i5.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "directive", type: i6.BubblePaginationDirective, selector: "[appBubblePagination]", inputs: ["showFirstButton", "showLastButton", "renderButtonsNumber", "appCustomLength", "hideDefaultArrows"], outputs: ["pageIndexChangeEmitter"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
94
|
+
}
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaTableComponent, decorators: [{
|
|
96
|
+
type: Component,
|
|
97
|
+
args: [{ selector: 'mapa-table', encapsulation: ViewEncapsulation.None, template: "<div class=\"checkboxTable\">\n <table mat-table [dataSource]=\"dataSource\" matSort>\n <ng-container *ngFor=\"let column of columns; let isFirst = first\" [matColumnDef]=\"column.key\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header (click)=\"sortData(column.key)\">\n <div class=\"header\">\n <ng-container *ngIf=\"isFirst && checkbox\">\n <mat-checkbox (change)=\"$event ? toggleAllRows() : null\" [checked]=\"selection.hasValue() && isAllSelected()\"\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\"\n (click)=\"$event.stopPropagation(); createObjectFromSelection()\">\n </mat-checkbox>\n </ng-container>\n <div *ngIf=\"column.key !== 'actions'\">\n <mat-icon>filter_list</mat-icon>\n </div>\n <div class=\"label\">\n {{ column.label }}\n </div> \n </div> \n </th>\n <td mat-cell *matCellDef=\"let row\">\n <ng-container *ngIf=\"isFirst && checkbox\">\n <mat-checkbox (click)=\"$event.stopPropagation(); createObjectFromSelection()\"\n (change)=\"$event ? selection.toggle(row) : null\" [checked]=\"selection.isSelected(row)\">\n </mat-checkbox>\n </ng-container>\n <ng-container *ngIf=\"column.key === 'actions'\">\n <div class=\"actions\">\n <mat-icon (click)=\"handleRowClick(row)\">edit</mat-icon>\n <mat-icon (click)=\"handleRowClick(row)\">delete</mat-icon> \n <mat-icon (click)=\"handleRowClick(row)\">visibility</mat-icon>\n </div>\n </ng-container>\n {{ row[column.key] }}\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n\n <mat-paginator class=\"custom_paginator\" appBubblePagination\n [appCustomLength]=\"dataSource ? dataSource.data.length : 0\" [length]=\"dataSource ? dataSource.data.length : 0\"\n [pageSizeOptions]=\"[5, 10, 25, 100]\" [pageSize]=\"5\" aria-label=\"Select page\"></mat-paginator>\n</div>", styles: [".checkboxTable ::ng-deep .mat-mdc-paginator-page-size-label{display:none}.checkboxTable .mat-table{width:100%}.checkboxTable .tr,.checkboxTable th{padding-top:15px;padding-bottom:15px}.checkboxTable .label{margin-top:4px}.checkboxTable .header{padding-top:15px;padding-bottom:15px;align-items:center;display:flex}.checkboxTable .mat-mdc-cell{padding:15px}.checkboxTable .mat-icon{cursor:pointer;position:relative;bottom:-6px;padding:0 5px}.checkboxTable .actions{display:flex}.checkboxTable .actions .mat-icon{color:#ea561d!important}.checkboxTable .mat-accent{--mdc-checkbox-selected-focus-icon-color: #ea561d;--mdc-checkbox-selected-hover-icon-color: #ea561d;--mdc-checkbox-selected-pressed-icon-color: transparent;--mdc-checkbox-selected-icon-color: #ea561d;--mdc-checkbox-selected-checkmark-color: #fff;--mdc-circular-progress-active-indicator-color: transparent}.mat-mdc-paginator-container{display:flex;justify-content:space-between}.g-bubble-container{display:flex;gap:4px}.g-bubble{background-color:#fff;border-radius:20%;width:24px;height:24px;display:flex;align-items:center;justify-content:center;color:#181818;font-size:14px;cursor:pointer;transition:.3s}.g-bubble:hover{background-color:#b6b6b6;color:#fff}.g-bubble__active{background-color:#ea561d;color:#fff}mat-paginator{background:transparent!important}.mat-mdc-paginator-range-actions{margin-right:12px!important}.custom_paginator .mat-mdc-paginator-container{display:flex;justify-content:space-between;margin-right:25vw}\n"] }]
|
|
98
|
+
}], propDecorators: { columns: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], data: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], checkbox: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], actions: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], paginator: [{
|
|
107
|
+
type: ViewChild,
|
|
108
|
+
args: [MatPaginator]
|
|
109
|
+
}], sort: [{
|
|
110
|
+
type: ViewChild,
|
|
111
|
+
args: [MatSort]
|
|
112
|
+
}], tableData: [{
|
|
113
|
+
type: Output
|
|
114
|
+
}], rowClick: [{
|
|
115
|
+
type: Output
|
|
116
|
+
}] } });
|
|
117
|
+
|
|
118
|
+
function CustomPaginator() {
|
|
119
|
+
const customPaginatorIntl = new MatPaginatorIntl();
|
|
120
|
+
customPaginatorIntl.itemsPerPageLabel = 'Itens por página:';
|
|
121
|
+
customPaginatorIntl.nextPageLabel = 'Próxima página';
|
|
122
|
+
customPaginatorIntl.previousPageLabel = 'Página anterior';
|
|
123
|
+
return customPaginatorIntl;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
class MapaTableModule {
|
|
127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
128
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: MapaTableModule, declarations: [MapaTableComponent], imports: [CommonModule,
|
|
129
|
+
MatCheckboxModule,
|
|
130
|
+
MatIconModule,
|
|
131
|
+
MatPaginatorModule,
|
|
132
|
+
MatTableModule,
|
|
133
|
+
BubblePaginationDirective], exports: [MapaTableComponent] }); }
|
|
134
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaTableModule, providers: [
|
|
135
|
+
{ provide: MatPaginatorIntl, useValue: CustomPaginator() }
|
|
136
|
+
], imports: [CommonModule,
|
|
137
|
+
MatCheckboxModule,
|
|
138
|
+
MatIconModule,
|
|
139
|
+
MatPaginatorModule,
|
|
140
|
+
MatTableModule] }); }
|
|
141
|
+
}
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaTableModule, decorators: [{
|
|
143
|
+
type: NgModule,
|
|
144
|
+
args: [{
|
|
145
|
+
declarations: [
|
|
146
|
+
MapaTableComponent
|
|
147
|
+
],
|
|
148
|
+
imports: [
|
|
149
|
+
CommonModule,
|
|
150
|
+
MatCheckboxModule,
|
|
151
|
+
MatIconModule,
|
|
152
|
+
MatPaginatorModule,
|
|
153
|
+
MatTableModule,
|
|
154
|
+
BubblePaginationDirective
|
|
155
|
+
],
|
|
156
|
+
exports: [
|
|
157
|
+
MapaTableComponent
|
|
158
|
+
],
|
|
159
|
+
providers: [
|
|
160
|
+
{ provide: MatPaginatorIntl, useValue: CustomPaginator() }
|
|
161
|
+
]
|
|
162
|
+
}]
|
|
163
|
+
}] });
|
|
164
|
+
|
|
165
|
+
/*
|
|
166
|
+
* Public API Surface of mapa-library-ui input
|
|
167
|
+
*/
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Generated bundle index. Do not edit.
|
|
171
|
+
*/
|
|
172
|
+
|
|
173
|
+
export { MapaTableComponent, MapaTableModule };
|
|
174
|
+
//# sourceMappingURL=mapa-library-ui-src-lib-components-table.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapa-library-ui-src-lib-components-table.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/table/src/table.component.ts","../../../projects/mapa-library-ui/src/lib/components/table/src/table.component.html","../../../projects/mapa-library-ui/src/lib/components/table/src/paginator_customization.ts","../../../projects/mapa-library-ui/src/lib/components/table/src/table.module.ts","../../../projects/mapa-library-ui/src/lib/components/table/public-api.ts","../../../projects/mapa-library-ui/src/lib/components/table/mapa-library-ui-src-lib-components-table.ts"],"sourcesContent":["import { SelectionModel } from '@angular/cdk/collections';\nimport { Component, EventEmitter, Input, Output, ViewChild, ViewEncapsulation } from '@angular/core';\nimport { MatPaginator } from '@angular/material/paginator';\nimport { MatSort, Sort } from '@angular/material/sort';\nimport { MatTableDataSource } from '@angular/material/table';\n\n@Component({\n selector: 'mapa-table',\n templateUrl: './table.component.html',\n styleUrls: ['./table.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class MapaTableComponent {\n @Input() columns: TableColumn[] = [];\n @Input() data: Object[] = [];\n @Input() checkbox: boolean | undefined; \n @Input() actions: boolean | undefined;\n @ViewChild(MatPaginator) paginator!: MatPaginator;\n @ViewChild(MatSort) sort!: MatSort;\n @Output() tableData: EventEmitter<any[]> = new EventEmitter<any[]>();\n @Output() rowClick: EventEmitter<string> = new EventEmitter<string>(); \n dataSource!: MatTableDataSource<Object>;\n displayedColumns: string[] = [];\n currentSort: Sort | undefined;\n selection = new SelectionModel<any>(true, []);\n\n ngAfterViewInit() {\n this.dataSource = new MatTableDataSource(this.data);\n this.dataSource.paginator = this.paginator;\n this.dataSource.sort = this.sort;\n this.displayedColumns = this.columns.map(column => column.key);\n }\n\n isAllSelected() {\n const numSelected = this.selection.selected.length;\n const numRows = this.dataSource.data.length;\n return numSelected === numRows;\n }\n\n toggleAllRows() {\n if (this.isAllSelected()) {\n this.selection.clear();\n } else {\n const dataAsPeriodicElements = this.dataSource.data as any[];\n dataAsPeriodicElements.forEach(row => this.selection.select(row));\n }\n }\n\n checkboxLabel(row?: any): string {\n if (!row) {\n return `${this.isAllSelected() ? 'deselect' : 'select'} all`;\n }\n return `${this.selection.isSelected(row) ? 'deselect' : 'select'} row ${row.position + 1}`;\n }\n\n sortData(sortKey: string) {\n const sort: Sort = { active: sortKey, direction: 'asc' };\n\n if (this.currentSort && this.currentSort.active === sortKey && this.currentSort.direction === 'asc') {\n sort.direction = 'desc';\n }\n\n this.currentSort = sort;\n this.sortDataFunction(sort);\n }\n\n sortDataFunction(sort: Sort) {\n const data = this.dataSource.data.slice();\n\n if (!sort.active || sort.direction === '') {\n this.dataSource.data = data;\n return;\n }\n\n this.dataSource.data = data.sort((a: any, b: any) => {\n const isAsc = sort.direction === 'asc';\n return this.compare(a[sort.active], b[sort.active], isAsc);\n });\n }\n\n compare(a: any, b: any, isAsc: boolean) {\n if (typeof a === 'string' && typeof b === 'string') {\n return (a.toLowerCase() < b.toLowerCase() ? -1 : 1) * (isAsc ? 1 : -1);\n }\n return (a < b ? -1 : 1) * (isAsc ? 1 : -1);\n }\n\n createObjectFromSelection() {\n const selectedRows = this.selection.selected;\n const selectedObjects = selectedRows.map(row => {\n const obj: any = {};\n this.columns.forEach(column => {\n obj[column.key] = row[column.key];\n });\n return obj;\n });\n this.tableData.emit(selectedObjects);\n }\n\n handleRowClick(id: string) {\n this.rowClick.emit(id); \n }\n}\n\nexport interface TableColumn {\n key: string;\n label: string;\n sort: boolean;\n}\n","<div class=\"checkboxTable\">\n <table mat-table [dataSource]=\"dataSource\" matSort>\n <ng-container *ngFor=\"let column of columns; let isFirst = first\" [matColumnDef]=\"column.key\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header (click)=\"sortData(column.key)\">\n <div class=\"header\">\n <ng-container *ngIf=\"isFirst && checkbox\">\n <mat-checkbox (change)=\"$event ? toggleAllRows() : null\" [checked]=\"selection.hasValue() && isAllSelected()\"\n [indeterminate]=\"selection.hasValue() && !isAllSelected()\"\n (click)=\"$event.stopPropagation(); createObjectFromSelection()\">\n </mat-checkbox>\n </ng-container>\n <div *ngIf=\"column.key !== 'actions'\">\n <mat-icon>filter_list</mat-icon>\n </div>\n <div class=\"label\">\n {{ column.label }}\n </div> \n </div> \n </th>\n <td mat-cell *matCellDef=\"let row\">\n <ng-container *ngIf=\"isFirst && checkbox\">\n <mat-checkbox (click)=\"$event.stopPropagation(); createObjectFromSelection()\"\n (change)=\"$event ? selection.toggle(row) : null\" [checked]=\"selection.isSelected(row)\">\n </mat-checkbox>\n </ng-container>\n <ng-container *ngIf=\"column.key === 'actions'\">\n <div class=\"actions\">\n <mat-icon (click)=\"handleRowClick(row)\">edit</mat-icon>\n <mat-icon (click)=\"handleRowClick(row)\">delete</mat-icon> \n <mat-icon (click)=\"handleRowClick(row)\">visibility</mat-icon>\n </div>\n </ng-container>\n {{ row[column.key] }}\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns;\"></tr>\n </table>\n\n <mat-paginator class=\"custom_paginator\" appBubblePagination\n [appCustomLength]=\"dataSource ? dataSource.data.length : 0\" [length]=\"dataSource ? dataSource.data.length : 0\"\n [pageSizeOptions]=\"[5, 10, 25, 100]\" [pageSize]=\"5\" aria-label=\"Select page\"></mat-paginator>\n</div>","import { MatPaginatorIntl } from '@angular/material/paginator';\n\nexport function CustomPaginator() {\n const customPaginatorIntl = new MatPaginatorIntl();\n\n customPaginatorIntl.itemsPerPageLabel = 'Itens por página:';\n customPaginatorIntl.nextPageLabel = 'Próxima página';\n customPaginatorIntl.previousPageLabel = 'Página anterior'; \n return customPaginatorIntl;\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatTableModule } from '@angular/material/table';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatPaginatorIntl, MatPaginatorModule } from '@angular/material/paginator';\nimport { MapaTableComponent } from './table.component';\nimport { BubblePaginationDirective } from 'mapa-library-ui';\nimport { CustomPaginator } from './paginator_customization';\n\n@NgModule({\n declarations: [\n MapaTableComponent\n ],\n imports: [\n CommonModule,\n MatCheckboxModule,\n MatIconModule,\n MatPaginatorModule,\n MatTableModule,\n BubblePaginationDirective\n ],\n exports: [\n MapaTableComponent\n ],\n providers: [\n { provide: MatPaginatorIntl, useValue: CustomPaginator() }\n ]\n})\nexport class MapaTableModule { }\n","/*\n * Public API Surface of mapa-library-ui input\n */\n\nexport * from '../table/src/table.component';\nexport * from '../table/src/table.module';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;MAYa,kBAAkB,CAAA;AAN/B,IAAA,WAAA,GAAA;QAOW,IAAO,CAAA,OAAA,GAAkB,EAAE,CAAC;QAC5B,IAAI,CAAA,IAAA,GAAa,EAAE,CAAC;AAKnB,QAAA,IAAA,CAAA,SAAS,GAAwB,IAAI,YAAY,EAAS,CAAC;AAC3D,QAAA,IAAA,CAAA,QAAQ,GAAyB,IAAI,YAAY,EAAU,CAAC;QAEtE,IAAgB,CAAA,gBAAA,GAAa,EAAE,CAAC;QAEhC,IAAS,CAAA,SAAA,GAAG,IAAI,cAAc,CAAM,IAAI,EAAE,EAAE,CAAC,CAAC;AA8E/C,KAAA;IA5EC,eAAe,GAAA;QACb,IAAI,CAAC,UAAU,GAAG,IAAI,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpD,IAAI,CAAC,UAAU,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;QAC3C,IAAI,CAAC,UAAU,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;AACj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,EAAA,CAAA,CAAA,EAAA;AAMT,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAJf,SAAA,EAAA;YACT,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE;AAC3D,SAAA,EAAA,OAAA,EAAA,CAZC,YAAY;YACZ,iBAAiB;YACjB,aAAa;YACb,kBAAkB;YAClB,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAUL,eAAe,EAAA,UAAA,EAAA,CAAA;kBAnB3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,iBAAiB;wBACjB,aAAa;wBACb,kBAAkB;wBAClB,cAAc;wBACd,yBAAyB;AAC1B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,kBAAkB;AACnB,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACT,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE;AAC3D,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class TagComponent {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TagComponent, selector: "mapa-tag", inputs: { text: "text", color: "color" }, ngImport: i0, template: "<div class=\"tag\" [class.highlight]=\"color === 'highlight'\">{{text}}</div>\n", styles: [".tag{border-radius:16px;border:1px solid #CDCDCD;background:#fff;display:inline-block;padding:8px 12px;line-height:24px;font-weight:300}.tag.highlight{border:2px solid #EEDB2A}\n"] }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TagComponent, decorators: [{
|
|
10
|
+
type: Component,
|
|
11
|
+
args: [{ selector: 'mapa-tag', template: "<div class=\"tag\" [class.highlight]=\"color === 'highlight'\">{{text}}</div>\n", styles: [".tag{border-radius:16px;border:1px solid #CDCDCD;background:#fff;display:inline-block;padding:8px 12px;line-height:24px;font-weight:300}.tag.highlight{border:2px solid #EEDB2A}\n"] }]
|
|
12
|
+
}], propDecorators: { text: [{
|
|
13
|
+
type: Input
|
|
14
|
+
}], color: [{
|
|
15
|
+
type: Input
|
|
16
|
+
}] } });
|
|
17
|
+
|
|
18
|
+
class MapaTagModule {
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaTagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
20
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: MapaTagModule, declarations: [TagComponent], imports: [CommonModule], exports: [TagComponent] }); }
|
|
21
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaTagModule, imports: [CommonModule] }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaTagModule, decorators: [{
|
|
24
|
+
type: NgModule,
|
|
25
|
+
args: [{
|
|
26
|
+
declarations: [
|
|
27
|
+
TagComponent
|
|
28
|
+
],
|
|
29
|
+
imports: [
|
|
30
|
+
CommonModule
|
|
31
|
+
],
|
|
32
|
+
exports: [
|
|
33
|
+
TagComponent
|
|
34
|
+
]
|
|
35
|
+
}]
|
|
36
|
+
}] });
|
|
37
|
+
|
|
38
|
+
/*
|
|
39
|
+
* Public API Surface of mapa-library-ui icon
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Generated bundle index. Do not edit.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
export { MapaTagModule, TagComponent };
|
|
47
|
+
//# sourceMappingURL=mapa-library-ui-src-lib-components-tag.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapa-library-ui-src-lib-components-tag.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/tag/tag.component.ts","../../../projects/mapa-library-ui/src/lib/components/tag/tag.component.html","../../../projects/mapa-library-ui/src/lib/components/tag/tag.module.ts","../../../projects/mapa-library-ui/src/lib/components/tag/public-api.ts","../../../projects/mapa-library-ui/src/lib/components/tag/mapa-library-ui-src-lib-components-tag.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'mapa-tag',\n templateUrl: './tag.component.html',\n styleUrls: ['./tag.component.scss']\n})\nexport class TagComponent {\n @Input() text: string | undefined;\n @Input() color: 'highlight' | null | undefined;\n\n}\n","<div class=\"tag\" [class.highlight]=\"color === 'highlight'\">{{text}}</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { TagComponent } from './tag.component';\n\n@NgModule({\n declarations: [\n TagComponent\n ],\n imports: [\n CommonModule\n ],\n exports: [\n TagComponent\n ]\n})\nexport class MapaTagModule { }\n","/*\n * Public API Surface of mapa-library-ui icon\n */\n\nexport * from './tag.component';\nexport * from './tag.module';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAOa,YAAY,C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AA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACF,iBAAA,CAAA;;;ACdD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, Input, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/material/icon';
|
|
4
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
class MapaWarningComponent {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaWarningComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MapaWarningComponent, selector: "mapa-warning", inputs: { firstLine: "firstLine", secondLine: "secondLine" }, ngImport: i0, template: "<div class=\"warning\">\n <div class=\"material-icons\">\n <mat-icon>warning</mat-icon>\n </div>\n <div>\n <p>\n {{firstLine}}\n </p>\n <p>\n {{secondLine}}\n </p>\n </div> \n</div>", styles: [".warning{background:#eedb2a;display:flex;padding:24px 30px;align-items:flex-start}.warning p{font-family:SF-Pro;font-size:14px;font-style:normal;font-weight:400;line-height:20px}.warning .material-icons{margin-right:12px;margin-top:auto;margin-bottom:auto;display:flex;align-items:center;justify-content:center}\n"], dependencies: [{ kind: "component", type: i1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaWarningComponent, decorators: [{
|
|
12
|
+
type: Component,
|
|
13
|
+
args: [{ selector: 'mapa-warning', template: "<div class=\"warning\">\n <div class=\"material-icons\">\n <mat-icon>warning</mat-icon>\n </div>\n <div>\n <p>\n {{firstLine}}\n </p>\n <p>\n {{secondLine}}\n </p>\n </div> \n</div>", styles: [".warning{background:#eedb2a;display:flex;padding:24px 30px;align-items:flex-start}.warning p{font-family:SF-Pro;font-size:14px;font-style:normal;font-weight:400;line-height:20px}.warning .material-icons{margin-right:12px;margin-top:auto;margin-bottom:auto;display:flex;align-items:center;justify-content:center}\n"] }]
|
|
14
|
+
}], propDecorators: { firstLine: [{
|
|
15
|
+
type: Input
|
|
16
|
+
}], secondLine: [{
|
|
17
|
+
type: Input
|
|
18
|
+
}] } });
|
|
19
|
+
|
|
20
|
+
class MapaWarningModule {
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaWarningModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
22
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: MapaWarningModule, declarations: [MapaWarningComponent], imports: [CommonModule,
|
|
23
|
+
MatIconModule], exports: [MapaWarningComponent] }); }
|
|
24
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaWarningModule, imports: [CommonModule,
|
|
25
|
+
MatIconModule] }); }
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaWarningModule, decorators: [{
|
|
28
|
+
type: NgModule,
|
|
29
|
+
args: [{
|
|
30
|
+
declarations: [
|
|
31
|
+
MapaWarningComponent
|
|
32
|
+
],
|
|
33
|
+
imports: [
|
|
34
|
+
CommonModule,
|
|
35
|
+
MatIconModule
|
|
36
|
+
],
|
|
37
|
+
exports: [MapaWarningComponent],
|
|
38
|
+
}]
|
|
39
|
+
}] });
|
|
40
|
+
|
|
41
|
+
/*
|
|
42
|
+
* Public API Surface of mapa-library-ui icon
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Generated bundle index. Do not edit.
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
export { MapaWarningComponent, MapaWarningModule };
|
|
50
|
+
//# sourceMappingURL=mapa-library-ui-src-lib-components-warning.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapa-library-ui-src-lib-components-warning.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/warning/src/warning.component.ts","../../../projects/mapa-library-ui/src/lib/components/warning/src/warning.component.html","../../../projects/mapa-library-ui/src/lib/components/warning/src/warning.module.ts","../../../projects/mapa-library-ui/src/lib/components/warning/public-api.ts","../../../projects/mapa-library-ui/src/lib/components/warning/mapa-library-ui-src-lib-components-warning.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'mapa-warning',\n templateUrl: './warning.component.html',\n styleUrls: ['./warning.component.scss']\n})\nexport class MapaWarningComponent {\n @Input() firstLine: string | undefined;\n @Input() secondLine: string | undefined;\n}\n","<div class=\"warning\">\n <div class=\"material-icons\">\n <mat-icon>warning</mat-icon>\n </div>\n <div>\n <p>\n {{firstLine}}\n </p>\n <p>\n {{secondLine}}\n </p>\n </div> \n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MapaWarningComponent } from './warning.component';\nimport { MatIconModule } from '@angular/material/icon';\n\n\n\n@NgModule({\n declarations: [\n MapaWarningComponent\n ],\n imports: [\n CommonModule,\n MatIconModule\n ],\n exports: [MapaWarningComponent],\n})\nexport class MapaWarningModule { }\n","/*\n * Public API Surface of mapa-library-ui icon\n */\n\nexport * from './src/warning.component';\nexport * from './src/warning.module';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"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