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
|
@@ -0,0 +1,1312 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Output, Input, Component, InjectionToken, inject, Injector, signal, Optional, Inject, Injectable, SecurityContext, Pipe, DestroyRef, ViewChild, ChangeDetectionStrategy, EnvironmentInjector, createComponent, HostListener, Directive } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { toObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
6
|
+
import * as i3 from '@angular/forms';
|
|
7
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
+
import * as i4 from '@angular/material/checkbox';
|
|
9
|
+
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
10
|
+
import * as i5 from '@angular/material/form-field';
|
|
11
|
+
import { MatFormFieldModule, MAT_FORM_FIELD_DEFAULT_OPTIONS } from '@angular/material/form-field';
|
|
12
|
+
import * as i1$2 from '@angular/material/icon';
|
|
13
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
14
|
+
import * as i7 from '@angular/material/select';
|
|
15
|
+
import { MatSelectModule, MAT_SELECT_CONFIG } from '@angular/material/select';
|
|
16
|
+
import * as i8 from 'ngx-mat-select-search';
|
|
17
|
+
import { NgxMatSelectSearchModule } from 'ngx-mat-select-search';
|
|
18
|
+
import { ReplaySubject } from 'rxjs';
|
|
19
|
+
import * as i1$1 from '@angular/platform-browser';
|
|
20
|
+
import { Md5 } from 'ts-md5';
|
|
21
|
+
import * as i2 from '@angular/material/expansion';
|
|
22
|
+
import { MatExpansionModule } from '@angular/material/expansion';
|
|
23
|
+
|
|
24
|
+
class ButtonComponent {
|
|
25
|
+
constructor() {
|
|
26
|
+
this.clicked = new EventEmitter();
|
|
27
|
+
}
|
|
28
|
+
onClick() {
|
|
29
|
+
this.clicked.emit();
|
|
30
|
+
}
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: ButtonComponent, isStandalone: true, 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"] }); }
|
|
33
|
+
}
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
35
|
+
type: Component,
|
|
36
|
+
args: [{ selector: 'mapa-button', standalone: true, 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"] }]
|
|
37
|
+
}], propDecorators: { color: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], disabled: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], clicked: [{
|
|
42
|
+
type: Output
|
|
43
|
+
}] } });
|
|
44
|
+
|
|
45
|
+
/*
|
|
46
|
+
* Public API Surface of mapa-library-ui button
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
const MAPA_UI_TEXTS = new InjectionToken("MAPA_UI_TEXTS");
|
|
50
|
+
const MAPA_UI_DEFAULT_TEXTS = {
|
|
51
|
+
common: {
|
|
52
|
+
selectAll: "Selecionar todos",
|
|
53
|
+
},
|
|
54
|
+
filters: {
|
|
55
|
+
clear: "Limpar filtros",
|
|
56
|
+
submit: "Filtrar",
|
|
57
|
+
},
|
|
58
|
+
datepicker: {
|
|
59
|
+
startDatePlaceholder: "Data inicial",
|
|
60
|
+
endDatePlaceholder: "Data final",
|
|
61
|
+
},
|
|
62
|
+
capability: {
|
|
63
|
+
groupAverageTitle: "Média geral do grupo",
|
|
64
|
+
individualAverageTitle: "Média geral do indivíduo",
|
|
65
|
+
conceptTitle: "Conceito",
|
|
66
|
+
resultTitle: "Resultado",
|
|
67
|
+
positiveIndicatorsTitle: "Indicadores positivos",
|
|
68
|
+
negativeIndicatorsTitle: "Indicadores negativos",
|
|
69
|
+
riskIndicatorsTitle: "Indicadores de risco",
|
|
70
|
+
precipitationRiskTitle: "Risco de acidente por precipitação",
|
|
71
|
+
negligenceRiskTitle: "Risco de acidente por negligência",
|
|
72
|
+
negativeDirectionLabel: "Direção Negativa |",
|
|
73
|
+
positiveDirectionLabel: "Direção Positiva |",
|
|
74
|
+
},
|
|
75
|
+
paginator: {
|
|
76
|
+
itemsPerPage: "Itens por página",
|
|
77
|
+
nextPage: "Próxima página",
|
|
78
|
+
previousPage: "Página anterior",
|
|
79
|
+
rangeLabel: (page, pageSize, length) => {
|
|
80
|
+
if (length === 0 || pageSize === 0) {
|
|
81
|
+
return `0 de ${length}`;
|
|
82
|
+
}
|
|
83
|
+
const startIndex = page * pageSize;
|
|
84
|
+
const endIndex = startIndex < length
|
|
85
|
+
? Math.min(startIndex + pageSize, length)
|
|
86
|
+
: startIndex + pageSize;
|
|
87
|
+
return `${startIndex + 1} - ${endIndex} de ${length}`;
|
|
88
|
+
},
|
|
89
|
+
showingRangeLabel: (page, pageSize, length) => {
|
|
90
|
+
if (length === 0) {
|
|
91
|
+
return "Mostrando 0 - 0 de 0 item";
|
|
92
|
+
}
|
|
93
|
+
const startIndex = page * pageSize;
|
|
94
|
+
const endIndex = startIndex < length
|
|
95
|
+
? Math.min(startIndex + pageSize, length)
|
|
96
|
+
: startIndex + pageSize;
|
|
97
|
+
const itemLabel = length === 1 ? "item" : "itens";
|
|
98
|
+
return `Mostrando ${startIndex + 1} - ${endIndex} de ${length} ${itemLabel}`;
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
validation: {
|
|
102
|
+
cnpj: "CNPJ inválido",
|
|
103
|
+
cpf: "CPF inválido",
|
|
104
|
+
email: "E-mail inválido",
|
|
105
|
+
max: (context) => `O valor máximo permitido é ${context?.max ?? ""}`.trim(),
|
|
106
|
+
maxLength: (context) => `O máximo permitido é ${context?.requiredLength ?? ""} caracteres`.trim(),
|
|
107
|
+
min: (context) => `O valor minimo permitido é ${context?.min ?? ""}`.trim(),
|
|
108
|
+
minLength: (context) => `O mínimo permitido é ${context?.requiredLength ?? ""} caracteres`.trim(),
|
|
109
|
+
pattern: "Formato inválido",
|
|
110
|
+
required: "Campo obrigatório",
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
function mergeMapaUiTexts(customTexts) {
|
|
114
|
+
return {
|
|
115
|
+
common: {
|
|
116
|
+
...MAPA_UI_DEFAULT_TEXTS.common,
|
|
117
|
+
...(customTexts?.common ?? {}),
|
|
118
|
+
},
|
|
119
|
+
filters: {
|
|
120
|
+
...MAPA_UI_DEFAULT_TEXTS.filters,
|
|
121
|
+
...(customTexts?.filters ?? {}),
|
|
122
|
+
},
|
|
123
|
+
datepicker: {
|
|
124
|
+
...MAPA_UI_DEFAULT_TEXTS.datepicker,
|
|
125
|
+
...(customTexts?.datepicker ?? {}),
|
|
126
|
+
},
|
|
127
|
+
capability: {
|
|
128
|
+
...MAPA_UI_DEFAULT_TEXTS.capability,
|
|
129
|
+
...(customTexts?.capability ?? {}),
|
|
130
|
+
},
|
|
131
|
+
paginator: {
|
|
132
|
+
...MAPA_UI_DEFAULT_TEXTS.paginator,
|
|
133
|
+
...(customTexts?.paginator ?? {}),
|
|
134
|
+
},
|
|
135
|
+
validation: {
|
|
136
|
+
...MAPA_UI_DEFAULT_TEXTS.validation,
|
|
137
|
+
...(customTexts?.validation ?? {}),
|
|
138
|
+
},
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
function provideMapaUiTexts(texts) {
|
|
142
|
+
return {
|
|
143
|
+
provide: MAPA_UI_TEXTS,
|
|
144
|
+
useValue: texts,
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
class MapaI18nService {
|
|
149
|
+
constructor(customTexts) {
|
|
150
|
+
this.injector = inject(Injector);
|
|
151
|
+
this.textsState = signal(mergeMapaUiTexts(), ...(ngDevMode ? [{ debugName: "textsState" }] : []));
|
|
152
|
+
this.textsSignal = this.textsState.asReadonly();
|
|
153
|
+
this.texts$ = toObservable(this.textsSignal, { injector: this.injector });
|
|
154
|
+
if (customTexts) {
|
|
155
|
+
this.textsState.set(mergeMapaUiTexts(customTexts));
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
get texts() {
|
|
159
|
+
return this.textsState();
|
|
160
|
+
}
|
|
161
|
+
setTexts(texts) {
|
|
162
|
+
this.textsState.set(mergeMapaUiTexts(texts));
|
|
163
|
+
}
|
|
164
|
+
resolveValidationText(key, context) {
|
|
165
|
+
return this.resolveText(this.texts.validation[key], context);
|
|
166
|
+
}
|
|
167
|
+
resolveText(value, context) {
|
|
168
|
+
return typeof value === "function" ? value(context) : value;
|
|
169
|
+
}
|
|
170
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaI18nService, deps: [{ token: MAPA_UI_TEXTS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
171
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaI18nService, providedIn: "root" }); }
|
|
172
|
+
}
|
|
173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaI18nService, decorators: [{
|
|
174
|
+
type: Injectable,
|
|
175
|
+
args: [{
|
|
176
|
+
providedIn: "root",
|
|
177
|
+
}]
|
|
178
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
179
|
+
type: Optional
|
|
180
|
+
}, {
|
|
181
|
+
type: Inject,
|
|
182
|
+
args: [MAPA_UI_TEXTS]
|
|
183
|
+
}] }] });
|
|
184
|
+
|
|
185
|
+
class ValidationMessageResolverService {
|
|
186
|
+
constructor(i18n) {
|
|
187
|
+
this.i18n = i18n;
|
|
188
|
+
this.errorOrder = [
|
|
189
|
+
"required",
|
|
190
|
+
"minlength",
|
|
191
|
+
"maxlength",
|
|
192
|
+
"cpf",
|
|
193
|
+
"cnpj",
|
|
194
|
+
"email",
|
|
195
|
+
"pattern",
|
|
196
|
+
"min",
|
|
197
|
+
"max",
|
|
198
|
+
];
|
|
199
|
+
}
|
|
200
|
+
resolveFirstError(control, errors) {
|
|
201
|
+
const validationErrors = control?.errors;
|
|
202
|
+
if (!validationErrors) {
|
|
203
|
+
return null;
|
|
204
|
+
}
|
|
205
|
+
const firstErrorKey = this.errorOrder.find((key) => control?.hasError(key));
|
|
206
|
+
if (!firstErrorKey) {
|
|
207
|
+
return null;
|
|
208
|
+
}
|
|
209
|
+
return this.resolveErrorMessage(firstErrorKey, validationErrors, errors);
|
|
210
|
+
}
|
|
211
|
+
resolveErrorMessage(errorKey, validationErrors, errors) {
|
|
212
|
+
const errorOverrides = errors;
|
|
213
|
+
const customMessage = this.getCustomMessage(errorKey, errorOverrides);
|
|
214
|
+
if (customMessage) {
|
|
215
|
+
return customMessage;
|
|
216
|
+
}
|
|
217
|
+
const errorValue = validationErrors[errorKey];
|
|
218
|
+
switch (errorKey) {
|
|
219
|
+
case "minlength":
|
|
220
|
+
return this.i18n.resolveValidationText("minLength", errorValue);
|
|
221
|
+
case "maxlength":
|
|
222
|
+
return this.i18n.resolveValidationText("maxLength", errorValue);
|
|
223
|
+
case "min":
|
|
224
|
+
return this.i18n.resolveValidationText("min", errorValue);
|
|
225
|
+
case "max":
|
|
226
|
+
return this.i18n.resolveValidationText("max", errorValue);
|
|
227
|
+
default:
|
|
228
|
+
return this.i18n.resolveValidationText(errorKey);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
getCustomMessage(errorKey, errors) {
|
|
232
|
+
if (!errors) {
|
|
233
|
+
return undefined;
|
|
234
|
+
}
|
|
235
|
+
switch (errorKey) {
|
|
236
|
+
case "minlength":
|
|
237
|
+
return errors.minLength ?? errors.minlength;
|
|
238
|
+
case "maxlength":
|
|
239
|
+
return errors.maxLength ?? errors.maxlength;
|
|
240
|
+
default:
|
|
241
|
+
return errors[errorKey];
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ValidationMessageResolverService, deps: [{ token: MapaI18nService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
245
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ValidationMessageResolverService, providedIn: "root" }); }
|
|
246
|
+
}
|
|
247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ValidationMessageResolverService, decorators: [{
|
|
248
|
+
type: Injectable,
|
|
249
|
+
args: [{
|
|
250
|
+
providedIn: "root",
|
|
251
|
+
}]
|
|
252
|
+
}], ctorParameters: () => [{ type: MapaI18nService }] });
|
|
253
|
+
|
|
254
|
+
class MapaFormErrorsComponent {
|
|
255
|
+
constructor(validationMessageResolver) {
|
|
256
|
+
this.validationMessageResolver = validationMessageResolver;
|
|
257
|
+
}
|
|
258
|
+
get message() {
|
|
259
|
+
return this.validationMessageResolver.resolveFirstError(this.control, this.errors);
|
|
260
|
+
}
|
|
261
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaFormErrorsComponent, deps: [{ token: ValidationMessageResolverService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
262
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", 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: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatFormFieldModule }] }); }
|
|
263
|
+
}
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaFormErrorsComponent, decorators: [{
|
|
265
|
+
type: Component,
|
|
266
|
+
args: [{ selector: "mapa-form-errors", imports: [CommonModule, MatFormFieldModule], template: "<span *ngIf=\"message\">\n {{ message }}\n</span>\n" }]
|
|
267
|
+
}], ctorParameters: () => [{ type: ValidationMessageResolverService }], propDecorators: { control: [{
|
|
268
|
+
type: Input
|
|
269
|
+
}], errors: [{
|
|
270
|
+
type: Input
|
|
271
|
+
}] } });
|
|
272
|
+
|
|
273
|
+
function sanitizeHtmlContent(sanitizer, value) {
|
|
274
|
+
return sanitizer.sanitize(SecurityContext.HTML, value ?? "") ?? "";
|
|
275
|
+
}
|
|
276
|
+
class HtmlSanitizerService {
|
|
277
|
+
constructor(sanitizer) {
|
|
278
|
+
this.sanitizer = sanitizer;
|
|
279
|
+
}
|
|
280
|
+
sanitize(value) {
|
|
281
|
+
return sanitizeHtmlContent(this.sanitizer, value);
|
|
282
|
+
}
|
|
283
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: HtmlSanitizerService, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
284
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: HtmlSanitizerService, providedIn: "root" }); }
|
|
285
|
+
}
|
|
286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: HtmlSanitizerService, decorators: [{
|
|
287
|
+
type: Injectable,
|
|
288
|
+
args: [{
|
|
289
|
+
providedIn: "root",
|
|
290
|
+
}]
|
|
291
|
+
}], ctorParameters: () => [{ type: i1$1.DomSanitizer }] });
|
|
292
|
+
|
|
293
|
+
class SafeHtmlPipe {
|
|
294
|
+
constructor(htmlSanitizer) {
|
|
295
|
+
this.htmlSanitizer = htmlSanitizer;
|
|
296
|
+
}
|
|
297
|
+
transform(value) {
|
|
298
|
+
return this.htmlSanitizer.sanitize(value);
|
|
299
|
+
}
|
|
300
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: HtmlSanitizerService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
301
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: SafeHtmlPipe, isStandalone: true, name: "safeHtml" }); }
|
|
302
|
+
}
|
|
303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
304
|
+
type: Pipe,
|
|
305
|
+
args: [{
|
|
306
|
+
name: "safeHtml",
|
|
307
|
+
standalone: true,
|
|
308
|
+
}]
|
|
309
|
+
}], ctorParameters: () => [{ type: HtmlSanitizerService }] });
|
|
310
|
+
|
|
311
|
+
class MapaDropdownComponent {
|
|
312
|
+
constructor(i18n, cdr) {
|
|
313
|
+
this.i18n = i18n;
|
|
314
|
+
this.cdr = cdr;
|
|
315
|
+
this.openedChange = new EventEmitter();
|
|
316
|
+
this.filteredOptions = new ReplaySubject(1);
|
|
317
|
+
this.filteredGroups = new ReplaySubject(1);
|
|
318
|
+
this.filteredOptionsCache = [];
|
|
319
|
+
this.filteredGroupCache = [];
|
|
320
|
+
this.destroyRef = inject(DestroyRef);
|
|
321
|
+
this.isIndeterminate = false;
|
|
322
|
+
this.isChecked = false;
|
|
323
|
+
this.isOptionsGroup = false;
|
|
324
|
+
}
|
|
325
|
+
get texts() {
|
|
326
|
+
return this.i18n.textsSignal();
|
|
327
|
+
}
|
|
328
|
+
get selectAllLabel() {
|
|
329
|
+
return this.texts.common.selectAll;
|
|
330
|
+
}
|
|
331
|
+
get selectedOptions() {
|
|
332
|
+
const value = this.formControl?.value;
|
|
333
|
+
if (Array.isArray(value)) {
|
|
334
|
+
return value.filter((option) => this.isElementOption(option));
|
|
335
|
+
}
|
|
336
|
+
return this.isElementOption(value) ? [value] : [];
|
|
337
|
+
}
|
|
338
|
+
ngOnInit() {
|
|
339
|
+
this.setOptions();
|
|
340
|
+
this.element.search?.formControl?.valueChanges
|
|
341
|
+
.pipe(takeUntilDestroyed(this.destroyRef))
|
|
342
|
+
.subscribe(() => {
|
|
343
|
+
this.filterOptions();
|
|
344
|
+
this.setToggleAllCheckboxState();
|
|
345
|
+
this.cdr.markForCheck();
|
|
346
|
+
});
|
|
347
|
+
}
|
|
348
|
+
ngAfterViewInit() {
|
|
349
|
+
Promise.resolve().then(() => this.cdr.detectChanges());
|
|
350
|
+
}
|
|
351
|
+
ngOnChanges(changes) {
|
|
352
|
+
if (changes["element"]?.previousValue !== undefined &&
|
|
353
|
+
changes["element"].previousValue?.controlType === "dropdown" &&
|
|
354
|
+
changes["element"].previousValue?.options !==
|
|
355
|
+
changes["element"].currentValue?.options) {
|
|
356
|
+
this.element.options = changes["element"].currentValue.options;
|
|
357
|
+
this.setOptions();
|
|
358
|
+
this.cdr.markForCheck();
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
setOptions() {
|
|
362
|
+
this.isOptionsGroup = this.isElementGroup(this.element.options[0]);
|
|
363
|
+
if (this.isOptionsGroup) {
|
|
364
|
+
this.filteredGroupCache = this.element.options.slice();
|
|
365
|
+
this.filteredGroups.next(this.filteredGroupCache);
|
|
366
|
+
this.cdr.markForCheck();
|
|
367
|
+
return;
|
|
368
|
+
}
|
|
369
|
+
this.filteredOptionsCache = this.element.options.slice();
|
|
370
|
+
this.filteredOptions.next(this.filteredOptionsCache);
|
|
371
|
+
this.cdr.markForCheck();
|
|
372
|
+
}
|
|
373
|
+
filterOptionsFromGroup(group, value) {
|
|
374
|
+
const filterValue = this.normalizeValue(value);
|
|
375
|
+
return this.normalizeValue(group.label).includes(filterValue)
|
|
376
|
+
? group.options
|
|
377
|
+
: group.options.filter((item) => this.normalizeValue(item.value).includes(filterValue));
|
|
378
|
+
}
|
|
379
|
+
filterOptions() {
|
|
380
|
+
if (!this.element.options) {
|
|
381
|
+
return;
|
|
382
|
+
}
|
|
383
|
+
const search = this.normalizeValue(this.element.search?.formControl?.value);
|
|
384
|
+
if (this.isOptionsGroup) {
|
|
385
|
+
const groups = this.element.options;
|
|
386
|
+
this.filteredGroupCache = groups
|
|
387
|
+
.map((group) => ({
|
|
388
|
+
label: group.label,
|
|
389
|
+
options: this.filterOptionsFromGroup(group, search),
|
|
390
|
+
}))
|
|
391
|
+
.filter((group) => group.options.length > 0);
|
|
392
|
+
this.filteredGroups.next(this.filteredGroupCache);
|
|
393
|
+
return;
|
|
394
|
+
}
|
|
395
|
+
const options = this.element.options;
|
|
396
|
+
if (!search) {
|
|
397
|
+
this.filteredOptionsCache = options.slice();
|
|
398
|
+
this.filteredOptions.next(this.filteredOptionsCache);
|
|
399
|
+
return;
|
|
400
|
+
}
|
|
401
|
+
this.filteredOptionsCache = options.filter((option) => this.normalizeValue(option.value).includes(search));
|
|
402
|
+
this.filteredOptions.next(this.filteredOptionsCache);
|
|
403
|
+
}
|
|
404
|
+
normalizeValue(value) {
|
|
405
|
+
return (value ?? "")
|
|
406
|
+
.normalize("NFD")
|
|
407
|
+
.replace(/[\u0300-\u036f]/g, "")
|
|
408
|
+
.toLowerCase();
|
|
409
|
+
}
|
|
410
|
+
triggerOpenedChange(event) {
|
|
411
|
+
this.openedChange.emit(event);
|
|
412
|
+
}
|
|
413
|
+
setToggleAllCheckboxState() {
|
|
414
|
+
const search = this.normalizeValue(this.element.search?.formControl?.value);
|
|
415
|
+
if (!search) {
|
|
416
|
+
this.isIndeterminate = false;
|
|
417
|
+
this.isChecked = false;
|
|
418
|
+
return;
|
|
419
|
+
}
|
|
420
|
+
const filteredLength = this.filteredOptionsCache.filter((option) => this.normalizeValue(option.value).includes(search)).length;
|
|
421
|
+
this.isIndeterminate =
|
|
422
|
+
filteredLength > 0 && filteredLength < this.filteredOptionsCache.length;
|
|
423
|
+
this.isChecked =
|
|
424
|
+
filteredLength > 0 && filteredLength === this.filteredOptionsCache.length;
|
|
425
|
+
this.cdr.markForCheck();
|
|
426
|
+
}
|
|
427
|
+
toggleSelectAll(event) {
|
|
428
|
+
if (this.isOptionsGroup) {
|
|
429
|
+
const groupOptions = this.filteredGroupCache.reduce((accumulator, group) => accumulator.concat(group.options), []);
|
|
430
|
+
this.formControl?.patchValue(event.checked ? groupOptions : []);
|
|
431
|
+
return;
|
|
432
|
+
}
|
|
433
|
+
this.formControl?.patchValue(event.checked ? this.filteredOptionsCache : []);
|
|
434
|
+
}
|
|
435
|
+
isElementGroup(object) {
|
|
436
|
+
return !!object && "label" in object && "options" in object;
|
|
437
|
+
}
|
|
438
|
+
isElementOption(object) {
|
|
439
|
+
return (!!object &&
|
|
440
|
+
typeof object === "object" &&
|
|
441
|
+
"key" in object &&
|
|
442
|
+
"value" in object);
|
|
443
|
+
}
|
|
444
|
+
compareFn(c1, c2) {
|
|
445
|
+
return c1 && c2 ? c1.key === c2.key : c1 === c2;
|
|
446
|
+
}
|
|
447
|
+
hasValue() {
|
|
448
|
+
const value = this.formControl?.value;
|
|
449
|
+
return Array.isArray(value) ? value.length > 0 : this.isElementOption(value);
|
|
450
|
+
}
|
|
451
|
+
clearValue(event) {
|
|
452
|
+
event.stopPropagation();
|
|
453
|
+
this.formControl.setValue(null);
|
|
454
|
+
this.cdr.markForCheck();
|
|
455
|
+
}
|
|
456
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaDropdownComponent, deps: [{ token: MapaI18nService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
457
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: MapaDropdownComponent, isStandalone: true, selector: "mapa-dropdown", inputs: { formControl: "formControl", formControlSearch: "formControlSearch", element: "element", border: "border" }, outputs: { openedChange: "openedChange" }, providers: [
|
|
458
|
+
{
|
|
459
|
+
provide: MAT_SELECT_CONFIG,
|
|
460
|
+
useValue: { overlayPanelClass: "mapa-overlay-dropdown" },
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
464
|
+
useValue: { appearance: "outline" },
|
|
465
|
+
},
|
|
466
|
+
], viewQueries: [{ propertyName: "dropdown", first: true, predicate: ["dropdown"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "@if (element) {\n @if (element.label) {\n <label class=\"mapa-dropdown__label\">\n {{ element.label }}\n </label>\n }\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 @if (element.search) {\n <mat-option class=\"mapa-dropdown__search\">\n @if (element.search.formControl) {\n <ngx-mat-select-search\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 }\n </mat-option>\n }\n @if (element.multiple) {\n <mat-option class=\"mapa-dropdown__option--select-all\">\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 }\n @if (isOptionsGroup) {\n @if (filteredGroups | async; as groups) {\n @for (group of groups; track group.label) {\n <mat-optgroup [label]=\"group.label\">\n @for (option of group.options; track option.key) {\n <mat-option\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 }\n </mat-optgroup>\n }\n }\n } @else {\n @if (filteredOptions | async; as options) {\n @for (option of options; track option.key) {\n <mat-option\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 }\n }\n }\n\n @for (option of selectedOptions; track option.key) {\n <mat-option\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 }\n </mat-select>\n @if (element.hint) {\n <mat-hint>{{ element.hint }}</mat-hint>\n }\n <mat-error>\n <mapa-form-errors\n [control]=\"formControl\"\n [errors]=\"element.errors\"\n ></mapa-form-errors>\n </mat-error>\n @if (hasValue() && !formControl.disabled && element.clearValue) {\n <mat-icon\n (click)=\"clearValue($event)\"\n class=\"mapa-input--close\"\n >close</mat-icon\n >\n }\n </mat-form-field>\n @if (element.actionButton) {\n <div 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 }\n </div>\n}\n", styles: [":host ::ng-deep .mapa-dropdown{max-width:min-content;min-width:235px}:host ::ng-deep .mapa-dropdown .mat-mdc-select{font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif)!important}:host ::ng-deep .mapa-dropdown .mat-icon{display:flex;justify-content:center;align-items:center;position:absolute;right:28px!important;top:18px!important;z-index:1}:host ::ng-deep .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}:host ::ng-deep .mapa-dropdown--highlight .mat-mdc-text-field-wrapper{border-radius:16px}:host ::ng-deep .mapa-dropdown--highlight .mdc-notched-outline{border-radius:16px!important}:host ::ng-deep .mapa-dropdown--highlight .mdc-notched-outline .mdc-notched-outline__leading,:host ::ng-deep .mapa-dropdown--highlight .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px!important;border-color:#eedb2a!important}:host ::ng-deep .mapa-dropdown--highlight .mdc-notched-outline .mdc-notched-outline__leading{display:none!important}:host ::ng-deep .mapa-dropdown--highlight .mdc-notched-outline .mdc-notched-outline__trailing{border-radius:16px!important;border-left-style:solid!important}:host ::ng-deep .mapa-dropdown--soft-border .mdc-notched-outline .mdc-notched-outline__leading,:host ::ng-deep .mapa-dropdown--soft-border .mdc-notched-outline .mdc-notched-outline__trailing{border-width:1px!important}:host ::ng-deep .mapa-dropdown--tag .mat-mdc-text-field-wrapper{border-radius:16px}:host ::ng-deep .mapa-dropdown--tag .mdc-notched-outline{border-radius:16px!important;height:42px!important}:host ::ng-deep .mapa-dropdown--tag .mdc-notched-outline .mdc-notched-outline__leading,:host ::ng-deep .mapa-dropdown--tag .mdc-notched-outline .mdc-notched-outline__trailing{border-width:1px!important;border-color:#cdcdcd}:host ::ng-deep .mapa-dropdown--tag .mdc-notched-outline .mdc-notched-outline__leading{display:none!important}:host ::ng-deep .mapa-dropdown--tag .mdc-notched-outline .mdc-notched-outline__trailing{border-radius:16px!important;border-left-style:solid!important}:host ::ng-deep .mapa-dropdown .mat-mdc-text-field-wrapper{background-color:#fff;border-radius:8px}:host ::ng-deep .mapa-dropdown .mat-mdc-text-field-wrapper.mdc-text-field--outlined{padding-left:unset!important;padding-right:unset!important}:host ::ng-deep .mapa-dropdown .mdc-notched-outline{background-color:transparent;border-radius:8px;pointer-events:none;z-index:0}:host ::ng-deep .mapa-dropdown .mdc-notched-outline .mdc-notched-outline__leading,:host ::ng-deep .mapa-dropdown .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}:host ::ng-deep .mapa-dropdown .mat-mdc-form-field-flex{display:flex;align-items:center;height:48px;position:relative}:host ::ng-deep .mapa-dropdown .mat-mdc-select-trigger{min-width:50px;padding-top:unset!important;height:unset!important;position:relative;z-index:1}:host ::ng-deep .mapa-dropdown .mat-mdc-select-value-text{display:block;width:90%}:host ::ng-deep .mapa-dropdown .mat-mdc-select-arrow-wrapper{transform:none!important;align-items:center;position:relative;z-index:1}:host ::ng-deep .mapa-dropdown .mat-mdc-select-arrow{border:unset;color:#50575e}:host ::ng-deep .mapa-dropdown .mat-mdc-select-arrow:before,:host ::ng-deep .mapa-dropdown .mat-mdc-select-arrow:after{content:none!important}:host ::ng-deep .mapa-dropdown .mat-mdc-select-arrow svg{display:block!important;fill:currentColor}:host ::ng-deep .mapa-dropdown .mat-mdc-form-field-subscript-wrapper{padding:0!important}:host ::ng-deep .mapa-dropdown [aria-expanded=true] .mat-mdc-select-arrow{margin:0}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel{border-radius:8px;min-width:calc(100% + 24px)!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mdc-list-item__primary-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}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--select-all,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[class*=mapa-dropdown__option--children-level-]{height:auto!important;align-items:start!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option .mat-pseudo-checkbox,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--select-all .mat-pseudo-checkbox,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[class*=mapa-dropdown__option--children-level-] .mat-pseudo-checkbox{margin:7px 7px 7px 0!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option .mdc-list-item__primary-text,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--select-all .mdc-list-item__primary-text,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[class*=mapa-dropdown__option--children-level-] .mdc-list-item__primary-text{height:auto!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mapa-dropdown__option-value{text-wrap:auto}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-1{padding-left:30px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-2{padding-left:50px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-3{padding-left:70px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-4{padding-left:90px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-5{padding-left:100px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-6{padding-left:120px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--select-all{padding-left:5px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--select-all .mat-pseudo-checkbox{display:none!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search{align-items:flex-start;background:#f6f7f7;height:auto!important;min-height:80px;padding:16px 8px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{width:100%}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-inner{background:transparent!important;background-color:transparent!important;border:unset;border-radius:0;box-shadow:none!important;inset:0 auto auto 0;overflow:visible;position:relative;width:100%!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-inner-row{align-items:center;background:transparent;display:flex;position:relative}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-hidden{background:transparent!important;background-color:transparent!important;border:unset!important;height:0!important;line-height:0!important;padding:0!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-toggle-all-checkbox{padding-left:8px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-input{background-color:#fff!important;border:2px solid #a7aaad!important;border-radius:8px!important;height:28px!important;line-height:24px!important;padding:0 48px 0 12px!important;width:100%}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-input::placeholder{color:#c3c4c7!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-clear{top:50%;transform:translateY(-50%)}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-divider{margin:0}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search.mat-mdc-option-active,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search:hover{background:#f6f7f7}::ng-deep .mapa-overlay-dropdown .mat-pseudo-checkbox{color:#c3c4c7!important}::ng-deep .mapa-overlay-dropdown .mdc-checkbox__background{border-color:#c3c4c7!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { 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: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i4.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i7.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i7.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i7.MatOptgroup, selector: "mat-optgroup", inputs: ["label", "disabled"], exportAs: ["matOptgroup"] }, { kind: "ngmodule", type: NgxMatSelectSearchModule }, { kind: "component", type: i8.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", "recreateValuesArray"], outputs: ["toggleAll"] }, { kind: "component", type: ButtonComponent, selector: "mapa-button", inputs: ["color", "disabled"], outputs: ["clicked"] }, { kind: "component", type: MapaFormErrorsComponent, selector: "mapa-form-errors", inputs: ["control", "errors"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: SafeHtmlPipe, name: "safeHtml" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
467
|
+
}
|
|
468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaDropdownComponent, decorators: [{
|
|
469
|
+
type: Component,
|
|
470
|
+
args: [{ selector: "mapa-dropdown", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
471
|
+
CommonModule,
|
|
472
|
+
FormsModule,
|
|
473
|
+
ReactiveFormsModule,
|
|
474
|
+
MatCheckboxModule,
|
|
475
|
+
MatFormFieldModule,
|
|
476
|
+
MatIconModule,
|
|
477
|
+
MatSelectModule,
|
|
478
|
+
NgxMatSelectSearchModule,
|
|
479
|
+
ButtonComponent,
|
|
480
|
+
MapaFormErrorsComponent,
|
|
481
|
+
SafeHtmlPipe,
|
|
482
|
+
], providers: [
|
|
483
|
+
{
|
|
484
|
+
provide: MAT_SELECT_CONFIG,
|
|
485
|
+
useValue: { overlayPanelClass: "mapa-overlay-dropdown" },
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
provide: MAT_FORM_FIELD_DEFAULT_OPTIONS,
|
|
489
|
+
useValue: { appearance: "outline" },
|
|
490
|
+
},
|
|
491
|
+
], standalone: true, template: "@if (element) {\n @if (element.label) {\n <label class=\"mapa-dropdown__label\">\n {{ element.label }}\n </label>\n }\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 @if (element.search) {\n <mat-option class=\"mapa-dropdown__search\">\n @if (element.search.formControl) {\n <ngx-mat-select-search\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 }\n </mat-option>\n }\n @if (element.multiple) {\n <mat-option class=\"mapa-dropdown__option--select-all\">\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 }\n @if (isOptionsGroup) {\n @if (filteredGroups | async; as groups) {\n @for (group of groups; track group.label) {\n <mat-optgroup [label]=\"group.label\">\n @for (option of group.options; track option.key) {\n <mat-option\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 }\n </mat-optgroup>\n }\n }\n } @else {\n @if (filteredOptions | async; as options) {\n @for (option of options; track option.key) {\n <mat-option\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 }\n }\n }\n\n @for (option of selectedOptions; track option.key) {\n <mat-option\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 }\n </mat-select>\n @if (element.hint) {\n <mat-hint>{{ element.hint }}</mat-hint>\n }\n <mat-error>\n <mapa-form-errors\n [control]=\"formControl\"\n [errors]=\"element.errors\"\n ></mapa-form-errors>\n </mat-error>\n @if (hasValue() && !formControl.disabled && element.clearValue) {\n <mat-icon\n (click)=\"clearValue($event)\"\n class=\"mapa-input--close\"\n >close</mat-icon\n >\n }\n </mat-form-field>\n @if (element.actionButton) {\n <div 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 }\n </div>\n}\n", styles: [":host ::ng-deep .mapa-dropdown{max-width:min-content;min-width:235px}:host ::ng-deep .mapa-dropdown .mat-mdc-select{font-family:var(--mapa-font-body, \"Asap\", \"Roboto\", \"Inter\", sans-serif)!important}:host ::ng-deep .mapa-dropdown .mat-icon{display:flex;justify-content:center;align-items:center;position:absolute;right:28px!important;top:18px!important;z-index:1}:host ::ng-deep .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}:host ::ng-deep .mapa-dropdown--highlight .mat-mdc-text-field-wrapper{border-radius:16px}:host ::ng-deep .mapa-dropdown--highlight .mdc-notched-outline{border-radius:16px!important}:host ::ng-deep .mapa-dropdown--highlight .mdc-notched-outline .mdc-notched-outline__leading,:host ::ng-deep .mapa-dropdown--highlight .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px!important;border-color:#eedb2a!important}:host ::ng-deep .mapa-dropdown--highlight .mdc-notched-outline .mdc-notched-outline__leading{display:none!important}:host ::ng-deep .mapa-dropdown--highlight .mdc-notched-outline .mdc-notched-outline__trailing{border-radius:16px!important;border-left-style:solid!important}:host ::ng-deep .mapa-dropdown--soft-border .mdc-notched-outline .mdc-notched-outline__leading,:host ::ng-deep .mapa-dropdown--soft-border .mdc-notched-outline .mdc-notched-outline__trailing{border-width:1px!important}:host ::ng-deep .mapa-dropdown--tag .mat-mdc-text-field-wrapper{border-radius:16px}:host ::ng-deep .mapa-dropdown--tag .mdc-notched-outline{border-radius:16px!important;height:42px!important}:host ::ng-deep .mapa-dropdown--tag .mdc-notched-outline .mdc-notched-outline__leading,:host ::ng-deep .mapa-dropdown--tag .mdc-notched-outline .mdc-notched-outline__trailing{border-width:1px!important;border-color:#cdcdcd}:host ::ng-deep .mapa-dropdown--tag .mdc-notched-outline .mdc-notched-outline__leading{display:none!important}:host ::ng-deep .mapa-dropdown--tag .mdc-notched-outline .mdc-notched-outline__trailing{border-radius:16px!important;border-left-style:solid!important}:host ::ng-deep .mapa-dropdown .mat-mdc-text-field-wrapper{background-color:#fff;border-radius:8px}:host ::ng-deep .mapa-dropdown .mat-mdc-text-field-wrapper.mdc-text-field--outlined{padding-left:unset!important;padding-right:unset!important}:host ::ng-deep .mapa-dropdown .mdc-notched-outline{background-color:transparent;border-radius:8px;pointer-events:none;z-index:0}:host ::ng-deep .mapa-dropdown .mdc-notched-outline .mdc-notched-outline__leading,:host ::ng-deep .mapa-dropdown .mdc-notched-outline .mdc-notched-outline__trailing{border-width:2px}:host ::ng-deep .mapa-dropdown .mat-mdc-form-field-flex{display:flex;align-items:center;height:48px;position:relative}:host ::ng-deep .mapa-dropdown .mat-mdc-select-trigger{min-width:50px;padding-top:unset!important;height:unset!important;position:relative;z-index:1}:host ::ng-deep .mapa-dropdown .mat-mdc-select-value-text{display:block;width:90%}:host ::ng-deep .mapa-dropdown .mat-mdc-select-arrow-wrapper{transform:none!important;align-items:center;position:relative;z-index:1}:host ::ng-deep .mapa-dropdown .mat-mdc-select-arrow{border:unset;color:#50575e}:host ::ng-deep .mapa-dropdown .mat-mdc-select-arrow:before,:host ::ng-deep .mapa-dropdown .mat-mdc-select-arrow:after{content:none!important}:host ::ng-deep .mapa-dropdown .mat-mdc-select-arrow svg{display:block!important;fill:currentColor}:host ::ng-deep .mapa-dropdown .mat-mdc-form-field-subscript-wrapper{padding:0!important}:host ::ng-deep .mapa-dropdown [aria-expanded=true] .mat-mdc-select-arrow{margin:0}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel{border-radius:8px;min-width:calc(100% + 24px)!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mdc-list-item__primary-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}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--select-all,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[class*=mapa-dropdown__option--children-level-]{height:auto!important;align-items:start!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option .mat-pseudo-checkbox,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--select-all .mat-pseudo-checkbox,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[class*=mapa-dropdown__option--children-level-] .mat-pseudo-checkbox{margin:7px 7px 7px 0!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option .mdc-list-item__primary-text,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--select-all .mdc-list-item__primary-text,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[class*=mapa-dropdown__option--children-level-] .mdc-list-item__primary-text{height:auto!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mapa-dropdown__option-value{text-wrap:auto}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-1{padding-left:30px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-2{padding-left:50px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-3{padding-left:70px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-4{padding-left:90px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-5{padding-left:100px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--children-level-6{padding-left:120px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--select-all{padding-left:5px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option.mapa-dropdown__option--select-all .mat-pseudo-checkbox{display:none!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search{align-items:flex-start;background:#f6f7f7;height:auto!important;min-height:80px;padding:16px 8px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{width:100%}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-inner{background:transparent!important;background-color:transparent!important;border:unset;border-radius:0;box-shadow:none!important;inset:0 auto auto 0;overflow:visible;position:relative;width:100%!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-inner-row{align-items:center;background:transparent;display:flex;position:relative}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-hidden{background:transparent!important;background-color:transparent!important;border:unset!important;height:0!important;line-height:0!important;padding:0!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-toggle-all-checkbox{padding-left:8px!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-input{background-color:#fff!important;border:2px solid #a7aaad!important;border-radius:8px!important;height:28px!important;line-height:24px!important;padding:0 48px 0 12px!important;width:100%}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-input::placeholder{color:#c3c4c7!important}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-select-search-clear{top:50%;transform:translateY(-50%)}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-divider{margin:0}::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search.mat-mdc-option-active,::ng-deep .mapa-overlay-dropdown .mat-mdc-select-panel .mat-mdc-option[aria-disabled=true].contains-mat-select-search:hover{background:#f6f7f7}::ng-deep .mapa-overlay-dropdown .mat-pseudo-checkbox{color:#c3c4c7!important}::ng-deep .mapa-overlay-dropdown .mdc-checkbox__background{border-color:#c3c4c7!important}\n"] }]
|
|
492
|
+
}], ctorParameters: () => [{ type: MapaI18nService }, { type: i0.ChangeDetectorRef }], propDecorators: { formControl: [{
|
|
493
|
+
type: Input
|
|
494
|
+
}], formControlSearch: [{
|
|
495
|
+
type: Input
|
|
496
|
+
}], element: [{
|
|
497
|
+
type: Input
|
|
498
|
+
}], border: [{
|
|
499
|
+
type: Input
|
|
500
|
+
}], openedChange: [{
|
|
501
|
+
type: Output
|
|
502
|
+
}], dropdown: [{
|
|
503
|
+
type: ViewChild,
|
|
504
|
+
args: ["dropdown", { static: true }]
|
|
505
|
+
}] } });
|
|
506
|
+
|
|
507
|
+
/*
|
|
508
|
+
* Public API Surface of mapa-library-ui dropdown
|
|
509
|
+
*/
|
|
510
|
+
|
|
511
|
+
class IconComponent {
|
|
512
|
+
constructor(matIconRegistry, domSanitizer) {
|
|
513
|
+
this.matIconRegistry = matIconRegistry;
|
|
514
|
+
this.domSanitizer = domSanitizer;
|
|
515
|
+
}
|
|
516
|
+
ngOnChanges() {
|
|
517
|
+
this.registerCustomIcons(this.svg);
|
|
518
|
+
}
|
|
519
|
+
registerCustomIcons(svg) {
|
|
520
|
+
this.matIconRegistry.addSvgIcon(svg, this.domSanitizer.bypassSecurityTrustResourceUrl(`../../../../assets/${svg}.svg`));
|
|
521
|
+
}
|
|
522
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: IconComponent, deps: [{ token: i1$2.MatIconRegistry }, { token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
523
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: IconComponent, isStandalone: true, 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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i1$2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
|
|
524
|
+
}
|
|
525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: IconComponent, decorators: [{
|
|
526
|
+
type: Component,
|
|
527
|
+
args: [{ selector: 'mapa-icon', standalone: true, imports: [CommonModule, MatIconModule], 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"] }]
|
|
528
|
+
}], ctorParameters: () => [{ type: i1$2.MatIconRegistry }, { type: i1$1.DomSanitizer }], propDecorators: { svg: [{
|
|
529
|
+
type: Input
|
|
530
|
+
}] } });
|
|
531
|
+
|
|
532
|
+
/*
|
|
533
|
+
* Public API Surface of mapa-library-ui icon
|
|
534
|
+
*/
|
|
535
|
+
|
|
536
|
+
var TooltipPosition;
|
|
537
|
+
(function (TooltipPosition) {
|
|
538
|
+
TooltipPosition["ABOVE"] = "above";
|
|
539
|
+
TooltipPosition["BELOW"] = "below";
|
|
540
|
+
TooltipPosition["LEFT"] = "left";
|
|
541
|
+
TooltipPosition["RIGHT"] = "right";
|
|
542
|
+
TooltipPosition["DYNAMIC"] = "dynamic";
|
|
543
|
+
TooltipPosition["DEFAULT"] = "below";
|
|
544
|
+
})(TooltipPosition || (TooltipPosition = {}));
|
|
545
|
+
var TooltipTheme;
|
|
546
|
+
(function (TooltipTheme) {
|
|
547
|
+
TooltipTheme["DARK"] = "dark";
|
|
548
|
+
TooltipTheme["LIGHT"] = "light";
|
|
549
|
+
TooltipTheme["DEFAULT"] = "light";
|
|
550
|
+
})(TooltipTheme || (TooltipTheme = {}));
|
|
551
|
+
|
|
552
|
+
class MapaTooltipComponent {
|
|
553
|
+
constructor() {
|
|
554
|
+
this.position = TooltipPosition.DEFAULT;
|
|
555
|
+
this.theme = TooltipTheme.DEFAULT;
|
|
556
|
+
this.visible = false;
|
|
557
|
+
this.left = 0;
|
|
558
|
+
this.top = 0;
|
|
559
|
+
}
|
|
560
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
561
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaTooltipComponent, isStandalone: true, 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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
562
|
+
}
|
|
563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaTooltipComponent, decorators: [{
|
|
564
|
+
type: Component,
|
|
565
|
+
args: [{ selector: "lib-tooltip", imports: [CommonModule], standalone: true, 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"] }]
|
|
566
|
+
}] });
|
|
567
|
+
|
|
568
|
+
class MapaTooltipDirective {
|
|
569
|
+
constructor(elementRef, appRef) {
|
|
570
|
+
this.elementRef = elementRef;
|
|
571
|
+
this.appRef = appRef;
|
|
572
|
+
this.position = TooltipPosition.DEFAULT;
|
|
573
|
+
this.theme = TooltipTheme.DEFAULT;
|
|
574
|
+
this.showDelay = 0;
|
|
575
|
+
this.hideDelay = 0;
|
|
576
|
+
this.componentRef = null;
|
|
577
|
+
this.destroyRef = inject(DestroyRef);
|
|
578
|
+
this.environmentInjector = inject(EnvironmentInjector);
|
|
579
|
+
this.destroyRef.onDestroy(() => this.destroy());
|
|
580
|
+
}
|
|
581
|
+
onMouseEnter() {
|
|
582
|
+
this.initializeTooltip();
|
|
583
|
+
}
|
|
584
|
+
onMouseLeave() {
|
|
585
|
+
this.setHideTooltipTimeout();
|
|
586
|
+
}
|
|
587
|
+
onMouseMove($event) {
|
|
588
|
+
if (this.componentRef !== null &&
|
|
589
|
+
this.position === TooltipPosition.DYNAMIC) {
|
|
590
|
+
this.componentRef.instance.left = $event.clientX;
|
|
591
|
+
this.componentRef.instance.top = $event.clientY;
|
|
592
|
+
this.componentRef.instance.tooltip = this.tooltip;
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
onTouchStart($event) {
|
|
596
|
+
$event.preventDefault();
|
|
597
|
+
window.clearTimeout(this.touchTimeout);
|
|
598
|
+
this.touchTimeout = window.setTimeout(this.initializeTooltip.bind(this), 500);
|
|
599
|
+
}
|
|
600
|
+
onTouchEnd() {
|
|
601
|
+
window.clearTimeout(this.touchTimeout);
|
|
602
|
+
this.setHideTooltipTimeout();
|
|
603
|
+
}
|
|
604
|
+
initializeTooltip() {
|
|
605
|
+
if (this.componentRef === null) {
|
|
606
|
+
window.clearTimeout(this.hideTimeout);
|
|
607
|
+
this.componentRef = createComponent(MapaTooltipComponent, {
|
|
608
|
+
environmentInjector: this.environmentInjector,
|
|
609
|
+
});
|
|
610
|
+
this.appRef.attachView(this.componentRef.hostView);
|
|
611
|
+
this.setTooltipComponentProperties();
|
|
612
|
+
document.body.appendChild(this.componentRef.location.nativeElement);
|
|
613
|
+
this.showTimeout = window.setTimeout(this.showTooltip.bind(this), this.showDelay);
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
setTooltipComponentProperties() {
|
|
617
|
+
if (this.componentRef !== null) {
|
|
618
|
+
this.componentRef.instance.tooltip = this.tooltip;
|
|
619
|
+
this.componentRef.instance.position = this.position;
|
|
620
|
+
this.componentRef.instance.theme = this.theme;
|
|
621
|
+
const { left, right, top, bottom, } = this.elementRef.nativeElement.getBoundingClientRect();
|
|
622
|
+
switch (this.position) {
|
|
623
|
+
case TooltipPosition.BELOW: {
|
|
624
|
+
this.componentRef.instance.left = Math.round((right - left) / 2 + left);
|
|
625
|
+
this.componentRef.instance.top = Math.round(bottom);
|
|
626
|
+
break;
|
|
627
|
+
}
|
|
628
|
+
case TooltipPosition.ABOVE: {
|
|
629
|
+
this.componentRef.instance.left = Math.round((right - left) / 2 + left);
|
|
630
|
+
this.componentRef.instance.top = Math.round(top);
|
|
631
|
+
break;
|
|
632
|
+
}
|
|
633
|
+
case TooltipPosition.RIGHT: {
|
|
634
|
+
this.componentRef.instance.left = Math.round(right);
|
|
635
|
+
this.componentRef.instance.top = Math.round(top + (bottom - top) / 2);
|
|
636
|
+
break;
|
|
637
|
+
}
|
|
638
|
+
case TooltipPosition.LEFT: {
|
|
639
|
+
this.componentRef.instance.left = Math.round(left);
|
|
640
|
+
this.componentRef.instance.top = Math.round(top + (bottom - top) / 2);
|
|
641
|
+
break;
|
|
642
|
+
}
|
|
643
|
+
default: {
|
|
644
|
+
break;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
showTooltip() {
|
|
650
|
+
if (this.componentRef !== null) {
|
|
651
|
+
this.componentRef.instance.visible = true;
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
setHideTooltipTimeout() {
|
|
655
|
+
this.hideTimeout = window.setTimeout(this.destroy.bind(this), this.hideDelay);
|
|
656
|
+
}
|
|
657
|
+
destroy() {
|
|
658
|
+
window.clearTimeout(this.showTimeout);
|
|
659
|
+
window.clearTimeout(this.hideTimeout);
|
|
660
|
+
window.clearTimeout(this.touchTimeout);
|
|
661
|
+
if (this.componentRef !== null) {
|
|
662
|
+
this.appRef.detachView(this.componentRef.hostView);
|
|
663
|
+
this.componentRef.destroy();
|
|
664
|
+
this.componentRef = null;
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ApplicationRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
668
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: MapaTooltipDirective, isStandalone: true, 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 }); }
|
|
669
|
+
}
|
|
670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaTooltipDirective, decorators: [{
|
|
671
|
+
type: Directive,
|
|
672
|
+
args: [{
|
|
673
|
+
selector: "[tooltip]",
|
|
674
|
+
standalone: true,
|
|
675
|
+
}]
|
|
676
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ApplicationRef }], propDecorators: { tooltip: [{
|
|
677
|
+
type: Input
|
|
678
|
+
}], position: [{
|
|
679
|
+
type: Input
|
|
680
|
+
}], theme: [{
|
|
681
|
+
type: Input
|
|
682
|
+
}], showDelay: [{
|
|
683
|
+
type: Input
|
|
684
|
+
}], hideDelay: [{
|
|
685
|
+
type: Input
|
|
686
|
+
}], onMouseEnter: [{
|
|
687
|
+
type: HostListener,
|
|
688
|
+
args: ["mouseenter"]
|
|
689
|
+
}], onMouseLeave: [{
|
|
690
|
+
type: HostListener,
|
|
691
|
+
args: ["mouseleave"]
|
|
692
|
+
}], onMouseMove: [{
|
|
693
|
+
type: HostListener,
|
|
694
|
+
args: ["mousemove", ["$event"]]
|
|
695
|
+
}], onTouchStart: [{
|
|
696
|
+
type: HostListener,
|
|
697
|
+
args: ["touchstart", ["$event"]]
|
|
698
|
+
}], onTouchEnd: [{
|
|
699
|
+
type: HostListener,
|
|
700
|
+
args: ["touchend"]
|
|
701
|
+
}] } });
|
|
702
|
+
|
|
703
|
+
/*
|
|
704
|
+
* Public API Surface of mapa-library-ui icon
|
|
705
|
+
*/
|
|
706
|
+
|
|
707
|
+
function normalizeText(value) {
|
|
708
|
+
return (value || "").replace(/\s+/g, " ").trim();
|
|
709
|
+
}
|
|
710
|
+
function normalizeLookup(value) {
|
|
711
|
+
return normalizeText(value)
|
|
712
|
+
.toLocaleLowerCase()
|
|
713
|
+
.normalize("NFD")
|
|
714
|
+
.replace(/[\u0300-\u036f]/g, "");
|
|
715
|
+
}
|
|
716
|
+
function buildIndicatorCollections(indicators, options = {}) {
|
|
717
|
+
const collections = {
|
|
718
|
+
all: [],
|
|
719
|
+
positive: [],
|
|
720
|
+
negative: [],
|
|
721
|
+
precipitation: [],
|
|
722
|
+
negligence: [],
|
|
723
|
+
};
|
|
724
|
+
indicators.forEach((group) => {
|
|
725
|
+
const normalizedCompetenceName = normalizeLookup(group.competenceName);
|
|
726
|
+
const isPrecipitationRisk = normalizedCompetenceName.includes("precipita");
|
|
727
|
+
const isNegligenceRisk = normalizedCompetenceName.includes("neglig");
|
|
728
|
+
const isNegativeGroup = normalizedCompetenceName.includes("negativ");
|
|
729
|
+
group.indicators.forEach((indicator) => {
|
|
730
|
+
const item = buildIndicatorItem(indicator, {
|
|
731
|
+
includeDirectionSign: options.includeDirectionSign,
|
|
732
|
+
risk: isPrecipitationRisk || isNegligenceRisk,
|
|
733
|
+
precipitation: isPrecipitationRisk,
|
|
734
|
+
negligence: isNegligenceRisk,
|
|
735
|
+
});
|
|
736
|
+
collections.all.push(item);
|
|
737
|
+
if (isPrecipitationRisk) {
|
|
738
|
+
collections.precipitation.push(item);
|
|
739
|
+
return;
|
|
740
|
+
}
|
|
741
|
+
if (isNegligenceRisk) {
|
|
742
|
+
collections.negligence.push(item);
|
|
743
|
+
return;
|
|
744
|
+
}
|
|
745
|
+
if (isNegativeIndicator(item.direction, isNegativeGroup)) {
|
|
746
|
+
collections.negative.push(item);
|
|
747
|
+
return;
|
|
748
|
+
}
|
|
749
|
+
collections.positive.push(item);
|
|
750
|
+
});
|
|
751
|
+
});
|
|
752
|
+
return collections;
|
|
753
|
+
}
|
|
754
|
+
function buildDetailedIndicatorSections(indicators) {
|
|
755
|
+
return indicators
|
|
756
|
+
.map((group) => ({
|
|
757
|
+
title: normalizeText(group.competenceName),
|
|
758
|
+
items: group.indicators
|
|
759
|
+
.map((indicator) => ({
|
|
760
|
+
name: normalizeText(indicator.indicatorName || indicator.name),
|
|
761
|
+
concept: normalizeText(indicator.indicatorConcept || indicator.concept),
|
|
762
|
+
interval: indicator.interval || 0,
|
|
763
|
+
classificationId: indicator.classification?.classificationId || indicator.classificationId,
|
|
764
|
+
classificationName: indicator.classification?.classificationName || indicator.classificationName,
|
|
765
|
+
classificationColor: indicator.classification?.classificationColor || indicator.classificationColor,
|
|
766
|
+
}))
|
|
767
|
+
.filter((item) => !!item.name),
|
|
768
|
+
}))
|
|
769
|
+
.filter((section) => section.items.length > 0);
|
|
770
|
+
}
|
|
771
|
+
function buildIndicatorItem(indicator, options) {
|
|
772
|
+
const directionPrefix = getDirectionPrefix(indicator.direction, options.includeDirectionSign);
|
|
773
|
+
const name = normalizeText(indicator.indicatorName || indicator.name);
|
|
774
|
+
return {
|
|
775
|
+
...indicator,
|
|
776
|
+
name: directionPrefix ? `${directionPrefix} ${name}` : name,
|
|
777
|
+
classificationId: indicator.classificationId || indicator.classification?.classificationId,
|
|
778
|
+
classificationName: indicator.classificationName || indicator.classification?.classificationName,
|
|
779
|
+
classificationColor: indicator.classificationColor || indicator.classification?.classificationColor,
|
|
780
|
+
classificationBg: indicator.classificationBg || indicator.classification?.classificationBg,
|
|
781
|
+
risk: options.risk,
|
|
782
|
+
precipitation: options.precipitation,
|
|
783
|
+
negligence: options.negligence,
|
|
784
|
+
};
|
|
785
|
+
}
|
|
786
|
+
function getDirectionPrefix(direction, includeDirectionSign) {
|
|
787
|
+
if (!includeDirectionSign) {
|
|
788
|
+
return "";
|
|
789
|
+
}
|
|
790
|
+
return isNegativeIndicator(direction) ? "\u2193" : "\u2191";
|
|
791
|
+
}
|
|
792
|
+
function isNegativeIndicator(direction, fallback = false) {
|
|
793
|
+
if (!direction) {
|
|
794
|
+
return fallback;
|
|
795
|
+
}
|
|
796
|
+
return normalizeLookup(direction).includes("negativ");
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
const CAPABILITY_CLASSIFICATION = [
|
|
800
|
+
{
|
|
801
|
+
id: 1,
|
|
802
|
+
name: "Destaque",
|
|
803
|
+
color: "#96f2ee",
|
|
804
|
+
positive: true,
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
id: 2,
|
|
808
|
+
name: "Satisfatório",
|
|
809
|
+
color: "#68ceee",
|
|
810
|
+
positive: true,
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
id: 3,
|
|
814
|
+
name: "Adequado",
|
|
815
|
+
color: "#2d9ced",
|
|
816
|
+
positive: true,
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
id: 4,
|
|
820
|
+
name: "A desenvolver",
|
|
821
|
+
color: "#0e6ece",
|
|
822
|
+
positive: true,
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
id: 5,
|
|
826
|
+
name: "Crítico baixo",
|
|
827
|
+
color: "#073e92",
|
|
828
|
+
positive: true,
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
id: 6,
|
|
832
|
+
name: "Merece atenção baixo",
|
|
833
|
+
color: "#f56580",
|
|
834
|
+
positive: false,
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
id: 7,
|
|
838
|
+
name: "Adequado",
|
|
839
|
+
color: "#f598a7",
|
|
840
|
+
positive: false,
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
id: 8,
|
|
844
|
+
name: "Merece atenção alto",
|
|
845
|
+
color: "#f4284e",
|
|
846
|
+
positive: false,
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
id: 9,
|
|
850
|
+
name: "Crítico alto",
|
|
851
|
+
color: "#c11c2f",
|
|
852
|
+
positive: false,
|
|
853
|
+
},
|
|
854
|
+
];
|
|
855
|
+
|
|
856
|
+
class CapabilityClassificationService {
|
|
857
|
+
getByItem(item) {
|
|
858
|
+
return (CAPABILITY_CLASSIFICATION.find((classification) => classification.id === item.classificationId) || CAPABILITY_CLASSIFICATION[0]);
|
|
859
|
+
}
|
|
860
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CapabilityClassificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
861
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CapabilityClassificationService }); }
|
|
862
|
+
}
|
|
863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CapabilityClassificationService, decorators: [{
|
|
864
|
+
type: Injectable
|
|
865
|
+
}] });
|
|
866
|
+
|
|
867
|
+
class TagComponent {
|
|
868
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: TagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
869
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: TagComponent, isStandalone: true, 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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
870
|
+
}
|
|
871
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: TagComponent, decorators: [{
|
|
872
|
+
type: Component,
|
|
873
|
+
args: [{ selector: "mapa-tag", standalone: true, imports: [CommonModule], 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"] }]
|
|
874
|
+
}], propDecorators: { tag: [{
|
|
875
|
+
type: Input
|
|
876
|
+
}] } });
|
|
877
|
+
|
|
878
|
+
/*
|
|
879
|
+
* Public API Surface of mapa-library-ui icon
|
|
880
|
+
*/
|
|
881
|
+
|
|
882
|
+
class MapaCapabilityDotComponent {
|
|
883
|
+
constructor(classification) {
|
|
884
|
+
this.classification = classification;
|
|
885
|
+
}
|
|
886
|
+
createTag() {
|
|
887
|
+
return {
|
|
888
|
+
size: "small",
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityDotComponent, deps: [{ token: CapabilityClassificationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
892
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaCapabilityDotComponent, isStandalone: true, selector: "mapa-capability-dot", inputs: { type: "type", item: "item", tooltip: "tooltip", capability: "capability" }, providers: [CapabilityClassificationService], 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:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TagComponent, selector: "mapa-tag", inputs: ["tag"] }, { kind: "directive", type: MapaTooltipDirective, selector: "[tooltip]", inputs: ["tooltip", "position", "theme", "showDelay", "hideDelay"] }] }); }
|
|
893
|
+
}
|
|
894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityDotComponent, decorators: [{
|
|
895
|
+
type: Component,
|
|
896
|
+
args: [{ selector: "mapa-capability-dot", imports: [CommonModule, TagComponent, MapaTooltipDirective], providers: [CapabilityClassificationService], standalone: true, 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:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);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"] }]
|
|
897
|
+
}], ctorParameters: () => [{ type: CapabilityClassificationService }], propDecorators: { type: [{
|
|
898
|
+
type: Input
|
|
899
|
+
}], item: [{
|
|
900
|
+
type: Input
|
|
901
|
+
}], tooltip: [{
|
|
902
|
+
type: Input
|
|
903
|
+
}], capability: [{
|
|
904
|
+
type: Input
|
|
905
|
+
}] } });
|
|
906
|
+
|
|
907
|
+
class MapaCapabilityExpandComponent {
|
|
908
|
+
constructor(classification, i18n) {
|
|
909
|
+
this.classification = classification;
|
|
910
|
+
this.i18n = i18n;
|
|
911
|
+
}
|
|
912
|
+
get texts() {
|
|
913
|
+
return this.i18n.textsSignal();
|
|
914
|
+
}
|
|
915
|
+
get conceptTitle() {
|
|
916
|
+
return this.texts.capability.conceptTitle;
|
|
917
|
+
}
|
|
918
|
+
get resultTitle() {
|
|
919
|
+
return this.texts.capability.resultTitle;
|
|
920
|
+
}
|
|
921
|
+
get negativeDirectionLabel() {
|
|
922
|
+
return this.texts.capability.negativeDirectionLabel;
|
|
923
|
+
}
|
|
924
|
+
get positiveDirectionLabel() {
|
|
925
|
+
return this.texts.capability.positiveDirectionLabel;
|
|
926
|
+
}
|
|
927
|
+
createTag(item) {
|
|
928
|
+
return {
|
|
929
|
+
bgColor: item.classificationBg || "",
|
|
930
|
+
fontSize: item.classificationFontSize || "",
|
|
931
|
+
size: "small",
|
|
932
|
+
};
|
|
933
|
+
}
|
|
934
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityExpandComponent, deps: [{ token: CapabilityClassificationService }, { token: MapaI18nService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
935
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaCapabilityExpandComponent, isStandalone: true, selector: "mapa-capability-expand", inputs: { data: "data" }, providers: [CapabilityClassificationService], 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: [":host ::ng-deep .capability__concept{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;gap:42px;margin:24px 0 60px}:host ::ng-deep .capability__concept--content{display:flex;flex-direction:column;flex-basis:100%;flex:1}:host ::ng-deep .capability__concept--title{color:#000;font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-bottom:8px}:host ::ng-deep .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}:host ::ng-deep .capability__expanded{border-top:1px solid #cdcdcd;padding:36px 0 16px 16px;gap:30px}@media (min-width: 800px) and (max-width: 1250px){:host ::ng-deep .capability__expanded{display:grid;grid-template-columns:1fr 1fr}}@media (min-width: 1251px){:host ::ng-deep .capability__expanded{display:grid;grid-template-columns:1fr 1fr 1fr}}:host ::ng-deep .capability__expanded--description{color:#8c8f94;font-size:16px;font-style:normal;font-weight:400;line-height:24px}:host ::ng-deep .capability__expanded--item .name{display:flex;justify-content:space-between;margin-bottom:16px}:host ::ng-deep .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}:host ::ng-deep .capability__expanded--name{color:#181818;font-size:20px;font-style:normal;font-weight:400}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: 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" }] }); }
|
|
936
|
+
}
|
|
937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityExpandComponent, decorators: [{
|
|
938
|
+
type: Component,
|
|
939
|
+
args: [{ selector: "mapa-capability-expand", imports: [CommonModule, TagComponent, MapaCapabilityDotComponent, SafeHtmlPipe], providers: [CapabilityClassificationService], standalone: true, 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: [":host ::ng-deep .capability__concept{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;gap:42px;margin:24px 0 60px}:host ::ng-deep .capability__concept--content{display:flex;flex-direction:column;flex-basis:100%;flex:1}:host ::ng-deep .capability__concept--title{color:#000;font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-bottom:8px}:host ::ng-deep .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}:host ::ng-deep .capability__expanded{border-top:1px solid #cdcdcd;padding:36px 0 16px 16px;gap:30px}@media (min-width: 800px) and (max-width: 1250px){:host ::ng-deep .capability__expanded{display:grid;grid-template-columns:1fr 1fr}}@media (min-width: 1251px){:host ::ng-deep .capability__expanded{display:grid;grid-template-columns:1fr 1fr 1fr}}:host ::ng-deep .capability__expanded--description{color:#8c8f94;font-size:16px;font-style:normal;font-weight:400;line-height:24px}:host ::ng-deep .capability__expanded--item .name{display:flex;justify-content:space-between;margin-bottom:16px}:host ::ng-deep .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}:host ::ng-deep .capability__expanded--name{color:#181818;font-size:20px;font-style:normal;font-weight:400}\n"] }]
|
|
940
|
+
}], ctorParameters: () => [{ type: CapabilityClassificationService }, { type: MapaI18nService }], propDecorators: { data: [{
|
|
941
|
+
type: Input
|
|
942
|
+
}] } });
|
|
943
|
+
|
|
944
|
+
class MapaCapabilityIndicatorComponent {
|
|
945
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
946
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaCapabilityIndicatorComponent, isStandalone: true, 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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
947
|
+
}
|
|
948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityIndicatorComponent, decorators: [{
|
|
949
|
+
type: Component,
|
|
950
|
+
args: [{ selector: "mapa-capability-indicator", imports: [CommonModule], standalone: true, 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"] }]
|
|
951
|
+
}], propDecorators: { item: [{
|
|
952
|
+
type: Input
|
|
953
|
+
}] } });
|
|
954
|
+
|
|
955
|
+
class MapaCapabilityIntervalComponent {
|
|
956
|
+
constructor() {
|
|
957
|
+
this.SVG = [
|
|
958
|
+
{ x: 0, y: 0.710938, width: 16, height: 30 },
|
|
959
|
+
{ x: 22.5039, y: 0.710938, width: 16, height: 30 },
|
|
960
|
+
{ x: 45.0078, y: 0.710938, width: 16, height: 30 },
|
|
961
|
+
{ x: 66.9629, y: 0.710938, width: 16, height: 30 },
|
|
962
|
+
{ x: 88.917, y: 0.710938, width: 16, height: 30 },
|
|
963
|
+
{ x: 110.872, y: 0.710938, width: 16, height: 30 },
|
|
964
|
+
{ x: 132.827, y: 0.710938, width: 16, height: 30 },
|
|
965
|
+
{ x: 154.782, y: 0.710938, width: 16, height: 30 },
|
|
966
|
+
{ x: 176.736, y: 0.710938, width: 16, height: 30 },
|
|
967
|
+
{ x: 199.24, y: 0.710938, width: 16, height: 30 },
|
|
968
|
+
];
|
|
969
|
+
this.hasTransform = false;
|
|
970
|
+
this.indexTransform = 0;
|
|
971
|
+
}
|
|
972
|
+
ngOnChanges(changes) {
|
|
973
|
+
const interval = this.data.interval || 0;
|
|
974
|
+
this.hasTransform = interval % 10 > 0;
|
|
975
|
+
this.indexTransform = (Math.floor(interval / 10) % 10);
|
|
976
|
+
this.paintLinear = `linear_${Md5.hashStr(`svg_${interval}`)}`;
|
|
977
|
+
}
|
|
978
|
+
ngOnInit() {
|
|
979
|
+
}
|
|
980
|
+
getWidth(index) {
|
|
981
|
+
if (!this.data)
|
|
982
|
+
return 0;
|
|
983
|
+
const interval = this.data.interval || 0;
|
|
984
|
+
const intervalMod10 = Math.floor(interval / 10) % 10;
|
|
985
|
+
return index < intervalMod10
|
|
986
|
+
? 100
|
|
987
|
+
: index === intervalMod10
|
|
988
|
+
? (interval % 10) * 10
|
|
989
|
+
: 0;
|
|
990
|
+
}
|
|
991
|
+
getFill(i) {
|
|
992
|
+
const width = this.getWidth(i);
|
|
993
|
+
if (width === 100)
|
|
994
|
+
return "#8C8F94";
|
|
995
|
+
return "#DCDCDE";
|
|
996
|
+
}
|
|
997
|
+
getFillGradient() {
|
|
998
|
+
return `url(#${this.paintLinear})`;
|
|
999
|
+
}
|
|
1000
|
+
getTransform(i) {
|
|
1001
|
+
const width = this.getWidth(i);
|
|
1002
|
+
if (width === 0 || width === 100)
|
|
1003
|
+
return "";
|
|
1004
|
+
return `rotate(-180 ${this.SVG[i].x} ${this.SVG[i].y})`;
|
|
1005
|
+
}
|
|
1006
|
+
getStartOffset() {
|
|
1007
|
+
const interval = this.data.interval || 0;
|
|
1008
|
+
return Number(`0.${interval % 10}73005`);
|
|
1009
|
+
}
|
|
1010
|
+
getStopOffset() {
|
|
1011
|
+
const interval = this.data.interval || 0;
|
|
1012
|
+
return Number(`0.${interval % 10}73105`);
|
|
1013
|
+
}
|
|
1014
|
+
getGradientX() {
|
|
1015
|
+
return Math.floor(this.SVG[this.indexTransform].x);
|
|
1016
|
+
}
|
|
1017
|
+
isSVG() {
|
|
1018
|
+
return !!this.data.classificationBg && this.data.classificationBg === "SVG";
|
|
1019
|
+
}
|
|
1020
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityIntervalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1021
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaCapabilityIntervalComponent, isStandalone: true, 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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
1022
|
+
}
|
|
1023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityIntervalComponent, decorators: [{
|
|
1024
|
+
type: Component,
|
|
1025
|
+
args: [{ selector: "mapa-capability-interval", imports: [CommonModule], standalone: true, 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"] }]
|
|
1026
|
+
}], ctorParameters: () => [], propDecorators: { data: [{
|
|
1027
|
+
type: Input
|
|
1028
|
+
}], showInterval: [{
|
|
1029
|
+
type: Input
|
|
1030
|
+
}] } });
|
|
1031
|
+
|
|
1032
|
+
class MapaCapabilityIntervalBarComponent {
|
|
1033
|
+
constructor() {
|
|
1034
|
+
this.clicked = new EventEmitter();
|
|
1035
|
+
this.isHovering = false;
|
|
1036
|
+
this.isClicked = false;
|
|
1037
|
+
}
|
|
1038
|
+
isSVG() {
|
|
1039
|
+
return !!this.data.classificationBg && this.data.classificationBg === "SVG";
|
|
1040
|
+
}
|
|
1041
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityIntervalBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1042
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaCapabilityIntervalBarComponent, isStandalone: true, 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}:host ::ng-deep .capability-interval__show-more mapa-button,:host ::ng-deep .capability-interval__show-more button{width:100%;justify-content:flex-end!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: MapaCapabilityIntervalComponent, selector: "mapa-capability-interval", inputs: ["data", "showInterval"] }] }); }
|
|
1043
|
+
}
|
|
1044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityIntervalBarComponent, decorators: [{
|
|
1045
|
+
type: Component,
|
|
1046
|
+
args: [{ selector: "mapa-capability-interval-bar", imports: [CommonModule, MapaCapabilityIntervalComponent], standalone: true, 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}:host ::ng-deep .capability-interval__show-more mapa-button,:host ::ng-deep .capability-interval__show-more button{width:100%;justify-content:flex-end!important}\n"] }]
|
|
1047
|
+
}], propDecorators: { data: [{
|
|
1048
|
+
type: Input
|
|
1049
|
+
}], expanded: [{
|
|
1050
|
+
type: Input
|
|
1051
|
+
}], showInterval: [{
|
|
1052
|
+
type: Input
|
|
1053
|
+
}], clicked: [{
|
|
1054
|
+
type: Output
|
|
1055
|
+
}] } });
|
|
1056
|
+
|
|
1057
|
+
class MapaCapabilityComparativeIndicatorComponent {
|
|
1058
|
+
getWidth(item) {
|
|
1059
|
+
return 32 + (item.interval || 0) * 2 + "px";
|
|
1060
|
+
}
|
|
1061
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityComparativeIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1062
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaCapabilityComparativeIndicatorComponent, isStandalone: true, 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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
1063
|
+
}
|
|
1064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityComparativeIndicatorComponent, decorators: [{
|
|
1065
|
+
type: Component,
|
|
1066
|
+
args: [{ selector: "mapa-capability-comparative-indicator", imports: [CommonModule], standalone: true, 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"] }]
|
|
1067
|
+
}], propDecorators: { item: [{
|
|
1068
|
+
type: Input
|
|
1069
|
+
}], fullWidth: [{
|
|
1070
|
+
type: Input
|
|
1071
|
+
}] } });
|
|
1072
|
+
|
|
1073
|
+
class MapaCapabilityComparativeChartComponent {
|
|
1074
|
+
setCleanItem(item) {
|
|
1075
|
+
return {
|
|
1076
|
+
average: item.average,
|
|
1077
|
+
interval: item.interval,
|
|
1078
|
+
classificationId: item.classificationId,
|
|
1079
|
+
classificationColor: item.classificationColor,
|
|
1080
|
+
isIndividually: item.isIndividually,
|
|
1081
|
+
};
|
|
1082
|
+
}
|
|
1083
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityComparativeChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1084
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaCapabilityComparativeChartComponent, isStandalone: true, 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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MapaCapabilityComparativeIndicatorComponent, selector: "mapa-capability-comparative-indicator", inputs: ["item", "fullWidth"] }] }); }
|
|
1085
|
+
}
|
|
1086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityComparativeChartComponent, decorators: [{
|
|
1087
|
+
type: Component,
|
|
1088
|
+
args: [{ selector: 'mapa-capability-comparative-chart', imports: [CommonModule, MapaCapabilityComparativeIndicatorComponent], standalone: true, 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"] }]
|
|
1089
|
+
}], propDecorators: { data: [{
|
|
1090
|
+
type: Input
|
|
1091
|
+
}] } });
|
|
1092
|
+
|
|
1093
|
+
class MapaCapabilityComparativeHeaderComponent {
|
|
1094
|
+
constructor(i18n) {
|
|
1095
|
+
this.i18n = i18n;
|
|
1096
|
+
}
|
|
1097
|
+
get texts() {
|
|
1098
|
+
return this.i18n.textsSignal();
|
|
1099
|
+
}
|
|
1100
|
+
get groupAverageTitle() {
|
|
1101
|
+
return this.texts.capability.groupAverageTitle;
|
|
1102
|
+
}
|
|
1103
|
+
get individualAverageTitle() {
|
|
1104
|
+
return this.texts.capability.individualAverageTitle;
|
|
1105
|
+
}
|
|
1106
|
+
getCapabilityData(item) {
|
|
1107
|
+
return {
|
|
1108
|
+
interval: item,
|
|
1109
|
+
items: [],
|
|
1110
|
+
};
|
|
1111
|
+
}
|
|
1112
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityComparativeHeaderComponent, deps: [{ token: MapaI18nService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1113
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaCapabilityComparativeHeaderComponent, isStandalone: true, 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 ></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 ></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: "ngmodule", type: CommonModule }, { kind: "component", type: MapaCapabilityIntervalComponent, selector: "mapa-capability-interval", inputs: ["data", "showInterval"] }] }); }
|
|
1114
|
+
}
|
|
1115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityComparativeHeaderComponent, decorators: [{
|
|
1116
|
+
type: Component,
|
|
1117
|
+
args: [{ selector: 'mapa-capability-comparative-header', imports: [CommonModule, MapaCapabilityIntervalComponent], standalone: true, 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 ></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 ></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"] }]
|
|
1118
|
+
}], ctorParameters: () => [{ type: MapaI18nService }], propDecorators: { data: [{
|
|
1119
|
+
type: Input
|
|
1120
|
+
}] } });
|
|
1121
|
+
|
|
1122
|
+
class MapaCapabilityComparativeComponent {
|
|
1123
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityComparativeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1124
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaCapabilityComparativeComponent, isStandalone: true, 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"] }] }); }
|
|
1125
|
+
}
|
|
1126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityComparativeComponent, decorators: [{
|
|
1127
|
+
type: Component,
|
|
1128
|
+
args: [{ selector: "mapa-capability-comparative", imports: [
|
|
1129
|
+
MapaCapabilityComparativeChartComponent,
|
|
1130
|
+
MapaCapabilityComparativeHeaderComponent,
|
|
1131
|
+
], standalone: true, 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"] }]
|
|
1132
|
+
}], propDecorators: { data: [{
|
|
1133
|
+
type: Input
|
|
1134
|
+
}] } });
|
|
1135
|
+
|
|
1136
|
+
class MapaCapabilityDetailComponent {
|
|
1137
|
+
constructor(classification) {
|
|
1138
|
+
this.classification = classification;
|
|
1139
|
+
this.expanded = new Set();
|
|
1140
|
+
this.showTagInterval = true;
|
|
1141
|
+
}
|
|
1142
|
+
ngOnInit() {
|
|
1143
|
+
this.syncExpandedState();
|
|
1144
|
+
}
|
|
1145
|
+
ngAfterViewInit() {
|
|
1146
|
+
this.syncExpandedState();
|
|
1147
|
+
}
|
|
1148
|
+
ngOnChanges(changes) {
|
|
1149
|
+
if (changes["data"] || changes["isExpanded"]) {
|
|
1150
|
+
this.syncExpandedState();
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
syncExpandedState() {
|
|
1154
|
+
if (this.isExpanded) {
|
|
1155
|
+
this.expanded = new Set(this.data.map((_, i) => i));
|
|
1156
|
+
this.accordion?.openAll();
|
|
1157
|
+
return;
|
|
1158
|
+
}
|
|
1159
|
+
this.expanded.clear();
|
|
1160
|
+
this.accordion?.closeAll();
|
|
1161
|
+
}
|
|
1162
|
+
sortItemsByinterval(items) {
|
|
1163
|
+
return [...(items ?? [])].sort((a, b) => (b.interval ?? 0) - (a.interval ?? 0));
|
|
1164
|
+
}
|
|
1165
|
+
showMore(index) {
|
|
1166
|
+
if (this.expanded.has(index)) {
|
|
1167
|
+
this.expanded.delete(index);
|
|
1168
|
+
}
|
|
1169
|
+
else {
|
|
1170
|
+
this.expanded.add(index);
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
toggleAll() {
|
|
1174
|
+
if (this.expanded.size === this.data.length) {
|
|
1175
|
+
this.expanded.clear();
|
|
1176
|
+
this.accordion.closeAll();
|
|
1177
|
+
}
|
|
1178
|
+
else {
|
|
1179
|
+
this.expanded = new Set(this.data.map((_, i) => i));
|
|
1180
|
+
this.accordion.openAll();
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
createTag(item) {
|
|
1184
|
+
return {
|
|
1185
|
+
bgColor: item.classificationBg || "",
|
|
1186
|
+
fontSize: item.classificationFontSize || "",
|
|
1187
|
+
size: "small",
|
|
1188
|
+
};
|
|
1189
|
+
}
|
|
1190
|
+
isSVG(item) {
|
|
1191
|
+
return !!item.classificationBg && item.classificationBg === "SVG";
|
|
1192
|
+
}
|
|
1193
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityDetailComponent, deps: [{ token: CapabilityClassificationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1194
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.18", type: MapaCapabilityDetailComponent, isStandalone: true, selector: "mapa-capability-detail", inputs: { data: "data", showTags: "showTags", showProgressBar: "showProgressBar", showInterval: "showInterval", isExpanded: "isExpanded" }, providers: [CapabilityClassificationService], viewQueries: [{ propertyName: "accordion", first: true, predicate: ["detailAccordion"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<mat-accordion class=\"capability-detail\" #detailAccordion=\"matAccordion\" multi>\n @for (capability of data; track capability; let i = $index) {\n <mat-expansion-panel [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 @if (showTags) {\n <span class=\"capability__item--title-tag\">\n <mapa-tag [tag]=\"createTag(capability)\">\n @if (capability.classificationColor) {\n <mapa-capability-dot\n [item]=\"capability\"\n [capability]=\"capability\"\n ></mapa-capability-dot>\n }\n {{ capability.classificationName }}\n </mapa-tag>\n </span>\n }\n </div>\n\n @if (isSVG(capability)) {\n <div class=\"capability__item--dots\">\n @for (item of sortItemsByinterval(capability.items); track item) {\n <mapa-capability-dot\n type=\"small\"\n [item]=\"item\"\n [capability]=\"capability\"\n [tooltip]=\"true\"\n ></mapa-capability-dot>\n }\n </div>\n }\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 ></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 }\n</mat-accordion>\n", styles: [":host ::ng-deep .capability-detail .mat-expansion-panel{border-radius:0!important}:host ::ng-deep .capability-detail .mat-expansion-panel-spacing{margin:unset!important}:host ::ng-deep .capability-detail .mat-expansion-panel:last-of-type{border-bottom-right-radius:16px!important;border-bottom-left-radius:16px!important}:host ::ng-deep .capability-detail .mat-expansion-panel:first-of-type{border-top-right-radius:16px!important;border-top-left-radius:16px!important}:host ::ng-deep .capability-detail .mat-expansion-panel-header{height:unset!important;padding:16px 24px!important}:host ::ng-deep .capability{border-radius:16px}:host ::ng-deep .capability h1{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400;line-height:40px}:host ::ng-deep .capability__core{border:1px solid #DCDCDE;border-radius:16px;background-color:#fff}:host ::ng-deep .capability__item{padding:24px;position:relative}:host ::ng-deep .capability__item:hover{box-shadow:0 4px 4px #00000021}:host ::ng-deep .capability__item:not(:only-child){border-bottom:1px solid #dcdcde}:host ::ng-deep .capability__item:first-child{border-radius:16px 16px 0 0}:host ::ng-deep .capability__item:last-child{border-bottom:unset;border-radius:0 0 16px 16px}:host ::ng-deep .capability__item--hide{opacity:0;max-height:0;height:0}:host ::ng-deep .capability__item--hide>*{display:none!important;opacity:0!important;max-height:0!important;height:0!important;margin:0!important;padding:0!important;flex:0}:host ::ng-deep .capability__item--show{opacity:1;max-height:100%;height:100%}:host ::ng-deep .capability__item--header{display:flex;align-items:center;justify-content:space-between;height:75px;width:98%}:host ::ng-deep .capability__item--title{display:flex;align-items:center;white-space:nowrap}:host ::ng-deep .capability__item--title-tag{margin-left:34px}:host ::ng-deep .capability__item--title-dots{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:72px}:host ::ng-deep .capability__item--title-dots .display-L{margin-bottom:10px}:host ::ng-deep .capability__item--dots{display:flex}:host ::ng-deep .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: "ngmodule", type: CommonModule }, { kind: "component", type: TagComponent, selector: "mapa-tag", inputs: ["tag"] }, { kind: "ngmodule", type: MatExpansionModule }, { kind: "directive", type: i2.MatAccordion, selector: "mat-accordion", inputs: ["hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i2.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i2.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1195
|
+
}
|
|
1196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityDetailComponent, decorators: [{
|
|
1197
|
+
type: Component,
|
|
1198
|
+
args: [{ selector: "mapa-capability-detail", changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
1199
|
+
CommonModule,
|
|
1200
|
+
TagComponent,
|
|
1201
|
+
MatExpansionModule,
|
|
1202
|
+
MapaCapabilityDotComponent,
|
|
1203
|
+
MapaCapabilityIntervalBarComponent,
|
|
1204
|
+
MapaCapabilityExpandComponent,
|
|
1205
|
+
], providers: [CapabilityClassificationService], standalone: true, template: "<mat-accordion class=\"capability-detail\" #detailAccordion=\"matAccordion\" multi>\n @for (capability of data; track capability; let i = $index) {\n <mat-expansion-panel [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 @if (showTags) {\n <span class=\"capability__item--title-tag\">\n <mapa-tag [tag]=\"createTag(capability)\">\n @if (capability.classificationColor) {\n <mapa-capability-dot\n [item]=\"capability\"\n [capability]=\"capability\"\n ></mapa-capability-dot>\n }\n {{ capability.classificationName }}\n </mapa-tag>\n </span>\n }\n </div>\n\n @if (isSVG(capability)) {\n <div class=\"capability__item--dots\">\n @for (item of sortItemsByinterval(capability.items); track item) {\n <mapa-capability-dot\n type=\"small\"\n [item]=\"item\"\n [capability]=\"capability\"\n [tooltip]=\"true\"\n ></mapa-capability-dot>\n }\n </div>\n }\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 ></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 }\n</mat-accordion>\n", styles: [":host ::ng-deep .capability-detail .mat-expansion-panel{border-radius:0!important}:host ::ng-deep .capability-detail .mat-expansion-panel-spacing{margin:unset!important}:host ::ng-deep .capability-detail .mat-expansion-panel:last-of-type{border-bottom-right-radius:16px!important;border-bottom-left-radius:16px!important}:host ::ng-deep .capability-detail .mat-expansion-panel:first-of-type{border-top-right-radius:16px!important;border-top-left-radius:16px!important}:host ::ng-deep .capability-detail .mat-expansion-panel-header{height:unset!important;padding:16px 24px!important}:host ::ng-deep .capability{border-radius:16px}:host ::ng-deep .capability h1{font-family:var(--mapa-font-heading, \"Asap\", \"Inter\", sans-serif);font-size:32px;font-style:normal;font-weight:400;line-height:40px}:host ::ng-deep .capability__core{border:1px solid #DCDCDE;border-radius:16px;background-color:#fff}:host ::ng-deep .capability__item{padding:24px;position:relative}:host ::ng-deep .capability__item:hover{box-shadow:0 4px 4px #00000021}:host ::ng-deep .capability__item:not(:only-child){border-bottom:1px solid #dcdcde}:host ::ng-deep .capability__item:first-child{border-radius:16px 16px 0 0}:host ::ng-deep .capability__item:last-child{border-bottom:unset;border-radius:0 0 16px 16px}:host ::ng-deep .capability__item--hide{opacity:0;max-height:0;height:0}:host ::ng-deep .capability__item--hide>*{display:none!important;opacity:0!important;max-height:0!important;height:0!important;margin:0!important;padding:0!important;flex:0}:host ::ng-deep .capability__item--show{opacity:1;max-height:100%;height:100%}:host ::ng-deep .capability__item--header{display:flex;align-items:center;justify-content:space-between;height:75px;width:98%}:host ::ng-deep .capability__item--title{display:flex;align-items:center;white-space:nowrap}:host ::ng-deep .capability__item--title-tag{margin-left:34px}:host ::ng-deep .capability__item--title-dots{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:72px}:host ::ng-deep .capability__item--title-dots .display-L{margin-bottom:10px}:host ::ng-deep .capability__item--dots{display:flex}:host ::ng-deep .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"] }]
|
|
1206
|
+
}], ctorParameters: () => [{ type: CapabilityClassificationService }], propDecorators: { data: [{
|
|
1207
|
+
type: Input
|
|
1208
|
+
}], showTags: [{
|
|
1209
|
+
type: Input
|
|
1210
|
+
}], showProgressBar: [{
|
|
1211
|
+
type: Input
|
|
1212
|
+
}], showInterval: [{
|
|
1213
|
+
type: Input
|
|
1214
|
+
}], isExpanded: [{
|
|
1215
|
+
type: Input
|
|
1216
|
+
}], accordion: [{
|
|
1217
|
+
type: ViewChild,
|
|
1218
|
+
args: ["detailAccordion"]
|
|
1219
|
+
}] } });
|
|
1220
|
+
|
|
1221
|
+
class MapaCapabilityIndicatorListComponent {
|
|
1222
|
+
constructor(i18n) {
|
|
1223
|
+
this.i18n = i18n;
|
|
1224
|
+
this.dataPositive = [];
|
|
1225
|
+
this.dataNegative = [];
|
|
1226
|
+
this.dataRiskPrecipitation = [];
|
|
1227
|
+
this.dataRiskNegligence = [];
|
|
1228
|
+
}
|
|
1229
|
+
get texts() {
|
|
1230
|
+
return this.i18n.textsSignal();
|
|
1231
|
+
}
|
|
1232
|
+
get positiveIndicatorsTitle() {
|
|
1233
|
+
return this.texts.capability.positiveIndicatorsTitle;
|
|
1234
|
+
}
|
|
1235
|
+
get negativeIndicatorsTitle() {
|
|
1236
|
+
return this.texts.capability.negativeIndicatorsTitle;
|
|
1237
|
+
}
|
|
1238
|
+
get riskIndicatorsTitle() {
|
|
1239
|
+
return this.texts.capability.riskIndicatorsTitle;
|
|
1240
|
+
}
|
|
1241
|
+
get precipitationRiskTitle() {
|
|
1242
|
+
return this.texts.capability.precipitationRiskTitle;
|
|
1243
|
+
}
|
|
1244
|
+
get negligenceRiskTitle() {
|
|
1245
|
+
return this.texts.capability.negligenceRiskTitle;
|
|
1246
|
+
}
|
|
1247
|
+
ngOnInit() {
|
|
1248
|
+
this.buildIndicatorGroups();
|
|
1249
|
+
}
|
|
1250
|
+
ngOnChanges(changes) {
|
|
1251
|
+
if (changes["data"]) {
|
|
1252
|
+
this.buildIndicatorGroups();
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
buildIndicatorGroups() {
|
|
1256
|
+
this.dataPositive = this.data.filter((item) => item.direction === "Positiva" && !item.risk);
|
|
1257
|
+
this.dataNegative = this.data.filter((item) => item.direction === "Negativa" && !item.risk);
|
|
1258
|
+
this.dataRiskPrecipitation = this.data.filter((item) => item.risk === true && item.precipitation === true);
|
|
1259
|
+
this.dataRiskNegligence = this.data.filter((item) => item.risk === true && item.negligence === true);
|
|
1260
|
+
}
|
|
1261
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityIndicatorListComponent, deps: [{ token: MapaI18nService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1262
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaCapabilityIndicatorListComponent, isStandalone: true, 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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MapaCapabilityIndicatorComponent, selector: "mapa-capability-indicator", inputs: ["item"] }] }); }
|
|
1263
|
+
}
|
|
1264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityIndicatorListComponent, decorators: [{
|
|
1265
|
+
type: Component,
|
|
1266
|
+
args: [{ selector: "mapa-capability-indicator-list", imports: [CommonModule, MapaCapabilityIndicatorComponent], standalone: true, 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"] }]
|
|
1267
|
+
}], ctorParameters: () => [{ type: MapaI18nService }], propDecorators: { data: [{
|
|
1268
|
+
type: Input
|
|
1269
|
+
}] } });
|
|
1270
|
+
|
|
1271
|
+
class MapaCapabilityIndicatorChartComponent {
|
|
1272
|
+
constructor(classification) {
|
|
1273
|
+
this.classification = classification;
|
|
1274
|
+
}
|
|
1275
|
+
setUnlabeledItem(item) {
|
|
1276
|
+
return {
|
|
1277
|
+
classificationId: item.classificationId,
|
|
1278
|
+
classificationColor: item.classificationColor,
|
|
1279
|
+
interval: item.interval,
|
|
1280
|
+
};
|
|
1281
|
+
}
|
|
1282
|
+
getWidth(item) {
|
|
1283
|
+
const minWidth = 42;
|
|
1284
|
+
const interval = (item.interval || 0);
|
|
1285
|
+
if (interval < 10)
|
|
1286
|
+
return minWidth + 'px';
|
|
1287
|
+
return interval + '%';
|
|
1288
|
+
}
|
|
1289
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityIndicatorChartComponent, deps: [{ token: CapabilityClassificationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1290
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: MapaCapabilityIndicatorChartComponent, isStandalone: true, selector: "mapa-capability-indicator-chart", inputs: { data: "data" }, providers: [CapabilityClassificationService], 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: [":host ::ng-deep .indicator-chart{width:100%;border-collapse:collapse}:host ::ng-deep .indicator-chart tr:first-child{border-top:unset!important}:host ::ng-deep .indicator-chart tr:last-child{border-bottom:unset!important}:host ::ng-deep .indicator-chart__column{padding:0;font-size:14px!important}:host ::ng-deep .indicator-chart__column--description{padding-right:24px;width:20%!important}:host ::ng-deep .indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important}:host ::ng-deep .indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}:host ::ng-deep .indicator-chart__column--positive .indicator__classification{margin-right:1px!important}:host ::ng-deep .indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}:host ::ng-deep .indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}:host ::ng-deep .indicator-chart__column--negative .indicator__classification{margin-left:1px!important}:host ::ng-deep .indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}:host ::ng-deep .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: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: MapaCapabilityIndicatorComponent, selector: "mapa-capability-indicator", inputs: ["item"] }] }); }
|
|
1291
|
+
}
|
|
1292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: MapaCapabilityIndicatorChartComponent, decorators: [{
|
|
1293
|
+
type: Component,
|
|
1294
|
+
args: [{ selector: "mapa-capability-indicator-chart", imports: [CommonModule, MapaCapabilityIndicatorComponent], providers: [CapabilityClassificationService], standalone: true, 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: [":host ::ng-deep .indicator-chart{width:100%;border-collapse:collapse}:host ::ng-deep .indicator-chart tr:first-child{border-top:unset!important}:host ::ng-deep .indicator-chart tr:last-child{border-bottom:unset!important}:host ::ng-deep .indicator-chart__column{padding:0;font-size:14px!important}:host ::ng-deep .indicator-chart__column--description{padding-right:24px;width:20%!important}:host ::ng-deep .indicator-chart__column--positive{display:flex;border-spacing:0px;padding:8px 0!important}:host ::ng-deep .indicator-chart__column--positive .indicator{border-radius:0 18px 18px 0!important;padding:2px!important;justify-content:flex-end!important}:host ::ng-deep .indicator-chart__column--positive .indicator__classification{margin-right:1px!important}:host ::ng-deep .indicator-chart__column--negative{display:flex;justify-content:flex-end;border-spacing:0px;padding:8px 0!important}:host ::ng-deep .indicator-chart__column--negative .indicator{border-radius:18px 0 0 18px!important;justify-content:flex-start!important;padding:2px!important}:host ::ng-deep .indicator-chart__column--negative .indicator__classification{margin-left:1px!important}:host ::ng-deep .indicator-chart__column--left{width:40%;border-bottom:1px solid #dcdcde}:host ::ng-deep .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"] }]
|
|
1295
|
+
}], ctorParameters: () => [{ type: CapabilityClassificationService }], propDecorators: { data: [{
|
|
1296
|
+
type: Input
|
|
1297
|
+
}] } });
|
|
1298
|
+
|
|
1299
|
+
/*
|
|
1300
|
+
* Public API Surface of mapa-library-ui capability-detail
|
|
1301
|
+
*/
|
|
1302
|
+
|
|
1303
|
+
/*
|
|
1304
|
+
* Public API Surface of mapa-library-ui capability
|
|
1305
|
+
*/
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Generated bundle index. Do not edit.
|
|
1309
|
+
*/
|
|
1310
|
+
|
|
1311
|
+
export { ButtonComponent, CapabilityClassificationService, IconComponent, MapaCapabilityComparativeChartComponent, MapaCapabilityComparativeComponent, MapaCapabilityComparativeHeaderComponent, MapaCapabilityDetailComponent, MapaCapabilityDotComponent, MapaCapabilityExpandComponent, MapaCapabilityIndicatorChartComponent, MapaCapabilityIndicatorComponent, MapaCapabilityIndicatorListComponent, MapaCapabilityIntervalBarComponent, MapaCapabilityIntervalComponent, MapaDropdownComponent, MapaTooltipComponent, MapaTooltipDirective, buildDetailedIndicatorSections, buildIndicatorCollections, normalizeLookup, normalizeText };
|
|
1312
|
+
//# sourceMappingURL=mapa-library-ui-src-lib-components-capability.mjs.map
|