mapa-library-ui 0.90.2 → 1.0.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/fesm2022/mapa-library-ui-src-lib-components-benchmarking.mjs +59 -0
- package/fesm2022/mapa-library-ui-src-lib-components-benchmarking.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-breadcrumb.mjs +32 -0
- package/fesm2022/mapa-library-ui-src-lib-components-breadcrumb.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-button-icon.mjs +53 -0
- package/fesm2022/mapa-library-ui-src-lib-components-button-icon.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-button.mjs +38 -0
- package/fesm2022/mapa-library-ui-src-lib-components-button.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs +1312 -0
- package/fesm2022/mapa-library-ui-src-lib-components-capability.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs +628 -0
- package/fesm2022/mapa-library-ui-src-lib-components-chart.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-checkbox.mjs +34 -0
- package/fesm2022/mapa-library-ui-src-lib-components-checkbox.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs +333 -0
- package/fesm2022/mapa-library-ui-src-lib-components-datepicker.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dialog.mjs +172 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dialog.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs +645 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs +561 -0
- package/fesm2022/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-empty.mjs +71 -0
- package/fesm2022/mapa-library-ui-src-lib-components-empty.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs +744 -0
- package/fesm2022/mapa-library-ui-src-lib-components-filters.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-form.mjs +877 -0
- package/fesm2022/mapa-library-ui-src-lib-components-form.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs +166 -0
- package/fesm2022/mapa-library-ui-src-lib-components-group-report.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-icon.mjs +43 -0
- package/fesm2022/mapa-library-ui-src-lib-components-icon.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs +410 -0
- package/fesm2022/mapa-library-ui-src-lib-components-input.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-menu.mjs +51 -0
- package/fesm2022/mapa-library-ui-src-lib-components-menu.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-nav-list.mjs +41 -0
- package/fesm2022/mapa-library-ui-src-lib-components-nav-list.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-radio-button.mjs +54 -0
- package/fesm2022/mapa-library-ui-src-lib-components-radio-button.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-report-item.mjs +85 -0
- package/fesm2022/mapa-library-ui-src-lib-components-report-item.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs +1169 -0
- package/fesm2022/mapa-library-ui-src-lib-components-scale-parameterization.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs +1055 -0
- package/fesm2022/mapa-library-ui-src-lib-components-scale.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-slide-toggle.mjs +54 -0
- package/fesm2022/mapa-library-ui-src-lib-components-slide-toggle.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-svg-icon.mjs +109 -0
- package/fesm2022/mapa-library-ui-src-lib-components-svg-icon.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs +1052 -0
- package/fesm2022/mapa-library-ui-src-lib-components-table.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-tag.mjs +30 -0
- package/fesm2022/mapa-library-ui-src-lib-components-tag.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs +271 -0
- package/fesm2022/mapa-library-ui-src-lib-components-textarea.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-tooltip.mjs +186 -0
- package/fesm2022/mapa-library-ui-src-lib-components-tooltip.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs +59 -0
- package/fesm2022/mapa-library-ui-src-lib-components-warning.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/mapa-library-ui-src-lib-core-guards-authorize-guard.mjs +4 -4
- package/fesm2022/mapa-library-ui-src-lib-core-guards-authorize-guard.mjs.map +1 -0
- package/fesm2022/mapa-library-ui-src-lib-core-services.mjs +57 -0
- package/fesm2022/mapa-library-ui-src-lib-core-services.mjs.map +1 -0
- package/fesm2022/mapa-library-ui.mjs +7239 -0
- package/fesm2022/mapa-library-ui.mjs.map +1 -0
- package/index.d.ts +1878 -3
- package/mapa-library-ui-1.0.0.tgz +0 -0
- package/package.json +186 -195
- package/src/lib/components/benchmarking/index.d.ts +58 -5
- package/src/lib/components/breadcrumb/index.d.ts +14 -5
- package/src/lib/components/button/index.d.ts +13 -5
- package/src/lib/components/button-icon/index.d.ts +26 -5
- package/src/lib/components/capability/index.d.ts +574 -5
- package/src/lib/components/chart/index.d.ts +151 -5
- package/src/lib/components/checkbox/index.d.ts +11 -5
- package/src/lib/components/datepicker/index.d.ts +123 -5
- package/src/lib/components/dialog/index.d.ts +60 -5
- package/src/lib/components/dropdown/index.d.ts +235 -5
- package/src/lib/components/dropdown-tree/index.d.ts +148 -5
- package/src/lib/components/empty/index.d.ts +10 -5
- package/src/lib/components/filters/index.d.ts +225 -5
- package/src/lib/components/form/index.d.ts +191 -5
- package/src/lib/components/group-report/index.d.ts +101 -5
- package/src/lib/components/icon/index.d.ts +16 -5
- package/src/lib/components/input/index.d.ts +133 -5
- package/src/lib/components/menu/index.d.ts +34 -5
- package/src/lib/components/nav-list/index.d.ts +21 -5
- package/src/lib/components/radio-button/index.d.ts +130 -5
- package/src/lib/components/report-item/index.d.ts +45 -5
- package/src/lib/components/scale/index.d.ts +193 -5
- package/src/lib/components/scale-parameterization/index.d.ts +206 -5
- package/src/lib/components/slide-toggle/index.d.ts +130 -5
- package/src/lib/components/svg-icon/index.d.ts +19 -5
- package/src/lib/components/table/index.d.ts +276 -5
- package/src/lib/components/tag/index.d.ts +16 -5
- package/src/lib/components/textarea/index.d.ts +128 -5
- package/src/lib/components/tooltip/index.d.ts +58 -5
- package/src/lib/components/warning/index.d.ts +24 -5
- package/src/lib/core/guards/authorize-guard/index.d.ts +68 -5
- package/src/lib/core/services/index.d.ts +17 -5
- package/esm2020/lib/core/components/form-errors/form-errors.component.mjs +0 -25
- package/esm2020/lib/core/directives/custom-paginator-legacy.directive.mjs +0 -204
- package/esm2020/lib/core/directives/mat-input-autosize.directive.mjs +0 -99
- package/esm2020/lib/core/elements/action-button.mjs +0 -2
- package/esm2020/lib/core/elements/dropdown-tree.mjs +0 -8
- package/esm2020/lib/core/elements/dropdown.mjs +0 -8
- package/esm2020/lib/core/elements/element-base.mjs +0 -37
- package/esm2020/lib/core/elements/element-search.mjs +0 -2
- package/esm2020/lib/core/elements/errors.mjs +0 -2
- package/esm2020/lib/core/elements/input-text.mjs +0 -8
- package/esm2020/lib/core/elements/radio-button.mjs +0 -8
- package/esm2020/lib/core/elements/slide-toggle.mjs +0 -8
- package/esm2020/lib/core/elements/textarea.mjs +0 -8
- package/esm2020/lib/core/i18n/mapa-ui-texts.mjs +0 -100
- package/esm2020/lib/core/interfaces/button-icon.interface.mjs +0 -2
- package/esm2020/lib/core/interfaces/chart-options.interface.mjs +0 -2
- package/esm2020/lib/core/interfaces/classification.interface.mjs +0 -2
- package/esm2020/lib/core/interfaces/dialog-data.interface.mjs +0 -2
- package/esm2020/lib/core/interfaces/element-group.interface.mjs +0 -2
- package/esm2020/lib/core/interfaces/element-option.interface.mjs +0 -2
- package/esm2020/lib/core/interfaces/table-column.interface.mjs +0 -2
- package/esm2020/lib/core/js-brasil/index.mjs +0 -16
- package/esm2020/lib/core/js-brasil/src/create.mjs +0 -455
- package/esm2020/lib/core/js-brasil/src/createNumberMask.mjs +0 -115
- package/esm2020/lib/core/js-brasil/src/estados.mjs +0 -34
- package/esm2020/lib/core/js-brasil/src/index.mjs +0 -34
- package/esm2020/lib/core/js-brasil/src/inscricaoestadual.mjs +0 -702
- package/esm2020/lib/core/js-brasil/src/interfaces.mjs +0 -2
- package/esm2020/lib/core/js-brasil/src/iptu.mjs +0 -25
- package/esm2020/lib/core/js-brasil/src/iptu_create.mjs +0 -60
- package/esm2020/lib/core/js-brasil/src/iptu_mask.mjs +0 -38
- package/esm2020/lib/core/js-brasil/src/iptu_validate.mjs +0 -67
- package/esm2020/lib/core/js-brasil/src/mask.mjs +0 -579
- package/esm2020/lib/core/js-brasil/src/name.mjs +0 -371
- package/esm2020/lib/core/js-brasil/src/placa.mjs +0 -162
- package/esm2020/lib/core/js-brasil/src/rg.mjs +0 -63
- package/esm2020/lib/core/js-brasil/src/saude.mjs +0 -62
- package/esm2020/lib/core/js-brasil/src/utils.mjs +0 -304
- package/esm2020/lib/core/js-brasil/src/validate.mjs +0 -627
- package/esm2020/lib/core/pipes/cpf.mjs +0 -17
- package/esm2020/lib/core/pipes/safe-html.pipe.mjs +0 -21
- package/esm2020/lib/core/services/html-sanitizer.service.mjs +0 -23
- package/esm2020/lib/core/services/mapa-i18n.service.mjs +0 -36
- package/esm2020/lib/core/services/validation-message-resolver.service.mjs +0 -72
- package/esm2020/mapa-library-ui.mjs +0 -5
- package/esm2020/public-api.mjs +0 -29
- package/esm2020/src/lib/components/benchmarking/benchmarking.mjs +0 -5
- package/esm2020/src/lib/components/benchmarking/lib/components/benchmarking/public-api.mjs +0 -9
- package/esm2020/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmark-chart.component.mjs +0 -33
- package/esm2020/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmark-chart.module.mjs +0 -19
- package/esm2020/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.component.mjs +0 -14
- package/esm2020/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.module.mjs +0 -18
- package/esm2020/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmarking.interface.mjs +0 -2
- package/esm2020/src/lib/components/benchmarking/mapa-library-ui-src-lib-components-benchmarking.mjs +0 -5
- package/esm2020/src/lib/components/breadcrumb/breadcrumb.mjs +0 -5
- package/esm2020/src/lib/components/breadcrumb/lib/components/breadcrumb/public-api.mjs +0 -6
- package/esm2020/src/lib/components/breadcrumb/lib/components/breadcrumb/src/breadcrumb.component.mjs +0 -15
- package/esm2020/src/lib/components/breadcrumb/lib/components/breadcrumb/src/breadcrumb.module.mjs +0 -19
- package/esm2020/src/lib/components/breadcrumb/lib/core/interfaces/bread-piece.interface.mjs +0 -2
- package/esm2020/src/lib/components/breadcrumb/mapa-library-ui-src-lib-components-breadcrumb.mjs +0 -5
- package/esm2020/src/lib/components/button/button.mjs +0 -5
- package/esm2020/src/lib/components/button/lib/components/button/public-api.mjs +0 -6
- package/esm2020/src/lib/components/button/lib/components/button/src/button.component.mjs +0 -23
- package/esm2020/src/lib/components/button/lib/components/button/src/button.module.mjs +0 -19
- package/esm2020/src/lib/components/button/mapa-library-ui-src-lib-components-button.mjs +0 -5
- package/esm2020/src/lib/components/button-icon/button-icon.mjs +0 -5
- package/esm2020/src/lib/components/button-icon/lib/components/button-icon/public-api.mjs +0 -6
- package/esm2020/src/lib/components/button-icon/lib/components/button-icon/src/button-icon.component.mjs +0 -37
- package/esm2020/src/lib/components/button-icon/lib/components/button-icon/src/button-icon.module.mjs +0 -28
- package/esm2020/src/lib/components/button-icon/mapa-library-ui-src-lib-components-button-icon.mjs +0 -5
- package/esm2020/src/lib/components/capability/capability.mjs +0 -9
- package/esm2020/src/lib/components/capability/filters.mjs +0 -7
- package/esm2020/src/lib/components/capability/lib/components/button/public-api.mjs +0 -6
- package/esm2020/src/lib/components/capability/lib/components/button/src/button.component.mjs +0 -23
- package/esm2020/src/lib/components/capability/lib/components/button/src/button.module.mjs +0 -19
- package/esm2020/src/lib/components/capability/lib/components/capability/public-api.mjs +0 -28
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.component.mjs +0 -17
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.module.mjs +0 -32
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.mjs +0 -24
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.module.mjs +0 -19
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.mjs +0 -41
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative-header/capability-comparative-header.module.mjs +0 -19
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.component.mjs +0 -19
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.module.mjs +0 -19
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-detail/capability-detail.component.mjs +0 -87
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-detail/capability-detail.module.mjs +0 -64
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-dot/capability-dot.component.mjs +0 -31
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-dot/capability-dot.module.mjs +0 -20
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-expand/capability-expand.component.mjs +0 -53
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-expand/capability-expand.module.mjs +0 -23
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-indicator/capability-indicator.component.mjs +0 -14
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-indicator/capability-indicator.module.mjs +0 -18
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.component.mjs +0 -33
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.module.mjs +0 -21
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.mjs +0 -63
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-indicator-list/capability-indicator-list.module.mjs +0 -21
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-interval/capability-interval.component.mjs +0 -81
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-interval/capability-interval.module.mjs +0 -18
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.mjs +0 -28
- package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-interval-bar/capability-interval-bar.module.mjs +0 -20
- package/esm2020/src/lib/components/capability/lib/components/capability/src/essentials/consts/capability-classification.const.mjs +0 -57
- package/esm2020/src/lib/components/capability/lib/components/capability/src/essentials/interfaces/capability-classification.interface.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/components/capability/src/essentials/interfaces/capability-comparative.interface.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/components/capability/src/essentials/interfaces/capability-item.interface.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/components/capability/src/essentials/interfaces/capability.interface.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/components/capability/src/essentials/interfaces/index.mjs +0 -4
- package/esm2020/src/lib/components/capability/lib/components/capability/src/essentials/services/capability-classification.service.mjs +0 -14
- package/esm2020/src/lib/components/capability/lib/components/capability/src/essentials/services/reusable-interval-bar.service.mjs +0 -40
- package/esm2020/src/lib/components/capability/lib/components/dropdown/public-api.mjs +0 -6
- package/esm2020/src/lib/components/capability/lib/components/dropdown/src/dropdown.component.mjs +0 -167
- package/esm2020/src/lib/components/capability/lib/components/dropdown/src/dropdown.module.mjs +0 -82
- package/esm2020/src/lib/components/capability/lib/components/filters/public-api.mjs +0 -6
- package/esm2020/src/lib/components/capability/lib/components/filters/src/filters.component.mjs +0 -53
- package/esm2020/src/lib/components/capability/lib/components/filters/src/filters.module.mjs +0 -38
- package/esm2020/src/lib/components/capability/lib/components/icon/public-api.mjs +0 -6
- package/esm2020/src/lib/components/capability/lib/components/icon/src/icon.component.mjs +0 -26
- package/esm2020/src/lib/components/capability/lib/components/icon/src/icon.module.mjs +0 -19
- package/esm2020/src/lib/components/capability/lib/components/tag/src/tag.component.mjs +0 -14
- package/esm2020/src/lib/components/capability/lib/components/tag/src/tag.module.mjs +0 -24
- package/esm2020/src/lib/components/capability/lib/components/tooltip/public-api.mjs +0 -7
- package/esm2020/src/lib/components/capability/lib/components/tooltip/src/tooltip.component.mjs +0 -21
- package/esm2020/src/lib/components/capability/lib/components/tooltip/src/tooltip.directive.mjs +0 -140
- package/esm2020/src/lib/components/capability/lib/components/tooltip/src/tooltip.enums.mjs +0 -16
- package/esm2020/src/lib/components/capability/lib/components/tooltip/src/tooltip.module.mjs +0 -19
- package/esm2020/src/lib/components/capability/lib/core/components/form-errors/form-errors.component.mjs +0 -25
- package/esm2020/src/lib/components/capability/lib/core/elements/action-button.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/core/elements/dropdown.mjs +0 -8
- package/esm2020/src/lib/components/capability/lib/core/elements/element-base.mjs +0 -37
- package/esm2020/src/lib/components/capability/lib/core/elements/element-search.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/core/elements/errors.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/core/i18n/mapa-ui-texts.mjs +0 -100
- package/esm2020/src/lib/components/capability/lib/core/interfaces/element-group.interface.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/core/interfaces/element-option.interface.mjs +0 -2
- package/esm2020/src/lib/components/capability/lib/core/pipes/safe-html.pipe.mjs +0 -21
- package/esm2020/src/lib/components/capability/lib/core/services/html-sanitizer.service.mjs +0 -23
- package/esm2020/src/lib/components/capability/lib/core/services/mapa-i18n.service.mjs +0 -36
- package/esm2020/src/lib/components/capability/lib/core/services/validation-message-resolver.service.mjs +0 -72
- package/esm2020/src/lib/components/capability/mapa-library-ui-src-lib-components-capability.mjs +0 -5
- package/esm2020/src/lib/components/chart/chart.mjs +0 -5
- package/esm2020/src/lib/components/chart/lib/components/chart/public-api.mjs +0 -6
- package/esm2020/src/lib/components/chart/lib/components/chart/src/chart.component.mjs +0 -110
- package/esm2020/src/lib/components/chart/lib/components/chart/src/chart.module.mjs +0 -32
- package/esm2020/src/lib/components/chart/mapa-library-ui-src-lib-components-chart.mjs +0 -5
- package/esm2020/src/lib/components/checkbox/checkbox.mjs +0 -5
- package/esm2020/src/lib/components/checkbox/lib/components/checkbox/public-api.mjs +0 -6
- package/esm2020/src/lib/components/checkbox/lib/components/checkbox/src/checkbox.component.mjs +0 -17
- package/esm2020/src/lib/components/checkbox/lib/components/checkbox/src/checkbox.module.mjs +0 -35
- package/esm2020/src/lib/components/checkbox/mapa-library-ui-src-lib-components-checkbox.mjs +0 -5
- package/esm2020/src/lib/components/datepicker/datepicker.mjs +0 -5
- package/esm2020/src/lib/components/datepicker/lib/components/datepicker/public-api.mjs +0 -6
- package/esm2020/src/lib/components/datepicker/lib/components/datepicker/src/datepicker.component.mjs +0 -65
- package/esm2020/src/lib/components/datepicker/lib/components/datepicker/src/datepicker.module.mjs +0 -70
- package/esm2020/src/lib/components/datepicker/lib/core/i18n/mapa-ui-texts.mjs +0 -100
- package/esm2020/src/lib/components/datepicker/lib/core/services/mapa-i18n.service.mjs +0 -36
- package/esm2020/src/lib/components/datepicker/mapa-library-ui-src-lib-components-datepicker.mjs +0 -5
- package/esm2020/src/lib/components/dialog/dialog.mjs +0 -7
- package/esm2020/src/lib/components/dialog/lib/components/button/public-api.mjs +0 -6
- package/esm2020/src/lib/components/dialog/lib/components/button/src/button.component.mjs +0 -23
- package/esm2020/src/lib/components/dialog/lib/components/button/src/button.module.mjs +0 -19
- package/esm2020/src/lib/components/dialog/lib/components/dialog/public-api.mjs +0 -6
- package/esm2020/src/lib/components/dialog/lib/components/dialog/src/dialog.component.mjs +0 -63
- package/esm2020/src/lib/components/dialog/lib/components/dialog/src/dialog.module.mjs +0 -39
- package/esm2020/src/lib/components/dialog/lib/components/icon/public-api.mjs +0 -6
- package/esm2020/src/lib/components/dialog/lib/components/icon/src/icon.component.mjs +0 -26
- package/esm2020/src/lib/components/dialog/lib/components/icon/src/icon.module.mjs +0 -19
- package/esm2020/src/lib/components/dialog/lib/core/pipes/safe-html.pipe.mjs +0 -21
- package/esm2020/src/lib/components/dialog/lib/core/services/html-sanitizer.service.mjs +0 -23
- package/esm2020/src/lib/components/dialog/mapa-library-ui-src-lib-components-dialog.mjs +0 -5
- package/esm2020/src/lib/components/dropdown/dropdown.mjs +0 -8
- package/esm2020/src/lib/components/dropdown/lib/components/dropdown/public-api.mjs +0 -6
- package/esm2020/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.component.mjs +0 -167
- package/esm2020/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.module.mjs +0 -82
- package/esm2020/src/lib/components/dropdown/lib/core/components/form-errors/form-errors.component.mjs +0 -25
- package/esm2020/src/lib/components/dropdown/lib/core/elements/action-button.mjs +0 -2
- package/esm2020/src/lib/components/dropdown/lib/core/elements/dropdown.mjs +0 -8
- package/esm2020/src/lib/components/dropdown/lib/core/elements/element-base.mjs +0 -37
- package/esm2020/src/lib/components/dropdown/lib/core/elements/element-search.mjs +0 -2
- package/esm2020/src/lib/components/dropdown/lib/core/elements/errors.mjs +0 -2
- package/esm2020/src/lib/components/dropdown/lib/core/i18n/mapa-ui-texts.mjs +0 -100
- package/esm2020/src/lib/components/dropdown/lib/core/interfaces/element-group.interface.mjs +0 -2
- package/esm2020/src/lib/components/dropdown/lib/core/interfaces/element-option.interface.mjs +0 -2
- package/esm2020/src/lib/components/dropdown/lib/core/pipes/safe-html.pipe.mjs +0 -21
- package/esm2020/src/lib/components/dropdown/lib/core/services/html-sanitizer.service.mjs +0 -23
- package/esm2020/src/lib/components/dropdown/lib/core/services/mapa-i18n.service.mjs +0 -36
- package/esm2020/src/lib/components/dropdown/lib/core/services/validation-message-resolver.service.mjs +0 -72
- package/esm2020/src/lib/components/dropdown/mapa-library-ui-src-lib-components-dropdown.mjs +0 -5
- package/esm2020/src/lib/components/dropdown-tree/dropdown-tree.mjs +0 -9
- package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown-tree/public-api.mjs +0 -6
- package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.component.mjs +0 -94
- package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.module.mjs +0 -20
- package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/action-button.mjs +0 -2
- package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/dropdown-tree.mjs +0 -8
- package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/dropdown.mjs +0 -8
- package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/element-base.mjs +0 -37
- package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/element-search.mjs +0 -2
- package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/errors.mjs +0 -2
- package/esm2020/src/lib/components/dropdown-tree/lib/core/interfaces/element-group.interface.mjs +0 -2
- package/esm2020/src/lib/components/dropdown-tree/lib/core/interfaces/element-option.interface.mjs +0 -2
- package/esm2020/src/lib/components/dropdown-tree/mapa-library-ui-src-lib-components-dropdown-tree.mjs +0 -5
- package/esm2020/src/lib/components/empty/empty.mjs +0 -5
- package/esm2020/src/lib/components/empty/lib/components/empty/public-api.mjs +0 -6
- package/esm2020/src/lib/components/empty/lib/components/empty/src/empty.component.mjs +0 -17
- package/esm2020/src/lib/components/empty/lib/components/empty/src/empty.module.mjs +0 -27
- package/esm2020/src/lib/components/empty/lib/core/pipes/safe-html.pipe.mjs +0 -21
- package/esm2020/src/lib/components/empty/lib/core/services/html-sanitizer.service.mjs +0 -23
- package/esm2020/src/lib/components/empty/mapa-library-ui-src-lib-components-empty.mjs +0 -5
- package/esm2020/src/lib/components/filters/filters.mjs +0 -7
- package/esm2020/src/lib/components/filters/lib/components/button/public-api.mjs +0 -6
- package/esm2020/src/lib/components/filters/lib/components/button/src/button.component.mjs +0 -23
- package/esm2020/src/lib/components/filters/lib/components/button/src/button.module.mjs +0 -19
- package/esm2020/src/lib/components/filters/lib/components/filters/public-api.mjs +0 -6
- package/esm2020/src/lib/components/filters/lib/components/filters/src/filters.component.mjs +0 -53
- package/esm2020/src/lib/components/filters/lib/components/filters/src/filters.module.mjs +0 -38
- package/esm2020/src/lib/components/filters/lib/components/icon/public-api.mjs +0 -6
- package/esm2020/src/lib/components/filters/lib/components/icon/src/icon.component.mjs +0 -26
- package/esm2020/src/lib/components/filters/lib/components/icon/src/icon.module.mjs +0 -19
- package/esm2020/src/lib/components/filters/lib/core/i18n/mapa-ui-texts.mjs +0 -100
- package/esm2020/src/lib/components/filters/lib/core/services/mapa-i18n.service.mjs +0 -36
- package/esm2020/src/lib/components/filters/mapa-library-ui-src-lib-components-filters.mjs +0 -5
- package/esm2020/src/lib/components/form/form.mjs +0 -10
- package/esm2020/src/lib/components/form/lib/components/button/public-api.mjs +0 -6
- package/esm2020/src/lib/components/form/lib/components/button/src/button.component.mjs +0 -23
- package/esm2020/src/lib/components/form/lib/components/button/src/button.module.mjs +0 -19
- package/esm2020/src/lib/components/form/lib/components/form/public-api.mjs +0 -6
- package/esm2020/src/lib/components/form/lib/components/form/src/form.component.mjs +0 -42
- package/esm2020/src/lib/components/form/lib/components/form/src/form.module.mjs +0 -37
- package/esm2020/src/lib/components/form/lib/components/input/public-api.mjs +0 -6
- package/esm2020/src/lib/components/form/lib/components/input/src/input.component.mjs +0 -40
- package/esm2020/src/lib/components/form/lib/components/input/src/input.module.mjs +0 -60
- package/esm2020/src/lib/components/form/lib/components/radio-button/public-api.mjs +0 -6
- package/esm2020/src/lib/components/form/lib/components/radio-button/src/radio-button.component.mjs +0 -36
- package/esm2020/src/lib/components/form/lib/components/radio-button/src/radio-button.module.mjs +0 -35
- package/esm2020/src/lib/components/form/lib/components/slide-toggle/public-api.mjs +0 -6
- package/esm2020/src/lib/components/form/lib/components/slide-toggle/src/slide-toggle.component.mjs +0 -36
- package/esm2020/src/lib/components/form/lib/components/slide-toggle/src/slide-toggle.module.mjs +0 -35
- package/esm2020/src/lib/components/form/lib/components/textarea/public-api.mjs +0 -6
- package/esm2020/src/lib/components/form/lib/components/textarea/src/textarea.component.mjs +0 -21
- package/esm2020/src/lib/components/form/lib/components/textarea/src/textarea.module.mjs +0 -47
- package/esm2020/src/lib/components/form/lib/core/components/form-errors/form-errors.component.mjs +0 -25
- package/esm2020/src/lib/components/form/lib/core/directives/mat-input-autosize.directive.mjs +0 -99
- package/esm2020/src/lib/components/form/lib/core/elements/action-button.mjs +0 -2
- package/esm2020/src/lib/components/form/lib/core/elements/element-base.mjs +0 -37
- package/esm2020/src/lib/components/form/lib/core/elements/element-search.mjs +0 -2
- package/esm2020/src/lib/components/form/lib/core/elements/errors.mjs +0 -2
- package/esm2020/src/lib/components/form/lib/core/elements/input-text.mjs +0 -8
- package/esm2020/src/lib/components/form/lib/core/i18n/mapa-ui-texts.mjs +0 -100
- package/esm2020/src/lib/components/form/lib/core/interfaces/element-group.interface.mjs +0 -2
- package/esm2020/src/lib/components/form/lib/core/interfaces/element-option.interface.mjs +0 -2
- package/esm2020/src/lib/components/form/lib/core/services/mapa-i18n.service.mjs +0 -36
- package/esm2020/src/lib/components/form/lib/core/services/validation-message-resolver.service.mjs +0 -72
- package/esm2020/src/lib/components/form/mapa-library-ui-src-lib-components-form.mjs +0 -5
- package/esm2020/src/lib/components/group-report/group-report.mjs +0 -5
- package/esm2020/src/lib/components/group-report/lib/components/group-report/public-api.mjs +0 -6
- package/esm2020/src/lib/components/group-report/lib/components/group-report/src/group-report-interface.mjs +0 -2
- package/esm2020/src/lib/components/group-report/lib/components/group-report/src/group-report.component.mjs +0 -201
- package/esm2020/src/lib/components/group-report/lib/components/group-report/src/group-report.module.mjs +0 -36
- package/esm2020/src/lib/components/group-report/mapa-library-ui-src-lib-components-group-report.mjs +0 -5
- package/esm2020/src/lib/components/icon/icon.mjs +0 -5
- package/esm2020/src/lib/components/icon/lib/components/icon/public-api.mjs +0 -6
- package/esm2020/src/lib/components/icon/lib/components/icon/src/icon.component.mjs +0 -26
- package/esm2020/src/lib/components/icon/lib/components/icon/src/icon.module.mjs +0 -19
- package/esm2020/src/lib/components/icon/mapa-library-ui-src-lib-components-icon.mjs +0 -5
- package/esm2020/src/lib/components/input/input.mjs +0 -5
- package/esm2020/src/lib/components/input/lib/components/input/public-api.mjs +0 -6
- package/esm2020/src/lib/components/input/lib/components/input/src/input.component.mjs +0 -40
- package/esm2020/src/lib/components/input/lib/components/input/src/input.module.mjs +0 -60
- package/esm2020/src/lib/components/input/lib/core/components/form-errors/form-errors.component.mjs +0 -25
- package/esm2020/src/lib/components/input/lib/core/directives/mat-input-autosize.directive.mjs +0 -99
- package/esm2020/src/lib/components/input/lib/core/elements/action-button.mjs +0 -2
- package/esm2020/src/lib/components/input/lib/core/elements/element-base.mjs +0 -37
- package/esm2020/src/lib/components/input/lib/core/elements/element-search.mjs +0 -2
- package/esm2020/src/lib/components/input/lib/core/elements/errors.mjs +0 -2
- package/esm2020/src/lib/components/input/lib/core/elements/input-text.mjs +0 -8
- package/esm2020/src/lib/components/input/lib/core/i18n/mapa-ui-texts.mjs +0 -100
- package/esm2020/src/lib/components/input/lib/core/interfaces/element-group.interface.mjs +0 -2
- package/esm2020/src/lib/components/input/lib/core/interfaces/element-option.interface.mjs +0 -2
- package/esm2020/src/lib/components/input/lib/core/services/mapa-i18n.service.mjs +0 -36
- package/esm2020/src/lib/components/input/lib/core/services/validation-message-resolver.service.mjs +0 -72
- package/esm2020/src/lib/components/input/mapa-library-ui-src-lib-components-input.mjs +0 -5
- package/esm2020/src/lib/components/menu/lib/components/menu/public-api.mjs +0 -6
- package/esm2020/src/lib/components/menu/lib/components/menu/src/menu.component.mjs +0 -34
- package/esm2020/src/lib/components/menu/lib/components/menu/src/menu.module.mjs +0 -36
- package/esm2020/src/lib/components/menu/mapa-library-ui-src-lib-components-menu.mjs +0 -5
- package/esm2020/src/lib/components/menu/menu.mjs +0 -5
- package/esm2020/src/lib/components/nav-list/lib/components/nav-list/public-api.mjs +0 -6
- package/esm2020/src/lib/components/nav-list/lib/components/nav-list/src/nav-list.component.mjs +0 -25
- package/esm2020/src/lib/components/nav-list/lib/components/nav-list/src/nav-list.module.mjs +0 -18
- package/esm2020/src/lib/components/nav-list/mapa-library-ui-src-lib-components-nav-list.mjs +0 -5
- package/esm2020/src/lib/components/nav-list/nav-list.mjs +0 -5
- package/esm2020/src/lib/components/radio-button/lib/components/radio-button/public-api.mjs +0 -6
- package/esm2020/src/lib/components/radio-button/lib/components/radio-button/src/radio-button.component.mjs +0 -36
- package/esm2020/src/lib/components/radio-button/lib/components/radio-button/src/radio-button.module.mjs +0 -35
- package/esm2020/src/lib/components/radio-button/mapa-library-ui-src-lib-components-radio-button.mjs +0 -5
- package/esm2020/src/lib/components/radio-button/radio-button.mjs +0 -5
- package/esm2020/src/lib/components/report-item/lib/components/report-item/public-api.mjs +0 -6
- package/esm2020/src/lib/components/report-item/lib/components/report-item/src/report-item.component.mjs +0 -63
- package/esm2020/src/lib/components/report-item/lib/components/report-item/src/report-item.module.mjs +0 -32
- package/esm2020/src/lib/components/report-item/mapa-library-ui-src-lib-components-report-item.mjs +0 -5
- package/esm2020/src/lib/components/report-item/report-item.mjs +0 -5
- package/esm2020/src/lib/components/scale/filters.mjs +0 -7
- package/esm2020/src/lib/components/scale/lib/components/button/public-api.mjs +0 -6
- package/esm2020/src/lib/components/scale/lib/components/button/src/button.component.mjs +0 -23
- package/esm2020/src/lib/components/scale/lib/components/button/src/button.module.mjs +0 -19
- package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-interval/capability-interval.component.mjs +0 -81
- package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-interval/capability-interval.module.mjs +0 -18
- package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.mjs +0 -28
- package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-interval-bar/capability-interval-bar.module.mjs +0 -20
- package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-item.interface.mjs +0 -2
- package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability.interface.mjs +0 -2
- package/esm2020/src/lib/components/scale/lib/components/filters/public-api.mjs +0 -6
- package/esm2020/src/lib/components/scale/lib/components/filters/src/filters.component.mjs +0 -53
- package/esm2020/src/lib/components/scale/lib/components/filters/src/filters.module.mjs +0 -38
- package/esm2020/src/lib/components/scale/lib/components/group-report/src/group-report-interface.mjs +0 -2
- package/esm2020/src/lib/components/scale/lib/components/icon/public-api.mjs +0 -6
- package/esm2020/src/lib/components/scale/lib/components/icon/src/icon.component.mjs +0 -26
- package/esm2020/src/lib/components/scale/lib/components/icon/src/icon.module.mjs +0 -19
- package/esm2020/src/lib/components/scale/lib/components/scale/public-api.mjs +0 -8
- package/esm2020/src/lib/components/scale/lib/components/scale/src/details/details.component.mjs +0 -11
- package/esm2020/src/lib/components/scale/lib/components/scale/src/progressbar/progressbar.component.mjs +0 -19
- package/esm2020/src/lib/components/scale/lib/components/scale/src/scale.component.mjs +0 -75
- package/esm2020/src/lib/components/scale/lib/components/scale/src/scale.interface.mjs +0 -2
- package/esm2020/src/lib/components/scale/lib/components/scale/src/scale.module.mjs +0 -27
- package/esm2020/src/lib/components/scale/lib/core/i18n/mapa-ui-texts.mjs +0 -100
- package/esm2020/src/lib/components/scale/lib/core/services/mapa-i18n.service.mjs +0 -36
- package/esm2020/src/lib/components/scale/mapa-library-ui-src-lib-components-scale.mjs +0 -5
- package/esm2020/src/lib/components/scale/scale.mjs +0 -5
- package/esm2020/src/lib/components/scale-parameterization/lib/components/group-report/src/group-report-interface.mjs +0 -2
- package/esm2020/src/lib/components/scale-parameterization/lib/components/scale-parameterization/public-api.mjs +0 -8
- package/esm2020/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/details/details.component.mjs +0 -11
- package/esm2020/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/progressbar/progressbar.component.mjs +0 -19
- package/esm2020/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.component.mjs +0 -119
- package/esm2020/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.interface.mjs +0 -2
- package/esm2020/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.module.mjs +0 -46
- package/esm2020/src/lib/components/scale-parameterization/lib/core/i18n/mapa-ui-texts.mjs +0 -100
- package/esm2020/src/lib/components/scale-parameterization/lib/core/services/mapa-i18n.service.mjs +0 -36
- package/esm2020/src/lib/components/scale-parameterization/mapa-library-ui-src-lib-components-scale-parameterization.mjs +0 -5
- package/esm2020/src/lib/components/scale-parameterization/scale-parameterization.mjs +0 -5
- package/esm2020/src/lib/components/slide-toggle/lib/components/slide-toggle/public-api.mjs +0 -6
- package/esm2020/src/lib/components/slide-toggle/lib/components/slide-toggle/src/slide-toggle.component.mjs +0 -36
- package/esm2020/src/lib/components/slide-toggle/lib/components/slide-toggle/src/slide-toggle.module.mjs +0 -35
- package/esm2020/src/lib/components/slide-toggle/mapa-library-ui-src-lib-components-slide-toggle.mjs +0 -5
- package/esm2020/src/lib/components/slide-toggle/slide-toggle.mjs +0 -5
- package/esm2020/src/lib/components/svg-icon/lib/components/svg-icon/public-api.mjs +0 -6
- package/esm2020/src/lib/components/svg-icon/lib/components/svg-icon/src/svg-icon.component.mjs +0 -60
- package/esm2020/src/lib/components/svg-icon/lib/components/svg-icon/src/svg-icon.module.mjs +0 -19
- package/esm2020/src/lib/components/svg-icon/lib/core/pipes/safe-html.pipe.mjs +0 -21
- package/esm2020/src/lib/components/svg-icon/lib/core/services/html-sanitizer.service.mjs +0 -23
- package/esm2020/src/lib/components/svg-icon/mapa-library-ui-src-lib-components-svg-icon.mjs +0 -5
- package/esm2020/src/lib/components/svg-icon/svg-icon.mjs +0 -5
- package/esm2020/src/lib/components/table/lib/components/table/public-api.mjs +0 -7
- package/esm2020/src/lib/components/table/lib/components/table/src/paginator_customization.mjs +0 -16
- package/esm2020/src/lib/components/table/lib/components/table/src/table.component.mjs +0 -374
- package/esm2020/src/lib/components/table/lib/components/table/src/table.module.mjs +0 -83
- package/esm2020/src/lib/components/table/lib/core/directives/custom-paginator-legacy.directive.mjs +0 -204
- package/esm2020/src/lib/components/table/lib/core/i18n/mapa-ui-texts.mjs +0 -100
- package/esm2020/src/lib/components/table/lib/core/interfaces/classification.interface.mjs +0 -2
- package/esm2020/src/lib/components/table/lib/core/interfaces/table-column.interface.mjs +0 -2
- package/esm2020/src/lib/components/table/lib/core/interfaces/table-row-click-event.interface.mjs +0 -2
- package/esm2020/src/lib/components/table/lib/core/js-brasil/index.mjs +0 -16
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/create.mjs +0 -455
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/createNumberMask.mjs +0 -115
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/estados.mjs +0 -34
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/index.mjs +0 -34
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/inscricaoestadual.mjs +0 -702
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/interfaces.mjs +0 -2
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/iptu.mjs +0 -25
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/iptu_create.mjs +0 -60
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/iptu_mask.mjs +0 -38
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/iptu_validate.mjs +0 -67
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/mask.mjs +0 -579
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/name.mjs +0 -371
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/placa.mjs +0 -162
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/rg.mjs +0 -63
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/saude.mjs +0 -62
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/utils.mjs +0 -304
- package/esm2020/src/lib/components/table/lib/core/js-brasil/src/validate.mjs +0 -627
- package/esm2020/src/lib/components/table/lib/core/pipes/cpf.mjs +0 -17
- package/esm2020/src/lib/components/table/lib/core/pipes/safe-html.pipe.mjs +0 -21
- package/esm2020/src/lib/components/table/lib/core/services/html-sanitizer.service.mjs +0 -23
- package/esm2020/src/lib/components/table/lib/core/services/mapa-i18n.service.mjs +0 -36
- package/esm2020/src/lib/components/table/mapa-library-ui-src-lib-components-table.mjs +0 -5
- package/esm2020/src/lib/components/table/table.mjs +0 -6
- package/esm2020/src/lib/components/tag/lib/components/tag/public-api.mjs +0 -6
- package/esm2020/src/lib/components/tag/lib/components/tag/src/tag.component.mjs +0 -14
- package/esm2020/src/lib/components/tag/lib/components/tag/src/tag.module.mjs +0 -24
- package/esm2020/src/lib/components/tag/mapa-library-ui-src-lib-components-tag.mjs +0 -5
- package/esm2020/src/lib/components/tag/tag.mjs +0 -5
- package/esm2020/src/lib/components/textarea/lib/components/textarea/public-api.mjs +0 -6
- package/esm2020/src/lib/components/textarea/lib/components/textarea/src/textarea.component.mjs +0 -21
- package/esm2020/src/lib/components/textarea/lib/components/textarea/src/textarea.module.mjs +0 -47
- package/esm2020/src/lib/components/textarea/lib/core/components/form-errors/form-errors.component.mjs +0 -25
- package/esm2020/src/lib/components/textarea/lib/core/elements/errors.mjs +0 -2
- package/esm2020/src/lib/components/textarea/lib/core/i18n/mapa-ui-texts.mjs +0 -100
- package/esm2020/src/lib/components/textarea/lib/core/services/mapa-i18n.service.mjs +0 -36
- package/esm2020/src/lib/components/textarea/lib/core/services/validation-message-resolver.service.mjs +0 -72
- package/esm2020/src/lib/components/textarea/mapa-library-ui-src-lib-components-textarea.mjs +0 -5
- package/esm2020/src/lib/components/textarea/textarea.mjs +0 -5
- package/esm2020/src/lib/components/tooltip/lib/components/tooltip/public-api.mjs +0 -7
- package/esm2020/src/lib/components/tooltip/lib/components/tooltip/src/tooltip.component.mjs +0 -21
- package/esm2020/src/lib/components/tooltip/lib/components/tooltip/src/tooltip.directive.mjs +0 -140
- package/esm2020/src/lib/components/tooltip/lib/components/tooltip/src/tooltip.enums.mjs +0 -16
- package/esm2020/src/lib/components/tooltip/lib/components/tooltip/src/tooltip.module.mjs +0 -19
- package/esm2020/src/lib/components/tooltip/mapa-library-ui-src-lib-components-tooltip.mjs +0 -5
- package/esm2020/src/lib/components/tooltip/tooltip.mjs +0 -6
- package/esm2020/src/lib/components/warning/lib/components/warning/public-api.mjs +0 -6
- package/esm2020/src/lib/components/warning/lib/components/warning/src/warning.component.mjs +0 -43
- package/esm2020/src/lib/components/warning/lib/components/warning/src/warning.module.mjs +0 -26
- package/esm2020/src/lib/components/warning/mapa-library-ui-src-lib-components-warning.mjs +0 -5
- package/esm2020/src/lib/components/warning/warning.mjs +0 -5
- package/esm2020/src/lib/core/guards/authorize-guard/authorize.mjs +0 -5
- package/esm2020/src/lib/core/guards/authorize-guard/lib/core/enums/permissions.enum.mjs +0 -51
- package/esm2020/src/lib/core/guards/authorize-guard/lib/core/guards/authorize-guard/authorize.guard.mjs +0 -29
- package/esm2020/src/lib/core/guards/authorize-guard/lib/core/guards/authorize-guard/public-api.mjs +0 -7
- package/esm2020/src/lib/core/guards/authorize-guard/lib/core/utils/permissions.util.mjs +0 -15
- package/esm2020/src/lib/core/guards/authorize-guard/mapa-library-ui-src-lib-core-guards-authorize-guard.mjs +0 -5
- package/esm2020/src/lib/core/services/lib/core/services/loader/loader.service.mjs +0 -26
- package/esm2020/src/lib/core/services/lib/core/services/public-api.mjs +0 -5
- package/esm2020/src/lib/core/services/mapa-library-ui-src-lib-core-services.mjs +0 -5
- package/esm2020/src/lib/core/services/services.mjs +0 -5
- package/fesm2015/mapa-library-ui-src-lib-components-benchmarking.mjs +0 -82
- package/fesm2015/mapa-library-ui-src-lib-components-benchmarking.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-breadcrumb.mjs +0 -46
- package/fesm2015/mapa-library-ui-src-lib-components-breadcrumb.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-button-icon.mjs +0 -77
- package/fesm2015/mapa-library-ui-src-lib-components-button-icon.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-button.mjs +0 -54
- package/fesm2015/mapa-library-ui-src-lib-components-button.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs +0 -1648
- package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-chart.mjs +0 -155
- package/fesm2015/mapa-library-ui-src-lib-components-chart.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-checkbox.mjs +0 -64
- package/fesm2015/mapa-library-ui-src-lib-components-checkbox.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-datepicker.mjs +0 -261
- package/fesm2015/mapa-library-ui-src-lib-components-datepicker.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-dialog.mjs +0 -231
- package/fesm2015/mapa-library-ui-src-lib-components-dialog.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-dropdown-tree.mjs +0 -174
- package/fesm2015/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs +0 -549
- package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-empty.mjs +0 -94
- package/fesm2015/mapa-library-ui-src-lib-components-empty.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-filters.mjs +0 -300
- package/fesm2015/mapa-library-ui-src-lib-components-filters.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-form.mjs +0 -715
- package/fesm2015/mapa-library-ui-src-lib-components-form.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-group-report.mjs +0 -252
- package/fesm2015/mapa-library-ui-src-lib-components-group-report.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-icon.mjs +0 -57
- package/fesm2015/mapa-library-ui-src-lib-components-icon.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-input.mjs +0 -411
- package/fesm2015/mapa-library-ui-src-lib-components-input.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-menu.mjs +0 -81
- package/fesm2015/mapa-library-ui-src-lib-components-menu.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-nav-list.mjs +0 -55
- package/fesm2015/mapa-library-ui-src-lib-components-nav-list.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-radio-button.mjs +0 -84
- package/fesm2015/mapa-library-ui-src-lib-components-radio-button.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-report-item.mjs +0 -108
- package/fesm2015/mapa-library-ui-src-lib-components-report-item.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-scale-parameterization.mjs +0 -317
- package/fesm2015/mapa-library-ui-src-lib-components-scale-parameterization.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-scale.mjs +0 -552
- package/fesm2015/mapa-library-ui-src-lib-components-scale.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-slide-toggle.mjs +0 -84
- package/fesm2015/mapa-library-ui-src-lib-components-slide-toggle.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-svg-icon.mjs +0 -129
- package/fesm2015/mapa-library-ui-src-lib-components-svg-icon.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-table.mjs +0 -4511
- package/fesm2015/mapa-library-ui-src-lib-components-table.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-tag.mjs +0 -50
- package/fesm2015/mapa-library-ui-src-lib-components-tag.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-textarea.mjs +0 -284
- package/fesm2015/mapa-library-ui-src-lib-components-textarea.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-tooltip.mjs +0 -202
- package/fesm2015/mapa-library-ui-src-lib-components-tooltip.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-components-warning.mjs +0 -81
- package/fesm2015/mapa-library-ui-src-lib-components-warning.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-core-guards-authorize-guard.mjs +0 -109
- package/fesm2015/mapa-library-ui-src-lib-core-guards-authorize-guard.mjs.map +0 -1
- package/fesm2015/mapa-library-ui-src-lib-core-services.mjs +0 -41
- package/fesm2015/mapa-library-ui-src-lib-core-services.mjs.map +0 -1
- package/fesm2015/mapa-library-ui.mjs +0 -4316
- package/fesm2015/mapa-library-ui.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-benchmarking.mjs +0 -87
- package/fesm2020/mapa-library-ui-src-lib-components-benchmarking.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-breadcrumb.mjs +0 -46
- package/fesm2020/mapa-library-ui-src-lib-components-breadcrumb.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-button-icon.mjs +0 -77
- package/fesm2020/mapa-library-ui-src-lib-components-button-icon.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-button.mjs +0 -54
- package/fesm2020/mapa-library-ui-src-lib-components-button.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs +0 -1656
- package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-chart.mjs +0 -154
- package/fesm2020/mapa-library-ui-src-lib-components-chart.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-checkbox.mjs +0 -64
- package/fesm2020/mapa-library-ui-src-lib-components-checkbox.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-datepicker.mjs +0 -276
- package/fesm2020/mapa-library-ui-src-lib-components-datepicker.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-dialog.mjs +0 -228
- package/fesm2020/mapa-library-ui-src-lib-components-dialog.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-dropdown-tree.mjs +0 -177
- package/fesm2020/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs +0 -558
- package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-empty.mjs +0 -93
- package/fesm2020/mapa-library-ui-src-lib-components-empty.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-filters.mjs +0 -315
- package/fesm2020/mapa-library-ui-src-lib-components-filters.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-form.mjs +0 -723
- package/fesm2020/mapa-library-ui-src-lib-components-form.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-group-report.mjs +0 -247
- package/fesm2020/mapa-library-ui-src-lib-components-group-report.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-icon.mjs +0 -57
- package/fesm2020/mapa-library-ui-src-lib-components-icon.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-input.mjs +0 -422
- package/fesm2020/mapa-library-ui-src-lib-components-input.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-menu.mjs +0 -81
- package/fesm2020/mapa-library-ui-src-lib-components-menu.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-nav-list.mjs +0 -55
- package/fesm2020/mapa-library-ui-src-lib-components-nav-list.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-radio-button.mjs +0 -83
- package/fesm2020/mapa-library-ui-src-lib-components-radio-button.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-report-item.mjs +0 -107
- package/fesm2020/mapa-library-ui-src-lib-components-report-item.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-scale-parameterization.mjs +0 -328
- package/fesm2020/mapa-library-ui-src-lib-components-scale-parameterization.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-scale.mjs +0 -566
- package/fesm2020/mapa-library-ui-src-lib-components-scale.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-slide-toggle.mjs +0 -83
- package/fesm2020/mapa-library-ui-src-lib-components-slide-toggle.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-svg-icon.mjs +0 -128
- package/fesm2020/mapa-library-ui-src-lib-components-svg-icon.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-table.mjs +0 -4520
- package/fesm2020/mapa-library-ui-src-lib-components-table.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-tag.mjs +0 -50
- package/fesm2020/mapa-library-ui-src-lib-components-tag.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-textarea.mjs +0 -298
- package/fesm2020/mapa-library-ui-src-lib-components-textarea.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-tooltip.mjs +0 -202
- package/fesm2020/mapa-library-ui-src-lib-components-tooltip.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-components-warning.mjs +0 -81
- package/fesm2020/mapa-library-ui-src-lib-components-warning.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-core-guards-authorize-guard.mjs.map +0 -1
- package/fesm2020/mapa-library-ui-src-lib-core-services.mjs +0 -41
- package/fesm2020/mapa-library-ui-src-lib-core-services.mjs.map +0 -1
- package/fesm2020/mapa-library-ui.mjs +0 -4329
- package/fesm2020/mapa-library-ui.mjs.map +0 -1
- package/lib/core/components/form-errors/form-errors.component.d.ts +0 -13
- package/lib/core/directives/custom-paginator-legacy.directive.d.ts +0 -28
- package/lib/core/directives/mat-input-autosize.directive.d.ts +0 -25
- package/lib/core/elements/action-button.d.ts +0 -5
- package/lib/core/elements/dropdown-tree.d.ts +0 -4
- package/lib/core/elements/dropdown.d.ts +0 -4
- package/lib/core/elements/element-base.d.ts +0 -75
- package/lib/core/elements/element-search.d.ts +0 -7
- package/lib/core/elements/errors.d.ts +0 -11
- package/lib/core/elements/input-text.d.ts +0 -4
- package/lib/core/elements/radio-button.d.ts +0 -4
- package/lib/core/elements/slide-toggle.d.ts +0 -4
- package/lib/core/elements/textarea.d.ts +0 -4
- package/lib/core/i18n/mapa-ui-texts.d.ts +0 -102
- package/lib/core/interfaces/button-icon.interface.d.ts +0 -6
- package/lib/core/interfaces/chart-options.interface.d.ts +0 -19
- package/lib/core/interfaces/classification.interface.d.ts +0 -6
- package/lib/core/interfaces/dialog-data.interface.d.ts +0 -11
- package/lib/core/interfaces/element-group.interface.d.ts +0 -5
- package/lib/core/interfaces/element-option.interface.d.ts +0 -6
- package/lib/core/interfaces/table-column.interface.d.ts +0 -19
- package/lib/core/js-brasil/index.d.ts +0 -15
- package/lib/core/js-brasil/src/create.d.ts +0 -37
- package/lib/core/js-brasil/src/createNumberMask.d.ts +0 -13
- package/lib/core/js-brasil/src/estados.d.ts +0 -7
- package/lib/core/js-brasil/src/index.d.ts +0 -34
- package/lib/core/js-brasil/src/inscricaoestadual.d.ts +0 -7
- package/lib/core/js-brasil/src/interfaces.d.ts +0 -51
- package/lib/core/js-brasil/src/iptu.d.ts +0 -3
- package/lib/core/js-brasil/src/iptu_create.d.ts +0 -5
- package/lib/core/js-brasil/src/iptu_mask.d.ts +0 -2
- package/lib/core/js-brasil/src/iptu_validate.d.ts +0 -10
- package/lib/core/js-brasil/src/mask.d.ts +0 -53
- package/lib/core/js-brasil/src/name.d.ts +0 -9
- package/lib/core/js-brasil/src/placa.d.ts +0 -6
- package/lib/core/js-brasil/src/rg.d.ts +0 -5
- package/lib/core/js-brasil/src/saude.d.ts +0 -84
- package/lib/core/js-brasil/src/utils.d.ts +0 -71
- package/lib/core/js-brasil/src/validate.d.ts +0 -90
- package/lib/core/pipes/cpf.d.ts +0 -7
- package/lib/core/pipes/safe-html.pipe.d.ts +0 -10
- package/lib/core/services/html-sanitizer.service.d.ts +0 -10
- package/lib/core/services/mapa-i18n.service.d.ts +0 -13
- package/lib/core/services/validation-message-resolver.service.d.ts +0 -14
- package/mapa-library-ui-0.90.2.tgz +0 -0
- package/public-api.d.ts +0 -25
- package/src/lib/components/benchmarking/benchmarking.d.ts +0 -1
- package/src/lib/components/benchmarking/lib/components/benchmarking/public-api.d.ts +0 -5
- package/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmark-chart.component.d.ts +0 -11
- package/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmark-chart.module.d.ts +0 -9
- package/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.component.d.ts +0 -7
- package/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.module.d.ts +0 -8
- package/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmarking.interface.d.ts +0 -37
- package/src/lib/components/breadcrumb/breadcrumb.d.ts +0 -1
- package/src/lib/components/breadcrumb/lib/components/breadcrumb/public-api.d.ts +0 -2
- package/src/lib/components/breadcrumb/lib/components/breadcrumb/src/breadcrumb.component.d.ts +0 -7
- package/src/lib/components/breadcrumb/lib/components/breadcrumb/src/breadcrumb.module.d.ts +0 -9
- package/src/lib/components/breadcrumb/lib/core/interfaces/bread-piece.interface.d.ts +0 -4
- package/src/lib/components/button/button.d.ts +0 -1
- package/src/lib/components/button/lib/components/button/public-api.d.ts +0 -2
- package/src/lib/components/button/lib/components/button/src/button.component.d.ts +0 -10
- package/src/lib/components/button/lib/components/button/src/button.module.d.ts +0 -9
- package/src/lib/components/button-icon/button-icon.d.ts +0 -1
- package/src/lib/components/button-icon/lib/components/button-icon/public-api.d.ts +0 -2
- package/src/lib/components/button-icon/lib/components/button-icon/src/button-icon.component.d.ts +0 -17
- package/src/lib/components/button-icon/lib/components/button-icon/src/button-icon.module.d.ts +0 -9
- package/src/lib/components/capability/capability.d.ts +0 -5
- package/src/lib/components/capability/filters.d.ts +0 -3
- package/src/lib/components/capability/lib/components/button/public-api.d.ts +0 -2
- package/src/lib/components/capability/lib/components/button/src/button.component.d.ts +0 -10
- package/src/lib/components/capability/lib/components/button/src/button.module.d.ts +0 -9
- package/src/lib/components/capability/lib/components/capability/public-api.d.ts +0 -24
- package/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.component.d.ts +0 -10
- package/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.module.d.ts +0 -11
- package/src/lib/components/capability/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.d.ts +0 -9
- package/src/lib/components/capability/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.module.d.ts +0 -9
- package/src/lib/components/capability/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.d.ts +0 -18
- package/src/lib/components/capability/lib/components/capability/src/capability-comparative-header/capability-comparative-header.module.d.ts +0 -9
- package/src/lib/components/capability/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.component.d.ts +0 -9
- package/src/lib/components/capability/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.module.d.ts +0 -9
- package/src/lib/components/capability/lib/components/capability/src/capability-detail/capability-detail.component.d.ts +0 -32
- package/src/lib/components/capability/lib/components/capability/src/capability-detail/capability-detail.module.d.ts +0 -17
- package/src/lib/components/capability/lib/components/capability/src/capability-dot/capability-dot.component.d.ts +0 -17
- package/src/lib/components/capability/lib/components/capability/src/capability-dot/capability-dot.module.d.ts +0 -10
- package/src/lib/components/capability/lib/components/capability/src/capability-expand/capability-expand.component.d.ts +0 -26
- package/src/lib/components/capability/lib/components/capability/src/capability-expand/capability-expand.module.d.ts +0 -11
- package/src/lib/components/capability/lib/components/capability/src/capability-indicator/capability-indicator.component.d.ts +0 -7
- package/src/lib/components/capability/lib/components/capability/src/capability-indicator/capability-indicator.module.d.ts +0 -8
- package/src/lib/components/capability/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.component.d.ts +0 -12
- package/src/lib/components/capability/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.module.d.ts +0 -9
- package/src/lib/components/capability/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.d.ts +0 -26
- package/src/lib/components/capability/lib/components/capability/src/capability-indicator-list/capability-indicator-list.module.d.ts +0 -9
- package/src/lib/components/capability/lib/components/capability/src/capability-interval/capability-interval.component.d.ts +0 -29
- package/src/lib/components/capability/lib/components/capability/src/capability-interval/capability-interval.module.d.ts +0 -8
- package/src/lib/components/capability/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.d.ts +0 -14
- package/src/lib/components/capability/lib/components/capability/src/capability-interval-bar/capability-interval-bar.module.d.ts +0 -10
- package/src/lib/components/capability/lib/components/capability/src/essentials/consts/capability-classification.const.d.ts +0 -2
- package/src/lib/components/capability/lib/components/capability/src/essentials/interfaces/capability-classification.interface.d.ts +0 -6
- package/src/lib/components/capability/lib/components/capability/src/essentials/interfaces/capability-comparative.interface.d.ts +0 -10
- package/src/lib/components/capability/lib/components/capability/src/essentials/interfaces/capability-item.interface.d.ts +0 -20
- package/src/lib/components/capability/lib/components/capability/src/essentials/interfaces/capability.interface.d.ts +0 -8
- package/src/lib/components/capability/lib/components/capability/src/essentials/interfaces/index.d.ts +0 -3
- package/src/lib/components/capability/lib/components/capability/src/essentials/services/capability-classification.service.d.ts +0 -8
- package/src/lib/components/capability/lib/components/capability/src/essentials/services/reusable-interval-bar.service.d.ts +0 -16
- package/src/lib/components/capability/lib/components/dropdown/public-api.d.ts +0 -2
- package/src/lib/components/capability/lib/components/dropdown/src/dropdown.component.d.ts +0 -47
- package/src/lib/components/capability/lib/components/dropdown/src/dropdown.module.d.ts +0 -18
- package/src/lib/components/capability/lib/components/filters/public-api.d.ts +0 -2
- package/src/lib/components/capability/lib/components/filters/src/filters.component.d.ts +0 -22
- package/src/lib/components/capability/lib/components/filters/src/filters.module.d.ts +0 -12
- package/src/lib/components/capability/lib/components/icon/public-api.d.ts +0 -2
- package/src/lib/components/capability/lib/components/icon/src/icon.component.d.ts +0 -13
- package/src/lib/components/capability/lib/components/icon/src/icon.module.d.ts +0 -9
- package/src/lib/components/capability/lib/components/tag/src/tag.component.d.ts +0 -12
- package/src/lib/components/capability/lib/components/tag/src/tag.module.d.ts +0 -8
- package/src/lib/components/capability/lib/components/tooltip/public-api.d.ts +0 -3
- package/src/lib/components/capability/lib/components/tooltip/src/tooltip.component.d.ts +0 -15
- package/src/lib/components/capability/lib/components/tooltip/src/tooltip.directive.d.ts +0 -32
- package/src/lib/components/capability/lib/components/tooltip/src/tooltip.enums.d.ts +0 -13
- package/src/lib/components/capability/lib/components/tooltip/src/tooltip.module.d.ts +0 -9
- package/src/lib/components/capability/lib/core/components/form-errors/form-errors.component.d.ts +0 -13
- package/src/lib/components/capability/lib/core/elements/action-button.d.ts +0 -5
- package/src/lib/components/capability/lib/core/elements/dropdown.d.ts +0 -4
- package/src/lib/components/capability/lib/core/elements/element-base.d.ts +0 -75
- package/src/lib/components/capability/lib/core/elements/element-search.d.ts +0 -7
- package/src/lib/components/capability/lib/core/elements/errors.d.ts +0 -11
- package/src/lib/components/capability/lib/core/i18n/mapa-ui-texts.d.ts +0 -102
- package/src/lib/components/capability/lib/core/interfaces/element-group.interface.d.ts +0 -5
- package/src/lib/components/capability/lib/core/interfaces/element-option.interface.d.ts +0 -6
- package/src/lib/components/capability/lib/core/pipes/safe-html.pipe.d.ts +0 -10
- package/src/lib/components/capability/lib/core/services/html-sanitizer.service.d.ts +0 -10
- package/src/lib/components/capability/lib/core/services/mapa-i18n.service.d.ts +0 -13
- package/src/lib/components/capability/lib/core/services/validation-message-resolver.service.d.ts +0 -14
- package/src/lib/components/chart/chart.d.ts +0 -1
- package/src/lib/components/chart/lib/components/chart/public-api.d.ts +0 -2
- package/src/lib/components/chart/lib/components/chart/src/chart.component.d.ts +0 -14
- package/src/lib/components/chart/lib/components/chart/src/chart.module.d.ts +0 -10
- package/src/lib/components/checkbox/checkbox.d.ts +0 -1
- package/src/lib/components/checkbox/lib/components/checkbox/public-api.d.ts +0 -2
- package/src/lib/components/checkbox/lib/components/checkbox/src/checkbox.component.d.ts +0 -8
- package/src/lib/components/checkbox/lib/components/checkbox/src/checkbox.module.d.ts +0 -10
- package/src/lib/components/datepicker/datepicker.d.ts +0 -1
- package/src/lib/components/datepicker/lib/components/datepicker/public-api.d.ts +0 -2
- package/src/lib/components/datepicker/lib/components/datepicker/src/datepicker.component.d.ts +0 -21
- package/src/lib/components/datepicker/lib/components/datepicker/src/datepicker.module.d.ts +0 -27
- package/src/lib/components/datepicker/lib/core/i18n/mapa-ui-texts.d.ts +0 -102
- package/src/lib/components/datepicker/lib/core/services/mapa-i18n.service.d.ts +0 -13
- package/src/lib/components/dialog/dialog.d.ts +0 -3
- package/src/lib/components/dialog/lib/components/button/public-api.d.ts +0 -2
- package/src/lib/components/dialog/lib/components/button/src/button.component.d.ts +0 -10
- package/src/lib/components/dialog/lib/components/button/src/button.module.d.ts +0 -9
- package/src/lib/components/dialog/lib/components/dialog/public-api.d.ts +0 -2
- package/src/lib/components/dialog/lib/components/dialog/src/dialog.component.d.ts +0 -24
- package/src/lib/components/dialog/lib/components/dialog/src/dialog.module.d.ts +0 -12
- package/src/lib/components/dialog/lib/components/icon/public-api.d.ts +0 -2
- package/src/lib/components/dialog/lib/components/icon/src/icon.component.d.ts +0 -13
- package/src/lib/components/dialog/lib/components/icon/src/icon.module.d.ts +0 -9
- package/src/lib/components/dialog/lib/core/pipes/safe-html.pipe.d.ts +0 -10
- package/src/lib/components/dialog/lib/core/services/html-sanitizer.service.d.ts +0 -10
- package/src/lib/components/dropdown/dropdown.d.ts +0 -4
- package/src/lib/components/dropdown/lib/components/dropdown/public-api.d.ts +0 -2
- package/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.component.d.ts +0 -47
- package/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.module.d.ts +0 -18
- package/src/lib/components/dropdown/lib/core/components/form-errors/form-errors.component.d.ts +0 -13
- package/src/lib/components/dropdown/lib/core/elements/action-button.d.ts +0 -5
- package/src/lib/components/dropdown/lib/core/elements/dropdown.d.ts +0 -4
- package/src/lib/components/dropdown/lib/core/elements/element-base.d.ts +0 -75
- package/src/lib/components/dropdown/lib/core/elements/element-search.d.ts +0 -7
- package/src/lib/components/dropdown/lib/core/elements/errors.d.ts +0 -11
- package/src/lib/components/dropdown/lib/core/i18n/mapa-ui-texts.d.ts +0 -102
- package/src/lib/components/dropdown/lib/core/interfaces/element-group.interface.d.ts +0 -5
- package/src/lib/components/dropdown/lib/core/interfaces/element-option.interface.d.ts +0 -6
- package/src/lib/components/dropdown/lib/core/pipes/safe-html.pipe.d.ts +0 -10
- package/src/lib/components/dropdown/lib/core/services/html-sanitizer.service.d.ts +0 -10
- package/src/lib/components/dropdown/lib/core/services/mapa-i18n.service.d.ts +0 -13
- package/src/lib/components/dropdown/lib/core/services/validation-message-resolver.service.d.ts +0 -14
- package/src/lib/components/dropdown-tree/dropdown-tree.d.ts +0 -5
- package/src/lib/components/dropdown-tree/lib/components/dropdown-tree/public-api.d.ts +0 -2
- package/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.component.d.ts +0 -37
- package/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.module.d.ts +0 -10
- package/src/lib/components/dropdown-tree/lib/core/elements/action-button.d.ts +0 -5
- package/src/lib/components/dropdown-tree/lib/core/elements/dropdown-tree.d.ts +0 -4
- package/src/lib/components/dropdown-tree/lib/core/elements/dropdown.d.ts +0 -4
- package/src/lib/components/dropdown-tree/lib/core/elements/element-base.d.ts +0 -75
- package/src/lib/components/dropdown-tree/lib/core/elements/element-search.d.ts +0 -7
- package/src/lib/components/dropdown-tree/lib/core/elements/errors.d.ts +0 -11
- package/src/lib/components/dropdown-tree/lib/core/interfaces/element-group.interface.d.ts +0 -5
- package/src/lib/components/dropdown-tree/lib/core/interfaces/element-option.interface.d.ts +0 -6
- package/src/lib/components/empty/empty.d.ts +0 -1
- package/src/lib/components/empty/lib/components/empty/public-api.d.ts +0 -2
- package/src/lib/components/empty/lib/components/empty/src/empty.component.d.ts +0 -7
- package/src/lib/components/empty/lib/components/empty/src/empty.module.d.ts +0 -9
- package/src/lib/components/empty/lib/core/pipes/safe-html.pipe.d.ts +0 -10
- package/src/lib/components/empty/lib/core/services/html-sanitizer.service.d.ts +0 -10
- package/src/lib/components/filters/filters.d.ts +0 -3
- package/src/lib/components/filters/lib/components/button/public-api.d.ts +0 -2
- package/src/lib/components/filters/lib/components/button/src/button.component.d.ts +0 -10
- package/src/lib/components/filters/lib/components/button/src/button.module.d.ts +0 -9
- package/src/lib/components/filters/lib/components/filters/public-api.d.ts +0 -2
- package/src/lib/components/filters/lib/components/filters/src/filters.component.d.ts +0 -22
- package/src/lib/components/filters/lib/components/filters/src/filters.module.d.ts +0 -12
- package/src/lib/components/filters/lib/components/icon/public-api.d.ts +0 -2
- package/src/lib/components/filters/lib/components/icon/src/icon.component.d.ts +0 -13
- package/src/lib/components/filters/lib/components/icon/src/icon.module.d.ts +0 -9
- package/src/lib/components/filters/lib/core/i18n/mapa-ui-texts.d.ts +0 -102
- package/src/lib/components/filters/lib/core/services/mapa-i18n.service.d.ts +0 -13
- package/src/lib/components/form/form.d.ts +0 -6
- package/src/lib/components/form/lib/components/button/public-api.d.ts +0 -2
- package/src/lib/components/form/lib/components/button/src/button.component.d.ts +0 -10
- package/src/lib/components/form/lib/components/button/src/button.module.d.ts +0 -9
- package/src/lib/components/form/lib/components/form/public-api.d.ts +0 -2
- package/src/lib/components/form/lib/components/form/src/form.component.d.ts +0 -15
- package/src/lib/components/form/lib/components/form/src/form.module.d.ts +0 -14
- package/src/lib/components/form/lib/components/input/public-api.d.ts +0 -2
- package/src/lib/components/form/lib/components/input/src/input.component.d.ts +0 -15
- package/src/lib/components/form/lib/components/input/src/input.module.d.ts +0 -17
- package/src/lib/components/form/lib/components/radio-button/public-api.d.ts +0 -2
- package/src/lib/components/form/lib/components/radio-button/src/radio-button.component.d.ts +0 -17
- package/src/lib/components/form/lib/components/radio-button/src/radio-button.module.d.ts +0 -11
- package/src/lib/components/form/lib/components/slide-toggle/public-api.d.ts +0 -2
- package/src/lib/components/form/lib/components/slide-toggle/src/slide-toggle.component.d.ts +0 -17
- package/src/lib/components/form/lib/components/slide-toggle/src/slide-toggle.module.d.ts +0 -11
- package/src/lib/components/form/lib/components/textarea/public-api.d.ts +0 -2
- package/src/lib/components/form/lib/components/textarea/src/textarea.component.d.ts +0 -9
- package/src/lib/components/form/lib/components/textarea/src/textarea.module.d.ts +0 -13
- package/src/lib/components/form/lib/core/components/form-errors/form-errors.component.d.ts +0 -13
- package/src/lib/components/form/lib/core/directives/mat-input-autosize.directive.d.ts +0 -25
- package/src/lib/components/form/lib/core/elements/action-button.d.ts +0 -5
- package/src/lib/components/form/lib/core/elements/element-base.d.ts +0 -75
- package/src/lib/components/form/lib/core/elements/element-search.d.ts +0 -7
- package/src/lib/components/form/lib/core/elements/errors.d.ts +0 -11
- package/src/lib/components/form/lib/core/elements/input-text.d.ts +0 -4
- package/src/lib/components/form/lib/core/i18n/mapa-ui-texts.d.ts +0 -102
- package/src/lib/components/form/lib/core/interfaces/element-group.interface.d.ts +0 -5
- package/src/lib/components/form/lib/core/interfaces/element-option.interface.d.ts +0 -6
- package/src/lib/components/form/lib/core/services/mapa-i18n.service.d.ts +0 -13
- package/src/lib/components/form/lib/core/services/validation-message-resolver.service.d.ts +0 -14
- package/src/lib/components/group-report/group-report.d.ts +0 -1
- package/src/lib/components/group-report/lib/components/group-report/public-api.d.ts +0 -2
- package/src/lib/components/group-report/lib/components/group-report/src/group-report-interface.d.ts +0 -23
- package/src/lib/components/group-report/lib/components/group-report/src/group-report.component.d.ts +0 -46
- package/src/lib/components/group-report/lib/components/group-report/src/group-report.module.d.ts +0 -12
- package/src/lib/components/icon/icon.d.ts +0 -1
- package/src/lib/components/icon/lib/components/icon/public-api.d.ts +0 -2
- package/src/lib/components/icon/lib/components/icon/src/icon.component.d.ts +0 -13
- package/src/lib/components/icon/lib/components/icon/src/icon.module.d.ts +0 -9
- package/src/lib/components/input/input.d.ts +0 -1
- package/src/lib/components/input/lib/components/input/public-api.d.ts +0 -2
- package/src/lib/components/input/lib/components/input/src/input.component.d.ts +0 -15
- package/src/lib/components/input/lib/components/input/src/input.module.d.ts +0 -17
- package/src/lib/components/input/lib/core/components/form-errors/form-errors.component.d.ts +0 -13
- package/src/lib/components/input/lib/core/directives/mat-input-autosize.directive.d.ts +0 -25
- package/src/lib/components/input/lib/core/elements/action-button.d.ts +0 -5
- package/src/lib/components/input/lib/core/elements/element-base.d.ts +0 -75
- package/src/lib/components/input/lib/core/elements/element-search.d.ts +0 -7
- package/src/lib/components/input/lib/core/elements/errors.d.ts +0 -11
- package/src/lib/components/input/lib/core/elements/input-text.d.ts +0 -4
- package/src/lib/components/input/lib/core/i18n/mapa-ui-texts.d.ts +0 -102
- package/src/lib/components/input/lib/core/interfaces/element-group.interface.d.ts +0 -5
- package/src/lib/components/input/lib/core/interfaces/element-option.interface.d.ts +0 -6
- package/src/lib/components/input/lib/core/services/mapa-i18n.service.d.ts +0 -13
- package/src/lib/components/input/lib/core/services/validation-message-resolver.service.d.ts +0 -14
- package/src/lib/components/menu/lib/components/menu/public-api.d.ts +0 -2
- package/src/lib/components/menu/lib/components/menu/src/menu.component.d.ts +0 -23
- package/src/lib/components/menu/lib/components/menu/src/menu.module.d.ts +0 -11
- package/src/lib/components/menu/menu.d.ts +0 -1
- package/src/lib/components/nav-list/lib/components/nav-list/public-api.d.ts +0 -2
- package/src/lib/components/nav-list/lib/components/nav-list/src/nav-list.component.d.ts +0 -12
- package/src/lib/components/nav-list/lib/components/nav-list/src/nav-list.module.d.ts +0 -8
- package/src/lib/components/nav-list/nav-list.d.ts +0 -1
- package/src/lib/components/radio-button/lib/components/radio-button/public-api.d.ts +0 -2
- package/src/lib/components/radio-button/lib/components/radio-button/src/radio-button.component.d.ts +0 -17
- package/src/lib/components/radio-button/lib/components/radio-button/src/radio-button.module.d.ts +0 -11
- package/src/lib/components/radio-button/radio-button.d.ts +0 -1
- package/src/lib/components/report-item/lib/components/report-item/public-api.d.ts +0 -2
- package/src/lib/components/report-item/lib/components/report-item/src/report-item.component.d.ts +0 -33
- package/src/lib/components/report-item/lib/components/report-item/src/report-item.module.d.ts +0 -10
- package/src/lib/components/report-item/report-item.d.ts +0 -1
- package/src/lib/components/scale/filters.d.ts +0 -3
- package/src/lib/components/scale/lib/components/button/public-api.d.ts +0 -2
- package/src/lib/components/scale/lib/components/button/src/button.component.d.ts +0 -10
- package/src/lib/components/scale/lib/components/button/src/button.module.d.ts +0 -9
- package/src/lib/components/scale/lib/components/capability/src/capability-interval/capability-interval.component.d.ts +0 -29
- package/src/lib/components/scale/lib/components/capability/src/capability-interval/capability-interval.module.d.ts +0 -8
- package/src/lib/components/scale/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.d.ts +0 -14
- package/src/lib/components/scale/lib/components/capability/src/capability-interval-bar/capability-interval-bar.module.d.ts +0 -10
- package/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-item.interface.d.ts +0 -20
- package/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability.interface.d.ts +0 -8
- package/src/lib/components/scale/lib/components/filters/public-api.d.ts +0 -2
- package/src/lib/components/scale/lib/components/filters/src/filters.component.d.ts +0 -22
- package/src/lib/components/scale/lib/components/filters/src/filters.module.d.ts +0 -12
- package/src/lib/components/scale/lib/components/group-report/src/group-report-interface.d.ts +0 -23
- package/src/lib/components/scale/lib/components/icon/public-api.d.ts +0 -2
- package/src/lib/components/scale/lib/components/icon/src/icon.component.d.ts +0 -13
- package/src/lib/components/scale/lib/components/icon/src/icon.module.d.ts +0 -9
- package/src/lib/components/scale/lib/components/scale/public-api.d.ts +0 -4
- package/src/lib/components/scale/lib/components/scale/src/details/details.component.d.ts +0 -5
- package/src/lib/components/scale/lib/components/scale/src/progressbar/progressbar.component.d.ts +0 -8
- package/src/lib/components/scale/lib/components/scale/src/scale.component.d.ts +0 -23
- package/src/lib/components/scale/lib/components/scale/src/scale.interface.d.ts +0 -31
- package/src/lib/components/scale/lib/components/scale/src/scale.module.d.ts +0 -11
- package/src/lib/components/scale/lib/core/i18n/mapa-ui-texts.d.ts +0 -102
- package/src/lib/components/scale/lib/core/services/mapa-i18n.service.d.ts +0 -13
- package/src/lib/components/scale/scale.d.ts +0 -1
- package/src/lib/components/scale-parameterization/lib/components/group-report/src/group-report-interface.d.ts +0 -23
- package/src/lib/components/scale-parameterization/lib/components/scale-parameterization/public-api.d.ts +0 -4
- package/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/details/details.component.d.ts +0 -5
- package/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/progressbar/progressbar.component.d.ts +0 -8
- package/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.component.d.ts +0 -31
- package/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.interface.d.ts +0 -31
- package/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.module.d.ts +0 -12
- package/src/lib/components/scale-parameterization/lib/core/i18n/mapa-ui-texts.d.ts +0 -102
- package/src/lib/components/scale-parameterization/lib/core/services/mapa-i18n.service.d.ts +0 -13
- package/src/lib/components/scale-parameterization/scale-parameterization.d.ts +0 -1
- package/src/lib/components/slide-toggle/lib/components/slide-toggle/public-api.d.ts +0 -2
- package/src/lib/components/slide-toggle/lib/components/slide-toggle/src/slide-toggle.component.d.ts +0 -17
- package/src/lib/components/slide-toggle/lib/components/slide-toggle/src/slide-toggle.module.d.ts +0 -11
- package/src/lib/components/slide-toggle/slide-toggle.d.ts +0 -1
- package/src/lib/components/svg-icon/lib/components/svg-icon/public-api.d.ts +0 -2
- package/src/lib/components/svg-icon/lib/components/svg-icon/src/svg-icon.component.d.ts +0 -17
- package/src/lib/components/svg-icon/lib/components/svg-icon/src/svg-icon.module.d.ts +0 -9
- package/src/lib/components/svg-icon/lib/core/pipes/safe-html.pipe.d.ts +0 -10
- package/src/lib/components/svg-icon/lib/core/services/html-sanitizer.service.d.ts +0 -10
- package/src/lib/components/svg-icon/svg-icon.d.ts +0 -1
- package/src/lib/components/table/lib/components/table/public-api.d.ts +0 -3
- package/src/lib/components/table/lib/components/table/src/paginator_customization.d.ts +0 -3
- package/src/lib/components/table/lib/components/table/src/table.component.d.ts +0 -90
- package/src/lib/components/table/lib/components/table/src/table.module.d.ts +0 -21
- package/src/lib/components/table/lib/core/directives/custom-paginator-legacy.directive.d.ts +0 -28
- package/src/lib/components/table/lib/core/i18n/mapa-ui-texts.d.ts +0 -102
- package/src/lib/components/table/lib/core/interfaces/classification.interface.d.ts +0 -6
- package/src/lib/components/table/lib/core/interfaces/table-column.interface.d.ts +0 -19
- package/src/lib/components/table/lib/core/interfaces/table-row-click-event.interface.d.ts +0 -4
- package/src/lib/components/table/lib/core/js-brasil/index.d.ts +0 -15
- package/src/lib/components/table/lib/core/js-brasil/src/create.d.ts +0 -37
- package/src/lib/components/table/lib/core/js-brasil/src/createNumberMask.d.ts +0 -13
- package/src/lib/components/table/lib/core/js-brasil/src/estados.d.ts +0 -7
- package/src/lib/components/table/lib/core/js-brasil/src/index.d.ts +0 -34
- package/src/lib/components/table/lib/core/js-brasil/src/inscricaoestadual.d.ts +0 -7
- package/src/lib/components/table/lib/core/js-brasil/src/interfaces.d.ts +0 -51
- package/src/lib/components/table/lib/core/js-brasil/src/iptu.d.ts +0 -3
- package/src/lib/components/table/lib/core/js-brasil/src/iptu_create.d.ts +0 -5
- package/src/lib/components/table/lib/core/js-brasil/src/iptu_mask.d.ts +0 -2
- package/src/lib/components/table/lib/core/js-brasil/src/iptu_validate.d.ts +0 -10
- package/src/lib/components/table/lib/core/js-brasil/src/mask.d.ts +0 -53
- package/src/lib/components/table/lib/core/js-brasil/src/name.d.ts +0 -9
- package/src/lib/components/table/lib/core/js-brasil/src/placa.d.ts +0 -6
- package/src/lib/components/table/lib/core/js-brasil/src/rg.d.ts +0 -5
- package/src/lib/components/table/lib/core/js-brasil/src/saude.d.ts +0 -84
- package/src/lib/components/table/lib/core/js-brasil/src/utils.d.ts +0 -71
- package/src/lib/components/table/lib/core/js-brasil/src/validate.d.ts +0 -90
- package/src/lib/components/table/lib/core/pipes/cpf.d.ts +0 -7
- package/src/lib/components/table/lib/core/pipes/safe-html.pipe.d.ts +0 -10
- package/src/lib/components/table/lib/core/services/html-sanitizer.service.d.ts +0 -10
- package/src/lib/components/table/lib/core/services/mapa-i18n.service.d.ts +0 -13
- package/src/lib/components/table/table.d.ts +0 -2
- package/src/lib/components/tag/lib/components/tag/public-api.d.ts +0 -2
- package/src/lib/components/tag/lib/components/tag/src/tag.component.d.ts +0 -12
- package/src/lib/components/tag/lib/components/tag/src/tag.module.d.ts +0 -8
- package/src/lib/components/tag/tag.d.ts +0 -1
- package/src/lib/components/textarea/lib/components/textarea/public-api.d.ts +0 -2
- package/src/lib/components/textarea/lib/components/textarea/src/textarea.component.d.ts +0 -9
- package/src/lib/components/textarea/lib/components/textarea/src/textarea.module.d.ts +0 -13
- package/src/lib/components/textarea/lib/core/components/form-errors/form-errors.component.d.ts +0 -13
- package/src/lib/components/textarea/lib/core/elements/errors.d.ts +0 -11
- package/src/lib/components/textarea/lib/core/i18n/mapa-ui-texts.d.ts +0 -102
- package/src/lib/components/textarea/lib/core/services/mapa-i18n.service.d.ts +0 -13
- package/src/lib/components/textarea/lib/core/services/validation-message-resolver.service.d.ts +0 -14
- package/src/lib/components/textarea/textarea.d.ts +0 -1
- package/src/lib/components/tooltip/lib/components/tooltip/public-api.d.ts +0 -3
- package/src/lib/components/tooltip/lib/components/tooltip/src/tooltip.component.d.ts +0 -15
- package/src/lib/components/tooltip/lib/components/tooltip/src/tooltip.directive.d.ts +0 -32
- package/src/lib/components/tooltip/lib/components/tooltip/src/tooltip.enums.d.ts +0 -13
- package/src/lib/components/tooltip/lib/components/tooltip/src/tooltip.module.d.ts +0 -9
- package/src/lib/components/tooltip/tooltip.d.ts +0 -2
- package/src/lib/components/warning/lib/components/warning/public-api.d.ts +0 -2
- package/src/lib/components/warning/lib/components/warning/src/warning.component.d.ts +0 -15
- package/src/lib/components/warning/lib/components/warning/src/warning.module.d.ts +0 -9
- package/src/lib/components/warning/warning.d.ts +0 -1
- package/src/lib/core/guards/authorize-guard/authorize.d.ts +0 -1
- package/src/lib/core/guards/authorize-guard/lib/core/enums/permissions.enum.d.ts +0 -49
- package/src/lib/core/guards/authorize-guard/lib/core/guards/authorize-guard/authorize.guard.d.ts +0 -10
- package/src/lib/core/guards/authorize-guard/lib/core/guards/authorize-guard/public-api.d.ts +0 -3
- package/src/lib/core/guards/authorize-guard/lib/core/utils/permissions.util.d.ts +0 -5
- package/src/lib/core/services/lib/core/services/loader/loader.service.d.ts +0 -11
- package/src/lib/core/services/lib/core/services/public-api.d.ts +0 -1
- package/src/lib/core/services/services.d.ts +0 -1
|
@@ -1,1648 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, Input, Output, NgModule, InjectionToken, Injectable, Optional, Inject, SecurityContext, Pipe, ViewEncapsulation, ViewChild, Directive, HostListener } from '@angular/core';
|
|
3
|
-
import * as i2 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { MatButtonModule } from '@angular/material/button';
|
|
6
|
-
import { BehaviorSubject, ReplaySubject, Subject } from 'rxjs';
|
|
7
|
-
import { takeUntil } from 'rxjs/operators';
|
|
8
|
-
import * as i3 from '@angular/forms';
|
|
9
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
10
|
-
import * as i4 from '@angular/material/checkbox';
|
|
11
|
-
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
12
|
-
import * as i5 from 'mapa-library-ui/src/lib/components/button';
|
|
13
|
-
import { MapaButtonModule as MapaButtonModule$1 } from 'mapa-library-ui/src/lib/components/button';
|
|
14
|
-
import * as i1$1 from '@angular/material/icon';
|
|
15
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
16
|
-
import * as i7 from '@angular/material/form-field';
|
|
17
|
-
import { MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
18
|
-
import * as i8 from '@angular/material/select';
|
|
19
|
-
import { MatSelectModule, MAT_SELECT_CONFIG } from '@angular/material/select';
|
|
20
|
-
import * as i9 from '@angular/material/core';
|
|
21
|
-
import * as i10 from 'ngx-mat-select-search';
|
|
22
|
-
import { NgxMatSelectSearchModule } from 'ngx-mat-select-search';
|
|
23
|
-
import * as i1 from '@angular/platform-browser';
|
|
24
|
-
import { MatListModule } from '@angular/material/list';
|
|
25
|
-
import * as i3$1 from 'mapa-library-ui/src/lib/components/tag';
|
|
26
|
-
import { MapaTagModule as MapaTagModule$1 } from 'mapa-library-ui/src/lib/components/tag';
|
|
27
|
-
import * as i4$1 from 'mapa-library-ui/src/lib/components/tooltip';
|
|
28
|
-
import { MapaTooltipModule as MapaTooltipModule$1 } from 'mapa-library-ui/src/lib/components/tooltip';
|
|
29
|
-
import { Md5 } from 'ts-md5';
|
|
30
|
-
import * as i4$2 from 'mapa-library-ui/src/lib/components/checkbox';
|
|
31
|
-
import { MapaCheckboxModule } from 'mapa-library-ui/src/lib/components/checkbox';
|
|
32
|
-
import * as i5$1 from 'mapa-library-ui/src/lib/components/dropdown';
|
|
33
|
-
import { MapaDropdownModule as MapaDropdownModule$1 } from 'mapa-library-ui/src/lib/components/dropdown';
|
|
34
|
-
import * as i6 from 'mapa-library-ui/src/lib/components/input';
|
|
35
|
-
import { MapaInputModule } from 'mapa-library-ui/src/lib/components/input';
|
|
36
|
-
import * as i7$1 from '@angular/material/expansion';
|
|
37
|
-
import { MatExpansionModule } from '@angular/material/expansion';
|
|
38
|
-
import * as i1$2 from '@angular/router';
|
|
39
|
-
import { NavigationStart } from '@angular/router';
|
|
40
|
-
|
|
41
|
-
class ButtonComponent {
|
|
42
|
-
constructor() {
|
|
43
|
-
this.clicked = new EventEmitter();
|
|
44
|
-
}
|
|
45
|
-
onClick() {
|
|
46
|
-
this.clicked.emit();
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
-
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ButtonComponent, selector: "mapa-button", inputs: { color: "color", disabled: "disabled" }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<button\n class=\"mapa-button\"\n (click)=\"onClick()\"\n [class.primary]=\"color === 'primary'\"\n [class.accent]=\"color === 'accent'\"\n [class.basic]=\"color === 'basic'\"\n [disabled]=\"disabled\"\n>\n <ng-content></ng-content>\n</button> ", styles: [".mapa-button{display:flex;padding:14px 42px;justify-content:center;align-items:center;gap:10px;border-radius:28px;border:none;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-weight:500;cursor:pointer;transform-origin:center;transition:transform .2s ease-in-out}.mapa-button:active{transform:scale(1.1)}.mapa-button:disabled{color:#dcdcde!important;background-color:transparent!important}.mapa-button.basic{color:#ea561d;background-color:transparent}.mapa-button.accent{border:2px solid #ea561d!important;color:#ea561d;background-color:#fff}.mapa-button.primary{background-color:#ea561d;color:#fff}\n"] });
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
52
|
-
type: Component,
|
|
53
|
-
args: [{ selector: 'mapa-button', template: "<button\n class=\"mapa-button\"\n (click)=\"onClick()\"\n [class.primary]=\"color === 'primary'\"\n [class.accent]=\"color === 'accent'\"\n [class.basic]=\"color === 'basic'\"\n [disabled]=\"disabled\"\n>\n <ng-content></ng-content>\n</button> ", styles: [".mapa-button{display:flex;padding:14px 42px;justify-content:center;align-items:center;gap:10px;border-radius:28px;border:none;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-weight:500;cursor:pointer;transform-origin:center;transition:transform .2s ease-in-out}.mapa-button:active{transform:scale(1.1)}.mapa-button:disabled{color:#dcdcde!important;background-color:transparent!important}.mapa-button.basic{color:#ea561d;background-color:transparent}.mapa-button.accent{border:2px solid #ea561d!important;color:#ea561d;background-color:#fff}.mapa-button.primary{background-color:#ea561d;color:#fff}\n"] }]
|
|
54
|
-
}], propDecorators: { color: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], disabled: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], clicked: [{
|
|
59
|
-
type: Output
|
|
60
|
-
}] } });
|
|
61
|
-
|
|
62
|
-
class MapaButtonModule {
|
|
63
|
-
}
|
|
64
|
-
MapaButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
65
|
-
MapaButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaButtonModule, declarations: [ButtonComponent], imports: [CommonModule, MatButtonModule], exports: [ButtonComponent] });
|
|
66
|
-
MapaButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaButtonModule, imports: [CommonModule, MatButtonModule] });
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaButtonModule, decorators: [{
|
|
68
|
-
type: NgModule,
|
|
69
|
-
args: [{
|
|
70
|
-
declarations: [ButtonComponent],
|
|
71
|
-
exports: [ButtonComponent],
|
|
72
|
-
imports: [CommonModule, MatButtonModule],
|
|
73
|
-
}]
|
|
74
|
-
}] });
|
|
75
|
-
|
|
76
|
-
/*
|
|
77
|
-
* Public API Surface of mapa-library-ui button
|
|
78
|
-
*/
|
|
79
|
-
|
|
80
|
-
const MAPA_UI_TEXTS = new InjectionToken("MAPA_UI_TEXTS");
|
|
81
|
-
const MAPA_UI_DEFAULT_TEXTS = {
|
|
82
|
-
common: {
|
|
83
|
-
selectAll: "Selecionar todos",
|
|
84
|
-
},
|
|
85
|
-
filters: {
|
|
86
|
-
clear: "Limpar filtros",
|
|
87
|
-
submit: "Filtrar",
|
|
88
|
-
},
|
|
89
|
-
datepicker: {
|
|
90
|
-
startDatePlaceholder: "Data inicial",
|
|
91
|
-
endDatePlaceholder: "Data final",
|
|
92
|
-
},
|
|
93
|
-
capability: {
|
|
94
|
-
groupAverageTitle: "Média geral do grupo",
|
|
95
|
-
individualAverageTitle: "Média geral do indivíduo",
|
|
96
|
-
conceptTitle: "Conceito",
|
|
97
|
-
resultTitle: "Resultado",
|
|
98
|
-
positiveIndicatorsTitle: "Indicadores positivos",
|
|
99
|
-
negativeIndicatorsTitle: "Indicadores negativos",
|
|
100
|
-
riskIndicatorsTitle: "Indicadores de risco",
|
|
101
|
-
precipitationRiskTitle: "Risco de acidente por precipitação",
|
|
102
|
-
negligenceRiskTitle: "Risco de acidente por negligência",
|
|
103
|
-
negativeDirectionLabel: "Direção Negativa |",
|
|
104
|
-
positiveDirectionLabel: "Direção Positiva |",
|
|
105
|
-
},
|
|
106
|
-
paginator: {
|
|
107
|
-
itemsPerPage: "Itens por página",
|
|
108
|
-
nextPage: "Próxima página",
|
|
109
|
-
previousPage: "Página anterior",
|
|
110
|
-
rangeLabel: (page, pageSize, length) => {
|
|
111
|
-
if (length === 0 || pageSize === 0) {
|
|
112
|
-
return `0 de ${length}`;
|
|
113
|
-
}
|
|
114
|
-
const startIndex = page * pageSize;
|
|
115
|
-
const endIndex = startIndex < length
|
|
116
|
-
? Math.min(startIndex + pageSize, length)
|
|
117
|
-
: startIndex + pageSize;
|
|
118
|
-
return `${startIndex + 1} - ${endIndex} de ${length}`;
|
|
119
|
-
},
|
|
120
|
-
showingRangeLabel: (page, pageSize, length) => {
|
|
121
|
-
if (length === 0) {
|
|
122
|
-
return "Mostrando 0 - 0 de 0 item";
|
|
123
|
-
}
|
|
124
|
-
const startIndex = page * pageSize;
|
|
125
|
-
const endIndex = startIndex < length
|
|
126
|
-
? Math.min(startIndex + pageSize, length)
|
|
127
|
-
: startIndex + pageSize;
|
|
128
|
-
const itemLabel = length === 1 ? "item" : "itens";
|
|
129
|
-
return `Mostrando ${startIndex + 1} - ${endIndex} de ${length} ${itemLabel}`;
|
|
130
|
-
},
|
|
131
|
-
},
|
|
132
|
-
validation: {
|
|
133
|
-
cnpj: "CNPJ inválido",
|
|
134
|
-
cpf: "CPF inválido",
|
|
135
|
-
email: "E-mail inválido",
|
|
136
|
-
max: (context) => { var _a; return `O valor máximo permitido é ${(_a = context === null || context === void 0 ? void 0 : context.max) !== null && _a !== void 0 ? _a : ""}`.trim(); },
|
|
137
|
-
maxLength: (context) => { var _a; return `O máximo permitido é ${(_a = context === null || context === void 0 ? void 0 : context.requiredLength) !== null && _a !== void 0 ? _a : ""} caracteres`.trim(); },
|
|
138
|
-
min: (context) => { var _a; return `O valor minimo permitido é ${(_a = context === null || context === void 0 ? void 0 : context.min) !== null && _a !== void 0 ? _a : ""}`.trim(); },
|
|
139
|
-
minLength: (context) => { var _a; return `O mínimo permitido é ${(_a = context === null || context === void 0 ? void 0 : context.requiredLength) !== null && _a !== void 0 ? _a : ""} caracteres`.trim(); },
|
|
140
|
-
pattern: "Formato inválido",
|
|
141
|
-
required: "Campo obrigatório",
|
|
142
|
-
},
|
|
143
|
-
};
|
|
144
|
-
function mergeMapaUiTexts(customTexts) {
|
|
145
|
-
var _a, _b, _c, _d, _e, _f;
|
|
146
|
-
return {
|
|
147
|
-
common: Object.assign(Object.assign({}, MAPA_UI_DEFAULT_TEXTS.common), ((_a = customTexts === null || customTexts === void 0 ? void 0 : customTexts.common) !== null && _a !== void 0 ? _a : {})),
|
|
148
|
-
filters: Object.assign(Object.assign({}, MAPA_UI_DEFAULT_TEXTS.filters), ((_b = customTexts === null || customTexts === void 0 ? void 0 : customTexts.filters) !== null && _b !== void 0 ? _b : {})),
|
|
149
|
-
datepicker: Object.assign(Object.assign({}, MAPA_UI_DEFAULT_TEXTS.datepicker), ((_c = customTexts === null || customTexts === void 0 ? void 0 : customTexts.datepicker) !== null && _c !== void 0 ? _c : {})),
|
|
150
|
-
capability: Object.assign(Object.assign({}, MAPA_UI_DEFAULT_TEXTS.capability), ((_d = customTexts === null || customTexts === void 0 ? void 0 : customTexts.capability) !== null && _d !== void 0 ? _d : {})),
|
|
151
|
-
paginator: Object.assign(Object.assign({}, MAPA_UI_DEFAULT_TEXTS.paginator), ((_e = customTexts === null || customTexts === void 0 ? void 0 : customTexts.paginator) !== null && _e !== void 0 ? _e : {})),
|
|
152
|
-
validation: Object.assign(Object.assign({}, MAPA_UI_DEFAULT_TEXTS.validation), ((_f = customTexts === null || customTexts === void 0 ? void 0 : customTexts.validation) !== null && _f !== void 0 ? _f : {})),
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
function provideMapaUiTexts(texts) {
|
|
156
|
-
return {
|
|
157
|
-
provide: MAPA_UI_TEXTS,
|
|
158
|
-
useValue: texts,
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
class MapaI18nService {
|
|
163
|
-
constructor(customTexts) {
|
|
164
|
-
this.textsSubject = new BehaviorSubject(mergeMapaUiTexts(customTexts));
|
|
165
|
-
this.texts$ = this.textsSubject.asObservable();
|
|
166
|
-
}
|
|
167
|
-
get texts() {
|
|
168
|
-
return this.textsSubject.value;
|
|
169
|
-
}
|
|
170
|
-
setTexts(texts) {
|
|
171
|
-
this.textsSubject.next(mergeMapaUiTexts(texts));
|
|
172
|
-
}
|
|
173
|
-
resolveValidationText(key, context) {
|
|
174
|
-
return this.resolveText(this.texts.validation[key], context);
|
|
175
|
-
}
|
|
176
|
-
resolveText(value, context) {
|
|
177
|
-
return typeof value === "function" ? value(context) : value;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
MapaI18nService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaI18nService, deps: [{ token: MAPA_UI_TEXTS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
181
|
-
MapaI18nService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaI18nService, providedIn: "root" });
|
|
182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaI18nService, decorators: [{
|
|
183
|
-
type: Injectable,
|
|
184
|
-
args: [{
|
|
185
|
-
providedIn: "root",
|
|
186
|
-
}]
|
|
187
|
-
}], ctorParameters: function () {
|
|
188
|
-
return [{ type: undefined, decorators: [{
|
|
189
|
-
type: Optional
|
|
190
|
-
}, {
|
|
191
|
-
type: Inject,
|
|
192
|
-
args: [MAPA_UI_TEXTS]
|
|
193
|
-
}] }];
|
|
194
|
-
} });
|
|
195
|
-
|
|
196
|
-
class ValidationMessageResolverService {
|
|
197
|
-
constructor(i18n) {
|
|
198
|
-
this.i18n = i18n;
|
|
199
|
-
this.errorOrder = [
|
|
200
|
-
"required",
|
|
201
|
-
"minlength",
|
|
202
|
-
"maxlength",
|
|
203
|
-
"cpf",
|
|
204
|
-
"cnpj",
|
|
205
|
-
"email",
|
|
206
|
-
"pattern",
|
|
207
|
-
"min",
|
|
208
|
-
"max",
|
|
209
|
-
];
|
|
210
|
-
}
|
|
211
|
-
resolveFirstError(control, errors) {
|
|
212
|
-
const validationErrors = control === null || control === void 0 ? void 0 : control.errors;
|
|
213
|
-
if (!validationErrors) {
|
|
214
|
-
return null;
|
|
215
|
-
}
|
|
216
|
-
const firstErrorKey = this.errorOrder.find((key) => control === null || control === void 0 ? void 0 : control.hasError(key));
|
|
217
|
-
if (!firstErrorKey) {
|
|
218
|
-
return null;
|
|
219
|
-
}
|
|
220
|
-
return this.resolveErrorMessage(firstErrorKey, validationErrors, errors);
|
|
221
|
-
}
|
|
222
|
-
resolveErrorMessage(errorKey, validationErrors, errors) {
|
|
223
|
-
const errorOverrides = errors;
|
|
224
|
-
const customMessage = this.getCustomMessage(errorKey, errorOverrides);
|
|
225
|
-
if (customMessage) {
|
|
226
|
-
return customMessage;
|
|
227
|
-
}
|
|
228
|
-
const errorValue = validationErrors[errorKey];
|
|
229
|
-
switch (errorKey) {
|
|
230
|
-
case "minlength":
|
|
231
|
-
return this.i18n.resolveValidationText("minLength", errorValue);
|
|
232
|
-
case "maxlength":
|
|
233
|
-
return this.i18n.resolveValidationText("maxLength", errorValue);
|
|
234
|
-
case "min":
|
|
235
|
-
return this.i18n.resolveValidationText("min", errorValue);
|
|
236
|
-
case "max":
|
|
237
|
-
return this.i18n.resolveValidationText("max", errorValue);
|
|
238
|
-
default:
|
|
239
|
-
return this.i18n.resolveValidationText(errorKey);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
getCustomMessage(errorKey, errors) {
|
|
243
|
-
var _a, _b;
|
|
244
|
-
if (!errors) {
|
|
245
|
-
return undefined;
|
|
246
|
-
}
|
|
247
|
-
switch (errorKey) {
|
|
248
|
-
case "minlength":
|
|
249
|
-
return (_a = errors.minLength) !== null && _a !== void 0 ? _a : errors.minlength;
|
|
250
|
-
case "maxlength":
|
|
251
|
-
return (_b = errors.maxLength) !== null && _b !== void 0 ? _b : errors.maxlength;
|
|
252
|
-
default:
|
|
253
|
-
return errors[errorKey];
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
ValidationMessageResolverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ValidationMessageResolverService, deps: [{ token: MapaI18nService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
258
|
-
ValidationMessageResolverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ValidationMessageResolverService, providedIn: "root" });
|
|
259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ValidationMessageResolverService, decorators: [{
|
|
260
|
-
type: Injectable,
|
|
261
|
-
args: [{
|
|
262
|
-
providedIn: "root",
|
|
263
|
-
}]
|
|
264
|
-
}], ctorParameters: function () { return [{ type: MapaI18nService }]; } });
|
|
265
|
-
|
|
266
|
-
class MapaFormErrorsComponent {
|
|
267
|
-
constructor(validationMessageResolver) {
|
|
268
|
-
this.validationMessageResolver = validationMessageResolver;
|
|
269
|
-
}
|
|
270
|
-
get message() {
|
|
271
|
-
return this.validationMessageResolver.resolveFirstError(this.control, this.errors);
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
MapaFormErrorsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaFormErrorsComponent, deps: [{ token: ValidationMessageResolverService }], target: i0.ɵɵFactoryTarget.Component });
|
|
275
|
-
MapaFormErrorsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaFormErrorsComponent, isStandalone: true, selector: "mapa-form-errors", inputs: { control: "control", errors: "errors" }, ngImport: i0, template: "<span *ngIf=\"message\">\n {{ message }}\n</span>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatFormFieldModule }] });
|
|
276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaFormErrorsComponent, decorators: [{
|
|
277
|
-
type: Component,
|
|
278
|
-
args: [{ selector: "mapa-form-errors", standalone: true, imports: [CommonModule, MatFormFieldModule], template: "<span *ngIf=\"message\">\n {{ message }}\n</span>\n" }]
|
|
279
|
-
}], ctorParameters: function () { return [{ type: ValidationMessageResolverService }]; }, propDecorators: { control: [{
|
|
280
|
-
type: Input
|
|
281
|
-
}], errors: [{
|
|
282
|
-
type: Input
|
|
283
|
-
}] } });
|
|
284
|
-
|
|
285
|
-
function sanitizeHtmlContent(sanitizer, value) {
|
|
286
|
-
var _a;
|
|
287
|
-
return (_a = sanitizer.sanitize(SecurityContext.HTML, value !== null && value !== void 0 ? value : "")) !== null && _a !== void 0 ? _a : "";
|
|
288
|
-
}
|
|
289
|
-
class HtmlSanitizerService {
|
|
290
|
-
constructor(sanitizer) {
|
|
291
|
-
this.sanitizer = sanitizer;
|
|
292
|
-
}
|
|
293
|
-
sanitize(value) {
|
|
294
|
-
return sanitizeHtmlContent(this.sanitizer, value);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
HtmlSanitizerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HtmlSanitizerService, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
298
|
-
HtmlSanitizerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HtmlSanitizerService, providedIn: "root" });
|
|
299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HtmlSanitizerService, decorators: [{
|
|
300
|
-
type: Injectable,
|
|
301
|
-
args: [{
|
|
302
|
-
providedIn: "root",
|
|
303
|
-
}]
|
|
304
|
-
}], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
|
|
305
|
-
|
|
306
|
-
class SafeHtmlPipe {
|
|
307
|
-
constructor(htmlSanitizer) {
|
|
308
|
-
this.htmlSanitizer = htmlSanitizer;
|
|
309
|
-
}
|
|
310
|
-
transform(value) {
|
|
311
|
-
return this.htmlSanitizer.sanitize(value);
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: HtmlSanitizerService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
315
|
-
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SafeHtmlPipe, isStandalone: true, name: "safeHtml" });
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
317
|
-
type: Pipe,
|
|
318
|
-
args: [{
|
|
319
|
-
name: "safeHtml",
|
|
320
|
-
standalone: true,
|
|
321
|
-
}]
|
|
322
|
-
}], ctorParameters: function () { return [{ type: HtmlSanitizerService }]; } });
|
|
323
|
-
|
|
324
|
-
class MapaDropdownComponent {
|
|
325
|
-
constructor(i18n) {
|
|
326
|
-
this.i18n = i18n;
|
|
327
|
-
this.openedChange = new EventEmitter();
|
|
328
|
-
this.filteredOptions = new ReplaySubject(1);
|
|
329
|
-
this.filteredGroups = new ReplaySubject(1);
|
|
330
|
-
this.filteredOptionsCache = [];
|
|
331
|
-
this.filteredGroupCache = [];
|
|
332
|
-
this.onDestroy$ = new Subject();
|
|
333
|
-
this.isIndeterminate = false;
|
|
334
|
-
this.isChecked = false;
|
|
335
|
-
this.isOptionsGroup = false;
|
|
336
|
-
this.texts = this.i18n.texts;
|
|
337
|
-
this.i18n.texts$
|
|
338
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
339
|
-
.subscribe((texts) => (this.texts = texts));
|
|
340
|
-
}
|
|
341
|
-
get selectAllLabel() {
|
|
342
|
-
return this.texts.common.selectAll;
|
|
343
|
-
}
|
|
344
|
-
get selectedOptions() {
|
|
345
|
-
var _a;
|
|
346
|
-
const value = ((_a = this.formControl) === null || _a === void 0 ? void 0 : _a.value) || [];
|
|
347
|
-
return Array.isArray(value) ? value : [value];
|
|
348
|
-
}
|
|
349
|
-
ngOnInit() {
|
|
350
|
-
var _a, _b;
|
|
351
|
-
this.setOptions();
|
|
352
|
-
(_b = (_a = this.element.search) === null || _a === void 0 ? void 0 : _a.formControl) === null || _b === void 0 ? void 0 : _b.valueChanges.pipe(takeUntil(this.onDestroy$)).subscribe(() => {
|
|
353
|
-
this.filterOptions();
|
|
354
|
-
this.setToggleAllCheckboxState();
|
|
355
|
-
});
|
|
356
|
-
}
|
|
357
|
-
ngOnChanges(changes) {
|
|
358
|
-
var _a, _b, _c, _d;
|
|
359
|
-
if (((_a = changes["element"]) === null || _a === void 0 ? void 0 : _a.previousValue) !== undefined &&
|
|
360
|
-
((_b = changes["element"].previousValue) === null || _b === void 0 ? void 0 : _b.controlType) === "dropdown" &&
|
|
361
|
-
((_c = changes["element"].previousValue) === null || _c === void 0 ? void 0 : _c.options) !==
|
|
362
|
-
((_d = changes["element"].currentValue) === null || _d === void 0 ? void 0 : _d.options)) {
|
|
363
|
-
this.element.options = changes["element"].currentValue.options;
|
|
364
|
-
this.setOptions();
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
ngOnDestroy() {
|
|
368
|
-
this.onDestroy$.next();
|
|
369
|
-
this.onDestroy$.complete();
|
|
370
|
-
}
|
|
371
|
-
setOptions() {
|
|
372
|
-
this.isOptionsGroup = this.isElementGroup(this.element.options[0]);
|
|
373
|
-
if (this.isOptionsGroup) {
|
|
374
|
-
this.filteredGroupCache = this.element.options.slice();
|
|
375
|
-
this.filteredGroups.next(this.filteredGroupCache);
|
|
376
|
-
return;
|
|
377
|
-
}
|
|
378
|
-
this.filteredOptionsCache = this.element.options.slice();
|
|
379
|
-
this.filteredOptions.next(this.filteredOptionsCache);
|
|
380
|
-
}
|
|
381
|
-
filterOptionsFromGroup(group, value) {
|
|
382
|
-
const filterValue = this.normalizeValue(value);
|
|
383
|
-
return this.normalizeValue(group.label).includes(filterValue)
|
|
384
|
-
? group.options
|
|
385
|
-
: group.options.filter((item) => this.normalizeValue(item.value).includes(filterValue));
|
|
386
|
-
}
|
|
387
|
-
filterOptions() {
|
|
388
|
-
var _a, _b;
|
|
389
|
-
if (!this.element.options) {
|
|
390
|
-
return;
|
|
391
|
-
}
|
|
392
|
-
const search = this.normalizeValue((_b = (_a = this.element.search) === null || _a === void 0 ? void 0 : _a.formControl) === null || _b === void 0 ? void 0 : _b.value);
|
|
393
|
-
if (this.isOptionsGroup) {
|
|
394
|
-
const groups = this.element.options;
|
|
395
|
-
this.filteredGroupCache = groups
|
|
396
|
-
.map((group) => ({
|
|
397
|
-
label: group.label,
|
|
398
|
-
options: this.filterOptionsFromGroup(group, search),
|
|
399
|
-
}))
|
|
400
|
-
.filter((group) => group.options.length > 0);
|
|
401
|
-
this.filteredGroups.next(this.filteredGroupCache);
|
|
402
|
-
return;
|
|
403
|
-
}
|
|
404
|
-
const options = this.element.options;
|
|
405
|
-
if (!search) {
|
|
406
|
-
this.filteredOptionsCache = options.slice();
|
|
407
|
-
this.filteredOptions.next(this.filteredOptionsCache);
|
|
408
|
-
return;
|
|
409
|
-
}
|
|
410
|
-
this.filteredOptionsCache = options.filter((option) => this.normalizeValue(option.value).includes(search));
|
|
411
|
-
this.filteredOptions.next(this.filteredOptionsCache);
|
|
412
|
-
}
|
|
413
|
-
normalizeValue(value) {
|
|
414
|
-
return (value !== null && value !== void 0 ? value : "")
|
|
415
|
-
.normalize("NFD")
|
|
416
|
-
.replace(/[\u0300-\u036f]/g, "")
|
|
417
|
-
.toLowerCase();
|
|
418
|
-
}
|
|
419
|
-
triggerOpenedChange(event) {
|
|
420
|
-
this.openedChange.emit(event);
|
|
421
|
-
}
|
|
422
|
-
setToggleAllCheckboxState() {
|
|
423
|
-
var _a, _b;
|
|
424
|
-
const search = this.normalizeValue((_b = (_a = this.element.search) === null || _a === void 0 ? void 0 : _a.formControl) === null || _b === void 0 ? void 0 : _b.value);
|
|
425
|
-
if (!search) {
|
|
426
|
-
this.isIndeterminate = false;
|
|
427
|
-
this.isChecked = false;
|
|
428
|
-
return;
|
|
429
|
-
}
|
|
430
|
-
const filteredLength = this.filteredOptionsCache.filter((option) => this.normalizeValue(option.value).includes(search)).length;
|
|
431
|
-
this.isIndeterminate =
|
|
432
|
-
filteredLength > 0 && filteredLength < this.filteredOptionsCache.length;
|
|
433
|
-
this.isChecked =
|
|
434
|
-
filteredLength > 0 && filteredLength === this.filteredOptionsCache.length;
|
|
435
|
-
}
|
|
436
|
-
toggleSelectAll(event) {
|
|
437
|
-
var _a, _b;
|
|
438
|
-
if (this.isOptionsGroup) {
|
|
439
|
-
const groupOptions = this.filteredGroupCache.reduce((accumulator, group) => accumulator.concat(group.options), []);
|
|
440
|
-
(_a = this.formControl) === null || _a === void 0 ? void 0 : _a.patchValue(event.checked ? groupOptions : []);
|
|
441
|
-
return;
|
|
442
|
-
}
|
|
443
|
-
(_b = this.formControl) === null || _b === void 0 ? void 0 : _b.patchValue(event.checked ? this.filteredOptionsCache : []);
|
|
444
|
-
}
|
|
445
|
-
isElementGroup(object) {
|
|
446
|
-
return !!object && "label" in object && "options" in object;
|
|
447
|
-
}
|
|
448
|
-
compareFn(c1, c2) {
|
|
449
|
-
return c1 && c2 ? c1.key === c2.key : c1 === c2;
|
|
450
|
-
}
|
|
451
|
-
hasValue() {
|
|
452
|
-
return !!this.formControl.value;
|
|
453
|
-
}
|
|
454
|
-
clearValue(event) {
|
|
455
|
-
event.stopPropagation();
|
|
456
|
-
this.formControl.setValue(null);
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
MapaDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaDropdownComponent, deps: [{ token: MapaI18nService }], target: i0.ɵɵFactoryTarget.Component });
|
|
460
|
-
MapaDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaDropdownComponent, selector: "mapa-dropdown", inputs: { formControl: "formControl", formControlSearch: "formControlSearch", element: "element", border: "border" }, outputs: { openedChange: "openedChange" }, viewQueries: [{ propertyName: "dropdown", first: true, predicate: ["dropdown"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"element\">\n <label *ngIf=\"element.label\" class=\"mapa-dropdown__label\">\n {{ element.label }}\n </label>\n <div class=\"mapa-form--inline\">\n <mat-form-field\n appearance=\"outline\"\n class=\"mapa-dropdown\"\n [class.mapa-dropdown--highlight]=\"border === 'highlight'\"\n [class.mapa-dropdown--soft-border]=\"border === 'soft'\"\n [class.mapa-dropdown--tag]=\"border === 'tag'\"\n [class.mapa-dropdown--labeled]=\"!!element.label\"\n >\n <mat-select\n #dropdown\n ngDefaultControl\n [formControl]=\"formControl\"\n [multiple]=\"element.multiple\"\n [placeholder]=\"element.placeholder || ''\"\n [compareWith]=\"compareFn\"\n (openedChange)=\"triggerOpenedChange($event)\"\n >\n <mat-option *ngIf=\"element.search\" class=\"mapa-dropdown__search\">\n <ngx-mat-select-search\n *ngIf=\"element.search.formControl\"\n [showToggleAllCheckbox]=\"element.search.toggleAllCheckbox!\"\n [formControl]=\"element.search.formControl\"\n [placeholderLabel]=\"element.search.placeholder || ''\"\n i18n-placeholderLabel\n [noEntriesFoundLabel]=\"element.search.noEntriesFoundLabel || ''\"\n ></ngx-mat-select-search>\n </mat-option>\n <mat-option\n *ngIf=\"element.multiple\"\n class=\"mapa-dropdown__option--select-all\"\n >\n <mat-checkbox\n class=\"mat-option\"\n [indeterminate]=\"isIndeterminate\"\n [checked]=\"isChecked\"\n (click)=\"$event.stopPropagation()\"\n (change)=\"toggleSelectAll($event)\"\n >\n {{ selectAllLabel }}\n </mat-checkbox>\n </mat-option>\n <ng-container *ngIf=\"isOptionsGroup; else isElementOptions\">\n <mat-optgroup\n *ngFor=\"let group of filteredGroups | async\"\n [label]=\"group.label\"\n >\n <mat-option\n *ngFor=\"let option of group.options\"\n [value]=\"option\"\n [ngClass]=\"[\n 'mapa-dropdown__option--children-level-' + option.childrenLevel,\n ]\"\n >\n <span [innerHTML]=\"option.value | safeHtml\"></span>\n </mat-option>\n </mat-optgroup>\n </ng-container>\n <ng-template #isElementOptions>\n <mat-option\n *ngFor=\"let option of filteredOptions | async\"\n [value]=\"option\"\n [ngClass]=\"[\n 'mapa-dropdown__option mapa-dropdown__option--children-level-' +\n option.childrenLevel,\n ]\"\n >\n <span\n class=\"mapa-dropdown__option-value\"\n [innerHTML]=\"option.value | safeHtml\"\n ></span>\n </mat-option>\n </ng-template>\n\n <mat-option\n *ngFor=\"let option of selectedOptions\"\n hidden\n [value]=\"option\"\n [ngClass]=\"[\n 'mapa-dropdown__option--children-level-' + option.childrenLevel,\n ]\"\n >\n <span [innerHTML]=\"option.value | safeHtml\"></span>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"element.hint\">{{ element.hint }}</mat-hint>\n <mat-error>\n <mapa-form-errors\n [control]=\"formControl\"\n [errors]=\"element.errors\"\n ></mapa-form-errors>\n </mat-error>\n <mat-icon\n *ngIf=\"hasValue() && !formControl.disabled && element.clearValue\"\n (click)=\"clearValue($event)\"\n class=\"mapa-input--close\"\n >close</mat-icon\n >\n </mat-form-field>\n <div *ngIf=\"element.actionButton\" class=\"mapa-form--action\">\n <mapa-button\n color=\"basic\"\n (click)=\"element.actionButton.action.emit(true)\"\n >\n {{ element.actionButton.label }}\n </mapa-button>\n </div>\n </div>\n</div>\n", styles: [".mapa-dropdown{max-width:min-content;min-width:235px}.mapa-dropdown .mat-select{font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif)!important}.mapa-dropdown .mat-icon{display:flex;justify-content:center;align-items:center;position:absolute;right:32px;top:4px}.mapa-dropdown__label{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);display:block;font-size:12px;font-style:normal;font-weight:600;line-height:16px;text-transform:uppercase;margin-bottom:16px}.mapa-dropdown__option{height:auto!important;align-items:start!important}.mapa-dropdown__option--children-level-1{padding-left:30px!important}.mapa-dropdown__option--children-level-2{padding-left:50px!important}.mapa-dropdown__option--children-level-3{padding-left:70px!important}.mapa-dropdown__option--children-level-4{padding-left:90px!important}.mapa-dropdown__option--children-level-5{padding-left:100px!important}.mapa-dropdown__option--children-level-6{padding-left:120px!important}.mapa-dropdown__option--select-all .mat-pseudo-checkbox{display:none!important}.mapa-dropdown__option--select-all .mat-checkbox{padding:0!important}.mapa-dropdown__option-value{text-wrap:auto}.mapa-dropdown__option .mat-pseudo-checkbox{margin:7px 7px 7px 0!important}.mapa-dropdown__option .mat-option-text{height:auto!important}.mapa-dropdown--highlight .mat-form-field-outline{border-radius:16px!important}.mapa-dropdown--highlight .mat-form-field-outline .mat-form-field-outline-start,.mapa-dropdown--highlight .mat-form-field-outline .mat-form-field-outline-end{border-width:2px!important;border-color:#eedb2a!important}.mapa-dropdown--highlight .mat-form-field-outline .mat-form-field-outline-start{display:none!important}.mapa-dropdown--highlight .mat-form-field-outline .mat-form-field-outline-end{border-radius:16px!important;border-left-style:solid!important}.mapa-dropdown--soft-border .mat-form-field-outline .mat-form-field-outline-start,.mapa-dropdown--soft-border .mat-form-field-outline .mat-form-field-outline-end{border-width:1px!important}.mapa-dropdown--tag .mat-form-field-outline{border-radius:16px!important;height:42px!important}.mapa-dropdown--tag .mat-form-field-outline .mat-form-field-outline-start,.mapa-dropdown--tag .mat-form-field-outline .mat-form-field-outline-end{border-width:1px!important;border-color:#cdcdcd}.mapa-dropdown--tag .mat-form-field-outline .mat-form-field-outline-start{display:none!important}.mapa-dropdown--tag .mat-form-field-outline .mat-form-field-outline-end{border-radius:16px!important;border-left-style:solid!important}.mapa-dropdown .mat-form-field-outline{background-color:#fff;border-radius:8px}.mapa-dropdown .mat-form-field-outline .mat-form-field-outline-start,.mapa-dropdown .mat-form-field-outline .mat-form-field-outline-end{border-width:2px}.mapa-dropdown .mat-form-field-flex{display:flex;align-items:center;height:48px}.mapa-dropdown .mat-form-field-infix{border-top:unset!important;padding:unset!important;position:relative}.mapa-dropdown .mat-select-trigger{min-width:50px;padding-top:.3em;height:unset!important}.mapa-dropdown .mat-select-value-text{display:block;width:90%}.mapa-dropdown .mat-select-arrow-wrapper{transform:none!important}.mapa-dropdown .mat-select-arrow{border:unset}.mapa-dropdown .mat-select-arrow:before,.mapa-dropdown .mat-select-arrow:after{content:\"\";display:block;margin-top:-4px;position:absolute;right:10px;top:50%;width:0;border:solid black;border-width:0 2px 2px 0;padding:3px;transform:rotate(45deg);-webkit-transform:rotate(45deg)}.mapa-dropdown .mat-form-field-subscript-wrapper{padding:0!important}.mapa-dropdown [aria-expanded=true] .mat-select-arrow{margin:6px 0 0}.mapa-dropdown [aria-expanded=true] .mat-select-arrow:before,.mapa-dropdown [aria-expanded=true] .mat-select-arrow:after{transform:rotate(-135deg)!important;-webkit-transform:rotate(-135deg)!important}.mapa-overlay-dropdown{transform:translate(-16px) translateY(36px)!important}.mapa-overlay-dropdown .mat-select-panel{border-radius:8px;min-width:calc(100% + 24px)!important}.mapa-overlay-dropdown .mat-select-panel .mat-option,.mapa-overlay-dropdown .mat-select-panel .mat-option-text{font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif)!important;font-size:16px;font-style:normal;font-weight:400;line-height:2em;height:2em;color:#50575e}.mapa-overlay-dropdown .mat-select-panel .mat-option[aria-disabled=true].contains-mat-select-search{height:48px}.mapa-overlay-dropdown .mat-select-panel .mat-select-search-inside-mat-option .mat-select-search-input{background-color:#fff;border:2px solid #a7aaad;border-radius:6px;margin:8px;height:2.3em!important;line-height:2.3em!important;width:96%}.mapa-overlay-dropdown .mat-select-panel .mat-select-search-input{padding:8px 53px 8px 8px!important}.mapa-overlay-dropdown .mat-select-panel .mat-select-search-inner{background-color:#f6f7f7}.mapa-overlay-dropdown .mat-pseudo-checkbox{color:#c3c4c7!important}.mapa-overlay-dropdown .mat-checkbox-frame{border-color:#c3c4c7!important}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "component", type: i5.ButtonComponent, selector: "mapa-button", inputs: ["color", "disabled"], outputs: ["clicked"] }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i7.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i7.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i7.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: i8.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i9.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i9.MatOptgroup, selector: "mat-optgroup", inputs: ["disabled"], exportAs: ["matOptgroup"] }, { kind: "component", type: i10.MatSelectSearchComponent, selector: "ngx-mat-select-search", inputs: ["placeholderLabel", "type", "closeIcon", "closeSvgIcon", "noEntriesFoundLabel", "clearSearchInput", "searching", "disableInitialFocus", "enableClearOnEscapePressed", "preventHomeEndKeyPropagation", "disableScrollToActiveOnOptionsChanged", "ariaLabel", "showToggleAllCheckbox", "toggleAllCheckboxChecked", "toggleAllCheckboxIndeterminate", "toggleAllCheckboxTooltipMessage", "toggleAllCheckboxTooltipPosition", "hideClearSearchButton", "alwaysRestoreSelectedOptionsMulti"], outputs: ["toggleAll"] }, { kind: "component", type: MapaFormErrorsComponent, selector: "mapa-form-errors", inputs: ["control", "errors"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: SafeHtmlPipe, name: "safeHtml" }], encapsulation: i0.ViewEncapsulation.None });
|
|
461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaDropdownComponent, decorators: [{
|
|
462
|
-
type: Component,
|
|
463
|
-
args: [{ selector: "mapa-dropdown", encapsulation: ViewEncapsulation.None, template: "<div *ngIf=\"element\">\n <label *ngIf=\"element.label\" class=\"mapa-dropdown__label\">\n {{ element.label }}\n </label>\n <div class=\"mapa-form--inline\">\n <mat-form-field\n appearance=\"outline\"\n class=\"mapa-dropdown\"\n [class.mapa-dropdown--highlight]=\"border === 'highlight'\"\n [class.mapa-dropdown--soft-border]=\"border === 'soft'\"\n [class.mapa-dropdown--tag]=\"border === 'tag'\"\n [class.mapa-dropdown--labeled]=\"!!element.label\"\n >\n <mat-select\n #dropdown\n ngDefaultControl\n [formControl]=\"formControl\"\n [multiple]=\"element.multiple\"\n [placeholder]=\"element.placeholder || ''\"\n [compareWith]=\"compareFn\"\n (openedChange)=\"triggerOpenedChange($event)\"\n >\n <mat-option *ngIf=\"element.search\" class=\"mapa-dropdown__search\">\n <ngx-mat-select-search\n *ngIf=\"element.search.formControl\"\n [showToggleAllCheckbox]=\"element.search.toggleAllCheckbox!\"\n [formControl]=\"element.search.formControl\"\n [placeholderLabel]=\"element.search.placeholder || ''\"\n i18n-placeholderLabel\n [noEntriesFoundLabel]=\"element.search.noEntriesFoundLabel || ''\"\n ></ngx-mat-select-search>\n </mat-option>\n <mat-option\n *ngIf=\"element.multiple\"\n class=\"mapa-dropdown__option--select-all\"\n >\n <mat-checkbox\n class=\"mat-option\"\n [indeterminate]=\"isIndeterminate\"\n [checked]=\"isChecked\"\n (click)=\"$event.stopPropagation()\"\n (change)=\"toggleSelectAll($event)\"\n >\n {{ selectAllLabel }}\n </mat-checkbox>\n </mat-option>\n <ng-container *ngIf=\"isOptionsGroup; else isElementOptions\">\n <mat-optgroup\n *ngFor=\"let group of filteredGroups | async\"\n [label]=\"group.label\"\n >\n <mat-option\n *ngFor=\"let option of group.options\"\n [value]=\"option\"\n [ngClass]=\"[\n 'mapa-dropdown__option--children-level-' + option.childrenLevel,\n ]\"\n >\n <span [innerHTML]=\"option.value | safeHtml\"></span>\n </mat-option>\n </mat-optgroup>\n </ng-container>\n <ng-template #isElementOptions>\n <mat-option\n *ngFor=\"let option of filteredOptions | async\"\n [value]=\"option\"\n [ngClass]=\"[\n 'mapa-dropdown__option mapa-dropdown__option--children-level-' +\n option.childrenLevel,\n ]\"\n >\n <span\n class=\"mapa-dropdown__option-value\"\n [innerHTML]=\"option.value | safeHtml\"\n ></span>\n </mat-option>\n </ng-template>\n\n <mat-option\n *ngFor=\"let option of selectedOptions\"\n hidden\n [value]=\"option\"\n [ngClass]=\"[\n 'mapa-dropdown__option--children-level-' + option.childrenLevel,\n ]\"\n >\n <span [innerHTML]=\"option.value | safeHtml\"></span>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"element.hint\">{{ element.hint }}</mat-hint>\n <mat-error>\n <mapa-form-errors\n [control]=\"formControl\"\n [errors]=\"element.errors\"\n ></mapa-form-errors>\n </mat-error>\n <mat-icon\n *ngIf=\"hasValue() && !formControl.disabled && element.clearValue\"\n (click)=\"clearValue($event)\"\n class=\"mapa-input--close\"\n >close</mat-icon\n >\n </mat-form-field>\n <div *ngIf=\"element.actionButton\" class=\"mapa-form--action\">\n <mapa-button\n color=\"basic\"\n (click)=\"element.actionButton.action.emit(true)\"\n >\n {{ element.actionButton.label }}\n </mapa-button>\n </div>\n </div>\n</div>\n", styles: [".mapa-dropdown{max-width:min-content;min-width:235px}.mapa-dropdown .mat-select{font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif)!important}.mapa-dropdown .mat-icon{display:flex;justify-content:center;align-items:center;position:absolute;right:32px;top:4px}.mapa-dropdown__label{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);display:block;font-size:12px;font-style:normal;font-weight:600;line-height:16px;text-transform:uppercase;margin-bottom:16px}.mapa-dropdown__option{height:auto!important;align-items:start!important}.mapa-dropdown__option--children-level-1{padding-left:30px!important}.mapa-dropdown__option--children-level-2{padding-left:50px!important}.mapa-dropdown__option--children-level-3{padding-left:70px!important}.mapa-dropdown__option--children-level-4{padding-left:90px!important}.mapa-dropdown__option--children-level-5{padding-left:100px!important}.mapa-dropdown__option--children-level-6{padding-left:120px!important}.mapa-dropdown__option--select-all .mat-pseudo-checkbox{display:none!important}.mapa-dropdown__option--select-all .mat-checkbox{padding:0!important}.mapa-dropdown__option-value{text-wrap:auto}.mapa-dropdown__option .mat-pseudo-checkbox{margin:7px 7px 7px 0!important}.mapa-dropdown__option .mat-option-text{height:auto!important}.mapa-dropdown--highlight .mat-form-field-outline{border-radius:16px!important}.mapa-dropdown--highlight .mat-form-field-outline .mat-form-field-outline-start,.mapa-dropdown--highlight .mat-form-field-outline .mat-form-field-outline-end{border-width:2px!important;border-color:#eedb2a!important}.mapa-dropdown--highlight .mat-form-field-outline .mat-form-field-outline-start{display:none!important}.mapa-dropdown--highlight .mat-form-field-outline .mat-form-field-outline-end{border-radius:16px!important;border-left-style:solid!important}.mapa-dropdown--soft-border .mat-form-field-outline .mat-form-field-outline-start,.mapa-dropdown--soft-border .mat-form-field-outline .mat-form-field-outline-end{border-width:1px!important}.mapa-dropdown--tag .mat-form-field-outline{border-radius:16px!important;height:42px!important}.mapa-dropdown--tag .mat-form-field-outline .mat-form-field-outline-start,.mapa-dropdown--tag .mat-form-field-outline .mat-form-field-outline-end{border-width:1px!important;border-color:#cdcdcd}.mapa-dropdown--tag .mat-form-field-outline .mat-form-field-outline-start{display:none!important}.mapa-dropdown--tag .mat-form-field-outline .mat-form-field-outline-end{border-radius:16px!important;border-left-style:solid!important}.mapa-dropdown .mat-form-field-outline{background-color:#fff;border-radius:8px}.mapa-dropdown .mat-form-field-outline .mat-form-field-outline-start,.mapa-dropdown .mat-form-field-outline .mat-form-field-outline-end{border-width:2px}.mapa-dropdown .mat-form-field-flex{display:flex;align-items:center;height:48px}.mapa-dropdown .mat-form-field-infix{border-top:unset!important;padding:unset!important;position:relative}.mapa-dropdown .mat-select-trigger{min-width:50px;padding-top:.3em;height:unset!important}.mapa-dropdown .mat-select-value-text{display:block;width:90%}.mapa-dropdown .mat-select-arrow-wrapper{transform:none!important}.mapa-dropdown .mat-select-arrow{border:unset}.mapa-dropdown .mat-select-arrow:before,.mapa-dropdown .mat-select-arrow:after{content:\"\";display:block;margin-top:-4px;position:absolute;right:10px;top:50%;width:0;border:solid black;border-width:0 2px 2px 0;padding:3px;transform:rotate(45deg);-webkit-transform:rotate(45deg)}.mapa-dropdown .mat-form-field-subscript-wrapper{padding:0!important}.mapa-dropdown [aria-expanded=true] .mat-select-arrow{margin:6px 0 0}.mapa-dropdown [aria-expanded=true] .mat-select-arrow:before,.mapa-dropdown [aria-expanded=true] .mat-select-arrow:after{transform:rotate(-135deg)!important;-webkit-transform:rotate(-135deg)!important}.mapa-overlay-dropdown{transform:translate(-16px) translateY(36px)!important}.mapa-overlay-dropdown .mat-select-panel{border-radius:8px;min-width:calc(100% + 24px)!important}.mapa-overlay-dropdown .mat-select-panel .mat-option,.mapa-overlay-dropdown .mat-select-panel .mat-option-text{font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif)!important;font-size:16px;font-style:normal;font-weight:400;line-height:2em;height:2em;color:#50575e}.mapa-overlay-dropdown .mat-select-panel .mat-option[aria-disabled=true].contains-mat-select-search{height:48px}.mapa-overlay-dropdown .mat-select-panel .mat-select-search-inside-mat-option .mat-select-search-input{background-color:#fff;border:2px solid #a7aaad;border-radius:6px;margin:8px;height:2.3em!important;line-height:2.3em!important;width:96%}.mapa-overlay-dropdown .mat-select-panel .mat-select-search-input{padding:8px 53px 8px 8px!important}.mapa-overlay-dropdown .mat-select-panel .mat-select-search-inner{background-color:#f6f7f7}.mapa-overlay-dropdown .mat-pseudo-checkbox{color:#c3c4c7!important}.mapa-overlay-dropdown .mat-checkbox-frame{border-color:#c3c4c7!important}\n"] }]
|
|
464
|
-
}], ctorParameters: function () { return [{ type: MapaI18nService }]; }, propDecorators: { formControl: [{
|
|
465
|
-
type: Input
|
|
466
|
-
}], formControlSearch: [{
|
|
467
|
-
type: Input
|
|
468
|
-
}], element: [{
|
|
469
|
-
type: Input
|
|
470
|
-
}], border: [{
|
|
471
|
-
type: Input
|
|
472
|
-
}], openedChange: [{
|
|
473
|
-
type: Output
|
|
474
|
-
}], dropdown: [{
|
|
475
|
-
type: ViewChild,
|
|
476
|
-
args: ["dropdown", { static: true }]
|
|
477
|
-
}] } });
|
|
478
|
-
|
|
479
|
-
class MapaDropdownModule {
|
|
480
|
-
}
|
|
481
|
-
MapaDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
482
|
-
MapaDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaDropdownModule, declarations: [MapaDropdownComponent], imports: [CommonModule,
|
|
483
|
-
FormsModule,
|
|
484
|
-
ReactiveFormsModule,
|
|
485
|
-
MatButtonModule,
|
|
486
|
-
MatCheckboxModule,
|
|
487
|
-
MapaButtonModule$1,
|
|
488
|
-
MatListModule,
|
|
489
|
-
MatIconModule,
|
|
490
|
-
MatSelectModule,
|
|
491
|
-
NgxMatSelectSearchModule,
|
|
492
|
-
MapaFormErrorsComponent,
|
|
493
|
-
SafeHtmlPipe], exports: [MapaDropdownComponent] });
|
|
494
|
-
MapaDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaDropdownModule, providers: [
|
|
495
|
-
{
|
|
496
|
-
provide: MAT_SELECT_CONFIG,
|
|
497
|
-
useValue: { overlayPanelClass: "mapa-overlay-dropdown" },
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
501
|
-
useValue: { appearance: "outline" },
|
|
502
|
-
},
|
|
503
|
-
], imports: [CommonModule,
|
|
504
|
-
FormsModule,
|
|
505
|
-
ReactiveFormsModule,
|
|
506
|
-
MatButtonModule,
|
|
507
|
-
MatCheckboxModule,
|
|
508
|
-
MapaButtonModule$1,
|
|
509
|
-
MatListModule,
|
|
510
|
-
MatIconModule,
|
|
511
|
-
MatSelectModule,
|
|
512
|
-
NgxMatSelectSearchModule,
|
|
513
|
-
MapaFormErrorsComponent] });
|
|
514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaDropdownModule, decorators: [{
|
|
515
|
-
type: NgModule,
|
|
516
|
-
args: [{
|
|
517
|
-
declarations: [MapaDropdownComponent],
|
|
518
|
-
exports: [MapaDropdownComponent],
|
|
519
|
-
imports: [
|
|
520
|
-
CommonModule,
|
|
521
|
-
FormsModule,
|
|
522
|
-
ReactiveFormsModule,
|
|
523
|
-
MatButtonModule,
|
|
524
|
-
MatCheckboxModule,
|
|
525
|
-
MapaButtonModule$1,
|
|
526
|
-
MatListModule,
|
|
527
|
-
MatIconModule,
|
|
528
|
-
MatSelectModule,
|
|
529
|
-
NgxMatSelectSearchModule,
|
|
530
|
-
MapaFormErrorsComponent,
|
|
531
|
-
SafeHtmlPipe,
|
|
532
|
-
],
|
|
533
|
-
providers: [
|
|
534
|
-
{
|
|
535
|
-
provide: MAT_SELECT_CONFIG,
|
|
536
|
-
useValue: { overlayPanelClass: "mapa-overlay-dropdown" },
|
|
537
|
-
},
|
|
538
|
-
{
|
|
539
|
-
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
540
|
-
useValue: { appearance: "outline" },
|
|
541
|
-
},
|
|
542
|
-
],
|
|
543
|
-
}]
|
|
544
|
-
}] });
|
|
545
|
-
|
|
546
|
-
/*
|
|
547
|
-
* Public API Surface of mapa-library-ui dropdown
|
|
548
|
-
*/
|
|
549
|
-
|
|
550
|
-
class IconComponent {
|
|
551
|
-
constructor(matIconRegistry, domSanitizer) {
|
|
552
|
-
this.matIconRegistry = matIconRegistry;
|
|
553
|
-
this.domSanitizer = domSanitizer;
|
|
554
|
-
}
|
|
555
|
-
ngOnChanges() {
|
|
556
|
-
this.registerCustomIcons(this.svg);
|
|
557
|
-
}
|
|
558
|
-
registerCustomIcons(svg) {
|
|
559
|
-
this.matIconRegistry.addSvgIcon(svg, this.domSanitizer.bypassSecurityTrustResourceUrl(`../../../../assets/${svg}.svg`));
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
IconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconComponent, deps: [{ token: i1$1.MatIconRegistry }, { token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
563
|
-
IconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: IconComponent, selector: "mapa-icon", inputs: { svg: "svg" }, usesOnChanges: true, ngImport: i0, template: "<mat-icon *ngIf=\"svg\" [svgIcon]=\"svg\"></mat-icon>\n<mat-icon *ngIf=\"!svg\"><ng-content></ng-content></mat-icon>\n", styles: [".mat-icon{color:#f5704b}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i1$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
564
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: IconComponent, decorators: [{
|
|
565
|
-
type: Component,
|
|
566
|
-
args: [{ selector: 'mapa-icon', template: "<mat-icon *ngIf=\"svg\" [svgIcon]=\"svg\"></mat-icon>\n<mat-icon *ngIf=\"!svg\"><ng-content></ng-content></mat-icon>\n", styles: [".mat-icon{color:#f5704b}\n"] }]
|
|
567
|
-
}], ctorParameters: function () { return [{ type: i1$1.MatIconRegistry }, { type: i1.DomSanitizer }]; }, propDecorators: { svg: [{
|
|
568
|
-
type: Input
|
|
569
|
-
}] } });
|
|
570
|
-
|
|
571
|
-
class MapaIconModule {
|
|
572
|
-
}
|
|
573
|
-
MapaIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
574
|
-
MapaIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaIconModule, declarations: [IconComponent], imports: [CommonModule, MatIconModule], exports: [IconComponent] });
|
|
575
|
-
MapaIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaIconModule, imports: [CommonModule, MatIconModule] });
|
|
576
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaIconModule, decorators: [{
|
|
577
|
-
type: NgModule,
|
|
578
|
-
args: [{
|
|
579
|
-
declarations: [IconComponent],
|
|
580
|
-
exports: [IconComponent],
|
|
581
|
-
imports: [CommonModule, MatIconModule],
|
|
582
|
-
}]
|
|
583
|
-
}] });
|
|
584
|
-
|
|
585
|
-
/*
|
|
586
|
-
* Public API Surface of mapa-library-ui icon
|
|
587
|
-
*/
|
|
588
|
-
|
|
589
|
-
var TooltipPosition;
|
|
590
|
-
(function (TooltipPosition) {
|
|
591
|
-
TooltipPosition["ABOVE"] = "above";
|
|
592
|
-
TooltipPosition["BELOW"] = "below";
|
|
593
|
-
TooltipPosition["LEFT"] = "left";
|
|
594
|
-
TooltipPosition["RIGHT"] = "right";
|
|
595
|
-
TooltipPosition["DYNAMIC"] = "dynamic";
|
|
596
|
-
TooltipPosition["DEFAULT"] = "below";
|
|
597
|
-
})(TooltipPosition || (TooltipPosition = {}));
|
|
598
|
-
var TooltipTheme;
|
|
599
|
-
(function (TooltipTheme) {
|
|
600
|
-
TooltipTheme["DARK"] = "dark";
|
|
601
|
-
TooltipTheme["LIGHT"] = "light";
|
|
602
|
-
TooltipTheme["DEFAULT"] = "light";
|
|
603
|
-
})(TooltipTheme || (TooltipTheme = {}));
|
|
604
|
-
|
|
605
|
-
class MapaTooltipComponent {
|
|
606
|
-
constructor() {
|
|
607
|
-
this.position = TooltipPosition.DEFAULT;
|
|
608
|
-
this.theme = TooltipTheme.DEFAULT;
|
|
609
|
-
this.visible = false;
|
|
610
|
-
this.left = 0;
|
|
611
|
-
this.top = 0;
|
|
612
|
-
}
|
|
613
|
-
ngOnInit() { }
|
|
614
|
-
}
|
|
615
|
-
MapaTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
616
|
-
MapaTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaTooltipComponent, selector: "lib-tooltip", ngImport: i0, template: "<div\n class=\"tooltip\"\n [ngClass]=\"['tooltip--'+position, 'tooltip--'+theme]\"\n [class.tooltip--visible]=\"visible\"\n [style.left]=\"left + 'px'\"\n [style.top]=\"top + 'px'\"\n>\n <ng-template [ngTemplateOutlet]=\"tooltip\"></ng-template>\n</div>\n", styles: [".tooltip{position:fixed;background-color:#000;border-radius:8px;color:#fff;font-family:Arial;padding:3px 6px;font-size:13px;opacity:0;z-index:999;box-shadow:#0000000d 0 6px 24px,#00000014 0 0 0 1px}.tooltip :before,.tooltip :after{content:\"\";display:block;position:absolute;bottom:100%;width:1px;height:0}.tooltip :before{left:49%;border:8px solid transparent;border-bottom-color:#ddd}.tooltip :after{left:49.6%;border:7px solid transparent;border-bottom-color:#fff}.tooltip--visible{opacity:1;transition:opacity .3s}.tooltip--light{background-color:#fff;color:#000}.tooltip--dark{background-color:#000;color:#fff}.tooltip--below{transform:translate(-50%);margin-top:7px}.tooltip--below:before{border-left-color:transparent;border-right-color:transparent;border-top:none;left:calc(50% - 5px);top:-5px}.tooltip--above{transform:translate(-50%,-100%);margin-bottom:7px}.tooltip--above:before{border-left-color:transparent;border-right-color:transparent;border-bottom:none;left:calc(50% - 5px);bottom:-5px}.tooltip--left{transform:translate(calc(-100% - 7px),-50%)}.tooltip--left:before{border-top-color:transparent;border-bottom-color:transparent;border-right:none;right:-5px;top:calc(50% - 5px)}.tooltip--right{transform:translateY(-50%);margin-left:7px}.tooltip--right:before{border-top-color:transparent;border-bottom-color:transparent;border-left:none;left:-5px;top:calc(50% - 5px)}.tooltip--dynamic{margin-left:20px}.tooltip--dynamic:before{display:none}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaTooltipComponent, decorators: [{
|
|
618
|
-
type: Component,
|
|
619
|
-
args: [{ selector: 'lib-tooltip', encapsulation: ViewEncapsulation.None, template: "<div\n class=\"tooltip\"\n [ngClass]=\"['tooltip--'+position, 'tooltip--'+theme]\"\n [class.tooltip--visible]=\"visible\"\n [style.left]=\"left + 'px'\"\n [style.top]=\"top + 'px'\"\n>\n <ng-template [ngTemplateOutlet]=\"tooltip\"></ng-template>\n</div>\n", styles: [".tooltip{position:fixed;background-color:#000;border-radius:8px;color:#fff;font-family:Arial;padding:3px 6px;font-size:13px;opacity:0;z-index:999;box-shadow:#0000000d 0 6px 24px,#00000014 0 0 0 1px}.tooltip :before,.tooltip :after{content:\"\";display:block;position:absolute;bottom:100%;width:1px;height:0}.tooltip :before{left:49%;border:8px solid transparent;border-bottom-color:#ddd}.tooltip :after{left:49.6%;border:7px solid transparent;border-bottom-color:#fff}.tooltip--visible{opacity:1;transition:opacity .3s}.tooltip--light{background-color:#fff;color:#000}.tooltip--dark{background-color:#000;color:#fff}.tooltip--below{transform:translate(-50%);margin-top:7px}.tooltip--below:before{border-left-color:transparent;border-right-color:transparent;border-top:none;left:calc(50% - 5px);top:-5px}.tooltip--above{transform:translate(-50%,-100%);margin-bottom:7px}.tooltip--above:before{border-left-color:transparent;border-right-color:transparent;border-bottom:none;left:calc(50% - 5px);bottom:-5px}.tooltip--left{transform:translate(calc(-100% - 7px),-50%)}.tooltip--left:before{border-top-color:transparent;border-bottom-color:transparent;border-right:none;right:-5px;top:calc(50% - 5px)}.tooltip--right{transform:translateY(-50%);margin-left:7px}.tooltip--right:before{border-top-color:transparent;border-bottom-color:transparent;border-left:none;left:-5px;top:calc(50% - 5px)}.tooltip--dynamic{margin-left:20px}.tooltip--dynamic:before{display:none}\n"] }]
|
|
620
|
-
}], ctorParameters: function () { return []; } });
|
|
621
|
-
|
|
622
|
-
class MapaTooltipDirective {
|
|
623
|
-
constructor(elementRef, appRef, componentFactoryResolver, injector) {
|
|
624
|
-
this.elementRef = elementRef;
|
|
625
|
-
this.appRef = appRef;
|
|
626
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
|
627
|
-
this.injector = injector;
|
|
628
|
-
this.position = TooltipPosition.DEFAULT;
|
|
629
|
-
this.theme = TooltipTheme.DEFAULT;
|
|
630
|
-
this.showDelay = 0;
|
|
631
|
-
this.hideDelay = 0;
|
|
632
|
-
this.componentRef = null;
|
|
633
|
-
}
|
|
634
|
-
onMouseEnter() {
|
|
635
|
-
this.initializeTooltip();
|
|
636
|
-
}
|
|
637
|
-
onMouseLeave() {
|
|
638
|
-
this.setHideTooltipTimeout();
|
|
639
|
-
}
|
|
640
|
-
onMouseMove($event) {
|
|
641
|
-
if (this.componentRef !== null &&
|
|
642
|
-
this.position === TooltipPosition.DYNAMIC) {
|
|
643
|
-
this.componentRef.instance.left = $event.clientX;
|
|
644
|
-
this.componentRef.instance.top = $event.clientY;
|
|
645
|
-
this.componentRef.instance.tooltip = this.tooltip;
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
onTouchStart($event) {
|
|
649
|
-
$event.preventDefault();
|
|
650
|
-
window.clearTimeout(this.touchTimeout);
|
|
651
|
-
this.touchTimeout = window.setTimeout(this.initializeTooltip.bind(this), 500);
|
|
652
|
-
}
|
|
653
|
-
onTouchEnd() {
|
|
654
|
-
window.clearTimeout(this.touchTimeout);
|
|
655
|
-
this.setHideTooltipTimeout();
|
|
656
|
-
}
|
|
657
|
-
initializeTooltip() {
|
|
658
|
-
if (this.componentRef === null) {
|
|
659
|
-
window.clearInterval(this.hideDelay);
|
|
660
|
-
const componentFactory = this.componentFactoryResolver.resolveComponentFactory(MapaTooltipComponent);
|
|
661
|
-
this.componentRef = componentFactory.create(this.injector);
|
|
662
|
-
this.appRef.attachView(this.componentRef.hostView);
|
|
663
|
-
const [tooltipDOMElement] = this.componentRef
|
|
664
|
-
.hostView.rootNodes;
|
|
665
|
-
this.setTooltipComponentProperties();
|
|
666
|
-
document.body.appendChild(tooltipDOMElement);
|
|
667
|
-
this.showTimeout = window.setTimeout(this.showTooltip.bind(this), this.showDelay);
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
setTooltipComponentProperties() {
|
|
671
|
-
if (this.componentRef !== null) {
|
|
672
|
-
this.componentRef.instance.tooltip = this.tooltip;
|
|
673
|
-
this.componentRef.instance.position = this.position;
|
|
674
|
-
this.componentRef.instance.theme = this.theme;
|
|
675
|
-
const { left, right, top, bottom, } = this.elementRef.nativeElement.getBoundingClientRect();
|
|
676
|
-
switch (this.position) {
|
|
677
|
-
case TooltipPosition.BELOW: {
|
|
678
|
-
this.componentRef.instance.left = Math.round((right - left) / 2 + left);
|
|
679
|
-
this.componentRef.instance.top = Math.round(bottom);
|
|
680
|
-
break;
|
|
681
|
-
}
|
|
682
|
-
case TooltipPosition.ABOVE: {
|
|
683
|
-
this.componentRef.instance.left = Math.round((right - left) / 2 + left);
|
|
684
|
-
this.componentRef.instance.top = Math.round(top);
|
|
685
|
-
break;
|
|
686
|
-
}
|
|
687
|
-
case TooltipPosition.RIGHT: {
|
|
688
|
-
this.componentRef.instance.left = Math.round(right);
|
|
689
|
-
this.componentRef.instance.top = Math.round(top + (bottom - top) / 2);
|
|
690
|
-
break;
|
|
691
|
-
}
|
|
692
|
-
case TooltipPosition.LEFT: {
|
|
693
|
-
this.componentRef.instance.left = Math.round(left);
|
|
694
|
-
this.componentRef.instance.top = Math.round(top + (bottom - top) / 2);
|
|
695
|
-
break;
|
|
696
|
-
}
|
|
697
|
-
default: {
|
|
698
|
-
break;
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
showTooltip() {
|
|
704
|
-
if (this.componentRef !== null) {
|
|
705
|
-
this.componentRef.instance.visible = true;
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
setHideTooltipTimeout() {
|
|
709
|
-
this.hideTimeout = window.setTimeout(this.destroy.bind(this), this.hideDelay);
|
|
710
|
-
}
|
|
711
|
-
ngOnDestroy() {
|
|
712
|
-
this.destroy();
|
|
713
|
-
}
|
|
714
|
-
destroy() {
|
|
715
|
-
if (this.componentRef !== null) {
|
|
716
|
-
window.clearInterval(this.showTimeout);
|
|
717
|
-
window.clearInterval(this.hideDelay);
|
|
718
|
-
this.appRef.detachView(this.componentRef.hostView);
|
|
719
|
-
this.componentRef.destroy();
|
|
720
|
-
this.componentRef = null;
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
MapaTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ApplicationRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive });
|
|
725
|
-
MapaTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MapaTooltipDirective, selector: "[tooltip]", inputs: { tooltip: "tooltip", position: "position", theme: "theme", showDelay: "showDelay", hideDelay: "hideDelay" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()", "mousemove": "onMouseMove($event)", "touchstart": "onTouchStart($event)", "touchend": "onTouchEnd()" } }, ngImport: i0 });
|
|
726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaTooltipDirective, decorators: [{
|
|
727
|
-
type: Directive,
|
|
728
|
-
args: [{
|
|
729
|
-
selector: "[tooltip]",
|
|
730
|
-
}]
|
|
731
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ApplicationRef }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }]; }, propDecorators: { tooltip: [{
|
|
732
|
-
type: Input
|
|
733
|
-
}], position: [{
|
|
734
|
-
type: Input
|
|
735
|
-
}], theme: [{
|
|
736
|
-
type: Input
|
|
737
|
-
}], showDelay: [{
|
|
738
|
-
type: Input
|
|
739
|
-
}], hideDelay: [{
|
|
740
|
-
type: Input
|
|
741
|
-
}], onMouseEnter: [{
|
|
742
|
-
type: HostListener,
|
|
743
|
-
args: ["mouseenter"]
|
|
744
|
-
}], onMouseLeave: [{
|
|
745
|
-
type: HostListener,
|
|
746
|
-
args: ["mouseleave"]
|
|
747
|
-
}], onMouseMove: [{
|
|
748
|
-
type: HostListener,
|
|
749
|
-
args: ["mousemove", ["$event"]]
|
|
750
|
-
}], onTouchStart: [{
|
|
751
|
-
type: HostListener,
|
|
752
|
-
args: ["touchstart", ["$event"]]
|
|
753
|
-
}], onTouchEnd: [{
|
|
754
|
-
type: HostListener,
|
|
755
|
-
args: ["touchend"]
|
|
756
|
-
}] } });
|
|
757
|
-
|
|
758
|
-
class MapaTooltipModule {
|
|
759
|
-
}
|
|
760
|
-
MapaTooltipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
761
|
-
MapaTooltipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaTooltipModule, declarations: [MapaTooltipComponent, MapaTooltipDirective], imports: [CommonModule], exports: [MapaTooltipComponent, MapaTooltipDirective] });
|
|
762
|
-
MapaTooltipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaTooltipModule, imports: [CommonModule] });
|
|
763
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaTooltipModule, decorators: [{
|
|
764
|
-
type: NgModule,
|
|
765
|
-
args: [{
|
|
766
|
-
declarations: [MapaTooltipComponent, MapaTooltipDirective],
|
|
767
|
-
exports: [MapaTooltipComponent, MapaTooltipDirective],
|
|
768
|
-
imports: [CommonModule],
|
|
769
|
-
}]
|
|
770
|
-
}] });
|
|
771
|
-
|
|
772
|
-
/*
|
|
773
|
-
* Public API Surface of mapa-library-ui icon
|
|
774
|
-
*/
|
|
775
|
-
|
|
776
|
-
const CAPABILITY_CLASSIFICATION = [
|
|
777
|
-
{
|
|
778
|
-
id: 1,
|
|
779
|
-
name: "Destaque",
|
|
780
|
-
color: "#96f2ee",
|
|
781
|
-
positive: true,
|
|
782
|
-
},
|
|
783
|
-
{
|
|
784
|
-
id: 2,
|
|
785
|
-
name: "Satisfatório",
|
|
786
|
-
color: "#68ceee",
|
|
787
|
-
positive: true,
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
id: 3,
|
|
791
|
-
name: "Adequado",
|
|
792
|
-
color: "#2d9ced",
|
|
793
|
-
positive: true,
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
id: 4,
|
|
797
|
-
name: "A desenvolver",
|
|
798
|
-
color: "#0e6ece",
|
|
799
|
-
positive: true,
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
id: 5,
|
|
803
|
-
name: "Crítico baixo",
|
|
804
|
-
color: "#073e92",
|
|
805
|
-
positive: true,
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
id: 6,
|
|
809
|
-
name: "Merece atenção baixo",
|
|
810
|
-
color: "#f56580",
|
|
811
|
-
positive: false,
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
id: 7,
|
|
815
|
-
name: "Adequado",
|
|
816
|
-
color: "#f598a7",
|
|
817
|
-
positive: false,
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
id: 8,
|
|
821
|
-
name: "Merece atenção alto",
|
|
822
|
-
color: "#f4284e",
|
|
823
|
-
positive: false,
|
|
824
|
-
},
|
|
825
|
-
{
|
|
826
|
-
id: 9,
|
|
827
|
-
name: "Crítico alto",
|
|
828
|
-
color: "#c11c2f",
|
|
829
|
-
positive: false,
|
|
830
|
-
},
|
|
831
|
-
];
|
|
832
|
-
|
|
833
|
-
class CapabilityClassificationService {
|
|
834
|
-
getByItem(item) {
|
|
835
|
-
return (CAPABILITY_CLASSIFICATION.find((classification) => classification.id === item.classificationId) || CAPABILITY_CLASSIFICATION[0]);
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
CapabilityClassificationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CapabilityClassificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
839
|
-
CapabilityClassificationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CapabilityClassificationService });
|
|
840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CapabilityClassificationService, decorators: [{
|
|
841
|
-
type: Injectable
|
|
842
|
-
}] });
|
|
843
|
-
|
|
844
|
-
class MapaCapabilityDotComponent {
|
|
845
|
-
constructor(classification) {
|
|
846
|
-
this.classification = classification;
|
|
847
|
-
}
|
|
848
|
-
createTag() {
|
|
849
|
-
return {
|
|
850
|
-
size: "small",
|
|
851
|
-
};
|
|
852
|
-
}
|
|
853
|
-
}
|
|
854
|
-
MapaCapabilityDotComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDotComponent, deps: [{ token: CapabilityClassificationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
855
|
-
MapaCapabilityDotComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityDotComponent, selector: "mapa-capability-dot", inputs: { type: "type", item: "item", tooltip: "tooltip", capability: "capability" }, ngImport: i0, template: "<p\n *ngIf=\"!tooltip\"\n [class.dot]=\"type !== 'small'\"\n [class.small-dot]=\"type === 'small'\"\n [style.backgroundColor]=\"item.classificationColor\"\n></p>\n<div *ngIf=\"tooltip\" [tooltip]=\"tooltipTemplate\" class=\"tooltip-dot\">\n <p\n [class.dot]=\"type !== 'small'\"\n [class.small-dot]=\"type === 'small'\"\n [style.backgroundColor]=\"item.classificationColor\"\n ></p>\n</div>\n<ng-template #tooltipTemplate>\n <div class=\"tooltip-info\">\n <strong\n class=\"tooltip-info--direction\"\n *ngIf=\"!item.direction\"\n >\u2198\uFE0E</strong\n >\n <strong\n class=\"tooltip-info--direction\"\n *ngIf=\"item.direction\"\n >\u2197</strong\n >\n\n <h5>{{ item.name }}</h5>\n\n <mapa-tag [tag]=\"createTag()\">\n <p\n class=\"small-dot\"\n [style.backgroundColor]=\"item.classificationColor\"\n ></p>\n {{ item.classificationName }}\n </mapa-tag>\n </div>\n</ng-template>\n", styles: [".tooltip-info{display:flex;align-items:center}.tooltip-info strong{margin-right:2px}.tooltip-info h5{margin:0 5px 0 0;font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:14px;font-style:normal;font-weight:600}.tooltip-info--title{color:#50575e;font-family:SF Pro Display;font-size:14px;font-style:normal;font-weight:600}.tooltip-info--direction{padding-right:6px;font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:12px;font-style:normal;font-weight:600}.tooltip-info mapa-tag{color:#000}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$1.TagComponent, selector: "mapa-tag", inputs: ["tag"] }, { kind: "directive", type: i4$1.MapaTooltipDirective, selector: "[tooltip]", inputs: ["tooltip", "position", "theme", "showDelay", "hideDelay"] }] });
|
|
856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDotComponent, decorators: [{
|
|
857
|
-
type: Component,
|
|
858
|
-
args: [{ selector: "mapa-capability-dot", template: "<p\n *ngIf=\"!tooltip\"\n [class.dot]=\"type !== 'small'\"\n [class.small-dot]=\"type === 'small'\"\n [style.backgroundColor]=\"item.classificationColor\"\n></p>\n<div *ngIf=\"tooltip\" [tooltip]=\"tooltipTemplate\" class=\"tooltip-dot\">\n <p\n [class.dot]=\"type !== 'small'\"\n [class.small-dot]=\"type === 'small'\"\n [style.backgroundColor]=\"item.classificationColor\"\n ></p>\n</div>\n<ng-template #tooltipTemplate>\n <div class=\"tooltip-info\">\n <strong\n class=\"tooltip-info--direction\"\n *ngIf=\"!item.direction\"\n >\u2198\uFE0E</strong\n >\n <strong\n class=\"tooltip-info--direction\"\n *ngIf=\"item.direction\"\n >\u2197</strong\n >\n\n <h5>{{ item.name }}</h5>\n\n <mapa-tag [tag]=\"createTag()\">\n <p\n class=\"small-dot\"\n [style.backgroundColor]=\"item.classificationColor\"\n ></p>\n {{ item.classificationName }}\n </mapa-tag>\n </div>\n</ng-template>\n", styles: [".tooltip-info{display:flex;align-items:center}.tooltip-info strong{margin-right:2px}.tooltip-info h5{margin:0 5px 0 0;font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:14px;font-style:normal;font-weight:600}.tooltip-info--title{color:#50575e;font-family:SF Pro Display;font-size:14px;font-style:normal;font-weight:600}.tooltip-info--direction{padding-right:6px;font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:12px;font-style:normal;font-weight:600}.tooltip-info mapa-tag{color:#000}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
|
|
859
|
-
}], ctorParameters: function () { return [{ type: CapabilityClassificationService }]; }, propDecorators: { type: [{
|
|
860
|
-
type: Input
|
|
861
|
-
}], item: [{
|
|
862
|
-
type: Input
|
|
863
|
-
}], tooltip: [{
|
|
864
|
-
type: Input
|
|
865
|
-
}], capability: [{
|
|
866
|
-
type: Input
|
|
867
|
-
}] } });
|
|
868
|
-
|
|
869
|
-
class MapaCapabilityDotModule {
|
|
870
|
-
}
|
|
871
|
-
MapaCapabilityDotModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDotModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
872
|
-
MapaCapabilityDotModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDotModule, declarations: [MapaCapabilityDotComponent], imports: [CommonModule, MapaTagModule$1, MapaTooltipModule$1], exports: [MapaCapabilityDotComponent] });
|
|
873
|
-
MapaCapabilityDotModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDotModule, imports: [CommonModule, MapaTagModule$1, MapaTooltipModule$1] });
|
|
874
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDotModule, decorators: [{
|
|
875
|
-
type: NgModule,
|
|
876
|
-
args: [{
|
|
877
|
-
declarations: [MapaCapabilityDotComponent],
|
|
878
|
-
exports: [MapaCapabilityDotComponent],
|
|
879
|
-
imports: [CommonModule, MapaTagModule$1, MapaTooltipModule$1],
|
|
880
|
-
}]
|
|
881
|
-
}] });
|
|
882
|
-
|
|
883
|
-
class TagComponent {
|
|
884
|
-
}
|
|
885
|
-
TagComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
886
|
-
TagComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TagComponent, selector: "mapa-tag", inputs: { tag: "tag" }, ngImport: i0, template: "<div\n *ngIf=\"tag\"\n class=\"mapa-tag\"\n [class.mapa-tag--small]=\"tag.size === 'small' && !tag.fontSize\"\n [class.mapa-tag--highlight]=\"tag.color === 'highlight'\"\n [class.mapa-tag--selected]=\"tag.color === 'selected'\"\n [class.mapa-tag--default-bg]=\"!tag.bgColor\"\n [class.mapa-tag--bg]=\"tag.bgColor\"\n [style.backgroundColor]=\"tag.bgColor\"\n [style.padding-left]=\"tag.fontSize\"\n [style.border-radius]=\"tag.fontSize\"\n [style.fontSize]=\"tag.fontSize\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [".mapa-tag{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);display:flex;align-items:center;border-radius:16px;padding:8px 12px;margin:0 4px;white-space:nowrap}.mapa-tag--default-bg{border:1px solid #cdcdcd;background:#fff;font-weight:300}.mapa-tag--bg{font-weight:500!important;text-transform:uppercase;padding:4px 8px!important;height:24px!important;color:#181818;font-size:12px}.mapa-tag--highlight{border:2px solid #eedb2a!important}.mapa-tag--small{gap:8px;padding:2px 8px!important;font-size:12px}.mapa-tag--selected{padding:8px 16px!important;gap:16px;border-radius:8px!important;border:1px solid #d9d9d9!important}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TagComponent, decorators: [{
|
|
888
|
-
type: Component,
|
|
889
|
-
args: [{ selector: "mapa-tag", template: "<div\n *ngIf=\"tag\"\n class=\"mapa-tag\"\n [class.mapa-tag--small]=\"tag.size === 'small' && !tag.fontSize\"\n [class.mapa-tag--highlight]=\"tag.color === 'highlight'\"\n [class.mapa-tag--selected]=\"tag.color === 'selected'\"\n [class.mapa-tag--default-bg]=\"!tag.bgColor\"\n [class.mapa-tag--bg]=\"tag.bgColor\"\n [style.backgroundColor]=\"tag.bgColor\"\n [style.padding-left]=\"tag.fontSize\"\n [style.border-radius]=\"tag.fontSize\"\n [style.fontSize]=\"tag.fontSize\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [".mapa-tag{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);display:flex;align-items:center;border-radius:16px;padding:8px 12px;margin:0 4px;white-space:nowrap}.mapa-tag--default-bg{border:1px solid #cdcdcd;background:#fff;font-weight:300}.mapa-tag--bg{font-weight:500!important;text-transform:uppercase;padding:4px 8px!important;height:24px!important;color:#181818;font-size:12px}.mapa-tag--highlight{border:2px solid #eedb2a!important}.mapa-tag--small{gap:8px;padding:2px 8px!important;font-size:12px}.mapa-tag--selected{padding:8px 16px!important;gap:16px;border-radius:8px!important;border:1px solid #d9d9d9!important}\n"] }]
|
|
890
|
-
}], propDecorators: { tag: [{
|
|
891
|
-
type: Input
|
|
892
|
-
}] } });
|
|
893
|
-
|
|
894
|
-
class MapaCapabilityExpandComponent {
|
|
895
|
-
constructor(classification, i18n) {
|
|
896
|
-
this.classification = classification;
|
|
897
|
-
this.i18n = i18n;
|
|
898
|
-
this.texts = this.i18n.texts;
|
|
899
|
-
this.onDestroy$ = new Subject();
|
|
900
|
-
this.i18n.texts$
|
|
901
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
902
|
-
.subscribe((texts) => (this.texts = texts));
|
|
903
|
-
}
|
|
904
|
-
get conceptTitle() {
|
|
905
|
-
return this.texts.capability.conceptTitle;
|
|
906
|
-
}
|
|
907
|
-
get resultTitle() {
|
|
908
|
-
return this.texts.capability.resultTitle;
|
|
909
|
-
}
|
|
910
|
-
get negativeDirectionLabel() {
|
|
911
|
-
return this.texts.capability.negativeDirectionLabel;
|
|
912
|
-
}
|
|
913
|
-
get positiveDirectionLabel() {
|
|
914
|
-
return this.texts.capability.positiveDirectionLabel;
|
|
915
|
-
}
|
|
916
|
-
createTag(item) {
|
|
917
|
-
return {
|
|
918
|
-
bgColor: item.classificationBg || "",
|
|
919
|
-
fontSize: item.classificationFontSize || "",
|
|
920
|
-
size: "small",
|
|
921
|
-
};
|
|
922
|
-
}
|
|
923
|
-
ngOnDestroy() {
|
|
924
|
-
this.onDestroy$.next();
|
|
925
|
-
this.onDestroy$.complete();
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
MapaCapabilityExpandComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityExpandComponent, deps: [{ token: CapabilityClassificationService }, { token: MapaI18nService }], target: i0.ɵɵFactoryTarget.Component });
|
|
929
|
-
MapaCapabilityExpandComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityExpandComponent, selector: "mapa-capability-expand", inputs: { data: "data" }, ngImport: i0, template: "<div\n class=\"capability__concept\"\n *ngIf=\"data.capabilityConcept?.concept || data.capabilityConcept?.result\"\n>\n <div\n class=\"capability__concept--content\"\n *ngIf=\"data.capabilityConcept?.concept\"\n >\n <div class=\"capability__concept--title\">{{ conceptTitle }}</div>\n <div class=\"capability__concept--text\">\n {{ data.capabilityConcept?.concept! }}\n </div>\n </div>\n <div\n class=\"capability__concept--content\"\n *ngIf=\"data.capabilityConcept?.result\"\n >\n <div class=\"capability__concept--title\">{{ resultTitle }}</div>\n <div class=\"capability__concept--text\">\n {{ data.capabilityConcept?.result! }}\n </div>\n </div>\n</div>\n<div class=\"capability__expanded\">\n <div *ngFor=\"let item of data.items\" class=\"capability__expanded--item\">\n <div class=\"name\">\n <div class=\"capability__expanded--name\">\n <span *ngIf=\"item.classificationColor\">\n <strong *ngIf=\"!classification.getByItem(item).positive\">↘ </strong>\n <strong *ngIf=\"classification.getByItem(item).positive\">↗ </strong>\n </span>\n {{ item.name }}\n </div>\n <mapa-tag\n [tag]=\"createTag(item)\"\n class=\"capability__expanded--tag\"\n *ngIf=\"item.classificationId\"\n >\n <mapa-capability-dot\n [item]=\"item\"\n *ngIf=\"item.classificationColor\"\n ></mapa-capability-dot>\n {{ item.classificationName }}\n </mapa-tag>\n </div>\n\n <p class=\"capability__expanded--description\" *ngIf=\"item.description\">\n <strong\n *ngIf=\"item.classificationId && !item.classificationBg && !classification.getByItem(item).positive\"\n >{{ negativeDirectionLabel }}</strong>\n <strong\n *ngIf=\"item.classificationId && !item.classificationBg && classification.getByItem(item).positive\"\n >{{ positiveDirectionLabel }}</strong>\n <span [innerHTML]=\"item.description | safeHtml\"></span>\n </p>\n </div>\n</div>\n\n\n\n", styles: [".capability__concept{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;gap:42px;margin:24px 0 60px}.capability__concept--content{display:flex;flex-direction:column;flex-basis:100%;flex:1}.capability__concept--title{color:#000;font-family:SF Pro Display;font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-bottom:8px}.capability__concept--text{color:#676767;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400;line-height:24px}.capability__expanded{border-top:1px solid #cdcdcd;padding:36px 0 16px 16px;gap:30px}@media (min-width: 800px) and (max-width: 1250px){.capability__expanded{display:grid;grid-template-columns:1fr 1fr}}@media (min-width: 1251px){.capability__expanded{display:grid;grid-template-columns:1fr 1fr 1fr}}.capability__expanded--description{color:#8c8f94;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.capability__expanded--item .name{display:flex;justify-content:space-between;margin-bottom:16px}.capability__expanded--item mapa-tag .mapa-tag--small{display:flex;align-items:center;gap:8px;padding:2px 8px 2px 3px;font-size:14px;font-style:normal;font-weight:400;height:18px}.capability__expanded--name{color:#181818;font-size:20px;font-style:normal;font-weight:400}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TagComponent, selector: "mapa-tag", inputs: ["tag"] }, { kind: "component", type: MapaCapabilityDotComponent, selector: "mapa-capability-dot", inputs: ["type", "item", "tooltip", "capability"] }, { kind: "pipe", type: SafeHtmlPipe, name: "safeHtml" }], encapsulation: i0.ViewEncapsulation.None });
|
|
930
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityExpandComponent, decorators: [{
|
|
931
|
-
type: Component,
|
|
932
|
-
args: [{ selector: "mapa-capability-expand", encapsulation: ViewEncapsulation.None, template: "<div\n class=\"capability__concept\"\n *ngIf=\"data.capabilityConcept?.concept || data.capabilityConcept?.result\"\n>\n <div\n class=\"capability__concept--content\"\n *ngIf=\"data.capabilityConcept?.concept\"\n >\n <div class=\"capability__concept--title\">{{ conceptTitle }}</div>\n <div class=\"capability__concept--text\">\n {{ data.capabilityConcept?.concept! }}\n </div>\n </div>\n <div\n class=\"capability__concept--content\"\n *ngIf=\"data.capabilityConcept?.result\"\n >\n <div class=\"capability__concept--title\">{{ resultTitle }}</div>\n <div class=\"capability__concept--text\">\n {{ data.capabilityConcept?.result! }}\n </div>\n </div>\n</div>\n<div class=\"capability__expanded\">\n <div *ngFor=\"let item of data.items\" class=\"capability__expanded--item\">\n <div class=\"name\">\n <div class=\"capability__expanded--name\">\n <span *ngIf=\"item.classificationColor\">\n <strong *ngIf=\"!classification.getByItem(item).positive\">↘ </strong>\n <strong *ngIf=\"classification.getByItem(item).positive\">↗ </strong>\n </span>\n {{ item.name }}\n </div>\n <mapa-tag\n [tag]=\"createTag(item)\"\n class=\"capability__expanded--tag\"\n *ngIf=\"item.classificationId\"\n >\n <mapa-capability-dot\n [item]=\"item\"\n *ngIf=\"item.classificationColor\"\n ></mapa-capability-dot>\n {{ item.classificationName }}\n </mapa-tag>\n </div>\n\n <p class=\"capability__expanded--description\" *ngIf=\"item.description\">\n <strong\n *ngIf=\"item.classificationId && !item.classificationBg && !classification.getByItem(item).positive\"\n >{{ negativeDirectionLabel }}</strong>\n <strong\n *ngIf=\"item.classificationId && !item.classificationBg && classification.getByItem(item).positive\"\n >{{ positiveDirectionLabel }}</strong>\n <span [innerHTML]=\"item.description | safeHtml\"></span>\n </p>\n </div>\n</div>\n\n\n\n", styles: [".capability__concept{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;gap:42px;margin:24px 0 60px}.capability__concept--content{display:flex;flex-direction:column;flex-basis:100%;flex:1}.capability__concept--title{color:#000;font-family:SF Pro Display;font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-bottom:8px}.capability__concept--text{color:#676767;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400;line-height:24px}.capability__expanded{border-top:1px solid #cdcdcd;padding:36px 0 16px 16px;gap:30px}@media (min-width: 800px) and (max-width: 1250px){.capability__expanded{display:grid;grid-template-columns:1fr 1fr}}@media (min-width: 1251px){.capability__expanded{display:grid;grid-template-columns:1fr 1fr 1fr}}.capability__expanded--description{color:#8c8f94;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.capability__expanded--item .name{display:flex;justify-content:space-between;margin-bottom:16px}.capability__expanded--item mapa-tag .mapa-tag--small{display:flex;align-items:center;gap:8px;padding:2px 8px 2px 3px;font-size:14px;font-style:normal;font-weight:400;height:18px}.capability__expanded--name{color:#181818;font-size:20px;font-style:normal;font-weight:400}\n"] }]
|
|
933
|
-
}], ctorParameters: function () { return [{ type: CapabilityClassificationService }, { type: MapaI18nService }]; }, propDecorators: { data: [{
|
|
934
|
-
type: Input
|
|
935
|
-
}] } });
|
|
936
|
-
|
|
937
|
-
class MapaTagModule {
|
|
938
|
-
}
|
|
939
|
-
MapaTagModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaTagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
940
|
-
MapaTagModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaTagModule, declarations: [TagComponent], imports: [CommonModule], exports: [TagComponent] });
|
|
941
|
-
MapaTagModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaTagModule, imports: [CommonModule] });
|
|
942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaTagModule, decorators: [{
|
|
943
|
-
type: NgModule,
|
|
944
|
-
args: [{
|
|
945
|
-
declarations: [
|
|
946
|
-
TagComponent
|
|
947
|
-
],
|
|
948
|
-
imports: [
|
|
949
|
-
CommonModule
|
|
950
|
-
],
|
|
951
|
-
exports: [
|
|
952
|
-
TagComponent
|
|
953
|
-
]
|
|
954
|
-
}]
|
|
955
|
-
}] });
|
|
956
|
-
|
|
957
|
-
class MapaCapabilityExpandModule {
|
|
958
|
-
}
|
|
959
|
-
MapaCapabilityExpandModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityExpandModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
960
|
-
MapaCapabilityExpandModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityExpandModule, declarations: [MapaCapabilityExpandComponent], imports: [CommonModule, MapaTagModule, MapaCapabilityDotModule, SafeHtmlPipe], exports: [MapaCapabilityExpandComponent] });
|
|
961
|
-
MapaCapabilityExpandModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityExpandModule, providers: [CapabilityClassificationService], imports: [CommonModule, MapaTagModule, MapaCapabilityDotModule] });
|
|
962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityExpandModule, decorators: [{
|
|
963
|
-
type: NgModule,
|
|
964
|
-
args: [{
|
|
965
|
-
declarations: [MapaCapabilityExpandComponent],
|
|
966
|
-
exports: [MapaCapabilityExpandComponent],
|
|
967
|
-
imports: [CommonModule, MapaTagModule, MapaCapabilityDotModule, SafeHtmlPipe],
|
|
968
|
-
providers: [CapabilityClassificationService],
|
|
969
|
-
}]
|
|
970
|
-
}] });
|
|
971
|
-
|
|
972
|
-
class MapaCapabilityIndicatorComponent {
|
|
973
|
-
}
|
|
974
|
-
MapaCapabilityIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
975
|
-
MapaCapabilityIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityIndicatorComponent, selector: "mapa-capability-indicator", inputs: { item: "item" }, ngImport: i0, template: "<div\n class=\"indicator\"\n [style.backgroundColor]=\"item.classificationColor\"\n>\n <span *ngIf=\"item.name\">{{ item.name }}</span>\n <div class=\"indicator__classification\">\n {{ item.interval }}%\n </div>\n</div>\n", styles: [".indicator{margin:3px 0}.indicator__classification{background-color:#fff;border-radius:16px;color:#000;padding:4px 8px;margin-right:4px;font-size:12px!important}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
976
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorComponent, decorators: [{
|
|
977
|
-
type: Component,
|
|
978
|
-
args: [{ selector: "mapa-capability-indicator", template: "<div\n class=\"indicator\"\n [style.backgroundColor]=\"item.classificationColor\"\n>\n <span *ngIf=\"item.name\">{{ item.name }}</span>\n <div class=\"indicator__classification\">\n {{ item.interval }}%\n </div>\n</div>\n", styles: [".indicator{margin:3px 0}.indicator__classification{background-color:#fff;border-radius:16px;color:#000;padding:4px 8px;margin-right:4px;font-size:12px!important}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
|
|
979
|
-
}], propDecorators: { item: [{
|
|
980
|
-
type: Input
|
|
981
|
-
}] } });
|
|
982
|
-
|
|
983
|
-
class MapaCapabilityIndicatorModule {
|
|
984
|
-
}
|
|
985
|
-
MapaCapabilityIndicatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
986
|
-
MapaCapabilityIndicatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorModule, declarations: [MapaCapabilityIndicatorComponent], imports: [CommonModule], exports: [MapaCapabilityIndicatorComponent] });
|
|
987
|
-
MapaCapabilityIndicatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorModule, imports: [CommonModule] });
|
|
988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorModule, decorators: [{
|
|
989
|
-
type: NgModule,
|
|
990
|
-
args: [{
|
|
991
|
-
declarations: [MapaCapabilityIndicatorComponent],
|
|
992
|
-
exports: [MapaCapabilityIndicatorComponent],
|
|
993
|
-
imports: [CommonModule],
|
|
994
|
-
}]
|
|
995
|
-
}] });
|
|
996
|
-
|
|
997
|
-
class MapaCapabilityIntervalComponent {
|
|
998
|
-
constructor() {
|
|
999
|
-
this.SVG = [
|
|
1000
|
-
{ x: 0, y: 0.710938, width: 16, height: 30 },
|
|
1001
|
-
{ x: 22.5039, y: 0.710938, width: 16, height: 30 },
|
|
1002
|
-
{ x: 45.0078, y: 0.710938, width: 16, height: 30 },
|
|
1003
|
-
{ x: 66.9629, y: 0.710938, width: 16, height: 30 },
|
|
1004
|
-
{ x: 88.917, y: 0.710938, width: 16, height: 30 },
|
|
1005
|
-
{ x: 110.872, y: 0.710938, width: 16, height: 30 },
|
|
1006
|
-
{ x: 132.827, y: 0.710938, width: 16, height: 30 },
|
|
1007
|
-
{ x: 154.782, y: 0.710938, width: 16, height: 30 },
|
|
1008
|
-
{ x: 176.736, y: 0.710938, width: 16, height: 30 },
|
|
1009
|
-
{ x: 199.24, y: 0.710938, width: 16, height: 30 },
|
|
1010
|
-
];
|
|
1011
|
-
this.hasTransform = false;
|
|
1012
|
-
this.indexTransform = 0;
|
|
1013
|
-
}
|
|
1014
|
-
ngOnChanges(changes) {
|
|
1015
|
-
const interval = this.data.interval || 0;
|
|
1016
|
-
this.hasTransform = interval % 10 > 0;
|
|
1017
|
-
this.indexTransform = (Math.floor(interval / 10) % 10);
|
|
1018
|
-
this.paintLinear = `linear_${Md5.hashStr(`svg_${interval}`)}`;
|
|
1019
|
-
}
|
|
1020
|
-
ngOnInit() {
|
|
1021
|
-
}
|
|
1022
|
-
getWidth(index) {
|
|
1023
|
-
if (!this.data)
|
|
1024
|
-
return 0;
|
|
1025
|
-
const interval = this.data.interval || 0;
|
|
1026
|
-
const intervalMod10 = Math.floor(interval / 10) % 10;
|
|
1027
|
-
return index < intervalMod10
|
|
1028
|
-
? 100
|
|
1029
|
-
: index === intervalMod10
|
|
1030
|
-
? (interval % 10) * 10
|
|
1031
|
-
: 0;
|
|
1032
|
-
}
|
|
1033
|
-
getFill(i) {
|
|
1034
|
-
const width = this.getWidth(i);
|
|
1035
|
-
if (width === 100)
|
|
1036
|
-
return "#8C8F94";
|
|
1037
|
-
return "#DCDCDE";
|
|
1038
|
-
}
|
|
1039
|
-
getFillGradient() {
|
|
1040
|
-
return `url(#${this.paintLinear})`;
|
|
1041
|
-
}
|
|
1042
|
-
getTransform(i) {
|
|
1043
|
-
const width = this.getWidth(i);
|
|
1044
|
-
if (width === 0 || width === 100)
|
|
1045
|
-
return "";
|
|
1046
|
-
return `rotate(-180 ${this.SVG[i].x} ${this.SVG[i].y})`;
|
|
1047
|
-
}
|
|
1048
|
-
getStartOffset() {
|
|
1049
|
-
const interval = this.data.interval || 0;
|
|
1050
|
-
return Number(`0.${interval % 10}73005`);
|
|
1051
|
-
}
|
|
1052
|
-
getStopOffset() {
|
|
1053
|
-
const interval = this.data.interval || 0;
|
|
1054
|
-
return Number(`0.${interval % 10}73105`);
|
|
1055
|
-
}
|
|
1056
|
-
getGradientX() {
|
|
1057
|
-
return Math.floor(this.SVG[this.indexTransform].x);
|
|
1058
|
-
}
|
|
1059
|
-
isSVG() {
|
|
1060
|
-
return !!this.data.classificationBg && this.data.classificationBg === "SVG";
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
MapaCapabilityIntervalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1064
|
-
MapaCapabilityIntervalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityIntervalComponent, selector: "mapa-capability-interval", inputs: { data: "data", showInterval: "showInterval" }, usesOnChanges: true, ngImport: i0, template: "<ul class=\"capability__interval\" *ngIf=\"isSVG(); else progressBar\">\n <li\n class=\"capability__interval--item\"\n *ngFor=\"let block of SVG; let i = index\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"30\"\n fill=\"none\"\n [class]=\"'svg_' + i + '_' + getWidth(i)\"\n >\n <defs *ngIf=\"hasTransform && i === indexTransform\">\n <linearGradient [attr.id]=\"paintLinear\" gradientUnits=\"userSpaceOnUse\">\n <stop [attr.offset]=\"getStartOffset()\" stop-color=\"#8C8F94\" />\n <stop [attr.offset]=\"getStopOffset()\" stop-color=\"#D9D9D9\" />\n </linearGradient>\n </defs>\n <rect\n rx=\"6\"\n x=\"0\"\n y=\"0.710938\"\n [attr.width]=\"SVG[i].width\"\n [attr.height]=\"SVG[i].height\"\n [attr.fill]=\"getFill(i)\"\n />\n <rect\n *ngIf=\"hasTransform && i === indexTransform\"\n rx=\"6\"\n x=\"0\"\n y=\"0.710938\"\n [attr.width]=\"SVG[i].width\"\n [attr.height]=\"SVG[i].height\"\n [attr.fill]=\"getFillGradient()\"\n />\n </svg>\n </li>\n <li class=\"capability__interval--interval\" *ngIf=\"showInterval\">\n {{ data.interval }}%\n </li>\n</ul>\n<ng-template #progressBar>\n <div class=\"capability__progress-bar\">\n <div class=\"capability__progress-bar--bg\">\n <div\n class=\"capability__progress-bar--filled\"\n [style.width.%]=\"data.interval\"\n ></div>\n </div>\n <div class=\"capability__interval--result\" *ngIf=\"showInterval\">\n {{data.interval}}%\n </div>\n </div>\n</ng-template>\n", styles: [".capability__interval{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:38px;font-style:normal;font-weight:500;display:flex;align-items:center;list-style-type:none;margin-block-start:0px;margin-block-end:0px;padding-inline-start:0px}.capability__interval--interval{display:flex;align-items:flex-start;justify-content:flex-end;text-align:right;font-size:24px;font-style:normal;font-weight:500;height:36px;padding-left:16px;width:68px}.capability__interval--item{border-radius:6px;margin-right:2px;width:18px;height:34px;position:relative}.capability__interval--item:last-of-type{margin-right:0}.capability__interval--percentage{background-color:#d9d9d9;height:34.57px}.capability__progress-bar{display:flex;align-items:center;justify-content:space-between;color:#2e2a2a;font-size:18px;font-style:normal;font-weight:400;width:310px}.capability__progress-bar--bg{position:relative;background-color:#eee;border-radius:6px;height:8px;width:247px}.capability__progress-bar--filled{position:absolute;top:0;left:0;background-color:#ea561d;border-radius:6px;height:8px}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalComponent, decorators: [{
|
|
1066
|
-
type: Component,
|
|
1067
|
-
args: [{ selector: "mapa-capability-interval", template: "<ul class=\"capability__interval\" *ngIf=\"isSVG(); else progressBar\">\n <li\n class=\"capability__interval--item\"\n *ngFor=\"let block of SVG; let i = index\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"30\"\n fill=\"none\"\n [class]=\"'svg_' + i + '_' + getWidth(i)\"\n >\n <defs *ngIf=\"hasTransform && i === indexTransform\">\n <linearGradient [attr.id]=\"paintLinear\" gradientUnits=\"userSpaceOnUse\">\n <stop [attr.offset]=\"getStartOffset()\" stop-color=\"#8C8F94\" />\n <stop [attr.offset]=\"getStopOffset()\" stop-color=\"#D9D9D9\" />\n </linearGradient>\n </defs>\n <rect\n rx=\"6\"\n x=\"0\"\n y=\"0.710938\"\n [attr.width]=\"SVG[i].width\"\n [attr.height]=\"SVG[i].height\"\n [attr.fill]=\"getFill(i)\"\n />\n <rect\n *ngIf=\"hasTransform && i === indexTransform\"\n rx=\"6\"\n x=\"0\"\n y=\"0.710938\"\n [attr.width]=\"SVG[i].width\"\n [attr.height]=\"SVG[i].height\"\n [attr.fill]=\"getFillGradient()\"\n />\n </svg>\n </li>\n <li class=\"capability__interval--interval\" *ngIf=\"showInterval\">\n {{ data.interval }}%\n </li>\n</ul>\n<ng-template #progressBar>\n <div class=\"capability__progress-bar\">\n <div class=\"capability__progress-bar--bg\">\n <div\n class=\"capability__progress-bar--filled\"\n [style.width.%]=\"data.interval\"\n ></div>\n </div>\n <div class=\"capability__interval--result\" *ngIf=\"showInterval\">\n {{data.interval}}%\n </div>\n </div>\n</ng-template>\n", styles: [".capability__interval{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:38px;font-style:normal;font-weight:500;display:flex;align-items:center;list-style-type:none;margin-block-start:0px;margin-block-end:0px;padding-inline-start:0px}.capability__interval--interval{display:flex;align-items:flex-start;justify-content:flex-end;text-align:right;font-size:24px;font-style:normal;font-weight:500;height:36px;padding-left:16px;width:68px}.capability__interval--item{border-radius:6px;margin-right:2px;width:18px;height:34px;position:relative}.capability__interval--item:last-of-type{margin-right:0}.capability__interval--percentage{background-color:#d9d9d9;height:34.57px}.capability__progress-bar{display:flex;align-items:center;justify-content:space-between;color:#2e2a2a;font-size:18px;font-style:normal;font-weight:400;width:310px}.capability__progress-bar--bg{position:relative;background-color:#eee;border-radius:6px;height:8px;width:247px}.capability__progress-bar--filled{position:absolute;top:0;left:0;background-color:#ea561d;border-radius:6px;height:8px}\n"] }]
|
|
1068
|
-
}], ctorParameters: function () { return []; }, propDecorators: { data: [{
|
|
1069
|
-
type: Input
|
|
1070
|
-
}], showInterval: [{
|
|
1071
|
-
type: Input
|
|
1072
|
-
}] } });
|
|
1073
|
-
|
|
1074
|
-
class MapaCapabilityIntervalModule {
|
|
1075
|
-
}
|
|
1076
|
-
MapaCapabilityIntervalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1077
|
-
MapaCapabilityIntervalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalModule, declarations: [MapaCapabilityIntervalComponent], imports: [CommonModule], exports: [MapaCapabilityIntervalComponent] });
|
|
1078
|
-
MapaCapabilityIntervalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalModule, imports: [CommonModule] });
|
|
1079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalModule, decorators: [{
|
|
1080
|
-
type: NgModule,
|
|
1081
|
-
args: [{
|
|
1082
|
-
declarations: [MapaCapabilityIntervalComponent],
|
|
1083
|
-
exports: [MapaCapabilityIntervalComponent],
|
|
1084
|
-
imports: [CommonModule],
|
|
1085
|
-
}]
|
|
1086
|
-
}] });
|
|
1087
|
-
|
|
1088
|
-
class MapaCapabilityIntervalBarComponent {
|
|
1089
|
-
constructor() {
|
|
1090
|
-
this.clicked = new EventEmitter();
|
|
1091
|
-
this.isHovering = false;
|
|
1092
|
-
this.isClicked = false;
|
|
1093
|
-
}
|
|
1094
|
-
isSVG() {
|
|
1095
|
-
return !!this.data.classificationBg && this.data.classificationBg === "SVG";
|
|
1096
|
-
}
|
|
1097
|
-
}
|
|
1098
|
-
MapaCapabilityIntervalBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1099
|
-
MapaCapabilityIntervalBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityIntervalBarComponent, selector: "mapa-capability-interval-bar", inputs: { data: "data", expanded: "expanded", showInterval: "showInterval" }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<section reusable-outlet class=\"capability-interval\">\n <section [class.capability-interval__bar]=\"isSVG()\">\n <mapa-capability-interval\n [data]=\"data\"\n [showInterval]=\"showInterval\"\n ></mapa-capability-interval>\n </section>\n</section>\n", styles: [".capability-interval{display:flex;align-items:center;position:relative;height:72px;margin-right:16px}.capability-interval__bar{display:flex;align-items:center;justify-content:center;max-height:72px;height:100%}.capability-interval__show-more{display:flex;align-items:center;justify-content:flex-end;max-height:72px;height:100%;width:100%}.capability-interval__show-more mapa-button,.capability-interval__show-more button{width:100%;justify-content:flex-end!important}.capability-interval--hide{opacity:0;max-height:0}.capability-interval--hide>*{opacity:0;max-height:0}.capability-interval--show{opacity:1;max-height:72px}\n"], dependencies: [{ kind: "component", type: MapaCapabilityIntervalComponent, selector: "mapa-capability-interval", inputs: ["data", "showInterval"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalBarComponent, decorators: [{
|
|
1101
|
-
type: Component,
|
|
1102
|
-
args: [{ selector: "mapa-capability-interval-bar", encapsulation: ViewEncapsulation.None, template: "<section reusable-outlet class=\"capability-interval\">\n <section [class.capability-interval__bar]=\"isSVG()\">\n <mapa-capability-interval\n [data]=\"data\"\n [showInterval]=\"showInterval\"\n ></mapa-capability-interval>\n </section>\n</section>\n", styles: [".capability-interval{display:flex;align-items:center;position:relative;height:72px;margin-right:16px}.capability-interval__bar{display:flex;align-items:center;justify-content:center;max-height:72px;height:100%}.capability-interval__show-more{display:flex;align-items:center;justify-content:flex-end;max-height:72px;height:100%;width:100%}.capability-interval__show-more mapa-button,.capability-interval__show-more button{width:100%;justify-content:flex-end!important}.capability-interval--hide{opacity:0;max-height:0}.capability-interval--hide>*{opacity:0;max-height:0}.capability-interval--show{opacity:1;max-height:72px}\n"] }]
|
|
1103
|
-
}], propDecorators: { data: [{
|
|
1104
|
-
type: Input
|
|
1105
|
-
}], expanded: [{
|
|
1106
|
-
type: Input
|
|
1107
|
-
}], showInterval: [{
|
|
1108
|
-
type: Input
|
|
1109
|
-
}], clicked: [{
|
|
1110
|
-
type: Output
|
|
1111
|
-
}] } });
|
|
1112
|
-
|
|
1113
|
-
class FiltersComponent {
|
|
1114
|
-
constructor(i18n) {
|
|
1115
|
-
this.i18n = i18n;
|
|
1116
|
-
this.selectedValues = new EventEmitter();
|
|
1117
|
-
this.texts = this.i18n.texts;
|
|
1118
|
-
this.onDestroy$ = new Subject();
|
|
1119
|
-
this.i18n.texts$
|
|
1120
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
1121
|
-
.subscribe((texts) => (this.texts = texts));
|
|
1122
|
-
}
|
|
1123
|
-
get clearFiltersLabel() {
|
|
1124
|
-
return this.texts.filters.clear;
|
|
1125
|
-
}
|
|
1126
|
-
get submitFiltersLabel() {
|
|
1127
|
-
return this.texts.filters.submit;
|
|
1128
|
-
}
|
|
1129
|
-
getFormControl(filterKey) {
|
|
1130
|
-
return this.form.get(filterKey);
|
|
1131
|
-
}
|
|
1132
|
-
clearFilters() {
|
|
1133
|
-
this.form.reset();
|
|
1134
|
-
}
|
|
1135
|
-
emitSelectedValues() {
|
|
1136
|
-
this.selectedValues.emit(this.form.value);
|
|
1137
|
-
}
|
|
1138
|
-
ngOnDestroy() {
|
|
1139
|
-
this.onDestroy$.next();
|
|
1140
|
-
this.onDestroy$.complete();
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
FiltersComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FiltersComponent, deps: [{ token: MapaI18nService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1144
|
-
FiltersComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FiltersComponent, selector: "mapa-filters", inputs: { form: "form", elements: "elements" }, outputs: { selectedValues: "selectedValues" }, ngImport: i0, template: "<div class=\"filter\">\n <div *ngFor=\"let filter of elements\">\n <div *ngIf=\"filter.controlType === 'checkbox'\" class=\"filter__item--resizable\">\n <mapa-checkbox [formControl]=\"getFormControl(filter.key)\"></mapa-checkbox>\n </div>\n <div *ngIf=\"filter.controlType === 'dropdown'\" class=\"filter__item--resizable\">\n <mapa-dropdown\n [formControl]=\"getFormControl(filter.key)\"\n [element]=\"filter\"\n ></mapa-dropdown>\n </div>\n <div *ngIf=\"filter.controlType === 'input'\" class=\"filter__item\">\n <mapa-input\n [formControl]=\"getFormControl(filter.key)\"\n [element]=\"filter\"\n ></mapa-input>\n </div>\n </div>\n <div class=\"filter__item\">\n <mapa-button [color]=\"'basic'\" (clicked)=\"clearFilters()\">\n {{ clearFiltersLabel }}\n </mapa-button>\n <mapa-button\n [color]=\"'primary'\"\n [disabled]=\"!!form.invalid\"\n (clicked)=\"emitSelectedValues()\"\n >\n {{ submitFiltersLabel }}\n </mapa-button>\n </div>\n</div>\n\n", styles: [".filter{display:flex;align-items:center;flex-wrap:wrap;background-color:#f6f7f7;padding:32px;width:95vw;gap:30px}.filter__item{display:flex}.filter .mapa-dropdown{max-width:none;min-width:10vw}.filter .mapa-dropdown--labeled .mat-form-field-flex{height:40px!important}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.ButtonComponent, selector: "mapa-button", inputs: ["color", "disabled"], outputs: ["clicked"] }, { kind: "component", type: i4$2.CheckboxComponent, selector: "mapa-checkbox", inputs: ["color", "formControl"] }, { kind: "component", type: i5$1.MapaDropdownComponent, selector: "mapa-dropdown", inputs: ["formControl", "formControlSearch", "element", "border"], outputs: ["openedChange"] }, { kind: "component", type: i6.MapaInputComponent, selector: "mapa-input", inputs: ["formControl", "element", "type"], outputs: ["suffix"] }] });
|
|
1145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FiltersComponent, decorators: [{
|
|
1146
|
-
type: Component,
|
|
1147
|
-
args: [{ selector: 'mapa-filters', template: "<div class=\"filter\">\n <div *ngFor=\"let filter of elements\">\n <div *ngIf=\"filter.controlType === 'checkbox'\" class=\"filter__item--resizable\">\n <mapa-checkbox [formControl]=\"getFormControl(filter.key)\"></mapa-checkbox>\n </div>\n <div *ngIf=\"filter.controlType === 'dropdown'\" class=\"filter__item--resizable\">\n <mapa-dropdown\n [formControl]=\"getFormControl(filter.key)\"\n [element]=\"filter\"\n ></mapa-dropdown>\n </div>\n <div *ngIf=\"filter.controlType === 'input'\" class=\"filter__item\">\n <mapa-input\n [formControl]=\"getFormControl(filter.key)\"\n [element]=\"filter\"\n ></mapa-input>\n </div>\n </div>\n <div class=\"filter__item\">\n <mapa-button [color]=\"'basic'\" (clicked)=\"clearFilters()\">\n {{ clearFiltersLabel }}\n </mapa-button>\n <mapa-button\n [color]=\"'primary'\"\n [disabled]=\"!!form.invalid\"\n (clicked)=\"emitSelectedValues()\"\n >\n {{ submitFiltersLabel }}\n </mapa-button>\n </div>\n</div>\n\n", styles: [".filter{display:flex;align-items:center;flex-wrap:wrap;background-color:#f6f7f7;padding:32px;width:95vw;gap:30px}.filter__item{display:flex}.filter .mapa-dropdown{max-width:none;min-width:10vw}.filter .mapa-dropdown--labeled .mat-form-field-flex{height:40px!important}\n"] }]
|
|
1148
|
-
}], ctorParameters: function () { return [{ type: MapaI18nService }]; }, propDecorators: { form: [{
|
|
1149
|
-
type: Input
|
|
1150
|
-
}], elements: [{
|
|
1151
|
-
type: Input
|
|
1152
|
-
}], selectedValues: [{
|
|
1153
|
-
type: Output
|
|
1154
|
-
}] } });
|
|
1155
|
-
|
|
1156
|
-
class MapaFiltersModule {
|
|
1157
|
-
}
|
|
1158
|
-
MapaFiltersModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaFiltersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1159
|
-
MapaFiltersModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaFiltersModule, declarations: [FiltersComponent], imports: [CommonModule,
|
|
1160
|
-
MapaButtonModule$1,
|
|
1161
|
-
MapaCheckboxModule,
|
|
1162
|
-
MapaDropdownModule$1,
|
|
1163
|
-
MapaInputModule], exports: [FiltersComponent] });
|
|
1164
|
-
MapaFiltersModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaFiltersModule, imports: [CommonModule,
|
|
1165
|
-
MapaButtonModule$1,
|
|
1166
|
-
MapaCheckboxModule,
|
|
1167
|
-
MapaDropdownModule$1,
|
|
1168
|
-
MapaInputModule] });
|
|
1169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaFiltersModule, decorators: [{
|
|
1170
|
-
type: NgModule,
|
|
1171
|
-
args: [{
|
|
1172
|
-
declarations: [
|
|
1173
|
-
FiltersComponent
|
|
1174
|
-
],
|
|
1175
|
-
imports: [
|
|
1176
|
-
CommonModule,
|
|
1177
|
-
MapaButtonModule$1,
|
|
1178
|
-
MapaCheckboxModule,
|
|
1179
|
-
MapaDropdownModule$1,
|
|
1180
|
-
MapaInputModule,
|
|
1181
|
-
],
|
|
1182
|
-
exports: [FiltersComponent],
|
|
1183
|
-
}]
|
|
1184
|
-
}] });
|
|
1185
|
-
|
|
1186
|
-
/*
|
|
1187
|
-
* Public API Surface of mapa-library-ui dropdown
|
|
1188
|
-
*/
|
|
1189
|
-
|
|
1190
|
-
/*
|
|
1191
|
-
* Public API Surface of mapa-library-ui filters
|
|
1192
|
-
*/
|
|
1193
|
-
|
|
1194
|
-
class MapaCapabilityIntervalBarModule {
|
|
1195
|
-
}
|
|
1196
|
-
MapaCapabilityIntervalBarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1197
|
-
MapaCapabilityIntervalBarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalBarModule, declarations: [MapaCapabilityIntervalBarComponent], imports: [CommonModule, MapaButtonModule, MapaCapabilityIntervalModule], exports: [MapaCapabilityIntervalBarComponent] });
|
|
1198
|
-
MapaCapabilityIntervalBarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalBarModule, imports: [CommonModule, MapaButtonModule, MapaCapabilityIntervalModule] });
|
|
1199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIntervalBarModule, decorators: [{
|
|
1200
|
-
type: NgModule,
|
|
1201
|
-
args: [{
|
|
1202
|
-
declarations: [MapaCapabilityIntervalBarComponent],
|
|
1203
|
-
exports: [MapaCapabilityIntervalBarComponent],
|
|
1204
|
-
imports: [CommonModule, MapaButtonModule, MapaCapabilityIntervalModule],
|
|
1205
|
-
}]
|
|
1206
|
-
}] });
|
|
1207
|
-
|
|
1208
|
-
class MapaCapabilityComparativeIndicatorComponent {
|
|
1209
|
-
getWidth(item) {
|
|
1210
|
-
return 32 + (item.interval || 0) * 2 + "px";
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1213
|
-
MapaCapabilityComparativeIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1214
|
-
MapaCapabilityComparativeIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityComparativeIndicatorComponent, selector: "mapa-capability-comparative-indicator", inputs: { item: "item", fullWidth: "fullWidth" }, ngImport: i0, template: "<div\n class=\"comparative-indicator\"\n [style.width]=\"fullWidth ? '100%' : getWidth(item)\"\n>\n <div class=\"comparative-indicator__interval\">\n {{ item.interval }}%\n <span\n *ngIf=\"item.isIndividually\"\n class=\"comparative-indicator__individually\"\n >\u25BC</span\n >\n </div>\n <div\n class=\"comparative-indicator__classification\"\n [style.backgroundColor]=\"item.classificationColor\"\n *ngIf=\"item.classificationColor\"\n ></div>\n</div>\n", styles: [".comparative-indicator{display:flex;flex-direction:column}.comparative-indicator__interval{font-size:12px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);text-align:center;width:100%;display:flex;justify-content:center;align-items:center;min-width:40px}.comparative-indicator__classification{border-radius:16px;padding:2px 4px;height:24px}.comparative-indicator__individually{color:#ea561d;margin:0 4px}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeIndicatorComponent, decorators: [{
|
|
1216
|
-
type: Component,
|
|
1217
|
-
args: [{ selector: "mapa-capability-comparative-indicator", template: "<div\n class=\"comparative-indicator\"\n [style.width]=\"fullWidth ? '100%' : getWidth(item)\"\n>\n <div class=\"comparative-indicator__interval\">\n {{ item.interval }}%\n <span\n *ngIf=\"item.isIndividually\"\n class=\"comparative-indicator__individually\"\n >\u25BC</span\n >\n </div>\n <div\n class=\"comparative-indicator__classification\"\n [style.backgroundColor]=\"item.classificationColor\"\n *ngIf=\"item.classificationColor\"\n ></div>\n</div>\n", styles: [".comparative-indicator{display:flex;flex-direction:column}.comparative-indicator__interval{font-size:12px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);text-align:center;width:100%;display:flex;justify-content:center;align-items:center;min-width:40px}.comparative-indicator__classification{border-radius:16px;padding:2px 4px;height:24px}.comparative-indicator__individually{color:#ea561d;margin:0 4px}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
|
|
1218
|
-
}], propDecorators: { item: [{
|
|
1219
|
-
type: Input
|
|
1220
|
-
}], fullWidth: [{
|
|
1221
|
-
type: Input
|
|
1222
|
-
}] } });
|
|
1223
|
-
|
|
1224
|
-
class MapaCapabilityComparativeChartComponent {
|
|
1225
|
-
setCleanItem(item) {
|
|
1226
|
-
return {
|
|
1227
|
-
average: item.average,
|
|
1228
|
-
interval: item.interval,
|
|
1229
|
-
classificationId: item.classificationId,
|
|
1230
|
-
classificationColor: item.classificationColor,
|
|
1231
|
-
isIndividually: item.isIndividually,
|
|
1232
|
-
};
|
|
1233
|
-
}
|
|
1234
|
-
}
|
|
1235
|
-
MapaCapabilityComparativeChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1236
|
-
MapaCapabilityComparativeChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityComparativeChartComponent, selector: "mapa-capability-comparative-chart", inputs: { data: "data" }, ngImport: i0, template: "<table class=\"capability-comparative__chart\">\n <tr *ngFor=\"let indicator of data.indicators\">\n <th>\n <p>{{ indicator.name }}</p>\n </th>\n <td class=\"capability-comparative__chart--indicators\">\n <mapa-capability-comparative-indicator\n *ngFor=\"let item of indicator.items\"\n [item]=\"setCleanItem(item)\"\n [fullWidth]=\"true\"\n [style.width.%]=\"item.interval\"\n ></mapa-capability-comparative-indicator>\n </td>\n </tr>\n</table>\n", styles: [".capability-comparative{background-color:#fff}.capability-comparative__chart{width:100%}.capability-comparative__chart tr{border-bottom:1px solid #DCDCDE;display:flex;padding:16px 0;justify-content:space-between;align-items:center}.capability-comparative__chart th{vertical-align:bottom;text-align:left;padding-right:36px;width:20%}.capability-comparative__chart th p{font-size:14px;font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);margin:6px 0!important;font-weight:500}.capability-comparative__chart--indicators{display:flex;justify-content:center;align-items:center;height:40px;position:relative;width:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MapaCapabilityComparativeIndicatorComponent, selector: "mapa-capability-comparative-indicator", inputs: ["item", "fullWidth"] }] });
|
|
1237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeChartComponent, decorators: [{
|
|
1238
|
-
type: Component,
|
|
1239
|
-
args: [{ selector: 'mapa-capability-comparative-chart', template: "<table class=\"capability-comparative__chart\">\n <tr *ngFor=\"let indicator of data.indicators\">\n <th>\n <p>{{ indicator.name }}</p>\n </th>\n <td class=\"capability-comparative__chart--indicators\">\n <mapa-capability-comparative-indicator\n *ngFor=\"let item of indicator.items\"\n [item]=\"setCleanItem(item)\"\n [fullWidth]=\"true\"\n [style.width.%]=\"item.interval\"\n ></mapa-capability-comparative-indicator>\n </td>\n </tr>\n</table>\n", styles: [".capability-comparative{background-color:#fff}.capability-comparative__chart{width:100%}.capability-comparative__chart tr{border-bottom:1px solid #DCDCDE;display:flex;padding:16px 0;justify-content:space-between;align-items:center}.capability-comparative__chart th{vertical-align:bottom;text-align:left;padding-right:36px;width:20%}.capability-comparative__chart th p{font-size:14px;font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);margin:6px 0!important;font-weight:500}.capability-comparative__chart--indicators{display:flex;justify-content:center;align-items:center;height:40px;position:relative;width:100%}\n"] }]
|
|
1240
|
-
}], propDecorators: { data: [{
|
|
1241
|
-
type: Input
|
|
1242
|
-
}] } });
|
|
1243
|
-
|
|
1244
|
-
class MapaCapabilityComparativeHeaderComponent {
|
|
1245
|
-
constructor(i18n) {
|
|
1246
|
-
this.i18n = i18n;
|
|
1247
|
-
this.texts = this.i18n.texts;
|
|
1248
|
-
this.onDestroy$ = new Subject();
|
|
1249
|
-
this.i18n.texts$
|
|
1250
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
1251
|
-
.subscribe((texts) => (this.texts = texts));
|
|
1252
|
-
}
|
|
1253
|
-
get groupAverageTitle() {
|
|
1254
|
-
return this.texts.capability.groupAverageTitle;
|
|
1255
|
-
}
|
|
1256
|
-
get individualAverageTitle() {
|
|
1257
|
-
return this.texts.capability.individualAverageTitle;
|
|
1258
|
-
}
|
|
1259
|
-
getCapabilityData(item) {
|
|
1260
|
-
return {
|
|
1261
|
-
interval: item,
|
|
1262
|
-
items: [],
|
|
1263
|
-
};
|
|
1264
|
-
}
|
|
1265
|
-
ngOnDestroy() {
|
|
1266
|
-
this.onDestroy$.next();
|
|
1267
|
-
this.onDestroy$.complete();
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
MapaCapabilityComparativeHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeHeaderComponent, deps: [{ token: MapaI18nService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1271
|
-
MapaCapabilityComparativeHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityComparativeHeaderComponent, selector: "mapa-capability-comparative-header", inputs: { data: "data" }, ngImport: i0, template: "<section class=\"capability-comparative__header\">\n <h1>{{ data.name }}</h1>\n\n <section>\n <div class=\"capability-comparative__avg\">\n <div class=\"capability-comparative__avg--title\">{{ groupAverageTitle }}</div>\n <mapa-capability-interval\n [data]=\"getCapabilityData(data.groupAvg)\"\n [showInterval]=\"true\"\n reusable-interval-bar\n ></mapa-capability-interval>\n </div>\n <div class=\"capability-comparative__avg\">\n <div class=\"capability-comparative__avg--title\">{{ individualAverageTitle }}</div>\n <mapa-capability-interval\n [data]=\"getCapabilityData(data.individualAvg)\"\n [showInterval]=\"true\"\n reusable-interval-bar\n ></mapa-capability-interval>\n </div>\n </section>\n</section>\n\n\n", styles: [".capability-comparative__header{display:flex;align-items:center;justify-content:space-between;width:100%}.capability-comparative__header h1{color:var(--GlobalColors-Neutral-100, #000);font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400;line-height:40px}.capability-comparative__avg{border-radius:16px;border:1px solid #cdcdcd;padding:10px 16px;margin:24px 0;position:relative}.capability-comparative__avg--title{background-color:#fff;padding:0 2px;position:absolute;top:-8px;color:#8c8f94;font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:12px;font-style:normal;font-weight:500;line-height:16px;text-transform:uppercase}\n"], dependencies: [{ kind: "component", type: MapaCapabilityIntervalComponent, selector: "mapa-capability-interval", inputs: ["data", "showInterval"] }] });
|
|
1272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeHeaderComponent, decorators: [{
|
|
1273
|
-
type: Component,
|
|
1274
|
-
args: [{ selector: 'mapa-capability-comparative-header', template: "<section class=\"capability-comparative__header\">\n <h1>{{ data.name }}</h1>\n\n <section>\n <div class=\"capability-comparative__avg\">\n <div class=\"capability-comparative__avg--title\">{{ groupAverageTitle }}</div>\n <mapa-capability-interval\n [data]=\"getCapabilityData(data.groupAvg)\"\n [showInterval]=\"true\"\n reusable-interval-bar\n ></mapa-capability-interval>\n </div>\n <div class=\"capability-comparative__avg\">\n <div class=\"capability-comparative__avg--title\">{{ individualAverageTitle }}</div>\n <mapa-capability-interval\n [data]=\"getCapabilityData(data.individualAvg)\"\n [showInterval]=\"true\"\n reusable-interval-bar\n ></mapa-capability-interval>\n </div>\n </section>\n</section>\n\n\n", styles: [".capability-comparative__header{display:flex;align-items:center;justify-content:space-between;width:100%}.capability-comparative__header h1{color:var(--GlobalColors-Neutral-100, #000);font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400;line-height:40px}.capability-comparative__avg{border-radius:16px;border:1px solid #cdcdcd;padding:10px 16px;margin:24px 0;position:relative}.capability-comparative__avg--title{background-color:#fff;padding:0 2px;position:absolute;top:-8px;color:#8c8f94;font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:12px;font-style:normal;font-weight:500;line-height:16px;text-transform:uppercase}\n"] }]
|
|
1275
|
-
}], ctorParameters: function () { return [{ type: MapaI18nService }]; }, propDecorators: { data: [{
|
|
1276
|
-
type: Input
|
|
1277
|
-
}] } });
|
|
1278
|
-
|
|
1279
|
-
class MapaCapabilityComparativeComponent {
|
|
1280
|
-
constructor() { }
|
|
1281
|
-
ngOnInit() { }
|
|
1282
|
-
}
|
|
1283
|
-
MapaCapabilityComparativeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1284
|
-
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 });
|
|
1285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeComponent, decorators: [{
|
|
1286
|
-
type: Component,
|
|
1287
|
-
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"] }]
|
|
1288
|
-
}], ctorParameters: function () { return []; }, propDecorators: { data: [{
|
|
1289
|
-
type: Input
|
|
1290
|
-
}] } });
|
|
1291
|
-
|
|
1292
|
-
class MapaCapabilityComparativeHeaderModule {
|
|
1293
|
-
}
|
|
1294
|
-
MapaCapabilityComparativeHeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1295
|
-
MapaCapabilityComparativeHeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeHeaderModule, declarations: [MapaCapabilityComparativeHeaderComponent], imports: [CommonModule, MapaCapabilityIntervalModule], exports: [MapaCapabilityComparativeHeaderComponent] });
|
|
1296
|
-
MapaCapabilityComparativeHeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeHeaderModule, imports: [CommonModule, MapaCapabilityIntervalModule] });
|
|
1297
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeHeaderModule, decorators: [{
|
|
1298
|
-
type: NgModule,
|
|
1299
|
-
args: [{
|
|
1300
|
-
declarations: [MapaCapabilityComparativeHeaderComponent],
|
|
1301
|
-
exports: [MapaCapabilityComparativeHeaderComponent],
|
|
1302
|
-
imports: [CommonModule, MapaCapabilityIntervalModule],
|
|
1303
|
-
}]
|
|
1304
|
-
}] });
|
|
1305
|
-
|
|
1306
|
-
class MapaCapabilityComparativeIndicatorModule {
|
|
1307
|
-
}
|
|
1308
|
-
MapaCapabilityComparativeIndicatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeIndicatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1309
|
-
MapaCapabilityComparativeIndicatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeIndicatorModule, declarations: [MapaCapabilityComparativeIndicatorComponent], imports: [CommonModule, MatIconModule], exports: [MapaCapabilityComparativeIndicatorComponent] });
|
|
1310
|
-
MapaCapabilityComparativeIndicatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeIndicatorModule, imports: [CommonModule, MatIconModule] });
|
|
1311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeIndicatorModule, decorators: [{
|
|
1312
|
-
type: NgModule,
|
|
1313
|
-
args: [{
|
|
1314
|
-
declarations: [MapaCapabilityComparativeIndicatorComponent],
|
|
1315
|
-
exports: [MapaCapabilityComparativeIndicatorComponent],
|
|
1316
|
-
imports: [CommonModule, MatIconModule],
|
|
1317
|
-
}]
|
|
1318
|
-
}] });
|
|
1319
|
-
|
|
1320
|
-
class MapaCapabilityComparativeChartModule {
|
|
1321
|
-
}
|
|
1322
|
-
MapaCapabilityComparativeChartModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1323
|
-
MapaCapabilityComparativeChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeChartModule, declarations: [MapaCapabilityComparativeChartComponent], imports: [CommonModule, MapaCapabilityComparativeIndicatorModule], exports: [MapaCapabilityComparativeChartComponent] });
|
|
1324
|
-
MapaCapabilityComparativeChartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeChartModule, imports: [CommonModule, MapaCapabilityComparativeIndicatorModule] });
|
|
1325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeChartModule, decorators: [{
|
|
1326
|
-
type: NgModule,
|
|
1327
|
-
args: [{
|
|
1328
|
-
declarations: [MapaCapabilityComparativeChartComponent],
|
|
1329
|
-
exports: [MapaCapabilityComparativeChartComponent],
|
|
1330
|
-
imports: [CommonModule, MapaCapabilityComparativeIndicatorModule],
|
|
1331
|
-
}]
|
|
1332
|
-
}] });
|
|
1333
|
-
|
|
1334
|
-
class MapaCapabilityComparativeModule {
|
|
1335
|
-
}
|
|
1336
|
-
MapaCapabilityComparativeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1337
|
-
MapaCapabilityComparativeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeModule, declarations: [MapaCapabilityComparativeComponent], imports: [CommonModule,
|
|
1338
|
-
MapaCapabilityComparativeChartModule,
|
|
1339
|
-
MapaCapabilityComparativeHeaderModule,
|
|
1340
|
-
MapaDropdownModule$1], exports: [MapaCapabilityComparativeComponent] });
|
|
1341
|
-
MapaCapabilityComparativeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeModule, imports: [CommonModule,
|
|
1342
|
-
MapaCapabilityComparativeChartModule,
|
|
1343
|
-
MapaCapabilityComparativeHeaderModule,
|
|
1344
|
-
MapaDropdownModule$1] });
|
|
1345
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityComparativeModule, decorators: [{
|
|
1346
|
-
type: NgModule,
|
|
1347
|
-
args: [{
|
|
1348
|
-
declarations: [MapaCapabilityComparativeComponent],
|
|
1349
|
-
exports: [MapaCapabilityComparativeComponent],
|
|
1350
|
-
imports: [
|
|
1351
|
-
CommonModule,
|
|
1352
|
-
MapaCapabilityComparativeChartModule,
|
|
1353
|
-
MapaCapabilityComparativeHeaderModule,
|
|
1354
|
-
MapaDropdownModule$1
|
|
1355
|
-
],
|
|
1356
|
-
}]
|
|
1357
|
-
}] });
|
|
1358
|
-
|
|
1359
|
-
class MapaCapabilityDetailComponent {
|
|
1360
|
-
constructor(classification) {
|
|
1361
|
-
this.classification = classification;
|
|
1362
|
-
this.expanded = new Set();
|
|
1363
|
-
this.showTagInterval = true;
|
|
1364
|
-
}
|
|
1365
|
-
ngOnInit() {
|
|
1366
|
-
this.syncExpandedState();
|
|
1367
|
-
}
|
|
1368
|
-
ngAfterViewInit() {
|
|
1369
|
-
this.syncExpandedState();
|
|
1370
|
-
}
|
|
1371
|
-
ngOnChanges(changes) {
|
|
1372
|
-
if (changes["data"] || changes["isExpanded"]) {
|
|
1373
|
-
this.syncExpandedState();
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
syncExpandedState() {
|
|
1377
|
-
var _a, _b;
|
|
1378
|
-
if (this.isExpanded) {
|
|
1379
|
-
this.expanded = new Set(this.data.map((_, i) => i));
|
|
1380
|
-
(_a = this.accordion) === null || _a === void 0 ? void 0 : _a.openAll();
|
|
1381
|
-
return;
|
|
1382
|
-
}
|
|
1383
|
-
this.expanded.clear();
|
|
1384
|
-
(_b = this.accordion) === null || _b === void 0 ? void 0 : _b.closeAll();
|
|
1385
|
-
}
|
|
1386
|
-
sortItemsByinterval(items) {
|
|
1387
|
-
return items === null || items === void 0 ? void 0 : items.sort((a, b) => b.interval - a.interval);
|
|
1388
|
-
}
|
|
1389
|
-
showMore(index) {
|
|
1390
|
-
if (this.expanded.has(index)) {
|
|
1391
|
-
this.expanded.delete(index);
|
|
1392
|
-
}
|
|
1393
|
-
else {
|
|
1394
|
-
this.expanded.add(index);
|
|
1395
|
-
}
|
|
1396
|
-
}
|
|
1397
|
-
toggleAll() {
|
|
1398
|
-
if (this.expanded.size === this.data.length) {
|
|
1399
|
-
this.expanded.clear();
|
|
1400
|
-
this.accordion.closeAll();
|
|
1401
|
-
}
|
|
1402
|
-
else {
|
|
1403
|
-
this.expanded = new Set(this.data.map((_, i) => i));
|
|
1404
|
-
this.accordion.openAll();
|
|
1405
|
-
}
|
|
1406
|
-
}
|
|
1407
|
-
createTag(item) {
|
|
1408
|
-
return {
|
|
1409
|
-
bgColor: item.classificationBg || "",
|
|
1410
|
-
fontSize: item.classificationFontSize || "",
|
|
1411
|
-
size: "small",
|
|
1412
|
-
};
|
|
1413
|
-
}
|
|
1414
|
-
isSVG(item) {
|
|
1415
|
-
return !!item.classificationBg && item.classificationBg === "SVG";
|
|
1416
|
-
}
|
|
1417
|
-
}
|
|
1418
|
-
MapaCapabilityDetailComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDetailComponent, deps: [{ token: CapabilityClassificationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1419
|
-
MapaCapabilityDetailComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityDetailComponent, selector: "mapa-capability-detail", inputs: { data: "data", showTags: "showTags", showProgressBar: "showProgressBar", showInterval: "showInterval", isExpanded: "isExpanded" }, viewQueries: [{ propertyName: "accordion", first: true, predicate: ["detailAccordion"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<mat-accordion class=\"capability-detail\" #detailAccordion=\"matAccordion\" multi>\n <mat-expansion-panel *ngFor=\"let capability of data; let i = index\" [expanded]=\"expanded.has(i)\" >\n <mat-expansion-panel-header>\n <div class=\"capability__item--header\">\n <div class=\"capability__item--title-dots\">\n <div class=\"capability__item--title display-L\">\n {{ capability.name }}\n <span class=\"capability__item--title-tag\" *ngIf=\"showTags\">\n <mapa-tag [tag]=\"createTag(capability)\">\n <mapa-capability-dot\n *ngIf=\"capability.classificationColor\"\n [item]=\"capability\"\n [capability]=\"capability\"\n ></mapa-capability-dot>\n {{ capability.classificationName }}\n </mapa-tag>\n </span>\n </div>\n\n <div class=\"capability__item--dots\" *ngIf=\"isSVG(capability)\">\n <mapa-capability-dot\n *ngFor=\"let item of sortItemsByinterval(capability.items)\"\n type=\"small\"\n [item]=\"item\"\n [capability]=\"capability\"\n [tooltip]=\"true\"\n ></mapa-capability-dot>\n </div>\n </div>\n\n <div [class.capability__item--interval]=\"showProgressBar\">\n <mapa-capability-interval-bar\n [data]=\"capability\"\n [expanded]=\"expanded.has(i)\"\n [showInterval]=\"showInterval\"\n (clicked)=\"showMore(i)\"\n reusable-interval-bar\n ></mapa-capability-interval-bar>\n </div>\n </div>\n </mat-expansion-panel-header>\n <mapa-capability-expand [data]=\"capability\"></mapa-capability-expand>\n </mat-expansion-panel>\n</mat-accordion>\n\n<!--\n<section class=\"capability\">\n <div class=\"capability__core\">\n <div\n *ngFor=\"let capability of data; let i = index\"\n class=\"capability__item\"\n >\n <div class=\"capability__item--header\">\n <div class=\"capability__item--title-dots\">\n <div class=\"capability__item--title display-L\">\n {{ capability.name }}\n <span class=\"capability__item--title-tag\" *ngIf=\"showTagInterval\">\n <mapa-tag [tag]=\"createTag()\">\n <mapa-capability-dot\n [item]=\"capability\"\n [capability]=\"capability\"\n ></mapa-capability-dot>\n\n {{ classification.getByItem(capability).name }}\n </mapa-tag>\n </span>\n </div>\n\n <div class=\"capability__item--dots\">\n <mapa-capability-dot\n *ngFor=\"let item of sortItemsByinterval(capability.items)\"\n type=\"small\"\n [item]=\"item\"\n [capability]=\"capability\"\n [tooltip]=\"true\"\n ></mapa-capability-dot>\n </div>\n </div>\n\n <div [class.capability__item--interval]=\"showTagInterval\">\n <mapa-capability-interval-bar\n [data]=\"capability\"\n [expanded]=\"expanded.has(i)\"\n [showInterval]=\"!showTagInterval\"\n (clicked)=\"showMore(i)\"\n reusable-interval-bar\n ></mapa-capability-interval-bar>\n </div>\n </div>\n <div\n [class.capability__item--show]=\"expanded.has(i)\"\n [class.capability__item--hide]=\"!expanded.has(i)\"\n >\n <mapa-capability-expand [data]=\"capability\"></mapa-capability-expand>\n </div>\n </div>\n </div>\n</section>\n-->\n", styles: [".capability-detail .mat-expansion-panel{border-radius:0!important}.capability-detail .mat-expansion-panel-spacing{margin:unset!important}.capability-detail .mat-expansion-panel:last-of-type{border-bottom-right-radius:16px!important;border-bottom-left-radius:16px!important}.capability-detail .mat-expansion-panel:first-of-type{border-top-right-radius:16px!important;border-top-left-radius:16px!important}.capability-detail .mat-expansion-panel-header{height:unset!important;padding:16px 24px!important}.capability{border-radius:16px}.capability h1{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400;line-height:40px}.capability__core{border:1px solid #DCDCDE;border-radius:16px;background-color:#fff}.capability__item{padding:24px;position:relative}.capability__item:hover{box-shadow:0 4px 4px #00000021}.capability__item:not(:only-child){border-bottom:1px solid #dcdcde}.capability__item:first-child{border-radius:16px 16px 0 0}.capability__item:last-child{border-bottom:unset;border-radius:0 0 16px 16px}.capability__item--hide{opacity:0;max-height:0;height:0}.capability__item--hide>*{display:none!important;opacity:0!important;max-height:0!important;height:0!important;margin:0!important;padding:0!important;flex:0}.capability__item--show{opacity:1;max-height:100%;height:100%}.capability__item--header{display:flex;align-items:center;justify-content:space-between;height:75px;width:98%}.capability__item--title{display:flex;align-items:center;white-space:nowrap}.capability__item--title-tag{margin-left:34px}.capability__item--title-dots{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:72px}.capability__item--title-dots .display-L{margin-bottom:10px}.capability__item--dots{display:flex}.capability__item--dots mapa-capability-dot .tooltip-dot{padding:8px 8px 8px 0}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MapaCapabilityDotComponent, selector: "mapa-capability-dot", inputs: ["type", "item", "tooltip", "capability"] }, { kind: "component", type: MapaCapabilityIntervalBarComponent, selector: "mapa-capability-interval-bar", inputs: ["data", "expanded", "showInterval"], outputs: ["clicked"] }, { kind: "component", type: MapaCapabilityExpandComponent, selector: "mapa-capability-expand", inputs: ["data"] }, { kind: "component", type: i3$1.TagComponent, selector: "mapa-tag", inputs: ["tag"] }, { kind: "directive", type: i7$1.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i7$1.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i7$1.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDetailComponent, decorators: [{
|
|
1421
|
-
type: Component,
|
|
1422
|
-
args: [{ selector: "mapa-capability-detail", encapsulation: ViewEncapsulation.None, template: "<mat-accordion class=\"capability-detail\" #detailAccordion=\"matAccordion\" multi>\n <mat-expansion-panel *ngFor=\"let capability of data; let i = index\" [expanded]=\"expanded.has(i)\" >\n <mat-expansion-panel-header>\n <div class=\"capability__item--header\">\n <div class=\"capability__item--title-dots\">\n <div class=\"capability__item--title display-L\">\n {{ capability.name }}\n <span class=\"capability__item--title-tag\" *ngIf=\"showTags\">\n <mapa-tag [tag]=\"createTag(capability)\">\n <mapa-capability-dot\n *ngIf=\"capability.classificationColor\"\n [item]=\"capability\"\n [capability]=\"capability\"\n ></mapa-capability-dot>\n {{ capability.classificationName }}\n </mapa-tag>\n </span>\n </div>\n\n <div class=\"capability__item--dots\" *ngIf=\"isSVG(capability)\">\n <mapa-capability-dot\n *ngFor=\"let item of sortItemsByinterval(capability.items)\"\n type=\"small\"\n [item]=\"item\"\n [capability]=\"capability\"\n [tooltip]=\"true\"\n ></mapa-capability-dot>\n </div>\n </div>\n\n <div [class.capability__item--interval]=\"showProgressBar\">\n <mapa-capability-interval-bar\n [data]=\"capability\"\n [expanded]=\"expanded.has(i)\"\n [showInterval]=\"showInterval\"\n (clicked)=\"showMore(i)\"\n reusable-interval-bar\n ></mapa-capability-interval-bar>\n </div>\n </div>\n </mat-expansion-panel-header>\n <mapa-capability-expand [data]=\"capability\"></mapa-capability-expand>\n </mat-expansion-panel>\n</mat-accordion>\n\n<!--\n<section class=\"capability\">\n <div class=\"capability__core\">\n <div\n *ngFor=\"let capability of data; let i = index\"\n class=\"capability__item\"\n >\n <div class=\"capability__item--header\">\n <div class=\"capability__item--title-dots\">\n <div class=\"capability__item--title display-L\">\n {{ capability.name }}\n <span class=\"capability__item--title-tag\" *ngIf=\"showTagInterval\">\n <mapa-tag [tag]=\"createTag()\">\n <mapa-capability-dot\n [item]=\"capability\"\n [capability]=\"capability\"\n ></mapa-capability-dot>\n\n {{ classification.getByItem(capability).name }}\n </mapa-tag>\n </span>\n </div>\n\n <div class=\"capability__item--dots\">\n <mapa-capability-dot\n *ngFor=\"let item of sortItemsByinterval(capability.items)\"\n type=\"small\"\n [item]=\"item\"\n [capability]=\"capability\"\n [tooltip]=\"true\"\n ></mapa-capability-dot>\n </div>\n </div>\n\n <div [class.capability__item--interval]=\"showTagInterval\">\n <mapa-capability-interval-bar\n [data]=\"capability\"\n [expanded]=\"expanded.has(i)\"\n [showInterval]=\"!showTagInterval\"\n (clicked)=\"showMore(i)\"\n reusable-interval-bar\n ></mapa-capability-interval-bar>\n </div>\n </div>\n <div\n [class.capability__item--show]=\"expanded.has(i)\"\n [class.capability__item--hide]=\"!expanded.has(i)\"\n >\n <mapa-capability-expand [data]=\"capability\"></mapa-capability-expand>\n </div>\n </div>\n </div>\n</section>\n-->\n", styles: [".capability-detail .mat-expansion-panel{border-radius:0!important}.capability-detail .mat-expansion-panel-spacing{margin:unset!important}.capability-detail .mat-expansion-panel:last-of-type{border-bottom-right-radius:16px!important;border-bottom-left-radius:16px!important}.capability-detail .mat-expansion-panel:first-of-type{border-top-right-radius:16px!important;border-top-left-radius:16px!important}.capability-detail .mat-expansion-panel-header{height:unset!important;padding:16px 24px!important}.capability{border-radius:16px}.capability h1{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400;line-height:40px}.capability__core{border:1px solid #DCDCDE;border-radius:16px;background-color:#fff}.capability__item{padding:24px;position:relative}.capability__item:hover{box-shadow:0 4px 4px #00000021}.capability__item:not(:only-child){border-bottom:1px solid #dcdcde}.capability__item:first-child{border-radius:16px 16px 0 0}.capability__item:last-child{border-bottom:unset;border-radius:0 0 16px 16px}.capability__item--hide{opacity:0;max-height:0;height:0}.capability__item--hide>*{display:none!important;opacity:0!important;max-height:0!important;height:0!important;margin:0!important;padding:0!important;flex:0}.capability__item--show{opacity:1;max-height:100%;height:100%}.capability__item--header{display:flex;align-items:center;justify-content:space-between;height:75px;width:98%}.capability__item--title{display:flex;align-items:center;white-space:nowrap}.capability__item--title-tag{margin-left:34px}.capability__item--title-dots{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:72px}.capability__item--title-dots .display-L{margin-bottom:10px}.capability__item--dots{display:flex}.capability__item--dots mapa-capability-dot .tooltip-dot{padding:8px 8px 8px 0}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
|
|
1423
|
-
}], ctorParameters: function () { return [{ type: CapabilityClassificationService }]; }, propDecorators: { data: [{
|
|
1424
|
-
type: Input
|
|
1425
|
-
}], showTags: [{
|
|
1426
|
-
type: Input
|
|
1427
|
-
}], showProgressBar: [{
|
|
1428
|
-
type: Input
|
|
1429
|
-
}], showInterval: [{
|
|
1430
|
-
type: Input
|
|
1431
|
-
}], isExpanded: [{
|
|
1432
|
-
type: Input
|
|
1433
|
-
}], accordion: [{
|
|
1434
|
-
type: ViewChild,
|
|
1435
|
-
args: ["detailAccordion"]
|
|
1436
|
-
}] } });
|
|
1437
|
-
|
|
1438
|
-
class ReusableCapabilityIntervalBarService {
|
|
1439
|
-
constructor(componentFactoryResolver, injector, router) {
|
|
1440
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
|
1441
|
-
this.router = router;
|
|
1442
|
-
this.onDestroy$ = new Subject();
|
|
1443
|
-
const componentFactory = this.componentFactoryResolver.resolveComponentFactory(MapaCapabilityIntervalBarComponent);
|
|
1444
|
-
this.componentRef = componentFactory.create(injector);
|
|
1445
|
-
this.router.events
|
|
1446
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
1447
|
-
.subscribe((event) => {
|
|
1448
|
-
if (event instanceof NavigationStart && this.currentViewContainerRef) {
|
|
1449
|
-
this.detach(this.currentViewContainerRef);
|
|
1450
|
-
}
|
|
1451
|
-
});
|
|
1452
|
-
}
|
|
1453
|
-
ngOnDestroy() {
|
|
1454
|
-
this.onDestroy$.next();
|
|
1455
|
-
this.onDestroy$.complete();
|
|
1456
|
-
}
|
|
1457
|
-
attach(viewContainerRef) {
|
|
1458
|
-
this.currentViewContainerRef = viewContainerRef;
|
|
1459
|
-
viewContainerRef.insert(this.componentRef.hostView);
|
|
1460
|
-
}
|
|
1461
|
-
detach(viewContainerRef) {
|
|
1462
|
-
viewContainerRef.detach(viewContainerRef.indexOf(this.componentRef.hostView));
|
|
1463
|
-
}
|
|
1464
|
-
}
|
|
1465
|
-
ReusableCapabilityIntervalBarService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ReusableCapabilityIntervalBarService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1466
|
-
ReusableCapabilityIntervalBarService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ReusableCapabilityIntervalBarService });
|
|
1467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ReusableCapabilityIntervalBarService, decorators: [{
|
|
1468
|
-
type: Injectable
|
|
1469
|
-
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: i1$2.Router }]; } });
|
|
1470
|
-
|
|
1471
|
-
class MapaCapabilityDetailModule {
|
|
1472
|
-
}
|
|
1473
|
-
MapaCapabilityDetailModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDetailModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1474
|
-
MapaCapabilityDetailModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDetailModule, declarations: [MapaCapabilityDetailComponent], imports: [CommonModule,
|
|
1475
|
-
MapaCapabilityDotModule,
|
|
1476
|
-
MapaCapabilityIndicatorModule,
|
|
1477
|
-
MapaCapabilityIntervalModule,
|
|
1478
|
-
MapaCapabilityIntervalBarModule,
|
|
1479
|
-
MapaCapabilityExpandModule,
|
|
1480
|
-
MapaTagModule$1,
|
|
1481
|
-
MapaButtonModule$1,
|
|
1482
|
-
MatIconModule,
|
|
1483
|
-
MatExpansionModule], exports: [MapaCapabilityDetailComponent] });
|
|
1484
|
-
MapaCapabilityDetailModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDetailModule, providers: [
|
|
1485
|
-
ReusableCapabilityIntervalBarService,
|
|
1486
|
-
], imports: [CommonModule,
|
|
1487
|
-
MapaCapabilityDotModule,
|
|
1488
|
-
MapaCapabilityIndicatorModule,
|
|
1489
|
-
MapaCapabilityIntervalModule,
|
|
1490
|
-
MapaCapabilityIntervalBarModule,
|
|
1491
|
-
MapaCapabilityExpandModule,
|
|
1492
|
-
MapaTagModule$1,
|
|
1493
|
-
MapaButtonModule$1,
|
|
1494
|
-
MatIconModule,
|
|
1495
|
-
MatExpansionModule] });
|
|
1496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityDetailModule, decorators: [{
|
|
1497
|
-
type: NgModule,
|
|
1498
|
-
args: [{
|
|
1499
|
-
declarations: [
|
|
1500
|
-
MapaCapabilityDetailComponent,
|
|
1501
|
-
],
|
|
1502
|
-
exports: [MapaCapabilityDetailComponent],
|
|
1503
|
-
imports: [
|
|
1504
|
-
CommonModule,
|
|
1505
|
-
MapaCapabilityDotModule,
|
|
1506
|
-
MapaCapabilityIndicatorModule,
|
|
1507
|
-
MapaCapabilityIntervalModule,
|
|
1508
|
-
MapaCapabilityIntervalBarModule,
|
|
1509
|
-
MapaCapabilityExpandModule,
|
|
1510
|
-
MapaTagModule$1,
|
|
1511
|
-
MapaButtonModule$1,
|
|
1512
|
-
MatIconModule,
|
|
1513
|
-
MatExpansionModule
|
|
1514
|
-
],
|
|
1515
|
-
providers: [
|
|
1516
|
-
ReusableCapabilityIntervalBarService,
|
|
1517
|
-
],
|
|
1518
|
-
}]
|
|
1519
|
-
}] });
|
|
1520
|
-
|
|
1521
|
-
class MapaCapabilityIndicatorListComponent {
|
|
1522
|
-
constructor(i18n) {
|
|
1523
|
-
this.i18n = i18n;
|
|
1524
|
-
this.dataPositive = [];
|
|
1525
|
-
this.dataNegative = [];
|
|
1526
|
-
this.dataRiskPrecipitation = [];
|
|
1527
|
-
this.dataRiskNegligence = [];
|
|
1528
|
-
this.texts = this.i18n.texts;
|
|
1529
|
-
this.onDestroy$ = new Subject();
|
|
1530
|
-
this.i18n.texts$
|
|
1531
|
-
.pipe(takeUntil(this.onDestroy$))
|
|
1532
|
-
.subscribe((texts) => (this.texts = texts));
|
|
1533
|
-
}
|
|
1534
|
-
get positiveIndicatorsTitle() {
|
|
1535
|
-
return this.texts.capability.positiveIndicatorsTitle;
|
|
1536
|
-
}
|
|
1537
|
-
get negativeIndicatorsTitle() {
|
|
1538
|
-
return this.texts.capability.negativeIndicatorsTitle;
|
|
1539
|
-
}
|
|
1540
|
-
get riskIndicatorsTitle() {
|
|
1541
|
-
return this.texts.capability.riskIndicatorsTitle;
|
|
1542
|
-
}
|
|
1543
|
-
get precipitationRiskTitle() {
|
|
1544
|
-
return this.texts.capability.precipitationRiskTitle;
|
|
1545
|
-
}
|
|
1546
|
-
get negligenceRiskTitle() {
|
|
1547
|
-
return this.texts.capability.negligenceRiskTitle;
|
|
1548
|
-
}
|
|
1549
|
-
ngOnInit() {
|
|
1550
|
-
this.buildIndicatorGroups();
|
|
1551
|
-
}
|
|
1552
|
-
ngOnChanges(changes) {
|
|
1553
|
-
if (changes["data"]) {
|
|
1554
|
-
this.buildIndicatorGroups();
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
buildIndicatorGroups() {
|
|
1558
|
-
this.dataPositive = this.data.filter((item) => item.direction === "Positiva" && !item.risk);
|
|
1559
|
-
this.dataNegative = this.data.filter((item) => item.direction === "Negativa" && !item.risk);
|
|
1560
|
-
this.dataRiskPrecipitation = this.data.filter((item) => item.risk === true && item.precipitation === true);
|
|
1561
|
-
this.dataRiskNegligence = this.data.filter((item) => item.risk === true && item.negligence === true);
|
|
1562
|
-
}
|
|
1563
|
-
ngOnDestroy() {
|
|
1564
|
-
this.onDestroy$.next();
|
|
1565
|
-
this.onDestroy$.complete();
|
|
1566
|
-
}
|
|
1567
|
-
}
|
|
1568
|
-
MapaCapabilityIndicatorListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorListComponent, deps: [{ token: MapaI18nService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1569
|
-
MapaCapabilityIndicatorListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityIndicatorListComponent, selector: "mapa-capability-indicator-list", inputs: { data: "data" }, usesOnChanges: true, ngImport: i0, template: "<section class=\"indicator-list\">\n <article class=\"indicator-list__column\">\n <h2>{{ positiveIndicatorsTitle }}</h2>\n <mapa-capability-indicator *ngFor=\"let item of dataPositive\" [item]=\"item\">\n </mapa-capability-indicator>\n </article>\n <article class=\"indicator-list__column\">\n <h2>{{ negativeIndicatorsTitle }}</h2>\n <mapa-capability-indicator *ngFor=\"let item of dataNegative\" [item]=\"item\">\n </mapa-capability-indicator>\n </article>\n <article\n class=\"indicator-list__column\"\n *ngIf=\"dataRiskPrecipitation.length > 0 || dataRiskNegligence.length > 0\"\n >\n <h2>{{ riskIndicatorsTitle }}</h2>\n <div *ngIf=\"dataRiskPrecipitation.length > 0\">\n <h3>{{ precipitationRiskTitle }}</h3>\n <mapa-capability-indicator\n *ngFor=\"let item of dataRiskPrecipitation\"\n [item]=\"item\"\n >\n </mapa-capability-indicator>\n </div>\n <div *ngIf=\"dataRiskNegligence.length > 0\">\n <h3>{{ negligenceRiskTitle }}</h3>\n <mapa-capability-indicator\n *ngFor=\"let item of dataRiskNegligence\"\n [item]=\"item\"\n >\n </mapa-capability-indicator>\n </div>\n </article>\n</section>\n\n", styles: [".indicator-list{display:flex;gap:42px;justify-content:space-between;margin-bottom:42px}.indicator-list__column{width:33%}.indicator-list__column h2{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:24px;font-style:normal;font-weight:400;line-height:32px;margin-bottom:24px}.indicator-list__column h3{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400;line-height:32px;margin-bottom:24px}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MapaCapabilityIndicatorComponent, selector: "mapa-capability-indicator", inputs: ["item"] }] });
|
|
1570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorListComponent, decorators: [{
|
|
1571
|
-
type: Component,
|
|
1572
|
-
args: [{ selector: "mapa-capability-indicator-list", template: "<section class=\"indicator-list\">\n <article class=\"indicator-list__column\">\n <h2>{{ positiveIndicatorsTitle }}</h2>\n <mapa-capability-indicator *ngFor=\"let item of dataPositive\" [item]=\"item\">\n </mapa-capability-indicator>\n </article>\n <article class=\"indicator-list__column\">\n <h2>{{ negativeIndicatorsTitle }}</h2>\n <mapa-capability-indicator *ngFor=\"let item of dataNegative\" [item]=\"item\">\n </mapa-capability-indicator>\n </article>\n <article\n class=\"indicator-list__column\"\n *ngIf=\"dataRiskPrecipitation.length > 0 || dataRiskNegligence.length > 0\"\n >\n <h2>{{ riskIndicatorsTitle }}</h2>\n <div *ngIf=\"dataRiskPrecipitation.length > 0\">\n <h3>{{ precipitationRiskTitle }}</h3>\n <mapa-capability-indicator\n *ngFor=\"let item of dataRiskPrecipitation\"\n [item]=\"item\"\n >\n </mapa-capability-indicator>\n </div>\n <div *ngIf=\"dataRiskNegligence.length > 0\">\n <h3>{{ negligenceRiskTitle }}</h3>\n <mapa-capability-indicator\n *ngFor=\"let item of dataRiskNegligence\"\n [item]=\"item\"\n >\n </mapa-capability-indicator>\n </div>\n </article>\n</section>\n\n", styles: [".indicator-list{display:flex;gap:42px;justify-content:space-between;margin-bottom:42px}.indicator-list__column{width:33%}.indicator-list__column h2{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:24px;font-style:normal;font-weight:400;line-height:32px;margin-bottom:24px}.indicator-list__column h3{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400;line-height:32px;margin-bottom:24px}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
|
|
1573
|
-
}], ctorParameters: function () { return [{ type: MapaI18nService }]; }, propDecorators: { data: [{
|
|
1574
|
-
type: Input
|
|
1575
|
-
}] } });
|
|
1576
|
-
|
|
1577
|
-
class MapaCapabilityIndicatorListModule {
|
|
1578
|
-
}
|
|
1579
|
-
MapaCapabilityIndicatorListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1580
|
-
MapaCapabilityIndicatorListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorListModule, declarations: [MapaCapabilityIndicatorListComponent], imports: [CommonModule, MapaCapabilityIndicatorModule], exports: [MapaCapabilityIndicatorListComponent] });
|
|
1581
|
-
MapaCapabilityIndicatorListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorListModule, providers: [CapabilityClassificationService], imports: [CommonModule, MapaCapabilityIndicatorModule] });
|
|
1582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorListModule, decorators: [{
|
|
1583
|
-
type: NgModule,
|
|
1584
|
-
args: [{
|
|
1585
|
-
declarations: [MapaCapabilityIndicatorListComponent],
|
|
1586
|
-
exports: [MapaCapabilityIndicatorListComponent],
|
|
1587
|
-
imports: [CommonModule, MapaCapabilityIndicatorModule],
|
|
1588
|
-
providers: [CapabilityClassificationService],
|
|
1589
|
-
}]
|
|
1590
|
-
}] });
|
|
1591
|
-
|
|
1592
|
-
class MapaCapabilityIndicatorChartComponent {
|
|
1593
|
-
constructor(classification) {
|
|
1594
|
-
this.classification = classification;
|
|
1595
|
-
}
|
|
1596
|
-
setUnlabeledItem(item) {
|
|
1597
|
-
return {
|
|
1598
|
-
classificationId: item.classificationId,
|
|
1599
|
-
classificationColor: item.classificationColor,
|
|
1600
|
-
interval: item.interval,
|
|
1601
|
-
};
|
|
1602
|
-
}
|
|
1603
|
-
getWidth(item) {
|
|
1604
|
-
const minWidth = 42;
|
|
1605
|
-
const interval = (item.interval || 0);
|
|
1606
|
-
if (interval < 10)
|
|
1607
|
-
return minWidth + 'px';
|
|
1608
|
-
return interval + '%';
|
|
1609
|
-
}
|
|
1610
|
-
}
|
|
1611
|
-
MapaCapabilityIndicatorChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorChartComponent, deps: [{ token: CapabilityClassificationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1612
|
-
MapaCapabilityIndicatorChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MapaCapabilityIndicatorChartComponent, selector: "mapa-capability-indicator-chart", inputs: { data: "data" }, ngImport: i0, template: "<table class=\"indicator-chart\">\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--left\">\n <div\n class=\"indicator-chart__column--negative\"\n *ngIf=\"item.direction === 'Negativa'\"\n >\n <mapa-capability-indicator\n [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"\n ></mapa-capability-indicator>\n </div>\n </td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div\n class=\"indicator-chart__column--positive\"\n *ngIf=\"item.direction === 'Positiva'\"\n >\n <mapa-capability-indicator\n [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"\n ></mapa-capability-indicator>\n </div>\n </td>\n </tr>\n</table>\n", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MapaCapabilityIndicatorComponent, selector: "mapa-capability-indicator", inputs: ["item"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
1613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorChartComponent, decorators: [{
|
|
1614
|
-
type: Component,
|
|
1615
|
-
args: [{ selector: "mapa-capability-indicator-chart", encapsulation: ViewEncapsulation.None, template: "<table class=\"indicator-chart\">\n <tr *ngFor=\"let item of data\">\n <td class=\"indicator-chart__column--description\">{{ item.name }}</td>\n <td class=\"indicator-chart__column indicator-chart__column--left\">\n <div\n class=\"indicator-chart__column--negative\"\n *ngIf=\"item.direction === 'Negativa'\"\n >\n <mapa-capability-indicator\n [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"\n ></mapa-capability-indicator>\n </div>\n </td>\n <td class=\"indicator-chart__column indicator-chart__column--right\">\n <div\n class=\"indicator-chart__column--positive\"\n *ngIf=\"item.direction === 'Positiva'\"\n >\n <mapa-capability-indicator\n [item]=\"setUnlabeledItem(item)\"\n [style.width]=\"getWidth(item)\"\n ></mapa-capability-indicator>\n </div>\n </td>\n </tr>\n</table>\n", styles: [".indicator-chart{width:100%;border-collapse:collapse}.indicator-chart tr:first-child{border-top:unset!important}.indicator-chart tr:last-child{border-bottom:unset!important}.indicator-chart__column{padding:0;font-size:14px!important}.indicator-chart__column--description{padding-right:24px;width:20%!important}.indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}.indicator-chart__column--positive .indicator__classification{margin-right:1px!important}.indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}.indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}.indicator-chart__column--negative .indicator__classification{margin-left:1px!important}.indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}.indicator-chart__column--right{border-bottom:1px solid #dcdcde;border-left:1px solid #dcdcde;width:40%}\n", ".classification-1{background-color:#073e92;color:#fff}.classification-2{background-color:#0e6ece;color:#fff}.classification-3{background-color:#2d9ced;color:#000}.classification-4{background-color:#68ceee;color:#000}.classification-5{background-color:#96f2ee;color:#000}.classification-6{background-color:#f598a7;color:#000}.classification-7{background-color:#f56580;color:#000}.classification-8{background-color:#f4284e;color:#fff}.classification-9{background-color:#c11c2f;color:#fff}.small-dot{width:12px;height:12px;border-radius:12px;padding:0;margin:0}.dot{width:16px;height:16px;border-radius:16px;padding:0;margin:0}.indicator{display:flex;padding:2px 4px 2px 16px;justify-content:space-between;align-items:center;border-radius:8px;font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:400}.display-S{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:20px;font-style:normal;font-weight:400}.display-L{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400}.display-XG{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:48px;font-style:normal;font-weight:400}*{transition:opacity .4s ease-out,max-height .4s ease-out}\n"] }]
|
|
1616
|
-
}], ctorParameters: function () { return [{ type: CapabilityClassificationService }]; }, propDecorators: { data: [{
|
|
1617
|
-
type: Input
|
|
1618
|
-
}] } });
|
|
1619
|
-
|
|
1620
|
-
class MapaCapabilityIndicatorChartModule {
|
|
1621
|
-
}
|
|
1622
|
-
MapaCapabilityIndicatorChartModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1623
|
-
MapaCapabilityIndicatorChartModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorChartModule, declarations: [MapaCapabilityIndicatorChartComponent], imports: [CommonModule, MapaCapabilityIndicatorModule], exports: [MapaCapabilityIndicatorChartComponent] });
|
|
1624
|
-
MapaCapabilityIndicatorChartModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorChartModule, providers: [CapabilityClassificationService], imports: [CommonModule, MapaCapabilityIndicatorModule] });
|
|
1625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MapaCapabilityIndicatorChartModule, decorators: [{
|
|
1626
|
-
type: NgModule,
|
|
1627
|
-
args: [{
|
|
1628
|
-
declarations: [MapaCapabilityIndicatorChartComponent],
|
|
1629
|
-
exports: [MapaCapabilityIndicatorChartComponent],
|
|
1630
|
-
imports: [CommonModule, MapaCapabilityIndicatorModule],
|
|
1631
|
-
providers: [CapabilityClassificationService],
|
|
1632
|
-
}]
|
|
1633
|
-
}] });
|
|
1634
|
-
|
|
1635
|
-
/*
|
|
1636
|
-
* Public API Surface of mapa-library-ui capability-detail
|
|
1637
|
-
*/
|
|
1638
|
-
|
|
1639
|
-
/*
|
|
1640
|
-
* Public API Surface of mapa-library-ui capability
|
|
1641
|
-
*/
|
|
1642
|
-
|
|
1643
|
-
/**
|
|
1644
|
-
* Generated bundle index. Do not edit.
|
|
1645
|
-
*/
|
|
1646
|
-
|
|
1647
|
-
export { ButtonComponent, CapabilityClassificationService, IconComponent, MapaButtonModule, MapaCapabilityComparativeChartComponent, MapaCapabilityComparativeChartModule, MapaCapabilityComparativeComponent, MapaCapabilityComparativeHeaderComponent, MapaCapabilityComparativeHeaderModule, MapaCapabilityComparativeModule, MapaCapabilityDetailComponent, MapaCapabilityDetailModule, MapaCapabilityDotComponent, MapaCapabilityDotModule, MapaCapabilityExpandComponent, MapaCapabilityExpandModule, MapaCapabilityIndicatorChartComponent, MapaCapabilityIndicatorChartModule, MapaCapabilityIndicatorComponent, MapaCapabilityIndicatorListComponent, MapaCapabilityIndicatorListModule, MapaCapabilityIndicatorModule, MapaCapabilityIntervalBarComponent, MapaCapabilityIntervalBarModule, MapaCapabilityIntervalComponent, MapaCapabilityIntervalModule, MapaDropdownComponent, MapaDropdownModule, MapaIconModule, MapaTooltipComponent, MapaTooltipDirective, MapaTooltipModule };
|
|
1648
|
-
//# sourceMappingURL=mapa-library-ui-src-lib-components-capability.mjs.map
|