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.
Files changed (34) hide show
  1. package/esm2020/src/lib/components/breadcrumb/lib/components/breadcrumb/src/breadcrumb.component.mjs +3 -3
  2. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.component.mjs +7 -29
  3. package/fesm2015/mapa-library-ui-src-lib-components-breadcrumb.mjs +2 -2
  4. package/fesm2015/mapa-library-ui-src-lib-components-breadcrumb.mjs.map +1 -1
  5. package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs +5 -79
  6. package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
  7. package/fesm2020/mapa-library-ui-src-lib-components-breadcrumb.mjs +2 -2
  8. package/fesm2020/mapa-library-ui-src-lib-components-breadcrumb.mjs.map +1 -1
  9. package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs +5 -79
  10. package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
  11. package/mapa-library-ui-0.18.0.tgz +0 -0
  12. package/package.json +1 -1
  13. package/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.component.d.ts +2 -9
  14. package/esm2020/src/lib/components/capability/lib/core/elements/index.mjs +0 -8
  15. package/esm2020/src/lib/components/capability/lib/core/elements/input-text.mjs +0 -8
  16. package/esm2020/src/lib/components/capability/lib/core/elements/radio-button.mjs +0 -8
  17. package/esm2020/src/lib/components/capability/lib/core/elements/textarea.mjs +0 -8
  18. package/esm2020/src/lib/components/capability/lib/core/interfaces/button-icon.interface.mjs +0 -2
  19. package/esm2020/src/lib/components/capability/lib/core/interfaces/chart-options.interface.mjs +0 -2
  20. package/esm2020/src/lib/components/capability/lib/core/interfaces/dialog-data.interface.mjs +0 -2
  21. package/esm2020/src/lib/components/capability/lib/core/interfaces/index.mjs +0 -7
  22. package/esm2020/src/lib/components/capability/lib/core/interfaces/table-column.interface.mjs +0 -4
  23. package/esm2020/src/lib/components/capability/lib/core/interfaces/table-row-click-event.interface.mjs +0 -2
  24. package/mapa-library-ui-0.17.0.tgz +0 -0
  25. package/src/lib/components/capability/lib/core/elements/index.d.ts +0 -7
  26. package/src/lib/components/capability/lib/core/elements/input-text.d.ts +0 -4
  27. package/src/lib/components/capability/lib/core/elements/radio-button.d.ts +0 -4
  28. package/src/lib/components/capability/lib/core/elements/textarea.d.ts +0 -4
  29. package/src/lib/components/capability/lib/core/interfaces/button-icon.interface.d.ts +0 -6
  30. package/src/lib/components/capability/lib/core/interfaces/chart-options.interface.d.ts +0 -19
  31. package/src/lib/components/capability/lib/core/interfaces/dialog-data.interface.d.ts +0 -11
  32. package/src/lib/components/capability/lib/core/interfaces/index.d.ts +0 -6
  33. package/src/lib/components/capability/lib/core/interfaces/table-column.interface.d.ts +0 -15
  34. package/src/lib/components/capability/lib/core/interfaces/table-row-click-event.interface.d.ts +0 -4
@@ -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 class=\"mapa-breadcrumb__item mapa-breadcrumb__item--highlight\">{{ items[items.length - 1].title }}</span>\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}.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"] }] });
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 class=\"mapa-breadcrumb__item mapa-breadcrumb__item--highlight\">{{ items[items.length - 1].title }}</span>\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}.mapa-breadcrumb__item--next{margin:0 6px}.mapa-breadcrumb__item--highlight{color:#ea561d}\n"] }]
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 class=\"mapa-breadcrumb__item mapa-breadcrumb__item--highlight\">{{ items[items.length - 1].title }}</span>\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,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,mFCRpC,ueAWA,EAAA,MAAA,EAAA,CAAA,0UAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDHa,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,SAAS;+BACE,iBAAiB,EAAA,QAAA,EAAA,ueAAA,EAAA,MAAA,EAAA,CAAA,0UAAA,CAAA,EAAA,CAAA;8BAKlB,KAAK,EAAA,CAAA;sBAAb,KAAK;;;MECK,oBAAoB,CAAA;;kHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAJhB,YAAA,EAAA,CAAA,uBAAuB,CAE5B,EAAA,OAAA,EAAA,CAAA,YAAY,aADZ,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAGtB,oBAAA,CAAA,IAAA,GAAA,EAAA,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;AACxB,iBAAA,CAAA;;;ACTD;;AAEG;;ACFH;;AAEG;;ACFH;;AAEG;;;;"}
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,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,mFCRpC,whBAeA,EAAA,MAAA,EAAA,CAAA,wVAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,OAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,cAAA,EAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,IAAA,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;4FDPa,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,SAAS;+BACE,iBAAiB,EAAA,QAAA,EAAA,whBAAA,EAAA,MAAA,EAAA,CAAA,wVAAA,CAAA,EAAA,CAAA;8BAKlB,KAAK,EAAA,CAAA;sBAAb,KAAK;;;MECK,oBAAoB,CAAA;;kHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EAJhB,YAAA,EAAA,CAAA,uBAAuB,CAE5B,EAAA,OAAA,EAAA,CAAA,YAAY,aADZ,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAGtB,oBAAA,CAAA,IAAA,GAAA,EAAA,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;AACxB,iBAAA,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, FormControl } from '@angular/forms';
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';
@@ -783,62 +783,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
783
783
  }]
784
784
  }] });
785
785
 
786
- class ElementBase {
787
- constructor(options = {}) {
788
- this.value = options.value || "";
789
- this.key = options.key || "";
790
- this.label = options.label || "";
791
- this.required = !!options.required;
792
- this.order = options.order === undefined ? 1 : options.order;
793
- this.controlType = options.controlType || "";
794
- this.type = options.type || "";
795
- this.placeholder = options.placeholder || "";
796
- this.hint = options.hint || "";
797
- this.prefix = options.prefix || "";
798
- this.suffix = options.suffix || "";
799
- this.autosize = options.autosize || false;
800
- this.autosizeMinWidth = options.autosizeMinWidth || "212px";
801
- this.autosizeMaxWidth = options.autosizeMaxWidth || "400px";
802
- this.autosizeMinRow = options.autosizeMinRow || 2;
803
- this.autosizeMaxRow = options.autosizeMaxRow || 5;
804
- this.options = options.options || [];
805
- this.multiple = options.multiple || false;
806
- this.search = options.search || undefined;
807
- this.maxLength = options.maxLength || null;
808
- this.errors = options.errors || undefined;
809
- this.actionButton = options.actionButton || undefined;
810
- this.mask = options.mask || undefined;
811
- }
812
- }
813
-
814
- class Dropdown extends ElementBase {
815
- constructor() {
816
- super(...arguments);
817
- this.controlType = 'dropdown';
818
- }
819
- }
820
-
821
- class InputText extends ElementBase {
822
- constructor() {
823
- super(...arguments);
824
- this.controlType = 'input';
825
- }
826
- }
827
-
828
- class RadioButton extends ElementBase {
829
- constructor() {
830
- super(...arguments);
831
- this.controlType = 'radio-button';
832
- }
833
- }
834
-
835
- class Textarea extends ElementBase {
836
- constructor() {
837
- super(...arguments);
838
- this.controlType = 'textarea';
839
- }
840
- }
841
-
842
786
  class MapaCapabilityComparativeIndicatorComponent {
843
787
  getWidth(item) {
844
788
  return 32 + (item.interval || 0) * 2 + "px";
@@ -892,34 +836,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
892
836
  }] } });
893
837
 
894
838
  class MapaCapabilityComparativeComponent {
895
- constructor() {
896
- this.index = 0;
897
- this.formControlComparative = new FormControl();
898
- this.dropdownComparative = new Dropdown({
899
- key: 'competency',
900
- label: 'Competência',
901
- options: this.options,
902
- });
903
- this.formControlComparative.valueChanges.subscribe((value) => {
904
- this.index = Number(value.key);
905
- });
906
- }
907
- ngOnInit() {
908
- if (this.options) {
909
- this.dropdownComparative.options = this.options;
910
- this.formControlComparative.setValue(this.options[0]);
911
- }
912
- }
839
+ constructor() { }
840
+ ngOnInit() { }
913
841
  }
914
842
  MapaCapabilityComparativeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
915
- MapaCapabilityComparativeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityComparativeComponent, selector: "mapa-capability-comparative", inputs: { data: "data", options: "options" }, ngImport: i0, template: "<section class=\"capability-comparative\">\n <nav *ngIf=\"dropdownComparative.options.length > 0\">\n <mapa-dropdown\n [formControl]=\"formControlComparative\"\n [element]=\"dropdownComparative\"\n ></mapa-dropdown>\n </nav>\n <main>\n <mapa-capability-comparative-header\n [data]=\"data[index]\"\n ></mapa-capability-comparative-header>\n <mapa-capability-comparative-chart\n [data]=\"data[index]\"\n ></mapa-capability-comparative-chart>\n </main>\n</section>\n", styles: [".capability-comparative{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;margin:auto}.capability-comparative main{width:100%}@media only screen and (min-width: 1200px){.capability-comparative{flex-direction:row}.capability-comparative nav{display:flex;height:100%;width:30%}.capability-comparative main{width:70%}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MapaCapabilityComparativeChartComponent, selector: "mapa-capability-comparative-chart", inputs: ["data"] }, { kind: "component", type: MapaCapabilityComparativeHeaderComponent, selector: "mapa-capability-comparative-header", inputs: ["data"] }, { kind: "component", type: MapaDropdownComponent, selector: "mapa-dropdown", inputs: ["formControl", "formControlSearch", "element", "border"] }], encapsulation: i0.ViewEncapsulation.None });
843
+ 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 });
916
844
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeComponent, decorators: [{
917
845
  type: Component,
918
- args: [{ selector: "mapa-capability-comparative", encapsulation: ViewEncapsulation.None, template: "<section class=\"capability-comparative\">\n <nav *ngIf=\"dropdownComparative.options.length > 0\">\n <mapa-dropdown\n [formControl]=\"formControlComparative\"\n [element]=\"dropdownComparative\"\n ></mapa-dropdown>\n </nav>\n <main>\n <mapa-capability-comparative-header\n [data]=\"data[index]\"\n ></mapa-capability-comparative-header>\n <mapa-capability-comparative-chart\n [data]=\"data[index]\"\n ></mapa-capability-comparative-chart>\n </main>\n</section>\n", styles: [".capability-comparative{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;margin:auto}.capability-comparative main{width:100%}@media only screen and (min-width: 1200px){.capability-comparative{flex-direction:row}.capability-comparative nav{display:flex;height:100%;width:30%}.capability-comparative main{width:70%}}\n"] }]
846
+ 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"] }]
919
847
  }], ctorParameters: function () { return []; }, propDecorators: { data: [{
920
848
  type: Input
921
- }], options: [{
922
- type: Input
923
849
  }] } });
924
850
 
925
851
  class MapaCapabilityComparativeHeaderModule {