@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,188 +0,0 @@
|
|
|
1
|
-
var Errors;
|
|
2
|
-
(function (Errors) {
|
|
3
|
-
Errors["NOT_FOUND"] = "not-found";
|
|
4
|
-
Errors["SERVER_RESPONSE"] = "server-response";
|
|
5
|
-
})(Errors || (Errors = {}));
|
|
6
|
-
|
|
7
|
-
var Themes;
|
|
8
|
-
(function (Themes) {
|
|
9
|
-
Themes["REDE"] = "default";
|
|
10
|
-
Themes["MATERNIDADE"] = "maternidade";
|
|
11
|
-
Themes["ONCO"] = "oncologia";
|
|
12
|
-
Themes["RICHET"] = "richet";
|
|
13
|
-
Themes["STAR"] = "star";
|
|
14
|
-
Themes["MATERNIDADESTAR"] = "maternidade-star";
|
|
15
|
-
})(Themes || (Themes = {}));
|
|
16
|
-
|
|
17
|
-
var Estados;
|
|
18
|
-
(function (Estados) {
|
|
19
|
-
Estados["AC"] = "Acre";
|
|
20
|
-
Estados["AL"] = "Alagoas";
|
|
21
|
-
Estados["AP"] = "Amap\u00E1";
|
|
22
|
-
Estados["AM"] = "Amazonas";
|
|
23
|
-
Estados["BA"] = "Bahia";
|
|
24
|
-
Estados["CE"] = "Cear\u00E1";
|
|
25
|
-
Estados["DF"] = "Distrito Federal";
|
|
26
|
-
Estados["ES"] = "Esp\u00EDrito Santo";
|
|
27
|
-
Estados["GO"] = "Go\u00EDas";
|
|
28
|
-
Estados["MA"] = "Maranh\u00E3o";
|
|
29
|
-
Estados["MT"] = "Mato Grosso";
|
|
30
|
-
Estados["MS"] = "Mato Grosso do Sul";
|
|
31
|
-
Estados["MG"] = "Minas Gerais";
|
|
32
|
-
Estados["PA"] = "Par\u00E1";
|
|
33
|
-
Estados["PB"] = "Para\u00EDba";
|
|
34
|
-
Estados["PR"] = "Paran\u00E1";
|
|
35
|
-
Estados["PE"] = "Pernambuco";
|
|
36
|
-
Estados["PI"] = "Piau\u00ED";
|
|
37
|
-
Estados["RJ"] = "Rio de Janeiro";
|
|
38
|
-
Estados["RN"] = "Rio Grande do Norte";
|
|
39
|
-
Estados["RS"] = "Rio Grande do Sul";
|
|
40
|
-
Estados["RO"] = "Rond\u00F4nia";
|
|
41
|
-
Estados["RR"] = "Rora\u00EDma";
|
|
42
|
-
Estados["SC"] = "Santa Catarina";
|
|
43
|
-
Estados["SP"] = "S\u00E3o Paulo";
|
|
44
|
-
Estados["SE"] = "Sergipe";
|
|
45
|
-
Estados["TO"] = "Tocantins";
|
|
46
|
-
})(Estados || (Estados = {}));
|
|
47
|
-
|
|
48
|
-
var IconCuraDefaultType;
|
|
49
|
-
(function (IconCuraDefaultType) {
|
|
50
|
-
IconCuraDefaultType["icon-360"] = "360";
|
|
51
|
-
IconCuraDefaultType["accessibility"] = "accessibility";
|
|
52
|
-
IconCuraDefaultType["icon-alerta-circ"] = "alertCircle";
|
|
53
|
-
IconCuraDefaultType["icon-alerta-tri"] = "alertTriangle";
|
|
54
|
-
IconCuraDefaultType["icon-seta-baixo"] = "arrowDown";
|
|
55
|
-
IconCuraDefaultType["icon-circle-chevron-down"] = "arrowDownCircle";
|
|
56
|
-
IconCuraDefaultType["icon-seta-esquerda"] = "arrowLeft";
|
|
57
|
-
IconCuraDefaultType["icon-circle-chevron-left"] = "arrowLeftCircle";
|
|
58
|
-
IconCuraDefaultType["icon-seta-direita"] = "arrowRight";
|
|
59
|
-
IconCuraDefaultType["icon-circle-chevron-right"] = "arrowRightCircle";
|
|
60
|
-
IconCuraDefaultType["icon-seta-cima"] = "arrowUp";
|
|
61
|
-
IconCuraDefaultType["icon-circle-chevron-up"] = "arrowUpCircle";
|
|
62
|
-
IconCuraDefaultType["icon-anexo"] = "attach";
|
|
63
|
-
IconCuraDefaultType["icon-avatar-f"] = "avatarF";
|
|
64
|
-
IconCuraDefaultType["icon-avatar-m"] = "avatarM";
|
|
65
|
-
IconCuraDefaultType["icon-hematologia"] = "bloodGroup";
|
|
66
|
-
IconCuraDefaultType["icon-agm-agendar"] = "calendar";
|
|
67
|
-
IconCuraDefaultType["icon-ouvidoria"] = "central";
|
|
68
|
-
IconCuraDefaultType["icon-chat-circle"] = "chatCircle";
|
|
69
|
-
IconCuraDefaultType["icon-check"] = "check";
|
|
70
|
-
IconCuraDefaultType["icon-parceria"] = "checkBadge";
|
|
71
|
-
IconCuraDefaultType["icon-check-sucesso"] = "checkCircle";
|
|
72
|
-
IconCuraDefaultType["icon-check-hard"] = "checkDouble";
|
|
73
|
-
IconCuraDefaultType["icon-hora"] = "clock";
|
|
74
|
-
IconCuraDefaultType["icon-fechar"] = "close";
|
|
75
|
-
IconCuraDefaultType["icon-collapse"] = "collapse";
|
|
76
|
-
IconCuraDefaultType["icon-configuracoes"] = "config";
|
|
77
|
-
IconCuraDefaultType["icon-nps-dislike"] = "npsDeslike";
|
|
78
|
-
IconCuraDefaultType["icon-download"] = "download";
|
|
79
|
-
IconCuraDefaultType["icon-duplicar"] = "duplicate";
|
|
80
|
-
IconCuraDefaultType["icon-editar"] = "edit";
|
|
81
|
-
IconCuraDefaultType["icon-exame"] = "exam";
|
|
82
|
-
IconCuraDefaultType["icon-expand"] = "expand";
|
|
83
|
-
IconCuraDefaultType["icon-facebook-2"] = "facebook";
|
|
84
|
-
IconCuraDefaultType["icon-facebook"] = "facebook";
|
|
85
|
-
IconCuraDefaultType["icon-pdf"] = "filePdf";
|
|
86
|
-
IconCuraDefaultType["icon-xls"] = "fileXls";
|
|
87
|
-
IconCuraDefaultType["icon-filter"] = "filter";
|
|
88
|
-
IconCuraDefaultType["icon-unidade"] = "geotag";
|
|
89
|
-
IconCuraDefaultType["icon-geotag"] = "geotag";
|
|
90
|
-
IconCuraDefaultType["icon-google"] = "google";
|
|
91
|
-
IconCuraDefaultType["icon-google-2"] = "google";
|
|
92
|
-
IconCuraDefaultType["icon-endereco-hospital"] = "geotagUnity";
|
|
93
|
-
IconCuraDefaultType["icon-nps-hate"] = "npsHate";
|
|
94
|
-
IconCuraDefaultType["icon-plano"] = "healthPlan";
|
|
95
|
-
IconCuraDefaultType["icon-height"] = "height";
|
|
96
|
-
IconCuraDefaultType["icon-altura"] = "height2";
|
|
97
|
-
IconCuraDefaultType["icon-home"] = "home";
|
|
98
|
-
IconCuraDefaultType["icon-enviar-foto"] = "imageUp";
|
|
99
|
-
IconCuraDefaultType["icon-info-2"] = "lamp";
|
|
100
|
-
IconCuraDefaultType["icon-info"] = "infoCircle";
|
|
101
|
-
IconCuraDefaultType["icon-key-lock"] = "key";
|
|
102
|
-
IconCuraDefaultType["icon-idioma"] = "language";
|
|
103
|
-
IconCuraDefaultType["icon-idioma-2"] = "language2";
|
|
104
|
-
IconCuraDefaultType["icon-idioma-en"] = "languageEN";
|
|
105
|
-
IconCuraDefaultType["icon-idioma-pt"] = "languagePT";
|
|
106
|
-
IconCuraDefaultType["icon-nps-like"] = "npsLike";
|
|
107
|
-
IconCuraDefaultType["icon-link"] = "link";
|
|
108
|
-
IconCuraDefaultType["icon-link-externo"] = "linkExternal";
|
|
109
|
-
IconCuraDefaultType["icon-lista"] = "list";
|
|
110
|
-
IconCuraDefaultType["icon-login"] = "login";
|
|
111
|
-
IconCuraDefaultType["icon-logout"] = "logout";
|
|
112
|
-
IconCuraDefaultType["icon-nps-love"] = "npsLove";
|
|
113
|
-
IconCuraDefaultType["icon-mail"] = "mail";
|
|
114
|
-
IconCuraDefaultType["icon-mail-2"] = "mail";
|
|
115
|
-
IconCuraDefaultType["icon-mail-input"] = "mail";
|
|
116
|
-
IconCuraDefaultType["icon-exame-resultado"] = "medDoc";
|
|
117
|
-
IconCuraDefaultType["icon-exame-imagem"] = "medImg";
|
|
118
|
-
IconCuraDefaultType["icon-medico"] = "medUser";
|
|
119
|
-
IconCuraDefaultType["icon-menu"] = "menuHamburguer";
|
|
120
|
-
IconCuraDefaultType["icon-minus"] = "minus";
|
|
121
|
-
IconCuraDefaultType["icon-minus-circle"] = "minusCircle";
|
|
122
|
-
IconCuraDefaultType["icon-minus-square"] = "minusSquare";
|
|
123
|
-
IconCuraDefaultType["icon-nps-neutral"] = "npsNeutral";
|
|
124
|
-
IconCuraDefaultType["icon-news"] = "news";
|
|
125
|
-
IconCuraDefaultType["icon-alert"] = "notification";
|
|
126
|
-
IconCuraDefaultType["icon-telefone"] = "phone";
|
|
127
|
-
IconCuraDefaultType["icon-plus"] = "plus";
|
|
128
|
-
IconCuraDefaultType["icon-plus-circle"] = "plusCircle";
|
|
129
|
-
IconCuraDefaultType["icon-plus-square"] = "plusSquare";
|
|
130
|
-
IconCuraDefaultType["icon-print"] = "print";
|
|
131
|
-
IconCuraDefaultType["icon-perfil"] = "profileCircle";
|
|
132
|
-
IconCuraDefaultType["icon-perfil-2"] = "profile";
|
|
133
|
-
IconCuraDefaultType["icon-pulldown"] = "down";
|
|
134
|
-
IconCuraDefaultType["icon-pulldown-small"] = "down";
|
|
135
|
-
IconCuraDefaultType["pullupG"] = "up";
|
|
136
|
-
IconCuraDefaultType["pullupP"] = "up";
|
|
137
|
-
IconCuraDefaultType["icon-tooltip"] = "questionCircle";
|
|
138
|
-
IconCuraDefaultType["icon-help"] = "questionSquare";
|
|
139
|
-
IconCuraDefaultType["icon-date-range"] = "range";
|
|
140
|
-
IconCuraDefaultType["icon-reload"] = "reload";
|
|
141
|
-
IconCuraDefaultType["icon-agendamento"] = "schedule";
|
|
142
|
-
IconCuraDefaultType["icon-agm-ok"] = "scheduleCheck";
|
|
143
|
-
IconCuraDefaultType["icon-buscar"] = "search";
|
|
144
|
-
IconCuraDefaultType["icon-secure"] = "secure";
|
|
145
|
-
IconCuraDefaultType["icon-share"] = "share";
|
|
146
|
-
IconCuraDefaultType["icon-share-2"] = "share";
|
|
147
|
-
IconCuraDefaultType["icon-sub-item"] = "subItem";
|
|
148
|
-
IconCuraDefaultType["icon-geotag-2"] = "target";
|
|
149
|
-
IconCuraDefaultType["icon-unlink"] = "unLink";
|
|
150
|
-
IconCuraDefaultType["icon-unsecure"] = "unSecure";
|
|
151
|
-
IconCuraDefaultType["icon-infraestrutura-idor"] = "unity";
|
|
152
|
-
IconCuraDefaultType["icon-upload"] = "upload";
|
|
153
|
-
IconCuraDefaultType["icon-view-off"] = "viewFalse";
|
|
154
|
-
IconCuraDefaultType["icon-view-on"] = "viewTrue";
|
|
155
|
-
IconCuraDefaultType["icon-zoom-in"] = "zoomIn";
|
|
156
|
-
IconCuraDefaultType["icon-zoom-out"] = "zoomOut";
|
|
157
|
-
IconCuraDefaultType["icon-twitter"] = "twitter";
|
|
158
|
-
IconCuraDefaultType["icon-twitter-2"] = "twitter";
|
|
159
|
-
IconCuraDefaultType["icon-x"] = "twitter";
|
|
160
|
-
IconCuraDefaultType["icon-instagram-2"] = "instagram";
|
|
161
|
-
IconCuraDefaultType["icon-instagram"] = "instagram";
|
|
162
|
-
IconCuraDefaultType["icon-whatsapp"] = "whatsapp";
|
|
163
|
-
IconCuraDefaultType["icon-whatsapp-2"] = "whatsapp";
|
|
164
|
-
IconCuraDefaultType["icon-linkedin"] = "linkedin";
|
|
165
|
-
IconCuraDefaultType["icon-linkedin-2"] = "linkedin";
|
|
166
|
-
IconCuraDefaultType["icon-telegram"] = "telegram";
|
|
167
|
-
})(IconCuraDefaultType || (IconCuraDefaultType = {}));
|
|
168
|
-
|
|
169
|
-
var ImageMimeType;
|
|
170
|
-
(function (ImageMimeType) {
|
|
171
|
-
ImageMimeType["WEBP"] = "image/webp";
|
|
172
|
-
ImageMimeType["JPEG"] = "image/jpeg";
|
|
173
|
-
ImageMimeType["PNG"] = "image/png";
|
|
174
|
-
})(ImageMimeType || (ImageMimeType = {}));
|
|
175
|
-
|
|
176
|
-
var UnidadeCoverageType;
|
|
177
|
-
(function (UnidadeCoverageType) {
|
|
178
|
-
UnidadeCoverageType["TOTAL"] = "Cobertura completa";
|
|
179
|
-
UnidadeCoverageType["PARTIAL"] = "Cobertura apenas para";
|
|
180
|
-
UnidadeCoverageType["NONE"] = "Esta unidade n\u00E3o oferece cobertura ao seu plano ou conv\u00EAnio";
|
|
181
|
-
})(UnidadeCoverageType || (UnidadeCoverageType = {}));
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Generated bundle index. Do not edit.
|
|
185
|
-
*/
|
|
186
|
-
|
|
187
|
-
export { Errors, Estados, IconCuraDefaultType, ImageMimeType, Themes, UnidadeCoverageType };
|
|
188
|
-
//# sourceMappingURL=rededor-site-front-end-lib-enums.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-enums.mjs","sources":["../../../projects/site-front-end-lib/enums/EnumError.enum.ts","../../../projects/site-front-end-lib/enums/EnumThemes.enum.ts","../../../projects/site-front-end-lib/enums/Estados.enum.ts","../../../projects/site-front-end-lib/enums/IconCuraDefaultType.enum.ts","../../../projects/site-front-end-lib/enums/ImageMimeType.enum.ts","../../../projects/site-front-end-lib/enums/UnidadeCoverageType.enum.ts","../../../projects/site-front-end-lib/enums/rededor-site-front-end-lib-enums.ts"],"sourcesContent":["export enum Errors {\n NOT_FOUND = 'not-found',\n SERVER_RESPONSE = 'server-response',\n}\n","export enum Themes {\n REDE = 'default',\n MATERNIDADE = 'maternidade',\n ONCO = 'oncologia',\n RICHET = 'richet',\n STAR = 'star',\n MATERNIDADESTAR = 'maternidade-star',\n}\n","export enum Estados {\n AC = 'Acre',\n AL = 'Alagoas',\n AP = 'Amapá',\n AM = 'Amazonas',\n BA = 'Bahia',\n CE = 'Ceará',\n DF = 'Distrito Federal',\n ES = 'Espírito Santo',\n GO = 'Goías',\n MA = 'Maranhão',\n MT = 'Mato Grosso',\n MS = 'Mato Grosso do Sul',\n MG = 'Minas Gerais',\n PA = 'Pará',\n PB = 'Paraíba',\n PR = 'Paraná',\n PE = 'Pernambuco',\n PI = 'Piauí',\n RJ = 'Rio de Janeiro',\n RN = 'Rio Grande do Norte',\n RS = 'Rio Grande do Sul',\n RO = 'Rondônia',\n RR = 'Roraíma',\n SC = 'Santa Catarina',\n SP = 'São Paulo',\n SE = 'Sergipe',\n TO = 'Tocantins',\n}\n","export enum IconCuraDefaultType {\n 'icon-360' = '360',\n 'accessibility' = 'accessibility',\n 'icon-alerta-circ' = 'alertCircle',\n 'icon-alerta-tri' = 'alertTriangle',\n 'icon-seta-baixo' = 'arrowDown',\n 'icon-circle-chevron-down' = 'arrowDownCircle',\n 'icon-seta-esquerda' = 'arrowLeft',\n 'icon-circle-chevron-left' = 'arrowLeftCircle',\n 'icon-seta-direita' = 'arrowRight',\n 'icon-circle-chevron-right' = 'arrowRightCircle',\n 'icon-seta-cima' = 'arrowUp',\n 'icon-circle-chevron-up' = 'arrowUpCircle',\n 'icon-anexo' = 'attach',\n 'icon-avatar-f' = 'avatarF',\n 'icon-avatar-m' = 'avatarM',\n 'icon-hematologia' = 'bloodGroup',\n 'icon-agm-agendar' = 'calendar',\n 'icon-ouvidoria' = 'central',\n 'icon-chat-circle' = 'chatCircle',\n 'icon-check' = 'check',\n 'icon-parceria' = 'checkBadge',\n 'icon-check-sucesso' = 'checkCircle',\n 'icon-check-hard' = 'checkDouble',\n 'icon-hora' = 'clock',\n 'icon-fechar' = 'close',\n 'icon-collapse' = 'collapse',\n 'icon-configuracoes' = 'config',\n 'icon-nps-dislike' = 'npsDeslike',\n 'icon-download' = 'download',\n 'icon-duplicar' = 'duplicate',\n 'icon-editar' = 'edit',\n 'icon-exame' = 'exam',\n 'icon-expand' = 'expand',\n 'icon-facebook-2' = 'facebook',\n 'icon-facebook' = 'facebook',\n 'icon-pdf' = 'filePdf',\n 'icon-xls' = 'fileXls',\n 'icon-filter' = 'filter',\n 'icon-unidade' = 'geotag',\n 'icon-geotag' = 'geotag',\n 'icon-google' = 'google',\n 'icon-google-2' = 'google',\n 'icon-endereco-hospital' = 'geotagUnity',\n 'icon-nps-hate' = 'npsHate',\n 'icon-plano' = 'healthPlan',\n 'icon-height' = 'height',\n 'icon-altura' = 'height2',\n 'icon-home' = 'home',\n 'icon-enviar-foto' = 'imageUp',\n 'icon-info-2' = 'lamp',\n 'icon-info' = 'infoCircle',\n 'icon-key-lock' = 'key',\n 'icon-idioma' = 'language',\n 'icon-idioma-2' = 'language2',\n 'icon-idioma-en' = 'languageEN',\n 'icon-idioma-pt' = 'languagePT',\n 'icon-nps-like' = 'npsLike',\n 'icon-link' = 'link',\n 'icon-link-externo' = 'linkExternal',\n 'icon-lista' = 'list',\n 'icon-login' = 'login',\n 'icon-logout' = 'logout',\n 'icon-nps-love' = 'npsLove',\n 'icon-mail' = 'mail',\n 'icon-mail-2' = 'mail',\n 'icon-mail-input' = 'mail',\n 'icon-exame-resultado' = 'medDoc',\n 'icon-exame-imagem' = 'medImg',\n 'icon-medico' = 'medUser',\n 'icon-menu' = 'menuHamburguer',\n 'icon-minus' = 'minus',\n 'icon-minus-circle' = 'minusCircle',\n 'icon-minus-square' = 'minusSquare',\n 'icon-nps-neutral' = 'npsNeutral',\n 'icon-news' = 'news',\n 'icon-alert' = 'notification',\n 'icon-telefone' = 'phone',\n 'icon-plus' = 'plus',\n 'icon-plus-circle' = 'plusCircle',\n 'icon-plus-square' = 'plusSquare',\n 'icon-print' = 'print',\n 'icon-perfil' = 'profileCircle',\n 'icon-perfil-2' = 'profile',\n 'icon-pulldown' = 'down',\n 'icon-pulldown-small' = 'down',\n 'pullupG' = 'up',\n 'pullupP' = 'up',\n 'icon-tooltip' = 'questionCircle',\n 'icon-help' = 'questionSquare',\n 'icon-date-range' = 'range',\n 'icon-reload' = 'reload',\n 'icon-agendamento' = 'schedule',\n 'icon-agm-ok' = 'scheduleCheck',\n 'icon-buscar' = 'search',\n 'icon-secure' = 'secure',\n 'icon-share' = 'share',\n 'icon-share-2' = 'share',\n 'icon-sub-item' = 'subItem',\n 'icon-geotag-2' = 'target',\n 'icon-unlink' = 'unLink',\n 'icon-unsecure' = 'unSecure',\n 'icon-infraestrutura-idor' = 'unity',\n 'icon-upload' = 'upload',\n 'icon-view-off' = 'viewFalse',\n 'icon-view-on' = 'viewTrue',\n 'icon-zoom-in' = 'zoomIn',\n 'icon-zoom-out' = 'zoomOut',\n 'icon-twitter' = 'twitter',\n 'icon-twitter-2' = 'twitter',\n 'icon-x' = 'twitter',\n 'icon-instagram-2' = 'instagram',\n 'icon-instagram' = 'instagram',\n 'icon-whatsapp' = 'whatsapp',\n 'icon-whatsapp-2' = 'whatsapp',\n 'icon-linkedin' = 'linkedin',\n 'icon-linkedin-2' = 'linkedin',\n 'icon-telegram' = 'telegram',\n}\n","export enum ImageMimeType {\n WEBP = 'image/webp',\n JPEG = 'image/jpeg',\n PNG = 'image/png',\n}\n","export enum UnidadeCoverageType {\n TOTAL = 'Cobertura completa',\n PARTIAL = 'Cobertura apenas para',\n NONE = 'Esta unidade não oferece cobertura ao seu plano ou convênio',\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"IAAY;AAAZ,CAAA,UAAY,MAAM,EAAA;AAChB,IAAA,MAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AACvB,IAAA,MAAA,CAAA,iBAAA,CAAA,GAAA,iBAAmC;AACrC,CAAC,EAHW,MAAM,KAAN,MAAM,GAAA,EAAA,CAAA,CAAA;;ICAN;AAAZ,CAAA,UAAY,MAAM,EAAA;AAChB,IAAA,MAAA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AA,GAAA,SAA4B;AAC5B,IAAA,mBAAA,CAAA,QAAA,CAAA,GAAA,SAAoB;AACpB,IAAA,mBAAA,CAAA,kBAAA,CAAA,GAAA,WAAgC;AAChC,IAAA,mBAAA,CAAA,gBAAA,CAAA,GAAA,WAA8B;AAC9B,IAAA,mBAAA,CAAA,eAAA,CAAA,GAAA,UAA4B;AAC5B,IAAA,mBAAA,CAAA,iBAAA,CAAA,GAAA,UAA8B;AAC9B,IAAA,mBAAA,CAAA,eAAA,CAAA,GAAA,UAA4B;AAC5B,IAAA,mBAAA,CAAA,iBAAA,CAAA,GAAA,UAA8B;AAC9B,IAAA,mBAAA,CAAA,eAAA,CAAA,GAAA,UAA4B;AAC9B,CAAC,EAtHW,mBAAmB,KAAnB,mBAAmB,GAAA,EAAA,CAAA,CAAA;;ICAnB;AAAZ,CAAA,UAAY,aAAa,EAAA;AACvB,IAAA,aAAA,CAAA,MAAA,CAAA,GAAA,YAAmB;AACnB,IAAA,aAAA,CAAA,MAAA,CAAA,GAAA,YAAmB;AACnB,IAAA,aAAA,CAAA,KAAA,CAAA,GAAA,WAAiB;AACnB,CAAC,EAJW,aAAa,KAAb,aAAa,GAAA,EAAA,CAAA,CAAA;;ICAb;AAAZ,CAAA,UAAY,mBAAmB,EAAA;AAC7B,IAAA,mBAAA,CAAA,OAAA,CAAA,GAAA,oBAA4B;AAC5B,IAAA,mBAAA,CAAA,SAAA,CAAA,GAAA,uBAAiC;AACjC,IAAA,mBAAA,CAAA,MAAA,CAAA,GAAA,uEAAoE;AACtE,CAAC,EAJW,mBAAmB,KAAnB,mBAAmB,GAAA,EAAA,CAAA,CAAA;;ACA/B;;AAEG;;;;"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import { LIB_CONFIG } from '@rededor/site-front-end-lib/core';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { SearchAPISDK } from '@rededor/search-api-sdk/index.js';
|
|
6
|
-
|
|
7
|
-
class AlgoliaSearchApiService {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.libConfig = inject(LIB_CONFIG);
|
|
10
|
-
}
|
|
11
|
-
search(query, indexName, params = {}) {
|
|
12
|
-
if (!this.searchAPI) {
|
|
13
|
-
this.initAPI();
|
|
14
|
-
}
|
|
15
|
-
return new Observable((subscriber) => {
|
|
16
|
-
if (indexName) {
|
|
17
|
-
this.searchAPI
|
|
18
|
-
.search({
|
|
19
|
-
indexName,
|
|
20
|
-
query,
|
|
21
|
-
params,
|
|
22
|
-
})
|
|
23
|
-
.then((response) => {
|
|
24
|
-
this.subscriberNext(subscriber, response);
|
|
25
|
-
}, (err) => {
|
|
26
|
-
this.subscriberError(subscriber, err);
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
else {
|
|
30
|
-
this.subscriberError(subscriber, 'Atenção, você precisa definir um índice para a busca.');
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
searchMultipleIndexes(indexes) {
|
|
35
|
-
if (!this.searchAPI) {
|
|
36
|
-
this.initAPI();
|
|
37
|
-
}
|
|
38
|
-
return new Observable((subscriber) => {
|
|
39
|
-
this.searchAPI.search(indexes).then((response) => {
|
|
40
|
-
this.subscriberNext(subscriber, response);
|
|
41
|
-
}, (err) => {
|
|
42
|
-
this.subscriberError(subscriber, err);
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
initAPI() {
|
|
47
|
-
this.searchAPI = new SearchAPISDK(this.libConfig.environmentName, this.libConfig.siteProject, this.libConfig.client_id);
|
|
48
|
-
}
|
|
49
|
-
subscriberNext(subscriber, value) {
|
|
50
|
-
subscriber.next(value);
|
|
51
|
-
subscriber.complete();
|
|
52
|
-
subscriber.unsubscribe();
|
|
53
|
-
}
|
|
54
|
-
subscriberError(subscriber, message) {
|
|
55
|
-
subscriber.error(message);
|
|
56
|
-
subscriber.complete();
|
|
57
|
-
subscriber.unsubscribe();
|
|
58
|
-
}
|
|
59
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
60
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchApiService, providedIn: 'root' }); }
|
|
61
|
-
}
|
|
62
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaSearchApiService, decorators: [{
|
|
63
|
-
type: Injectable,
|
|
64
|
-
args: [{
|
|
65
|
-
providedIn: 'root',
|
|
66
|
-
}]
|
|
67
|
-
}] });
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Generated bundle index. Do not edit.
|
|
71
|
-
*/
|
|
72
|
-
|
|
73
|
-
export { AlgoliaSearchApiService };
|
|
74
|
-
//# sourceMappingURL=rededor-site-front-end-lib-services-algolia-search-api.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-services-algolia-search-api.mjs","sources":["../../../projects/site-front-end-lib/services/algolia-search-api/algolia-search-api.service.ts","../../../projects/site-front-end-lib/services/algolia-search-api/rededor-site-front-end-lib-services-algolia-search-api.ts"],"sourcesContent":["import { Injectable, inject } from '@angular/core';\nimport { LIB_CONFIG, LibConfig, RdslAlgoliaMultipleIndex, AlgoliaMultipleResults, AlgoliaResult, AlgoliaSearchParams } from '@rededor/site-front-end-lib/core';\nimport { Observable, Subscriber } from 'rxjs';\n// @ts-ignore\nimport { SearchAPISDK } from '@rededor/search-api-sdk/index.js';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AlgoliaSearchApiService {\n private libConfig = inject<LibConfig>(LIB_CONFIG);\n\n searchAPI: any;\n\n search(query: string, indexName: string, params: AlgoliaSearchParams = {}): Observable<AlgoliaResult<any>> {\n if (!this.searchAPI) {\n this.initAPI();\n }\n return new Observable((subscriber) => {\n if (indexName) {\n this.searchAPI\n .search({\n indexName,\n query,\n params,\n })\n .then(\n (response: any) => {\n this.subscriberNext(subscriber, response);\n },\n (err: any) => {\n this.subscriberError(subscriber, err);\n },\n );\n } else {\n this.subscriberError(subscriber, 'Atenção, você precisa definir um índice para a busca.');\n }\n });\n }\n\n searchMultipleIndexes(indexes: RdslAlgoliaMultipleIndex[]): Observable<AlgoliaMultipleResults> {\n if (!this.searchAPI) {\n this.initAPI();\n }\n return new Observable((subscriber) => {\n this.searchAPI.search(indexes).then(\n (response: any) => {\n this.subscriberNext(subscriber, response);\n },\n (err: any) => {\n this.subscriberError(subscriber, err);\n },\n );\n });\n }\n\n initAPI() {\n this.searchAPI = new SearchAPISDK(this.libConfig.environmentName, this.libConfig.siteProject, this.libConfig.client_id);\n }\n\n subscriberNext(subscriber: Subscriber<any>, value: any) {\n subscriber.next(value);\n subscriber.complete();\n subscriber.unsubscribe();\n }\n\n subscriberError(subscriber: Subscriber<any>, message: any) {\n subscriber.error(message);\n subscriber.complete();\n subscriber.unsubscribe();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MASa,uBAAuB,CAAA;AAHpC,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAY,UAAU,CAAC;AA6DlD,IAAA;AAzDC,IAAA,MAAM,CAAC,KAAa,EAAE,SAAiB,EAAE,SAA8B,EAAE,EAAA;AACvE,QAAA,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE;YACnB,IAAI,CAAC,OAAO,EAAE;QAChB;AACA,QAAA,OAAO,IAAI,UAAU,CAAC,CAAC,UAAU,KAAI;YACnC,IAAI,SAAS,EAAE;AACb,gBAAA,IAAI,CAAC;AACF,qBAAA,MAAM,CAAC;oBACN,SAAS;oBACT,KAAK;oBACL,M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,QAAA,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC;QACzB,UAAU,CAAC,QAAQ,EAAE;QACrB,UAAU,CAAC,WAAW,EAAE;IAC1B;+GA7DW,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,cAFtB,MAAM,EAAA,CAAA,CAAA;;4FAEP,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injectable } from '@angular/core';
|
|
3
|
-
import algoliasearch from 'algoliasearch';
|
|
4
|
-
import { from } from 'rxjs';
|
|
5
|
-
import { LIB_CONFIG } from '@rededor/site-front-end-lib/core';
|
|
6
|
-
|
|
7
|
-
class AlgoliaService {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.libConfig = inject(LIB_CONFIG);
|
|
10
|
-
this.client = this.initClient();
|
|
11
|
-
}
|
|
12
|
-
search(query, index, params) {
|
|
13
|
-
const algoliaIndex = this.client.initIndex(index);
|
|
14
|
-
return from(algoliaIndex.search(query, params));
|
|
15
|
-
}
|
|
16
|
-
searchMultipleIndexes(config) {
|
|
17
|
-
return from(this.client.multipleQueries(config));
|
|
18
|
-
}
|
|
19
|
-
searchForFacetValues(index, facetName, facetQuery, params) {
|
|
20
|
-
const algoliaIndex = this.client.initIndex(index);
|
|
21
|
-
return from(algoliaIndex.searchForFacetValues(facetName, facetQuery, params));
|
|
22
|
-
}
|
|
23
|
-
initClient() {
|
|
24
|
-
return algoliasearch(this.libConfig.algoliaConfig.id, this.libConfig.algoliaConfig.key);
|
|
25
|
-
}
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
27
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaService, providedIn: 'root' }); }
|
|
28
|
-
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlgoliaService, decorators: [{
|
|
30
|
-
type: Injectable,
|
|
31
|
-
args: [{
|
|
32
|
-
providedIn: 'root',
|
|
33
|
-
}]
|
|
34
|
-
}], ctorParameters: () => [] });
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Generated bundle index. Do not edit.
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
export { AlgoliaService };
|
|
41
|
-
//# sourceMappingURL=rededor-site-front-end-lib-services-algolia.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-services-algolia.mjs","sources":["../../../projects/site-front-end-lib/services/algolia/algolia.service.ts","../../../projects/site-front-end-lib/services/algolia/rededor-site-front-end-lib-services-algolia.ts"],"sourcesContent":["import { Injectable, inject } from '@angular/core';\nimport algoliasearch, { SearchClient } from 'algoliasearch';\nimport { SearchOptions, SearchResponse, MultipleQueriesQuery, MultipleQueriesResponse, SearchForFacetValuesResponse } from '@algolia/client-search';\nimport { Observable, from } from 'rxjs';\nimport { LIB_CONFIG, LibConfig } from '@rededor/site-front-end-lib/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class AlgoliaService {\n private libConfig = inject<LibConfig>(LIB_CONFIG);\n\n private client: SearchClient;\n\n constructor() {\n this.client = this.initClient();\n }\n\n search<T = any>(query: string, index: string, params?: SearchOptions): Observable<SearchResponse<T>> {\n const algoliaIndex = this.client.initIndex(index);\n return from<Promise<SearchResponse<T>>>(algoliaIndex.search<T>(query, params));\n }\n\n searchMultipleIndexes<T = any>(config: MultipleQueriesQuery[]): Observable<MultipleQueriesResponse<T>> {\n return from<Promise<MultipleQueriesResponse<T>>>(this.client.multipleQueries<T>(config));\n }\n\n searchForFacetValues(index: string, facetName: string, facetQuery: string, params?: SearchOptions): Observable<SearchForFacetValuesResponse> {\n const algoliaIndex = this.client.initIndex(index);\n return from<Promise<SearchForFacetValuesResponse>>(algoliaIndex.searchForFacetValues(facetName, facetQuery, params));\n }\n\n initClient() {\n return algoliasearch(this.libConfig.algoliaConfig.id, this.libConfig.algoliaConfig.key);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MASa,cAAc,CAAA;AAKzB,IAAA,WAAA,GAAA;AAJQ,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAY,UAAU,CAAC;AAK/C,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE;IACjC;AAEA,IAAA,MAAM,CAAU,KAAa,EAAE,KAAa,EAAE,MAAsB,EAAA;QAClE,MAAM,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC;QACjD,OAAO,IAAI,CAA6B,YAAY,CAAC,MAAM,CAAI,KAAK,EAAE,MAAM,CAAC,CAAC;IAChF;AAEA,IAAA,qBAAqB,CAAU,MAA8B,EAAA;QAC3D,OAAO,IAAI,CAAsC,IAAI,CAAC,MAAM,CAAC,eAAe,CAAI,MAAM,CAAC,CAAC;IAC1F;AAEA,IAAA,oBAAoB,CAAC,KAAa,EAAE,SAAiB,EAAE,UAAkB,EAAE,MAAsB,EAAA;QAC/F,MAAM,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC;AACjD,QAAA,OAAO,IAAI,CAAwC,YAAY,CAAC,oBAAoB,CAAC,SAAS,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IACtH;IAEA,UAAU,GAAA;AACR,QAAA,OAAO,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,GAAG,CAAC;IACzF;+GAzBW,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAd,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,cAFb,MAAM,EAAA,CAAA,CAAA;;4FAEP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAH1B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
class NguCarouselService {
|
|
5
|
-
constructor() {
|
|
6
|
-
this._defaultCarouselConfig = {
|
|
7
|
-
grid: { xs: 1.2, sm: 1.2, md: 3.2, lg: 4.2, xl: 5.2, all: 0 },
|
|
8
|
-
gridBreakpoints: { sm: 360, md: 768, lg: 1366, xl: 1920 },
|
|
9
|
-
slide: 1,
|
|
10
|
-
speed: 500,
|
|
11
|
-
interval: {
|
|
12
|
-
timing: 7000,
|
|
13
|
-
initialDelay: 1000,
|
|
14
|
-
},
|
|
15
|
-
point: {
|
|
16
|
-
visible: false,
|
|
17
|
-
},
|
|
18
|
-
velocity: 0.5,
|
|
19
|
-
load: 1,
|
|
20
|
-
loop: true,
|
|
21
|
-
touch: true,
|
|
22
|
-
easing: 'ease-in-out',
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
get defaultCarouselConfig() {
|
|
26
|
-
return { ...JSON.parse(JSON.stringify(this._defaultCarouselConfig)) };
|
|
27
|
-
}
|
|
28
|
-
customCarouselConfig(config) {
|
|
29
|
-
return {
|
|
30
|
-
...this.defaultCarouselConfig,
|
|
31
|
-
...config,
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
moveTo(carousel, index) {
|
|
35
|
-
carousel.moveTo(index);
|
|
36
|
-
}
|
|
37
|
-
scrollLeft(carousel, loop = true) {
|
|
38
|
-
if (carousel.isFirst() || carousel.activePoint() < 1) {
|
|
39
|
-
if (loop) {
|
|
40
|
-
carousel.moveTo(carousel.pointNumbers()[carousel.pointNumbers().length - 1]);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
carousel.moveTo(carousel.activePoint() - 1);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
scrollRight(carousel, loop = true) {
|
|
48
|
-
if (carousel.isLast() || carousel.activePoint() > carousel.pointNumbers().length - 1) {
|
|
49
|
-
if (loop) {
|
|
50
|
-
carousel.moveTo(0);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
carousel.moveTo(carousel.activePoint() + 1);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
needShowControls(config, width, itemsLength = 0) {
|
|
58
|
-
const { grid: { xs, sm, md, lg, xl }, gridBreakpoints, } = config;
|
|
59
|
-
if (width > (gridBreakpoints?.xl ?? 0)) {
|
|
60
|
-
return itemsLength > (xl ?? 0);
|
|
61
|
-
}
|
|
62
|
-
if (width > (gridBreakpoints?.lg ?? 0)) {
|
|
63
|
-
return itemsLength > lg;
|
|
64
|
-
}
|
|
65
|
-
if (width > (gridBreakpoints?.md ?? 0)) {
|
|
66
|
-
return itemsLength > md;
|
|
67
|
-
}
|
|
68
|
-
if (width > (gridBreakpoints?.sm ?? 0)) {
|
|
69
|
-
return itemsLength > sm;
|
|
70
|
-
}
|
|
71
|
-
return itemsLength > xs;
|
|
72
|
-
}
|
|
73
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NguCarouselService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
74
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NguCarouselService, providedIn: 'root' }); }
|
|
75
|
-
}
|
|
76
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: NguCarouselService, decorators: [{
|
|
77
|
-
type: Injectable,
|
|
78
|
-
args: [{
|
|
79
|
-
providedIn: 'root',
|
|
80
|
-
}]
|
|
81
|
-
}] });
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* Generated bundle index. Do not edit.
|
|
85
|
-
*/
|
|
86
|
-
|
|
87
|
-
export { NguCarouselService };
|
|
88
|
-
//# sourceMappingURL=rededor-site-front-end-lib-services-ngu-carousel.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-services-ngu-carousel.mjs","sources":["../../../projects/site-front-end-lib/services/ngu-carousel/ngu-carousel.service.ts","../../../projects/site-front-end-lib/services/ngu-carousel/rededor-site-front-end-lib-services-ngu-carousel.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { NguCarousel, NguCarouselConfig } from '@ngu/carousel';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class NguCarouselService {\n private _defaultCarouselConfig: NguCarouselConfig = {\n grid: { xs: 1.2, sm: 1.2, md: 3.2, lg: 4.2, xl: 5.2, all: 0 },\n gridBreakpoints: { sm: 360, md: 768, lg: 1366, xl: 1920 },\n slide: 1,\n speed: 500,\n interval: {\n timing: 7000,\n initialDelay: 1000,\n },\n point: {\n visible: false,\n },\n velocity: 0.5,\n load: 1,\n loop: true,\n touch: true,\n easing: 'ease-in-out',\n };\n get defaultCarouselConfig() {\n return { ...JSON.parse(JSON.stringify(this._defaultCarouselConfig)) };\n }\n\n customCarouselConfig(config: Partial<NguCarouselConfig>) {\n return {\n ...this.defaultCarouselConfig,\n ...config,\n };\n }\n\n moveTo(carousel: NguCarousel<any, any>, index: number) {\n carousel.moveTo(index);\n }\n\n scrollLeft(carousel: NguCarousel<any, any>, loop = true) {\n if (carousel.isFirst() || carousel.activePoint() < 1) {\n if (loop) {\n carousel.moveTo(carousel.pointNumbers()[carousel.pointNumbers().length - 1]);\n }\n } else {\n carousel.moveTo(carousel.activePoint() - 1);\n }\n }\n\n scrollRight(carousel: NguCarousel<any, any>, loop = true) {\n if (carousel.isLast() || carousel.activePoint() > carousel.pointNumbers().length - 1) {\n if (loop) {\n carousel.moveTo(0);\n }\n } else {\n carousel.moveTo(carousel.activePoint() + 1);\n }\n }\n\n needShowControls(config: NguCarouselConfig, width: number, itemsLength: number = 0) {\n const {\n grid: { xs, sm, md, lg, xl },\n gridBreakpoints,\n } = config;\n if (width > (gridBreakpoints?.xl ?? 0)) {\n return itemsLength > (xl ?? 0);\n }\n if (width > (gridBreakpoints?.lg ?? 0)) {\n return itemsLength > lg;\n }\n if (width > (gridBreakpoints?.md ?? 0)) {\n return itemsLength > md;\n }\n if (width > (gridBreakpoints?.sm ?? 0)) {\n return itemsLength > sm;\n }\n return itemsLength > xs;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAMa,kBAAkB,CAAA;AAH/B,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,sBAAsB,GAAsB;YAClD,IAAI,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAA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,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFjB,MAAM,EAAA,CAAA,CAAA;;4FAEP,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACLD;;AAEG;;;;"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, PLATFORM_ID, Injectable } from '@angular/core';
|
|
3
|
-
import { isPlatformServer } from '@angular/common';
|
|
4
|
-
import { LogService } from '@rededor/site-front-end-lib/core';
|
|
5
|
-
|
|
6
|
-
class SsrLoadingService {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.logService = inject(LogService);
|
|
9
|
-
this.platformId = inject(PLATFORM_ID);
|
|
10
|
-
this.ssrIsLoading = false;
|
|
11
|
-
this._loading = false;
|
|
12
|
-
}
|
|
13
|
-
startLoading(component = '', intervalMs = 200, timeoutMs = 20000) {
|
|
14
|
-
if (!isPlatformServer(this.platformId))
|
|
15
|
-
return;
|
|
16
|
-
this._loading = true;
|
|
17
|
-
this.ssrIsLoading = true;
|
|
18
|
-
const timeout = setTimeout(() => {
|
|
19
|
-
this._loading = false;
|
|
20
|
-
this.ssrIsLoading = false;
|
|
21
|
-
this.logService.logMsg('SSR loading service Timeout ' + component, 'TIMEOUT');
|
|
22
|
-
}, timeoutMs);
|
|
23
|
-
const interval = setInterval(() => {
|
|
24
|
-
if (this._loading === true) {
|
|
25
|
-
this.ssrIsLoading = !this.ssrIsLoading;
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
clearInterval(interval);
|
|
29
|
-
clearTimeout(timeout);
|
|
30
|
-
this.ssrIsLoading = false;
|
|
31
|
-
}
|
|
32
|
-
}, intervalMs);
|
|
33
|
-
}
|
|
34
|
-
stopLoading() {
|
|
35
|
-
this._loading = false;
|
|
36
|
-
}
|
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SsrLoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
38
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SsrLoadingService, providedIn: 'root' }); }
|
|
39
|
-
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SsrLoadingService, decorators: [{
|
|
41
|
-
type: Injectable,
|
|
42
|
-
args: [{
|
|
43
|
-
providedIn: 'root',
|
|
44
|
-
}]
|
|
45
|
-
}] });
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Generated bundle index. Do not edit.
|
|
49
|
-
*/
|
|
50
|
-
|
|
51
|
-
export { SsrLoadingService };
|
|
52
|
-
//# sourceMappingURL=rededor-site-front-end-lib-services-ssr-loading.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-services-ssr-loading.mjs","sources":["../../../projects/site-front-end-lib/services/ssr-loading/ssr-loading.service.ts","../../../projects/site-front-end-lib/services/ssr-loading/rededor-site-front-end-lib-services-ssr-loading.ts"],"sourcesContent":["import { Injectable, PLATFORM_ID, inject } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { LogService } from '@rededor/site-front-end-lib/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class SsrLoadingService {\n private logService = inject(LogService);\n private platformId = inject(PLATFORM_ID);\n\n public ssrIsLoading = false;\n private _loading = false;\n\n startLoading(component = '', intervalMs = 200, timeoutMs = 20000) {\n if (!isPlatformServer(this.platformId)) return;\n\n this._loading = true;\n this.ssrIsLoading = true;\n\n const timeout = setTimeout(() => {\n this._loading = false;\n this.ssrIsLoading = false;\n this.logService.logMsg('SSR loading service Timeout ' + component, 'TIMEOUT');\n }, timeoutMs);\n\n const interval = setInterval(() => {\n if (this._loading === true) {\n this.ssrIsLoading = !this.ssrIsLoading;\n } else {\n clearInterval(interval);\n clearTimeout(timeout);\n this.ssrIsLoading = false;\n }\n }, intervalMs);\n }\n\n stopLoading() {\n this._loading = false;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAOa,iBAAiB,CAAA;AAH9B,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC/B,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;QAEjC,IAAA,CAAA,YAAY,GAAG,KAAK;QACnB,IAAA,CAAA,QAAQ,GAAG,KAAK;AA4BzB,IAAA;IA1BC,YAAY,CAAC,SAAS,GAAG,EAAE,EAAE,UAAU,GAAG,GAAG,EAAE,SAAS,GAAG,KAAK,EAAA;AAC9D,QAAA,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,UAAU,CAAC;YAAE;AAExC,QAAA,IAAI,CAAC,QAAQ,GAAG,IAAI;AACpB,QAAA,IAAI,CAAC,YAAY,GAAG,IAAI;AAExB,QAAA,MAAM,OAAO,GAAG,UAAU,CAAC,MAAK;AAC9B,YAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;AACrB,YAAA,IAAI,CAAC,YAAY,GAAG,KAAK;YACzB,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,8BAA8B,GAAG,SAAS,EAAE,SAAS,CAAC;QAC/E,CAAC,EAAE,SAAS,CAAC;AAEb,QAAA,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAK;AAChC,YAAA,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE;AAC1B,gBAAA,IAAI,CAAC,YAAY,GAAG,CAAC,IAAI,CAAC,YAAY;YACxC;iBAAO;gBACL,aAAa,CAAC,QAAQ,CAAC;gBACvB,YAAY,CAAC,OAAO,CAAC;AACrB,gBAAA,IAAI,CAAC,YAAY,GAAG,KAAK;YAC3B;QACF,CAAC,EAAE,UAAU,CAAC;IAChB;IAEA,WAAW,GAAA;AACT,QAAA,IAAI,CAAC,QAAQ,GAAG,KAAK;IACvB;+GAhCW,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,cAFhB,MAAM,EAAA,CAAA,CAAA;;4FAEP,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAH7B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, TransferState, makeStateKey, Injectable } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
class TransferStateService {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.transferState = inject(TransferState);
|
|
7
|
-
this.keys = new Map();
|
|
8
|
-
}
|
|
9
|
-
setKey(name, response) {
|
|
10
|
-
let key = this.keys.get(name);
|
|
11
|
-
if (!key) {
|
|
12
|
-
key = makeStateKey(name);
|
|
13
|
-
this.keys.set(name, key);
|
|
14
|
-
}
|
|
15
|
-
this.transferState.set(key, response);
|
|
16
|
-
}
|
|
17
|
-
getKey(name, defaultValue = null) {
|
|
18
|
-
let key = this.keys.get(name);
|
|
19
|
-
if (!key) {
|
|
20
|
-
key = makeStateKey(name);
|
|
21
|
-
this.keys.set(name, key);
|
|
22
|
-
}
|
|
23
|
-
const response = this.transferState.get(key, defaultValue);
|
|
24
|
-
return response;
|
|
25
|
-
}
|
|
26
|
-
remove(name) {
|
|
27
|
-
let key = this.keys.get(name);
|
|
28
|
-
if (!key) {
|
|
29
|
-
key = makeStateKey(name);
|
|
30
|
-
this.keys.set(name, key);
|
|
31
|
-
}
|
|
32
|
-
this.transferState.remove(key);
|
|
33
|
-
}
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransferStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
35
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransferStateService, providedIn: 'root' }); }
|
|
36
|
-
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TransferStateService, decorators: [{
|
|
38
|
-
type: Injectable,
|
|
39
|
-
args: [{
|
|
40
|
-
providedIn: 'root',
|
|
41
|
-
}]
|
|
42
|
-
}] });
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Generated bundle index. Do not edit.
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
export { TransferStateService };
|
|
49
|
-
//# sourceMappingURL=rededor-site-front-end-lib-services-transfer-state.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-services-transfer-state.mjs","sources":["../../../projects/site-front-end-lib/services/transfer-state/transfer-state.service.ts","../../../projects/site-front-end-lib/services/transfer-state/rededor-site-front-end-lib-services-transfer-state.ts"],"sourcesContent":["import { inject, Injectable, makeStateKey, StateKey, TransferState } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TransferStateService {\n private transferState = inject(TransferState);\n\n private keys = new Map<string, StateKey<string>>();\n\n setKey(name: any, response: any | any[]) {\n let key = this.keys.get(name);\n if (!key) {\n key = makeStateKey(name);\n this.keys.set(name, key);\n }\n this.transferState.set(key, response);\n }\n\n getKey(name: string, defaultValue: any | any[] = null): any | any[] {\n let key = this.keys.get(name);\n if (!key) {\n key = makeStateKey(name);\n this.keys.set(name, key);\n }\n const response = this.transferState.get(key, defaultValue);\n return response;\n }\n\n remove(name: string) {\n let key = this.keys.get(name);\n if (!key) {\n key = makeStateKey(name);\n this.keys.set(name, key);\n }\n this.transferState.remove(key);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAKa,oBAAoB,CAAA;AAHjC,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,aAAa,CAAC;AAErC,QAAA,IAAA,CAAA,IAAI,GAAG,IAAI,GAAG,EAA4B;AA6BnD,IAAA;IA3BC,MAAM,CAAC,IAAS,EAAE,QAAqB,EAAA;QACrC,IAAI,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;QAC7B,IAAI,CAAC,GAAG,EAAE;AACR,YAAA,GAAG,GAAG,YAAY,CAAC,IAAI,CAAC;YACxB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC;QAC1B;QACA,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC;IACvC;AAEA,IAAA,MAAM,CAAC,IAAY,EAAE,YAAA,GAA4B,IAAI,EAAA;QACnD,IAAI,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;QAC7B,IAAI,CAAC,GAAG,EAAE;AACR,YAAA,GAAG,GAAG,YAAY,CAAC,IAAI,CAAC;YACxB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC;QAC1B;AACA,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,GAAG,EAAE,YAAY,CAAC;AAC1D,QAAA,OAAO,QAAQ;IACjB;AAEA,IAAA,MAAM,CAAC,IAAY,EAAA;QACjB,IAAI,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC;QAC7B,IAAI,CAAC,GAAG,EAAE;AACR,YAAA,GAAG,GAAG,YAAY,CAAC,IAAI,CAAC;YACxB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC;QAC1B;AACA,QAAA,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,GAAG,CAAC;IAChC;+GA/BW,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAApB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,cAFnB,MAAM,EAAA,CAAA,CAAA;;4FAEP,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHhC,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA;;;ACJD;;AAEG;;;;"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { isPlatformBrowser } from '@angular/common';
|
|
2
|
-
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, PLATFORM_ID, DOCUMENT, Injectable } from '@angular/core';
|
|
4
|
-
|
|
5
|
-
class YoutubeService {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.platformId = inject(PLATFORM_ID);
|
|
8
|
-
this.document = inject(DOCUMENT);
|
|
9
|
-
this.scriptId = 'youtubeApi';
|
|
10
|
-
}
|
|
11
|
-
setScript() {
|
|
12
|
-
if (isPlatformBrowser(this.platformId) && !this.document.getElementById(this.scriptId)) {
|
|
13
|
-
const script = this.document.createElement('script');
|
|
14
|
-
script.id = this.scriptId;
|
|
15
|
-
script.src = 'https://www.youtube.com/iframe_api';
|
|
16
|
-
this.document.body.appendChild(script);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
removeScript() {
|
|
20
|
-
if (isPlatformBrowser(this.platformId)) {
|
|
21
|
-
const script = this.document.getElementById(this.scriptId);
|
|
22
|
-
script?.remove();
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: YoutubeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
26
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: YoutubeService, providedIn: 'root' }); }
|
|
27
|
-
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: YoutubeService, decorators: [{
|
|
29
|
-
type: Injectable,
|
|
30
|
-
args: [{
|
|
31
|
-
providedIn: 'root',
|
|
32
|
-
}]
|
|
33
|
-
}] });
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Generated bundle index. Do not edit.
|
|
37
|
-
*/
|
|
38
|
-
|
|
39
|
-
export { YoutubeService };
|
|
40
|
-
//# sourceMappingURL=rededor-site-front-end-lib-services-youtube.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rededor-site-front-end-lib-services-youtube.mjs","sources":["../../../projects/site-front-end-lib/services/youtube/youtube.service.ts","../../../projects/site-front-end-lib/services/youtube/rededor-site-front-end-lib-services-youtube.ts"],"sourcesContent":["import { isPlatformBrowser } from '@angular/common';\nimport { Injectable, PLATFORM_ID, DOCUMENT, inject } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class YoutubeService {\n private platformId = inject(PLATFORM_ID);\n private document = inject<Document>(DOCUMENT);\n\n scriptId = 'youtubeApi';\n\n setScript(): void {\n if (isPlatformBrowser(this.platformId) && !this.document.getElementById(this.scriptId)) {\n const script = this.document.createElement('script');\n script.id = this.scriptId;\n script.src = 'https://www.youtube.com/iframe_api';\n this.document.body.appendChild(script);\n }\n }\n\n removeScript(): void {\n if (isPlatformBrowser(this.platformId)) {\n const script = this.document.getElementById(this.scriptId);\n script?.remove();\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAMa,cAAc,CAAA;AAH3B,IAAA,WAAA,GAAA;AAIU,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC;AAChC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAW,QAAQ,CAAC;QAE7C,IAAA,CAAA,QAAQ,GAAG,YAAY;AAiBxB,IAAA;IAfC,SAAS,GAAA;AACP,QAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;YACtF,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC;AACpD,YAAA,MAAM,CAAC,EAAE,GAAG,IAAI,CAAC,QAAQ;AACzB,YAAA,MAAM,CAAC,GAAG,GAAG,oCAAoC;YACjD,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC;QACxC;IACF;IAEA,YAAY,GAAA;AACV,QAAA,IAAI,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE;AACtC,YAAA,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC;YAC1D,MAAM,EAAE,MAAM,EAAE;QAClB;IACF;+GApBW,cAAc,EAAA,IAAA,E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