@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
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { HeadingLevel, DisplaySize } from '@rededor/site-front-end-lib/cura/texts';
|
|
3
|
+
|
|
4
|
+
declare class CuraDisplayComponent {
|
|
5
|
+
private curaApi;
|
|
6
|
+
/**
|
|
7
|
+
* Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...
|
|
8
|
+
* Values: 1(default) to 6.
|
|
9
|
+
*/
|
|
10
|
+
level: _angular_core.InputSignal<HeadingLevel>;
|
|
11
|
+
/**
|
|
12
|
+
* Display size.
|
|
13
|
+
* Values: 'large' (default) | 'small'.
|
|
14
|
+
*/
|
|
15
|
+
size: _angular_core.InputSignal<DisplaySize>;
|
|
16
|
+
/**
|
|
17
|
+
* Apply design system color to interactive elements like <a> and <abbr> inside the text.
|
|
18
|
+
* Values: Color from design system scheme. Default to 'accent-dark'.
|
|
19
|
+
*/
|
|
20
|
+
spotColor: _angular_core.InputSignal<string>;
|
|
21
|
+
/**
|
|
22
|
+
* Text color.
|
|
23
|
+
* Values: Color from design system scheme. Default to the font color from the theme.
|
|
24
|
+
*/
|
|
25
|
+
color: _angular_core.InputSignal<string>;
|
|
26
|
+
/**
|
|
27
|
+
* CSS margin-block property values.
|
|
28
|
+
* Default to 1.25em
|
|
29
|
+
*/
|
|
30
|
+
marginBlock: _angular_core.InputSignal<string>;
|
|
31
|
+
/**
|
|
32
|
+
* CSS line-height property values.
|
|
33
|
+
* Default to 120%
|
|
34
|
+
*/
|
|
35
|
+
lineHeight: _angular_core.InputSignal<string>;
|
|
36
|
+
containerClasses: _angular_core.Signal<string>;
|
|
37
|
+
displayStyles: _angular_core.Signal<{
|
|
38
|
+
marginBlock: string;
|
|
39
|
+
fontSizeBase: string;
|
|
40
|
+
lineHeight: string;
|
|
41
|
+
}>;
|
|
42
|
+
headingStyles: _angular_core.Signal<{
|
|
43
|
+
'--font-family': string;
|
|
44
|
+
'--font-size': string;
|
|
45
|
+
'--font-weight-bold': any;
|
|
46
|
+
'--font-weight-medium': any;
|
|
47
|
+
'--color-body': string;
|
|
48
|
+
'--color-link': string;
|
|
49
|
+
}>;
|
|
50
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraDisplayComponent, never>;
|
|
51
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraDisplayComponent, "cura-display", never, { "level": { "alias": "level"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "spotColor": { "alias": "spotColor"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "marginBlock": { "alias": "marginBlock"; "required": false; "isSignal": true; }; "lineHeight": { "alias": "lineHeight"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { CuraDisplayComponent };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { HeadingLevel, TextSize, TextWeight, TextOverflow } from '@rededor/site-front-end-lib/cura/texts';
|
|
3
|
+
|
|
4
|
+
declare class CuraHeadingComponent {
|
|
5
|
+
private curaApi;
|
|
6
|
+
/**
|
|
7
|
+
* Heading level for semantics. Will render the related HTML tag <h1>, <h2>, ...
|
|
8
|
+
* Values: 1(default) to 6.
|
|
9
|
+
*/
|
|
10
|
+
level: _angular_core.InputSignal<HeadingLevel>;
|
|
11
|
+
/**
|
|
12
|
+
* Heading style size.
|
|
13
|
+
* Values: regular (deprecated), medium (default) | large | small | caption (deprecated) | xsmall.
|
|
14
|
+
*/
|
|
15
|
+
size: _angular_core.InputSignal<TextSize>;
|
|
16
|
+
/**
|
|
17
|
+
* Heading font weight. It is possible to use regular HTML tags like <b> or <strong> as well.
|
|
18
|
+
* Values: regular (default) | bold.
|
|
19
|
+
*/
|
|
20
|
+
weight: _angular_core.InputSignal<TextWeight>;
|
|
21
|
+
/**
|
|
22
|
+
* Apply design system color to interactive elements like <a> and <abbr> inside the text.
|
|
23
|
+
* Values: Color from design system scheme. Default to 'accent-dark'.
|
|
24
|
+
*/
|
|
25
|
+
spotColor: _angular_core.InputSignal<string>;
|
|
26
|
+
/**
|
|
27
|
+
* Text color.
|
|
28
|
+
* Values: Color from design system scheme. Default to the font color from the theme.
|
|
29
|
+
*/
|
|
30
|
+
color: _angular_core.InputSignal<string>;
|
|
31
|
+
/**
|
|
32
|
+
* CSS margin-block property values.
|
|
33
|
+
* Default to 1.25em
|
|
34
|
+
*/
|
|
35
|
+
marginBlock: _angular_core.InputSignal<string>;
|
|
36
|
+
/**
|
|
37
|
+
* CSS line-height property values.
|
|
38
|
+
* Default to 130%
|
|
39
|
+
*/
|
|
40
|
+
lineHeight: _angular_core.InputSignal<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Apply text-overflow ellipsis definitions.
|
|
43
|
+
* Default to none
|
|
44
|
+
*/
|
|
45
|
+
textOverflow: _angular_core.InputSignal<TextOverflow>;
|
|
46
|
+
containerClasses: _angular_core.Signal<string>;
|
|
47
|
+
hostStyles: _angular_core.Signal<{
|
|
48
|
+
marginBlock: string;
|
|
49
|
+
fontSizeBase: string;
|
|
50
|
+
lineHeight: string;
|
|
51
|
+
colorBody: string;
|
|
52
|
+
colorSpot: string;
|
|
53
|
+
}>;
|
|
54
|
+
headingStyles: _angular_core.Signal<{
|
|
55
|
+
'--font-family': string;
|
|
56
|
+
'--font-weight-regular': any;
|
|
57
|
+
'--font-weight-medium': any;
|
|
58
|
+
'--font-weight-bold': any;
|
|
59
|
+
'--font-weight-black': any;
|
|
60
|
+
}>;
|
|
61
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraHeadingComponent, never>;
|
|
62
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraHeadingComponent, "cura-heading", never, { "level": { "alias": "level"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "weight": { "alias": "weight"; "required": false; "isSignal": true; }; "spotColor": { "alias": "spotColor"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "marginBlock": { "alias": "marginBlock"; "required": false; "isSignal": true; }; "lineHeight": { "alias": "lineHeight"; "required": false; "isSignal": true; }; "textOverflow": { "alias": "textOverflow"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export { CuraHeadingComponent };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TextSize, TextOverflow } from '@rededor/site-front-end-lib/cura/texts';
|
|
3
|
+
|
|
4
|
+
declare class CuraParagraphComponent {
|
|
5
|
+
private curaApi;
|
|
6
|
+
/**
|
|
7
|
+
* Set size of body text.
|
|
8
|
+
* Values: regular (deprecated), medium (default) | large | small | caption (deprecated) | xsmall.
|
|
9
|
+
*/
|
|
10
|
+
size: _angular_core.InputSignal<TextSize>;
|
|
11
|
+
/**
|
|
12
|
+
* Apply design system color to interactive elements like <a> and <abbr> inside the text.
|
|
13
|
+
* Values: Color from design system scheme. Default to 'accent-dark'.
|
|
14
|
+
*/
|
|
15
|
+
spotColor: _angular_core.InputSignal<string>;
|
|
16
|
+
/**
|
|
17
|
+
* Text color.
|
|
18
|
+
* Values: Color from design system scheme. Default to the font color from the theme.
|
|
19
|
+
*/
|
|
20
|
+
color: _angular_core.InputSignal<string>;
|
|
21
|
+
/**
|
|
22
|
+
* CSS margin-block property values.
|
|
23
|
+
* Default to 1.25em
|
|
24
|
+
*/
|
|
25
|
+
marginBlock: _angular_core.InputSignal<string>;
|
|
26
|
+
/**
|
|
27
|
+
* CSS line-height property values.
|
|
28
|
+
* Default to 140%
|
|
29
|
+
*/
|
|
30
|
+
lineHeight: _angular_core.InputSignal<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Apply text-overflow ellipsis definitions.
|
|
33
|
+
* Default to none
|
|
34
|
+
*/
|
|
35
|
+
textOverflow: _angular_core.InputSignal<TextOverflow>;
|
|
36
|
+
containerClasses: _angular_core.Signal<string>;
|
|
37
|
+
hostStyles: _angular_core.Signal<{
|
|
38
|
+
marginBlock: string;
|
|
39
|
+
fontSizeBase: string;
|
|
40
|
+
lineHeight: string;
|
|
41
|
+
colorBody: string;
|
|
42
|
+
colorSpot: string;
|
|
43
|
+
}>;
|
|
44
|
+
paragraphStyles: _angular_core.Signal<{
|
|
45
|
+
'--font-family': string;
|
|
46
|
+
'--font-weight-regular': any;
|
|
47
|
+
'--font-weight-medium': any;
|
|
48
|
+
'--font-weight-bold': any;
|
|
49
|
+
}>;
|
|
50
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CuraParagraphComponent, never>;
|
|
51
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CuraParagraphComponent, "cura-paragraph", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "spotColor": { "alias": "spotColor"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "marginBlock": { "alias": "marginBlock"; "required": false; "isSignal": true; }; "lineHeight": { "alias": "lineHeight"; "required": false; "isSignal": true; }; "textOverflow": { "alias": "textOverflow"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { CuraParagraphComponent };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
2
|
+
type TextSize = 'regular' | 'medium' | 'large' | 'small' | 'caption' | 'xsmall';
|
|
3
|
+
type TextWeight = 'regular' | 'bold';
|
|
4
|
+
type TextOverflow = 'none' | 'single';
|
|
5
|
+
type DisplaySize = 'large' | 'small';
|
|
6
|
+
|
|
7
|
+
export type { DisplaySize, HeadingLevel, TextOverflow, TextSize, TextWeight };
|
package/enums/index.d.ts
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
declare enum Errors {
|
|
2
|
+
NOT_FOUND = "not-found",
|
|
3
|
+
SERVER_RESPONSE = "server-response"
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
declare enum Themes {
|
|
7
|
+
REDE = "default",
|
|
8
|
+
MATERNIDADE = "maternidade",
|
|
9
|
+
ONCO = "oncologia",
|
|
10
|
+
RICHET = "richet",
|
|
11
|
+
STAR = "star",
|
|
12
|
+
MATERNIDADESTAR = "maternidade-star"
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare enum Estados {
|
|
16
|
+
AC = "Acre",
|
|
17
|
+
AL = "Alagoas",
|
|
18
|
+
AP = "Amap\u00E1",
|
|
19
|
+
AM = "Amazonas",
|
|
20
|
+
BA = "Bahia",
|
|
21
|
+
CE = "Cear\u00E1",
|
|
22
|
+
DF = "Distrito Federal",
|
|
23
|
+
ES = "Esp\u00EDrito Santo",
|
|
24
|
+
GO = "Go\u00EDas",
|
|
25
|
+
MA = "Maranh\u00E3o",
|
|
26
|
+
MT = "Mato Grosso",
|
|
27
|
+
MS = "Mato Grosso do Sul",
|
|
28
|
+
MG = "Minas Gerais",
|
|
29
|
+
PA = "Par\u00E1",
|
|
30
|
+
PB = "Para\u00EDba",
|
|
31
|
+
PR = "Paran\u00E1",
|
|
32
|
+
PE = "Pernambuco",
|
|
33
|
+
PI = "Piau\u00ED",
|
|
34
|
+
RJ = "Rio de Janeiro",
|
|
35
|
+
RN = "Rio Grande do Norte",
|
|
36
|
+
RS = "Rio Grande do Sul",
|
|
37
|
+
RO = "Rond\u00F4nia",
|
|
38
|
+
RR = "Rora\u00EDma",
|
|
39
|
+
SC = "Santa Catarina",
|
|
40
|
+
SP = "S\u00E3o Paulo",
|
|
41
|
+
SE = "Sergipe",
|
|
42
|
+
TO = "Tocantins"
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare enum IconCuraDefaultType {
|
|
46
|
+
'icon-360' = "360",
|
|
47
|
+
'accessibility' = "accessibility",
|
|
48
|
+
'icon-alerta-circ' = "alertCircle",
|
|
49
|
+
'icon-alerta-tri' = "alertTriangle",
|
|
50
|
+
'icon-seta-baixo' = "arrowDown",
|
|
51
|
+
'icon-circle-chevron-down' = "arrowDownCircle",
|
|
52
|
+
'icon-seta-esquerda' = "arrowLeft",
|
|
53
|
+
'icon-circle-chevron-left' = "arrowLeftCircle",
|
|
54
|
+
'icon-seta-direita' = "arrowRight",
|
|
55
|
+
'icon-circle-chevron-right' = "arrowRightCircle",
|
|
56
|
+
'icon-seta-cima' = "arrowUp",
|
|
57
|
+
'icon-circle-chevron-up' = "arrowUpCircle",
|
|
58
|
+
'icon-anexo' = "attach",
|
|
59
|
+
'icon-avatar-f' = "avatarF",
|
|
60
|
+
'icon-avatar-m' = "avatarM",
|
|
61
|
+
'icon-hematologia' = "bloodGroup",
|
|
62
|
+
'icon-agm-agendar' = "calendar",
|
|
63
|
+
'icon-ouvidoria' = "central",
|
|
64
|
+
'icon-chat-circle' = "chatCircle",
|
|
65
|
+
'icon-check' = "check",
|
|
66
|
+
'icon-parceria' = "checkBadge",
|
|
67
|
+
'icon-check-sucesso' = "checkCircle",
|
|
68
|
+
'icon-check-hard' = "checkDouble",
|
|
69
|
+
'icon-hora' = "clock",
|
|
70
|
+
'icon-fechar' = "close",
|
|
71
|
+
'icon-collapse' = "collapse",
|
|
72
|
+
'icon-configuracoes' = "config",
|
|
73
|
+
'icon-nps-dislike' = "npsDeslike",
|
|
74
|
+
'icon-download' = "download",
|
|
75
|
+
'icon-duplicar' = "duplicate",
|
|
76
|
+
'icon-editar' = "edit",
|
|
77
|
+
'icon-exame' = "exam",
|
|
78
|
+
'icon-expand' = "expand",
|
|
79
|
+
'icon-facebook-2' = "facebook",
|
|
80
|
+
'icon-facebook' = "facebook",
|
|
81
|
+
'icon-pdf' = "filePdf",
|
|
82
|
+
'icon-xls' = "fileXls",
|
|
83
|
+
'icon-filter' = "filter",
|
|
84
|
+
'icon-unidade' = "geotag",
|
|
85
|
+
'icon-geotag' = "geotag",
|
|
86
|
+
'icon-google' = "google",
|
|
87
|
+
'icon-google-2' = "google",
|
|
88
|
+
'icon-endereco-hospital' = "geotagUnity",
|
|
89
|
+
'icon-nps-hate' = "npsHate",
|
|
90
|
+
'icon-plano' = "healthPlan",
|
|
91
|
+
'icon-height' = "height",
|
|
92
|
+
'icon-altura' = "height2",
|
|
93
|
+
'icon-home' = "home",
|
|
94
|
+
'icon-enviar-foto' = "imageUp",
|
|
95
|
+
'icon-info-2' = "lamp",
|
|
96
|
+
'icon-info' = "infoCircle",
|
|
97
|
+
'icon-key-lock' = "key",
|
|
98
|
+
'icon-idioma' = "language",
|
|
99
|
+
'icon-idioma-2' = "language2",
|
|
100
|
+
'icon-idioma-en' = "languageEN",
|
|
101
|
+
'icon-idioma-pt' = "languagePT",
|
|
102
|
+
'icon-nps-like' = "npsLike",
|
|
103
|
+
'icon-link' = "link",
|
|
104
|
+
'icon-link-externo' = "linkExternal",
|
|
105
|
+
'icon-lista' = "list",
|
|
106
|
+
'icon-login' = "login",
|
|
107
|
+
'icon-logout' = "logout",
|
|
108
|
+
'icon-nps-love' = "npsLove",
|
|
109
|
+
'icon-mail' = "mail",
|
|
110
|
+
'icon-mail-2' = "mail",
|
|
111
|
+
'icon-mail-input' = "mail",
|
|
112
|
+
'icon-exame-resultado' = "medDoc",
|
|
113
|
+
'icon-exame-imagem' = "medImg",
|
|
114
|
+
'icon-medico' = "medUser",
|
|
115
|
+
'icon-menu' = "menuHamburguer",
|
|
116
|
+
'icon-minus' = "minus",
|
|
117
|
+
'icon-minus-circle' = "minusCircle",
|
|
118
|
+
'icon-minus-square' = "minusSquare",
|
|
119
|
+
'icon-nps-neutral' = "npsNeutral",
|
|
120
|
+
'icon-news' = "news",
|
|
121
|
+
'icon-alert' = "notification",
|
|
122
|
+
'icon-telefone' = "phone",
|
|
123
|
+
'icon-plus' = "plus",
|
|
124
|
+
'icon-plus-circle' = "plusCircle",
|
|
125
|
+
'icon-plus-square' = "plusSquare",
|
|
126
|
+
'icon-print' = "print",
|
|
127
|
+
'icon-perfil' = "profileCircle",
|
|
128
|
+
'icon-perfil-2' = "profile",
|
|
129
|
+
'icon-pulldown' = "down",
|
|
130
|
+
'icon-pulldown-small' = "down",
|
|
131
|
+
'pullupG' = "up",
|
|
132
|
+
'pullupP' = "up",
|
|
133
|
+
'icon-tooltip' = "questionCircle",
|
|
134
|
+
'icon-help' = "questionSquare",
|
|
135
|
+
'icon-date-range' = "range",
|
|
136
|
+
'icon-reload' = "reload",
|
|
137
|
+
'icon-agendamento' = "schedule",
|
|
138
|
+
'icon-agm-ok' = "scheduleCheck",
|
|
139
|
+
'icon-buscar' = "search",
|
|
140
|
+
'icon-secure' = "secure",
|
|
141
|
+
'icon-share' = "share",
|
|
142
|
+
'icon-share-2' = "share",
|
|
143
|
+
'icon-sub-item' = "subItem",
|
|
144
|
+
'icon-geotag-2' = "target",
|
|
145
|
+
'icon-unlink' = "unLink",
|
|
146
|
+
'icon-unsecure' = "unSecure",
|
|
147
|
+
'icon-infraestrutura-idor' = "unity",
|
|
148
|
+
'icon-upload' = "upload",
|
|
149
|
+
'icon-view-off' = "viewFalse",
|
|
150
|
+
'icon-view-on' = "viewTrue",
|
|
151
|
+
'icon-zoom-in' = "zoomIn",
|
|
152
|
+
'icon-zoom-out' = "zoomOut",
|
|
153
|
+
'icon-twitter' = "twitter",
|
|
154
|
+
'icon-twitter-2' = "twitter",
|
|
155
|
+
'icon-x' = "twitter",
|
|
156
|
+
'icon-instagram-2' = "instagram",
|
|
157
|
+
'icon-instagram' = "instagram",
|
|
158
|
+
'icon-whatsapp' = "whatsapp",
|
|
159
|
+
'icon-whatsapp-2' = "whatsapp",
|
|
160
|
+
'icon-linkedin' = "linkedin",
|
|
161
|
+
'icon-linkedin-2' = "linkedin",
|
|
162
|
+
'icon-telegram' = "telegram"
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
declare enum ImageMimeType {
|
|
166
|
+
WEBP = "image/webp",
|
|
167
|
+
JPEG = "image/jpeg",
|
|
168
|
+
PNG = "image/png"
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
declare enum UnidadeCoverageType {
|
|
172
|
+
TOTAL = "Cobertura completa",
|
|
173
|
+
PARTIAL = "Cobertura apenas para",
|
|
174
|
+
NONE = "Esta unidade n\u00E3o oferece cobertura ao seu plano ou conv\u00EAnio"
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export { Errors, Estados, IconCuraDefaultType, ImageMimeType, Themes, UnidadeCoverageType };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, input, output, Input, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import { AlgoliaSearchApiService } from '@rededor/site-front-end-lib/services/algolia-search-api';
|
|
4
|
+
|
|
5
|
+
// TODO: REFATORAR COMPONENTE QUANDO FOR CRIADO O "CURA-DROPDOWN-SEARCH" NO CURA EM ANGULAR. (NA VERSÃO 20 DA LIB, ESTE COMPONENTE NÃO FUNCIONA)
|
|
6
|
+
class AlgoliaDropdownComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.algoliaSearchApiService = inject(AlgoliaSearchApiService);
|
|
9
|
+
this.compAlgoliaConfig = { id: '', key: '' };
|
|
10
|
+
this.name = input.required(...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
11
|
+
this.value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
12
|
+
this.size = input.required(...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
13
|
+
this.label = input.required(...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
14
|
+
this.placeholder = input.required(...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
15
|
+
this.status = input.required(...(ngDevMode ? [{ debugName: "status" }] : []));
|
|
16
|
+
this.icon = input.required(...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
17
|
+
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
18
|
+
this.required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
|
|
19
|
+
this.maxheight = input.required(...(ngDevMode ? [{ debugName: "maxheight" }] : []));
|
|
20
|
+
this.searchdelay = input.required(...(ngDevMode ? [{ debugName: "searchdelay" }] : []));
|
|
21
|
+
this.searchminchars = input(2, ...(ngDevMode ? [{ debugName: "searchminchars" }] : []));
|
|
22
|
+
this.helperText = input.required(...(ngDevMode ? [{ debugName: "helperText" }] : []));
|
|
23
|
+
this.cssMaxHeight = input.required(...(ngDevMode ? [{ debugName: "cssMaxHeight" }] : []));
|
|
24
|
+
this.searchParams = input({}, ...(ngDevMode ? [{ debugName: "searchParams" }] : []));
|
|
25
|
+
this.searchTerm = '';
|
|
26
|
+
// Algolia
|
|
27
|
+
this.isMultiple = false;
|
|
28
|
+
// State
|
|
29
|
+
this.ready = false;
|
|
30
|
+
this.algoliaResults = output();
|
|
31
|
+
this.resetResults = output();
|
|
32
|
+
this.optionSelected = output();
|
|
33
|
+
}
|
|
34
|
+
get algoliaConfig() {
|
|
35
|
+
return this.compAlgoliaConfig;
|
|
36
|
+
}
|
|
37
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
38
|
+
set algoliaConfig(config) {
|
|
39
|
+
this.ready = false;
|
|
40
|
+
if (this.setupAlgolia(config)) {
|
|
41
|
+
this.compAlgoliaConfig = config;
|
|
42
|
+
this.ready = true;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
setupAlgolia(config) {
|
|
46
|
+
if (config?.id && config?.key && (config?.index || config?.multipleIndex)) {
|
|
47
|
+
if (config.multipleIndex) {
|
|
48
|
+
this.isMultiple = true;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
this.isMultiple = false;
|
|
52
|
+
}
|
|
53
|
+
return true;
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
termChange(event) {
|
|
60
|
+
if (event.target.value) {
|
|
61
|
+
this.searchTerm = event?.target?.value;
|
|
62
|
+
this.search();
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
this.resetResults.emit(event);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
search() {
|
|
69
|
+
if (this.searchTerm?.length >= this.searchminchars() && this.ready) {
|
|
70
|
+
if (!this.isMultiple) {
|
|
71
|
+
this.algoliaSearchApiService.search(this.searchTerm, this.algoliaConfig.index, this.searchParams()).subscribe({
|
|
72
|
+
next: (results) => {
|
|
73
|
+
this.algoliaResults.emit(results);
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const queries = this.compAlgoliaConfig?.multipleIndex.map((i) => {
|
|
79
|
+
return { ...i, query: this.searchTerm };
|
|
80
|
+
});
|
|
81
|
+
this.algoliaSearchApiService.searchMultipleIndexes(queries).subscribe({
|
|
82
|
+
next: (results) => {
|
|
83
|
+
this.algoliaResults.emit(results.results);
|
|
84
|
+
},
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
optionSelect(event) {
|
|
90
|
+
this.optionSelected.emit(event.target.value);
|
|
91
|
+
}
|
|
92
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
93
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.18", type: AlgoliaDropdownComponent, isStandalone: true, selector: "rdsite-algolia-dropdown", inputs: { algoliaConfig: { classPropertyName: "algoliaConfig", publicName: "algoliaConfig", isSignal: false, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: true, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: true, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: true, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: true, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, maxheight: { classPropertyName: "maxheight", publicName: "maxheight", isSignal: true, isRequired: true, transformFunction: null }, searchdelay: { classPropertyName: "searchdelay", publicName: "searchdelay", isSignal: true, isRequired: true, transformFunction: null }, searchminchars: { classPropertyName: "searchminchars", publicName: "searchminchars", isSignal: true, isRequired: false, transformFunction: null }, helperText: { classPropertyName: "helperText", publicName: "helperText", isSignal: true, isRequired: true, transformFunction: null }, cssMaxHeight: { classPropertyName: "cssMaxHeight", publicName: "cssMaxHeight", isSignal: true, isRequired: true, transformFunction: null }, searchParams: { classPropertyName: "searchParams", publicName: "searchParams", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { algoliaResults: "algoliaResults", resetResults: "resetResults", optionSelected: "optionSelected" }, ngImport: i0, template: "<cura-dropdown-search\n [name]=\"name()\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [label]=\"label()\"\n [status]=\"status()\"\n [icon]=\"icon()\"\n [disabled]=\"disabled()\"\n [required]=\"required()\"\n [maxheight]=\"maxheight()\"\n [searchdelay]=\"searchdelay()\"\n [searchminchars]=\"searchminchars()\"\n [helperText]=\"helperText()\"\n [cssMaxHeight]=\"cssMaxHeight()\"\n (termchange)=\"termChange($event)\"\n (optionselect)=\"optionSelect($event)\"\n>\n <ng-content></ng-content>\n</cura-dropdown-search>\n", styles: [""] }); }
|
|
94
|
+
}
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AlgoliaDropdownComponent, decorators: [{
|
|
96
|
+
type: Component,
|
|
97
|
+
args: [{ selector: 'rdsite-algolia-dropdown', imports: [], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<cura-dropdown-search\n [name]=\"name()\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [label]=\"label()\"\n [status]=\"status()\"\n [icon]=\"icon()\"\n [disabled]=\"disabled()\"\n [required]=\"required()\"\n [maxheight]=\"maxheight()\"\n [searchdelay]=\"searchdelay()\"\n [searchminchars]=\"searchminchars()\"\n [helperText]=\"helperText()\"\n [cssMaxHeight]=\"cssMaxHeight()\"\n (termchange)=\"termChange($event)\"\n (optionselect)=\"optionSelect($event)\"\n>\n <ng-content></ng-content>\n</cura-dropdown-search>\n" }]
|
|
98
|
+
}], propDecorators: { algoliaConfig: [{
|
|
99
|
+
type: Input,
|
|
100
|
+
args: ['algoliaConfig']
|
|
101
|
+
}], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: true }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: true }] }], status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: true }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], maxheight: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxheight", required: true }] }], searchdelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchdelay", required: true }] }], searchminchars: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchminchars", required: false }] }], helperText: [{ type: i0.Input, args: [{ isSignal: true, alias: "helperText", required: true }] }], cssMaxHeight: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssMaxHeight", required: true }] }], searchParams: [{ type: i0.Input, args: [{ isSignal: true, alias: "searchParams", required: false }] }], algoliaResults: [{ type: i0.Output, args: ["algoliaResults"] }], resetResults: [{ type: i0.Output, args: ["resetResults"] }], optionSelected: [{ type: i0.Output, args: ["optionSelected"] }] } });
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Generated bundle index. Do not edit.
|
|
105
|
+
*/
|
|
106
|
+
|
|
107
|
+
export { AlgoliaDropdownComponent };
|
|
108
|
+
//# sourceMappingURL=rededor-site-front-end-lib-components-algolia-dropdown.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rededor-site-front-end-lib-components-algolia-dropdown.mjs","sources":["../../../projects/site-front-end-lib/components/algolia-dropdown/algolia-dropdown.component.ts","../../../projects/site-front-end-lib/components/algolia-dropdown/algolia-dropdown.component.html","../../../projects/site-front-end-lib/components/algolia-dropdown/rededor-site-front-end-lib-components-algolia-dropdown.ts"],"sourcesContent":["import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, input, output, inject } from '@angular/core';\nimport { AlgoliaConfig, AlgoliaSearchParams, RdslAlgoliaMultipleIndex } from '@rededor/site-front-end-lib/core';\nimport { AlgoliaSearchApiService } from '@rededor/site-front-end-lib/services/algolia-search-api';\n\n// TODO: REFATORAR COMPONENTE QUANDO FOR CRIADO O \"CURA-DROPDOWN-SEARCH\" NO CURA EM ANGULAR. (NA VERSÃO 20 DA LIB, ESTE COMPONENTE NÃO FUNCIONA)\n@Component({\n selector: 'rdsite-algolia-dropdown',\n imports: [],\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\n templateUrl: './algolia-dropdown.component.html',\n styleUrl: './algolia-dropdown.component.scss',\n})\nexport class AlgoliaDropdownComponent {\n private readonly algoliaSearchApiService = inject(AlgoliaSearchApiService);\n\n compAlgoliaConfig: AlgoliaConfig = { id: '', key: '' };\n get algoliaConfig() {\n return this.compAlgoliaConfig;\n }\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('algoliaConfig')\n set algoliaConfig(config: AlgoliaConfig) {\n this.ready = false;\n if (this.setupAlgolia(config)) {\n this.compAlgoliaConfig = config;\n this.ready = true;\n }\n }\n readonly name = input.required<string>();\n readonly value = input.required<string>();\n readonly size = input.required<string>();\n readonly label = input.required<string>();\n readonly placeholder = input.required<string>();\n readonly status = input.required<string>();\n readonly icon = input.required<string>();\n readonly disabled = input<boolean>(false);\n readonly required = input<boolean>(false);\n readonly maxheight = input.required<string>();\n readonly searchdelay = input.required<string>();\n readonly searchminchars = input<number>(2);\n readonly helperText = input.required<string>();\n readonly cssMaxHeight = input.required<string>();\n readonly searchParams = input<AlgoliaSearchParams>({});\n\n public searchTerm: string = '';\n\n // Algolia\n isMultiple: boolean = false;\n\n // State\n ready: boolean = false;\n\n readonly algoliaResults = output<any>();\n readonly resetResults = output<any>();\n readonly optionSelected = output<any>();\n\n setupAlgolia(config: AlgoliaConfig): boolean {\n if (config?.id && config?.key && (config?.index || config?.multipleIndex)) {\n if (config.multipleIndex) {\n this.isMultiple = true;\n } else {\n this.isMultiple = false;\n }\n return true;\n } else {\n return false;\n }\n }\n\n termChange(event: any) {\n if (event.target.value) {\n this.searchTerm = event?.target?.value;\n this.search();\n } else {\n this.resetResults.emit(event);\n }\n }\n\n search(): void {\n if (this.searchTerm?.length >= this.searchminchars() && this.ready) {\n if (!this.isMultiple) {\n this.algoliaSearchApiService.search(this.searchTerm, this.algoliaConfig.index!, this.searchParams()).subscribe({\n next: (results) => {\n this.algoliaResults.emit(results);\n },\n });\n } else {\n const queries: RdslAlgoliaMultipleIndex[] = this.compAlgoliaConfig?.multipleIndex!.map((i: RdslAlgoliaMultipleIndex) => {\n return { ...i, query: this.searchTerm };\n });\n this.algoliaSearchApiService.searchMultipleIndexes(queries).subscribe({\n next: (results) => {\n this.algoliaResults.emit(results.results);\n },\n });\n }\n }\n }\n\n optionSelect(event: any) {\n this.optionSelected.emit(event.target.value);\n }\n}\n","<cura-dropdown-search\n [name]=\"name()\"\n [value]=\"value()\"\n [placeholder]=\"placeholder()\"\n [label]=\"label()\"\n [status]=\"status()\"\n [icon]=\"icon()\"\n [disabled]=\"disabled()\"\n [required]=\"required()\"\n [maxheight]=\"maxheight()\"\n [searchdelay]=\"searchdelay()\"\n [searchminchars]=\"searchminchars()\"\n [helperText]=\"helperText()\"\n [cssMaxHeight]=\"cssMaxHeight()\"\n (termchange)=\"termChange($event)\"\n (optionselect)=\"optionSelect($event)\"\n>\n <ng-content></ng-content>\n</cura-dropdown-search>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAIA;MAQa,wBAAwB,CAAA;AAPrC,IAAA,WAAA,GAAA;AAQmB,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,uBAAuB,CAAC;QAE1E,IAAA,CAAA,iBAAiB,GAAkB,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE;AAa7C,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,+CAAU;AAC/B,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,gDAAU;AAChC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,+CAAU;AAC/B,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,gDAAU;AAChC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,QAAQ,sDAAU;AACtC,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,QAAQ,iDAAU;AACjC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,+CAAU;AAC/B,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,oDAAC;AAChC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,QAAQ,oDAAU;AACpC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,QAAQ,sDAAU;AACtC,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK,CAAS,CAAC,0DAAC;AACjC,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,QAAQ,qDAAU;AACrC,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,QAAQ,uDAAU;AACvC,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAsB,EAAE,wDAAC;QAE/C,IAAA,CAAA,UAAU,GAAW,EAAE;;QAG9B,IAAA,CAAA,UAAU,GAAY,KAAK;;QAG3B,IAAA,CAAA,KAAK,GAAY,KAAK;QAEb,IAAA,CAAA,cAAc,GAAG,MAAM,EAAO;QAC9B,IAAA,CAAA,YAAY,GAAG,MAAM,EAAO;QAC5B,IAAA,CAAA,cAAc,GAAG,MAAM,EAAO;AAgDxC,IAAA;AAtFC,IAAA,IAAI,aAAa,GAAA;QACf,OAAO,IAAI,CAAC,iBAAiB;IAC/B;;IAEA,IACI,aAAa,CAAC,MAAqB,EAAA;AACrC,QAAA,IAAI,CAAC,KAAK,GAAG,KAAK;AAClB,QAAA,IAAI,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;AAC7B,YAAA,IAAI,CAAC,iBAAiB,GAAG,MAAM;AAC/B,YAAA,IAAI,CAAC,KAAK,GAAG,IAAI;QACnB;IACF;AA6BA,IAAA,YAAY,CAAC,MAAqB,EAAA;AAChC,QAAA,IAAI,MAAM,EAAE,EAAE,IAAI,MAAM,EAAE,GAAG,KAAK,MAAM,EAAE,KAAK,IAAI,MAAM,EAAE,aAAa,CAAC,EAAE;AACzE,YAAA,IAAI,MAAM,CAAC,aAAa,EAAE;AACxB,gBAAA,IAAI,CAAC,UAAU,GAAG,IAAI;YACxB;iBAAO;AACL,gBAAA,IAAI,CAAC,UAAU,GAAG,KAAK;YACzB;AACA,YAAA,OAAO,IAAI;QACb;aAAO;AACL,YAAA,OAAO,KAAK;QACd;IACF;AAEA,IAAA,UAAU,CAAC,KAAU,EAAA;AACnB,QAAA,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,EAAE;YACtB,IAAI,CAAC,UAAU,GAAG,KAAK,EAAE,MAAM,EAAE,KAAK;YACtC,IAAI,CAAC,MAAM,EAAE;QACf;aAAO;AACL,YAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;QAC/B;IACF;IAEA,MAAM,GAAA;AACJ,QAAA,IAAI,IAAI,CAAC,UAAU,EAAE,MAAM,IAAI,IAAI,CAAC,cAAc,EAAE,IAAI,IAAI,CAAC,KAAK,EAAE;AAClE,YAAA,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE;gBACpB,IAAI,CAAC,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,aAAa,CAAC,KAAM,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,SAAS,CAAC;AAC7G,oBAAA,IAAI,EAAE,CAAC,OAAO,KAAI;AAChB,wBAAA,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC;oBACnC,CAAC;AACF,iBAAA,CAAC;YACJ;iBAAO;AACL,gBAAA,MAAM,OAAO,GAA+B,IAAI,CAAC,iBAAiB,EAAE,aAAc,CAAC,GAAG,CAAC,CAAC,CAA2B,KAAI;oBACrH,OAAO,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE;AACzC,gBAAA,CAAC,CAAC;gBACF,IAAI,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,SAAS,CAAC;AACpE,oBAAA,IAAI,EAAE,CAAC,OAAO,KAAI;wBAChB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;oBAC3C,CAAC;AACF,iBAAA,CAAC;YACJ;QACF;IACF;AAEA,IAAA,YAAY,CAAC,KAAU,EAAA;QACrB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;IAC9C;+GAzFW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,4uECZrC,miBAmBA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FDPa,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAPpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,yBAAyB,EAAA,OAAA,EAC1B,EAAE,EAAA,OAAA,EACF,CAAC,sBAAsB,CAAC,EAAA,QAAA,EAAA,miBAAA,EAAA;;sBAYhC,KAAK;uBAAC,eAAe;;;AEpBxB;;AAEG;;;;"}
|