mapa-library-ui 0.0.8 → 0.0.11
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 +1 -22
- package/{esm2022 → esm2020}/lib/core/directives/custom-paginator.directive.mjs +4 -4
- package/{esm2022 → esm2020}/lib/core/directives/mat-input-autosize.directive.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/button/src/button.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/button/src/button.module.mjs +5 -5
- package/{esm2022 → esm2020}/src/lib/components/button-icon/src/button-icon.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/button-icon/src/button-icon.module.mjs +7 -7
- package/{esm2022/src/lib/components/filters → esm2020/src/lib/components/capability}/button/src/button.component.mjs +4 -4
- package/{esm2022/src/lib/components/filters → esm2020/src/lib/components/capability}/button/src/button.module.mjs +5 -5
- package/{esm2022/src/lib/components/dialog → esm2020/src/lib/components/capability}/icon/src/icon.component.mjs +4 -4
- package/{esm2022/src/lib/components/dialog → esm2020/src/lib/components/capability}/icon/src/icon.module.mjs +5 -5
- package/esm2020/src/lib/components/capability/mapa-library-ui-src-lib-components-capability.mjs +5 -0
- package/{esm2022 → esm2020}/src/lib/components/checkbox/src/checkbox.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/checkbox/src/checkbox.module.mjs +11 -11
- package/{esm2022 → esm2020}/src/lib/components/dialog/button/src/button.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/dialog/button/src/button.module.mjs +5 -5
- package/{esm2022/src/lib/components/filters → esm2020/src/lib/components/dialog}/icon/src/icon.component.mjs +4 -4
- package/{esm2022/src/lib/components/filters → esm2020/src/lib/components/dialog}/icon/src/icon.module.mjs +5 -5
- package/{esm2022 → esm2020}/src/lib/components/dropdown/src/dropdown.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/dropdown/src/dropdown.module.mjs +13 -13
- package/{esm2022 → esm2020}/src/lib/components/dropdown/src/option/option.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/empty/src/empty.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/empty/src/empty.module.mjs +5 -5
- package/esm2020/src/lib/components/filters/button/public-api.mjs +6 -0
- package/esm2020/src/lib/components/filters/button/src/button.component.mjs +23 -0
- package/esm2020/src/lib/components/filters/button/src/button.module.mjs +19 -0
- package/esm2020/src/lib/components/filters/icon/public-api.mjs +6 -0
- package/esm2020/src/lib/components/filters/icon/src/icon.component.mjs +26 -0
- package/esm2020/src/lib/components/filters/icon/src/icon.module.mjs +19 -0
- package/esm2020/src/lib/components/filters/shared-public-api.mjs +6 -0
- package/{esm2022 → esm2020}/src/lib/components/icon/src/icon.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/icon/src/icon.module.mjs +5 -5
- package/{esm2022 → esm2020}/src/lib/components/input/src/input.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/input/src/input.module.mjs +16 -16
- package/{esm2022 → esm2020}/src/lib/components/nav-list/src/nav-list.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/nav-list/src/nav-list.module.mjs +5 -5
- package/{esm2022 → esm2020}/src/lib/components/radio-button/src/radio-button.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/radio-button/src/radio-button.module.mjs +7 -7
- package/{esm2022 → esm2020}/src/lib/components/report-item/src/report-item.component.mjs +5 -5
- package/{esm2022 → esm2020}/src/lib/components/report-item/src/report-item.module.mjs +9 -9
- package/{esm2022 → esm2020}/src/lib/components/table/src/table.component.mjs +4 -4
- package/{esm2022 → esm2020}/src/lib/components/table/src/table.module.mjs +16 -16
- package/esm2020/src/lib/components/tag/public-api.mjs +6 -0
- package/esm2020/src/lib/components/tag/src/tag.component.mjs +15 -0
- package/esm2020/src/lib/components/tag/src/tag.module.mjs +24 -0
- package/{esm2022 → esm2020}/src/lib/components/warning/src/warning.component.mjs +5 -5
- package/{esm2022 → esm2020}/src/lib/components/warning/src/warning.module.mjs +7 -7
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-button-icon.mjs +9 -9
- package/fesm2015/mapa-library-ui-src-lib-components-button-icon.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-button.mjs +7 -7
- package/fesm2015/mapa-library-ui-src-lib-components-button.mjs.map +1 -0
- package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs +97 -0
- package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-checkbox.mjs +13 -13
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-checkbox.mjs.map +1 -1
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-dialog.mjs +14 -14
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-dialog.mjs.map +1 -1
- package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs +93 -0
- package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-empty.mjs +7 -7
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-empty.mjs.map +1 -1
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-filters.mjs +14 -14
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-filters.mjs.map +1 -1
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-icon.mjs +7 -7
- package/fesm2015/mapa-library-ui-src-lib-components-icon.mjs.map +1 -0
- package/fesm2015/mapa-library-ui-src-lib-components-input.mjs +81 -0
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-input.mjs.map +1 -1
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-nav-list.mjs +7 -7
- package/fesm2015/mapa-library-ui-src-lib-components-nav-list.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-radio-button.mjs +9 -9
- package/fesm2015/mapa-library-ui-src-lib-components-radio-button.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-report-item.mjs +12 -12
- package/fesm2015/mapa-library-ui-src-lib-components-report-item.mjs.map +1 -0
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-table.mjs +18 -18
- package/fesm2015/mapa-library-ui-src-lib-components-table.mjs.map +1 -0
- package/fesm2015/mapa-library-ui-src-lib-components-tag.mjs +47 -0
- package/fesm2015/mapa-library-ui-src-lib-components-tag.mjs.map +1 -0
- package/fesm2015/mapa-library-ui-src-lib-components-warning.mjs +50 -0
- package/{fesm2022 → fesm2015}/mapa-library-ui-src-lib-components-warning.mjs.map +1 -1
- package/fesm2015/mapa-library-ui.mjs +327 -0
- package/fesm2015/mapa-library-ui.mjs.map +1 -0
- package/fesm2020/mapa-library-ui-src-lib-components-button-icon.mjs +70 -0
- package/{fesm2022 → fesm2020}/mapa-library-ui-src-lib-components-button-icon.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-button.mjs +50 -0
- package/{fesm2022 → fesm2020}/mapa-library-ui-src-lib-components-button.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs +97 -0
- package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs.map +1 -0
- package/fesm2020/mapa-library-ui-src-lib-components-checkbox.mjs +60 -0
- package/fesm2020/mapa-library-ui-src-lib-components-checkbox.mjs.map +1 -0
- package/fesm2020/mapa-library-ui-src-lib-components-dialog.mjs +97 -0
- package/fesm2020/mapa-library-ui-src-lib-components-dialog.mjs.map +1 -0
- package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs +91 -0
- package/{fesm2022 → fesm2020}/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-empty.mjs +43 -0
- package/fesm2020/mapa-library-ui-src-lib-components-empty.mjs.map +1 -0
- package/fesm2020/mapa-library-ui-src-lib-components-filters.mjs +97 -0
- package/fesm2020/mapa-library-ui-src-lib-components-filters.mjs.map +1 -0
- package/fesm2020/mapa-library-ui-src-lib-components-icon.mjs +53 -0
- package/{fesm2022 → fesm2020}/mapa-library-ui-src-lib-components-icon.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-input.mjs +81 -0
- package/fesm2020/mapa-library-ui-src-lib-components-input.mjs.map +1 -0
- package/fesm2020/mapa-library-ui-src-lib-components-nav-list.mjs +52 -0
- package/{fesm2022 → fesm2020}/mapa-library-ui-src-lib-components-nav-list.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-radio-button.mjs +62 -0
- package/{fesm2022 → fesm2020}/mapa-library-ui-src-lib-components-radio-button.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-report-item.mjs +74 -0
- package/{fesm2022 → fesm2020}/mapa-library-ui-src-lib-components-report-item.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-table.mjs +174 -0
- package/{fesm2022 → fesm2020}/mapa-library-ui-src-lib-components-table.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-tag.mjs +47 -0
- package/fesm2020/mapa-library-ui-src-lib-components-tag.mjs.map +1 -0
- package/fesm2020/mapa-library-ui-src-lib-components-warning.mjs +50 -0
- package/fesm2020/mapa-library-ui-src-lib-components-warning.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mapa-library-ui.mjs +6 -6
- package/{fesm2022 → fesm2020}/mapa-library-ui.mjs.map +1 -1
- package/lib/core/directives/custom-paginator.directive.d.ts +1 -1
- package/lib/core/directives/mat-input-autosize.directive.d.ts +1 -1
- package/mapa-library-ui-0.0.11.tgz +0 -0
- package/package.json +99 -55
- package/src/lib/components/button/src/button.component.d.ts +1 -1
- package/src/lib/components/button-icon/src/button-icon.component.d.ts +1 -1
- package/src/lib/components/capability/button/public-api.d.ts +2 -0
- package/src/lib/components/capability/button/src/button.component.d.ts +10 -0
- package/src/lib/components/capability/button/src/button.module.d.ts +9 -0
- package/src/lib/components/capability/icon/public-api.d.ts +2 -0
- package/src/lib/components/capability/icon/src/icon.component.d.ts +13 -0
- package/src/lib/components/capability/icon/src/icon.module.d.ts +9 -0
- package/src/lib/components/capability/index.d.ts +5 -0
- package/src/lib/components/capability/shared-public-api.d.ts +2 -0
- package/src/lib/components/checkbox/src/checkbox.component.d.ts +1 -1
- package/src/lib/components/dialog/button/src/button.component.d.ts +1 -1
- package/src/lib/components/dialog/icon/src/icon.component.d.ts +1 -1
- package/src/lib/components/dropdown/src/dropdown.component.d.ts +1 -1
- package/src/lib/components/dropdown/src/option/option.component.d.ts +1 -1
- package/src/lib/components/filters/button/src/button.component.d.ts +1 -1
- package/src/lib/components/filters/icon/src/icon.component.d.ts +1 -1
- package/src/lib/components/icon/src/icon.component.d.ts +1 -1
- package/src/lib/components/input/src/input.component.d.ts +1 -1
- package/src/lib/components/nav-list/src/nav-list.component.d.ts +1 -1
- package/src/lib/components/radio-button/src/radio-button.component.d.ts +1 -1
- package/src/lib/components/report-item/src/report-item.component.d.ts +1 -1
- package/src/lib/components/table/src/table.component.d.ts +1 -1
- package/src/lib/components/tag/public-api.d.ts +2 -2
- package/src/lib/components/tag/{tag.component.d.ts → src/tag.component.d.ts} +2 -2
- package/src/lib/components/warning/src/warning.component.d.ts +1 -1
- package/esm2022/src/lib/components/tag/public-api.mjs +0 -6
- package/esm2022/src/lib/components/tag/tag.component.mjs +0 -15
- package/esm2022/src/lib/components/tag/tag.module.mjs +0 -24
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs +0 -91
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs +0 -81
- package/fesm2022/mapa-library-ui-src-lib-components-tag.mjs +0 -47
- package/fesm2022/mapa-library-ui-src-lib-components-tag.mjs.map +0 -1
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs +0 -50
- package/mapa-library-ui-0.0.8.tgz +0 -0
- /package/{esm2022 → esm2020}/lib/core/elements/dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/core/elements/element-base.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/core/elements/input-text.mjs +0 -0
- /package/{esm2022 → esm2020}/lib/core/interfaces/option.interface.mjs +0 -0
- /package/{esm2022 → esm2020}/mapa-library-ui.mjs +0 -0
- /package/{esm2022 → esm2020}/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/button/mapa-library-ui-src-lib-components-button.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/button/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/button-icon/mapa-library-ui-src-lib-components-button-icon.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/button-icon/public-api.mjs +0 -0
- /package/{esm2022/src/lib/components/dialog → esm2020/src/lib/components/capability}/button/public-api.mjs +0 -0
- /package/{esm2022/src/lib/components/dialog → esm2020/src/lib/components/capability}/icon/public-api.mjs +0 -0
- /package/{esm2022/src/lib/components/dialog → esm2020/src/lib/components/capability}/shared-public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/checkbox/mapa-library-ui-src-lib-components-checkbox.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/checkbox/public-api.mjs +0 -0
- /package/{esm2022/src/lib/components/filters → esm2020/src/lib/components/dialog}/button/public-api.mjs +0 -0
- /package/{esm2022/src/lib/components/filters → esm2020/src/lib/components/dialog}/icon/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/dialog/mapa-library-ui-src-lib-components-dialog.mjs +0 -0
- /package/{esm2022/src/lib/components/filters → esm2020/src/lib/components/dialog}/shared-public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/dropdown/mapa-library-ui-src-lib-components-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/dropdown/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/empty/mapa-library-ui-src-lib-components-empty.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/empty/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/filters/mapa-library-ui-src-lib-components-filters.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/icon/mapa-library-ui-src-lib-components-icon.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/icon/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/input/mapa-library-ui-src-lib-components-input.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/input/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/nav-list/mapa-library-ui-src-lib-components-nav-list.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/nav-list/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/radio-button/mapa-library-ui-src-lib-components-radio-button.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/radio-button/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/report-item/mapa-library-ui-src-lib-components-report-item.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/report-item/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/table/mapa-library-ui-src-lib-components-table.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/table/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/table/src/paginator_customization.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/tag/mapa-library-ui-src-lib-components-tag.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/warning/mapa-library-ui-src-lib-components-warning.mjs +0 -0
- /package/{esm2022 → esm2020}/src/lib/components/warning/public-api.mjs +0 -0
- /package/src/lib/components/tag/{tag.module.d.ts → src/tag.module.d.ts} +0 -0
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, ViewEncapsulation, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as i2 from '@angular/material/icon';
|
|
6
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
7
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
-
import { MatListModule } from '@angular/material/list';
|
|
9
|
-
|
|
10
|
-
class MapaOptionComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.optionsFilter = this.element?.options;
|
|
13
|
-
}
|
|
14
|
-
emit(option) {
|
|
15
|
-
if (this.element?.multiple) {
|
|
16
|
-
}
|
|
17
|
-
else {
|
|
18
|
-
this.control.setValue([option.value]);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MapaOptionComponent, selector: "mapa-option", inputs: { control: "control", element: "element" }, ngImport: i0, template: "<ul>\n <li *ngFor=\"let option of element.options; track option\" (click)=\"emit(option)\">{{ option.value }}</li>\n</ul>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] }); }
|
|
23
|
-
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaOptionComponent, decorators: [{
|
|
25
|
-
type: Component,
|
|
26
|
-
args: [{ selector: 'mapa-option', template: "<ul>\n <li *ngFor=\"let option of element.options; track option\" (click)=\"emit(option)\">{{ option.value }}</li>\n</ul>" }]
|
|
27
|
-
}], ctorParameters: function () { return []; }, propDecorators: { control: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], element: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}] } });
|
|
32
|
-
|
|
33
|
-
class MapaDropdownComponent {
|
|
34
|
-
constructor() {
|
|
35
|
-
this.opened = false;
|
|
36
|
-
}
|
|
37
|
-
toggleOptions() {
|
|
38
|
-
this.opened = !this.opened;
|
|
39
|
-
}
|
|
40
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
41
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MapaDropdownComponent, selector: "mapa-dropdown", inputs: { formControl: "formControl", element: "element", border: "border" }, ngImport: i0, template: "<div class=\"mapa-dropdown\">\n <label *ngIf=\"element.label\" class=\"mapa-dropdown__label\">\n {{ element.label }}\n </label>\n <span \n class=\"mapa-dropdown__content\"\n [class.soft__border]=\"border === 'soft__border'\"\n [class.mapa-dropdown__content--labeled]=\"!!element.label\"\n (click)=\"toggleOptions()\"\n >\n <span>\n <span class=\"mapa-dropdown__content--selected\" *ngIf=\"(formControl.value?.length || 0) > 0; else placeholder\">\n {{formControl.value?.[0] || ''}}\n <span class=\"mapa-dropdown__content--selected-others\" *ngIf=\"(formControl.value?.length || 0) > 1\">\n (+{{ (formControl.value?.length || 0) - 1 }}\n {{ formControl.value?.length === 2 ? \"outro\" : \"outros\" }})\n </span>\n </span>\n <ng-template #placeholder>\n <span class=\"mapa-dropdown__content--placeholder\">\n {{ element.placeholder || element.label }}\n </span>\n </ng-template>\n </span>\n <span>\n <mat-icon *ngIf=\"!opened\">keyboard_arrow_down</mat-icon>\n <mat-icon *ngIf=\"opened\">keyboard_arrow_up</mat-icon>\n </span>\n <div class=\"mapa-dropdown__options\" *ngIf=\"opened\">\n <mapa-option [control]=\"formControl\" [element]=\"element\"></mapa-option>\n </div>\n </span>\n</div>\n", styles: [".mapa-dropdown{max-width:min-content;min-width:235px}.mapa-dropdown .mat-icon{display:flex;justify-content:center;align-items:center}.mapa-dropdown__label{display:block;font-size:12px;font-style:normal;font-weight:600;line-height:16px;text-transform:uppercase;margin-bottom:16px}.mapa-dropdown__content{background:#fff;border-radius:10px;border:2px solid #a7aaad;display:flex;align-items:center;justify-content:space-between;position:relative;font-size:16px;font-style:normal;font-weight:400;line-height:24px;cursor:pointer;padding:0 16px;height:48px}.mapa-dropdown__content--labeled{height:40px}.mapa-dropdown__content.soft__border{border-radius:16px;border:1px solid #C3C4C7!important}.mapa-dropdown__content--selected{color:#000}.mapa-dropdown__content--selected-others,.mapa-dropdown__content--placeholder{color:#77838f}.mapa-dropdown__content ::ng-deep mapa-icon .mat-icon{height:18px!important}.mapa-dropdown__options{position:absolute;top:56px;left:0;width:100%;z-index:1}.mapa-dropdown__options ul{display:block;list-style-type:none;margin-block-start:0px;margin-block-end:0px;margin-inline-start:0px;margin-inline-end:0px;padding-inline-start:0px;background:#fff;border:1px solid #cdcdcd;border-radius:8px;box-shadow:0 4px 4px #00000021}.mapa-dropdown__options ul li{list-style:none;padding:4px 13px}.mapa-dropdown__options ul li:hover{background-color:#cdcdcd}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MapaOptionComponent, selector: "mapa-option", inputs: ["control", "element"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
42
|
-
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaDropdownComponent, decorators: [{
|
|
44
|
-
type: Component,
|
|
45
|
-
args: [{ selector: 'mapa-dropdown', encapsulation: ViewEncapsulation.None, template: "<div class=\"mapa-dropdown\">\n <label *ngIf=\"element.label\" class=\"mapa-dropdown__label\">\n {{ element.label }}\n </label>\n <span \n class=\"mapa-dropdown__content\"\n [class.soft__border]=\"border === 'soft__border'\"\n [class.mapa-dropdown__content--labeled]=\"!!element.label\"\n (click)=\"toggleOptions()\"\n >\n <span>\n <span class=\"mapa-dropdown__content--selected\" *ngIf=\"(formControl.value?.length || 0) > 0; else placeholder\">\n {{formControl.value?.[0] || ''}}\n <span class=\"mapa-dropdown__content--selected-others\" *ngIf=\"(formControl.value?.length || 0) > 1\">\n (+{{ (formControl.value?.length || 0) - 1 }}\n {{ formControl.value?.length === 2 ? \"outro\" : \"outros\" }})\n </span>\n </span>\n <ng-template #placeholder>\n <span class=\"mapa-dropdown__content--placeholder\">\n {{ element.placeholder || element.label }}\n </span>\n </ng-template>\n </span>\n <span>\n <mat-icon *ngIf=\"!opened\">keyboard_arrow_down</mat-icon>\n <mat-icon *ngIf=\"opened\">keyboard_arrow_up</mat-icon>\n </span>\n <div class=\"mapa-dropdown__options\" *ngIf=\"opened\">\n <mapa-option [control]=\"formControl\" [element]=\"element\"></mapa-option>\n </div>\n </span>\n</div>\n", styles: [".mapa-dropdown{max-width:min-content;min-width:235px}.mapa-dropdown .mat-icon{display:flex;justify-content:center;align-items:center}.mapa-dropdown__label{display:block;font-size:12px;font-style:normal;font-weight:600;line-height:16px;text-transform:uppercase;margin-bottom:16px}.mapa-dropdown__content{background:#fff;border-radius:10px;border:2px solid #a7aaad;display:flex;align-items:center;justify-content:space-between;position:relative;font-size:16px;font-style:normal;font-weight:400;line-height:24px;cursor:pointer;padding:0 16px;height:48px}.mapa-dropdown__content--labeled{height:40px}.mapa-dropdown__content.soft__border{border-radius:16px;border:1px solid #C3C4C7!important}.mapa-dropdown__content--selected{color:#000}.mapa-dropdown__content--selected-others,.mapa-dropdown__content--placeholder{color:#77838f}.mapa-dropdown__content ::ng-deep mapa-icon .mat-icon{height:18px!important}.mapa-dropdown__options{position:absolute;top:56px;left:0;width:100%;z-index:1}.mapa-dropdown__options ul{display:block;list-style-type:none;margin-block-start:0px;margin-block-end:0px;margin-inline-start:0px;margin-inline-end:0px;padding-inline-start:0px;background:#fff;border:1px solid #cdcdcd;border-radius:8px;box-shadow:0 4px 4px #00000021}.mapa-dropdown__options ul li{list-style:none;padding:4px 13px}.mapa-dropdown__options ul li:hover{background-color:#cdcdcd}\n"] }]
|
|
46
|
-
}], propDecorators: { formControl: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}], element: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], border: [{
|
|
51
|
-
type: Input
|
|
52
|
-
}] } });
|
|
53
|
-
|
|
54
|
-
class MapaDropdownModule {
|
|
55
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
56
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: MapaDropdownModule, declarations: [MapaDropdownComponent, MapaOptionComponent], imports: [CommonModule,
|
|
57
|
-
FormsModule,
|
|
58
|
-
ReactiveFormsModule,
|
|
59
|
-
MatListModule,
|
|
60
|
-
MatIconModule], exports: [MapaDropdownComponent] }); }
|
|
61
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaDropdownModule, imports: [CommonModule,
|
|
62
|
-
FormsModule,
|
|
63
|
-
ReactiveFormsModule,
|
|
64
|
-
MatListModule,
|
|
65
|
-
MatIconModule] }); }
|
|
66
|
-
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaDropdownModule, decorators: [{
|
|
68
|
-
type: NgModule,
|
|
69
|
-
args: [{
|
|
70
|
-
declarations: [MapaDropdownComponent, MapaOptionComponent],
|
|
71
|
-
exports: [MapaDropdownComponent],
|
|
72
|
-
imports: [
|
|
73
|
-
CommonModule,
|
|
74
|
-
FormsModule,
|
|
75
|
-
ReactiveFormsModule,
|
|
76
|
-
MatListModule,
|
|
77
|
-
MatIconModule,
|
|
78
|
-
],
|
|
79
|
-
}]
|
|
80
|
-
}] });
|
|
81
|
-
|
|
82
|
-
/*
|
|
83
|
-
* Public API Surface of mapa-library-ui dropdown
|
|
84
|
-
*/
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Generated bundle index. Do not edit.
|
|
88
|
-
*/
|
|
89
|
-
|
|
90
|
-
export { MapaDropdownComponent, MapaDropdownModule };
|
|
91
|
-
//# sourceMappingURL=mapa-library-ui-src-lib-components-dropdown.mjs.map
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import * as i2 from '@angular/forms';
|
|
6
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
7
|
-
import * as i3 from '@angular/material/form-field';
|
|
8
|
-
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
9
|
-
import * as i4 from '@angular/material/input';
|
|
10
|
-
import { MatInputModule } from '@angular/material/input';
|
|
11
|
-
import * as i5 from '@angular/material/icon';
|
|
12
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
13
|
-
import * as i6 from 'mapa-library-ui';
|
|
14
|
-
import { MatInputAutosizeDirective } from 'mapa-library-ui';
|
|
15
|
-
|
|
16
|
-
class MapaInputComponent {
|
|
17
|
-
hasValue() {
|
|
18
|
-
return !!this.formControl.value;
|
|
19
|
-
}
|
|
20
|
-
clearValue() {
|
|
21
|
-
this.formControl.setValue(null);
|
|
22
|
-
}
|
|
23
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MapaInputComponent, selector: "mapa-input", inputs: { formControl: "formControl", element: "element" }, ngImport: i0, template: "<label *ngIf=\"element.label\" class=\"mapa-input__label\">\n {{ element.label }}\n</label>\n<mat-form-field class=\"mapa-input\" appearance=\"outline\" subscriptSizing=\"dynamic\">\n <mat-icon *ngIf=\"element.prefix\" class=\"mapa-input--prefix\" matPrefix>\n {{ element.prefix }}\n </mat-icon>\n <input\n *ngIf=\"element.autosize\"\n matInput\n matInputAutosize\n [matInputAutosizeMinWidth]=\"element.autosizeMinWidth!\"\n [matInputAutosizeMaxWidth]=\"element.autosizeMaxWidth!\"\n [formControl]=\"formControl\"\n [placeholder]=\"element.placeholder || element.label\"\n />\n <input\n matInput\n *ngIf=\"!element.autosize\"\n [formControl]=\"formControl\"\n [placeholder]=\"element.placeholder || element.label\"\n />\n <mat-icon\n *ngIf=\"hasValue()\"\n (click)=\"clearValue()\"\n class=\"mapa-input--close\"\n matSuffix\n >close</mat-icon\n >\n <mat-icon *ngIf=\"element.suffix\" class=\"mapa-input--suffix\" matSuffix>\n {{ element.suffix }}\n </mat-icon>\n <mat-hint *ngIf=\"element.hint\">{{ element.hint }}</mat-hint>\n</mat-form-field>\n", styles: [".mapa-input__label{display:block;font-size:12px;font-style:normal;font-weight:600;line-height:16px;text-transform:uppercase;margin-bottom:16px}.mapa-input .mat-mdc-input-element{font-family:SF-Pro;font-size:16px;font-style:normal;font-weight:400}::ng-deep .mapa-input .mdc-text-field--outlined .mat-mdc-form-field-infix{padding-bottom:12px;padding-top:16px;--mat-form-field-container-height: 48px}::ng-deep .mapa-input .mdc-text-field--outlined{--mdc-outlined-text-field-container-shape: 8px;--mdc-outlined-text-field-outline-width: 2px}::ng-deep .mapa-input .mat-mdc-form-field-icon-suffix{display:flex}::ng-deep .mapa-input .mat-mdc-form-field-icon-suffix .mapa-input--close{padding:unset}::ng-deep .mapa-input .mat-mdc-form-field-icon-suffix .mapa-input--suffix{padding:0 0 0 8px}::ng-deep .mapa-input .mat-mdc-form-field-icon-suffix .mat-icon:last-child{padding-right:12px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.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.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i3.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i3.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.MatInputAutosizeDirective, selector: "[matInputAutosize]", inputs: ["matInputAutosizeMaxWidth", "matInputAutosizeMinWidth", "matInputAutosizeFontStyle"] }] }); }
|
|
25
|
-
}
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaInputComponent, decorators: [{
|
|
27
|
-
type: Component,
|
|
28
|
-
args: [{ selector: 'mapa-input', template: "<label *ngIf=\"element.label\" class=\"mapa-input__label\">\n {{ element.label }}\n</label>\n<mat-form-field class=\"mapa-input\" appearance=\"outline\" subscriptSizing=\"dynamic\">\n <mat-icon *ngIf=\"element.prefix\" class=\"mapa-input--prefix\" matPrefix>\n {{ element.prefix }}\n </mat-icon>\n <input\n *ngIf=\"element.autosize\"\n matInput\n matInputAutosize\n [matInputAutosizeMinWidth]=\"element.autosizeMinWidth!\"\n [matInputAutosizeMaxWidth]=\"element.autosizeMaxWidth!\"\n [formControl]=\"formControl\"\n [placeholder]=\"element.placeholder || element.label\"\n />\n <input\n matInput\n *ngIf=\"!element.autosize\"\n [formControl]=\"formControl\"\n [placeholder]=\"element.placeholder || element.label\"\n />\n <mat-icon\n *ngIf=\"hasValue()\"\n (click)=\"clearValue()\"\n class=\"mapa-input--close\"\n matSuffix\n >close</mat-icon\n >\n <mat-icon *ngIf=\"element.suffix\" class=\"mapa-input--suffix\" matSuffix>\n {{ element.suffix }}\n </mat-icon>\n <mat-hint *ngIf=\"element.hint\">{{ element.hint }}</mat-hint>\n</mat-form-field>\n", styles: [".mapa-input__label{display:block;font-size:12px;font-style:normal;font-weight:600;line-height:16px;text-transform:uppercase;margin-bottom:16px}.mapa-input .mat-mdc-input-element{font-family:SF-Pro;font-size:16px;font-style:normal;font-weight:400}::ng-deep .mapa-input .mdc-text-field--outlined .mat-mdc-form-field-infix{padding-bottom:12px;padding-top:16px;--mat-form-field-container-height: 48px}::ng-deep .mapa-input .mdc-text-field--outlined{--mdc-outlined-text-field-container-shape: 8px;--mdc-outlined-text-field-outline-width: 2px}::ng-deep .mapa-input .mat-mdc-form-field-icon-suffix{display:flex}::ng-deep .mapa-input .mat-mdc-form-field-icon-suffix .mapa-input--close{padding:unset}::ng-deep .mapa-input .mat-mdc-form-field-icon-suffix .mapa-input--suffix{padding:0 0 0 8px}::ng-deep .mapa-input .mat-mdc-form-field-icon-suffix .mat-icon:last-child{padding-right:12px}\n"] }]
|
|
29
|
-
}], propDecorators: { formControl: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}], element: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}] } });
|
|
34
|
-
|
|
35
|
-
class MapaInputModule {
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
37
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: MapaInputModule, declarations: [MapaInputComponent], imports: [CommonModule,
|
|
38
|
-
FormsModule,
|
|
39
|
-
ReactiveFormsModule,
|
|
40
|
-
MatFormFieldModule,
|
|
41
|
-
MatInputModule,
|
|
42
|
-
MatIconModule,
|
|
43
|
-
MatInputAutosizeDirective], exports: [MapaInputComponent] }); }
|
|
44
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaInputModule, imports: [CommonModule,
|
|
45
|
-
FormsModule,
|
|
46
|
-
ReactiveFormsModule,
|
|
47
|
-
MatFormFieldModule,
|
|
48
|
-
MatInputModule,
|
|
49
|
-
MatIconModule] }); }
|
|
50
|
-
}
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MapaInputModule, decorators: [{
|
|
52
|
-
type: NgModule,
|
|
53
|
-
args: [{
|
|
54
|
-
declarations: [
|
|
55
|
-
MapaInputComponent,
|
|
56
|
-
],
|
|
57
|
-
exports: [
|
|
58
|
-
MapaInputComponent,
|
|
59
|
-
],
|
|
60
|
-
imports: [
|
|
61
|
-
CommonModule,
|
|
62
|
-
FormsModule,
|
|
63
|
-
ReactiveFormsModule,
|
|
64
|
-
MatFormFieldModule,
|
|
65
|
-
MatInputModule,
|
|
66
|
-
MatIconModule,
|
|
67
|
-
MatInputAutosizeDirective,
|
|
68
|
-
]
|
|
69
|
-
}]
|
|
70
|
-
}] });
|
|
71
|
-
|
|
72
|
-
/*
|
|
73
|
-
* Public API Surface of mapa-library-ui input
|
|
74
|
-
*/
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Generated bundle index. Do not edit.
|
|
78
|
-
*/
|
|
79
|
-
|
|
80
|
-
export { MapaInputComponent, MapaInputModule };
|
|
81
|
-
//# sourceMappingURL=mapa-library-ui-src-lib-components-input.mjs.map
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,CAAA;+GAAZ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,YAAY,0FCPzB,iFACA,EAAA,MAAA,EAAA,CAAA,oLAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;4FDMa,YAAY,EAAA,UAAA,EAAA,CAAA;kBALxB,SAAS;+BACE,UAAU,EAAA,QAAA,EAAA,iFAAA,EAAA,MAAA,EAAA,CAAA,oLAAA,CAAA,EAAA,CAAA;8BAKX,IAAI,EAAA,CAAA;sBAAZ,KAAK;gBACG,KAAK,EAAA,CAAA;sBAAb,KAAK;;;MEMK,aAAa,CAAA;+GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAb,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,aAAa,EATtB,YAAA,EAAA,CAAA,YAAY,CAGZ,EAAA,OAAA,EAAA,CAAA,YAAY,aAGZ,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;AAGH,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,aAAa,YANtB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAMH,aAAa,EAAA,UAAA,EAAA,CAAA;kBAXzB,QAAQ;AAAC,YAAA,IAAA,EAAA,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;;;;"}
|
|
@@ -1,50 +0,0 @@
|
|
|
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
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{esm2022 → esm2020}/src/lib/components/button/mapa-library-ui-src-lib-components-button.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{esm2022 → esm2020}/src/lib/components/dialog/mapa-library-ui-src-lib-components-dialog.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{esm2022 → esm2020}/src/lib/components/empty/mapa-library-ui-src-lib-components-empty.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{esm2022 → esm2020}/src/lib/components/icon/mapa-library-ui-src-lib-components-icon.mjs
RENAMED
|
File without changes
|
|
File without changes
|
/package/{esm2022 → esm2020}/src/lib/components/input/mapa-library-ui-src-lib-components-input.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{esm2022 → esm2020}/src/lib/components/table/mapa-library-ui-src-lib-components-table.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{esm2022 → esm2020}/src/lib/components/tag/mapa-library-ui-src-lib-components-tag.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|