@rededor/site-front-end-lib 20.0.26 → 20.0.27
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/CHANGELOG.md +828 -0
- package/components/algolia-dropdown/algolia-dropdown.component.html +19 -0
- package/components/algolia-dropdown/algolia-dropdown.component.scss +0 -0
- package/components/algolia-dropdown/algolia-dropdown.component.spec.ts +22 -0
- package/components/algolia-dropdown/algolia-dropdown.component.ts +103 -0
- package/components/algolia-dropdown/index.ts +1 -0
- package/components/algolia-dropdown/ng-package.json +6 -0
- package/components/algolia-dropdown/public-api.ts +1 -0
- package/components/algolia-search/components/algolia-search/algolia-search.component.html +96 -0
- package/components/algolia-search/components/algolia-search/algolia-search.component.scss +588 -0
- package/components/algolia-search/components/algolia-search/algolia-search.component.spec.ts +21 -0
- package/components/algolia-search/components/algolia-search/algolia-search.component.ts +415 -0
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.html +23 -0
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.scss +5 -0
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.spec.ts +22 -0
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.ts +90 -0
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.html +70 -0
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.scss +27 -0
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.spec.ts +21 -0
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.ts +77 -0
- package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.html +6 -0
- 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 +21 -0
- package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.ts +90 -0
- package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.html +1 -0
- 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 +21 -0
- package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.ts +9 -0
- package/components/algolia-search/index.ts +1 -0
- package/components/algolia-search/models/algolia-component-style.enum.ts +4 -0
- package/components/algolia-search/models/algolia-config.model.ts +8 -0
- package/components/algolia-search/models/algolia-hint.model.ts +4 -0
- package/components/algolia-search/models/algolia-hit-description.model.ts +6 -0
- package/components/algolia-search/models/algolia-multiple-index.model.ts +7 -0
- package/components/algolia-search/models/algolia-results-item.model.ts +8 -0
- package/components/algolia-search/models/algolia-results-multiple.model.ts +6 -0
- package/components/algolia-search/models/algolia-search-params.model.ts +83 -0
- package/components/algolia-search/ng-package.json +6 -0
- package/components/algolia-search/public-api.ts +13 -0
- package/components/banner/content-banner/content-banner.component.html +51 -0
- package/components/banner/content-banner/content-banner.component.scss +91 -0
- package/components/banner/content-banner/content-banner.component.spec.ts +27 -0
- package/components/banner/content-banner/content-banner.component.ts +36 -0
- package/components/banner/index.ts +1 -0
- package/components/banner/ng-package.json +6 -0
- package/components/banner/public-api.ts +1 -0
- package/components/breadcrumbs/breadcrumbs.component.html +56 -0
- package/components/breadcrumbs/breadcrumbs.component.scss +55 -0
- package/components/breadcrumbs/breadcrumbs.component.spec.ts +22 -0
- package/components/breadcrumbs/breadcrumbs.component.ts +142 -0
- package/components/breadcrumbs/index.ts +1 -0
- package/components/breadcrumbs/ng-package.json +6 -0
- package/components/breadcrumbs/public-api.ts +1 -0
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.html +91 -0
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.scss +143 -0
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.spec.ts +22 -0
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.ts +66 -0
- package/components/cards/expandable-card/expandable-card.component.html +30 -0
- package/components/cards/expandable-card/expandable-card.component.scss +100 -0
- package/components/cards/expandable-card/expandable-card.component.spec.ts +27 -0
- package/components/cards/expandable-card/expandable-card.component.ts +60 -0
- package/components/cards/index.ts +1 -0
- package/components/cards/ng-package.json +6 -0
- package/components/cards/public-api.ts +3 -0
- package/components/cards/testimonial-card/testimonial-card.component.html +41 -0
- package/components/cards/testimonial-card/testimonial-card.component.scss +96 -0
- package/components/cards/testimonial-card/testimonial-card.component.spec.ts +27 -0
- package/components/cards/testimonial-card/testimonial-card.component.ts +65 -0
- package/components/carousels/index.ts +1 -0
- package/components/carousels/ng-package.json +6 -0
- package/components/carousels/public-api.ts +1 -0
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.html +30 -0
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.scss +91 -0
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.spec.ts +27 -0
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.ts +73 -0
- package/components/cta-wrapper/cta-wrapper.component.html +54 -0
- package/components/cta-wrapper/cta-wrapper.component.scss +123 -0
- package/components/cta-wrapper/cta-wrapper.component.spec.ts +22 -0
- package/components/cta-wrapper/cta-wrapper.component.ts +77 -0
- package/components/cta-wrapper/index.ts +1 -0
- package/components/cta-wrapper/ng-package.json +6 -0
- package/components/cta-wrapper/public-api.ts +1 -0
- package/components/error/error.component.html +65 -0
- package/components/error/error.component.scss +26 -0
- package/components/error/error.component.spec.ts +22 -0
- package/components/error/error.component.ts +182 -0
- package/components/error/index.ts +1 -0
- package/components/error/ng-package.json +6 -0
- package/components/error/public-api.ts +1 -0
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.html +33 -0
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.scss +98 -0
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.spec.ts +22 -0
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.ts +87 -0
- package/components/filter-letter-and-terms/index.ts +1 -0
- package/components/filter-letter-and-terms/ng-package.json +6 -0
- package/components/filter-letter-and-terms/public-api.ts +1 -0
- package/components/filters/filter-generic/USAGE.md +147 -0
- package/components/filters/filter-generic/filter-generic.component.html +174 -0
- package/components/filters/filter-generic/filter-generic.component.scss +266 -0
- package/components/filters/filter-generic/filter-generic.component.spec.ts +21 -0
- package/components/filters/filter-generic/filter-generic.component.ts +266 -0
- package/components/filters/filter-generic/index.ts +1 -0
- package/components/filters/filter-generic/ng-package.json +6 -0
- package/components/filters/filter-generic/public-api.ts +1 -0
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.html +76 -0
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.scss +84 -0
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.spec.ts +21 -0
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.ts +149 -0
- package/components/filters/filter-planos-convenios/index.ts +1 -0
- package/components/filters/filter-planos-convenios/ng-package.json +6 -0
- package/components/filters/filter-planos-convenios/public-api.ts +1 -0
- package/components/footer/footer.component.html +125 -0
- package/components/footer/footer.component.scss +451 -0
- package/components/footer/footer.component.spec.ts +22 -0
- package/components/footer/footer.component.ts +94 -0
- package/components/footer/helpers/footerTheme.func.ts +119 -0
- package/components/footer/index.ts +1 -0
- package/components/footer/models/FooterTheme.model.ts +8 -0
- package/components/footer/ng-package.json +6 -0
- package/components/footer/public-api.ts +1 -0
- package/components/header/components/action/header-action-menu/header-action-menu.component.html +41 -0
- package/components/header/components/action/header-action-menu/header-action-menu.component.scss +158 -0
- package/components/header/components/action/header-action-menu/header-action-menu.component.spec.ts +22 -0
- package/components/header/components/action/header-action-menu/header-action-menu.component.ts +30 -0
- package/components/header/components/action/index.ts +1 -0
- package/components/header/components/action/ng-package.json +6 -0
- package/components/header/components/action/public-api.ts +1 -0
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.html +33 -0
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.scss +60 -0
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.spec.ts +22 -0
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.ts +46 -0
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.html +7 -0
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.scss +27 -0
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.spec.ts +22 -0
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.ts +19 -0
- package/components/header/components/auxiliar/index.ts +1 -0
- package/components/header/components/auxiliar/ng-package.json +6 -0
- package/components/header/components/auxiliar/public-api.ts +2 -0
- package/components/header/components/header-logo/header-logo.component.html +5 -0
- package/components/header/components/header-logo/header-logo.component.scss +20 -0
- package/components/header/components/header-logo/header-logo.component.spec.ts +22 -0
- package/components/header/components/header-logo/header-logo.component.ts +23 -0
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.html +30 -0
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.scss +53 -0
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.spec.ts +22 -0
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.ts +88 -0
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.html +112 -0
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.scss +259 -0
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.spec.ts +22 -0
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.ts +107 -0
- package/components/header/components/main/index.ts +1 -0
- package/components/header/components/main/ng-package.json +6 -0
- package/components/header/components/main/public-api.ts +2 -0
- package/components/header/components/side/header-side-menu/header-side-menu.component.html +32 -0
- package/components/header/components/side/header-side-menu/header-side-menu.component.scss +81 -0
- package/components/header/components/side/header-side-menu/header-side-menu.component.spec.ts +22 -0
- package/components/header/components/side/header-side-menu/header-side-menu.component.ts +29 -0
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.html +26 -0
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.scss +104 -0
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.spec.ts +22 -0
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.ts +45 -0
- package/components/header/components/side/index.ts +1 -0
- package/components/header/components/side/ng-package.json +6 -0
- package/components/header/components/side/public-api.ts +2 -0
- package/components/header/header.component.html +81 -0
- package/components/header/header.component.scss +171 -0
- package/components/header/header.component.spec.ts +22 -0
- package/components/header/header.component.ts +135 -0
- package/components/header/helpers/headerTheme.func.ts +288 -0
- package/components/header/index.ts +1 -0
- package/components/header/models/HeaderTheme.model.ts +9 -0
- package/components/header/ng-package.json +6 -0
- package/components/header/public-api.ts +2 -0
- package/components/header/services/header.service.spec.ts +16 -0
- package/components/header/services/header.service.ts +40 -0
- package/components/header/services/index.ts +1 -0
- package/components/header/services/ng-package.json +6 -0
- package/components/header/services/public-api.ts +1 -0
- package/components/image/image.component.html +9 -0
- package/components/image/image.component.scss +12 -0
- package/components/image/image.component.spec.ts +22 -0
- package/components/image/image.component.ts +43 -0
- package/components/image/index.ts +1 -0
- package/components/image/ng-package.json +6 -0
- package/components/image/public-api.ts +1 -0
- package/components/load-screen/index.ts +1 -0
- package/components/load-screen/load-screen.component.html +128 -0
- package/components/load-screen/load-screen.component.scss +46 -0
- package/components/load-screen/load-screen.component.spec.ts +27 -0
- package/components/load-screen/load-screen.component.ts +18 -0
- package/components/load-screen/ng-package.json +6 -0
- package/components/load-screen/public-api.ts +1 -0
- package/components/modal/index.ts +1 -0
- package/components/modal/modal.component.html +12 -0
- package/components/modal/modal.component.scss +34 -0
- package/components/modal/modal.component.spec.ts +22 -0
- package/components/modal/modal.component.ts +74 -0
- package/components/modal/ng-package.json +6 -0
- package/components/modal/public-api.ts +1 -0
- package/components/modal-drawer/index.ts +1 -0
- package/components/modal-drawer/modal-drawer.component.html +22 -0
- package/components/modal-drawer/modal-drawer.component.scss +250 -0
- package/components/modal-drawer/modal-drawer.component.spec.ts +22 -0
- package/components/modal-drawer/modal-drawer.component.ts +148 -0
- package/components/modal-drawer/ng-package.json +6 -0
- package/components/modal-drawer/public-api.ts +1 -0
- package/components/overlay/index.ts +1 -0
- package/components/overlay/ng-package.json +6 -0
- package/components/overlay/overlay.component.html +1 -0
- package/components/overlay/overlay.component.scss +13 -0
- package/components/overlay/overlay.component.spec.ts +22 -0
- package/components/overlay/overlay.component.ts +15 -0
- package/components/overlay/public-api.ts +1 -0
- package/components/page-header/index.ts +1 -0
- package/components/page-header/ng-package.json +6 -0
- package/components/page-header/page-header.component.html +25 -0
- package/components/page-header/page-header.component.scss +110 -0
- package/components/page-header/page-header.component.spec.ts +22 -0
- package/components/page-header/page-header.component.ts +41 -0
- package/components/page-header/public-api.ts +1 -0
- package/components/page-template-fullcontent/index.ts +1 -0
- package/components/page-template-fullcontent/ng-package.json +6 -0
- package/components/page-template-fullcontent/page-template-fullcontent.component.html +37 -0
- package/components/page-template-fullcontent/page-template-fullcontent.component.scss +41 -0
- package/components/page-template-fullcontent/page-template-fullcontent.component.ts +22 -0
- package/components/page-template-fullcontent/public-api.ts +1 -0
- package/components/page-template-sidebar/index.ts +1 -0
- package/components/page-template-sidebar/ng-package.json +6 -0
- package/components/page-template-sidebar/page-template-sidebar.component.html +50 -0
- package/components/page-template-sidebar/page-template-sidebar.component.scss +80 -0
- package/components/page-template-sidebar/page-template-sidebar.component.spec.ts +22 -0
- package/components/page-template-sidebar/page-template-sidebar.component.ts +25 -0
- package/components/page-template-sidebar/public-api.ts +1 -0
- package/components/pagination/index.ts +1 -0
- package/components/pagination/ng-package.json +6 -0
- package/components/pagination/pagination.component.html +53 -0
- package/components/pagination/pagination.component.scss +124 -0
- package/components/pagination/pagination.component.spec.ts +22 -0
- package/components/pagination/pagination.component.ts +48 -0
- package/components/pagination/public-api.ts +1 -0
- package/components/search/index.ts +1 -0
- package/components/search/ng-package.json +6 -0
- package/components/search/public-api.ts +1 -0
- package/components/search/search.component.html +32 -0
- package/components/search/search.component.scss +59 -0
- package/components/search/search.component.spec.ts +22 -0
- package/components/search/search.component.ts +122 -0
- package/components/section-navigation/index.ts +1 -0
- package/components/section-navigation/ng-package.json +6 -0
- package/components/section-navigation/public-api.ts +1 -0
- package/components/section-navigation/section-navigation.component.html +23 -0
- package/components/section-navigation/section-navigation.component.scss +50 -0
- package/components/section-navigation/section-navigation.component.spec.ts +22 -0
- package/components/section-navigation/section-navigation.component.ts +159 -0
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.html +8 -0
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.scss +56 -0
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.spec.ts +22 -0
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.ts +31 -0
- package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.html +11 -0
- 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 +22 -0
- package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.ts +23 -0
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.html +10 -0
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.scss +54 -0
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.spec.ts +22 -0
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.ts +30 -0
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.html +1 -0
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.scss +11 -0
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.spec.ts +22 -0
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.ts +9 -0
- package/components/side-ctas/index.ts +1 -0
- package/components/side-ctas/models/SideCta.model.ts +5 -0
- package/components/side-ctas/ng-package.json +6 -0
- package/components/side-ctas/public-api.ts +6 -0
- package/components/side-ctas/side-ctas.component.html +28 -0
- package/components/side-ctas/side-ctas.component.scss +62 -0
- package/components/side-ctas/side-ctas.component.spec.ts +22 -0
- package/components/side-ctas/side-ctas.component.ts +17 -0
- package/components/sidebar-navigation/index.ts +1 -0
- package/components/sidebar-navigation/ng-package.json +6 -0
- package/components/sidebar-navigation/public-api.ts +1 -0
- package/components/sidebar-navigation/sidebar-navigation.component.html +42 -0
- package/components/sidebar-navigation/sidebar-navigation.component.scss +25 -0
- package/components/sidebar-navigation/sidebar-navigation.component.ts +122 -0
- package/components/sticky-navigation/index.ts +1 -0
- package/components/sticky-navigation/ng-package.json +6 -0
- package/components/sticky-navigation/public-api.ts +1 -0
- package/components/sticky-navigation/sticky-navigation.component.html +39 -0
- package/components/sticky-navigation/sticky-navigation.component.scss +48 -0
- package/components/sticky-navigation/sticky-navigation.component.ts +134 -0
- package/components/whatsapp/index.ts +1 -0
- package/components/whatsapp/ng-package.json +6 -0
- package/components/whatsapp/public-api.ts +1 -0
- package/components/whatsapp/whatsapp.component.html +23 -0
- package/components/whatsapp/whatsapp.component.scss +113 -0
- package/components/whatsapp/whatsapp.component.spec.ts +22 -0
- package/components/whatsapp/whatsapp.component.ts +40 -0
- package/core/directives/rdsite-link/rdsite-link.directive.spec.ts +8 -0
- package/core/directives/rdsite-link/rdsite-link.directive.ts +200 -0
- package/core/directives/rdsite-phone-modal/rdsite-phone-modal.directive.spec.ts +8 -0
- package/core/directives/rdsite-phone-modal/rdsite-phone-modal.directive.ts +41 -0
- package/core/enums/RdsiteModalComponentStyle.enum.ts +13 -0
- package/core/enums/RdsiteModalDrawerComponentStyle.enum.ts +7 -0
- package/core/helpers/check-safari-agent.func.ts +6 -0
- package/core/helpers/djb2Hash.func.ts +18 -0
- package/core/helpers/executeWithRetry.func.ts +25 -0
- package/core/helpers/formatPhone.func.ts +22 -0
- package/core/helpers/getCircularReplacer.func.ts +45 -0
- package/core/helpers/getSiteUrl.func.ts +7 -0
- package/core/helpers/removeHtmlTags.func.ts +6 -0
- package/core/helpers/toQueryParams.func.ts +11 -0
- package/core/index.ts +1 -0
- package/core/interceptors/error.interceptor.ts +39 -0
- package/core/interceptors/log.interceptor.ts +35 -0
- package/core/interceptors/transfer-state-url.interceptor.ts +137 -0
- package/core/models/algolia-search-api.model.ts +213 -0
- package/core/models/breadcrumbs/breadcrumbs-items.model.ts +10 -0
- package/core/models/breadcrumbs/breadcrumbs-json-item.model.ts +8 -0
- package/core/models/centro-estudos-backend.model.ts +8 -0
- package/core/models/centro-medico.model.ts +33 -0
- package/core/models/content-banner.model.ts +7 -0
- package/core/models/cta-wrapper.model.ts +9 -0
- package/core/models/doenca-backend.model.ts +27 -0
- package/core/models/doenca-taxonomy.model.ts +21 -0
- package/core/models/especialidade-backend.model.ts +25 -0
- package/core/models/exame-backend.model.ts +26 -0
- package/core/models/filters/filter-planos-convenios.model.ts +34 -0
- package/core/models/filters/filter-section.type.ts +18 -0
- package/core/models/filters/filter-sections.model.ts +66 -0
- package/core/models/images/rdsite-image.model.ts +5 -0
- package/core/models/index.ts +1 -0
- package/core/models/medico-cv.model.ts +10 -0
- package/core/models/menu-de-unidade.model.ts +16 -0
- package/core/models/menu-item.model.ts +71 -0
- package/core/models/privacy-tools/privacy-tools.model.ts +9 -0
- package/core/models/rdsl-cobertura.model.ts +72 -0
- package/core/models/rdsl-convenio.model.ts +18 -0
- package/core/models/rdsl-especialidade.model.ts +36 -0
- package/core/models/rdsl-planos.model.ts +14 -0
- package/core/models/rdsl-post-category.model.ts +8 -0
- package/core/models/rdsl-unidade.model.ts +52 -0
- package/core/models/section-navigation.model.ts +10 -0
- package/core/models/seo/seo-data.model.ts +11 -0
- package/core/models/seo/seo-unidade.model.ts +6 -0
- package/core/models/social-meta-properties.model.ts +9 -0
- package/core/models/wordpress/WpEnvelopeResponse.model.ts +12 -0
- package/core/models/wordpress/WpHttpParams.model.ts +5 -0
- package/core/models/wordpress/WpQueryParams.model.ts +32 -0
- package/core/models/wordpress/WpResponse.model.ts +35 -0
- package/core/models/wordpress/category/wpCategory.model.ts +15 -0
- package/core/models/wordpress/category/wpCategoryRequestParams.model.ts +9 -0
- package/core/models/wordpress/flexiblecontent/flexiblecontent.model.ts +4 -0
- package/core/models/wordpress/general/content.model.ts +4 -0
- package/core/models/wordpress/general/excerpt.model.ts +4 -0
- package/core/models/wordpress/general/featuredMedia.model.ts +27 -0
- package/core/models/wordpress/general/guid.model.ts +3 -0
- package/core/models/wordpress/general/index.ts +10 -0
- package/core/models/wordpress/general/links.model.ts +47 -0
- package/core/models/wordpress/general/meta.model.ts +3 -0
- package/core/models/wordpress/general/title.model.ts +3 -0
- package/core/models/wordpress/general/yoastData.model.ts +4 -0
- package/core/models/wordpress/general/yoastHeadJson.model.ts +55 -0
- package/core/models/wordpress/general/yoastMeta.model.ts +5 -0
- package/core/models/wordpress/page/page.model.ts +11 -0
- package/core/models/wordpress/page/pageRequestParams.model.ts +11 -0
- package/core/models/wordpress/post/post.model.ts +37 -0
- package/core/models/wordpress/post/postRequestParams.model.ts +23 -0
- package/core/models/wordpress/unidade/wp-unidade-onco.model.ts +62 -0
- package/core/models/wordpress/unidade/wp-unidade-site-detalhe.model.ts +173 -0
- package/core/models/wordpress/unidade/wp-unidade-site.model.ts +48 -0
- package/core/ng-package.json +6 -0
- package/core/public-api.ts +79 -0
- package/core/services/error/error.service.spec.ts +16 -0
- package/core/services/error/error.service.ts +10 -0
- package/core/services/geoloc/geoloc.service.spec.ts +16 -0
- package/core/services/geoloc/geoloc.service.ts +225 -0
- package/core/services/http-client/http-client.service.spec.ts +16 -0
- package/core/services/http-client/http-client.service.ts +49 -0
- package/core/services/log/log.service.spec.ts +16 -0
- package/core/services/log/log.service.ts +36 -0
- package/core/services/mapbox/mapbox.service.spec.ts +16 -0
- package/core/services/mapbox/mapbox.service.ts +84 -0
- package/core/services/modal/modal.service.spec.ts +16 -0
- package/core/services/modal/modal.service.ts +124 -0
- package/core/services/modal-drawer/modal-drawer.service.spec.ts +16 -0
- package/core/services/modal-drawer/modal-drawer.service.ts +104 -0
- package/core/services/phone/phone.service.spec.ts +16 -0
- package/core/services/phone/phone.service.ts +19 -0
- package/core/services/privacy-tools/privacy-tools.service.spec.ts +16 -0
- package/core/services/privacy-tools/privacy-tools.service.ts +96 -0
- package/core/services/seo/seo.service.spec.ts +16 -0
- package/core/services/seo/seo.service.ts +537 -0
- package/core/services/server-response/server-response.service.spec.ts +16 -0
- package/core/services/server-response/server-response.service.ts +107 -0
- package/core/services/site-back-end/site-back-end.service.spec.ts +16 -0
- package/core/services/site-back-end/site-back-end.service.ts +48 -0
- package/core/services/ssr-response/ssr-response.service.spec.ts +16 -0
- package/core/services/ssr-response/ssr-response.service.ts +57 -0
- package/core/tokens/LibConfig.ts +64 -0
- package/core/tokens/express.tokens.ts +5 -0
- package/cura/accordion/cura-accordion/cura-accordion.component.html +1 -0
- package/cura/accordion/cura-accordion/cura-accordion.component.scss +7 -0
- package/cura/accordion/cura-accordion/cura-accordion.component.ts +203 -0
- package/cura/accordion/cura-accordion-item/cura-accordion-item.component.html +20 -0
- package/cura/accordion/cura-accordion-item/cura-accordion-item.component.scss +139 -0
- package/cura/accordion/cura-accordion-item/cura-accordion-item.component.ts +75 -0
- package/cura/accordion/cura-accordion.definitions.ts +5 -0
- package/cura/accordion/index.ts +1 -0
- package/cura/accordion/ng-package.json +6 -0
- package/cura/accordion/public-api.ts +3 -0
- package/cura/api/CuraConfig.ts +5 -0
- package/cura/api/cura-api.service.spec.ts +138 -0
- package/cura/api/cura-api.service.ts +104 -0
- package/cura/api/cura-api.types.ts +79 -0
- package/cura/api/index.ts +1 -0
- package/cura/api/modules/cura-theme-breakpoints.module.ts +22 -0
- package/cura/api/modules/cura-theme-colors.module.ts +89 -0
- package/cura/api/modules/cura-theme-fonts.module.ts +54 -0
- package/cura/api/modules/cura-theme-spacing.module.ts +23 -0
- package/cura/api/modules/cura-theme.module.ts +116 -0
- package/cura/api/ng-package.json +6 -0
- package/cura/api/public-api.ts +11 -0
- package/cura/api/theme-presets/static.ts +70 -0
- package/cura/api/theme-presets/theme-default.ts +49 -0
- package/cura/api/theme-presets/theme-maternidade-star.ts +49 -0
- package/cura/api/theme-presets/theme-presets.ts +13 -0
- package/cura/api/theme-presets/theme-star.ts +49 -0
- package/cura/badges/cura-badge-counter/cura-badge-counter.component.html +7 -0
- package/cura/badges/cura-badge-counter/cura-badge-counter.component.scss +41 -0
- package/cura/badges/cura-badge-counter/cura-badge-counter.component.ts +94 -0
- package/cura/badges/cura-badge-counter/index.ts +1 -0
- package/cura/badges/cura-badge-counter/ng-package.json +6 -0
- package/cura/badges/cura-badge-counter/public-api.ts +1 -0
- package/cura/badges/cura-badge-distance/cura-badge-distance.component.html +8 -0
- package/cura/badges/cura-badge-distance/cura-badge-distance.component.scss +16 -0
- package/cura/badges/cura-badge-distance/cura-badge-distance.component.ts +53 -0
- package/cura/badges/cura-badge-distance/index.ts +1 -0
- package/cura/badges/cura-badge-distance/ng-package.json +6 -0
- package/cura/badges/cura-badge-distance/public-api.ts +1 -0
- package/cura/badges/cura-badge-dot/cura-badge-dot.component.html +1 -0
- package/cura/badges/cura-badge-dot/cura-badge-dot.component.scss +50 -0
- package/cura/badges/cura-badge-dot/cura-badge-dot.component.ts +69 -0
- package/cura/badges/cura-badge-dot/index.ts +1 -0
- package/cura/badges/cura-badge-dot/ng-package.json +6 -0
- package/cura/badges/cura-badge-dot/public-api.ts +1 -0
- package/cura/badges/cura-badge-pill/cura-badge-pill.component.html +8 -0
- package/cura/badges/cura-badge-pill/cura-badge-pill.component.scss +74 -0
- package/cura/badges/cura-badge-pill/cura-badge-pill.component.ts +105 -0
- package/cura/badges/cura-badge-pill/index.ts +1 -0
- package/cura/badges/cura-badge-pill/ng-package.json +6 -0
- package/cura/badges/cura-badge-pill/public-api.ts +1 -0
- package/cura/badges/cura-badges.definitions.ts +5 -0
- package/cura/badges/index.ts +1 -0
- package/cura/badges/ng-package.json +6 -0
- package/cura/badges/public-api.ts +1 -0
- package/cura/buttons/cura-button/cura-button.component.html +47 -0
- package/cura/buttons/cura-button/cura-button.component.scss +66 -0
- package/cura/buttons/cura-button/cura-button.component.spec.ts +105 -0
- package/cura/buttons/cura-button/cura-button.component.ts +184 -0
- package/cura/buttons/cura-button/index.ts +1 -0
- package/cura/buttons/cura-button/ng-package.json +6 -0
- package/cura/buttons/cura-button/public-api.ts +1 -0
- package/cura/buttons/cura-button-outline/cura-button-outline.component.html +47 -0
- package/cura/buttons/cura-button-outline/cura-button-outline.component.scss +55 -0
- package/cura/buttons/cura-button-outline/cura-button-outline.component.spec.ts +57 -0
- package/cura/buttons/cura-button-outline/cura-button-outline.component.ts +184 -0
- package/cura/buttons/cura-button-outline/index.ts +1 -0
- package/cura/buttons/cura-button-outline/ng-package.json +6 -0
- package/cura/buttons/cura-button-outline/public-api.ts +1 -0
- package/cura/buttons/cura-button-select/cura-button-select.component.html +27 -0
- package/cura/buttons/cura-button-select/cura-button-select.component.scss +76 -0
- package/cura/buttons/cura-button-select/cura-button-select.component.spec.ts +96 -0
- package/cura/buttons/cura-button-select/cura-button-select.component.ts +140 -0
- package/cura/buttons/cura-button-select/index.ts +1 -0
- package/cura/buttons/cura-button-select/ng-package.json +6 -0
- package/cura/buttons/cura-button-select/public-api.ts +1 -0
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.html +47 -0
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.scss +29 -0
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.spec.ts +63 -0
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.ts +172 -0
- package/cura/buttons/cura-button-transparent/index.ts +1 -0
- package/cura/buttons/cura-button-transparent/ng-package.json +6 -0
- package/cura/buttons/cura-button-transparent/public-api.ts +1 -0
- package/cura/buttons/cura-button.definitions.ts +13 -0
- package/cura/buttons/index.ts +1 -0
- package/cura/buttons/ng-package.json +6 -0
- package/cura/buttons/public-api.ts +1 -0
- package/cura/cards/cura-card/cura-card.component.html +11 -0
- package/cura/cards/cura-card/cura-card.component.scss +167 -0
- package/cura/cards/cura-card/cura-card.component.ts +89 -0
- package/cura/cards/cura-card/cura-cards.definitions.ts +5 -0
- package/cura/cards/cura-card/index.ts +1 -0
- package/cura/cards/cura-card/ng-package.json +6 -0
- package/cura/cards/cura-card/public-api.ts +1 -0
- package/cura/feedback/cura-alert/cura-alert.component.html +21 -0
- package/cura/feedback/cura-alert/cura-alert.component.scss +32 -0
- package/cura/feedback/cura-alert/cura-alert.component.ts +94 -0
- package/cura/feedback/cura-alert/cura-alert.definitions.ts +15 -0
- package/cura/feedback/cura-alert/index.ts +1 -0
- package/cura/feedback/cura-alert/ng-package.json +6 -0
- package/cura/feedback/cura-alert/public-api.ts +2 -0
- package/cura/feedback/cura-modal/cura-modal.component.html +20 -0
- package/cura/feedback/cura-modal/cura-modal.component.scss +149 -0
- package/cura/feedback/cura-modal/cura-modal.component.ts +112 -0
- package/cura/feedback/cura-modal/cura-modal.definitions.ts +36 -0
- package/cura/feedback/cura-modal/index.ts +1 -0
- package/cura/feedback/cura-modal/ng-package.json +6 -0
- package/cura/feedback/cura-modal/public-api.ts +2 -0
- package/cura/feedback/cura-toast/cura-toast.component.html +23 -0
- package/cura/feedback/cura-toast/cura-toast.component.scss +96 -0
- package/cura/feedback/cura-toast/cura-toast.component.ts +213 -0
- package/cura/feedback/cura-toast/cura-toast.definitions.ts +22 -0
- package/cura/feedback/cura-toast/index.ts +1 -0
- package/cura/feedback/cura-toast/ng-package.json +6 -0
- package/cura/feedback/cura-toast/public-api.ts +2 -0
- package/cura/forms/cura-checkbox/cura-checkbox.component.html +35 -0
- package/cura/forms/cura-checkbox/cura-checkbox.component.scss +219 -0
- package/cura/forms/cura-checkbox/cura-checkbox.component.ts +284 -0
- package/cura/forms/cura-checkbox/cura-checkbox.definitions.ts +44 -0
- package/cura/forms/cura-checkbox/index.ts +1 -0
- package/cura/forms/cura-checkbox/ng-package.json +6 -0
- package/cura/forms/cura-checkbox/public-api.ts +2 -0
- package/cura/forms/cura-forms.definitions.ts +18 -0
- package/cura/forms/cura-input-text/cura-input-text.component.html +65 -0
- package/cura/forms/cura-input-text/cura-input-text.component.scss +165 -0
- package/cura/forms/cura-input-text/cura-input-text.component.ts +621 -0
- package/cura/forms/cura-input-text/cura-input-text.definitions.ts +104 -0
- package/cura/forms/cura-input-text/index.ts +1 -0
- package/cura/forms/cura-input-text/ng-package.json +6 -0
- package/cura/forms/cura-input-text/public-api.ts +2 -0
- package/cura/forms/cura-label/cura-label.component.html +3 -0
- package/cura/forms/cura-label/cura-label.component.scss +68 -0
- package/cura/forms/cura-label/cura-label.component.ts +93 -0
- package/cura/forms/cura-label/index.ts +1 -0
- package/cura/forms/cura-label/ng-package.json +6 -0
- package/cura/forms/cura-label/public-api.ts +1 -0
- package/cura/forms/cura-radio/cura-radio.component.html +28 -0
- package/cura/forms/cura-radio/cura-radio.component.scss +232 -0
- package/cura/forms/cura-radio/cura-radio.component.ts +261 -0
- package/cura/forms/cura-radio/cura-radio.definitions.ts +46 -0
- package/cura/forms/cura-radio/index.ts +1 -0
- package/cura/forms/cura-radio/ng-package.json +6 -0
- package/cura/forms/cura-radio/public-api.ts +2 -0
- package/cura/forms/cura-select/cura-select.component.html +88 -0
- package/cura/forms/cura-select/cura-select.component.scss +112 -0
- package/cura/forms/cura-select/cura-select.component.ts +459 -0
- package/cura/forms/cura-select/cura-select.definitions.ts +34 -0
- package/cura/forms/cura-select/index.ts +1 -0
- package/cura/forms/cura-select/ng-package.json +6 -0
- package/cura/forms/cura-select/public-api.ts +2 -0
- package/cura/forms/cura-select-option/cura-select-option.component.html +9 -0
- package/cura/forms/cura-select-option/cura-select-option.component.scss +33 -0
- package/cura/forms/cura-select-option/cura-select-option.component.ts +93 -0
- package/cura/forms/cura-select-option/cura-select-option.definitions.ts +12 -0
- package/cura/forms/cura-select-option/index.ts +1 -0
- package/cura/forms/cura-select-option/ng-package.json +6 -0
- package/cura/forms/cura-select-option/public-api.ts +2 -0
- package/cura/forms/cura-select-state/cura-select-state.component.html +14 -0
- package/cura/forms/cura-select-state/cura-select-state.component.ts +125 -0
- package/cura/forms/cura-select-state/cura-select-state.definitions.ts +19 -0
- package/cura/forms/cura-select-state/index.ts +1 -0
- package/cura/forms/cura-select-state/ng-package.json +6 -0
- package/cura/forms/cura-select-state/public-api.ts +2 -0
- package/cura/forms/cura-switch/cura-switch.component.html +25 -0
- package/cura/forms/cura-switch/cura-switch.component.scss +134 -0
- package/cura/forms/cura-switch/cura-switch.component.ts +196 -0
- package/cura/forms/cura-switch/cura-switch.definitions.ts +35 -0
- package/cura/forms/cura-switch/index.ts +1 -0
- package/cura/forms/cura-switch/ng-package.json +6 -0
- package/cura/forms/cura-switch/public-api.ts +2 -0
- package/cura/forms/cura-textarea/cura-textarea.component.html +44 -0
- package/cura/forms/cura-textarea/cura-textarea.component.scss +173 -0
- package/cura/forms/cura-textarea/cura-textarea.component.ts +226 -0
- package/cura/forms/cura-textarea/cura-textarea.definitions.ts +24 -0
- package/cura/forms/cura-textarea/index.ts +1 -0
- package/cura/forms/cura-textarea/ng-package.json +6 -0
- package/cura/forms/cura-textarea/public-api.ts +2 -0
- package/cura/forms/index.ts +1 -0
- package/cura/forms/ng-package.json +6 -0
- package/cura/forms/public-api.ts +1 -0
- package/cura/icons/cura-icon/cura-icon.component.html +3 -0
- package/cura/icons/cura-icon/cura-icon.component.scss +14 -0
- package/cura/icons/cura-icon/cura-icon.component.spec.ts +89 -0
- package/cura/icons/cura-icon/cura-icon.component.ts +79 -0
- package/cura/icons/cura-icon/cura-icon.definitions.ts +20 -0
- package/cura/icons/cura-icon/index.ts +1 -0
- package/cura/icons/cura-icon/ng-package.json +6 -0
- package/cura/icons/cura-icon/public-api.ts +2 -0
- package/cura/loaders/cura-loader-bar/cura-loader-bar.component.html +3 -0
- package/cura/loaders/cura-loader-bar/cura-loader-bar.component.scss +23 -0
- package/cura/loaders/cura-loader-bar/cura-loader-bar.component.ts +37 -0
- package/cura/loaders/cura-loader-bar/index.ts +1 -0
- package/cura/loaders/cura-loader-bar/ng-package.json +6 -0
- package/cura/loaders/cura-loader-bar/public-api.ts +1 -0
- package/cura/loaders/cura-loader-circle/cura-loader-circle.component.html +12 -0
- package/cura/loaders/cura-loader-circle/cura-loader-circle.component.scss +39 -0
- package/cura/loaders/cura-loader-circle/cura-loader-circle.component.ts +45 -0
- package/cura/loaders/cura-loader-circle/index.ts +1 -0
- package/cura/loaders/cura-loader-circle/ng-package.json +6 -0
- package/cura/loaders/cura-loader-circle/public-api.ts +1 -0
- package/cura/scss/mixins/buttons.scss +244 -0
- package/cura/scss/mixins/forms.scss +298 -0
- package/cura/scss/mixins/responsive.scss +69 -0
- package/cura/scss/mixins/shadows.scss +71 -0
- package/cura/scss/mixins/spacing.scss +33 -0
- package/cura/scss/mixins/text.scss +11 -0
- package/cura/texts/cura-display/cura-display.component.html +41 -0
- package/cura/texts/cura-display/cura-display.component.scss +91 -0
- package/cura/texts/cura-display/cura-display.component.ts +85 -0
- package/cura/texts/cura-display/index.ts +1 -0
- package/cura/texts/cura-display/ng-package.json +6 -0
- package/cura/texts/cura-display/public-api.ts +1 -0
- package/cura/texts/cura-heading/cura-heading.component.html +41 -0
- package/cura/texts/cura-heading/cura-heading.component.scss +160 -0
- package/cura/texts/cura-heading/cura-heading.component.ts +111 -0
- package/cura/texts/cura-heading/index.ts +1 -0
- package/cura/texts/cura-heading/ng-package.json +6 -0
- package/cura/texts/cura-heading/public-api.ts +1 -0
- package/cura/texts/cura-paragraph/cura-paragraph.component.html +3 -0
- package/cura/texts/cura-paragraph/cura-paragraph.component.scss +130 -0
- package/cura/texts/cura-paragraph/cura-paragraph.component.ts +94 -0
- package/cura/texts/cura-paragraph/index.ts +1 -0
- package/cura/texts/cura-paragraph/ng-package.json +6 -0
- package/cura/texts/cura-paragraph/public-api.ts +1 -0
- package/cura/texts/cura-texts.definitions.ts +9 -0
- package/cura/texts/index.ts +1 -0
- package/cura/texts/ng-package.json +6 -0
- package/cura/texts/public-api.ts +1 -0
- package/enums/EnumError.enum.ts +4 -0
- package/enums/EnumThemes.enum.ts +8 -0
- package/enums/Estados.enum.ts +29 -0
- package/enums/IconCuraDefaultType.enum.ts +119 -0
- package/enums/ImageMimeType.enum.ts +5 -0
- package/enums/UnidadeCoverageType.enum.ts +5 -0
- package/enums/index.ts +1 -0
- package/enums/ng-package.json +6 -0
- package/enums/public-api.ts +6 -0
- package/ng-package.json +8 -0
- package/package.json +9 -312
- package/services/algolia/algolia.service.spec.ts +16 -0
- package/services/algolia/algolia.service.ts +36 -0
- package/services/algolia/index.ts +1 -0
- package/services/algolia/ng-package.json +6 -0
- package/services/algolia/public-api.ts +1 -0
- package/services/algolia-search-api/algolia-search-api.service.spec.ts +16 -0
- package/services/algolia-search-api/algolia-search-api.service.ts +72 -0
- package/services/algolia-search-api/index.ts +1 -0
- package/services/algolia-search-api/ng-package.json +6 -0
- package/services/algolia-search-api/public-api.ts +1 -0
- package/services/ngu-carousel/index.ts +1 -0
- package/services/ngu-carousel/ng-package.json +6 -0
- package/services/ngu-carousel/ngu-carousel.service.spec.ts +16 -0
- package/services/ngu-carousel/ngu-carousel.service.ts +80 -0
- package/services/ngu-carousel/public-api.ts +1 -0
- package/services/ssr-loading/index.ts +1 -0
- package/services/ssr-loading/ng-package.json +6 -0
- package/services/ssr-loading/public-api.ts +1 -0
- package/services/ssr-loading/ssr-loading.service.spec.ts +16 -0
- package/services/ssr-loading/ssr-loading.service.ts +41 -0
- package/services/transfer-state/index.ts +1 -0
- package/services/transfer-state/ng-package.json +6 -0
- package/services/transfer-state/public-api.ts +1 -0
- package/services/transfer-state/transfer-state.service.spec.ts +16 -0
- package/services/transfer-state/transfer-state.service.ts +38 -0
- package/services/youtube/index.ts +1 -0
- package/services/youtube/ng-package.json +6 -0
- package/services/youtube/public-api.ts +1 -0
- package/services/youtube/youtube.service.spec.ts +16 -0
- package/services/youtube/youtube.service.ts +28 -0
- package/shared/directives/rdsite-click-outside/rdsite-click-outside.directive.spec.ts +8 -0
- package/shared/directives/rdsite-click-outside/rdsite-click-outside.directive.ts +18 -0
- package/shared/helpers/clean-text.func.ts +15 -0
- package/shared/helpers/mediaQueries.ts +11 -0
- package/shared/helpers/removeDuplicateObjectsFromArray.func.ts +5 -0
- package/shared/helpers/removeDuplicateValuesFromArray.func.ts +5 -0
- package/shared/helpers/stringToSlug.func.ts +32 -0
- package/shared/index.ts +1 -0
- package/shared/ng-package.json +6 -0
- package/shared/pipes/phone/phone.pipe.spec.ts +8 -0
- package/shared/pipes/phone/phone.pipe.ts +11 -0
- package/shared/public-api.ts +9 -0
- package/src/public-api.ts +5 -0
- package/styles/_mixins.scss +49 -0
- package/styles/_utilities.scss +22 -0
- package/tsconfig.lib.json +13 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/components/algolia-dropdown/index.d.ts +0 -38
- package/components/algolia-search/index.d.ts +0 -304
- package/components/banner/index.d.ts +0 -20
- package/components/breadcrumbs/index.d.ts +0 -42
- package/components/cards/index.d.ts +0 -102
- package/components/carousels/index.d.ts +0 -28
- package/components/cta-wrapper/index.d.ts +0 -33
- package/components/error/index.d.ts +0 -47
- package/components/filter-letter-and-terms/index.d.ts +0 -38
- package/components/filters/filter-generic/index.d.ts +0 -70
- package/components/filters/filter-planos-convenios/index.d.ts +0 -41
- package/components/footer/index.d.ts +0 -44
- package/components/header/components/action/index.d.ts +0 -17
- package/components/header/components/auxiliar/index.d.ts +0 -31
- package/components/header/components/main/index.d.ts +0 -72
- package/components/header/components/side/index.d.ts +0 -35
- package/components/header/index.d.ts +0 -63
- package/components/header/services/index.d.ts +0 -14
- package/components/image/index.d.ts +0 -23
- package/components/load-screen/index.d.ts +0 -14
- package/components/modal/index.d.ts +0 -28
- package/components/modal-drawer/index.d.ts +0 -46
- package/components/overlay/index.d.ts +0 -10
- package/components/page-header/index.d.ts +0 -30
- package/components/page-template-fullcontent/index.d.ts +0 -17
- package/components/page-template-sidebar/index.d.ts +0 -20
- package/components/pagination/index.d.ts +0 -30
- package/components/search/index.d.ts +0 -45
- package/components/section-navigation/index.d.ts +0 -45
- package/components/side-ctas/index.d.ts +0 -70
- package/components/sidebar-navigation/index.d.ts +0 -40
- package/components/sticky-navigation/index.d.ts +0 -42
- package/components/whatsapp/index.d.ts +0 -27
- package/core/index.d.ts +0 -2049
- package/cura/accordion/index.d.ts +0 -120
- package/cura/api/index.d.ts +0 -359
- package/cura/badges/cura-badge-counter/index.d.ts +0 -38
- package/cura/badges/cura-badge-distance/index.d.ts +0 -21
- package/cura/badges/cura-badge-dot/index.d.ts +0 -29
- package/cura/badges/cura-badge-pill/index.d.ts +0 -42
- package/cura/badges/index.d.ts +0 -5
- package/cura/buttons/cura-button/index.d.ts +0 -90
- package/cura/buttons/cura-button-outline/index.d.ts +0 -90
- package/cura/buttons/cura-button-select/index.d.ts +0 -39
- package/cura/buttons/cura-button-transparent/index.d.ts +0 -87
- package/cura/buttons/index.d.ts +0 -15
- package/cura/cards/cura-card/index.d.ts +0 -49
- package/cura/feedback/cura-alert/index.d.ts +0 -55
- package/cura/feedback/cura-modal/index.d.ts +0 -97
- package/cura/feedback/cura-toast/index.d.ts +0 -104
- package/cura/forms/cura-checkbox/index.d.ts +0 -157
- package/cura/forms/cura-input-text/index.d.ts +0 -236
- package/cura/forms/cura-label/index.d.ts +0 -47
- package/cura/forms/cura-radio/index.d.ts +0 -148
- package/cura/forms/cura-select/index.d.ts +0 -155
- package/cura/forms/cura-select-option/index.d.ts +0 -54
- package/cura/forms/cura-select-state/index.d.ts +0 -72
- package/cura/forms/cura-switch/index.d.ts +0 -113
- package/cura/forms/cura-textarea/index.d.ts +0 -113
- package/cura/forms/index.d.ts +0 -20
- package/cura/icons/cura-icon/index.d.ts +0 -46
- package/cura/loaders/cura-loader-bar/index.d.ts +0 -22
- package/cura/loaders/cura-loader-circle/index.d.ts +0 -24
- package/cura/texts/cura-display/index.d.ts +0 -54
- package/cura/texts/cura-heading/index.d.ts +0 -65
- package/cura/texts/cura-paragraph/index.d.ts +0 -54
- package/cura/texts/index.d.ts +0 -7
- package/enums/index.d.ts +0 -177
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs +0 -108
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +0 -604
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +0 -44
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +0 -120
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +0 -178
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +0 -75
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +0 -78
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs +0 -176
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs +0 -93
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +0 -245
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +0 -139
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +0 -199
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +0 -34
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +0 -62
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +0 -167
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +0 -71
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs +0 -50
- package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs +0 -416
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs +0 -48
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +0 -30
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +0 -145
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +0 -82
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs +0 -24
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +0 -52
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs +0 -27
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs +0 -30
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +0 -55
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs +0 -119
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +0 -141
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs +0 -118
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +0 -109
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +0 -120
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +0 -49
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-core.mjs +0 -1812
- package/fesm2022/rededor-site-front-end-lib-core.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs +0 -252
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs +0 -643
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs +0 -90
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs +0 -55
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs +0 -66
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs +0 -91
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs +0 -4
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +0 -170
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +0 -135
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +0 -161
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +0 -170
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs +0 -13
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +0 -72
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs +0 -90
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs +0 -105
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs +0 -198
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs +0 -258
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs +0 -587
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs +0 -82
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs +0 -243
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs +0 -89
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs +0 -123
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +0 -389
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs +0 -182
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs +0 -209
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs +0 -21
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs +0 -88
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs +0 -44
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs +0 -49
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs +0 -84
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs +0 -104
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs +0 -89
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs +0 -4
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-enums.mjs +0 -188
- package/fesm2022/rededor-site-front-end-lib-enums.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs +0 -74
- package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs +0 -41
- package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs +0 -88
- package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs +0 -52
- package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs +0 -49
- package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs +0 -40
- package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib-shared.mjs +0 -110
- package/fesm2022/rededor-site-front-end-lib-shared.mjs.map +0 -1
- package/fesm2022/rededor-site-front-end-lib.mjs +0 -11
- package/fesm2022/rededor-site-front-end-lib.mjs.map +0 -1
- package/index.d.ts +0 -3
- package/services/algolia/index.d.ts +0 -18
- package/services/algolia-search-api/index.d.ts +0 -17
- package/services/ngu-carousel/index.d.ts +0 -16
- package/services/ssr-loading/index.d.ts +0 -14
- package/services/transfer-state/index.d.ts +0 -13
- package/services/youtube/index.d.ts +0 -13
- package/shared/index.d.ts +0 -40
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, input, HostBinding, Component, model, output, PLATFORM_ID, signal, viewChild } from '@angular/core';
|
|
3
|
-
import { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';
|
|
4
|
-
import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
|
|
5
|
-
import { ImageMimeType } from '@rededor/site-front-end-lib/enums';
|
|
6
|
-
import { ImageComponent } from '@rededor/site-front-end-lib/components/image';
|
|
7
|
-
import { CuraHeadingComponent } from '@rededor/site-front-end-lib/cura/texts/cura-heading';
|
|
8
|
-
import { CuraParagraphComponent } from '@rededor/site-front-end-lib/cura/texts/cura-paragraph';
|
|
9
|
-
import { CuraBadgePillComponent } from '@rededor/site-front-end-lib/cura/badges/cura-badge-pill';
|
|
10
|
-
import { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';
|
|
11
|
-
import { CuraButtonComponent } from '@rededor/site-front-end-lib/cura/buttons/cura-button';
|
|
12
|
-
import * as i1 from '@angular/common';
|
|
13
|
-
import { CommonModule, isPlatformBrowser } from '@angular/common';
|
|
14
|
-
import * as i1$1 from '@angular/youtube-player';
|
|
15
|
-
import { YouTubePlayerModule } from '@angular/youtube-player';
|
|
16
|
-
import { YoutubeService } from '@rededor/site-front-end-lib/services/youtube';
|
|
17
|
-
|
|
18
|
-
class CardUnidadePlanosConveniosComponent {
|
|
19
|
-
constructor() {
|
|
20
|
-
this.curaApiService = inject(CuraApiService);
|
|
21
|
-
this.title = input('', ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
22
|
-
this.subtitle = input('', ...(ngDevMode ? [{ debugName: "subtitle" }] : []));
|
|
23
|
-
this.coverage = input(...(ngDevMode ? [undefined, { debugName: "coverage" }] : []));
|
|
24
|
-
this.address = input('', ...(ngDevMode ? [{ debugName: "address" }] : []));
|
|
25
|
-
this.cta1 = input(...(ngDevMode ? [undefined, { debugName: "cta1" }] : []));
|
|
26
|
-
this.cta2 = input(...(ngDevMode ? [undefined, { debugName: "cta2" }] : []));
|
|
27
|
-
this.isStarTheme = input(false, ...(ngDevMode ? [{ debugName: "isStarTheme" }] : []));
|
|
28
|
-
this.isMaternityStarTheme = input(false, ...(ngDevMode ? [{ debugName: "isMaternityStarTheme" }] : []));
|
|
29
|
-
this.logoWebpSrc = input('', ...(ngDevMode ? [{ debugName: "logoWebpSrc" }] : []));
|
|
30
|
-
this.logoDefaultSrc = input('', ...(ngDevMode ? [{ debugName: "logoDefaultSrc" }] : []));
|
|
31
|
-
this.logoSizes = input([], ...(ngDevMode ? [{ debugName: "logoSizes" }] : []));
|
|
32
|
-
this.logoMimeType = input(ImageMimeType.JPEG, ...(ngDevMode ? [{ debugName: "logoMimeType" }] : []));
|
|
33
|
-
this.logoAlt = input('', ...(ngDevMode ? [{ debugName: "logoAlt" }] : []));
|
|
34
|
-
this.logoTitle = input('', ...(ngDevMode ? [{ debugName: "logoTitle" }] : []));
|
|
35
|
-
this.styleBinding = {
|
|
36
|
-
'--neutral-light': this.curaApiService.theme.colors.getColor('neutral-light'),
|
|
37
|
-
'--neutral-white': this.curaApiService.theme.colors.getColor('neutral-white'),
|
|
38
|
-
'--neutral-purewhite': this.curaApiService.theme.colors.getColor('neutral-purewhite'),
|
|
39
|
-
'--color-base': this.curaApiService.theme.colors.getColor('primary-base'),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
get classes() {
|
|
43
|
-
const classes = [];
|
|
44
|
-
if (this.isStarTheme()) {
|
|
45
|
-
classes.push('starTheme');
|
|
46
|
-
}
|
|
47
|
-
if (this.isMaternityStarTheme()) {
|
|
48
|
-
classes.push('maternityStarTheme');
|
|
49
|
-
}
|
|
50
|
-
return classes.join(' ');
|
|
51
|
-
}
|
|
52
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CardUnidadePlanosConveniosComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: CardUnidadePlanosConveniosComponent, isStandalone: true, selector: "rdsite-card-unidade-planos-convenios", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, coverage: { classPropertyName: "coverage", publicName: "coverage", isSignal: true, isRequired: false, transformFunction: null }, address: { classPropertyName: "address", publicName: "address", isSignal: true, isRequired: false, transformFunction: null }, cta1: { classPropertyName: "cta1", publicName: "cta1", isSignal: true, isRequired: false, transformFunction: null }, cta2: { classPropertyName: "cta2", publicName: "cta2", isSignal: true, isRequired: false, transformFunction: null }, isStarTheme: { classPropertyName: "isStarTheme", publicName: "isStarTheme", isSignal: true, isRequired: false, transformFunction: null }, isMaternityStarTheme: { classPropertyName: "isMaternityStarTheme", publicName: "isMaternityStarTheme", isSignal: true, isRequired: false, transformFunction: null }, logoWebpSrc: { classPropertyName: "logoWebpSrc", publicName: "logoWebpSrc", isSignal: true, isRequired: false, transformFunction: null }, logoDefaultSrc: { classPropertyName: "logoDefaultSrc", publicName: "logoDefaultSrc", isSignal: true, isRequired: false, transformFunction: null }, logoSizes: { classPropertyName: "logoSizes", publicName: "logoSizes", isSignal: true, isRequired: false, transformFunction: null }, logoMimeType: { classPropertyName: "logoMimeType", publicName: "logoMimeType", isSignal: true, isRequired: false, transformFunction: null }, logoAlt: { classPropertyName: "logoAlt", publicName: "logoAlt", isSignal: true, isRequired: false, transformFunction: null }, logoTitle: { classPropertyName: "logoTitle", publicName: "logoTitle", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style": "this.styleBinding", "class": "this.classes" } }, ngImport: i0, template: "<div class=\"rdsite-card-unidade-planos-convenios\">\n <rdsite-image\n class=\"rdsite-card-unidade-planos-convenios-logo\"\n [imageWebpSrc]=\"logoWebpSrc()\"\n [imageDefaultSrc]=\"logoDefaultSrc()\"\n [imageSizes]=\"logoSizes()\"\n [mimeType]=\"logoMimeType()\"\n [alt]=\"logoAlt()\"\n [title]=\"logoTitle()\"\n loading=\"lazy\"\n ></rdsite-image>\n\n <div class=\"rdsite-card-unidade-planos-convenios-heading\">\n @if (title()) {\n <cura-heading size=\"small\" [level]=\"2\" color=\"neutral-black\" weight=\"bold\" marginBlock=\"0\" lineHeight=\"150%\">\n {{ title() }}\n </cura-heading>\n }\n\n @if (subtitle()) {\n <cura-paragraph size=\"xsmall\" color=\"neutral-dark\" weight=\"bold\" marginBlock=\"0\" lineHeight=\"130%\">\n <span class=\"cura-paragraph-weight\">\n {{ subtitle() }}\n </span>\n </cura-paragraph>\n }\n </div>\n\n <div class=\"rdsite-card-unidade-planos-convenios-content\">\n @if (coverage()) {\n <cura-paragraph size=\"xsmall\" color=\"neutral-black\" marginBlock=\"0\" lineHeight=\"130%\">\n <span class=\"cura-paragraph-weight\">\n {{ coverage()?.title }}\n </span>\n </cura-paragraph>\n\n @if (coverage()?.list?.length) {\n <div class=\"coverage-list\">\n @for (item of coverage()?.list; track item.title) {\n <cura-badge-pill type=\"solid\" color=\"success\" [disabled]=\"!item.isCovered\" [iconName]=\"item.isCovered ? 'check' : 'close'\">\n {{ item.title }}\n </cura-badge-pill>\n }\n </div>\n }\n }\n\n @if (address()) {\n <div class=\"address\">\n <cura-icon name=\"geotag\" color=\"neutral-dark\" size=\"20\"></cura-icon>\n\n <cura-paragraph size=\"xsmall\" color=\"neutral-black\" marginBlock=\"0\" lineHeight=\"130%\">\n <span class=\"cura-paragraph-weight\"> {{ address() }} \u2022 </span>\n <a rdsitelink href=\"https://www.google.com/maps?q={{ address() }}\">Mapa</a>\n </cura-paragraph>\n </div>\n }\n </div>\n\n <div class=\"rdsite-card-unidade-planos-convenios-ctas\">\n @if (cta2() && cta2()?.label && cta2()?.link) {\n <cura-button\n type=\"button\"\n size=\"medium\"\n iconName=\"calendar\"\n [fontColor]=\"isStarTheme() || isMaternityStarTheme() ? 'light' : 'dark'\"\n [color]=\"isStarTheme() || isMaternityStarTheme() ? 'primary' : 'accent'\"\n [style.--border-radius]=\"isStarTheme() ? '0px' : isMaternityStarTheme() ? '2rem' : '2px'\"\n rdsitelink\n [href]=\"cta2()!.link\"\n >\n {{ cta2()?.label }}\n </cura-button>\n }\n\n @if (cta1() && cta1()?.label && cta1()?.link) {\n <cura-button\n type=\"button\"\n size=\"medium\"\n iconName=\"exam\"\n [fontColor]=\"isStarTheme() || isMaternityStarTheme() ? 'light' : 'dark'\"\n [color]=\"isStarTheme() || isMaternityStarTheme() ? 'primary' : 'accent'\"\n [style.--border-radius]=\"isStarTheme() ? '0px' : isMaternityStarTheme() ? '2rem' : '2px'\"\n rdsitelink\n [href]=\"cta1()!.link\"\n >\n {{ cta1()?.label }}\n </cura-button>\n }\n </div>\n</div>\n", styles: [":host{display:flex;width:100%;padding:20px;border-radius:12px;border:1px solid var(--neutral-light, rgb(212, 212, 212));background-color:var(--neutral-purewhite, rgb(255, 255, 255))}:host.starTheme{border-radius:0;border-bottom:var(--sizes-stroke-tiny, 1px) solid var(--surfaces-accent-light, #c6a27a)}:host.maternityStarTheme{border-radius:12px}.rdsite-card-unidade-planos-convenios{display:grid;grid-template-rows:auto;grid-template-columns:auto;grid-template-areas:\"logo\" \"heading\" \"content\" \"ctas\";gap:12px 0;width:100%}.rdsite-card-unidade-planos-convenios-logo{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:2.26}.rdsite-card-unidade-planos-convenios ::ng-deep rdsite-image{grid-area:logo;padding:16px;background-color:var(--neutral-white);border-radius:4px}.rdsite-card-unidade-planos-convenios ::ng-deep rdsite-image picture,.rdsite-card-unidade-planos-convenios ::ng-deep rdsite-image picture img{width:80%;display:flex;align-items:center;justify-content:center}.rdsite-card-unidade-planos-convenios-heading{grid-area:heading}.rdsite-card-unidade-planos-convenios-content{grid-area:content;display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:3 0 0;width:100%}.rdsite-card-unidade-planos-convenios-content .address{display:flex;padding:8px;align-items:center;gap:8px;width:100%;border-radius:4px;background-color:var(--neutral-white, rgb(246, 246, 246))}.rdsite-card-unidade-planos-convenios-content .address a{color:var(--color-base);font-weight:500}.rdsite-card-unidade-planos-convenios-content .coverage-list{display:flex;gap:8px;flex-wrap:wrap}.rdsite-card-unidade-planos-convenios-ctas{grid-area:ctas;display:flex;width:100%;flex-direction:column;justify-content:center;align-items:stretch;gap:12px}@media screen and (min-width: 992px){.rdsite-card-unidade-planos-convenios{grid-template-rows:auto;grid-template-columns:152px 1fr auto;grid-template-areas:\"logo heading ctas\" \"content content content\";gap:20px;align-items:flex-start}.rdsite-card-unidade-planos-convenios-logo{aspect-ratio:1.26}.rdsite-card-unidade-planos-convenios ::ng-deep rdsite-image picture,.rdsite-card-unidade-planos-convenios ::ng-deep rdsite-image picture img{width:100%}.rdsite-card-unidade-planos-convenios-content{gap:16px}.rdsite-card-unidade-planos-convenios-content .coverage-list{gap:16px 8px}.rdsite-card-unidade-planos-convenios-content .address{width:fit-content}.rdsite-card-unidade-planos-convenios-ctas{width:224px}}span.cura-paragraph-weight{font-weight:500}\n"], dependencies: [{ kind: "component", type: ImageComponent, selector: "rdsite-image", inputs: ["imageWebpSrc", "imageDefaultSrc", "imageSizes", "mimeType", "alt", "title", "loading"], outputs: ["imageDefaultSrcChange", "mimeTypeChange"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: CuraHeadingComponent, selector: "cura-heading", inputs: ["level", "size", "weight", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraParagraphComponent, selector: "cura-paragraph", inputs: ["size", "spotColor", "color", "marginBlock", "lineHeight", "textOverflow"] }, { kind: "component", type: CuraBadgePillComponent, selector: "cura-badge-pill", inputs: ["type", "color", "iconName", "iconset", "disabled", "iconOnly", "borderRadius"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }, { kind: "component", type: CuraButtonComponent, selector: "cura-button", inputs: ["type", "size", "disabled", "isLoading", "iconName", "iconset", "iconPosition", "iconOnly", "href", "target", "color", "background", "fontColor", "textAlign", "justify", "ariaLabel"], outputs: ["buttonClick"] }] }); }
|
|
54
|
-
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CardUnidadePlanosConveniosComponent, decorators: [{
|
|
56
|
-
type: Component,
|
|
57
|
-
args: [{ selector: 'rdsite-card-unidade-planos-convenios', imports: [ImageComponent, RdsiteLinkDirective, CuraHeadingComponent, CuraParagraphComponent, CuraBadgePillComponent, CuraIconComponent, CuraButtonComponent], template: "<div class=\"rdsite-card-unidade-planos-convenios\">\n <rdsite-image\n class=\"rdsite-card-unidade-planos-convenios-logo\"\n [imageWebpSrc]=\"logoWebpSrc()\"\n [imageDefaultSrc]=\"logoDefaultSrc()\"\n [imageSizes]=\"logoSizes()\"\n [mimeType]=\"logoMimeType()\"\n [alt]=\"logoAlt()\"\n [title]=\"logoTitle()\"\n loading=\"lazy\"\n ></rdsite-image>\n\n <div class=\"rdsite-card-unidade-planos-convenios-heading\">\n @if (title()) {\n <cura-heading size=\"small\" [level]=\"2\" color=\"neutral-black\" weight=\"bold\" marginBlock=\"0\" lineHeight=\"150%\">\n {{ title() }}\n </cura-heading>\n }\n\n @if (subtitle()) {\n <cura-paragraph size=\"xsmall\" color=\"neutral-dark\" weight=\"bold\" marginBlock=\"0\" lineHeight=\"130%\">\n <span class=\"cura-paragraph-weight\">\n {{ subtitle() }}\n </span>\n </cura-paragraph>\n }\n </div>\n\n <div class=\"rdsite-card-unidade-planos-convenios-content\">\n @if (coverage()) {\n <cura-paragraph size=\"xsmall\" color=\"neutral-black\" marginBlock=\"0\" lineHeight=\"130%\">\n <span class=\"cura-paragraph-weight\">\n {{ coverage()?.title }}\n </span>\n </cura-paragraph>\n\n @if (coverage()?.list?.length) {\n <div class=\"coverage-list\">\n @for (item of coverage()?.list; track item.title) {\n <cura-badge-pill type=\"solid\" color=\"success\" [disabled]=\"!item.isCovered\" [iconName]=\"item.isCovered ? 'check' : 'close'\">\n {{ item.title }}\n </cura-badge-pill>\n }\n </div>\n }\n }\n\n @if (address()) {\n <div class=\"address\">\n <cura-icon name=\"geotag\" color=\"neutral-dark\" size=\"20\"></cura-icon>\n\n <cura-paragraph size=\"xsmall\" color=\"neutral-black\" marginBlock=\"0\" lineHeight=\"130%\">\n <span class=\"cura-paragraph-weight\"> {{ address() }} \u2022 </span>\n <a rdsitelink href=\"https://www.google.com/maps?q={{ address() }}\">Mapa</a>\n </cura-paragraph>\n </div>\n }\n </div>\n\n <div class=\"rdsite-card-unidade-planos-convenios-ctas\">\n @if (cta2() && cta2()?.label && cta2()?.link) {\n <cura-button\n type=\"button\"\n size=\"medium\"\n iconName=\"calendar\"\n [fontColor]=\"isStarTheme() || isMaternityStarTheme() ? 'light' : 'dark'\"\n [color]=\"isStarTheme() || isMaternityStarTheme() ? 'primary' : 'accent'\"\n [style.--border-radius]=\"isStarTheme() ? '0px' : isMaternityStarTheme() ? '2rem' : '2px'\"\n rdsitelink\n [href]=\"cta2()!.link\"\n >\n {{ cta2()?.label }}\n </cura-button>\n }\n\n @if (cta1() && cta1()?.label && cta1()?.link) {\n <cura-button\n type=\"button\"\n size=\"medium\"\n iconName=\"exam\"\n [fontColor]=\"isStarTheme() || isMaternityStarTheme() ? 'light' : 'dark'\"\n [color]=\"isStarTheme() || isMaternityStarTheme() ? 'primary' : 'accent'\"\n [style.--border-radius]=\"isStarTheme() ? '0px' : isMaternityStarTheme() ? '2rem' : '2px'\"\n rdsitelink\n [href]=\"cta1()!.link\"\n >\n {{ cta1()?.label }}\n </cura-button>\n }\n </div>\n</div>\n", styles: [":host{display:flex;width:100%;padding:20px;border-radius:12px;border:1px solid var(--neutral-light, rgb(212, 212, 212));background-color:var(--neutral-purewhite, rgb(255, 255, 255))}:host.starTheme{border-radius:0;border-bottom:var(--sizes-stroke-tiny, 1px) solid var(--surfaces-accent-light, #c6a27a)}:host.maternityStarTheme{border-radius:12px}.rdsite-card-unidade-planos-convenios{display:grid;grid-template-rows:auto;grid-template-columns:auto;grid-template-areas:\"logo\" \"heading\" \"content\" \"ctas\";gap:12px 0;width:100%}.rdsite-card-unidade-planos-convenios-logo{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:2.26}.rdsite-card-unidade-planos-convenios ::ng-deep rdsite-image{grid-area:logo;padding:16px;background-color:var(--neutral-white);border-radius:4px}.rdsite-card-unidade-planos-convenios ::ng-deep rdsite-image picture,.rdsite-card-unidade-planos-convenios ::ng-deep rdsite-image picture img{width:80%;display:flex;align-items:center;justify-content:center}.rdsite-card-unidade-planos-convenios-heading{grid-area:heading}.rdsite-card-unidade-planos-convenios-content{grid-area:content;display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:3 0 0;width:100%}.rdsite-card-unidade-planos-convenios-content .address{display:flex;padding:8px;align-items:center;gap:8px;width:100%;border-radius:4px;background-color:var(--neutral-white, rgb(246, 246, 246))}.rdsite-card-unidade-planos-convenios-content .address a{color:var(--color-base);font-weight:500}.rdsite-card-unidade-planos-convenios-content .coverage-list{display:flex;gap:8px;flex-wrap:wrap}.rdsite-card-unidade-planos-convenios-ctas{grid-area:ctas;display:flex;width:100%;flex-direction:column;justify-content:center;align-items:stretch;gap:12px}@media screen and (min-width: 992px){.rdsite-card-unidade-planos-convenios{grid-template-rows:auto;grid-template-columns:152px 1fr auto;grid-template-areas:\"logo heading ctas\" \"content content content\";gap:20px;align-items:flex-start}.rdsite-card-unidade-planos-convenios-logo{aspect-ratio:1.26}.rdsite-card-unidade-planos-convenios ::ng-deep rdsite-image picture,.rdsite-card-unidade-planos-convenios ::ng-deep rdsite-image picture img{width:100%}.rdsite-card-unidade-planos-convenios-content{gap:16px}.rdsite-card-unidade-planos-convenios-content .coverage-list{gap:16px 8px}.rdsite-card-unidade-planos-convenios-content .address{width:fit-content}.rdsite-card-unidade-planos-convenios-ctas{width:224px}}span.cura-paragraph-weight{font-weight:500}\n"] }]
|
|
58
|
-
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], coverage: [{ type: i0.Input, args: [{ isSignal: true, alias: "coverage", required: false }] }], address: [{ type: i0.Input, args: [{ isSignal: true, alias: "address", required: false }] }], cta1: [{ type: i0.Input, args: [{ isSignal: true, alias: "cta1", required: false }] }], cta2: [{ type: i0.Input, args: [{ isSignal: true, alias: "cta2", required: false }] }], isStarTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "isStarTheme", required: false }] }], isMaternityStarTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "isMaternityStarTheme", required: false }] }], logoWebpSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoWebpSrc", required: false }] }], logoDefaultSrc: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoDefaultSrc", required: false }] }], logoSizes: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoSizes", required: false }] }], logoMimeType: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoMimeType", required: false }] }], logoAlt: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoAlt", required: false }] }], logoTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "logoTitle", required: false }] }], styleBinding: [{
|
|
59
|
-
type: HostBinding,
|
|
60
|
-
args: ['style']
|
|
61
|
-
}], classes: [{
|
|
62
|
-
type: HostBinding,
|
|
63
|
-
args: ['class']
|
|
64
|
-
}] } });
|
|
65
|
-
|
|
66
|
-
class ExpandableCardComponent {
|
|
67
|
-
constructor() {
|
|
68
|
-
this.curaApiService = inject(CuraApiService);
|
|
69
|
-
this.opened = model(false, ...(ngDevMode ? [{ debugName: "opened" }] : []));
|
|
70
|
-
this.label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
71
|
-
this.link = input('', ...(ngDevMode ? [{ debugName: "link" }] : []));
|
|
72
|
-
this.badgeLabel = input('', ...(ngDevMode ? [{ debugName: "badgeLabel" }] : []));
|
|
73
|
-
this.openIcon = input('plus', ...(ngDevMode ? [{ debugName: "openIcon" }] : []));
|
|
74
|
-
this.closeIcon = input('minus', ...(ngDevMode ? [{ debugName: "closeIcon" }] : []));
|
|
75
|
-
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
76
|
-
this.isStarTheme = input(false, ...(ngDevMode ? [{ debugName: "isStarTheme" }] : []));
|
|
77
|
-
this.isMaternityStarTheme = input(false, ...(ngDevMode ? [{ debugName: "isMaternityStarTheme" }] : []));
|
|
78
|
-
this.toggle = output();
|
|
79
|
-
this.styleBinding = {
|
|
80
|
-
'--neutral-light': this.curaApiService.theme.colors.getColor('neutral-light'),
|
|
81
|
-
'--neutral-base': this.curaApiService.theme.colors.getColor('neutral-base'),
|
|
82
|
-
'--neutral-purewhite': this.curaApiService.theme.colors.getColor('neutral-purewhite'),
|
|
83
|
-
'--neutral-black': this.curaApiService.theme.colors.getColor('neutral-black'),
|
|
84
|
-
'--primary-dark': this.curaApiService.theme.colors.getColor('primary-dark'),
|
|
85
|
-
'--primary-base': this.curaApiService.theme.colors.getColor('primary-base'),
|
|
86
|
-
'--primary-lighter': this.curaApiService.theme.colors.getColor('primary-lighter'),
|
|
87
|
-
'--accent-light': this.curaApiService.theme.colors.getColor('accent-light'),
|
|
88
|
-
'--font-family': this.curaApiService.theme.fonts.getFamily(''),
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
get classes() {
|
|
92
|
-
const classes = [];
|
|
93
|
-
if (this.disabled()) {
|
|
94
|
-
classes.push('disabled');
|
|
95
|
-
}
|
|
96
|
-
if (this.isStarTheme()) {
|
|
97
|
-
classes.push('starTheme');
|
|
98
|
-
}
|
|
99
|
-
if (this.isMaternityStarTheme()) {
|
|
100
|
-
classes.push('maternityStarTheme');
|
|
101
|
-
}
|
|
102
|
-
return classes.join(' ');
|
|
103
|
-
}
|
|
104
|
-
toggleCard() {
|
|
105
|
-
this.opened.set(!this.opened());
|
|
106
|
-
this.toggle.emit(this.opened());
|
|
107
|
-
}
|
|
108
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ExpandableCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
109
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: ExpandableCardComponent, isStandalone: true, selector: "rdsite-expandable-card", inputs: { opened: { classPropertyName: "opened", publicName: "opened", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, badgeLabel: { classPropertyName: "badgeLabel", publicName: "badgeLabel", isSignal: true, isRequired: false, transformFunction: null }, openIcon: { classPropertyName: "openIcon", publicName: "openIcon", isSignal: true, isRequired: false, transformFunction: null }, closeIcon: { classPropertyName: "closeIcon", publicName: "closeIcon", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, isStarTheme: { classPropertyName: "isStarTheme", publicName: "isStarTheme", isSignal: true, isRequired: false, transformFunction: null }, isMaternityStarTheme: { classPropertyName: "isMaternityStarTheme", publicName: "isMaternityStarTheme", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { opened: "openedChange", toggle: "toggle" }, host: { properties: { "style": "this.styleBinding", "class": "this.classes" } }, ngImport: i0, template: "@if (label()) {\n <div class=\"card-header\" [ngClass]=\"{ noBadge: !badgeLabel() }\" (click)=\"toggleCard()\">\n @if (link() && label()) {\n <a rdsitelink class=\"card-link\" [style.color]=\"isStarTheme() ? 'var(--primary-base)' : 'var(--primary-dark)'\" [href]=\"link()\">\n {{ label() }}\n <cura-icon name=\"arrowRight\" [color]=\"isStarTheme() ? 'primary-base' : 'primary-dark'\" size=\"16\"></cura-icon>\n </a>\n }\n\n @if (badgeLabel()) {\n <cura-badge-pill\n [style.--color-background]=\"isStarTheme() ? '#EBE7DE' : isMaternityStarTheme() ? 'var(--secondary-lighter)' : 'var(--primary-light)'\"\n [style.--color-base]=\"'var(--primary-dark)'\"\n type=\"solid\"\n >\n {{ badgeLabel() }}\n </cura-badge-pill>\n }\n\n <cura-icon\n [name]=\"opened() ? closeIcon() : openIcon()\"\n [style.--color]=\"isStarTheme() ? 'var(--primary-base)' : 'var(--primary-dark)'\"\n size=\"20\"\n ></cura-icon>\n </div>\n\n <div class=\"card-content\" [ngClass]=\"{ opened: opened() }\">\n <ng-content></ng-content>\n </div>\n}\n", styles: [":host{display:block;width:100%;height:auto;border-radius:12px;border:2px solid var(--neutral-base);background:var(--neutral-purewhite)}:host .card-header{display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr auto;grid-template-areas:\"badge . icon\" \"label . icon\" \"link . icon\";width:100%;height:auto;padding:20px;cursor:pointer}:host .card-header .card-link{grid-area:link;font-family:var(--font-family);font-size:14px;font-weight:500;line-height:19px;letter-spacing:.28px;text-decoration-line:underline;display:flex;justify-content:flex-start;align-items:center;gap:8px;margin-top:4px}@media screen and (min-width: 992px){:host .card-header .card-link{font-size:16px;line-height:23px;letter-spacing:.32px}}:host .card-header cura-badge-pill{grid-area:badge;margin-bottom:4px}:host .card-header>cura-icon{grid-area:icon;margin-left:16px}:host .card-header.noBadge{grid-template-areas:\"label . icon\" \"link . icon\"}:host .card-content{overflow:hidden;max-height:0;transition:all .25s ease;transform:translateZ(0)}:host .card-content.opened{max-height:fit-content;transition:.5s ease .14s}:host.disabled .card-header{grid-template-areas:\"label\" \"link\";cursor:default}:host.disabled .card-header cura-badge-pill,:host.disabled .card-header>cura-icon{display:none}:host.starTheme{border-radius:unset;border:unset;border-bottom:2px solid var(--accent-light)}:host.maternityStarTheme{border-radius:12px;border:unset;border-bottom:unset;box-shadow:0 1px 4px #26262629}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }, { kind: "component", type: CuraBadgePillComponent, selector: "cura-badge-pill", inputs: ["type", "color", "iconName", "iconset", "disabled", "iconOnly", "borderRadius"] }] }); }
|
|
110
|
-
}
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ExpandableCardComponent, decorators: [{
|
|
112
|
-
type: Component,
|
|
113
|
-
args: [{ selector: 'rdsite-expandable-card', imports: [CommonModule, RdsiteLinkDirective, CuraIconComponent, CuraBadgePillComponent], template: "@if (label()) {\n <div class=\"card-header\" [ngClass]=\"{ noBadge: !badgeLabel() }\" (click)=\"toggleCard()\">\n @if (link() && label()) {\n <a rdsitelink class=\"card-link\" [style.color]=\"isStarTheme() ? 'var(--primary-base)' : 'var(--primary-dark)'\" [href]=\"link()\">\n {{ label() }}\n <cura-icon name=\"arrowRight\" [color]=\"isStarTheme() ? 'primary-base' : 'primary-dark'\" size=\"16\"></cura-icon>\n </a>\n }\n\n @if (badgeLabel()) {\n <cura-badge-pill\n [style.--color-background]=\"isStarTheme() ? '#EBE7DE' : isMaternityStarTheme() ? 'var(--secondary-lighter)' : 'var(--primary-light)'\"\n [style.--color-base]=\"'var(--primary-dark)'\"\n type=\"solid\"\n >\n {{ badgeLabel() }}\n </cura-badge-pill>\n }\n\n <cura-icon\n [name]=\"opened() ? closeIcon() : openIcon()\"\n [style.--color]=\"isStarTheme() ? 'var(--primary-base)' : 'var(--primary-dark)'\"\n size=\"20\"\n ></cura-icon>\n </div>\n\n <div class=\"card-content\" [ngClass]=\"{ opened: opened() }\">\n <ng-content></ng-content>\n </div>\n}\n", styles: [":host{display:block;width:100%;height:auto;border-radius:12px;border:2px solid var(--neutral-base);background:var(--neutral-purewhite)}:host .card-header{display:grid;grid-template-rows:auto;grid-template-columns:auto 1fr auto;grid-template-areas:\"badge . icon\" \"label . icon\" \"link . icon\";width:100%;height:auto;padding:20px;cursor:pointer}:host .card-header .card-link{grid-area:link;font-family:var(--font-family);font-size:14px;font-weight:500;line-height:19px;letter-spacing:.28px;text-decoration-line:underline;display:flex;justify-content:flex-start;align-items:center;gap:8px;margin-top:4px}@media screen and (min-width: 992px){:host .card-header .card-link{font-size:16px;line-height:23px;letter-spacing:.32px}}:host .card-header cura-badge-pill{grid-area:badge;margin-bottom:4px}:host .card-header>cura-icon{grid-area:icon;margin-left:16px}:host .card-header.noBadge{grid-template-areas:\"label . icon\" \"link . icon\"}:host .card-content{overflow:hidden;max-height:0;transition:all .25s ease;transform:translateZ(0)}:host .card-content.opened{max-height:fit-content;transition:.5s ease .14s}:host.disabled .card-header{grid-template-areas:\"label\" \"link\";cursor:default}:host.disabled .card-header cura-badge-pill,:host.disabled .card-header>cura-icon{display:none}:host.starTheme{border-radius:unset;border:unset;border-bottom:2px solid var(--accent-light)}:host.maternityStarTheme{border-radius:12px;border:unset;border-bottom:unset;box-shadow:0 1px 4px #26262629}\n"] }]
|
|
114
|
-
}], propDecorators: { opened: [{ type: i0.Input, args: [{ isSignal: true, alias: "opened", required: false }] }, { type: i0.Output, args: ["openedChange"] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], link: [{ type: i0.Input, args: [{ isSignal: true, alias: "link", required: false }] }], badgeLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "badgeLabel", required: false }] }], openIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "openIcon", required: false }] }], closeIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeIcon", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], isStarTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "isStarTheme", required: false }] }], isMaternityStarTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "isMaternityStarTheme", required: false }] }], toggle: [{ type: i0.Output, args: ["toggle"] }], styleBinding: [{
|
|
115
|
-
type: HostBinding,
|
|
116
|
-
args: ['style']
|
|
117
|
-
}], classes: [{
|
|
118
|
-
type: HostBinding,
|
|
119
|
-
args: ['class']
|
|
120
|
-
}] } });
|
|
121
|
-
|
|
122
|
-
class TestimonialCardComponent {
|
|
123
|
-
constructor() {
|
|
124
|
-
this.curaApiService = inject(CuraApiService);
|
|
125
|
-
this.youtubeService = inject(YoutubeService);
|
|
126
|
-
this.platformId = inject(PLATFORM_ID);
|
|
127
|
-
this.type = input('image', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
128
|
-
this.image = input(null, ...(ngDevMode ? [{ debugName: "image" }] : []));
|
|
129
|
-
this.videoUrl = input('', ...(ngDevMode ? [{ debugName: "videoUrl" }] : []));
|
|
130
|
-
this.text = input('', ...(ngDevMode ? [{ debugName: "text" }] : []));
|
|
131
|
-
this.author = input('', ...(ngDevMode ? [{ debugName: "author" }] : []));
|
|
132
|
-
this.position = input('', ...(ngDevMode ? [{ debugName: "position" }] : []));
|
|
133
|
-
this.videoId = signal('', ...(ngDevMode ? [{ debugName: "videoId" }] : []));
|
|
134
|
-
this.platformBrowser = signal(null, ...(ngDevMode ? [{ debugName: "platformBrowser" }] : []));
|
|
135
|
-
this.youtubePlayer = viewChild.required('youtubePlayer');
|
|
136
|
-
this.styleBinding = {
|
|
137
|
-
'--neutral-black': this.curaApiService.theme.colors.getColor('neutral-black'),
|
|
138
|
-
'--color-one-darker': this.curaApiService.theme.colors.getColor('primary-darker'),
|
|
139
|
-
'--font-family': this.curaApiService.theme.fonts.getFamily(''),
|
|
140
|
-
};
|
|
141
|
-
this.youtubeService.setScript();
|
|
142
|
-
}
|
|
143
|
-
ngOnInit() {
|
|
144
|
-
this.platformBrowser.set(isPlatformBrowser(this.platformId));
|
|
145
|
-
if (this.type() === 'video' && this.videoUrl()) {
|
|
146
|
-
this.getVideoId();
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
getVideoId() {
|
|
150
|
-
const params = new URLSearchParams(this.videoUrl().split('?')[1]);
|
|
151
|
-
return params.get('v') || '';
|
|
152
|
-
}
|
|
153
|
-
stopVideo() {
|
|
154
|
-
const youtubePlayer = this.youtubePlayer();
|
|
155
|
-
if (this.getVideoId() && youtubePlayer) {
|
|
156
|
-
youtubePlayer.stopVideo();
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
ngOnDestroy() {
|
|
160
|
-
this.youtubeService.removeScript();
|
|
161
|
-
}
|
|
162
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TestimonialCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
163
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TestimonialCardComponent, isStandalone: true, selector: "rdsite-testimonial-card", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: false, transformFunction: null }, videoUrl: { classPropertyName: "videoUrl", publicName: "videoUrl", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, author: { classPropertyName: "author", publicName: "author", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style": "this.styleBinding" } }, viewQueries: [{ propertyName: "youtubePlayer", first: true, predicate: ["youtubePlayer"], descendants: true, isSignal: true }], ngImport: i0, template: "@if ((image() || getVideoId()) && text()) {\n @switch (type()) {\n @case ('image') {\n @if (image()) {\n <rdsite-image\n [imageWebpSrc]=\"image()?.webp_sizes?.['rdsl-card-unidades']\"\n [imageDefaultSrc]=\"image()?.sizes?.['rdsl-card-unidades']\"\n [mimeType]=\"image()?.mime_type\"\n [alt]=\"image()?.alt\"\n >\n </rdsite-image>\n }\n }\n @case ('video') {\n @if (getVideoId() && platformBrowser()) {\n <youtube-player #youtubePlayer [videoId]=\"getVideoId()\" [disablePlaceholder]=\"true\"></youtube-player>\n }\n }\n }\n\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"26\" viewBox=\"0 0 32 26\" fill=\"none\">\n <path\n d=\"M14.375 3.3125C12.9062 4.15625 11.7188 4.89062 10.8125 5.51562C9.90625 6.10938 8.98438 6.90625 8.04688 7.90625C7.17188 8.84375 6.5 9.82812 6.03125 10.8594C5.5625 11.8906 5.23438 13.2188 5.04688 14.8438H7.29688C9.23438 14.8438 10.75 15.3281 11.8438 16.2969C12.9688 17.2344 13.5312 18.625 13.5312 20.4688C13.5312 21.7812 13.0312 23.0156 12.0312 24.1719C11.0625 25.2969 9.71875 25.8594 8 25.8594C5.3125 25.8594 3.39062 24.9844 2.23438 23.2344C1.07812 21.4531 0.5 19.125 0.5 16.25C0.5 14.2188 0.9375 12.375 1.8125 10.7188C2.6875 9.03125 3.75 7.53125 5 6.21875C6.28125 4.875 7.64062 3.73438 9.07812 2.79688C10.5156 1.85938 11.7188 1.09375 12.6875 0.5L14.375 3.3125ZM31.7188 3.3125C30.25 4.15625 29.0625 4.89062 28.1562 5.51562C27.25 6.10938 26.3281 6.90625 25.3906 7.90625C24.4844 8.875 23.7969 9.875 23.3281 10.9062C22.8906 11.9062 22.5781 13.2188 22.3906 14.8438H24.6406C26.5781 14.8438 28.0938 15.3281 29.1875 16.2969C30.3125 17.2344 30.875 18.625 30.875 20.4688C30.875 21.7812 30.375 23.0156 29.375 24.1719C28.4062 25.2969 27.0625 25.8594 25.3438 25.8594C22.6562 25.8594 20.7344 24.9844 19.5781 23.2344C18.4219 21.4531 17.8438 19.125 17.8438 16.25C17.8438 14.2188 18.2812 12.375 19.1562 10.7188C20.0312 9.03125 21.0938 7.53125 22.3438 6.21875C23.625 4.875 24.9844 3.73438 26.4219 2.79688C27.8594 1.85938 29.0625 1.09375 30.0312 0.5L31.7188 3.3125Z\"\n fill=\"#202122\"\n />\n </svg>\n\n <div class=\"testimonials-text\">\n <q class=\"quote\" [innerHTML]=\"text()\" (click)=\"stopVideo()\"></q>\n\n @if (author()) {\n <span class=\"author\">{{ author() }}</span>\n }\n\n @if (position()) {\n <span class=\"position\">\n {{ position() }}\n </span>\n }\n </div>\n}\n", styles: [":host{display:flex;flex-direction:column;gap:15px;width:100%;height:auto;padding:28px;border-radius:3px;background-color:#f7f5f0}@media screen and (min-width: 1024px){:host{flex-direction:row;justify-content:center;gap:12px;background:linear-gradient(to right,#fff 102px,#f7f5f0 0)}}:host rdsite-image,:host youtube-player{border-radius:3px 50px 3px 3px}@media screen and (min-width: 1024px){:host rdsite-image,:host youtube-player{flex:1 1 50%}}:host rdsite-image{aspect-ratio:1.35}@media screen and (min-width: 769px){:host rdsite-image{aspect-ratio:1.78}}:host youtube-player{overflow:hidden;aspect-ratio:1.35}@media screen and (min-width: 769px){:host youtube-player{aspect-ratio:unset}}:host youtube-player ::ng-deep>div{width:100%;height:100%}:host youtube-player ::ng-deep iframe{width:100%;height:100%}:host svg{margin-top:24px}:host .testimonials-text{flex:1 1 50%;display:flex;flex-direction:column}:host .testimonials-text *{font-family:var(--font-family)}:host .testimonials-text .quote{color:var(--color-one-darker);font-size:17px;font-weight:400;line-height:150%;margin-bottom:15px}@media screen and (min-width: 1024px){:host .testimonials-text .quote{font-size:19px;margin-bottom:44px;margin-top:44px}}:host .testimonials-text .author,:host .testimonials-text .position{color:var(--neutral-black);font-size:12px;font-weight:500;line-height:135%;letter-spacing:.48px}@media screen and (min-width: 1024px){:host .testimonials-text .author,:host .testimonials-text .position{font-size:14px;letter-spacing:.56px}}\n"], dependencies: [{ kind: "component", type: ImageComponent, selector: "rdsite-image", inputs: ["imageWebpSrc", "imageDefaultSrc", "imageSizes", "mimeType", "alt", "title", "loading"], outputs: ["imageDefaultSrcChange", "mimeTypeChange"] }, { kind: "ngmodule", type: YouTubePlayerModule }, { kind: "component", type: i1$1.YouTubePlayer, selector: "youtube-player", inputs: ["videoId", "height", "width", "startSeconds", "endSeconds", "suggestedQuality", "playerVars", "disableCookies", "loadApi", "disablePlaceholder", "showBeforeIframeApiLoads", "placeholderButtonLabel", "placeholderImageQuality"], outputs: ["ready", "stateChange", "error", "apiChange", "playbackQualityChange", "playbackRateChange"] }] }); }
|
|
164
|
-
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TestimonialCardComponent, decorators: [{
|
|
166
|
-
type: Component,
|
|
167
|
-
args: [{ selector: 'rdsite-testimonial-card', imports: [ImageComponent, YouTubePlayerModule], template: "@if ((image() || getVideoId()) && text()) {\n @switch (type()) {\n @case ('image') {\n @if (image()) {\n <rdsite-image\n [imageWebpSrc]=\"image()?.webp_sizes?.['rdsl-card-unidades']\"\n [imageDefaultSrc]=\"image()?.sizes?.['rdsl-card-unidades']\"\n [mimeType]=\"image()?.mime_type\"\n [alt]=\"image()?.alt\"\n >\n </rdsite-image>\n }\n }\n @case ('video') {\n @if (getVideoId() && platformBrowser()) {\n <youtube-player #youtubePlayer [videoId]=\"getVideoId()\" [disablePlaceholder]=\"true\"></youtube-player>\n }\n }\n }\n\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"26\" viewBox=\"0 0 32 26\" fill=\"none\">\n <path\n d=\"M14.375 3.3125C12.9062 4.15625 11.7188 4.89062 10.8125 5.51562C9.90625 6.10938 8.98438 6.90625 8.04688 7.90625C7.17188 8.84375 6.5 9.82812 6.03125 10.8594C5.5625 11.8906 5.23438 13.2188 5.04688 14.8438H7.29688C9.23438 14.8438 10.75 15.3281 11.8438 16.2969C12.9688 17.2344 13.5312 18.625 13.5312 20.4688C13.5312 21.7812 13.0312 23.0156 12.0312 24.1719C11.0625 25.2969 9.71875 25.8594 8 25.8594C5.3125 25.8594 3.39062 24.9844 2.23438 23.2344C1.07812 21.4531 0.5 19.125 0.5 16.25C0.5 14.2188 0.9375 12.375 1.8125 10.7188C2.6875 9.03125 3.75 7.53125 5 6.21875C6.28125 4.875 7.64062 3.73438 9.07812 2.79688C10.5156 1.85938 11.7188 1.09375 12.6875 0.5L14.375 3.3125ZM31.7188 3.3125C30.25 4.15625 29.0625 4.89062 28.1562 5.51562C27.25 6.10938 26.3281 6.90625 25.3906 7.90625C24.4844 8.875 23.7969 9.875 23.3281 10.9062C22.8906 11.9062 22.5781 13.2188 22.3906 14.8438H24.6406C26.5781 14.8438 28.0938 15.3281 29.1875 16.2969C30.3125 17.2344 30.875 18.625 30.875 20.4688C30.875 21.7812 30.375 23.0156 29.375 24.1719C28.4062 25.2969 27.0625 25.8594 25.3438 25.8594C22.6562 25.8594 20.7344 24.9844 19.5781 23.2344C18.4219 21.4531 17.8438 19.125 17.8438 16.25C17.8438 14.2188 18.2812 12.375 19.1562 10.7188C20.0312 9.03125 21.0938 7.53125 22.3438 6.21875C23.625 4.875 24.9844 3.73438 26.4219 2.79688C27.8594 1.85938 29.0625 1.09375 30.0312 0.5L31.7188 3.3125Z\"\n fill=\"#202122\"\n />\n </svg>\n\n <div class=\"testimonials-text\">\n <q class=\"quote\" [innerHTML]=\"text()\" (click)=\"stopVideo()\"></q>\n\n @if (author()) {\n <span class=\"author\">{{ author() }}</span>\n }\n\n @if (position()) {\n <span class=\"position\">\n {{ position() }}\n </span>\n }\n </div>\n}\n", styles: [":host{display:flex;flex-direction:column;gap:15px;width:100%;height:auto;padding:28px;border-radius:3px;background-color:#f7f5f0}@media screen and (min-width: 1024px){:host{flex-direction:row;justify-content:center;gap:12px;background:linear-gradient(to right,#fff 102px,#f7f5f0 0)}}:host rdsite-image,:host youtube-player{border-radius:3px 50px 3px 3px}@media screen and (min-width: 1024px){:host rdsite-image,:host youtube-player{flex:1 1 50%}}:host rdsite-image{aspect-ratio:1.35}@media screen and (min-width: 769px){:host rdsite-image{aspect-ratio:1.78}}:host youtube-player{overflow:hidden;aspect-ratio:1.35}@media screen and (min-width: 769px){:host youtube-player{aspect-ratio:unset}}:host youtube-player ::ng-deep>div{width:100%;height:100%}:host youtube-player ::ng-deep iframe{width:100%;height:100%}:host svg{margin-top:24px}:host .testimonials-text{flex:1 1 50%;display:flex;flex-direction:column}:host .testimonials-text *{font-family:var(--font-family)}:host .testimonials-text .quote{color:var(--color-one-darker);font-size:17px;font-weight:400;line-height:150%;margin-bottom:15px}@media screen and (min-width: 1024px){:host .testimonials-text .quote{font-size:19px;margin-bottom:44px;margin-top:44px}}:host .testimonials-text .author,:host .testimonials-text .position{color:var(--neutral-black);font-size:12px;font-weight:500;line-height:135%;letter-spacing:.48px}@media screen and (min-width: 1024px){:host .testimonials-text .author,:host .testimonials-text .position{font-size:14px;letter-spacing:.56px}}\n"] }]
|
|
168
|
-
}], ctorParameters: () => [], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], image: [{ type: i0.Input, args: [{ isSignal: true, alias: "image", required: false }] }], videoUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "videoUrl", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], author: [{ type: i0.Input, args: [{ isSignal: true, alias: "author", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], youtubePlayer: [{ type: i0.ViewChild, args: ['youtubePlayer', { isSignal: true }] }], styleBinding: [{
|
|
169
|
-
type: HostBinding,
|
|
170
|
-
args: ['style']
|
|
171
|
-
}] } });
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Generated bundle index. Do not edit.
|
|
175
|
-
*/
|
|
176
|
-
|
|
177
|
-
export { CardUnidadePlanosConveniosComponent, ExpandableCardComponent, TestimonialCardComponent };
|
|
178
|
-
//# sourceMappingURL=rededor-site-front-end-lib-components-cards.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-components-cards.mjs","sources":["../../../projects/site-front-end-lib/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.ts","../../../projects/site-front-end-lib/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.html","../../../projects/site-front-end-lib/components/cards/expandable-card/expandable-card.component.ts","../../../projects/site-front-end-lib/components/cards/expandable-card/expandable-card.component.html","../../../projects/site-front-end-lib/components/cards/testimonial-card/testimonial-card.component.ts","../../../projects/site-front-end-lib/components/cards/testimonial-card/testimonial-card.component.html","../../../projects/site-front-end-lib/components/cards/rededor-site-front-end-lib-components-cards.ts"],"sourcesContent":["import { Component, HostBinding, input, inject } from '@angular/core';\nimport { RdsiteImage, RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { ImageMimeType, UnidadeCoverageType } from '@rededor/site-front-end-lib/enums';\nimport { ImageComponent } from '@rededor/site-front-end-lib/components/image';\nimport { CuraHeadingComponent } from '@rededor/site-front-end-lib/cura/texts/cura-heading';\nimport { CuraParagraphComponent } from '@rededor/site-front-end-lib/cura/texts/cura-paragraph';\nimport { CuraBadgePillComponent } from '@rededor/site-front-end-lib/cura/badges/cura-badge-pill';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\nimport { CuraButtonComponent } from '@rededor/site-front-end-lib/cura/buttons/cura-button';\n\n@Component({\n selector: 'rdsite-card-unidade-planos-convenios',\n imports: [ImageComponent, RdsiteLinkDirective, CuraHeadingComponent, CuraParagraphComponent, CuraBadgePillComponent, CuraIconComponent, CuraButtonComponent],\n templateUrl: './card-unidade-planos-convenios.component.html',\n styleUrl: './card-unidade-planos-convenios.component.scss',\n})\nexport class CardUnidadePlanosConveniosComponent {\n private readonly curaApiService = inject(CuraApiService);\n\n readonly title = input<string>('');\n readonly subtitle = input<string | undefined>('');\n readonly coverage = input<{\n title: UnidadeCoverageType;\n list?: {\n title: string;\n isCovered: boolean;\n }[];\n }>();\n readonly address = input<string | undefined>('');\n readonly cta1 = input<{\n label: string;\n link: string;\n }>();\n readonly cta2 = input<{\n label: string;\n link: string;\n }>();\n readonly isStarTheme = input<boolean>(false);\n readonly isMaternityStarTheme = input<boolean>(false);\n\n readonly logoWebpSrc = input<string>('');\n readonly logoDefaultSrc = input<string>('');\n readonly logoSizes = input<RdsiteImage[]>([]);\n readonly logoMimeType = input<ImageMimeType>(ImageMimeType.JPEG);\n readonly logoAlt = input<string>('');\n readonly logoTitle = input<string>('');\n\n @HostBinding('style') styleBinding = {\n '--neutral-light': this.curaApiService.theme.colors.getColor('neutral-light'),\n '--neutral-white': this.curaApiService.theme.colors.getColor('neutral-white'),\n '--neutral-purewhite': this.curaApiService.theme.colors.getColor('neutral-purewhite'),\n '--color-base': this.curaApiService.theme.colors.getColor('primary-base'),\n };\n @HostBinding('class')\n get classes(): string {\n const classes = [];\n if (this.isStarTheme()) {\n classes.push('starTheme');\n }\n if (this.isMaternityStarTheme()) {\n classes.push('maternityStarTheme');\n }\n return classes.join(' ');\n }\n}\n","<div class=\"rdsite-card-unidade-planos-convenios\">\n <rdsite-image\n class=\"rdsite-card-unidade-planos-convenios-logo\"\n [imageWebpSrc]=\"logoWebpSrc()\"\n [imageDefaultSrc]=\"logoDefaultSrc()\"\n [imageSizes]=\"logoSizes()\"\n [mimeType]=\"logoMimeType()\"\n [alt]=\"logoAlt()\"\n [title]=\"logoTitle()\"\n loading=\"lazy\"\n ></rdsite-image>\n\n <div class=\"rdsite-card-unidade-planos-convenios-heading\">\n @if (title()) {\n <cura-heading size=\"small\" [level]=\"2\" color=\"neutral-black\" weight=\"bold\" marginBlock=\"0\" lineHeight=\"150%\">\n {{ title() }}\n </cura-heading>\n }\n\n @if (subtitle()) {\n <cura-paragraph size=\"xsmall\" color=\"neutral-dark\" weight=\"bold\" marginBlock=\"0\" lineHeight=\"130%\">\n <span class=\"cura-paragraph-weight\">\n {{ subtitle() }}\n </span>\n </cura-paragraph>\n }\n </div>\n\n <div class=\"rdsite-card-unidade-planos-convenios-content\">\n @if (coverage()) {\n <cura-paragraph size=\"xsmall\" color=\"neutral-black\" marginBlock=\"0\" lineHeight=\"130%\">\n <span class=\"cura-paragraph-weight\">\n {{ coverage()?.title }}\n </span>\n </cura-paragraph>\n\n @if (coverage()?.list?.length) {\n <div class=\"coverage-list\">\n @for (item of coverage()?.list; track item.title) {\n <cura-badge-pill type=\"solid\" color=\"success\" [disabled]=\"!item.isCovered\" [iconName]=\"item.isCovered ? 'check' : 'close'\">\n {{ item.title }}\n </cura-badge-pill>\n }\n </div>\n }\n }\n\n @if (address()) {\n <div class=\"address\">\n <cura-icon name=\"geotag\" color=\"neutral-dark\" size=\"20\"></cura-icon>\n\n <cura-paragraph size=\"xsmall\" color=\"neutral-black\" marginBlock=\"0\" lineHeight=\"130%\">\n <span class=\"cura-paragraph-weight\"> {{ address() }} • </span>\n <a rdsitelink href=\"https://www.google.com/maps?q={{ address() }}\">Mapa</a>\n </cura-paragraph>\n </div>\n }\n </div>\n\n <div class=\"rdsite-card-unidade-planos-convenios-ctas\">\n @if (cta2() && cta2()?.label && cta2()?.link) {\n <cura-button\n type=\"button\"\n size=\"medium\"\n iconName=\"calendar\"\n [fontColor]=\"isStarTheme() || isMaternityStarTheme() ? 'light' : 'dark'\"\n [color]=\"isStarTheme() || isMaternityStarTheme() ? 'primary' : 'accent'\"\n [style.--border-radius]=\"isStarTheme() ? '0px' : isMaternityStarTheme() ? '2rem' : '2px'\"\n rdsitelink\n [href]=\"cta2()!.link\"\n >\n {{ cta2()?.label }}\n </cura-button>\n }\n\n @if (cta1() && cta1()?.label && cta1()?.link) {\n <cura-button\n type=\"button\"\n size=\"medium\"\n iconName=\"exam\"\n [fontColor]=\"isStarTheme() || isMaternityStarTheme() ? 'light' : 'dark'\"\n [color]=\"isStarTheme() || isMaternityStarTheme() ? 'primary' : 'accent'\"\n [style.--border-radius]=\"isStarTheme() ? '0px' : isMaternityStarTheme() ? '2rem' : '2px'\"\n rdsitelink\n [href]=\"cta1()!.link\"\n >\n {{ cta1()?.label }}\n </cura-button>\n }\n </div>\n</div>\n","import { Component, HostBinding, OnChanges, input, model, output, inject } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\nimport { CuraBadgePillComponent } from '@rededor/site-front-end-lib/cura/badges/cura-badge-pill';\n\n@Component({\n selector: 'rdsite-expandable-card',\n imports: [CommonModule, RdsiteLinkDirective, CuraIconComponent, CuraBadgePillComponent],\n templateUrl: './expandable-card.component.html',\n styleUrls: ['./expandable-card.component.scss'],\n})\nexport class ExpandableCardComponent {\n private readonly curaApiService = inject(CuraApiService);\n\n opened = model(false);\n readonly label = input<string>('');\n readonly link = input<string>('');\n readonly badgeLabel = input<string>('');\n readonly openIcon = input<string>('plus');\n readonly closeIcon = input<string>('minus');\n readonly disabled = input(false);\n readonly isStarTheme = input(false);\n readonly isMaternityStarTheme = input(false);\n\n readonly toggle = output<boolean>();\n\n @HostBinding('style') styleBinding = {\n '--neutral-light': this.curaApiService.theme.colors.getColor('neutral-light'),\n '--neutral-base': this.curaApiService.theme.colors.getColor('neutral-base'),\n '--neutral-purewhite': this.curaApiService.theme.colors.getColor('neutral-purewhite'),\n '--neutral-black': this.curaApiService.theme.colors.getColor('neutral-black'),\n '--primary-dark': this.curaApiService.theme.colors.getColor('primary-dark'),\n '--primary-base': this.curaApiService.theme.colors.getColor('primary-base'),\n '--primary-lighter': this.curaApiService.theme.colors.getColor('primary-lighter'),\n '--accent-light': this.curaApiService.theme.colors.getColor('accent-light'),\n '--font-family': this.curaApiService.theme.fonts.getFamily(''),\n };\n\n @HostBinding('class')\n get classes(): string {\n const classes = [];\n if (this.disabled()) {\n classes.push('disabled');\n }\n if (this.isStarTheme()) {\n classes.push('starTheme');\n }\n if (this.isMaternityStarTheme()) {\n classes.push('maternityStarTheme');\n }\n return classes.join(' ');\n }\n\n toggleCard() {\n this.opened.set(!this.opened());\n this.toggle.emit(this.opened());\n }\n}\n","@if (label()) {\n <div class=\"card-header\" [ngClass]=\"{ noBadge: !badgeLabel() }\" (click)=\"toggleCard()\">\n @if (link() && label()) {\n <a rdsitelink class=\"card-link\" [style.color]=\"isStarTheme() ? 'var(--primary-base)' : 'var(--primary-dark)'\" [href]=\"link()\">\n {{ label() }}\n <cura-icon name=\"arrowRight\" [color]=\"isStarTheme() ? 'primary-base' : 'primary-dark'\" size=\"16\"></cura-icon>\n </a>\n }\n\n @if (badgeLabel()) {\n <cura-badge-pill\n [style.--color-background]=\"isStarTheme() ? '#EBE7DE' : isMaternityStarTheme() ? 'var(--secondary-lighter)' : 'var(--primary-light)'\"\n [style.--color-base]=\"'var(--primary-dark)'\"\n type=\"solid\"\n >\n {{ badgeLabel() }}\n </cura-badge-pill>\n }\n\n <cura-icon\n [name]=\"opened() ? closeIcon() : openIcon()\"\n [style.--color]=\"isStarTheme() ? 'var(--primary-base)' : 'var(--primary-dark)'\"\n size=\"20\"\n ></cura-icon>\n </div>\n\n <div class=\"card-content\" [ngClass]=\"{ opened: opened() }\">\n <ng-content></ng-content>\n </div>\n}\n","import { Component, HostBinding, input, OnDestroy, OnInit, PLATFORM_ID, signal, viewChild, inject } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { YouTubePlayer, YouTubePlayerModule } from '@angular/youtube-player';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { YoutubeService } from '@rededor/site-front-end-lib/services/youtube';\nimport { ImageComponent } from '@rededor/site-front-end-lib/components/image';\n\n@Component({\n selector: 'rdsite-testimonial-card',\n imports: [ImageComponent, YouTubePlayerModule],\n templateUrl: './testimonial-card.component.html',\n styleUrls: ['./testimonial-card.component.scss'],\n})\nexport class TestimonialCardComponent implements OnInit, OnDestroy {\n private readonly curaApiService = inject(CuraApiService);\n private readonly youtubeService = inject(YoutubeService);\n private readonly platformId = inject(PLATFORM_ID);\n\n type = input('image');\n image = input<any | null>(null);\n videoUrl = input('');\n text = input('');\n author = input('');\n position = input('');\n\n videoId = signal<string | null>('');\n\n platformBrowser = signal<any | null>(null);\n\n readonly youtubePlayer = viewChild.required<YouTubePlayer>('youtubePlayer');\n\n @HostBinding('style') styleBinding = {\n '--neutral-black': this.curaApiService.theme.colors.getColor('neutral-black'),\n '--color-one-darker': this.curaApiService.theme.colors.getColor('primary-darker'),\n '--font-family': this.curaApiService.theme.fonts.getFamily(''),\n };\n\n constructor() {\n this.youtubeService.setScript();\n }\n\n ngOnInit(): void {\n this.platformBrowser.set(isPlatformBrowser(this.platformId));\n\n if (this.type() === 'video' && this.videoUrl()) {\n this.getVideoId();\n }\n }\n\n getVideoId(): string {\n const params = new URLSearchParams(this.videoUrl().split('?')[1]);\n return params.get('v') || '';\n }\n\n stopVideo(): void {\n const youtubePlayer = this.youtubePlayer();\n if (this.getVideoId() && youtubePlayer) {\n youtubePlayer.stopVideo();\n }\n }\n\n ngOnDestroy(): void {\n this.youtubeService.removeScript();\n }\n}\n","@if ((image() || getVideoId()) && text()) {\n @switch (type()) {\n @case ('image') {\n @if (image()) {\n <rdsite-image\n [imageWebpSrc]=\"image()?.webp_sizes?.['rdsl-card-unidades']\"\n [imageDefaultSrc]=\"image()?.sizes?.['rdsl-card-unidades']\"\n [mimeType]=\"image()?.mime_type\"\n [alt]=\"image()?.alt\"\n >\n </rdsite-image>\n }\n }\n @case ('video') {\n @if (getVideoId() && platformBrowser()) {\n <youtube-player #youtubePlayer [videoId]=\"getVideoId()\" [disablePlaceholder]=\"true\"></youtube-player>\n }\n }\n }\n\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"26\" viewBox=\"0 0 32 26\" fill=\"none\">\n <path\n d=\"M14.375 3.3125C12.9062 4.15625 11.7188 4.89062 10.8125 5.51562C9.90625 6.10938 8.98438 6.90625 8.04688 7.90625C7.17188 8.84375 6.5 9.82812 6.03125 10.8594C5.5625 11.8906 5.23438 13.2188 5.04688 14.8438H7.29688C9.23438 14.8438 10.75 15.3281 11.8438 16.2969C12.9688 17.2344 13.5312 18.625 13.5312 20.4688C13.5312 21.7812 13.0312 23.0156 12.0312 24.1719C11.0625 25.2969 9.71875 25.8594 8 25.8594C5.3125 25.8594 3.39062 24.9844 2.23438 23.2344C1.07812 21.4531 0.5 19.125 0.5 16.25C0.5 14.2188 0.9375 12.375 1.8125 10.7188C2.6875 9.03125 3.75 7.53125 5 6.21875C6.28125 4.875 7.64062 3.73438 9.07812 2.79688C10.5156 1.85938 11.7188 1.09375 12.6875 0.5L14.375 3.3125ZM31.7188 3.3125C30.25 4.15625 29.0625 4.89062 28.1562 5.51562C27.25 6.10938 26.3281 6.90625 25.3906 7.90625C24.4844 8.875 23.7969 9.875 23.3281 10.9062C22.8906 11.9062 22.5781 13.2188 22.3906 14.8438H24.6406C26.5781 14.8438 28.0938 15.3281 29.1875 16.2969C30.3125 17.2344 30.875 18.625 30.875 20.4688C30.875 21.7812 30.375 23.0156 29.375 24.1719C28.4062 25.2969 27.0625 25.8594 25.3438 25.8594C22.6562 25.8594 20.7344 24.9844 19.5781 23.2344C18.4219 21.4531 17.8438 19.125 17.8438 16.25C17.8438 14.2188 18.2812 12.375 19.1562 10.7188C20.0312 9.03125 21.0938 7.53125 22.3438 6.21875C23.625 4.875 24.9844 3.73438 26.4219 2.79688C27.8594 1.85938 29.0625 1.09375 30.0312 0.5L31.7188 3.3125Z\"\n fill=\"#202122\"\n />\n </svg>\n\n <div class=\"testimonials-text\">\n <q class=\"quote\" [innerHTML]=\"text()\" (click)=\"stopVideo()\"></q>\n\n @if (author()) {\n <span class=\"author\">{{ author() }}</span>\n }\n\n @if (position()) {\n <span class=\"position\">\n {{ position() }}\n </span>\n }\n </div>\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;;;;;;;MAiBa,mCAAmC,CAAA;AANhD,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AAE/C,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAS,EAAE,iDAAC;AACzB,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAqB,EAAE,oDAAC;QACxC,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,UAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAMrB;AACK,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAqB,EAAE,mDAAC;QACvC,IAAA,CAAA,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAGjB;QACK,IAAA,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
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, input, viewChild, viewChildren, HostBinding, Component } from '@angular/core';
|
|
3
|
-
import { NguCarousel, NguItemComponent, NguCarouselDefDirective } from '@ngu/carousel';
|
|
4
|
-
import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
|
|
5
|
-
import { NguCarouselService } from '@rededor/site-front-end-lib/services/ngu-carousel';
|
|
6
|
-
import { TestimonialCardComponent } from '@rededor/site-front-end-lib/components/cards';
|
|
7
|
-
import { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';
|
|
8
|
-
|
|
9
|
-
class TestimonialsCarouselComponent {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.curaApiService = inject(CuraApiService);
|
|
12
|
-
this.nguService = inject(NguCarouselService);
|
|
13
|
-
this.title = input('', ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
14
|
-
this.items = input([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
15
|
-
this.carouselTestimonialsConfig = this.nguService.customCarouselConfig({
|
|
16
|
-
grid: { xs: 1, sm: 1, md: 1, lg: 1.1, all: 0 },
|
|
17
|
-
gridBreakpoints: { sm: 360, md: 768, lg: 1024, xl: 1920 },
|
|
18
|
-
loop: true,
|
|
19
|
-
interval: {
|
|
20
|
-
timing: 600000,
|
|
21
|
-
initialDelay: 600000,
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
this.carouselTestimonials = viewChild.required('carouselTestimonialsEl');
|
|
25
|
-
this.testimonialCards = viewChildren('testimonialCard', ...(ngDevMode ? [{ debugName: "testimonialCards" }] : []));
|
|
26
|
-
this.styleBinding = {
|
|
27
|
-
'--neutral-purewhite': this.curaApiService.theme.colors.getColor('neutral-purewhite'),
|
|
28
|
-
'--neutral-black': this.curaApiService.theme.colors.getColor('neutral-black'),
|
|
29
|
-
'--font-family': this.curaApiService.theme.fonts.getFamily(''),
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
ngOnInit() {
|
|
33
|
-
this.carouselTestimonialsConfig.set(this.nguService.customCarouselConfig({
|
|
34
|
-
grid: { xs: 1, sm: 1, md: 1, lg: 1.1, all: 0 },
|
|
35
|
-
gridBreakpoints: { sm: 360, md: 768, lg: 1024, xl: 1920 },
|
|
36
|
-
loop: true,
|
|
37
|
-
interval: {
|
|
38
|
-
timing: 600000,
|
|
39
|
-
initialDelay: 600000,
|
|
40
|
-
},
|
|
41
|
-
}));
|
|
42
|
-
}
|
|
43
|
-
nextSlide() {
|
|
44
|
-
this.nguService.scrollRight(this.carouselTestimonials());
|
|
45
|
-
}
|
|
46
|
-
prevSlide() {
|
|
47
|
-
this.nguService.scrollLeft(this.carouselTestimonials());
|
|
48
|
-
}
|
|
49
|
-
moveTo(pointerNumber) {
|
|
50
|
-
this.nguService.moveTo(this.carouselTestimonials(), pointerNumber);
|
|
51
|
-
}
|
|
52
|
-
stopVideos() {
|
|
53
|
-
this.testimonialCards().forEach((card) => {
|
|
54
|
-
if (card.type() === 'video') {
|
|
55
|
-
card.stopVideo();
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TestimonialsCarouselComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
60
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TestimonialsCarouselComponent, isStandalone: true, selector: "rdsite-testimonials-carousel", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style": "this.styleBinding" } }, viewQueries: [{ propertyName: "carouselTestimonials", first: true, predicate: ["carouselTestimonialsEl"], descendants: true, isSignal: true }, { propertyName: "testimonialCards", predicate: ["testimonialCard"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (title()) {\n <h3 class=\"testimonials-carousel-title\">{{ title() }}</h3>\n}\n\n<ngu-carousel #carouselTestimonialsEl [inputs]=\"carouselTestimonialsConfig()!\" [dataSource]=\"items()\" (onMove)=\"stopVideos()\">\n <ngu-item *nguCarouselDef=\"let item\">\n <rdsite-testimonial-card\n #testimonialCard\n [type]=\"item.type\"\n [image]=\"item.image\"\n [videoUrl]=\"item.video_url\"\n [text]=\"item.text\"\n [author]=\"item.author\"\n [position]=\"item.role\"\n >\n </rdsite-testimonial-card>\n </ngu-item>\n</ngu-carousel>\n\n<div class=\"testimonials-carousel-controls\">\n <cura-icon name=\"arrowLeftCircle\" size=\"40\" color=\"primary-base\" (click)=\"prevSlide()\"></cura-icon>\n\n <cura-icon name=\"arrowRightCircle\" size=\"40\" color=\"primary-base\" (click)=\"nextSlide()\"></cura-icon>\n\n <ul>\n @for (item of carouselTestimonials().pointNumbers(); track i; let i = $index) {\n <li [class.active]=\"i === carouselTestimonials().activePoint()\" (click)=\"moveTo(i)\"></li>\n }\n </ul>\n</div>\n", styles: [":host{display:block}@media screen and (min-width: 1024px){:host{background-color:var(--neutral-purewhite)}}:host .testimonials-carousel-title{color:var(--neutral-black);font-family:var(--font-family);font-size:24px;font-weight:500;line-height:130%;margin-bottom:16px}@media screen and (min-width: 1024px){:host .testimonials-carousel-title{font-size:28px;margin-bottom:48px}}:host ngu-carousel{background-color:#f7f5f0}@media screen and (min-width: 1024px){:host ngu-item{background:linear-gradient(to right,var(--neutral-purewhite) 102px,#f7f5f0 0)}}:host ngu-item rdsite-testimonial-card{height:100%}:host .testimonials-carousel-controls{display:flex;justify-content:space-between;align-items:center;padding:20px 0 48px 28px;background-color:#f7f5f0}@media screen and (min-width: 1024px){:host .testimonials-carousel-controls{padding:48px 0 0;background-color:transparent}}:host .testimonials-carousel-controls cura-icon{display:none}@media screen and (min-width: 1024px){:host .testimonials-carousel-controls cura-icon{display:block;cursor:pointer}:host .testimonials-carousel-controls cura-icon:nth-of-type(1){margin-left:48px}:host .testimonials-carousel-controls cura-icon:nth-of-type(2){margin-right:48px}}:host .testimonials-carousel-controls ul{display:flex;justify-content:center;align-items:center;gap:8px}@media screen and (min-width: 1024px){:host .testimonials-carousel-controls ul{display:none}}:host .testimonials-carousel-controls ul li{background-color:transparent;width:11px;height:11px;border:2px solid var(--neutral-black);border-radius:50%;list-style-type:none}:host .testimonials-carousel-controls ul li.active{background-color:var(--neutral-black)}\n"], dependencies: [{ kind: "component", type: NguCarousel, selector: "ngu-carousel", inputs: ["inputs", "dataSource", "trackBy"], outputs: ["carouselLoad", "onMove"] }, { kind: "component", type: NguItemComponent, selector: "ngu-item" }, { kind: "directive", type: NguCarouselDefDirective, selector: "[nguCarouselDef]" }, { kind: "component", type: TestimonialCardComponent, selector: "rdsite-testimonial-card", inputs: ["type", "image", "videoUrl", "text", "author", "position"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
|
|
61
|
-
}
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TestimonialsCarouselComponent, decorators: [{
|
|
63
|
-
type: Component,
|
|
64
|
-
args: [{ selector: 'rdsite-testimonials-carousel', imports: [NguCarousel, NguItemComponent, NguCarouselDefDirective, TestimonialCardComponent, CuraIconComponent], template: "@if (title()) {\n <h3 class=\"testimonials-carousel-title\">{{ title() }}</h3>\n}\n\n<ngu-carousel #carouselTestimonialsEl [inputs]=\"carouselTestimonialsConfig()!\" [dataSource]=\"items()\" (onMove)=\"stopVideos()\">\n <ngu-item *nguCarouselDef=\"let item\">\n <rdsite-testimonial-card\n #testimonialCard\n [type]=\"item.type\"\n [image]=\"item.image\"\n [videoUrl]=\"item.video_url\"\n [text]=\"item.text\"\n [author]=\"item.author\"\n [position]=\"item.role\"\n >\n </rdsite-testimonial-card>\n </ngu-item>\n</ngu-carousel>\n\n<div class=\"testimonials-carousel-controls\">\n <cura-icon name=\"arrowLeftCircle\" size=\"40\" color=\"primary-base\" (click)=\"prevSlide()\"></cura-icon>\n\n <cura-icon name=\"arrowRightCircle\" size=\"40\" color=\"primary-base\" (click)=\"nextSlide()\"></cura-icon>\n\n <ul>\n @for (item of carouselTestimonials().pointNumbers(); track i; let i = $index) {\n <li [class.active]=\"i === carouselTestimonials().activePoint()\" (click)=\"moveTo(i)\"></li>\n }\n </ul>\n</div>\n", styles: [":host{display:block}@media screen and (min-width: 1024px){:host{background-color:var(--neutral-purewhite)}}:host .testimonials-carousel-title{color:var(--neutral-black);font-family:var(--font-family);font-size:24px;font-weight:500;line-height:130%;margin-bottom:16px}@media screen and (min-width: 1024px){:host .testimonials-carousel-title{font-size:28px;margin-bottom:48px}}:host ngu-carousel{background-color:#f7f5f0}@media screen and (min-width: 1024px){:host ngu-item{background:linear-gradient(to right,var(--neutral-purewhite) 102px,#f7f5f0 0)}}:host ngu-item rdsite-testimonial-card{height:100%}:host .testimonials-carousel-controls{display:flex;justify-content:space-between;align-items:center;padding:20px 0 48px 28px;background-color:#f7f5f0}@media screen and (min-width: 1024px){:host .testimonials-carousel-controls{padding:48px 0 0;background-color:transparent}}:host .testimonials-carousel-controls cura-icon{display:none}@media screen and (min-width: 1024px){:host .testimonials-carousel-controls cura-icon{display:block;cursor:pointer}:host .testimonials-carousel-controls cura-icon:nth-of-type(1){margin-left:48px}:host .testimonials-carousel-controls cura-icon:nth-of-type(2){margin-right:48px}}:host .testimonials-carousel-controls ul{display:flex;justify-content:center;align-items:center;gap:8px}@media screen and (min-width: 1024px){:host .testimonials-carousel-controls ul{display:none}}:host .testimonials-carousel-controls ul li{background-color:transparent;width:11px;height:11px;border:2px solid var(--neutral-black);border-radius:50%;list-style-type:none}:host .testimonials-carousel-controls ul li.active{background-color:var(--neutral-black)}\n"] }]
|
|
65
|
-
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], carouselTestimonials: [{ type: i0.ViewChild, args: ['carouselTestimonialsEl', { isSignal: true }] }], testimonialCards: [{ type: i0.ViewChildren, args: ['testimonialCard', { isSignal: true }] }], styleBinding: [{
|
|
66
|
-
type: HostBinding,
|
|
67
|
-
args: ['style']
|
|
68
|
-
}] } });
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Generated bundle index. Do not edit.
|
|
72
|
-
*/
|
|
73
|
-
|
|
74
|
-
export { TestimonialsCarouselComponent };
|
|
75
|
-
//# sourceMappingURL=rededor-site-front-end-lib-components-carousels.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-components-carousels.mjs","sources":["../../../projects/site-front-end-lib/components/carousels/testimonials-carousel/testimonials-carousel.component.ts","../../../projects/site-front-end-lib/components/carousels/testimonials-carousel/testimonials-carousel.component.html","../../../projects/site-front-end-lib/components/carousels/rededor-site-front-end-lib-components-carousels.ts"],"sourcesContent":["import { Component, HostBinding, input, OnInit, viewChild, viewChildren, inject } from '@angular/core';\nimport { NguCarousel, NguCarouselDefDirective, NguItemComponent } from '@ngu/carousel';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { NguCarouselService } from '@rededor/site-front-end-lib/services/ngu-carousel';\nimport { TestimonialCardComponent } from '@rededor/site-front-end-lib/components/cards';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\n\n@Component({\n selector: 'rdsite-testimonials-carousel',\n imports: [NguCarousel, NguItemComponent, NguCarouselDefDirective, TestimonialCardComponent, CuraIconComponent],\n templateUrl: './testimonials-carousel.component.html',\n styleUrls: ['./testimonials-carousel.component.scss'],\n})\nexport class TestimonialsCarouselComponent implements OnInit {\n private readonly curaApiService = inject(CuraApiService);\n private nguService = inject(NguCarouselService);\n\n title = input('');\n items = input<any[] | null>([]);\n\n carouselTestimonialsConfig: any = this.nguService.customCarouselConfig({\n grid: { xs: 1, sm: 1, md: 1, lg: 1.1, all: 0 },\n gridBreakpoints: { sm: 360, md: 768, lg: 1024, xl: 1920 },\n loop: true,\n interval: {\n timing: 600000,\n initialDelay: 600000,\n },\n });\n\n readonly carouselTestimonials = viewChild.required<NguCarousel<any[]>>('carouselTestimonialsEl');\n readonly testimonialCards = viewChildren<TestimonialCardComponent>('testimonialCard');\n\n @HostBinding('style') styleBinding = {\n '--neutral-purewhite': this.curaApiService.theme.colors.getColor('neutral-purewhite'),\n '--neutral-black': this.curaApiService.theme.colors.getColor('neutral-black'),\n '--font-family': this.curaApiService.theme.fonts.getFamily(''),\n };\n\n ngOnInit() {\n this.carouselTestimonialsConfig.set(\n this.nguService.customCarouselConfig({\n grid: { xs: 1, sm: 1, md: 1, lg: 1.1, all: 0 },\n gridBreakpoints: { sm: 360, md: 768, lg: 1024, xl: 1920 },\n loop: true,\n interval: {\n timing: 600000,\n initialDelay: 600000,\n },\n }),\n );\n }\n\n nextSlide(): void {\n this.nguService.scrollRight(this.carouselTestimonials());\n }\n\n prevSlide(): void {\n this.nguService.scrollLeft(this.carouselTestimonials());\n }\n\n moveTo(pointerNumber: number): void {\n this.nguService.moveTo(this.carouselTestimonials(), pointerNumber);\n }\n\n stopVideos(): void {\n this.testimonialCards().forEach((card) => {\n if (card.type() === 'video') {\n card.stopVideo();\n }\n });\n }\n}\n","@if (title()) {\n <h3 class=\"testimonials-carousel-title\">{{ title() }}</h3>\n}\n\n<ngu-carousel #carouselTestimonialsEl [inputs]=\"carouselTestimonialsConfig()!\" [dataSource]=\"items()\" (onMove)=\"stopVideos()\">\n <ngu-item *nguCarouselDef=\"let item\">\n <rdsite-testimonial-card\n #testimonialCard\n [type]=\"item.type\"\n [image]=\"item.image\"\n [videoUrl]=\"item.video_url\"\n [text]=\"item.text\"\n [author]=\"item.author\"\n [position]=\"item.role\"\n >\n </rdsite-testimonial-card>\n </ngu-item>\n</ngu-carousel>\n\n<div class=\"testimonials-carousel-controls\">\n <cura-icon name=\"arrowLeftCircle\" size=\"40\" color=\"primary-base\" (click)=\"prevSlide()\"></cura-icon>\n\n <cura-icon name=\"arrowRightCircle\" size=\"40\" color=\"primary-base\" (click)=\"nextSlide()\"></cura-icon>\n\n <ul>\n @for (item of carouselTestimonials().pointNumbers(); track i; let i = $index) {\n <li [class.active]=\"i === carouselTestimonials().activePoint()\" (click)=\"moveTo(i)\"></li>\n }\n </ul>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAaa,6BAA6B,CAAA;AAN1C,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AAChD,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAE/C,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,EAAE,iDAAC;AACjB,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAe,EAAE,iDAAC;AAE/B,QAAA,IAAA,CAAA,0BAA0B,GAAQ,IAAI,CAAC,UAAU,CAAC,oBAAoB,CAAC;YACrE,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE;AAC9C,YAAA,eAAe,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE;AACzD,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,QAAQ,EAAE;AACR,gBAAA,MAAM,EAAE,MAAM;AACd,gBAAA,YAAY,EAAE,MAAM;AACrB,aAAA;AACF,SAAA,CAAC;AAEO,QAAA,IAAA,CAAA,oBAAoB,GAAG,SAAS,CAAC,QAAQ,CAAqB,wBAAwB,CAAC;AACvF,QAAA,IAAA,CAAA,gBAAgB,GAAG,YAAY,CAA2B,iBAAi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AA,QAAA,EAAA,IAAA,EAAA,KAAA,EAAA,OAAA,EAAA,QAAA,EAAA,KAAA,EAAA,CAAA,EAAA,CAAA,EAAA,oBAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CAAA,wBAAwB,6EAC5B,iBAAiB,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA;sBAEnF,WAAW;uBAAC,OAAO;;;AEjCtB;;AAEG;;;;"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { isPlatformBrowser } from '@angular/common';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, PLATFORM_ID, input, output, viewChild, HostBinding, HostListener, Component } from '@angular/core';
|
|
4
|
-
import { NguCarousel, NguItemComponent, NguCarouselDefDirective } from '@ngu/carousel';
|
|
5
|
-
import { RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';
|
|
6
|
-
import { CuraApiService } from '@rededor/site-front-end-lib/cura/api';
|
|
7
|
-
import { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';
|
|
8
|
-
import { NguCarouselService } from '@rededor/site-front-end-lib/services/ngu-carousel';
|
|
9
|
-
import { MediaQueries } from '@rededor/site-front-end-lib/shared';
|
|
10
|
-
|
|
11
|
-
class CtaWrapperComponent {
|
|
12
|
-
constructor() {
|
|
13
|
-
this.curaApiService = inject(CuraApiService);
|
|
14
|
-
this.nguService = inject(NguCarouselService);
|
|
15
|
-
this.platformId = inject(PLATFORM_ID);
|
|
16
|
-
this.content = input(null, ...(ngDevMode ? [{ debugName: "content" }] : []));
|
|
17
|
-
this.showTitleAndText = input(true, ...(ngDevMode ? [{ debugName: "showTitleAndText" }] : []));
|
|
18
|
-
this.colors = input({ border: 'primary-base', icon: 'primary-dark' }, ...(ngDevMode ? [{ debugName: "colors" }] : []));
|
|
19
|
-
this.ctaWrapperItemClick = output();
|
|
20
|
-
this.bannerControl = false;
|
|
21
|
-
this.seeMoreControl = false;
|
|
22
|
-
this.nguCarouselCtas = viewChild.required('nguCarouselCtas');
|
|
23
|
-
this.class = ['rdsite-container'];
|
|
24
|
-
}
|
|
25
|
-
onWindowResize() {
|
|
26
|
-
if (isPlatformBrowser(this.platformId)) {
|
|
27
|
-
this.bannerControl = window.innerWidth > MediaQueries.smallBreakpoint;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
get style() {
|
|
31
|
-
return {
|
|
32
|
-
'--font-family': this.curaApiService.theme.fonts.getFamily('') ?? '',
|
|
33
|
-
'--border-color': this.curaApiService.theme.colors.getColor(this.colors().border) ?? '',
|
|
34
|
-
'--icon-color': this.curaApiService.theme.colors.getColor(this.colors().icon) ?? '',
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
ngOnInit() {
|
|
38
|
-
if (isPlatformBrowser(this.platformId)) {
|
|
39
|
-
this.bannerControl = window.innerWidth > MediaQueries.smallBreakpoint;
|
|
40
|
-
}
|
|
41
|
-
this.carouselCtasConfig = this.nguService.customCarouselConfig({
|
|
42
|
-
grid: { xs: 2.1, sm: 2.1, md: 2.1, lg: 2.1, all: 0 },
|
|
43
|
-
loop: true,
|
|
44
|
-
interval: {
|
|
45
|
-
timing: 600000,
|
|
46
|
-
initialDelay: 600000,
|
|
47
|
-
},
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
moreOptions() {
|
|
51
|
-
this.seeMoreControl = !this.seeMoreControl;
|
|
52
|
-
}
|
|
53
|
-
ctaWrapperItemClicked(event) {
|
|
54
|
-
this.ctaWrapperItemClick.emit(event);
|
|
55
|
-
}
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CtaWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
57
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: CtaWrapperComponent, isStandalone: true, selector: "rdsite-cta-wrapper", inputs: { content: { classPropertyName: "content", publicName: "content", isSignal: true, isRequired: false, transformFunction: null }, showTitleAndText: { classPropertyName: "showTitleAndText", publicName: "showTitleAndText", isSignal: true, isRequired: false, transformFunction: null }, colors: { classPropertyName: "colors", publicName: "colors", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ctaWrapperItemClick: "ctaWrapperItemClick" }, host: { listeners: { "window:resize": "onWindowResize()" }, properties: { "style": "this.style", "class": "this.class" } }, viewQueries: [{ propertyName: "nguCarouselCtas", first: true, predicate: ["nguCarouselCtas"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (content()?.ctas?.length) {\n @if (content()?.title && showTitleAndText()) {\n <h3 class=\"ctas-title\">{{ content()?.title }}</h3>\n }\n\n @if (content()?.text && showTitleAndText()) {\n <p class=\"ctas-text\" [innerHTML]=\"content()?.text\"></p>\n }\n\n @if (!seeMoreControl) {\n <nav class=\"ctas-wrapper\" data-testid=\"_rdsite-ctas-wrapper\">\n @if (!bannerControl) {\n <ngu-carousel #nguCarouselCtas [inputs]=\"carouselCtasConfig\" [dataSource]=\"content()?.ctas\">\n <ngu-item *nguCarouselDef=\"let cta; let i = index\">\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\" (click)=\"ctaWrapperItemClicked($event)\">\n @if (cta?.icon) {\n <cura-icon [name]=\"cta.icon\" size=\"24\" [color]=\"colors().icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n </ngu-item>\n </ngu-carousel>\n\n <div class=\"show-more\" data-testid=\"_rdsite-ctas-wrapper-show-more\">\n <button type=\"button\" (click)=\"moreOptions()\">Mais op\u00E7\u00F5es</button>\n </div>\n } @else {\n @for (cta of content()?.ctas; track $index) {\n @if (cta?.label) {\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\" (click)=\"ctaWrapperItemClicked($event)\">\n @if (cta?.icon) {\n <cura-icon [name]=\"cta.icon\" size=\"24\" [color]=\"colors().icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n }\n }\n }\n </nav>\n } @else {\n <nav class=\"more-options\" data-testid=\"_rdsite-ctas-wrapper-more-options\">\n @for (cta of content()?.ctas; track $index) {\n @if (cta?.label) {\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\" (click)=\"ctaWrapperItemClicked($event)\">\n @if (cta?.icon) {\n <cura-icon [name]=\"cta.icon\" size=\"24\" [color]=\"colors().icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n }\n }\n </nav>\n }\n}\n", styles: [":host{display:block}:host .ctas-title,:host .ctas-text{font-family:var(--font-family);padding:0;margin:0}:host .ctas-title:not(:last-child),:host .ctas-text:not(:last-child){padding-bottom:0}:host .ctas-title{color:var(--icon-color);font-size:29px;font-weight:500;line-height:38px;letter-spacing:-.58px;padding:0 24px;margin-bottom:24px}@media only screen and (min-width: 1024px){:host .ctas-title{font-size:33px;line-height:43px;letter-spacing:-.66px;padding:0}}:host .ctas-text{color:var(--icon-color);font-size:17px;font-weight:400;line-height:25px;padding:0 24px}@media only screen and (min-width: 1024px){:host .ctas-text{font-size:19px;line-height:28px;padding:0}}:host .ctas-wrapper{display:flex;flex-wrap:wrap;gap:16px;margin-top:50px}:host .ctas-wrapper ngu-carousel{max-width:100vw;margin-left:-6%}:host .ctas-wrapper ngu-carousel::ng-deep .ngucarousel{padding-left:6%}:host .ctas-wrapper ngu-item a{margin-right:16px}:host .ctas-wrapper .show-more{display:flex;justify-content:flex-end;width:100%;height:auto}:host .ctas-wrapper .show-more button{font-family:var(--font-family);color:var(--icon-color);background-color:transparent;font-size:16px;font-weight:500;line-height:145%;letter-spacing:.32px;text-decoration-line:underline;text-align:center}:host .more-options{display:flex;flex-wrap:wrap;gap:16px;margin-top:60px}:host .cta{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-width:150px;height:100%;min-height:150px;padding:24px 16px;border-radius:4px;border:1px solid var(--border-color);text-decoration:none}:host .cta p{font-family:var(--font-family);color:var(--icon-color);font-size:16px;font-weight:700;line-height:145%;letter-spacing:.32px;padding:0;margin:0;text-align:center}\n"], dependencies: [{ kind: "component", type: NguCarousel, selector: "ngu-carousel", inputs: ["inputs", "dataSource", "trackBy"], outputs: ["carouselLoad", "onMove"] }, { kind: "component", type: NguItemComponent, selector: "ngu-item" }, { kind: "directive", type: NguCarouselDefDirective, selector: "[nguCarouselDef]" }, { kind: "directive", type: RdsiteLinkDirective, selector: "[rdsitelink]", inputs: ["anchorAdjustment", "anchorExtraAdjustment", "phonemodal"] }, { kind: "component", type: CuraIconComponent, selector: "cura-icon", inputs: ["name", "color", "size", "iconset", "disabled"] }] }); }
|
|
58
|
-
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CtaWrapperComponent, decorators: [{
|
|
60
|
-
type: Component,
|
|
61
|
-
args: [{ selector: 'rdsite-cta-wrapper', imports: [NguCarousel, NguItemComponent, NguCarouselDefDirective, RdsiteLinkDirective, CuraIconComponent], template: "@if (content()?.ctas?.length) {\n @if (content()?.title && showTitleAndText()) {\n <h3 class=\"ctas-title\">{{ content()?.title }}</h3>\n }\n\n @if (content()?.text && showTitleAndText()) {\n <p class=\"ctas-text\" [innerHTML]=\"content()?.text\"></p>\n }\n\n @if (!seeMoreControl) {\n <nav class=\"ctas-wrapper\" data-testid=\"_rdsite-ctas-wrapper\">\n @if (!bannerControl) {\n <ngu-carousel #nguCarouselCtas [inputs]=\"carouselCtasConfig\" [dataSource]=\"content()?.ctas\">\n <ngu-item *nguCarouselDef=\"let cta; let i = index\">\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\" (click)=\"ctaWrapperItemClicked($event)\">\n @if (cta?.icon) {\n <cura-icon [name]=\"cta.icon\" size=\"24\" [color]=\"colors().icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n </ngu-item>\n </ngu-carousel>\n\n <div class=\"show-more\" data-testid=\"_rdsite-ctas-wrapper-show-more\">\n <button type=\"button\" (click)=\"moreOptions()\">Mais op\u00E7\u00F5es</button>\n </div>\n } @else {\n @for (cta of content()?.ctas; track $index) {\n @if (cta?.label) {\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\" (click)=\"ctaWrapperItemClicked($event)\">\n @if (cta?.icon) {\n <cura-icon [name]=\"cta.icon\" size=\"24\" [color]=\"colors().icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n }\n }\n }\n </nav>\n } @else {\n <nav class=\"more-options\" data-testid=\"_rdsite-ctas-wrapper-more-options\">\n @for (cta of content()?.ctas; track $index) {\n @if (cta?.label) {\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\" (click)=\"ctaWrapperItemClicked($event)\">\n @if (cta?.icon) {\n <cura-icon [name]=\"cta.icon\" size=\"24\" [color]=\"colors().icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n }\n }\n </nav>\n }\n}\n", styles: [":host{display:block}:host .ctas-title,:host .ctas-text{font-family:var(--font-family);padding:0;margin:0}:host .ctas-title:not(:last-child),:host .ctas-text:not(:last-child){padding-bottom:0}:host .ctas-title{color:var(--icon-color);font-size:29px;font-weight:500;line-height:38px;letter-spacing:-.58px;padding:0 24px;margin-bottom:24px}@media only screen and (min-width: 1024px){:host .ctas-title{font-size:33px;line-height:43px;letter-spacing:-.66px;padding:0}}:host .ctas-text{color:var(--icon-color);font-size:17px;font-weight:400;line-height:25px;padding:0 24px}@media only screen and (min-width: 1024px){:host .ctas-text{font-size:19px;line-height:28px;padding:0}}:host .ctas-wrapper{display:flex;flex-wrap:wrap;gap:16px;margin-top:50px}:host .ctas-wrapper ngu-carousel{max-width:100vw;margin-left:-6%}:host .ctas-wrapper ngu-carousel::ng-deep .ngucarousel{padding-left:6%}:host .ctas-wrapper ngu-item a{margin-right:16px}:host .ctas-wrapper .show-more{display:flex;justify-content:flex-end;width:100%;height:auto}:host .ctas-wrapper .show-more button{font-family:var(--font-family);color:var(--icon-color);background-color:transparent;font-size:16px;font-weight:500;line-height:145%;letter-spacing:.32px;text-decoration-line:underline;text-align:center}:host .more-options{display:flex;flex-wrap:wrap;gap:16px;margin-top:60px}:host .cta{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-width:150px;height:100%;min-height:150px;padding:24px 16px;border-radius:4px;border:1px solid var(--border-color);text-decoration:none}:host .cta p{font-family:var(--font-family);color:var(--icon-color);font-size:16px;font-weight:700;line-height:145%;letter-spacing:.32px;padding:0;margin:0;text-align:center}\n"] }]
|
|
62
|
-
}], propDecorators: { content: [{ type: i0.Input, args: [{ isSignal: true, alias: "content", required: false }] }], showTitleAndText: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTitleAndText", required: false }] }], colors: [{ type: i0.Input, args: [{ isSignal: true, alias: "colors", required: false }] }], ctaWrapperItemClick: [{ type: i0.Output, args: ["ctaWrapperItemClick"] }], nguCarouselCtas: [{ type: i0.ViewChild, args: ['nguCarouselCtas', { isSignal: true }] }], onWindowResize: [{
|
|
63
|
-
type: HostListener,
|
|
64
|
-
args: ['window:resize']
|
|
65
|
-
}], style: [{
|
|
66
|
-
type: HostBinding,
|
|
67
|
-
args: ['style']
|
|
68
|
-
}], class: [{
|
|
69
|
-
type: HostBinding,
|
|
70
|
-
args: ['class']
|
|
71
|
-
}] } });
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Generated bundle index. Do not edit.
|
|
75
|
-
*/
|
|
76
|
-
|
|
77
|
-
export { CtaWrapperComponent };
|
|
78
|
-
//# sourceMappingURL=rededor-site-front-end-lib-components-cta-wrapper.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-components-cta-wrapper.mjs","sources":["../../../projects/site-front-end-lib/components/cta-wrapper/cta-wrapper.component.ts","../../../projects/site-front-end-lib/components/cta-wrapper/cta-wrapper.component.html","../../../projects/site-front-end-lib/components/cta-wrapper/rededor-site-front-end-lib-components-cta-wrapper.ts"],"sourcesContent":["import { isPlatformBrowser } from '@angular/common';\nimport { Component, HostBinding, HostListener, OnInit, PLATFORM_ID, input, viewChild, inject, output } from '@angular/core';\nimport { NguCarousel, NguCarouselConfig, NguCarouselDefDirective, NguItemComponent } from '@ngu/carousel';\nimport { CtaWrapper, RdsiteLinkDirective } from '@rededor/site-front-end-lib/core';\nimport { CuraApiService } from '@rededor/site-front-end-lib/cura/api';\nimport { CuraIconComponent } from '@rededor/site-front-end-lib/cura/icons/cura-icon';\nimport { NguCarouselService } from '@rededor/site-front-end-lib/services/ngu-carousel';\nimport { MediaQueries } from '@rededor/site-front-end-lib/shared';\n\n@Component({\n selector: 'rdsite-cta-wrapper',\n imports: [NguCarousel, NguItemComponent, NguCarouselDefDirective, RdsiteLinkDirective, CuraIconComponent],\n templateUrl: './cta-wrapper.component.html',\n styleUrl: './cta-wrapper.component.scss',\n})\nexport class CtaWrapperComponent implements OnInit {\n private readonly curaApiService = inject(CuraApiService);\n private nguService = inject(NguCarouselService);\n private readonly platformId = inject(PLATFORM_ID);\n\n readonly content = input<CtaWrapper | null>(null);\n readonly showTitleAndText = input(true);\n readonly colors = input<{\n border: string;\n icon: string;\n }>({ border: 'primary-base', icon: 'primary-dark' });\n\n readonly ctaWrapperItemClick = output<Event>();\n\n carouselCtasConfig!: NguCarouselConfig;\n\n bannerControl = false;\n seeMoreControl = false;\n\n readonly nguCarouselCtas = viewChild.required<NguCarousel<any, any>>('nguCarouselCtas');\n\n @HostListener('window:resize')\n onWindowResize() {\n if (isPlatformBrowser(this.platformId)) {\n this.bannerControl = window.innerWidth > MediaQueries.smallBreakpoint;\n }\n }\n\n @HostBinding('style')\n get style(): { [key: string]: string } {\n return {\n '--font-family': this.curaApiService.theme.fonts.getFamily('') ?? '',\n '--border-color': this.curaApiService.theme.colors.getColor(this.colors().border) ?? '',\n '--icon-color': this.curaApiService.theme.colors.getColor(this.colors().icon) ?? '',\n };\n }\n\n @HostBinding('class') class = ['rdsite-container'];\n\n ngOnInit(): void {\n if (isPlatformBrowser(this.platformId)) {\n this.bannerControl = window.innerWidth > MediaQueries.smallBreakpoint;\n }\n\n this.carouselCtasConfig = this.nguService.customCarouselConfig({\n grid: { xs: 2.1, sm: 2.1, md: 2.1, lg: 2.1, all: 0 },\n loop: true,\n interval: {\n timing: 600000,\n initialDelay: 600000,\n },\n });\n }\n\n moreOptions(): void {\n this.seeMoreControl = !this.seeMoreControl;\n }\n\n ctaWrapperItemClicked(event: Event) {\n this.ctaWrapperItemClick.emit(event);\n }\n}\n","@if (content()?.ctas?.length) {\n @if (content()?.title && showTitleAndText()) {\n <h3 class=\"ctas-title\">{{ content()?.title }}</h3>\n }\n\n @if (content()?.text && showTitleAndText()) {\n <p class=\"ctas-text\" [innerHTML]=\"content()?.text\"></p>\n }\n\n @if (!seeMoreControl) {\n <nav class=\"ctas-wrapper\" data-testid=\"_rdsite-ctas-wrapper\">\n @if (!bannerControl) {\n <ngu-carousel #nguCarouselCtas [inputs]=\"carouselCtasConfig\" [dataSource]=\"content()?.ctas\">\n <ngu-item *nguCarouselDef=\"let cta; let i = index\">\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\" (click)=\"ctaWrapperItemClicked($event)\">\n @if (cta?.icon) {\n <cura-icon [name]=\"cta.icon\" size=\"24\" [color]=\"colors().icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n </ngu-item>\n </ngu-carousel>\n\n <div class=\"show-more\" data-testid=\"_rdsite-ctas-wrapper-show-more\">\n <button type=\"button\" (click)=\"moreOptions()\">Mais opções</button>\n </div>\n } @else {\n @for (cta of content()?.ctas; track $index) {\n @if (cta?.label) {\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\" (click)=\"ctaWrapperItemClicked($event)\">\n @if (cta?.icon) {\n <cura-icon [name]=\"cta.icon\" size=\"24\" [color]=\"colors().icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n }\n }\n }\n </nav>\n } @else {\n <nav class=\"more-options\" data-testid=\"_rdsite-ctas-wrapper-more-options\">\n @for (cta of content()?.ctas; track $index) {\n @if (cta?.label) {\n <a rdsitelink class=\"cta\" [href]=\"cta?.link\" (click)=\"ctaWrapperItemClicked($event)\">\n @if (cta?.icon) {\n <cura-icon [name]=\"cta.icon\" size=\"24\" [color]=\"colors().icon\"></cura-icon>\n }\n <p>{{ cta?.label }}</p>\n </a>\n }\n }\n </nav>\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;MAea,mBAAmB,CAAA;AANhC,IAAA,WAAA,GAAA;AAOmB,QAAA,IAAA,CAAA,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;AAChD,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAC9B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAExC,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAoB,IAAI,mDAAC;AACxC,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAAC,IAAI,4DAAC;AAC9B,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAGpB,EAAE,MAAM,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,EAAE,kDAAC;QAE3C,IAAA,CAAA,mBAAmB,GAAG,MAAM,EAAS;QAI9C,IAAA,CAAA,aAAa,GAAG,KAAK;QACrB,IAAA,CAAA,cAAc,GAAG,KAAK;AAEb,QAAA,IAAA,CAAA,eAAe,GAAG,SAAS,CAAC,QAAQ,CAAwB,iBAAiB,CAAC;AAkBjE,QAAA,IAAA,CAAA,KAAK,GAAG,CAAC,kBAAkB,CAAC;AAwBnD,IAAA;IAvCC,cAAc,GAAA;AACZ,QAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;YACtC,IAAI,CAAC,aAAa,GAAG,MAAM,CAAC,UAAU,GAAG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