mapa-library-ui 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/src/lib/components/breadcrumb/lib/components/breadcrumb/src/breadcrumb.component.mjs +3 -3
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.component.mjs +7 -29
- package/fesm2015/mapa-library-ui-src-lib-components-breadcrumb.mjs +2 -2
- package/fesm2015/mapa-library-ui-src-lib-components-breadcrumb.mjs.map +1 -1
- package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs +5 -79
- package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-breadcrumb.mjs +2 -2
- package/fesm2020/mapa-library-ui-src-lib-components-breadcrumb.mjs.map +1 -1
- package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs +5 -79
- package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
- package/mapa-library-ui-0.18.0.tgz +0 -0
- package/package.json +1 -1
- package/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.component.d.ts +2 -9
- package/esm2020/src/lib/components/capability/lib/core/elements/index.mjs +0 -8
- package/esm2020/src/lib/components/capability/lib/core/elements/input-text.mjs +0 -8
- package/esm2020/src/lib/components/capability/lib/core/elements/radio-button.mjs +0 -8
- package/esm2020/src/lib/components/capability/lib/core/elements/textarea.mjs +0 -8
- package/esm2020/src/lib/components/capability/lib/core/interfaces/button-icon.interface.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/core/interfaces/chart-options.interface.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/core/interfaces/dialog-data.interface.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/core/interfaces/index.mjs +0 -7
- package/esm2020/src/lib/components/capability/lib/core/interfaces/table-column.interface.mjs +0 -4
- package/esm2020/src/lib/components/capability/lib/core/interfaces/table-row-click-event.interface.mjs +0 -2
- package/mapa-library-ui-0.17.0.tgz +0 -0
- package/src/lib/components/capability/lib/core/elements/index.d.ts +0 -7
- package/src/lib/components/capability/lib/core/elements/input-text.d.ts +0 -4
- package/src/lib/components/capability/lib/core/elements/radio-button.d.ts +0 -4
- package/src/lib/components/capability/lib/core/elements/textarea.d.ts +0 -4
- package/src/lib/components/capability/lib/core/interfaces/button-icon.interface.d.ts +0 -6
- package/src/lib/components/capability/lib/core/interfaces/chart-options.interface.d.ts +0 -19
- package/src/lib/components/capability/lib/core/interfaces/dialog-data.interface.d.ts +0 -11
- package/src/lib/components/capability/lib/core/interfaces/index.d.ts +0 -6
- package/src/lib/components/capability/lib/core/interfaces/table-column.interface.d.ts +0 -15
- package/src/lib/components/capability/lib/core/interfaces/table-row-click-event.interface.d.ts +0 -4
package/esm2020/src/lib/components/breadcrumb/lib/components/breadcrumb/src/breadcrumb.component.mjs
CHANGED
|
@@ -4,11 +4,11 @@ import * as i1 from "@angular/common";
|
|
|
4
4
|
export class MapaBreadcrumbComponent {
|
|
5
5
|
}
|
|
6
6
|
MapaBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
MapaBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBreadcrumbComponent, selector: "mapa-breadcrumb", inputs: { items: "items" }, ngImport: i0, template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span
|
|
7
|
+
MapaBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBreadcrumbComponent, selector: "mapa-breadcrumb", inputs: { items: "items" }, ngImport: i0, template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\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"] }] });
|
|
8
8
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbComponent, decorators: [{
|
|
9
9
|
type: Component,
|
|
10
|
-
args: [{ selector: 'mapa-breadcrumb', template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span
|
|
10
|
+
args: [{ selector: 'mapa-breadcrumb', template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"] }]
|
|
11
11
|
}], propDecorators: { items: [{
|
|
12
12
|
type: Input
|
|
13
13
|
}] } });
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBhLWxpYnJhcnktdWkvc3JjL2xpYi9jb21wb25lbnRzL2JyZWFkY3J1bWIvc3JjL2JyZWFkY3J1bWIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbWFwYS1saWJyYXJ5LXVpL3NyYy9saWIvY29tcG9uZW50cy9icmVhZGNydW1iL3NyYy9icmVhZGNydW1iLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFRakQ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3M9XCJtYXBhLWJyZWFkY3J1bWJfX2l0ZW0tLW5leHRcIj4+PC9zcGFuPlxuICA8L3NwYW4+XG4gIDxzcGFuXG4gICAgY2xhc3M9XCJtYXBhLWJyZWFkY3J1bWJfX2l0ZW1cIlxuICAgIFtjbGFzcy5tYXBhLWJyZWFkY3J1bWJfX2l0ZW0tLWhpZ2hsaWdodF09XCJpdGVtcy5sZW5ndGggPiAxXCJcbiAgICA+e3sgaXRlbXNbaXRlbXMubGVuZ3RoIC0gMV0udGl0bGUgfX08L3NwYW5cbiAgPlxuPC9zZWN0aW9uPlxuIl19
|
|
@@ -1,39 +1,17 @@
|
|
|
1
1
|
import { Component, Input, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { FormControl } from "@angular/forms";
|
|
3
|
-
import { Dropdown } from "./../../../../core/elements";
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "
|
|
6
|
-
import * as i2 from "../capability-comparative-
|
|
7
|
-
import * as i3 from "../capability-comparative-header/capability-comparative-header.component";
|
|
8
|
-
import * as i4 from "../../../dropdown/src/dropdown.component";
|
|
3
|
+
import * as i1 from "../capability-comparative-chart/capability-comparative-chart.component";
|
|
4
|
+
import * as i2 from "../capability-comparative-header/capability-comparative-header.component";
|
|
9
5
|
export class MapaCapabilityComparativeComponent {
|
|
10
|
-
constructor() {
|
|
11
|
-
|
|
12
|
-
this.formControlComparative = new FormControl();
|
|
13
|
-
this.dropdownComparative = new Dropdown({
|
|
14
|
-
key: 'competency',
|
|
15
|
-
label: 'Competência',
|
|
16
|
-
options: this.options,
|
|
17
|
-
});
|
|
18
|
-
this.formControlComparative.valueChanges.subscribe((value) => {
|
|
19
|
-
this.index = Number(value.key);
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
ngOnInit() {
|
|
23
|
-
if (this.options) {
|
|
24
|
-
this.dropdownComparative.options = this.options;
|
|
25
|
-
this.formControlComparative.setValue(this.options[0]);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
6
|
+
constructor() { }
|
|
7
|
+
ngOnInit() { }
|
|
28
8
|
}
|
|
29
9
|
MapaCapabilityComparativeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
30
|
-
MapaCapabilityComparativeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityComparativeComponent, selector: "mapa-capability-comparative", inputs: { data: "data"
|
|
10
|
+
MapaCapabilityComparativeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityComparativeComponent, selector: "mapa-capability-comparative", inputs: { data: "data" }, ngImport: i0, template: "<section class=\"capability-comparative\">\n <mapa-capability-comparative-header\n [data]=\"data\"\n ></mapa-capability-comparative-header>\n <mapa-capability-comparative-chart\n [data]=\"data\"\n ></mapa-capability-comparative-chart>\n</section>\n", styles: [".capability-comparative{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;margin:auto}.capability-comparative__header{align-items:flex-start!important;flex-direction:column!important}.capability-comparative__header section{display:flex;gap:24px}\n"], dependencies: [{ kind: "component", type: i1.MapaCapabilityComparativeChartComponent, selector: "mapa-capability-comparative-chart", inputs: ["data"] }, { kind: "component", type: i2.MapaCapabilityComparativeHeaderComponent, selector: "mapa-capability-comparative-header", inputs: ["data"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
31
11
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeComponent, decorators: [{
|
|
32
12
|
type: Component,
|
|
33
|
-
args: [{ selector: "mapa-capability-comparative", encapsulation: ViewEncapsulation.None, template: "<section class=\"capability-comparative\">\n <
|
|
13
|
+
args: [{ selector: "mapa-capability-comparative", encapsulation: ViewEncapsulation.None, template: "<section class=\"capability-comparative\">\n <mapa-capability-comparative-header\n [data]=\"data\"\n ></mapa-capability-comparative-header>\n <mapa-capability-comparative-chart\n [data]=\"data\"\n ></mapa-capability-comparative-chart>\n</section>\n", styles: [".capability-comparative{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;margin:auto}.capability-comparative__header{align-items:flex-start!important;flex-direction:column!important}.capability-comparative__header section{display:flex;gap:24px}\n"] }]
|
|
34
14
|
}], ctorParameters: function () { return []; }, propDecorators: { data: [{
|
|
35
15
|
type: Input
|
|
36
|
-
}], options: [{
|
|
37
|
-
type: Input
|
|
38
16
|
}] } });
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FwYWJpbGl0eS1jb21wYXJhdGl2ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBhLWxpYnJhcnktdWkvc3JjL2xpYi9jb21wb25lbnRzL2NhcGFiaWxpdHkvc3JjL2NhcGFiaWxpdHktY29tcGFyYXRpdmUvY2FwYWJpbGl0eS1jb21wYXJhdGl2ZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBhLWxpYnJhcnktdWkvc3JjL2xpYi9jb21wb25lbnRzL2NhcGFiaWxpdHkvc3JjL2NhcGFiaWxpdHktY29tcGFyYXRpdmUvY2FwYWJpbGl0eS1jb21wYXJhdGl2ZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQVU1RSxNQUFNLE9BQU8sa0NBQWtDO0lBRzd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NvbXBhcmF0aXZlXCI+XG4gIDxtYXBhLWNhcGFiaWxpdHktY29tcGFyYXRpdmUtaGVhZGVyXG4gICAgW2RhdGFdPVwiZGF0YVwiXG4gID48L21hcGEtY2FwYWJpbGl0eS1jb21wYXJhdGl2ZS1oZWFkZXI+XG4gIDxtYXBhLWNhcGFiaWxpdHktY29tcGFyYXRpdmUtY2hhcnRcbiAgICBbZGF0YV09XCJkYXRhXCJcbiAgPjwvbWFwYS1jYXBhYmlsaXR5LWNvbXBhcmF0aXZlLWNoYXJ0PlxuPC9zZWN0aW9uPlxuIl19
|
|
@@ -6,10 +6,10 @@ import { CommonModule } from '@angular/common';
|
|
|
6
6
|
class MapaBreadcrumbComponent {
|
|
7
7
|
}
|
|
8
8
|
MapaBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
-
MapaBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBreadcrumbComponent, selector: "mapa-breadcrumb", inputs: { items: "items" }, ngImport: i0, template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span
|
|
9
|
+
MapaBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaBreadcrumbComponent, selector: "mapa-breadcrumb", inputs: { items: "items" }, ngImport: i0, template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\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"] }] });
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaBreadcrumbComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
|
-
args: [{ selector: 'mapa-breadcrumb', template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span
|
|
12
|
+
args: [{ selector: 'mapa-breadcrumb', template: "<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n", styles: [".mapa-breadcrumb{display:flex;font-family:SF-Pro;flex-direction:row;margin-bottom:32px}.mapa-breadcrumb__item{font-size:12px;font-style:normal;font-weight:400;line-height:16px;color:#50575e}.mapa-breadcrumb__item a{text-decoration:none;color:#50575e}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"] }]
|
|
13
13
|
}], propDecorators: { items: [{
|
|
14
14
|
type: Input
|
|
15
15
|
}] } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mapa-library-ui-src-lib-components-breadcrumb.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.html","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.module.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/public-api.ts","../../../projects/mapa-library-ui/src/breadcrumb.ts","../../../projects/mapa-library-ui/src/mapa-library-ui-src-lib-components-breadcrumb.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { Breadpiece } from '../../../core/interfaces/bread-piece.interface';\n\n@Component({\n selector: 'mapa-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss']\n})\nexport class MapaBreadcrumbComponent {\n @Input() items!: Breadpiece[];\n}\n","<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span
|
|
1
|
+
{"version":3,"file":"mapa-library-ui-src-lib-components-breadcrumb.mjs","sources":["../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.component.html","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/src/breadcrumb.module.ts","../../../projects/mapa-library-ui/src/lib/components/breadcrumb/public-api.ts","../../../projects/mapa-library-ui/src/breadcrumb.ts","../../../projects/mapa-library-ui/src/mapa-library-ui-src-lib-components-breadcrumb.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { Breadpiece } from '../../../core/interfaces/bread-piece.interface';\n\n@Component({\n selector: 'mapa-breadcrumb',\n templateUrl: './breadcrumb.component.html',\n styleUrls: ['./breadcrumb.component.scss']\n})\nexport class MapaBreadcrumbComponent {\n @Input() items!: Breadpiece[];\n}\n","<section class=\"mapa-breadcrumb\">\n <span\n class=\"mapa-breadcrumb__item\"\n *ngFor=\"let item of items.slice(0, items.length - 1)\"\n >\n <a *ngIf=\"item.url; else common\" [href]=\"item.url\">{{ item.title }}</a>\n <ng-template #common>{{ item.title }}</ng-template>\n <span class=\"mapa-breadcrumb__item--next\">></span>\n </span>\n <span\n class=\"mapa-breadcrumb__item\"\n [class.mapa-breadcrumb__item--highlight]=\"items.length > 1\"\n >{{ items[items.length - 1].title }}</span\n >\n</section>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { MapaBreadcrumbComponent } from './breadcrumb.component';\n\n@NgModule({\n declarations: [MapaBreadcrumbComponent],\n exports: [MapaBreadcrumbComponent],\n imports: [CommonModule],\n})\nexport class MapaBreadcrumbModule {}\n","/*\n * Public API Surface of mapa-library-ui breadcrumb\n */\n\nexport * from './src/breadcrumb.component';\nexport * from './src/breadcrumb.module';\n","/*\n * Public API Surface of mapa-library-ui breadcrumb\n */\n\nexport * from './lib/components/breadcrumb/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './breadcrumb';\n"],"names":[],"mappings":";;;;;MAQa,uBAAuB,CAAA;;qHAAvB,uBAAuB,EAAA,IA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AAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAFrB,YAAY,CAAA,EAAA,CAAA,CAAA;4FAEX,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;oBAClC,OAAO,EAAE,CAAC,YAAY,CAAC;iBACxB,CAAA;;;ACTD;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -6,7 +6,7 @@ import { MatButtonModule } from '@angular/material/button';
|
|
|
6
6
|
import { ReplaySubject } from 'rxjs/internal/ReplaySubject';
|
|
7
7
|
import { Subject } from 'rxjs/internal/Subject';
|
|
8
8
|
import * as i2 from '@angular/forms';
|
|
9
|
-
import { FormsModule, ReactiveFormsModule
|
|
9
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
10
10
|
import * as i4 from '@angular/material/form-field';
|
|
11
11
|
import { MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
12
12
|
import * as i5 from '@angular/material/select';
|
|
@@ -787,62 +787,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
787
787
|
}]
|
|
788
788
|
}] });
|
|
789
789
|
|
|
790
|
-
class ElementBase {
|
|
791
|
-
constructor(options = {}) {
|
|
792
|
-
this.value = options.value || "";
|
|
793
|
-
this.key = options.key || "";
|
|
794
|
-
this.label = options.label || "";
|
|
795
|
-
this.required = !!options.required;
|
|
796
|
-
this.order = options.order === undefined ? 1 : options.order;
|
|
797
|
-
this.controlType = options.controlType || "";
|
|
798
|
-
this.type = options.type || "";
|
|
799
|
-
this.placeholder = options.placeholder || "";
|
|
800
|
-
this.hint = options.hint || "";
|
|
801
|
-
this.prefix = options.prefix || "";
|
|
802
|
-
this.suffix = options.suffix || "";
|
|
803
|
-
this.autosize = options.autosize || false;
|
|
804
|
-
this.autosizeMinWidth = options.autosizeMinWidth || "212px";
|
|
805
|
-
this.autosizeMaxWidth = options.autosizeMaxWidth || "400px";
|
|
806
|
-
this.autosizeMinRow = options.autosizeMinRow || 2;
|
|
807
|
-
this.autosizeMaxRow = options.autosizeMaxRow || 5;
|
|
808
|
-
this.options = options.options || [];
|
|
809
|
-
this.multiple = options.multiple || false;
|
|
810
|
-
this.search = options.search || undefined;
|
|
811
|
-
this.maxLength = options.maxLength || null;
|
|
812
|
-
this.errors = options.errors || undefined;
|
|
813
|
-
this.actionButton = options.actionButton || undefined;
|
|
814
|
-
this.mask = options.mask || undefined;
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
class Dropdown extends ElementBase {
|
|
819
|
-
constructor() {
|
|
820
|
-
super(...arguments);
|
|
821
|
-
this.controlType = 'dropdown';
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
class InputText extends ElementBase {
|
|
826
|
-
constructor() {
|
|
827
|
-
super(...arguments);
|
|
828
|
-
this.controlType = 'input';
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
class RadioButton extends ElementBase {
|
|
833
|
-
constructor() {
|
|
834
|
-
super(...arguments);
|
|
835
|
-
this.controlType = 'radio-button';
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
class Textarea extends ElementBase {
|
|
840
|
-
constructor() {
|
|
841
|
-
super(...arguments);
|
|
842
|
-
this.controlType = 'textarea';
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
|
|
846
790
|
class MapaCapabilityComparativeIndicatorComponent {
|
|
847
791
|
getWidth(item) {
|
|
848
792
|
return 32 + (item.interval || 0) * 2 + "px";
|
|
@@ -896,34 +840,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
896
840
|
}] } });
|
|
897
841
|
|
|
898
842
|
class MapaCapabilityComparativeComponent {
|
|
899
|
-
constructor() {
|
|
900
|
-
|
|
901
|
-
this.formControlComparative = new FormControl();
|
|
902
|
-
this.dropdownComparative = new Dropdown({
|
|
903
|
-
key: 'competency',
|
|
904
|
-
label: 'Competência',
|
|
905
|
-
options: this.options,
|
|
906
|
-
});
|
|
907
|
-
this.formControlComparative.valueChanges.subscribe((value) => {
|
|
908
|
-
this.index = Number(value.key);
|
|
909
|
-
});
|
|
910
|
-
}
|
|
911
|
-
ngOnInit() {
|
|
912
|
-
if (this.options) {
|
|
913
|
-
this.dropdownComparative.options = this.options;
|
|
914
|
-
this.formControlComparative.setValue(this.options[0]);
|
|
915
|
-
}
|
|
916
|
-
}
|
|
843
|
+
constructor() { }
|
|
844
|
+
ngOnInit() { }
|
|
917
845
|
}
|
|
918
846
|
MapaCapabilityComparativeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
919
|
-
MapaCapabilityComparativeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityComparativeComponent, selector: "mapa-capability-comparative", inputs: { data: "data"
|
|
847
|
+
MapaCapabilityComparativeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityComparativeComponent, selector: "mapa-capability-comparative", inputs: { data: "data" }, ngImport: i0, template: "<section class=\"capability-comparative\">\n <mapa-capability-comparative-header\n [data]=\"data\"\n ></mapa-capability-comparative-header>\n <mapa-capability-comparative-chart\n [data]=\"data\"\n ></mapa-capability-comparative-chart>\n</section>\n", styles: [".capability-comparative{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;margin:auto}.capability-comparative__header{align-items:flex-start!important;flex-direction:column!important}.capability-comparative__header section{display:flex;gap:24px}\n"], dependencies: [{ kind: "component", type: MapaCapabilityComparativeChartComponent, selector: "mapa-capability-comparative-chart", inputs: ["data"] }, { kind: "component", type: MapaCapabilityComparativeHeaderComponent, selector: "mapa-capability-comparative-header", inputs: ["data"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
920
848
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeComponent, decorators: [{
|
|
921
849
|
type: Component,
|
|
922
|
-
args: [{ selector: "mapa-capability-comparative", encapsulation: ViewEncapsulation.None, template: "<section class=\"capability-comparative\">\n <
|
|
850
|
+
args: [{ selector: "mapa-capability-comparative", encapsulation: ViewEncapsulation.None, template: "<section class=\"capability-comparative\">\n <mapa-capability-comparative-header\n [data]=\"data\"\n ></mapa-capability-comparative-header>\n <mapa-capability-comparative-chart\n [data]=\"data\"\n ></mapa-capability-comparative-chart>\n</section>\n", styles: [".capability-comparative{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;margin:auto}.capability-comparative__header{align-items:flex-start!important;flex-direction:column!important}.capability-comparative__header section{display:flex;gap:24px}\n"] }]
|
|
923
851
|
}], ctorParameters: function () { return []; }, propDecorators: { data: [{
|
|
924
852
|
type: Input
|
|
925
|
-
}], options: [{
|
|
926
|
-
type: Input
|
|
927
853
|
}] } });
|
|
928
854
|
|
|
929
855
|
class MapaCapabilityComparativeHeaderModule {
|