@rededor/site-front-end-lib 20.0.27 → 20.0.28
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/components/algolia-dropdown/index.d.ts +38 -0
- package/components/algolia-search/index.d.ts +304 -0
- package/components/banner/index.d.ts +20 -0
- package/components/breadcrumbs/index.d.ts +42 -0
- package/components/cards/index.d.ts +102 -0
- package/components/carousels/index.d.ts +28 -0
- package/components/cta-wrapper/index.d.ts +33 -0
- package/components/error/index.d.ts +47 -0
- package/components/filter-letter-and-terms/index.d.ts +38 -0
- package/components/filters/filter-generic/index.d.ts +70 -0
- package/components/filters/filter-planos-convenios/index.d.ts +41 -0
- package/components/footer/index.d.ts +44 -0
- package/components/header/components/action/index.d.ts +17 -0
- package/components/header/components/auxiliar/index.d.ts +31 -0
- package/components/header/components/main/index.d.ts +72 -0
- package/components/header/components/side/index.d.ts +35 -0
- package/components/header/index.d.ts +63 -0
- package/components/header/services/index.d.ts +14 -0
- package/components/image/index.d.ts +23 -0
- package/components/load-screen/index.d.ts +14 -0
- package/components/modal/index.d.ts +28 -0
- package/components/modal-drawer/index.d.ts +46 -0
- package/components/overlay/index.d.ts +10 -0
- package/components/page-header/index.d.ts +30 -0
- package/components/page-template-fullcontent/index.d.ts +17 -0
- package/components/page-template-sidebar/index.d.ts +20 -0
- package/components/pagination/index.d.ts +30 -0
- package/components/search/index.d.ts +45 -0
- package/components/section-navigation/index.d.ts +45 -0
- package/components/side-ctas/index.d.ts +70 -0
- package/components/sidebar-navigation/index.d.ts +40 -0
- package/components/sticky-navigation/index.d.ts +42 -0
- package/components/whatsapp/index.d.ts +27 -0
- package/core/index.d.ts +2049 -0
- package/cura/accordion/index.d.ts +120 -0
- package/cura/api/index.d.ts +359 -0
- package/cura/badges/cura-badge-counter/index.d.ts +38 -0
- package/cura/badges/cura-badge-distance/index.d.ts +21 -0
- package/cura/badges/cura-badge-dot/index.d.ts +29 -0
- package/cura/badges/cura-badge-pill/index.d.ts +42 -0
- package/cura/badges/index.d.ts +5 -0
- package/cura/buttons/cura-button/index.d.ts +90 -0
- package/cura/buttons/cura-button-outline/index.d.ts +90 -0
- package/cura/buttons/cura-button-select/index.d.ts +39 -0
- package/cura/buttons/cura-button-transparent/index.d.ts +87 -0
- package/cura/buttons/index.d.ts +15 -0
- package/cura/cards/cura-card/index.d.ts +49 -0
- package/cura/feedback/cura-alert/index.d.ts +55 -0
- package/cura/feedback/cura-modal/index.d.ts +97 -0
- package/cura/feedback/cura-toast/index.d.ts +104 -0
- package/cura/forms/cura-checkbox/index.d.ts +157 -0
- package/cura/forms/cura-input-text/index.d.ts +236 -0
- package/cura/forms/cura-label/index.d.ts +47 -0
- package/cura/forms/cura-radio/index.d.ts +148 -0
- package/cura/forms/cura-select/index.d.ts +155 -0
- package/cura/forms/cura-select-option/index.d.ts +54 -0
- package/cura/forms/cura-select-state/index.d.ts +72 -0
- package/cura/forms/cura-switch/index.d.ts +113 -0
- package/cura/forms/cura-textarea/index.d.ts +113 -0
- package/cura/forms/index.d.ts +20 -0
- package/cura/icons/cura-icon/index.d.ts +46 -0
- package/cura/loaders/cura-loader-bar/index.d.ts +22 -0
- package/cura/loaders/cura-loader-circle/index.d.ts +24 -0
- package/cura/texts/cura-display/index.d.ts +54 -0
- package/cura/texts/cura-heading/index.d.ts +65 -0
- package/cura/texts/cura-paragraph/index.d.ts +54 -0
- package/cura/texts/index.d.ts +7 -0
- package/enums/index.d.ts +177 -0
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs +108 -0
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +604 -0
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +44 -0
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +120 -0
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +178 -0
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +75 -0
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +78 -0
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs +176 -0
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs +93 -0
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +245 -0
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +139 -0
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +199 -0
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +34 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +62 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +167 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +71 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs +50 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs +416 -0
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs +48 -0
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +30 -0
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +145 -0
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +82 -0
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs +24 -0
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +52 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs +27 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs +30 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +55 -0
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs +119 -0
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +141 -0
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs +118 -0
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +109 -0
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +120 -0
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +49 -0
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-core.mjs +1812 -0
- package/fesm2022/rededor-site-front-end-lib-core.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs +252 -0
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs +643 -0
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs +90 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs +55 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs +66 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs +91 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs +4 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +170 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +135 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +161 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +170 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs +13 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +72 -0
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs +90 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs +105 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs +198 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs +258 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs +587 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs +82 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs +243 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs +89 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs +123 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +389 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs +182 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs +209 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs +21 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs +88 -0
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs +44 -0
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs +49 -0
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs +84 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs +104 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs +89 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs +4 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-enums.mjs +188 -0
- package/fesm2022/rededor-site-front-end-lib-enums.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs +74 -0
- package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs +41 -0
- package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs +88 -0
- package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs +52 -0
- package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs +49 -0
- package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs +40 -0
- package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-shared.mjs +110 -0
- package/fesm2022/rededor-site-front-end-lib-shared.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib.mjs +11 -0
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -0
- package/index.d.ts +3 -0
- package/package.json +312 -9
- package/services/algolia/index.d.ts +18 -0
- package/services/algolia-search-api/index.d.ts +17 -0
- package/services/ngu-carousel/index.d.ts +16 -0
- package/services/ssr-loading/index.d.ts +14 -0
- package/services/transfer-state/index.d.ts +13 -0
- package/services/youtube/index.d.ts +13 -0
- package/shared/index.d.ts +40 -0
- package/CHANGELOG.md +0 -828
- package/components/algolia-dropdown/algolia-dropdown.component.html +0 -19
- package/components/algolia-dropdown/algolia-dropdown.component.scss +0 -0
- package/components/algolia-dropdown/algolia-dropdown.component.spec.ts +0 -22
- package/components/algolia-dropdown/algolia-dropdown.component.ts +0 -103
- package/components/algolia-dropdown/index.ts +0 -1
- package/components/algolia-dropdown/ng-package.json +0 -6
- package/components/algolia-dropdown/public-api.ts +0 -1
- package/components/algolia-search/components/algolia-search/algolia-search.component.html +0 -96
- package/components/algolia-search/components/algolia-search/algolia-search.component.scss +0 -588
- package/components/algolia-search/components/algolia-search/algolia-search.component.spec.ts +0 -21
- package/components/algolia-search/components/algolia-search/algolia-search.component.ts +0 -415
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.html +0 -23
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.scss +0 -5
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.spec.ts +0 -22
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.ts +0 -90
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.html +0 -70
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.scss +0 -27
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.spec.ts +0 -21
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.ts +0 -77
- package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.html +0 -6
- package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.scss +0 -0
- package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.spec.ts +0 -21
- package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.ts +0 -90
- package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.html +0 -1
- package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.scss +0 -0
- package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.spec.ts +0 -21
- package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.ts +0 -9
- package/components/algolia-search/index.ts +0 -1
- package/components/algolia-search/models/algolia-component-style.enum.ts +0 -4
- package/components/algolia-search/models/algolia-config.model.ts +0 -8
- package/components/algolia-search/models/algolia-hint.model.ts +0 -4
- package/components/algolia-search/models/algolia-hit-description.model.ts +0 -6
- package/components/algolia-search/models/algolia-multiple-index.model.ts +0 -7
- package/components/algolia-search/models/algolia-results-item.model.ts +0 -8
- package/components/algolia-search/models/algolia-results-multiple.model.ts +0 -6
- package/components/algolia-search/models/algolia-search-params.model.ts +0 -83
- package/components/algolia-search/ng-package.json +0 -6
- package/components/algolia-search/public-api.ts +0 -13
- package/components/banner/content-banner/content-banner.component.html +0 -51
- package/components/banner/content-banner/content-banner.component.scss +0 -91
- package/components/banner/content-banner/content-banner.component.spec.ts +0 -27
- package/components/banner/content-banner/content-banner.component.ts +0 -36
- package/components/banner/index.ts +0 -1
- package/components/banner/ng-package.json +0 -6
- package/components/banner/public-api.ts +0 -1
- package/components/breadcrumbs/breadcrumbs.component.html +0 -56
- package/components/breadcrumbs/breadcrumbs.component.scss +0 -55
- package/components/breadcrumbs/breadcrumbs.component.spec.ts +0 -22
- package/components/breadcrumbs/breadcrumbs.component.ts +0 -142
- package/components/breadcrumbs/index.ts +0 -1
- package/components/breadcrumbs/ng-package.json +0 -6
- package/components/breadcrumbs/public-api.ts +0 -1
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.html +0 -91
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.scss +0 -143
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.spec.ts +0 -22
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.ts +0 -66
- package/components/cards/expandable-card/expandable-card.component.html +0 -30
- package/components/cards/expandable-card/expandable-card.component.scss +0 -100
- package/components/cards/expandable-card/expandable-card.component.spec.ts +0 -27
- package/components/cards/expandable-card/expandable-card.component.ts +0 -60
- package/components/cards/index.ts +0 -1
- package/components/cards/ng-package.json +0 -6
- package/components/cards/public-api.ts +0 -3
- package/components/cards/testimonial-card/testimonial-card.component.html +0 -41
- package/components/cards/testimonial-card/testimonial-card.component.scss +0 -96
- package/components/cards/testimonial-card/testimonial-card.component.spec.ts +0 -27
- package/components/cards/testimonial-card/testimonial-card.component.ts +0 -65
- package/components/carousels/index.ts +0 -1
- package/components/carousels/ng-package.json +0 -6
- package/components/carousels/public-api.ts +0 -1
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.html +0 -30
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.scss +0 -91
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.spec.ts +0 -27
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.ts +0 -73
- package/components/cta-wrapper/cta-wrapper.component.html +0 -54
- package/components/cta-wrapper/cta-wrapper.component.scss +0 -123
- package/components/cta-wrapper/cta-wrapper.component.spec.ts +0 -22
- package/components/cta-wrapper/cta-wrapper.component.ts +0 -77
- package/components/cta-wrapper/index.ts +0 -1
- package/components/cta-wrapper/ng-package.json +0 -6
- package/components/cta-wrapper/public-api.ts +0 -1
- package/components/error/error.component.html +0 -65
- package/components/error/error.component.scss +0 -26
- package/components/error/error.component.spec.ts +0 -22
- package/components/error/error.component.ts +0 -182
- package/components/error/index.ts +0 -1
- package/components/error/ng-package.json +0 -6
- package/components/error/public-api.ts +0 -1
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.html +0 -33
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.scss +0 -98
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.spec.ts +0 -22
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.ts +0 -87
- package/components/filter-letter-and-terms/index.ts +0 -1
- package/components/filter-letter-and-terms/ng-package.json +0 -6
- package/components/filter-letter-and-terms/public-api.ts +0 -1
- package/components/filters/filter-generic/USAGE.md +0 -147
- package/components/filters/filter-generic/filter-generic.component.html +0 -174
- package/components/filters/filter-generic/filter-generic.component.scss +0 -266
- package/components/filters/filter-generic/filter-generic.component.spec.ts +0 -21
- package/components/filters/filter-generic/filter-generic.component.ts +0 -266
- package/components/filters/filter-generic/index.ts +0 -1
- package/components/filters/filter-generic/ng-package.json +0 -6
- package/components/filters/filter-generic/public-api.ts +0 -1
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.html +0 -76
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.scss +0 -84
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.spec.ts +0 -21
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.ts +0 -149
- package/components/filters/filter-planos-convenios/index.ts +0 -1
- package/components/filters/filter-planos-convenios/ng-package.json +0 -6
- package/components/filters/filter-planos-convenios/public-api.ts +0 -1
- package/components/footer/footer.component.html +0 -125
- package/components/footer/footer.component.scss +0 -451
- package/components/footer/footer.component.spec.ts +0 -22
- package/components/footer/footer.component.ts +0 -94
- package/components/footer/helpers/footerTheme.func.ts +0 -119
- package/components/footer/index.ts +0 -1
- package/components/footer/models/FooterTheme.model.ts +0 -8
- package/components/footer/ng-package.json +0 -6
- package/components/footer/public-api.ts +0 -1
- package/components/header/components/action/header-action-menu/header-action-menu.component.html +0 -41
- package/components/header/components/action/header-action-menu/header-action-menu.component.scss +0 -158
- package/components/header/components/action/header-action-menu/header-action-menu.component.spec.ts +0 -22
- package/components/header/components/action/header-action-menu/header-action-menu.component.ts +0 -30
- package/components/header/components/action/index.ts +0 -1
- package/components/header/components/action/ng-package.json +0 -6
- package/components/header/components/action/public-api.ts +0 -1
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.html +0 -33
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.scss +0 -60
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.spec.ts +0 -22
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.ts +0 -46
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.html +0 -7
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.scss +0 -27
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.spec.ts +0 -22
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.ts +0 -19
- package/components/header/components/auxiliar/index.ts +0 -1
- package/components/header/components/auxiliar/ng-package.json +0 -6
- package/components/header/components/auxiliar/public-api.ts +0 -2
- package/components/header/components/header-logo/header-logo.component.html +0 -5
- package/components/header/components/header-logo/header-logo.component.scss +0 -20
- package/components/header/components/header-logo/header-logo.component.spec.ts +0 -22
- package/components/header/components/header-logo/header-logo.component.ts +0 -23
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.html +0 -30
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.scss +0 -53
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.spec.ts +0 -22
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.ts +0 -88
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.html +0 -112
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.scss +0 -259
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.spec.ts +0 -22
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.ts +0 -107
- package/components/header/components/main/index.ts +0 -1
- package/components/header/components/main/ng-package.json +0 -6
- package/components/header/components/main/public-api.ts +0 -2
- package/components/header/components/side/header-side-menu/header-side-menu.component.html +0 -32
- package/components/header/components/side/header-side-menu/header-side-menu.component.scss +0 -81
- package/components/header/components/side/header-side-menu/header-side-menu.component.spec.ts +0 -22
- package/components/header/components/side/header-side-menu/header-side-menu.component.ts +0 -29
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.html +0 -26
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.scss +0 -104
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.spec.ts +0 -22
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.ts +0 -45
- package/components/header/components/side/index.ts +0 -1
- package/components/header/components/side/ng-package.json +0 -6
- package/components/header/components/side/public-api.ts +0 -2
- package/components/header/header.component.html +0 -81
- package/components/header/header.component.scss +0 -171
- package/components/header/header.component.spec.ts +0 -22
- package/components/header/header.component.ts +0 -135
- package/components/header/helpers/headerTheme.func.ts +0 -288
- package/components/header/index.ts +0 -1
- package/components/header/models/HeaderTheme.model.ts +0 -9
- package/components/header/ng-package.json +0 -6
- package/components/header/public-api.ts +0 -2
- package/components/header/services/header.service.spec.ts +0 -16
- package/components/header/services/header.service.ts +0 -40
- package/components/header/services/index.ts +0 -1
- package/components/header/services/ng-package.json +0 -6
- package/components/header/services/public-api.ts +0 -1
- package/components/image/image.component.html +0 -9
- package/components/image/image.component.scss +0 -12
- package/components/image/image.component.spec.ts +0 -22
- package/components/image/image.component.ts +0 -43
- package/components/image/index.ts +0 -1
- package/components/image/ng-package.json +0 -6
- package/components/image/public-api.ts +0 -1
- package/components/load-screen/index.ts +0 -1
- package/components/load-screen/load-screen.component.html +0 -128
- package/components/load-screen/load-screen.component.scss +0 -46
- package/components/load-screen/load-screen.component.spec.ts +0 -27
- package/components/load-screen/load-screen.component.ts +0 -18
- package/components/load-screen/ng-package.json +0 -6
- package/components/load-screen/public-api.ts +0 -1
- package/components/modal/index.ts +0 -1
- package/components/modal/modal.component.html +0 -12
- package/components/modal/modal.component.scss +0 -34
- package/components/modal/modal.component.spec.ts +0 -22
- package/components/modal/modal.component.ts +0 -74
- package/components/modal/ng-package.json +0 -6
- package/components/modal/public-api.ts +0 -1
- package/components/modal-drawer/index.ts +0 -1
- package/components/modal-drawer/modal-drawer.component.html +0 -22
- package/components/modal-drawer/modal-drawer.component.scss +0 -250
- package/components/modal-drawer/modal-drawer.component.spec.ts +0 -22
- package/components/modal-drawer/modal-drawer.component.ts +0 -148
- package/components/modal-drawer/ng-package.json +0 -6
- package/components/modal-drawer/public-api.ts +0 -1
- package/components/overlay/index.ts +0 -1
- package/components/overlay/ng-package.json +0 -6
- package/components/overlay/overlay.component.html +0 -1
- package/components/overlay/overlay.component.scss +0 -13
- package/components/overlay/overlay.component.spec.ts +0 -22
- package/components/overlay/overlay.component.ts +0 -15
- package/components/overlay/public-api.ts +0 -1
- package/components/page-header/index.ts +0 -1
- package/components/page-header/ng-package.json +0 -6
- package/components/page-header/page-header.component.html +0 -25
- package/components/page-header/page-header.component.scss +0 -110
- package/components/page-header/page-header.component.spec.ts +0 -22
- package/components/page-header/page-header.component.ts +0 -41
- package/components/page-header/public-api.ts +0 -1
- package/components/page-template-fullcontent/index.ts +0 -1
- package/components/page-template-fullcontent/ng-package.json +0 -6
- package/components/page-template-fullcontent/page-template-fullcontent.component.html +0 -37
- package/components/page-template-fullcontent/page-template-fullcontent.component.scss +0 -41
- package/components/page-template-fullcontent/page-template-fullcontent.component.ts +0 -22
- package/components/page-template-fullcontent/public-api.ts +0 -1
- package/components/page-template-sidebar/index.ts +0 -1
- package/components/page-template-sidebar/ng-package.json +0 -6
- package/components/page-template-sidebar/page-template-sidebar.component.html +0 -50
- package/components/page-template-sidebar/page-template-sidebar.component.scss +0 -80
- package/components/page-template-sidebar/page-template-sidebar.component.spec.ts +0 -22
- package/components/page-template-sidebar/page-template-sidebar.component.ts +0 -25
- package/components/page-template-sidebar/public-api.ts +0 -1
- package/components/pagination/index.ts +0 -1
- package/components/pagination/ng-package.json +0 -6
- package/components/pagination/pagination.component.html +0 -53
- package/components/pagination/pagination.component.scss +0 -124
- package/components/pagination/pagination.component.spec.ts +0 -22
- package/components/pagination/pagination.component.ts +0 -48
- package/components/pagination/public-api.ts +0 -1
- package/components/search/index.ts +0 -1
- package/components/search/ng-package.json +0 -6
- package/components/search/public-api.ts +0 -1
- package/components/search/search.component.html +0 -32
- package/components/search/search.component.scss +0 -59
- package/components/search/search.component.spec.ts +0 -22
- package/components/search/search.component.ts +0 -122
- package/components/section-navigation/index.ts +0 -1
- package/components/section-navigation/ng-package.json +0 -6
- package/components/section-navigation/public-api.ts +0 -1
- package/components/section-navigation/section-navigation.component.html +0 -23
- package/components/section-navigation/section-navigation.component.scss +0 -50
- package/components/section-navigation/section-navigation.component.spec.ts +0 -22
- package/components/section-navigation/section-navigation.component.ts +0 -159
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.html +0 -8
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.scss +0 -56
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.spec.ts +0 -22
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.ts +0 -31
- package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.html +0 -11
- package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.scss +0 -0
- package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.spec.ts +0 -22
- package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.ts +0 -23
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.html +0 -10
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.scss +0 -54
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.spec.ts +0 -22
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.ts +0 -30
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.html +0 -1
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.scss +0 -11
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.spec.ts +0 -22
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.ts +0 -9
- package/components/side-ctas/index.ts +0 -1
- package/components/side-ctas/models/SideCta.model.ts +0 -5
- package/components/side-ctas/ng-package.json +0 -6
- package/components/side-ctas/public-api.ts +0 -6
- package/components/side-ctas/side-ctas.component.html +0 -28
- package/components/side-ctas/side-ctas.component.scss +0 -62
- package/components/side-ctas/side-ctas.component.spec.ts +0 -22
- package/components/side-ctas/side-ctas.component.ts +0 -17
- package/components/sidebar-navigation/index.ts +0 -1
- package/components/sidebar-navigation/ng-package.json +0 -6
- package/components/sidebar-navigation/public-api.ts +0 -1
- package/components/sidebar-navigation/sidebar-navigation.component.html +0 -42
- package/components/sidebar-navigation/sidebar-navigation.component.scss +0 -25
- package/components/sidebar-navigation/sidebar-navigation.component.ts +0 -122
- package/components/sticky-navigation/index.ts +0 -1
- package/components/sticky-navigation/ng-package.json +0 -6
- package/components/sticky-navigation/public-api.ts +0 -1
- package/components/sticky-navigation/sticky-navigation.component.html +0 -39
- package/components/sticky-navigation/sticky-navigation.component.scss +0 -48
- package/components/sticky-navigation/sticky-navigation.component.ts +0 -134
- package/components/whatsapp/index.ts +0 -1
- package/components/whatsapp/ng-package.json +0 -6
- package/components/whatsapp/public-api.ts +0 -1
- package/components/whatsapp/whatsapp.component.html +0 -23
- package/components/whatsapp/whatsapp.component.scss +0 -113
- package/components/whatsapp/whatsapp.component.spec.ts +0 -22
- package/components/whatsapp/whatsapp.component.ts +0 -40
- package/core/directives/rdsite-link/rdsite-link.directive.spec.ts +0 -8
- package/core/directives/rdsite-link/rdsite-link.directive.ts +0 -200
- package/core/directives/rdsite-phone-modal/rdsite-phone-modal.directive.spec.ts +0 -8
- package/core/directives/rdsite-phone-modal/rdsite-phone-modal.directive.ts +0 -41
- package/core/enums/RdsiteModalComponentStyle.enum.ts +0 -13
- package/core/enums/RdsiteModalDrawerComponentStyle.enum.ts +0 -7
- package/core/helpers/check-safari-agent.func.ts +0 -6
- package/core/helpers/djb2Hash.func.ts +0 -18
- package/core/helpers/executeWithRetry.func.ts +0 -25
- package/core/helpers/formatPhone.func.ts +0 -22
- package/core/helpers/getCircularReplacer.func.ts +0 -45
- package/core/helpers/getSiteUrl.func.ts +0 -7
- package/core/helpers/removeHtmlTags.func.ts +0 -6
- package/core/helpers/toQueryParams.func.ts +0 -11
- package/core/index.ts +0 -1
- package/core/interceptors/error.interceptor.ts +0 -39
- package/core/interceptors/log.interceptor.ts +0 -35
- package/core/interceptors/transfer-state-url.interceptor.ts +0 -137
- package/core/models/algolia-search-api.model.ts +0 -213
- package/core/models/breadcrumbs/breadcrumbs-items.model.ts +0 -10
- package/core/models/breadcrumbs/breadcrumbs-json-item.model.ts +0 -8
- package/core/models/centro-estudos-backend.model.ts +0 -8
- package/core/models/centro-medico.model.ts +0 -33
- package/core/models/content-banner.model.ts +0 -7
- package/core/models/cta-wrapper.model.ts +0 -9
- package/core/models/doenca-backend.model.ts +0 -27
- package/core/models/doenca-taxonomy.model.ts +0 -21
- package/core/models/especialidade-backend.model.ts +0 -25
- package/core/models/exame-backend.model.ts +0 -26
- package/core/models/filters/filter-planos-convenios.model.ts +0 -34
- package/core/models/filters/filter-section.type.ts +0 -18
- package/core/models/filters/filter-sections.model.ts +0 -66
- package/core/models/images/rdsite-image.model.ts +0 -5
- package/core/models/index.ts +0 -1
- package/core/models/medico-cv.model.ts +0 -10
- package/core/models/menu-de-unidade.model.ts +0 -16
- package/core/models/menu-item.model.ts +0 -71
- package/core/models/privacy-tools/privacy-tools.model.ts +0 -9
- package/core/models/rdsl-cobertura.model.ts +0 -72
- package/core/models/rdsl-convenio.model.ts +0 -18
- package/core/models/rdsl-especialidade.model.ts +0 -36
- package/core/models/rdsl-planos.model.ts +0 -14
- package/core/models/rdsl-post-category.model.ts +0 -8
- package/core/models/rdsl-unidade.model.ts +0 -52
- package/core/models/section-navigation.model.ts +0 -10
- package/core/models/seo/seo-data.model.ts +0 -11
- package/core/models/seo/seo-unidade.model.ts +0 -6
- package/core/models/social-meta-properties.model.ts +0 -9
- package/core/models/wordpress/WpEnvelopeResponse.model.ts +0 -12
- package/core/models/wordpress/WpHttpParams.model.ts +0 -5
- package/core/models/wordpress/WpQueryParams.model.ts +0 -32
- package/core/models/wordpress/WpResponse.model.ts +0 -35
- package/core/models/wordpress/category/wpCategory.model.ts +0 -15
- package/core/models/wordpress/category/wpCategoryRequestParams.model.ts +0 -9
- package/core/models/wordpress/flexiblecontent/flexiblecontent.model.ts +0 -4
- package/core/models/wordpress/general/content.model.ts +0 -4
- package/core/models/wordpress/general/excerpt.model.ts +0 -4
- package/core/models/wordpress/general/featuredMedia.model.ts +0 -27
- package/core/models/wordpress/general/guid.model.ts +0 -3
- package/core/models/wordpress/general/index.ts +0 -10
- package/core/models/wordpress/general/links.model.ts +0 -47
- package/core/models/wordpress/general/meta.model.ts +0 -3
- package/core/models/wordpress/general/title.model.ts +0 -3
- package/core/models/wordpress/general/yoastData.model.ts +0 -4
- package/core/models/wordpress/general/yoastHeadJson.model.ts +0 -55
- package/core/models/wordpress/general/yoastMeta.model.ts +0 -5
- package/core/models/wordpress/page/page.model.ts +0 -11
- package/core/models/wordpress/page/pageRequestParams.model.ts +0 -11
- package/core/models/wordpress/post/post.model.ts +0 -37
- package/core/models/wordpress/post/postRequestParams.model.ts +0 -23
- package/core/models/wordpress/unidade/wp-unidade-onco.model.ts +0 -62
- package/core/models/wordpress/unidade/wp-unidade-site-detalhe.model.ts +0 -173
- package/core/models/wordpress/unidade/wp-unidade-site.model.ts +0 -48
- package/core/ng-package.json +0 -6
- package/core/public-api.ts +0 -79
- package/core/services/error/error.service.spec.ts +0 -16
- package/core/services/error/error.service.ts +0 -10
- package/core/services/geoloc/geoloc.service.spec.ts +0 -16
- package/core/services/geoloc/geoloc.service.ts +0 -225
- package/core/services/http-client/http-client.service.spec.ts +0 -16
- package/core/services/http-client/http-client.service.ts +0 -49
- package/core/services/log/log.service.spec.ts +0 -16
- package/core/services/log/log.service.ts +0 -36
- package/core/services/mapbox/mapbox.service.spec.ts +0 -16
- package/core/services/mapbox/mapbox.service.ts +0 -84
- package/core/services/modal/modal.service.spec.ts +0 -16
- package/core/services/modal/modal.service.ts +0 -124
- package/core/services/modal-drawer/modal-drawer.service.spec.ts +0 -16
- package/core/services/modal-drawer/modal-drawer.service.ts +0 -104
- package/core/services/phone/phone.service.spec.ts +0 -16
- package/core/services/phone/phone.service.ts +0 -19
- package/core/services/privacy-tools/privacy-tools.service.spec.ts +0 -16
- package/core/services/privacy-tools/privacy-tools.service.ts +0 -96
- package/core/services/seo/seo.service.spec.ts +0 -16
- package/core/services/seo/seo.service.ts +0 -537
- package/core/services/server-response/server-response.service.spec.ts +0 -16
- package/core/services/server-response/server-response.service.ts +0 -107
- package/core/services/site-back-end/site-back-end.service.spec.ts +0 -16
- package/core/services/site-back-end/site-back-end.service.ts +0 -48
- package/core/services/ssr-response/ssr-response.service.spec.ts +0 -16
- package/core/services/ssr-response/ssr-response.service.ts +0 -57
- package/core/tokens/LibConfig.ts +0 -64
- package/core/tokens/express.tokens.ts +0 -5
- package/cura/accordion/cura-accordion/cura-accordion.component.html +0 -1
- package/cura/accordion/cura-accordion/cura-accordion.component.scss +0 -7
- package/cura/accordion/cura-accordion/cura-accordion.component.ts +0 -203
- package/cura/accordion/cura-accordion-item/cura-accordion-item.component.html +0 -20
- package/cura/accordion/cura-accordion-item/cura-accordion-item.component.scss +0 -139
- package/cura/accordion/cura-accordion-item/cura-accordion-item.component.ts +0 -75
- package/cura/accordion/cura-accordion.definitions.ts +0 -5
- package/cura/accordion/index.ts +0 -1
- package/cura/accordion/ng-package.json +0 -6
- package/cura/accordion/public-api.ts +0 -3
- package/cura/api/CuraConfig.ts +0 -5
- package/cura/api/cura-api.service.spec.ts +0 -138
- package/cura/api/cura-api.service.ts +0 -104
- package/cura/api/cura-api.types.ts +0 -79
- package/cura/api/index.ts +0 -1
- package/cura/api/modules/cura-theme-breakpoints.module.ts +0 -22
- package/cura/api/modules/cura-theme-colors.module.ts +0 -89
- package/cura/api/modules/cura-theme-fonts.module.ts +0 -54
- package/cura/api/modules/cura-theme-spacing.module.ts +0 -23
- package/cura/api/modules/cura-theme.module.ts +0 -116
- package/cura/api/ng-package.json +0 -6
- package/cura/api/public-api.ts +0 -11
- package/cura/api/theme-presets/static.ts +0 -70
- package/cura/api/theme-presets/theme-default.ts +0 -49
- package/cura/api/theme-presets/theme-maternidade-star.ts +0 -49
- package/cura/api/theme-presets/theme-presets.ts +0 -13
- package/cura/api/theme-presets/theme-star.ts +0 -49
- package/cura/badges/cura-badge-counter/cura-badge-counter.component.html +0 -7
- package/cura/badges/cura-badge-counter/cura-badge-counter.component.scss +0 -41
- package/cura/badges/cura-badge-counter/cura-badge-counter.component.ts +0 -94
- package/cura/badges/cura-badge-counter/index.ts +0 -1
- package/cura/badges/cura-badge-counter/ng-package.json +0 -6
- package/cura/badges/cura-badge-counter/public-api.ts +0 -1
- package/cura/badges/cura-badge-distance/cura-badge-distance.component.html +0 -8
- package/cura/badges/cura-badge-distance/cura-badge-distance.component.scss +0 -16
- package/cura/badges/cura-badge-distance/cura-badge-distance.component.ts +0 -53
- package/cura/badges/cura-badge-distance/index.ts +0 -1
- package/cura/badges/cura-badge-distance/ng-package.json +0 -6
- package/cura/badges/cura-badge-distance/public-api.ts +0 -1
- package/cura/badges/cura-badge-dot/cura-badge-dot.component.html +0 -1
- package/cura/badges/cura-badge-dot/cura-badge-dot.component.scss +0 -50
- package/cura/badges/cura-badge-dot/cura-badge-dot.component.ts +0 -69
- package/cura/badges/cura-badge-dot/index.ts +0 -1
- package/cura/badges/cura-badge-dot/ng-package.json +0 -6
- package/cura/badges/cura-badge-dot/public-api.ts +0 -1
- package/cura/badges/cura-badge-pill/cura-badge-pill.component.html +0 -8
- package/cura/badges/cura-badge-pill/cura-badge-pill.component.scss +0 -74
- package/cura/badges/cura-badge-pill/cura-badge-pill.component.ts +0 -105
- package/cura/badges/cura-badge-pill/index.ts +0 -1
- package/cura/badges/cura-badge-pill/ng-package.json +0 -6
- package/cura/badges/cura-badge-pill/public-api.ts +0 -1
- package/cura/badges/cura-badges.definitions.ts +0 -5
- package/cura/badges/index.ts +0 -1
- package/cura/badges/ng-package.json +0 -6
- package/cura/badges/public-api.ts +0 -1
- package/cura/buttons/cura-button/cura-button.component.html +0 -47
- package/cura/buttons/cura-button/cura-button.component.scss +0 -66
- package/cura/buttons/cura-button/cura-button.component.spec.ts +0 -105
- package/cura/buttons/cura-button/cura-button.component.ts +0 -184
- package/cura/buttons/cura-button/index.ts +0 -1
- package/cura/buttons/cura-button/ng-package.json +0 -6
- package/cura/buttons/cura-button/public-api.ts +0 -1
- package/cura/buttons/cura-button-outline/cura-button-outline.component.html +0 -47
- package/cura/buttons/cura-button-outline/cura-button-outline.component.scss +0 -55
- package/cura/buttons/cura-button-outline/cura-button-outline.component.spec.ts +0 -57
- package/cura/buttons/cura-button-outline/cura-button-outline.component.ts +0 -184
- package/cura/buttons/cura-button-outline/index.ts +0 -1
- package/cura/buttons/cura-button-outline/ng-package.json +0 -6
- package/cura/buttons/cura-button-outline/public-api.ts +0 -1
- package/cura/buttons/cura-button-select/cura-button-select.component.html +0 -27
- package/cura/buttons/cura-button-select/cura-button-select.component.scss +0 -76
- package/cura/buttons/cura-button-select/cura-button-select.component.spec.ts +0 -96
- package/cura/buttons/cura-button-select/cura-button-select.component.ts +0 -140
- package/cura/buttons/cura-button-select/index.ts +0 -1
- package/cura/buttons/cura-button-select/ng-package.json +0 -6
- package/cura/buttons/cura-button-select/public-api.ts +0 -1
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.html +0 -47
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.scss +0 -29
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.spec.ts +0 -63
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.ts +0 -172
- package/cura/buttons/cura-button-transparent/index.ts +0 -1
- package/cura/buttons/cura-button-transparent/ng-package.json +0 -6
- package/cura/buttons/cura-button-transparent/public-api.ts +0 -1
- package/cura/buttons/cura-button.definitions.ts +0 -13
- package/cura/buttons/index.ts +0 -1
- package/cura/buttons/ng-package.json +0 -6
- package/cura/buttons/public-api.ts +0 -1
- package/cura/cards/cura-card/cura-card.component.html +0 -11
- package/cura/cards/cura-card/cura-card.component.scss +0 -167
- package/cura/cards/cura-card/cura-card.component.ts +0 -89
- package/cura/cards/cura-card/cura-cards.definitions.ts +0 -5
- package/cura/cards/cura-card/index.ts +0 -1
- package/cura/cards/cura-card/ng-package.json +0 -6
- package/cura/cards/cura-card/public-api.ts +0 -1
- package/cura/feedback/cura-alert/cura-alert.component.html +0 -21
- package/cura/feedback/cura-alert/cura-alert.component.scss +0 -32
- package/cura/feedback/cura-alert/cura-alert.component.ts +0 -94
- package/cura/feedback/cura-alert/cura-alert.definitions.ts +0 -15
- package/cura/feedback/cura-alert/index.ts +0 -1
- package/cura/feedback/cura-alert/ng-package.json +0 -6
- package/cura/feedback/cura-alert/public-api.ts +0 -2
- package/cura/feedback/cura-modal/cura-modal.component.html +0 -20
- package/cura/feedback/cura-modal/cura-modal.component.scss +0 -149
- package/cura/feedback/cura-modal/cura-modal.component.ts +0 -112
- package/cura/feedback/cura-modal/cura-modal.definitions.ts +0 -36
- package/cura/feedback/cura-modal/index.ts +0 -1
- package/cura/feedback/cura-modal/ng-package.json +0 -6
- package/cura/feedback/cura-modal/public-api.ts +0 -2
- package/cura/feedback/cura-toast/cura-toast.component.html +0 -23
- package/cura/feedback/cura-toast/cura-toast.component.scss +0 -96
- package/cura/feedback/cura-toast/cura-toast.component.ts +0 -213
- package/cura/feedback/cura-toast/cura-toast.definitions.ts +0 -22
- package/cura/feedback/cura-toast/index.ts +0 -1
- package/cura/feedback/cura-toast/ng-package.json +0 -6
- package/cura/feedback/cura-toast/public-api.ts +0 -2
- package/cura/forms/cura-checkbox/cura-checkbox.component.html +0 -35
- package/cura/forms/cura-checkbox/cura-checkbox.component.scss +0 -219
- package/cura/forms/cura-checkbox/cura-checkbox.component.ts +0 -284
- package/cura/forms/cura-checkbox/cura-checkbox.definitions.ts +0 -44
- package/cura/forms/cura-checkbox/index.ts +0 -1
- package/cura/forms/cura-checkbox/ng-package.json +0 -6
- package/cura/forms/cura-checkbox/public-api.ts +0 -2
- package/cura/forms/cura-forms.definitions.ts +0 -18
- package/cura/forms/cura-input-text/cura-input-text.component.html +0 -65
- package/cura/forms/cura-input-text/cura-input-text.component.scss +0 -165
- package/cura/forms/cura-input-text/cura-input-text.component.ts +0 -621
- package/cura/forms/cura-input-text/cura-input-text.definitions.ts +0 -104
- package/cura/forms/cura-input-text/index.ts +0 -1
- package/cura/forms/cura-input-text/ng-package.json +0 -6
- package/cura/forms/cura-input-text/public-api.ts +0 -2
- package/cura/forms/cura-label/cura-label.component.html +0 -3
- package/cura/forms/cura-label/cura-label.component.scss +0 -68
- package/cura/forms/cura-label/cura-label.component.ts +0 -93
- package/cura/forms/cura-label/index.ts +0 -1
- package/cura/forms/cura-label/ng-package.json +0 -6
- package/cura/forms/cura-label/public-api.ts +0 -1
- package/cura/forms/cura-radio/cura-radio.component.html +0 -28
- package/cura/forms/cura-radio/cura-radio.component.scss +0 -232
- package/cura/forms/cura-radio/cura-radio.component.ts +0 -261
- package/cura/forms/cura-radio/cura-radio.definitions.ts +0 -46
- package/cura/forms/cura-radio/index.ts +0 -1
- package/cura/forms/cura-radio/ng-package.json +0 -6
- package/cura/forms/cura-radio/public-api.ts +0 -2
- package/cura/forms/cura-select/cura-select.component.html +0 -88
- package/cura/forms/cura-select/cura-select.component.scss +0 -112
- package/cura/forms/cura-select/cura-select.component.ts +0 -459
- package/cura/forms/cura-select/cura-select.definitions.ts +0 -34
- package/cura/forms/cura-select/index.ts +0 -1
- package/cura/forms/cura-select/ng-package.json +0 -6
- package/cura/forms/cura-select/public-api.ts +0 -2
- package/cura/forms/cura-select-option/cura-select-option.component.html +0 -9
- package/cura/forms/cura-select-option/cura-select-option.component.scss +0 -33
- package/cura/forms/cura-select-option/cura-select-option.component.ts +0 -93
- package/cura/forms/cura-select-option/cura-select-option.definitions.ts +0 -12
- package/cura/forms/cura-select-option/index.ts +0 -1
- package/cura/forms/cura-select-option/ng-package.json +0 -6
- package/cura/forms/cura-select-option/public-api.ts +0 -2
- package/cura/forms/cura-select-state/cura-select-state.component.html +0 -14
- package/cura/forms/cura-select-state/cura-select-state.component.ts +0 -125
- package/cura/forms/cura-select-state/cura-select-state.definitions.ts +0 -19
- package/cura/forms/cura-select-state/index.ts +0 -1
- package/cura/forms/cura-select-state/ng-package.json +0 -6
- package/cura/forms/cura-select-state/public-api.ts +0 -2
- package/cura/forms/cura-switch/cura-switch.component.html +0 -25
- package/cura/forms/cura-switch/cura-switch.component.scss +0 -134
- package/cura/forms/cura-switch/cura-switch.component.ts +0 -196
- package/cura/forms/cura-switch/cura-switch.definitions.ts +0 -35
- package/cura/forms/cura-switch/index.ts +0 -1
- package/cura/forms/cura-switch/ng-package.json +0 -6
- package/cura/forms/cura-switch/public-api.ts +0 -2
- package/cura/forms/cura-textarea/cura-textarea.component.html +0 -44
- package/cura/forms/cura-textarea/cura-textarea.component.scss +0 -173
- package/cura/forms/cura-textarea/cura-textarea.component.ts +0 -226
- package/cura/forms/cura-textarea/cura-textarea.definitions.ts +0 -24
- package/cura/forms/cura-textarea/index.ts +0 -1
- package/cura/forms/cura-textarea/ng-package.json +0 -6
- package/cura/forms/cura-textarea/public-api.ts +0 -2
- package/cura/forms/index.ts +0 -1
- package/cura/forms/ng-package.json +0 -6
- package/cura/forms/public-api.ts +0 -1
- package/cura/icons/cura-icon/cura-icon.component.html +0 -3
- package/cura/icons/cura-icon/cura-icon.component.scss +0 -14
- package/cura/icons/cura-icon/cura-icon.component.spec.ts +0 -89
- package/cura/icons/cura-icon/cura-icon.component.ts +0 -79
- package/cura/icons/cura-icon/cura-icon.definitions.ts +0 -20
- package/cura/icons/cura-icon/index.ts +0 -1
- package/cura/icons/cura-icon/ng-package.json +0 -6
- package/cura/icons/cura-icon/public-api.ts +0 -2
- package/cura/loaders/cura-loader-bar/cura-loader-bar.component.html +0 -3
- package/cura/loaders/cura-loader-bar/cura-loader-bar.component.scss +0 -23
- package/cura/loaders/cura-loader-bar/cura-loader-bar.component.ts +0 -37
- package/cura/loaders/cura-loader-bar/index.ts +0 -1
- package/cura/loaders/cura-loader-bar/ng-package.json +0 -6
- package/cura/loaders/cura-loader-bar/public-api.ts +0 -1
- package/cura/loaders/cura-loader-circle/cura-loader-circle.component.html +0 -12
- package/cura/loaders/cura-loader-circle/cura-loader-circle.component.scss +0 -39
- package/cura/loaders/cura-loader-circle/cura-loader-circle.component.ts +0 -45
- package/cura/loaders/cura-loader-circle/index.ts +0 -1
- package/cura/loaders/cura-loader-circle/ng-package.json +0 -6
- package/cura/loaders/cura-loader-circle/public-api.ts +0 -1
- package/cura/scss/mixins/buttons.scss +0 -244
- package/cura/scss/mixins/forms.scss +0 -298
- package/cura/scss/mixins/responsive.scss +0 -69
- package/cura/scss/mixins/shadows.scss +0 -71
- package/cura/scss/mixins/spacing.scss +0 -33
- package/cura/scss/mixins/text.scss +0 -11
- package/cura/texts/cura-display/cura-display.component.html +0 -41
- package/cura/texts/cura-display/cura-display.component.scss +0 -91
- package/cura/texts/cura-display/cura-display.component.ts +0 -85
- package/cura/texts/cura-display/index.ts +0 -1
- package/cura/texts/cura-display/ng-package.json +0 -6
- package/cura/texts/cura-display/public-api.ts +0 -1
- package/cura/texts/cura-heading/cura-heading.component.html +0 -41
- package/cura/texts/cura-heading/cura-heading.component.scss +0 -160
- package/cura/texts/cura-heading/cura-heading.component.ts +0 -111
- package/cura/texts/cura-heading/index.ts +0 -1
- package/cura/texts/cura-heading/ng-package.json +0 -6
- package/cura/texts/cura-heading/public-api.ts +0 -1
- package/cura/texts/cura-paragraph/cura-paragraph.component.html +0 -3
- package/cura/texts/cura-paragraph/cura-paragraph.component.scss +0 -130
- package/cura/texts/cura-paragraph/cura-paragraph.component.ts +0 -94
- package/cura/texts/cura-paragraph/index.ts +0 -1
- package/cura/texts/cura-paragraph/ng-package.json +0 -6
- package/cura/texts/cura-paragraph/public-api.ts +0 -1
- package/cura/texts/cura-texts.definitions.ts +0 -9
- package/cura/texts/index.ts +0 -1
- package/cura/texts/ng-package.json +0 -6
- package/cura/texts/public-api.ts +0 -1
- package/enums/EnumError.enum.ts +0 -4
- package/enums/EnumThemes.enum.ts +0 -8
- package/enums/Estados.enum.ts +0 -29
- package/enums/IconCuraDefaultType.enum.ts +0 -119
- package/enums/ImageMimeType.enum.ts +0 -5
- package/enums/UnidadeCoverageType.enum.ts +0 -5
- package/enums/index.ts +0 -1
- package/enums/ng-package.json +0 -6
- package/enums/public-api.ts +0 -6
- package/ng-package.json +0 -8
- package/services/algolia/algolia.service.spec.ts +0 -16
- package/services/algolia/algolia.service.ts +0 -36
- package/services/algolia/index.ts +0 -1
- package/services/algolia/ng-package.json +0 -6
- package/services/algolia/public-api.ts +0 -1
- package/services/algolia-search-api/algolia-search-api.service.spec.ts +0 -16
- package/services/algolia-search-api/algolia-search-api.service.ts +0 -72
- package/services/algolia-search-api/index.ts +0 -1
- package/services/algolia-search-api/ng-package.json +0 -6
- package/services/algolia-search-api/public-api.ts +0 -1
- package/services/ngu-carousel/index.ts +0 -1
- package/services/ngu-carousel/ng-package.json +0 -6
- package/services/ngu-carousel/ngu-carousel.service.spec.ts +0 -16
- package/services/ngu-carousel/ngu-carousel.service.ts +0 -80
- package/services/ngu-carousel/public-api.ts +0 -1
- package/services/ssr-loading/index.ts +0 -1
- package/services/ssr-loading/ng-package.json +0 -6
- package/services/ssr-loading/public-api.ts +0 -1
- package/services/ssr-loading/ssr-loading.service.spec.ts +0 -16
- package/services/ssr-loading/ssr-loading.service.ts +0 -41
- package/services/transfer-state/index.ts +0 -1
- package/services/transfer-state/ng-package.json +0 -6
- package/services/transfer-state/public-api.ts +0 -1
- package/services/transfer-state/transfer-state.service.spec.ts +0 -16
- package/services/transfer-state/transfer-state.service.ts +0 -38
- package/services/youtube/index.ts +0 -1
- package/services/youtube/ng-package.json +0 -6
- package/services/youtube/public-api.ts +0 -1
- package/services/youtube/youtube.service.spec.ts +0 -16
- package/services/youtube/youtube.service.ts +0 -28
- package/shared/directives/rdsite-click-outside/rdsite-click-outside.directive.spec.ts +0 -8
- package/shared/directives/rdsite-click-outside/rdsite-click-outside.directive.ts +0 -18
- package/shared/helpers/clean-text.func.ts +0 -15
- package/shared/helpers/mediaQueries.ts +0 -11
- package/shared/helpers/removeDuplicateObjectsFromArray.func.ts +0 -5
- package/shared/helpers/removeDuplicateValuesFromArray.func.ts +0 -5
- package/shared/helpers/stringToSlug.func.ts +0 -32
- package/shared/index.ts +0 -1
- package/shared/ng-package.json +0 -6
- package/shared/pipes/phone/phone.pipe.spec.ts +0 -8
- package/shared/pipes/phone/phone.pipe.ts +0 -11
- package/shared/public-api.ts +0 -9
- package/src/public-api.ts +0 -5
- package/styles/_mixins.scss +0 -49
- package/styles/_utilities.scss +0 -22
- package/tsconfig.lib.json +0 -13
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<ng-template #button>
|
|
2
|
-
<ng-content></ng-content>
|
|
3
|
-
</ng-template>
|
|
4
|
-
|
|
5
|
-
@if (href()) {
|
|
6
|
-
<a
|
|
7
|
-
[href]="disabled() ? '' : href()"
|
|
8
|
-
[target]="target()"
|
|
9
|
-
[class]="containerClasses()"
|
|
10
|
-
[ngStyle]="buttonStyles()"
|
|
11
|
-
[attr.aria-label]="ariaLabel()"
|
|
12
|
-
(click)="handleClick($event)"
|
|
13
|
-
(mouseenter)="handleMouseEnter()"
|
|
14
|
-
(mouseleave)="handleMouseLeave()"
|
|
15
|
-
>
|
|
16
|
-
<span class="button-container">
|
|
17
|
-
@if (iconName()) {
|
|
18
|
-
<cura-icon [name]="iconName()" [size]="iconSize()" [color]="symbolColor()" [iconset]="iconset()" [disabled]="disabled()"> </cura-icon>
|
|
19
|
-
}
|
|
20
|
-
<cura-label class="label" [size]="labelSize()" lineHeight="normal" [color]="symbolColor()">
|
|
21
|
-
<ng-container *ngTemplateOutlet="button"></ng-container>
|
|
22
|
-
</cura-label>
|
|
23
|
-
</span>
|
|
24
|
-
<cura-loader-circle [size]="size()" [color]="symbolColor()"> </cura-loader-circle>
|
|
25
|
-
</a>
|
|
26
|
-
} @else {
|
|
27
|
-
<button
|
|
28
|
-
[type]="type()"
|
|
29
|
-
[class]="containerClasses()"
|
|
30
|
-
[ngStyle]="buttonStyles()"
|
|
31
|
-
[disabled]="disabled()"
|
|
32
|
-
[attr.aria-label]="ariaLabel()"
|
|
33
|
-
(click)="handleClick($event)"
|
|
34
|
-
(mouseenter)="handleMouseEnter()"
|
|
35
|
-
(mouseleave)="handleMouseLeave()"
|
|
36
|
-
>
|
|
37
|
-
<span class="button-container">
|
|
38
|
-
@if (iconName()) {
|
|
39
|
-
<cura-icon [name]="iconName()" [size]="iconSize()" [color]="symbolColor()" [iconset]="iconset()" [disabled]="disabled()"> </cura-icon>
|
|
40
|
-
}
|
|
41
|
-
<cura-label class="label" [size]="labelSize()" lineHeight="normal" [color]="symbolColor()">
|
|
42
|
-
<ng-container *ngTemplateOutlet="button"></ng-container>
|
|
43
|
-
</cura-label>
|
|
44
|
-
</span>
|
|
45
|
-
<cura-loader-circle [size]="size()" [color]="symbolColor()"> </cura-loader-circle>
|
|
46
|
-
</button>
|
|
47
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
@use '../../scss/mixins/buttons.scss' as buttons;
|
|
2
|
-
|
|
3
|
-
:host {
|
|
4
|
-
@include buttons.button-host();
|
|
5
|
-
|
|
6
|
-
button,
|
|
7
|
-
a {
|
|
8
|
-
@include buttons.button-element() {
|
|
9
|
-
background-color: transparent;
|
|
10
|
-
border: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@include buttons.button-sizes();
|
|
14
|
-
|
|
15
|
-
// Children Elements
|
|
16
|
-
@include buttons.button-container();
|
|
17
|
-
@include buttons.button-label();
|
|
18
|
-
@include buttons.button-icon();
|
|
19
|
-
|
|
20
|
-
// Disabled state
|
|
21
|
-
@include buttons.button-disabled();
|
|
22
|
-
|
|
23
|
-
// FAB / Icon-only
|
|
24
|
-
@include buttons.button-icon-only-behavior();
|
|
25
|
-
|
|
26
|
-
// Loading State
|
|
27
|
-
@include buttons.button-loading();
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
import { CuraButtonTransparentComponent } from './cura-button-transparent.component';
|
|
3
|
-
|
|
4
|
-
describe('CuraButtonTransparentComponent', () => {
|
|
5
|
-
let component: CuraButtonTransparentComponent;
|
|
6
|
-
let fixture: ComponentFixture<CuraButtonTransparentComponent>;
|
|
7
|
-
|
|
8
|
-
beforeEach(async () => {
|
|
9
|
-
await TestBed.configureTestingModule({
|
|
10
|
-
declarations: [CuraButtonTransparentComponent],
|
|
11
|
-
}).compileComponents();
|
|
12
|
-
|
|
13
|
-
fixture = TestBed.createComponent(CuraButtonTransparentComponent);
|
|
14
|
-
component = fixture.componentInstance;
|
|
15
|
-
fixture.detectChanges();
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it('should create', () => {
|
|
19
|
-
expect(component).toBeTruthy();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
it('should have default properties', () => {
|
|
23
|
-
expect(component.type).toBe('button');
|
|
24
|
-
expect(component.size).toBe('large');
|
|
25
|
-
expect(component.disabled).toBe(false);
|
|
26
|
-
expect(component.isLoading).toBe(false);
|
|
27
|
-
expect(component.iconPosition).toBe('left');
|
|
28
|
-
expect(component.iconOnly).toBe(false);
|
|
29
|
-
expect(component.color).toBe('primary');
|
|
30
|
-
expect(component.fontColor).toBe('dark');
|
|
31
|
-
expect(component.textAlign).toBe('left');
|
|
32
|
-
expect(component.justify).toBe(false);
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
it('should emit buttonClick event when clicked', () => {
|
|
36
|
-
spyOn(component.buttonClick, 'emit');
|
|
37
|
-
const event = new Event('click');
|
|
38
|
-
|
|
39
|
-
component.handleClick(event);
|
|
40
|
-
|
|
41
|
-
expect(component.buttonClick.emit).toHaveBeenCalledWith(event);
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
it('should return correct symbol color based on state', () => {
|
|
45
|
-
component.disabled = true;
|
|
46
|
-
expect(component.getSymbolColor()).toBe('neutral-dark');
|
|
47
|
-
|
|
48
|
-
component.disabled = false;
|
|
49
|
-
component.hovered = true;
|
|
50
|
-
component.isLoading = false;
|
|
51
|
-
component.fontColor = 'light';
|
|
52
|
-
component.color = 'primary';
|
|
53
|
-
expect(component.getSymbolColor()).toBe('primary-light');
|
|
54
|
-
|
|
55
|
-
component.hovered = false;
|
|
56
|
-
component.fontColor = 'light';
|
|
57
|
-
expect(component.getSymbolColor()).toBe('neutral-white');
|
|
58
|
-
|
|
59
|
-
component.fontColor = 'dark';
|
|
60
|
-
component.color = 'primary';
|
|
61
|
-
expect(component.getSymbolColor()).toBe('primary-dark');
|
|
62
|
-
});
|
|
63
|
-
});
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
-
import { Component, input, output, HostListener, computed, inject } from '@angular/core';
|
|
3
|
-
import { labelSizes, ButtonType, ButtonSize, IconPosition, FontColor, TextAlign } from '@rededor/site-front-end-lib/cura/buttons';
|
|
4
|
-
import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
|
|
5
|
-
import { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';
|
|
6
|
-
import { CuraLoaderCircleComponent } from '@rededor/site-front-end-lib/cura/loaders/cura-loader-circle';
|
|
7
|
-
import { CuraLabelComponent } from '@rededor/site-front-end-lib/cura/forms/cura-label';
|
|
8
|
-
import { LabelSize } from '@rededor/site-front-end-lib/cura/forms';
|
|
9
|
-
|
|
10
|
-
@Component({
|
|
11
|
-
selector: 'cura-button-transparent',
|
|
12
|
-
imports: [CommonModule, CuraIconComponent, CuraLoaderCircleComponent, CuraLabelComponent],
|
|
13
|
-
templateUrl: './cura-button-transparent.component.html',
|
|
14
|
-
styleUrls: ['./cura-button-transparent.component.scss'],
|
|
15
|
-
host: {
|
|
16
|
-
'[attr.role]': 'href() ? "link" : type()',
|
|
17
|
-
'[attr.aria-disabled]': 'disabled()',
|
|
18
|
-
'[attr.href]': 'href()',
|
|
19
|
-
},
|
|
20
|
-
})
|
|
21
|
-
export class CuraButtonTransparentComponent {
|
|
22
|
-
private curaApi: CuraApiService = inject(CuraApiService);
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Button type: button (default) | submit | reset
|
|
26
|
-
*/
|
|
27
|
-
type = input<ButtonType>('button');
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Button size: small | medium | large (default)
|
|
31
|
-
*/
|
|
32
|
-
size = input<ButtonSize>('large');
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Disabled state. Boolean.
|
|
36
|
-
*/
|
|
37
|
-
disabled = input<boolean>(false);
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Loading state. Boolean.
|
|
41
|
-
*/
|
|
42
|
-
isLoading = input<boolean>(false);
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Name of the icon to be used from iconset.
|
|
46
|
-
*/
|
|
47
|
-
iconName = input<string>('');
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Custom iconset if needed.
|
|
51
|
-
*/
|
|
52
|
-
iconset = input<string>('default');
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Icon position: left (default) | right.
|
|
56
|
-
*/
|
|
57
|
-
iconPosition = input<IconPosition>('left');
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Set button to FAB/icon only.
|
|
61
|
-
*/
|
|
62
|
-
iconOnly = input<boolean>(false);
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Property href switch button to link.
|
|
66
|
-
*/
|
|
67
|
-
href = input<string>('');
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Set target if link.
|
|
71
|
-
*/
|
|
72
|
-
target = input<string>('_self');
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Color base from color scheme. Default: primary.
|
|
76
|
-
*/
|
|
77
|
-
color = input<string>('primary');
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Set the font color to dark or light.
|
|
81
|
-
* Default: dark.
|
|
82
|
-
*/
|
|
83
|
-
fontColor = input<FontColor>('dark');
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Set text alignment for the button label.
|
|
87
|
-
* Values: left (default) | center | right.
|
|
88
|
-
*/
|
|
89
|
-
textAlign = input<TextAlign>('left');
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Justify icons and label inside the button.
|
|
93
|
-
* Values: false (default) | true.
|
|
94
|
-
*/
|
|
95
|
-
justify = input<boolean>(false);
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Accessible name for the button (aria-label).
|
|
99
|
-
* Required for icon-only buttons or when button text is not descriptive enough.
|
|
100
|
-
*/
|
|
101
|
-
ariaLabel = input<string>('');
|
|
102
|
-
|
|
103
|
-
buttonClick = output<Event>();
|
|
104
|
-
|
|
105
|
-
hovered = false;
|
|
106
|
-
|
|
107
|
-
// Computed signal
|
|
108
|
-
buttonStyles = computed(() => {
|
|
109
|
-
const styles: { [key: string]: string } = {};
|
|
110
|
-
|
|
111
|
-
styles['--base-spacing'] = this.curaApi.theme.spacing.getSpacing();
|
|
112
|
-
styles['--neutral-white'] = this.curaApi.theme.colors.getColor('neutral-white');
|
|
113
|
-
styles['--neutral-base'] = this.curaApi.theme.colors.getColor('neutral-base');
|
|
114
|
-
styles['--neutral-dark'] = this.curaApi.theme.colors.getColor('neutral-dark');
|
|
115
|
-
styles['--font-size'] = this.curaApi.theme.fonts.getSize();
|
|
116
|
-
styles['--font-family'] = this.curaApi.theme.fonts.getFamily();
|
|
117
|
-
const weights = this.curaApi.theme.fonts.getWeights();
|
|
118
|
-
styles['--font-weight-medium'] = weights.medium;
|
|
119
|
-
styles['--text-align'] = this.textAlign();
|
|
120
|
-
|
|
121
|
-
return styles;
|
|
122
|
-
});
|
|
123
|
-
|
|
124
|
-
containerClasses = computed(() => {
|
|
125
|
-
const classes = [];
|
|
126
|
-
classes.push(this.size()?.toLowerCase());
|
|
127
|
-
classes.push(`icon-${this.iconPosition()?.toLowerCase()}`);
|
|
128
|
-
|
|
129
|
-
if (this.iconOnly()) classes.push('icon-only');
|
|
130
|
-
if (this.disabled()) classes.push('disabled');
|
|
131
|
-
if (this.isLoading()) classes.push('isLoading');
|
|
132
|
-
if (this.justify()) classes.push('justify');
|
|
133
|
-
|
|
134
|
-
return classes.join(' ');
|
|
135
|
-
});
|
|
136
|
-
|
|
137
|
-
iconSize = computed(() => {
|
|
138
|
-
return this.size() === 'large' ? '20' : '16';
|
|
139
|
-
});
|
|
140
|
-
|
|
141
|
-
symbolColor = computed(() => {
|
|
142
|
-
if (this.disabled()) return 'neutral-dark';
|
|
143
|
-
if (this.hovered && !this.isLoading()) {
|
|
144
|
-
return this.fontColor() === 'light' ? `${this.color()}-light` : `${this.color()}-darker`;
|
|
145
|
-
}
|
|
146
|
-
return this.fontColor() === 'light' ? 'neutral-white' : `${this.color()}-dark`;
|
|
147
|
-
});
|
|
148
|
-
|
|
149
|
-
labelSize = computed(() => {
|
|
150
|
-
return (labelSizes[this.size()] || labelSizes['default']) as LabelSize;
|
|
151
|
-
});
|
|
152
|
-
|
|
153
|
-
@HostListener('mouseenter')
|
|
154
|
-
handleMouseEnter() {
|
|
155
|
-
if (this.disabled()) return;
|
|
156
|
-
this.hovered = true;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
@HostListener('mouseleave')
|
|
160
|
-
handleMouseLeave() {
|
|
161
|
-
this.hovered = false;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
handleClick(event: Event) {
|
|
165
|
-
if (this.disabled() || this.isLoading()) {
|
|
166
|
-
event.preventDefault();
|
|
167
|
-
return;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
this.buttonClick.emit(event);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public-api';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './cura-button-transparent.component';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export const labelSizes = {
|
|
2
|
-
small: 'xsmall',
|
|
3
|
-
medium: 'small',
|
|
4
|
-
large: 'medium',
|
|
5
|
-
default: 'medium',
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export type ButtonType = 'button' | 'reset' | 'submit';
|
|
9
|
-
export type ButtonSize = 'small' | 'medium' | 'large';
|
|
10
|
-
export type IconPosition = 'left' | 'right';
|
|
11
|
-
export type BackgroundType = 'dark' | 'light';
|
|
12
|
-
export type FontColor = 'dark' | 'light';
|
|
13
|
-
export type TextAlign = 'left' | 'center' | 'right';
|
package/cura/buttons/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public-api';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './cura-button.definitions';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
@if (isLink()) {
|
|
2
|
-
<!-- <a [class]="containerClasses()" [ngStyle]="cardStyles()" [target]="target()" [href]="href()"> -->
|
|
3
|
-
<a [class]="containerClasses()" [target]="target()" [href]="href()">
|
|
4
|
-
<ng-content></ng-content>
|
|
5
|
-
</a>
|
|
6
|
-
} @else {
|
|
7
|
-
<!-- <div [class]="containerClasses()" [ngStyle]="cardStyles()"> -->
|
|
8
|
-
<div [class]="containerClasses()">
|
|
9
|
-
<ng-content></ng-content>
|
|
10
|
-
</div>
|
|
11
|
-
}
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
@use '../../scss/mixins/shadows.scss' as shadows;
|
|
2
|
-
|
|
3
|
-
:host {
|
|
4
|
-
display: block;
|
|
5
|
-
box-sizing: border-box;
|
|
6
|
-
font-size: var(--cura-font-size); // var(--font-size);
|
|
7
|
-
font-family: var(--cura-font-body); // var(--font-family);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
a::ng-deep > *,
|
|
11
|
-
div::ng-deep > * {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
font-size: var(--cura-font-size); // var(--font-size);
|
|
16
|
-
font-family: var(--cura-font-body); // var(--font-family);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
a {
|
|
20
|
-
display: block;
|
|
21
|
-
text-decoration: none !important;
|
|
22
|
-
color: inherit;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.solid {
|
|
26
|
-
background-color: rgb(255, 255, 255); // var(--neutral-purewhite);
|
|
27
|
-
border: 2px solid rgb(183, 183, 183); // var(--neutral-base);
|
|
28
|
-
border-radius: 12px;
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
padding: 0px;
|
|
31
|
-
box-shadow: none;
|
|
32
|
-
|
|
33
|
-
::ng-deep > * {
|
|
34
|
-
border-radius: 0;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.hasPadding {
|
|
38
|
-
padding: 20px;
|
|
39
|
-
|
|
40
|
-
::ng-deep > * {
|
|
41
|
-
border-radius: 4px !important;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&.hasShadow {
|
|
46
|
-
border: 2px solid rgb(183, 183, 183); // var(--neutral-base);
|
|
47
|
-
@include shadows.shadow-level2(rgb(38, 38, 38, 0.16));
|
|
48
|
-
// @include shadows.shadow-level2(--neutral-black-shadow);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&.cardLink {
|
|
52
|
-
background-color: rgb(255, 255, 255); // var(--neutral-purewhite);
|
|
53
|
-
border: 2px solid var(--cura-color-primary-500); // var(--primary-base);
|
|
54
|
-
border-radius: 12px;
|
|
55
|
-
padding: 0px;
|
|
56
|
-
box-shadow: none;
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
|
|
59
|
-
::ng-deep > * {
|
|
60
|
-
border-radius: 0px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&:hover {
|
|
64
|
-
border: 2px solid var(--cura-color-primary-100) !important; // var(--primary-lighter) !important;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&.hasPadding {
|
|
68
|
-
padding: 20px;
|
|
69
|
-
|
|
70
|
-
::ng-deep > * {
|
|
71
|
-
border-radius: 4px !important;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&:hover {
|
|
75
|
-
border: 2px solid var(--cura-color-primary-100) !important; // var(--primary-lighter) !important;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.hasShadow {
|
|
80
|
-
border: 2px solid var(--cura-color-primary-500); // var(--primary-base);
|
|
81
|
-
@include shadows.shadow-level3(rgb(38, 38, 38, 0.16));
|
|
82
|
-
// @include shadows.shadow-level3(--neutral-black-shadow);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&:not(.hasPadding).hasShadow {
|
|
86
|
-
::ng-deep > * {
|
|
87
|
-
border-radius: 12px !important;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
&.dark {
|
|
92
|
-
background-color: rgb(255, 255, 255); // var(--neutral-purewhite);
|
|
93
|
-
border: 2px solid rgb(255, 255, 255); // var(--neutral-purewhite);
|
|
94
|
-
|
|
95
|
-
&:hover {
|
|
96
|
-
border: 2px solid var(--cura-color-primary-100); // var(--primary-lighter);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.transparent {
|
|
103
|
-
background-color: transparent;
|
|
104
|
-
border: 0;
|
|
105
|
-
border-radius: 12px;
|
|
106
|
-
padding: 0px;
|
|
107
|
-
overflow: hidden;
|
|
108
|
-
|
|
109
|
-
::ng-deep > * {
|
|
110
|
-
border-radius: 12px;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.hasPadding {
|
|
114
|
-
padding: 20px;
|
|
115
|
-
|
|
116
|
-
::ng-deep > * {
|
|
117
|
-
border-radius: 4px;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&.cardLink {
|
|
122
|
-
background-color: transparent;
|
|
123
|
-
border: 2px solid var(--cura-color-primary-500); // var(--primary-base);
|
|
124
|
-
overflow: hidden;
|
|
125
|
-
border-radius: 12px;
|
|
126
|
-
padding: 0px;
|
|
127
|
-
box-shadow: none;
|
|
128
|
-
|
|
129
|
-
::ng-deep > * {
|
|
130
|
-
border-radius: 0px !important;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&:hover {
|
|
134
|
-
border: 2px solid var(--cura-color-primary-100) !important; // var(--primary-lighter) !important;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&.light {
|
|
138
|
-
background-color: rgb(255, 255, 255); // var(--neutral-purewhite);
|
|
139
|
-
border: 2px solid var(--cura-color-primary-500); // var(--primary-base);
|
|
140
|
-
|
|
141
|
-
::ng-deep > * {
|
|
142
|
-
border-radius: 12px !important;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&:hover {
|
|
146
|
-
border-color: var(--cura-color-primary-100) !important; // var(--primary-lighter) !important;
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&.dark {
|
|
151
|
-
background-color: transparent;
|
|
152
|
-
border: 2px solid rgb(255, 255, 255); // var(--neutral-purewhite);
|
|
153
|
-
|
|
154
|
-
&:hover {
|
|
155
|
-
border: 0;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&.hasPadding {
|
|
160
|
-
padding: 20px;
|
|
161
|
-
|
|
162
|
-
::ng-deep > * {
|
|
163
|
-
border-radius: 4px !important;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { Component, input, computed } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
// import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
|
|
4
|
-
import { CardType, CardColorMode, CardTarget } from './cura-cards.definitions';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'cura-card',
|
|
8
|
-
imports: [CommonModule],
|
|
9
|
-
templateUrl: './cura-card.component.html',
|
|
10
|
-
styleUrls: ['./cura-card.component.scss'],
|
|
11
|
-
})
|
|
12
|
-
export class CuraCardComponent {
|
|
13
|
-
// private curaApi = inject(CuraApiService);
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Determines whether the card should have padding.
|
|
17
|
-
* @default true
|
|
18
|
-
*/
|
|
19
|
-
hasPadding = input<boolean>(true);
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Determines whether the card should have a shadow effect.
|
|
23
|
-
* @default false
|
|
24
|
-
*/
|
|
25
|
-
hasShadow = input<boolean>(false);
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Sets the type of the card background.
|
|
29
|
-
* - 'solid': A solid background.
|
|
30
|
-
* - 'transparent': A transparent background.
|
|
31
|
-
* @default 'solid'
|
|
32
|
-
*/
|
|
33
|
-
type = input<CardType>('solid');
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Sets the color mode of the card.
|
|
37
|
-
* - 'light': Light mode for the card.
|
|
38
|
-
* - 'dark': Dark mode for the card.
|
|
39
|
-
* @default 'light'
|
|
40
|
-
*/
|
|
41
|
-
colorMode = input<CardColorMode>('light');
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* The URL that the card should link to (if set).
|
|
45
|
-
* If not set, the card acts as a normal card.
|
|
46
|
-
*/
|
|
47
|
-
href = input<string>('');
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* The target attribute for the link.
|
|
51
|
-
* Applicable only if `href` is set.
|
|
52
|
-
* @default '_self'
|
|
53
|
-
*/
|
|
54
|
-
target = input<CardTarget>('_self');
|
|
55
|
-
|
|
56
|
-
containerClasses = computed(() => {
|
|
57
|
-
const classes = [];
|
|
58
|
-
|
|
59
|
-
classes.push(this.type());
|
|
60
|
-
classes.push(this.colorMode());
|
|
61
|
-
|
|
62
|
-
if (this.href()) classes.push('cardLink');
|
|
63
|
-
if (this.hasPadding()) classes.push('hasPadding');
|
|
64
|
-
if (this.hasShadow()) classes.push('hasShadow');
|
|
65
|
-
|
|
66
|
-
return classes.join(' ');
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
isLink = computed(() => {
|
|
70
|
-
return !!this.href();
|
|
71
|
-
});
|
|
72
|
-
|
|
73
|
-
// // Computed signal
|
|
74
|
-
// cardStyles = computed(() => {
|
|
75
|
-
// const styles: { [key: string]: string } = {};
|
|
76
|
-
|
|
77
|
-
// styles['--base-spacing'] = this.curaApi.theme.spacing.getSpacing();
|
|
78
|
-
// styles['--neutral-purewhite'] = this.curaApi.theme.colors.getColor('neutral-purewhite');
|
|
79
|
-
// styles['--neutral-base'] = this.curaApi.theme.colors.getColor('neutral-base');
|
|
80
|
-
// styles['--neutral-black-shadow'] = this.curaApi.theme.colors.getColor('neutral-black', 0.16);
|
|
81
|
-
// styles['--primary-lighter'] = this.curaApi.theme.colors.getColor('primary-lighter');
|
|
82
|
-
// styles['--primary-base'] = this.curaApi.theme.colors.getColor('primary-base');
|
|
83
|
-
// styles['--font-size'] = this.curaApi.theme.fonts.getSize();
|
|
84
|
-
// styles['--font-family'] = this.curaApi.theme.fonts.getFamily();
|
|
85
|
-
// styles['--font-weight-medium'] = this.curaApi.theme.fonts.getWeights().medium;
|
|
86
|
-
|
|
87
|
-
// return styles;
|
|
88
|
-
// });
|
|
89
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public-api';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './cura-card.component';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<div [class]="'conteiner ' + containerClasses()" [ngStyle]="alertStyles()">
|
|
2
|
-
<cura-icon [name]="iconName()" class="icon-left" [size]="16" [color]="type() + '-dark'"> </cura-icon>
|
|
3
|
-
|
|
4
|
-
<div class="content">
|
|
5
|
-
@if (label()) {
|
|
6
|
-
<cura-heading class="title" size="xsmall" color="neutral-black" weight="bold" marginBlock="1px 0">
|
|
7
|
-
{{ label() }}
|
|
8
|
-
</cura-heading>
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
<cura-paragraph class="text" [color]="type() + '-darker'" size="xsmall" marginBlock="0" lineHeight="133.33%">
|
|
12
|
-
<ng-content></ng-content>
|
|
13
|
-
</cura-paragraph>
|
|
14
|
-
|
|
15
|
-
<ng-content select="[slot=actions]"></ng-content>
|
|
16
|
-
</div>
|
|
17
|
-
|
|
18
|
-
@if (closeable()) {
|
|
19
|
-
<cura-icon name="close" [size]="16" color="error-dark" class="icon-right" (click)="handleClose()"> </cura-icon>
|
|
20
|
-
}
|
|
21
|
-
</div>
|