@rededor/site-front-end-lib 20.0.27 → 20.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/algolia-dropdown/index.d.ts +38 -0
- package/components/algolia-search/index.d.ts +304 -0
- package/components/banner/index.d.ts +20 -0
- package/components/breadcrumbs/index.d.ts +42 -0
- package/components/cards/index.d.ts +102 -0
- package/components/carousels/index.d.ts +28 -0
- package/components/cta-wrapper/index.d.ts +33 -0
- package/components/error/index.d.ts +47 -0
- package/components/filter-letter-and-terms/index.d.ts +38 -0
- package/components/filters/filter-generic/index.d.ts +70 -0
- package/components/filters/filter-planos-convenios/index.d.ts +41 -0
- package/components/footer/index.d.ts +44 -0
- package/components/header/components/action/index.d.ts +17 -0
- package/components/header/components/auxiliar/index.d.ts +31 -0
- package/components/header/components/main/index.d.ts +72 -0
- package/components/header/components/side/index.d.ts +35 -0
- package/components/header/index.d.ts +63 -0
- package/components/header/services/index.d.ts +14 -0
- package/components/image/index.d.ts +23 -0
- package/components/load-screen/index.d.ts +14 -0
- package/components/modal/index.d.ts +28 -0
- package/components/modal-drawer/index.d.ts +46 -0
- package/components/overlay/index.d.ts +10 -0
- package/components/page-header/index.d.ts +30 -0
- package/components/page-template-fullcontent/index.d.ts +17 -0
- package/components/page-template-sidebar/index.d.ts +20 -0
- package/components/pagination/index.d.ts +30 -0
- package/components/search/index.d.ts +45 -0
- package/components/section-navigation/index.d.ts +45 -0
- package/components/side-ctas/index.d.ts +70 -0
- package/components/sidebar-navigation/index.d.ts +40 -0
- package/components/sticky-navigation/index.d.ts +42 -0
- package/components/whatsapp/index.d.ts +27 -0
- package/core/index.d.ts +2049 -0
- package/cura/accordion/index.d.ts +120 -0
- package/cura/api/index.d.ts +359 -0
- package/cura/badges/cura-badge-counter/index.d.ts +38 -0
- package/cura/badges/cura-badge-distance/index.d.ts +21 -0
- package/cura/badges/cura-badge-dot/index.d.ts +29 -0
- package/cura/badges/cura-badge-pill/index.d.ts +42 -0
- package/cura/badges/index.d.ts +5 -0
- package/cura/buttons/cura-button/index.d.ts +90 -0
- package/cura/buttons/cura-button-outline/index.d.ts +90 -0
- package/cura/buttons/cura-button-select/index.d.ts +39 -0
- package/cura/buttons/cura-button-transparent/index.d.ts +87 -0
- package/cura/buttons/index.d.ts +15 -0
- package/cura/cards/cura-card/index.d.ts +49 -0
- package/cura/feedback/cura-alert/index.d.ts +55 -0
- package/cura/feedback/cura-modal/index.d.ts +97 -0
- package/cura/feedback/cura-toast/index.d.ts +104 -0
- package/cura/forms/cura-checkbox/index.d.ts +157 -0
- package/cura/forms/cura-input-text/index.d.ts +236 -0
- package/cura/forms/cura-label/index.d.ts +47 -0
- package/cura/forms/cura-radio/index.d.ts +148 -0
- package/cura/forms/cura-select/index.d.ts +155 -0
- package/cura/forms/cura-select-option/index.d.ts +54 -0
- package/cura/forms/cura-select-state/index.d.ts +72 -0
- package/cura/forms/cura-switch/index.d.ts +113 -0
- package/cura/forms/cura-textarea/index.d.ts +113 -0
- package/cura/forms/index.d.ts +20 -0
- package/cura/icons/cura-icon/index.d.ts +46 -0
- package/cura/loaders/cura-loader-bar/index.d.ts +22 -0
- package/cura/loaders/cura-loader-circle/index.d.ts +24 -0
- package/cura/texts/cura-display/index.d.ts +54 -0
- package/cura/texts/cura-heading/index.d.ts +65 -0
- package/cura/texts/cura-paragraph/index.d.ts +54 -0
- package/cura/texts/index.d.ts +7 -0
- package/enums/index.d.ts +177 -0
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs +108 -0
- package/fesm2022/rededor-site-front-end-lib-components-algolia-dropdown.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs +604 -0
- package/fesm2022/rededor-site-front-end-lib-components-algolia-search.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs +44 -0
- package/fesm2022/rededor-site-front-end-lib-components-banner.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs +120 -0
- package/fesm2022/rededor-site-front-end-lib-components-breadcrumbs.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs +178 -0
- package/fesm2022/rededor-site-front-end-lib-components-cards.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs +75 -0
- package/fesm2022/rededor-site-front-end-lib-components-carousels.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs +78 -0
- package/fesm2022/rededor-site-front-end-lib-components-cta-wrapper.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs +176 -0
- package/fesm2022/rededor-site-front-end-lib-components-error.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs +93 -0
- package/fesm2022/rededor-site-front-end-lib-components-filter-letter-and-terms.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs +245 -0
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-generic.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs +139 -0
- package/fesm2022/rededor-site-front-end-lib-components-filters-filter-planos-convenios.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs +199 -0
- package/fesm2022/rededor-site-front-end-lib-components-footer.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs +34 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-action.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs +62 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-auxiliar.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs +167 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-main.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs +71 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-components-side.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs +50 -0
- package/fesm2022/rededor-site-front-end-lib-components-header-services.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs +416 -0
- package/fesm2022/rededor-site-front-end-lib-components-header.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs +48 -0
- package/fesm2022/rededor-site-front-end-lib-components-image.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs +30 -0
- package/fesm2022/rededor-site-front-end-lib-components-load-screen.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs +145 -0
- package/fesm2022/rededor-site-front-end-lib-components-modal-drawer.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs +82 -0
- package/fesm2022/rededor-site-front-end-lib-components-modal.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs +24 -0
- package/fesm2022/rededor-site-front-end-lib-components-overlay.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs +52 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-header.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs +27 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-template-fullcontent.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs +30 -0
- package/fesm2022/rededor-site-front-end-lib-components-page-template-sidebar.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs +55 -0
- package/fesm2022/rededor-site-front-end-lib-components-pagination.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs +119 -0
- package/fesm2022/rededor-site-front-end-lib-components-search.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs +141 -0
- package/fesm2022/rededor-site-front-end-lib-components-section-navigation.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs +118 -0
- package/fesm2022/rededor-site-front-end-lib-components-side-ctas.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs +109 -0
- package/fesm2022/rededor-site-front-end-lib-components-sidebar-navigation.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs +120 -0
- package/fesm2022/rededor-site-front-end-lib-components-sticky-navigation.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs +49 -0
- package/fesm2022/rededor-site-front-end-lib-components-whatsapp.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-core.mjs +1812 -0
- package/fesm2022/rededor-site-front-end-lib-core.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs +252 -0
- package/fesm2022/rededor-site-front-end-lib-cura-accordion.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs +643 -0
- package/fesm2022/rededor-site-front-end-lib-cura-api.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs +90 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-counter.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs +55 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-distance.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs +66 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-dot.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs +91 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges-cura-badge-pill.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs +4 -0
- package/fesm2022/rededor-site-front-end-lib-cura-badges.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs +170 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-outline.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs +135 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-select.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs +161 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button-transparent.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs +170 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons-cura-button.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs +13 -0
- package/fesm2022/rededor-site-front-end-lib-cura-buttons.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs +72 -0
- package/fesm2022/rededor-site-front-end-lib-cura-cards-cura-card.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs +90 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-alert.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs +105 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-modal.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs +198 -0
- package/fesm2022/rededor-site-front-end-lib-cura-feedback-cura-toast.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs +258 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-checkbox.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs +587 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-input-text.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs +82 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-label.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs +243 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-radio.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs +89 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-option.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs +123 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select-state.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs +389 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-select.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs +182 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-switch.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs +209 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms-cura-textarea.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs +21 -0
- package/fesm2022/rededor-site-front-end-lib-cura-forms.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs +88 -0
- package/fesm2022/rededor-site-front-end-lib-cura-icons-cura-icon.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs +44 -0
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-bar.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs +49 -0
- package/fesm2022/rededor-site-front-end-lib-cura-loaders-cura-loader-circle.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs +84 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-display.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs +104 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-heading.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs +89 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts-cura-paragraph.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs +4 -0
- package/fesm2022/rededor-site-front-end-lib-cura-texts.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-enums.mjs +188 -0
- package/fesm2022/rededor-site-front-end-lib-enums.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs +74 -0
- package/fesm2022/rededor-site-front-end-lib-services-algolia-search-api.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs +41 -0
- package/fesm2022/rededor-site-front-end-lib-services-algolia.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs +88 -0
- package/fesm2022/rededor-site-front-end-lib-services-ngu-carousel.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs +52 -0
- package/fesm2022/rededor-site-front-end-lib-services-ssr-loading.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs +49 -0
- package/fesm2022/rededor-site-front-end-lib-services-transfer-state.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs +40 -0
- package/fesm2022/rededor-site-front-end-lib-services-youtube.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib-shared.mjs +110 -0
- package/fesm2022/rededor-site-front-end-lib-shared.mjs.map +1 -0
- package/fesm2022/rededor-site-front-end-lib.mjs +11 -0
- package/fesm2022/rededor-site-front-end-lib.mjs.map +1 -0
- package/index.d.ts +3 -0
- package/package.json +312 -9
- package/services/algolia/index.d.ts +18 -0
- package/services/algolia-search-api/index.d.ts +17 -0
- package/services/ngu-carousel/index.d.ts +16 -0
- package/services/ssr-loading/index.d.ts +14 -0
- package/services/transfer-state/index.d.ts +13 -0
- package/services/youtube/index.d.ts +13 -0
- package/shared/index.d.ts +40 -0
- package/CHANGELOG.md +0 -828
- package/components/algolia-dropdown/algolia-dropdown.component.html +0 -19
- package/components/algolia-dropdown/algolia-dropdown.component.scss +0 -0
- package/components/algolia-dropdown/algolia-dropdown.component.spec.ts +0 -22
- package/components/algolia-dropdown/algolia-dropdown.component.ts +0 -103
- package/components/algolia-dropdown/index.ts +0 -1
- package/components/algolia-dropdown/ng-package.json +0 -6
- package/components/algolia-dropdown/public-api.ts +0 -1
- package/components/algolia-search/components/algolia-search/algolia-search.component.html +0 -96
- package/components/algolia-search/components/algolia-search/algolia-search.component.scss +0 -588
- package/components/algolia-search/components/algolia-search/algolia-search.component.spec.ts +0 -21
- package/components/algolia-search/components/algolia-search/algolia-search.component.ts +0 -415
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.html +0 -23
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.scss +0 -5
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.spec.ts +0 -22
- package/components/algolia-search/components/algolia-search-field/algolia-search-field.component.ts +0 -90
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.html +0 -70
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.scss +0 -27
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.spec.ts +0 -21
- package/components/algolia-search/components/algolia-search-result-item/algolia-search-result-item.component.ts +0 -77
- package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.html +0 -6
- package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.scss +0 -0
- package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.spec.ts +0 -21
- package/components/algolia-search/components/algolia-search-results/algolia-search-results.component.ts +0 -90
- package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.html +0 -1
- package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.scss +0 -0
- package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.spec.ts +0 -21
- package/components/algolia-search/components/algolia-search-tooltip/algolia-search-tooltip.component.ts +0 -9
- package/components/algolia-search/index.ts +0 -1
- package/components/algolia-search/models/algolia-component-style.enum.ts +0 -4
- package/components/algolia-search/models/algolia-config.model.ts +0 -8
- package/components/algolia-search/models/algolia-hint.model.ts +0 -4
- package/components/algolia-search/models/algolia-hit-description.model.ts +0 -6
- package/components/algolia-search/models/algolia-multiple-index.model.ts +0 -7
- package/components/algolia-search/models/algolia-results-item.model.ts +0 -8
- package/components/algolia-search/models/algolia-results-multiple.model.ts +0 -6
- package/components/algolia-search/models/algolia-search-params.model.ts +0 -83
- package/components/algolia-search/ng-package.json +0 -6
- package/components/algolia-search/public-api.ts +0 -13
- package/components/banner/content-banner/content-banner.component.html +0 -51
- package/components/banner/content-banner/content-banner.component.scss +0 -91
- package/components/banner/content-banner/content-banner.component.spec.ts +0 -27
- package/components/banner/content-banner/content-banner.component.ts +0 -36
- package/components/banner/index.ts +0 -1
- package/components/banner/ng-package.json +0 -6
- package/components/banner/public-api.ts +0 -1
- package/components/breadcrumbs/breadcrumbs.component.html +0 -56
- package/components/breadcrumbs/breadcrumbs.component.scss +0 -55
- package/components/breadcrumbs/breadcrumbs.component.spec.ts +0 -22
- package/components/breadcrumbs/breadcrumbs.component.ts +0 -142
- package/components/breadcrumbs/index.ts +0 -1
- package/components/breadcrumbs/ng-package.json +0 -6
- package/components/breadcrumbs/public-api.ts +0 -1
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.html +0 -91
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.scss +0 -143
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.spec.ts +0 -22
- package/components/cards/card-unidade-planos-convenios/card-unidade-planos-convenios.component.ts +0 -66
- package/components/cards/expandable-card/expandable-card.component.html +0 -30
- package/components/cards/expandable-card/expandable-card.component.scss +0 -100
- package/components/cards/expandable-card/expandable-card.component.spec.ts +0 -27
- package/components/cards/expandable-card/expandable-card.component.ts +0 -60
- package/components/cards/index.ts +0 -1
- package/components/cards/ng-package.json +0 -6
- package/components/cards/public-api.ts +0 -3
- package/components/cards/testimonial-card/testimonial-card.component.html +0 -41
- package/components/cards/testimonial-card/testimonial-card.component.scss +0 -96
- package/components/cards/testimonial-card/testimonial-card.component.spec.ts +0 -27
- package/components/cards/testimonial-card/testimonial-card.component.ts +0 -65
- package/components/carousels/index.ts +0 -1
- package/components/carousels/ng-package.json +0 -6
- package/components/carousels/public-api.ts +0 -1
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.html +0 -30
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.scss +0 -91
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.spec.ts +0 -27
- package/components/carousels/testimonials-carousel/testimonials-carousel.component.ts +0 -73
- package/components/cta-wrapper/cta-wrapper.component.html +0 -54
- package/components/cta-wrapper/cta-wrapper.component.scss +0 -123
- package/components/cta-wrapper/cta-wrapper.component.spec.ts +0 -22
- package/components/cta-wrapper/cta-wrapper.component.ts +0 -77
- package/components/cta-wrapper/index.ts +0 -1
- package/components/cta-wrapper/ng-package.json +0 -6
- package/components/cta-wrapper/public-api.ts +0 -1
- package/components/error/error.component.html +0 -65
- package/components/error/error.component.scss +0 -26
- package/components/error/error.component.spec.ts +0 -22
- package/components/error/error.component.ts +0 -182
- package/components/error/index.ts +0 -1
- package/components/error/ng-package.json +0 -6
- package/components/error/public-api.ts +0 -1
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.html +0 -33
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.scss +0 -98
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.spec.ts +0 -22
- package/components/filter-letter-and-terms/filter-letter-and-terms.component.ts +0 -87
- package/components/filter-letter-and-terms/index.ts +0 -1
- package/components/filter-letter-and-terms/ng-package.json +0 -6
- package/components/filter-letter-and-terms/public-api.ts +0 -1
- package/components/filters/filter-generic/USAGE.md +0 -147
- package/components/filters/filter-generic/filter-generic.component.html +0 -174
- package/components/filters/filter-generic/filter-generic.component.scss +0 -266
- package/components/filters/filter-generic/filter-generic.component.spec.ts +0 -21
- package/components/filters/filter-generic/filter-generic.component.ts +0 -266
- package/components/filters/filter-generic/index.ts +0 -1
- package/components/filters/filter-generic/ng-package.json +0 -6
- package/components/filters/filter-generic/public-api.ts +0 -1
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.html +0 -76
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.scss +0 -84
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.spec.ts +0 -21
- package/components/filters/filter-planos-convenios/filter-planos-convenios.component.ts +0 -149
- package/components/filters/filter-planos-convenios/index.ts +0 -1
- package/components/filters/filter-planos-convenios/ng-package.json +0 -6
- package/components/filters/filter-planos-convenios/public-api.ts +0 -1
- package/components/footer/footer.component.html +0 -125
- package/components/footer/footer.component.scss +0 -451
- package/components/footer/footer.component.spec.ts +0 -22
- package/components/footer/footer.component.ts +0 -94
- package/components/footer/helpers/footerTheme.func.ts +0 -119
- package/components/footer/index.ts +0 -1
- package/components/footer/models/FooterTheme.model.ts +0 -8
- package/components/footer/ng-package.json +0 -6
- package/components/footer/public-api.ts +0 -1
- package/components/header/components/action/header-action-menu/header-action-menu.component.html +0 -41
- package/components/header/components/action/header-action-menu/header-action-menu.component.scss +0 -158
- package/components/header/components/action/header-action-menu/header-action-menu.component.spec.ts +0 -22
- package/components/header/components/action/header-action-menu/header-action-menu.component.ts +0 -30
- package/components/header/components/action/index.ts +0 -1
- package/components/header/components/action/ng-package.json +0 -6
- package/components/header/components/action/public-api.ts +0 -1
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.html +0 -33
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.scss +0 -60
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.spec.ts +0 -22
- package/components/header/components/auxiliar/header-aux-menu-item/header-aux-menu-item.component.ts +0 -46
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.html +0 -7
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.scss +0 -27
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.spec.ts +0 -22
- package/components/header/components/auxiliar/header-aux-menu-item-dropdown/header-aux-menu-item-dropdown.component.ts +0 -19
- package/components/header/components/auxiliar/index.ts +0 -1
- package/components/header/components/auxiliar/ng-package.json +0 -6
- package/components/header/components/auxiliar/public-api.ts +0 -2
- package/components/header/components/header-logo/header-logo.component.html +0 -5
- package/components/header/components/header-logo/header-logo.component.scss +0 -20
- package/components/header/components/header-logo/header-logo.component.spec.ts +0 -22
- package/components/header/components/header-logo/header-logo.component.ts +0 -23
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.html +0 -30
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.scss +0 -53
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.spec.ts +0 -22
- package/components/header/components/main/header-main-menu-item/header-main-menu-item.component.ts +0 -88
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.html +0 -112
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.scss +0 -259
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.spec.ts +0 -22
- package/components/header/components/main/header-main-menu-item-dropdown/header-main-menu-item-dropdown.component.ts +0 -107
- package/components/header/components/main/index.ts +0 -1
- package/components/header/components/main/ng-package.json +0 -6
- package/components/header/components/main/public-api.ts +0 -2
- package/components/header/components/side/header-side-menu/header-side-menu.component.html +0 -32
- package/components/header/components/side/header-side-menu/header-side-menu.component.scss +0 -81
- package/components/header/components/side/header-side-menu/header-side-menu.component.spec.ts +0 -22
- package/components/header/components/side/header-side-menu/header-side-menu.component.ts +0 -29
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.html +0 -26
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.scss +0 -104
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.spec.ts +0 -22
- package/components/header/components/side/header-side-menu-item/header-side-menu-item.component.ts +0 -45
- package/components/header/components/side/index.ts +0 -1
- package/components/header/components/side/ng-package.json +0 -6
- package/components/header/components/side/public-api.ts +0 -2
- package/components/header/header.component.html +0 -81
- package/components/header/header.component.scss +0 -171
- package/components/header/header.component.spec.ts +0 -22
- package/components/header/header.component.ts +0 -135
- package/components/header/helpers/headerTheme.func.ts +0 -288
- package/components/header/index.ts +0 -1
- package/components/header/models/HeaderTheme.model.ts +0 -9
- package/components/header/ng-package.json +0 -6
- package/components/header/public-api.ts +0 -2
- package/components/header/services/header.service.spec.ts +0 -16
- package/components/header/services/header.service.ts +0 -40
- package/components/header/services/index.ts +0 -1
- package/components/header/services/ng-package.json +0 -6
- package/components/header/services/public-api.ts +0 -1
- package/components/image/image.component.html +0 -9
- package/components/image/image.component.scss +0 -12
- package/components/image/image.component.spec.ts +0 -22
- package/components/image/image.component.ts +0 -43
- package/components/image/index.ts +0 -1
- package/components/image/ng-package.json +0 -6
- package/components/image/public-api.ts +0 -1
- package/components/load-screen/index.ts +0 -1
- package/components/load-screen/load-screen.component.html +0 -128
- package/components/load-screen/load-screen.component.scss +0 -46
- package/components/load-screen/load-screen.component.spec.ts +0 -27
- package/components/load-screen/load-screen.component.ts +0 -18
- package/components/load-screen/ng-package.json +0 -6
- package/components/load-screen/public-api.ts +0 -1
- package/components/modal/index.ts +0 -1
- package/components/modal/modal.component.html +0 -12
- package/components/modal/modal.component.scss +0 -34
- package/components/modal/modal.component.spec.ts +0 -22
- package/components/modal/modal.component.ts +0 -74
- package/components/modal/ng-package.json +0 -6
- package/components/modal/public-api.ts +0 -1
- package/components/modal-drawer/index.ts +0 -1
- package/components/modal-drawer/modal-drawer.component.html +0 -22
- package/components/modal-drawer/modal-drawer.component.scss +0 -250
- package/components/modal-drawer/modal-drawer.component.spec.ts +0 -22
- package/components/modal-drawer/modal-drawer.component.ts +0 -148
- package/components/modal-drawer/ng-package.json +0 -6
- package/components/modal-drawer/public-api.ts +0 -1
- package/components/overlay/index.ts +0 -1
- package/components/overlay/ng-package.json +0 -6
- package/components/overlay/overlay.component.html +0 -1
- package/components/overlay/overlay.component.scss +0 -13
- package/components/overlay/overlay.component.spec.ts +0 -22
- package/components/overlay/overlay.component.ts +0 -15
- package/components/overlay/public-api.ts +0 -1
- package/components/page-header/index.ts +0 -1
- package/components/page-header/ng-package.json +0 -6
- package/components/page-header/page-header.component.html +0 -25
- package/components/page-header/page-header.component.scss +0 -110
- package/components/page-header/page-header.component.spec.ts +0 -22
- package/components/page-header/page-header.component.ts +0 -41
- package/components/page-header/public-api.ts +0 -1
- package/components/page-template-fullcontent/index.ts +0 -1
- package/components/page-template-fullcontent/ng-package.json +0 -6
- package/components/page-template-fullcontent/page-template-fullcontent.component.html +0 -37
- package/components/page-template-fullcontent/page-template-fullcontent.component.scss +0 -41
- package/components/page-template-fullcontent/page-template-fullcontent.component.ts +0 -22
- package/components/page-template-fullcontent/public-api.ts +0 -1
- package/components/page-template-sidebar/index.ts +0 -1
- package/components/page-template-sidebar/ng-package.json +0 -6
- package/components/page-template-sidebar/page-template-sidebar.component.html +0 -50
- package/components/page-template-sidebar/page-template-sidebar.component.scss +0 -80
- package/components/page-template-sidebar/page-template-sidebar.component.spec.ts +0 -22
- package/components/page-template-sidebar/page-template-sidebar.component.ts +0 -25
- package/components/page-template-sidebar/public-api.ts +0 -1
- package/components/pagination/index.ts +0 -1
- package/components/pagination/ng-package.json +0 -6
- package/components/pagination/pagination.component.html +0 -53
- package/components/pagination/pagination.component.scss +0 -124
- package/components/pagination/pagination.component.spec.ts +0 -22
- package/components/pagination/pagination.component.ts +0 -48
- package/components/pagination/public-api.ts +0 -1
- package/components/search/index.ts +0 -1
- package/components/search/ng-package.json +0 -6
- package/components/search/public-api.ts +0 -1
- package/components/search/search.component.html +0 -32
- package/components/search/search.component.scss +0 -59
- package/components/search/search.component.spec.ts +0 -22
- package/components/search/search.component.ts +0 -122
- package/components/section-navigation/index.ts +0 -1
- package/components/section-navigation/ng-package.json +0 -6
- package/components/section-navigation/public-api.ts +0 -1
- package/components/section-navigation/section-navigation.component.html +0 -23
- package/components/section-navigation/section-navigation.component.scss +0 -50
- package/components/section-navigation/section-navigation.component.spec.ts +0 -22
- package/components/section-navigation/section-navigation.component.ts +0 -159
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.html +0 -8
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.scss +0 -56
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.spec.ts +0 -22
- package/components/side-ctas/components/side-ctas-bottom/side-ctas-bottom.component.ts +0 -31
- package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.html +0 -11
- package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.scss +0 -0
- package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.spec.ts +0 -22
- package/components/side-ctas/components/side-ctas-right-bottom/side-ctas-right-bottom.component.ts +0 -23
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.html +0 -10
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.scss +0 -54
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.spec.ts +0 -22
- package/components/side-ctas/components/side-ctas-right-middle/side-ctas-right-middle.component.ts +0 -30
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.html +0 -1
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.scss +0 -11
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.spec.ts +0 -22
- package/components/side-ctas/components/side-ctas-right-top/side-ctas-right-top.component.ts +0 -9
- package/components/side-ctas/index.ts +0 -1
- package/components/side-ctas/models/SideCta.model.ts +0 -5
- package/components/side-ctas/ng-package.json +0 -6
- package/components/side-ctas/public-api.ts +0 -6
- package/components/side-ctas/side-ctas.component.html +0 -28
- package/components/side-ctas/side-ctas.component.scss +0 -62
- package/components/side-ctas/side-ctas.component.spec.ts +0 -22
- package/components/side-ctas/side-ctas.component.ts +0 -17
- package/components/sidebar-navigation/index.ts +0 -1
- package/components/sidebar-navigation/ng-package.json +0 -6
- package/components/sidebar-navigation/public-api.ts +0 -1
- package/components/sidebar-navigation/sidebar-navigation.component.html +0 -42
- package/components/sidebar-navigation/sidebar-navigation.component.scss +0 -25
- package/components/sidebar-navigation/sidebar-navigation.component.ts +0 -122
- package/components/sticky-navigation/index.ts +0 -1
- package/components/sticky-navigation/ng-package.json +0 -6
- package/components/sticky-navigation/public-api.ts +0 -1
- package/components/sticky-navigation/sticky-navigation.component.html +0 -39
- package/components/sticky-navigation/sticky-navigation.component.scss +0 -48
- package/components/sticky-navigation/sticky-navigation.component.ts +0 -134
- package/components/whatsapp/index.ts +0 -1
- package/components/whatsapp/ng-package.json +0 -6
- package/components/whatsapp/public-api.ts +0 -1
- package/components/whatsapp/whatsapp.component.html +0 -23
- package/components/whatsapp/whatsapp.component.scss +0 -113
- package/components/whatsapp/whatsapp.component.spec.ts +0 -22
- package/components/whatsapp/whatsapp.component.ts +0 -40
- package/core/directives/rdsite-link/rdsite-link.directive.spec.ts +0 -8
- package/core/directives/rdsite-link/rdsite-link.directive.ts +0 -200
- package/core/directives/rdsite-phone-modal/rdsite-phone-modal.directive.spec.ts +0 -8
- package/core/directives/rdsite-phone-modal/rdsite-phone-modal.directive.ts +0 -41
- package/core/enums/RdsiteModalComponentStyle.enum.ts +0 -13
- package/core/enums/RdsiteModalDrawerComponentStyle.enum.ts +0 -7
- package/core/helpers/check-safari-agent.func.ts +0 -6
- package/core/helpers/djb2Hash.func.ts +0 -18
- package/core/helpers/executeWithRetry.func.ts +0 -25
- package/core/helpers/formatPhone.func.ts +0 -22
- package/core/helpers/getCircularReplacer.func.ts +0 -45
- package/core/helpers/getSiteUrl.func.ts +0 -7
- package/core/helpers/removeHtmlTags.func.ts +0 -6
- package/core/helpers/toQueryParams.func.ts +0 -11
- package/core/index.ts +0 -1
- package/core/interceptors/error.interceptor.ts +0 -39
- package/core/interceptors/log.interceptor.ts +0 -35
- package/core/interceptors/transfer-state-url.interceptor.ts +0 -137
- package/core/models/algolia-search-api.model.ts +0 -213
- package/core/models/breadcrumbs/breadcrumbs-items.model.ts +0 -10
- package/core/models/breadcrumbs/breadcrumbs-json-item.model.ts +0 -8
- package/core/models/centro-estudos-backend.model.ts +0 -8
- package/core/models/centro-medico.model.ts +0 -33
- package/core/models/content-banner.model.ts +0 -7
- package/core/models/cta-wrapper.model.ts +0 -9
- package/core/models/doenca-backend.model.ts +0 -27
- package/core/models/doenca-taxonomy.model.ts +0 -21
- package/core/models/especialidade-backend.model.ts +0 -25
- package/core/models/exame-backend.model.ts +0 -26
- package/core/models/filters/filter-planos-convenios.model.ts +0 -34
- package/core/models/filters/filter-section.type.ts +0 -18
- package/core/models/filters/filter-sections.model.ts +0 -66
- package/core/models/images/rdsite-image.model.ts +0 -5
- package/core/models/index.ts +0 -1
- package/core/models/medico-cv.model.ts +0 -10
- package/core/models/menu-de-unidade.model.ts +0 -16
- package/core/models/menu-item.model.ts +0 -71
- package/core/models/privacy-tools/privacy-tools.model.ts +0 -9
- package/core/models/rdsl-cobertura.model.ts +0 -72
- package/core/models/rdsl-convenio.model.ts +0 -18
- package/core/models/rdsl-especialidade.model.ts +0 -36
- package/core/models/rdsl-planos.model.ts +0 -14
- package/core/models/rdsl-post-category.model.ts +0 -8
- package/core/models/rdsl-unidade.model.ts +0 -52
- package/core/models/section-navigation.model.ts +0 -10
- package/core/models/seo/seo-data.model.ts +0 -11
- package/core/models/seo/seo-unidade.model.ts +0 -6
- package/core/models/social-meta-properties.model.ts +0 -9
- package/core/models/wordpress/WpEnvelopeResponse.model.ts +0 -12
- package/core/models/wordpress/WpHttpParams.model.ts +0 -5
- package/core/models/wordpress/WpQueryParams.model.ts +0 -32
- package/core/models/wordpress/WpResponse.model.ts +0 -35
- package/core/models/wordpress/category/wpCategory.model.ts +0 -15
- package/core/models/wordpress/category/wpCategoryRequestParams.model.ts +0 -9
- package/core/models/wordpress/flexiblecontent/flexiblecontent.model.ts +0 -4
- package/core/models/wordpress/general/content.model.ts +0 -4
- package/core/models/wordpress/general/excerpt.model.ts +0 -4
- package/core/models/wordpress/general/featuredMedia.model.ts +0 -27
- package/core/models/wordpress/general/guid.model.ts +0 -3
- package/core/models/wordpress/general/index.ts +0 -10
- package/core/models/wordpress/general/links.model.ts +0 -47
- package/core/models/wordpress/general/meta.model.ts +0 -3
- package/core/models/wordpress/general/title.model.ts +0 -3
- package/core/models/wordpress/general/yoastData.model.ts +0 -4
- package/core/models/wordpress/general/yoastHeadJson.model.ts +0 -55
- package/core/models/wordpress/general/yoastMeta.model.ts +0 -5
- package/core/models/wordpress/page/page.model.ts +0 -11
- package/core/models/wordpress/page/pageRequestParams.model.ts +0 -11
- package/core/models/wordpress/post/post.model.ts +0 -37
- package/core/models/wordpress/post/postRequestParams.model.ts +0 -23
- package/core/models/wordpress/unidade/wp-unidade-onco.model.ts +0 -62
- package/core/models/wordpress/unidade/wp-unidade-site-detalhe.model.ts +0 -173
- package/core/models/wordpress/unidade/wp-unidade-site.model.ts +0 -48
- package/core/ng-package.json +0 -6
- package/core/public-api.ts +0 -79
- package/core/services/error/error.service.spec.ts +0 -16
- package/core/services/error/error.service.ts +0 -10
- package/core/services/geoloc/geoloc.service.spec.ts +0 -16
- package/core/services/geoloc/geoloc.service.ts +0 -225
- package/core/services/http-client/http-client.service.spec.ts +0 -16
- package/core/services/http-client/http-client.service.ts +0 -49
- package/core/services/log/log.service.spec.ts +0 -16
- package/core/services/log/log.service.ts +0 -36
- package/core/services/mapbox/mapbox.service.spec.ts +0 -16
- package/core/services/mapbox/mapbox.service.ts +0 -84
- package/core/services/modal/modal.service.spec.ts +0 -16
- package/core/services/modal/modal.service.ts +0 -124
- package/core/services/modal-drawer/modal-drawer.service.spec.ts +0 -16
- package/core/services/modal-drawer/modal-drawer.service.ts +0 -104
- package/core/services/phone/phone.service.spec.ts +0 -16
- package/core/services/phone/phone.service.ts +0 -19
- package/core/services/privacy-tools/privacy-tools.service.spec.ts +0 -16
- package/core/services/privacy-tools/privacy-tools.service.ts +0 -96
- package/core/services/seo/seo.service.spec.ts +0 -16
- package/core/services/seo/seo.service.ts +0 -537
- package/core/services/server-response/server-response.service.spec.ts +0 -16
- package/core/services/server-response/server-response.service.ts +0 -107
- package/core/services/site-back-end/site-back-end.service.spec.ts +0 -16
- package/core/services/site-back-end/site-back-end.service.ts +0 -48
- package/core/services/ssr-response/ssr-response.service.spec.ts +0 -16
- package/core/services/ssr-response/ssr-response.service.ts +0 -57
- package/core/tokens/LibConfig.ts +0 -64
- package/core/tokens/express.tokens.ts +0 -5
- package/cura/accordion/cura-accordion/cura-accordion.component.html +0 -1
- package/cura/accordion/cura-accordion/cura-accordion.component.scss +0 -7
- package/cura/accordion/cura-accordion/cura-accordion.component.ts +0 -203
- package/cura/accordion/cura-accordion-item/cura-accordion-item.component.html +0 -20
- package/cura/accordion/cura-accordion-item/cura-accordion-item.component.scss +0 -139
- package/cura/accordion/cura-accordion-item/cura-accordion-item.component.ts +0 -75
- package/cura/accordion/cura-accordion.definitions.ts +0 -5
- package/cura/accordion/index.ts +0 -1
- package/cura/accordion/ng-package.json +0 -6
- package/cura/accordion/public-api.ts +0 -3
- package/cura/api/CuraConfig.ts +0 -5
- package/cura/api/cura-api.service.spec.ts +0 -138
- package/cura/api/cura-api.service.ts +0 -104
- package/cura/api/cura-api.types.ts +0 -79
- package/cura/api/index.ts +0 -1
- package/cura/api/modules/cura-theme-breakpoints.module.ts +0 -22
- package/cura/api/modules/cura-theme-colors.module.ts +0 -89
- package/cura/api/modules/cura-theme-fonts.module.ts +0 -54
- package/cura/api/modules/cura-theme-spacing.module.ts +0 -23
- package/cura/api/modules/cura-theme.module.ts +0 -116
- package/cura/api/ng-package.json +0 -6
- package/cura/api/public-api.ts +0 -11
- package/cura/api/theme-presets/static.ts +0 -70
- package/cura/api/theme-presets/theme-default.ts +0 -49
- package/cura/api/theme-presets/theme-maternidade-star.ts +0 -49
- package/cura/api/theme-presets/theme-presets.ts +0 -13
- package/cura/api/theme-presets/theme-star.ts +0 -49
- package/cura/badges/cura-badge-counter/cura-badge-counter.component.html +0 -7
- package/cura/badges/cura-badge-counter/cura-badge-counter.component.scss +0 -41
- package/cura/badges/cura-badge-counter/cura-badge-counter.component.ts +0 -94
- package/cura/badges/cura-badge-counter/index.ts +0 -1
- package/cura/badges/cura-badge-counter/ng-package.json +0 -6
- package/cura/badges/cura-badge-counter/public-api.ts +0 -1
- package/cura/badges/cura-badge-distance/cura-badge-distance.component.html +0 -8
- package/cura/badges/cura-badge-distance/cura-badge-distance.component.scss +0 -16
- package/cura/badges/cura-badge-distance/cura-badge-distance.component.ts +0 -53
- package/cura/badges/cura-badge-distance/index.ts +0 -1
- package/cura/badges/cura-badge-distance/ng-package.json +0 -6
- package/cura/badges/cura-badge-distance/public-api.ts +0 -1
- package/cura/badges/cura-badge-dot/cura-badge-dot.component.html +0 -1
- package/cura/badges/cura-badge-dot/cura-badge-dot.component.scss +0 -50
- package/cura/badges/cura-badge-dot/cura-badge-dot.component.ts +0 -69
- package/cura/badges/cura-badge-dot/index.ts +0 -1
- package/cura/badges/cura-badge-dot/ng-package.json +0 -6
- package/cura/badges/cura-badge-dot/public-api.ts +0 -1
- package/cura/badges/cura-badge-pill/cura-badge-pill.component.html +0 -8
- package/cura/badges/cura-badge-pill/cura-badge-pill.component.scss +0 -74
- package/cura/badges/cura-badge-pill/cura-badge-pill.component.ts +0 -105
- package/cura/badges/cura-badge-pill/index.ts +0 -1
- package/cura/badges/cura-badge-pill/ng-package.json +0 -6
- package/cura/badges/cura-badge-pill/public-api.ts +0 -1
- package/cura/badges/cura-badges.definitions.ts +0 -5
- package/cura/badges/index.ts +0 -1
- package/cura/badges/ng-package.json +0 -6
- package/cura/badges/public-api.ts +0 -1
- package/cura/buttons/cura-button/cura-button.component.html +0 -47
- package/cura/buttons/cura-button/cura-button.component.scss +0 -66
- package/cura/buttons/cura-button/cura-button.component.spec.ts +0 -105
- package/cura/buttons/cura-button/cura-button.component.ts +0 -184
- package/cura/buttons/cura-button/index.ts +0 -1
- package/cura/buttons/cura-button/ng-package.json +0 -6
- package/cura/buttons/cura-button/public-api.ts +0 -1
- package/cura/buttons/cura-button-outline/cura-button-outline.component.html +0 -47
- package/cura/buttons/cura-button-outline/cura-button-outline.component.scss +0 -55
- package/cura/buttons/cura-button-outline/cura-button-outline.component.spec.ts +0 -57
- package/cura/buttons/cura-button-outline/cura-button-outline.component.ts +0 -184
- package/cura/buttons/cura-button-outline/index.ts +0 -1
- package/cura/buttons/cura-button-outline/ng-package.json +0 -6
- package/cura/buttons/cura-button-outline/public-api.ts +0 -1
- package/cura/buttons/cura-button-select/cura-button-select.component.html +0 -27
- package/cura/buttons/cura-button-select/cura-button-select.component.scss +0 -76
- package/cura/buttons/cura-button-select/cura-button-select.component.spec.ts +0 -96
- package/cura/buttons/cura-button-select/cura-button-select.component.ts +0 -140
- package/cura/buttons/cura-button-select/index.ts +0 -1
- package/cura/buttons/cura-button-select/ng-package.json +0 -6
- package/cura/buttons/cura-button-select/public-api.ts +0 -1
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.html +0 -47
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.scss +0 -29
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.spec.ts +0 -63
- package/cura/buttons/cura-button-transparent/cura-button-transparent.component.ts +0 -172
- package/cura/buttons/cura-button-transparent/index.ts +0 -1
- package/cura/buttons/cura-button-transparent/ng-package.json +0 -6
- package/cura/buttons/cura-button-transparent/public-api.ts +0 -1
- package/cura/buttons/cura-button.definitions.ts +0 -13
- package/cura/buttons/index.ts +0 -1
- package/cura/buttons/ng-package.json +0 -6
- package/cura/buttons/public-api.ts +0 -1
- package/cura/cards/cura-card/cura-card.component.html +0 -11
- package/cura/cards/cura-card/cura-card.component.scss +0 -167
- package/cura/cards/cura-card/cura-card.component.ts +0 -89
- package/cura/cards/cura-card/cura-cards.definitions.ts +0 -5
- package/cura/cards/cura-card/index.ts +0 -1
- package/cura/cards/cura-card/ng-package.json +0 -6
- package/cura/cards/cura-card/public-api.ts +0 -1
- package/cura/feedback/cura-alert/cura-alert.component.html +0 -21
- package/cura/feedback/cura-alert/cura-alert.component.scss +0 -32
- package/cura/feedback/cura-alert/cura-alert.component.ts +0 -94
- package/cura/feedback/cura-alert/cura-alert.definitions.ts +0 -15
- package/cura/feedback/cura-alert/index.ts +0 -1
- package/cura/feedback/cura-alert/ng-package.json +0 -6
- package/cura/feedback/cura-alert/public-api.ts +0 -2
- package/cura/feedback/cura-modal/cura-modal.component.html +0 -20
- package/cura/feedback/cura-modal/cura-modal.component.scss +0 -149
- package/cura/feedback/cura-modal/cura-modal.component.ts +0 -112
- package/cura/feedback/cura-modal/cura-modal.definitions.ts +0 -36
- package/cura/feedback/cura-modal/index.ts +0 -1
- package/cura/feedback/cura-modal/ng-package.json +0 -6
- package/cura/feedback/cura-modal/public-api.ts +0 -2
- package/cura/feedback/cura-toast/cura-toast.component.html +0 -23
- package/cura/feedback/cura-toast/cura-toast.component.scss +0 -96
- package/cura/feedback/cura-toast/cura-toast.component.ts +0 -213
- package/cura/feedback/cura-toast/cura-toast.definitions.ts +0 -22
- package/cura/feedback/cura-toast/index.ts +0 -1
- package/cura/feedback/cura-toast/ng-package.json +0 -6
- package/cura/feedback/cura-toast/public-api.ts +0 -2
- package/cura/forms/cura-checkbox/cura-checkbox.component.html +0 -35
- package/cura/forms/cura-checkbox/cura-checkbox.component.scss +0 -219
- package/cura/forms/cura-checkbox/cura-checkbox.component.ts +0 -284
- package/cura/forms/cura-checkbox/cura-checkbox.definitions.ts +0 -44
- package/cura/forms/cura-checkbox/index.ts +0 -1
- package/cura/forms/cura-checkbox/ng-package.json +0 -6
- package/cura/forms/cura-checkbox/public-api.ts +0 -2
- package/cura/forms/cura-forms.definitions.ts +0 -18
- package/cura/forms/cura-input-text/cura-input-text.component.html +0 -65
- package/cura/forms/cura-input-text/cura-input-text.component.scss +0 -165
- package/cura/forms/cura-input-text/cura-input-text.component.ts +0 -621
- package/cura/forms/cura-input-text/cura-input-text.definitions.ts +0 -104
- package/cura/forms/cura-input-text/index.ts +0 -1
- package/cura/forms/cura-input-text/ng-package.json +0 -6
- package/cura/forms/cura-input-text/public-api.ts +0 -2
- package/cura/forms/cura-label/cura-label.component.html +0 -3
- package/cura/forms/cura-label/cura-label.component.scss +0 -68
- package/cura/forms/cura-label/cura-label.component.ts +0 -93
- package/cura/forms/cura-label/index.ts +0 -1
- package/cura/forms/cura-label/ng-package.json +0 -6
- package/cura/forms/cura-label/public-api.ts +0 -1
- package/cura/forms/cura-radio/cura-radio.component.html +0 -28
- package/cura/forms/cura-radio/cura-radio.component.scss +0 -232
- package/cura/forms/cura-radio/cura-radio.component.ts +0 -261
- package/cura/forms/cura-radio/cura-radio.definitions.ts +0 -46
- package/cura/forms/cura-radio/index.ts +0 -1
- package/cura/forms/cura-radio/ng-package.json +0 -6
- package/cura/forms/cura-radio/public-api.ts +0 -2
- package/cura/forms/cura-select/cura-select.component.html +0 -88
- package/cura/forms/cura-select/cura-select.component.scss +0 -112
- package/cura/forms/cura-select/cura-select.component.ts +0 -459
- package/cura/forms/cura-select/cura-select.definitions.ts +0 -34
- package/cura/forms/cura-select/index.ts +0 -1
- package/cura/forms/cura-select/ng-package.json +0 -6
- package/cura/forms/cura-select/public-api.ts +0 -2
- package/cura/forms/cura-select-option/cura-select-option.component.html +0 -9
- package/cura/forms/cura-select-option/cura-select-option.component.scss +0 -33
- package/cura/forms/cura-select-option/cura-select-option.component.ts +0 -93
- package/cura/forms/cura-select-option/cura-select-option.definitions.ts +0 -12
- package/cura/forms/cura-select-option/index.ts +0 -1
- package/cura/forms/cura-select-option/ng-package.json +0 -6
- package/cura/forms/cura-select-option/public-api.ts +0 -2
- package/cura/forms/cura-select-state/cura-select-state.component.html +0 -14
- package/cura/forms/cura-select-state/cura-select-state.component.ts +0 -125
- package/cura/forms/cura-select-state/cura-select-state.definitions.ts +0 -19
- package/cura/forms/cura-select-state/index.ts +0 -1
- package/cura/forms/cura-select-state/ng-package.json +0 -6
- package/cura/forms/cura-select-state/public-api.ts +0 -2
- package/cura/forms/cura-switch/cura-switch.component.html +0 -25
- package/cura/forms/cura-switch/cura-switch.component.scss +0 -134
- package/cura/forms/cura-switch/cura-switch.component.ts +0 -196
- package/cura/forms/cura-switch/cura-switch.definitions.ts +0 -35
- package/cura/forms/cura-switch/index.ts +0 -1
- package/cura/forms/cura-switch/ng-package.json +0 -6
- package/cura/forms/cura-switch/public-api.ts +0 -2
- package/cura/forms/cura-textarea/cura-textarea.component.html +0 -44
- package/cura/forms/cura-textarea/cura-textarea.component.scss +0 -173
- package/cura/forms/cura-textarea/cura-textarea.component.ts +0 -226
- package/cura/forms/cura-textarea/cura-textarea.definitions.ts +0 -24
- package/cura/forms/cura-textarea/index.ts +0 -1
- package/cura/forms/cura-textarea/ng-package.json +0 -6
- package/cura/forms/cura-textarea/public-api.ts +0 -2
- package/cura/forms/index.ts +0 -1
- package/cura/forms/ng-package.json +0 -6
- package/cura/forms/public-api.ts +0 -1
- package/cura/icons/cura-icon/cura-icon.component.html +0 -3
- package/cura/icons/cura-icon/cura-icon.component.scss +0 -14
- package/cura/icons/cura-icon/cura-icon.component.spec.ts +0 -89
- package/cura/icons/cura-icon/cura-icon.component.ts +0 -79
- package/cura/icons/cura-icon/cura-icon.definitions.ts +0 -20
- package/cura/icons/cura-icon/index.ts +0 -1
- package/cura/icons/cura-icon/ng-package.json +0 -6
- package/cura/icons/cura-icon/public-api.ts +0 -2
- package/cura/loaders/cura-loader-bar/cura-loader-bar.component.html +0 -3
- package/cura/loaders/cura-loader-bar/cura-loader-bar.component.scss +0 -23
- package/cura/loaders/cura-loader-bar/cura-loader-bar.component.ts +0 -37
- package/cura/loaders/cura-loader-bar/index.ts +0 -1
- package/cura/loaders/cura-loader-bar/ng-package.json +0 -6
- package/cura/loaders/cura-loader-bar/public-api.ts +0 -1
- package/cura/loaders/cura-loader-circle/cura-loader-circle.component.html +0 -12
- package/cura/loaders/cura-loader-circle/cura-loader-circle.component.scss +0 -39
- package/cura/loaders/cura-loader-circle/cura-loader-circle.component.ts +0 -45
- package/cura/loaders/cura-loader-circle/index.ts +0 -1
- package/cura/loaders/cura-loader-circle/ng-package.json +0 -6
- package/cura/loaders/cura-loader-circle/public-api.ts +0 -1
- package/cura/scss/mixins/buttons.scss +0 -244
- package/cura/scss/mixins/forms.scss +0 -298
- package/cura/scss/mixins/responsive.scss +0 -69
- package/cura/scss/mixins/shadows.scss +0 -71
- package/cura/scss/mixins/spacing.scss +0 -33
- package/cura/scss/mixins/text.scss +0 -11
- package/cura/texts/cura-display/cura-display.component.html +0 -41
- package/cura/texts/cura-display/cura-display.component.scss +0 -91
- package/cura/texts/cura-display/cura-display.component.ts +0 -85
- package/cura/texts/cura-display/index.ts +0 -1
- package/cura/texts/cura-display/ng-package.json +0 -6
- package/cura/texts/cura-display/public-api.ts +0 -1
- package/cura/texts/cura-heading/cura-heading.component.html +0 -41
- package/cura/texts/cura-heading/cura-heading.component.scss +0 -160
- package/cura/texts/cura-heading/cura-heading.component.ts +0 -111
- package/cura/texts/cura-heading/index.ts +0 -1
- package/cura/texts/cura-heading/ng-package.json +0 -6
- package/cura/texts/cura-heading/public-api.ts +0 -1
- package/cura/texts/cura-paragraph/cura-paragraph.component.html +0 -3
- package/cura/texts/cura-paragraph/cura-paragraph.component.scss +0 -130
- package/cura/texts/cura-paragraph/cura-paragraph.component.ts +0 -94
- package/cura/texts/cura-paragraph/index.ts +0 -1
- package/cura/texts/cura-paragraph/ng-package.json +0 -6
- package/cura/texts/cura-paragraph/public-api.ts +0 -1
- package/cura/texts/cura-texts.definitions.ts +0 -9
- package/cura/texts/index.ts +0 -1
- package/cura/texts/ng-package.json +0 -6
- package/cura/texts/public-api.ts +0 -1
- package/enums/EnumError.enum.ts +0 -4
- package/enums/EnumThemes.enum.ts +0 -8
- package/enums/Estados.enum.ts +0 -29
- package/enums/IconCuraDefaultType.enum.ts +0 -119
- package/enums/ImageMimeType.enum.ts +0 -5
- package/enums/UnidadeCoverageType.enum.ts +0 -5
- package/enums/index.ts +0 -1
- package/enums/ng-package.json +0 -6
- package/enums/public-api.ts +0 -6
- package/ng-package.json +0 -8
- package/services/algolia/algolia.service.spec.ts +0 -16
- package/services/algolia/algolia.service.ts +0 -36
- package/services/algolia/index.ts +0 -1
- package/services/algolia/ng-package.json +0 -6
- package/services/algolia/public-api.ts +0 -1
- package/services/algolia-search-api/algolia-search-api.service.spec.ts +0 -16
- package/services/algolia-search-api/algolia-search-api.service.ts +0 -72
- package/services/algolia-search-api/index.ts +0 -1
- package/services/algolia-search-api/ng-package.json +0 -6
- package/services/algolia-search-api/public-api.ts +0 -1
- package/services/ngu-carousel/index.ts +0 -1
- package/services/ngu-carousel/ng-package.json +0 -6
- package/services/ngu-carousel/ngu-carousel.service.spec.ts +0 -16
- package/services/ngu-carousel/ngu-carousel.service.ts +0 -80
- package/services/ngu-carousel/public-api.ts +0 -1
- package/services/ssr-loading/index.ts +0 -1
- package/services/ssr-loading/ng-package.json +0 -6
- package/services/ssr-loading/public-api.ts +0 -1
- package/services/ssr-loading/ssr-loading.service.spec.ts +0 -16
- package/services/ssr-loading/ssr-loading.service.ts +0 -41
- package/services/transfer-state/index.ts +0 -1
- package/services/transfer-state/ng-package.json +0 -6
- package/services/transfer-state/public-api.ts +0 -1
- package/services/transfer-state/transfer-state.service.spec.ts +0 -16
- package/services/transfer-state/transfer-state.service.ts +0 -38
- package/services/youtube/index.ts +0 -1
- package/services/youtube/ng-package.json +0 -6
- package/services/youtube/public-api.ts +0 -1
- package/services/youtube/youtube.service.spec.ts +0 -16
- package/services/youtube/youtube.service.ts +0 -28
- package/shared/directives/rdsite-click-outside/rdsite-click-outside.directive.spec.ts +0 -8
- package/shared/directives/rdsite-click-outside/rdsite-click-outside.directive.ts +0 -18
- package/shared/helpers/clean-text.func.ts +0 -15
- package/shared/helpers/mediaQueries.ts +0 -11
- package/shared/helpers/removeDuplicateObjectsFromArray.func.ts +0 -5
- package/shared/helpers/removeDuplicateValuesFromArray.func.ts +0 -5
- package/shared/helpers/stringToSlug.func.ts +0 -32
- package/shared/index.ts +0 -1
- package/shared/ng-package.json +0 -6
- package/shared/pipes/phone/phone.pipe.spec.ts +0 -8
- package/shared/pipes/phone/phone.pipe.ts +0 -11
- package/shared/public-api.ts +0 -9
- package/src/public-api.ts +0 -5
- package/styles/_mixins.scss +0 -49
- package/styles/_utilities.scss +0 -22
- package/tsconfig.lib.json +0 -13
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
package/core/index.d.ts
ADDED
|
@@ -0,0 +1,2049 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, InjectionToken, TemplateRef, ModelSignal } from '@angular/core';
|
|
3
|
+
import { Request, Response } from 'express';
|
|
4
|
+
import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
|
|
5
|
+
import { Observable, BehaviorSubject } from 'rxjs';
|
|
6
|
+
import { FormControl } from '@angular/forms';
|
|
7
|
+
|
|
8
|
+
interface LibConfig {
|
|
9
|
+
production: boolean;
|
|
10
|
+
environmentName: string;
|
|
11
|
+
siteProject: string;
|
|
12
|
+
server: boolean;
|
|
13
|
+
siteName: string;
|
|
14
|
+
siteUrl: string;
|
|
15
|
+
siteSufix?: string;
|
|
16
|
+
skipDuplicationSufixRule: boolean;
|
|
17
|
+
client_id: string;
|
|
18
|
+
xOriginApplication: string;
|
|
19
|
+
searchApiEnv: string;
|
|
20
|
+
fallbackImgSrc: string;
|
|
21
|
+
iconsetDefaultList: string[];
|
|
22
|
+
siteApi: {
|
|
23
|
+
auth: {
|
|
24
|
+
user: string;
|
|
25
|
+
password: string;
|
|
26
|
+
};
|
|
27
|
+
base: string;
|
|
28
|
+
baseInternal: string;
|
|
29
|
+
recaptcha: string;
|
|
30
|
+
centroEstudos: string;
|
|
31
|
+
};
|
|
32
|
+
algoliaConfig: {
|
|
33
|
+
id: string;
|
|
34
|
+
key: string;
|
|
35
|
+
};
|
|
36
|
+
wpUrl: string;
|
|
37
|
+
keywords: string;
|
|
38
|
+
logoPath?: string;
|
|
39
|
+
mapboxAccessToken: string;
|
|
40
|
+
mapboxSSRAccessToken: string;
|
|
41
|
+
customAnchorAdjustment?: (document: Document) => number;
|
|
42
|
+
customPhoneModalCondition?: (element: ElementRef<any>) => boolean;
|
|
43
|
+
customInternalLinkNavigation?: (noBaseHref: string) => boolean;
|
|
44
|
+
forcePageReload?: boolean;
|
|
45
|
+
transferState?: {
|
|
46
|
+
includeHeaders?: string[];
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
declare const LIB_CONFIG: InjectionToken<LibConfig>;
|
|
50
|
+
|
|
51
|
+
declare const REQUEST: InjectionToken<Request>;
|
|
52
|
+
declare const RESPONSE: InjectionToken<Response>;
|
|
53
|
+
|
|
54
|
+
declare class RdsiteLinkDirective {
|
|
55
|
+
private router;
|
|
56
|
+
private platformId;
|
|
57
|
+
private document;
|
|
58
|
+
private libConfig;
|
|
59
|
+
private element;
|
|
60
|
+
private phoneService;
|
|
61
|
+
private rdsitePhoneModalDirective;
|
|
62
|
+
private deviceDetectorService;
|
|
63
|
+
anchorAdjustment: i0.InputSignal<number | null>;
|
|
64
|
+
anchorExtraAdjustment: i0.InputSignal<number | null>;
|
|
65
|
+
phonemodal: i0.InputSignal<TemplateRef<HTMLElement> | null>;
|
|
66
|
+
private externalRegex;
|
|
67
|
+
private telRegex;
|
|
68
|
+
private mailRegex;
|
|
69
|
+
private siteUrlList;
|
|
70
|
+
private allowedTags;
|
|
71
|
+
onClick(event: Event): void;
|
|
72
|
+
private verifyUtm;
|
|
73
|
+
private isPhone;
|
|
74
|
+
private isMail;
|
|
75
|
+
private phoneClicked;
|
|
76
|
+
private setPhoneModal;
|
|
77
|
+
private isExternalUrl;
|
|
78
|
+
private isSiteUrl;
|
|
79
|
+
private isAnchor;
|
|
80
|
+
private getAnchor;
|
|
81
|
+
private scrollToAnchor;
|
|
82
|
+
private navigateTo;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdsiteLinkDirective, never>;
|
|
84
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdsiteLinkDirective, "[rdsitelink]", never, { "anchorAdjustment": { "alias": "anchorAdjustment"; "required": false; "isSignal": true; }; "anchorExtraAdjustment": { "alias": "anchorExtraAdjustment"; "required": false; "isSignal": true; }; "phonemodal": { "alias": "phonemodal"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
declare class RdsitePhoneModalDirective {
|
|
88
|
+
private modalService;
|
|
89
|
+
private platformId;
|
|
90
|
+
private element;
|
|
91
|
+
private phoneService;
|
|
92
|
+
rdsitephonemodal: i0.ModelSignal<TemplateRef<HTMLElement> | null>;
|
|
93
|
+
private allowedTags;
|
|
94
|
+
onClick(event: Event): void;
|
|
95
|
+
openPhoneModal(event: Event, href: string): void;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdsitePhoneModalDirective, never>;
|
|
97
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdsitePhoneModalDirective, "[rdsitephonemodal]", never, { "rdsitephonemodal": { "alias": "rdsitephonemodal"; "required": false; "isSignal": true; }; }, { "rdsitephonemodal": "rdsitephonemodalChange"; }, never, never, true, never>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
declare enum RdsiteModalComponentStyle {
|
|
101
|
+
DEFAULT = "default",
|
|
102
|
+
ALERT = "alert",
|
|
103
|
+
LIGHT = "light",
|
|
104
|
+
DOCTORCARD = "doctor-card",
|
|
105
|
+
HOMESLIDE = "home-slide",
|
|
106
|
+
BASIC = "basic",
|
|
107
|
+
SHARING = "sharing",
|
|
108
|
+
FORMFALLBACK = "form-fallback",
|
|
109
|
+
FILTER = "filter",
|
|
110
|
+
FILTERDOENCAS = "filter-doencas",
|
|
111
|
+
PHOTOGALLERY = "photo-gallery"
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
declare enum RdsiteModalDrawerComponentStyle {
|
|
115
|
+
DEFAULT = "default",
|
|
116
|
+
DRAWERDOCTOR = "doctor-card",
|
|
117
|
+
FORMFALLBACK = "form-fallback",
|
|
118
|
+
FILTERDOENCAS = "filter-doencas",
|
|
119
|
+
PHOTOGALLERY = "photo-gallery"
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
declare const getSiteUrl: (siteUrl?: string, siteSufix?: string) => string;
|
|
123
|
+
|
|
124
|
+
declare function removeHtmlTags(content: string): string;
|
|
125
|
+
|
|
126
|
+
declare const checkSafariAgent: () => boolean;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Função que retorna um replacer personalizado para o JSON.stringify que resolve problemas de estruturas circulares durante a serialização.
|
|
130
|
+
*/
|
|
131
|
+
declare function getCircularReplacer(customOptions?: {
|
|
132
|
+
ignoreKeys?: string[];
|
|
133
|
+
maxDepth?: number;
|
|
134
|
+
}): (key: string, value: any) => any;
|
|
135
|
+
|
|
136
|
+
declare const formatPhone: (phone: string) => string;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Executa uma função recursivamente até que uma condição seja atendida ou atinja o máximo de tentativas
|
|
140
|
+
* @param fn - Função a ser executada quando a condição for atendida
|
|
141
|
+
* @param condition - Função que retorna true quando a condição for satisfeita
|
|
142
|
+
* @param maxTries - Número máximo de tentativas (padrão: 10)
|
|
143
|
+
* @param delay - Delay entre tentativas em ms (padrão: 200)
|
|
144
|
+
* @param currentTry - Contador interno de tentativas (padrão: 0)
|
|
145
|
+
* @param args - Argumentos que serão passados para a função fn
|
|
146
|
+
*/
|
|
147
|
+
declare function executeWithRetry<T extends any[]>(fn: (...args: T) => void, condition: () => boolean, maxTries?: number, delay?: number, currentTry?: number, ...args: T): void;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Função de hash djb2 para gerar chaves numéricas únicas
|
|
151
|
+
*
|
|
152
|
+
* @param str - String para gerar hash
|
|
153
|
+
* @returns Número hash único e positivo
|
|
154
|
+
*/
|
|
155
|
+
declare const djb2Hash: (str: string) => number;
|
|
156
|
+
|
|
157
|
+
declare class ErrorInterceptor implements HttpInterceptor {
|
|
158
|
+
private logService;
|
|
159
|
+
private siteBackendService;
|
|
160
|
+
private platformId;
|
|
161
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
162
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorInterceptor, never>;
|
|
163
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorInterceptor>;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
declare class LogInterceptor implements HttpInterceptor {
|
|
167
|
+
private logService;
|
|
168
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
169
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LogInterceptor, never>;
|
|
170
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LogInterceptor>;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Interceptor para resolver o problema de TransferState com urls diferentes
|
|
175
|
+
*
|
|
176
|
+
* Problema: O SiteBackendService usa urls diferentes no server (baseInternal) e no client (base), fazendo com que o TransferState nativo do Angular não funcione corretamente.
|
|
177
|
+
*
|
|
178
|
+
* Solução:
|
|
179
|
+
* - Server: Usa url interna, mas salva no TransferState baseado na url externa
|
|
180
|
+
* - Client: Verifica TransferState usando url externa antes de fazer alguma requisição
|
|
181
|
+
*
|
|
182
|
+
* Dessa forma é possivel fazer o uso do TransferState mesmo com urls diferentes ("baseInternal" no server e "base" no client).
|
|
183
|
+
*/
|
|
184
|
+
declare class TransferStateUrlInterceptor implements HttpInterceptor {
|
|
185
|
+
private platformId;
|
|
186
|
+
private transferState;
|
|
187
|
+
private libConfig;
|
|
188
|
+
intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
189
|
+
/**
|
|
190
|
+
* Filtra headers da resposta baseado na configuração no LibConfig
|
|
191
|
+
*/
|
|
192
|
+
private filterHeaders;
|
|
193
|
+
private handleServerRequest;
|
|
194
|
+
private handleClientRequest;
|
|
195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransferStateUrlInterceptor, never>;
|
|
196
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TransferStateUrlInterceptor>;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
interface BreadcrumbsItems {
|
|
200
|
+
label: string;
|
|
201
|
+
url?: string[];
|
|
202
|
+
helper?: string;
|
|
203
|
+
groupName?: string;
|
|
204
|
+
icon?: string;
|
|
205
|
+
iconColor?: string;
|
|
206
|
+
iconSize?: number;
|
|
207
|
+
iconDisabled?: boolean;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
interface BreadcrumbsJsonItem {
|
|
211
|
+
'@type': 'ListItem';
|
|
212
|
+
position: number;
|
|
213
|
+
item: {
|
|
214
|
+
'@id': string;
|
|
215
|
+
name: string;
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
interface PrivacyToolsCookieBanner {
|
|
220
|
+
styleSrc: string;
|
|
221
|
+
scriptSrc: string;
|
|
222
|
+
basePath: string[];
|
|
223
|
+
}
|
|
224
|
+
interface PrivacyToolsConfigOptions {
|
|
225
|
+
cookieBanners?: PrivacyToolsCookieBanner[];
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
interface SeoData {
|
|
229
|
+
title: {
|
|
230
|
+
text: string;
|
|
231
|
+
sub?: boolean;
|
|
232
|
+
};
|
|
233
|
+
description: any;
|
|
234
|
+
canonical?: string;
|
|
235
|
+
socialTags?: any;
|
|
236
|
+
keywords?: string;
|
|
237
|
+
alternateName?: string;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
interface SeoUnidade {
|
|
241
|
+
unidade: any;
|
|
242
|
+
unidadeName: string;
|
|
243
|
+
unidadePath: string;
|
|
244
|
+
unidadeSlug: string;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
interface SocialMetaProperties {
|
|
248
|
+
title?: string;
|
|
249
|
+
url?: string;
|
|
250
|
+
type?: string;
|
|
251
|
+
description?: string;
|
|
252
|
+
image?: string;
|
|
253
|
+
twitterCard?: string;
|
|
254
|
+
twitterSite?: string;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
interface Content {
|
|
258
|
+
rendered: string;
|
|
259
|
+
protected: boolean;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
interface Excerpt {
|
|
263
|
+
rendered: string;
|
|
264
|
+
protected: boolean;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
interface FeaturedMediaDetails {
|
|
268
|
+
width: number;
|
|
269
|
+
height: number;
|
|
270
|
+
file: string;
|
|
271
|
+
sizes: any;
|
|
272
|
+
image_meta: any;
|
|
273
|
+
}
|
|
274
|
+
interface FeaturedMedia {
|
|
275
|
+
id: number;
|
|
276
|
+
date: string;
|
|
277
|
+
slug: string;
|
|
278
|
+
type: string;
|
|
279
|
+
link: string;
|
|
280
|
+
title: {
|
|
281
|
+
rendered: string;
|
|
282
|
+
};
|
|
283
|
+
author: number;
|
|
284
|
+
caption: {
|
|
285
|
+
rendered: string;
|
|
286
|
+
};
|
|
287
|
+
alt_text: string;
|
|
288
|
+
media_type: string;
|
|
289
|
+
mime_type: string;
|
|
290
|
+
media_details: FeaturedMediaDetails;
|
|
291
|
+
source_url: any;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
interface Guid {
|
|
295
|
+
rendered: string;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
interface Links {
|
|
299
|
+
self?: {
|
|
300
|
+
href: string;
|
|
301
|
+
}[];
|
|
302
|
+
collection?: {
|
|
303
|
+
href: string;
|
|
304
|
+
}[];
|
|
305
|
+
about?: {
|
|
306
|
+
href: string;
|
|
307
|
+
}[];
|
|
308
|
+
author?: {
|
|
309
|
+
embeddable: boolean;
|
|
310
|
+
href: string;
|
|
311
|
+
}[];
|
|
312
|
+
replies?: {
|
|
313
|
+
embeddable: boolean;
|
|
314
|
+
href: string;
|
|
315
|
+
}[];
|
|
316
|
+
'version-history'?: {
|
|
317
|
+
count: number;
|
|
318
|
+
href: string;
|
|
319
|
+
}[];
|
|
320
|
+
'acf:term'?: {
|
|
321
|
+
embedabble: boolean;
|
|
322
|
+
taxonomy: string;
|
|
323
|
+
href: string;
|
|
324
|
+
}[];
|
|
325
|
+
'acf:post'?: {
|
|
326
|
+
embedabble: boolean;
|
|
327
|
+
href: string;
|
|
328
|
+
}[];
|
|
329
|
+
'wp:featuredmedia'?: {
|
|
330
|
+
embedabble: boolean;
|
|
331
|
+
href: string;
|
|
332
|
+
}[];
|
|
333
|
+
'wp:attachment'?: {
|
|
334
|
+
href: string;
|
|
335
|
+
}[];
|
|
336
|
+
'wp:post_type'?: {
|
|
337
|
+
href: string;
|
|
338
|
+
}[];
|
|
339
|
+
curies?: {
|
|
340
|
+
name: string;
|
|
341
|
+
href: string;
|
|
342
|
+
templated: boolean;
|
|
343
|
+
}[];
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
interface Meta {
|
|
347
|
+
inline_featured_image: boolean;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
interface Title {
|
|
351
|
+
rendered: string;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
interface YoastData {
|
|
355
|
+
_yoast_wpseo_title: string[];
|
|
356
|
+
_yoast_wpseo_metadesk: string[];
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
interface Robots {
|
|
360
|
+
index: string;
|
|
361
|
+
follow: string;
|
|
362
|
+
'max-snippet': string;
|
|
363
|
+
'max-image-preview': string;
|
|
364
|
+
'max-video-preview': string;
|
|
365
|
+
}
|
|
366
|
+
interface Graph {
|
|
367
|
+
'@type': string;
|
|
368
|
+
'@id': string;
|
|
369
|
+
url: string;
|
|
370
|
+
name: string;
|
|
371
|
+
isPartOf: {
|
|
372
|
+
'@id': string;
|
|
373
|
+
};
|
|
374
|
+
datePublished: string;
|
|
375
|
+
dateModified: string;
|
|
376
|
+
description: string;
|
|
377
|
+
breadcrumb: {
|
|
378
|
+
'@id': string;
|
|
379
|
+
};
|
|
380
|
+
inLanguage: string;
|
|
381
|
+
potentialAction: {
|
|
382
|
+
'@type': string;
|
|
383
|
+
target: string[];
|
|
384
|
+
}[];
|
|
385
|
+
}
|
|
386
|
+
interface Schema {
|
|
387
|
+
'@context': string;
|
|
388
|
+
'@graph': Graph[];
|
|
389
|
+
}
|
|
390
|
+
interface OgImage {
|
|
391
|
+
width: number;
|
|
392
|
+
height: number;
|
|
393
|
+
url: string;
|
|
394
|
+
type: string;
|
|
395
|
+
}
|
|
396
|
+
interface YoastHeadJson {
|
|
397
|
+
title: string;
|
|
398
|
+
description?: string;
|
|
399
|
+
robots: Robots;
|
|
400
|
+
canonical: string;
|
|
401
|
+
og_locale: string;
|
|
402
|
+
og_type: string;
|
|
403
|
+
og_title: string;
|
|
404
|
+
og_description: string;
|
|
405
|
+
og_url: string;
|
|
406
|
+
og_site_name: string;
|
|
407
|
+
article_modified_time: string;
|
|
408
|
+
author?: string;
|
|
409
|
+
twitter_card: string;
|
|
410
|
+
twitter_misc?: any;
|
|
411
|
+
og_image?: OgImage;
|
|
412
|
+
schema: Schema;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
interface YoastMeta {
|
|
416
|
+
yoast_wpseo_title: string;
|
|
417
|
+
yoast_wpseo_metadesc: string;
|
|
418
|
+
yoast_wpseo_canonical: string;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
interface WpCommonResponse<T = any> {
|
|
422
|
+
id: number;
|
|
423
|
+
ID: number;
|
|
424
|
+
guid: Guid;
|
|
425
|
+
slug: string;
|
|
426
|
+
status: string;
|
|
427
|
+
type: string;
|
|
428
|
+
link: string;
|
|
429
|
+
title: Title;
|
|
430
|
+
content: Content;
|
|
431
|
+
excerpt: Excerpt;
|
|
432
|
+
featured_media: number | string | FeaturedMedia;
|
|
433
|
+
template: string;
|
|
434
|
+
acf?: T;
|
|
435
|
+
}
|
|
436
|
+
interface WpGlobalResponse {
|
|
437
|
+
_embedded?: any;
|
|
438
|
+
_links?: Links;
|
|
439
|
+
}
|
|
440
|
+
interface WpPublishingResponse {
|
|
441
|
+
date: string;
|
|
442
|
+
date_gmt: string;
|
|
443
|
+
modified: string;
|
|
444
|
+
modified_gmt: string;
|
|
445
|
+
}
|
|
446
|
+
interface WpYoastResponse {
|
|
447
|
+
yoast_head?: string;
|
|
448
|
+
yoast_head_json?: YoastHeadJson;
|
|
449
|
+
yoast_data?: YoastData;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
interface WpCategory<T = any> extends WpGlobalResponse, Omit<WpYoastResponse, 'yoast_data'> {
|
|
453
|
+
id: number;
|
|
454
|
+
count: number;
|
|
455
|
+
description: string;
|
|
456
|
+
link: string;
|
|
457
|
+
name: string;
|
|
458
|
+
slug: string;
|
|
459
|
+
taxonomy: string;
|
|
460
|
+
parent: number;
|
|
461
|
+
meta: any;
|
|
462
|
+
acf?: T;
|
|
463
|
+
[propName: string]: any;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
interface WpGlobalQueryParams {
|
|
467
|
+
_fields?: string;
|
|
468
|
+
_envelope?: boolean;
|
|
469
|
+
_embed?: string | 1;
|
|
470
|
+
}
|
|
471
|
+
interface WpPaginationQueryParams {
|
|
472
|
+
page?: number;
|
|
473
|
+
per_page?: number;
|
|
474
|
+
offset?: number;
|
|
475
|
+
order?: 'asc' | 'desc';
|
|
476
|
+
orderby?: string;
|
|
477
|
+
}
|
|
478
|
+
interface WpCommonQueryParams {
|
|
479
|
+
context?: 'view' | 'embed' | 'edit';
|
|
480
|
+
search?: string;
|
|
481
|
+
exclude?: string | number;
|
|
482
|
+
include?: string | number;
|
|
483
|
+
}
|
|
484
|
+
interface WpAuthorQueryParams {
|
|
485
|
+
author?: string;
|
|
486
|
+
author_exclude?: string;
|
|
487
|
+
}
|
|
488
|
+
interface WpPublishingQueryParams {
|
|
489
|
+
after?: string;
|
|
490
|
+
modified_after?: string;
|
|
491
|
+
before?: string;
|
|
492
|
+
modified_before?: string;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
interface WpCategoryQueryParams extends WpGlobalQueryParams, WpPaginationQueryParams, WpCommonQueryParams {
|
|
496
|
+
orderby?: 'id' | 'include' | 'name' | 'slug' | 'include_slugs' | 'term_group' | 'description' | 'count';
|
|
497
|
+
hide_empty?: boolean;
|
|
498
|
+
parent?: string | number;
|
|
499
|
+
post?: string | number;
|
|
500
|
+
slug?: string;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
interface FlexibleContent {
|
|
504
|
+
acf_fc_layout: string;
|
|
505
|
+
[attr: string]: any;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
interface WpPage<T = any> extends WpCommonResponse<T>, WpGlobalResponse, WpPublishingResponse, WpYoastResponse {
|
|
509
|
+
author: number;
|
|
510
|
+
parent: number;
|
|
511
|
+
menu_order: number;
|
|
512
|
+
comment_status: string;
|
|
513
|
+
ping_status: string;
|
|
514
|
+
meta: Meta;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
interface WpPageQueryParams extends WpGlobalQueryParams, WpPaginationQueryParams, WpCommonQueryParams, WpAuthorQueryParams, WpPublishingQueryParams {
|
|
518
|
+
id?: number;
|
|
519
|
+
menu_order?: string | number;
|
|
520
|
+
orderby?: 'author' | 'date' | 'id' | 'include' | 'modified' | 'parent' | 'relevance' | 'slug' | 'include_slugs' | 'title' | 'menu_order';
|
|
521
|
+
parent?: string | number;
|
|
522
|
+
parent_exclude?: string | number;
|
|
523
|
+
slug?: string;
|
|
524
|
+
status?: string;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
interface RdslPostCategory {
|
|
528
|
+
id?: number;
|
|
529
|
+
name: string;
|
|
530
|
+
slug?: string;
|
|
531
|
+
highlightColor?: string;
|
|
532
|
+
textColor?: string;
|
|
533
|
+
themeColor?: string;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
interface WpPost<T = any> extends WpCommonResponse<T>, WpGlobalResponse, WpPublishingResponse, WpYoastResponse {
|
|
537
|
+
author: number;
|
|
538
|
+
comment_status: string;
|
|
539
|
+
ping_status: string;
|
|
540
|
+
sticky: boolean;
|
|
541
|
+
format: string;
|
|
542
|
+
meta: any;
|
|
543
|
+
categories: number[];
|
|
544
|
+
tags: string[];
|
|
545
|
+
featured_media_path: string;
|
|
546
|
+
body?: WpPost[];
|
|
547
|
+
headers?: {
|
|
548
|
+
'X-WP-Total'?: number;
|
|
549
|
+
'X-WP-TotalPages': number;
|
|
550
|
+
};
|
|
551
|
+
rdslMainCategory?: RdslPostCategory;
|
|
552
|
+
downloadItemCategories: WpCategory[];
|
|
553
|
+
}
|
|
554
|
+
interface WpCustomPost<T = any> extends WpCommonResponse<T>, WpGlobalResponse, WpPublishingResponse, WpYoastResponse {
|
|
555
|
+
author?: number;
|
|
556
|
+
comment_status?: string;
|
|
557
|
+
ping_status?: string;
|
|
558
|
+
sticky?: boolean;
|
|
559
|
+
format?: string;
|
|
560
|
+
categories?: number[];
|
|
561
|
+
tags?: string[];
|
|
562
|
+
acf?: T;
|
|
563
|
+
featured_media_path?: string;
|
|
564
|
+
[attr: string]: any;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
interface WpPostQueryParams extends WpGlobalQueryParams, WpPaginationQueryParams, WpCommonQueryParams, WpAuthorQueryParams, WpPublishingQueryParams {
|
|
568
|
+
id?: number;
|
|
569
|
+
orderby?: 'author' | 'date' | 'id' | 'include' | 'modified' | 'parent' | 'relevance' | 'slug' | 'include_slugs' | 'title';
|
|
570
|
+
slug?: string;
|
|
571
|
+
status?: string;
|
|
572
|
+
tax_relation?: 'AND' | 'OR';
|
|
573
|
+
categories?: string | number;
|
|
574
|
+
categories_exclude?: string | number;
|
|
575
|
+
tags?: string;
|
|
576
|
+
tags_exclude?: string;
|
|
577
|
+
sticky?: string;
|
|
578
|
+
downloads_local?: number | string;
|
|
579
|
+
downloads_cat_slug?: string;
|
|
580
|
+
download_cat?: number | string;
|
|
581
|
+
inscricao?: number | string;
|
|
582
|
+
videos_cat?: number | string;
|
|
583
|
+
subtype?: string;
|
|
584
|
+
[attr: string]: any;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
interface WpUnidadeOnco extends WpCommonResponse, WpGlobalResponse, WpPublishingResponse, WpYoastResponse {
|
|
588
|
+
path?: string;
|
|
589
|
+
details?: any;
|
|
590
|
+
info?: any;
|
|
591
|
+
acf: {
|
|
592
|
+
convenios: UnidadeConvenios;
|
|
593
|
+
descricao: string;
|
|
594
|
+
especialidades: UnidadeEspecialidades;
|
|
595
|
+
horario_atendimento: string;
|
|
596
|
+
id_qualidade: number | string;
|
|
597
|
+
id_motion: number | string;
|
|
598
|
+
instalacoes: any;
|
|
599
|
+
localizacao: UnidadeLocalizacao;
|
|
600
|
+
redes_sociais: any;
|
|
601
|
+
servicos: UnidadeServicos;
|
|
602
|
+
sobre: UnidadeSobre;
|
|
603
|
+
telefone: string;
|
|
604
|
+
tem_certificados?: boolean;
|
|
605
|
+
tratamentos: UnidadeTratamentos;
|
|
606
|
+
videos: any;
|
|
607
|
+
url_site?: string;
|
|
608
|
+
whatsapp_linhaverde?: any;
|
|
609
|
+
telefone_linhaverde?: any;
|
|
610
|
+
email_linhaverde?: any;
|
|
611
|
+
};
|
|
612
|
+
}
|
|
613
|
+
interface UnidadeConvenios {
|
|
614
|
+
texto: string;
|
|
615
|
+
lista: string;
|
|
616
|
+
}
|
|
617
|
+
interface UnidadeEspecialidades {
|
|
618
|
+
texto: string;
|
|
619
|
+
lista: Array<any>;
|
|
620
|
+
}
|
|
621
|
+
interface UnidadeLocalizacao {
|
|
622
|
+
bairro: string;
|
|
623
|
+
cep: string;
|
|
624
|
+
endereco: string;
|
|
625
|
+
municipio: string;
|
|
626
|
+
uf: string;
|
|
627
|
+
mapa: string;
|
|
628
|
+
url_mapa: string;
|
|
629
|
+
}
|
|
630
|
+
interface UnidadeServicos {
|
|
631
|
+
texto: string;
|
|
632
|
+
}
|
|
633
|
+
interface UnidadeSobre {
|
|
634
|
+
titulo: string;
|
|
635
|
+
texto: string;
|
|
636
|
+
}
|
|
637
|
+
interface UnidadeTratamentos {
|
|
638
|
+
texto: string;
|
|
639
|
+
lista: Array<any>;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
interface MenuItem {
|
|
643
|
+
ID: string | number;
|
|
644
|
+
attr_title: string;
|
|
645
|
+
classes: string[];
|
|
646
|
+
comment_count: string;
|
|
647
|
+
comment_status: string;
|
|
648
|
+
db_id: string | number;
|
|
649
|
+
description: string;
|
|
650
|
+
filter: string;
|
|
651
|
+
guid: string;
|
|
652
|
+
menu_item_parent: string;
|
|
653
|
+
menu_order: string | number;
|
|
654
|
+
object: string;
|
|
655
|
+
object_id: string | number;
|
|
656
|
+
ping_status: string;
|
|
657
|
+
pinged: string;
|
|
658
|
+
post_author: string;
|
|
659
|
+
post_content: string;
|
|
660
|
+
post_content_filtered: string;
|
|
661
|
+
post_date: string;
|
|
662
|
+
post_date_gmt: string;
|
|
663
|
+
post_excerpt: string;
|
|
664
|
+
post_mime_type: string;
|
|
665
|
+
post_modified: string;
|
|
666
|
+
post_modified_gmt: string;
|
|
667
|
+
post_name: string;
|
|
668
|
+
post_parent: string | number;
|
|
669
|
+
post_password: string;
|
|
670
|
+
post_status: string;
|
|
671
|
+
post_title: string;
|
|
672
|
+
post_type: string;
|
|
673
|
+
target: string;
|
|
674
|
+
title: string;
|
|
675
|
+
to_ping: string;
|
|
676
|
+
type: string;
|
|
677
|
+
type_label: string;
|
|
678
|
+
url: string;
|
|
679
|
+
xfn: string;
|
|
680
|
+
children?: MenuItem[];
|
|
681
|
+
itens_destaque?: MenuItemDestaque[];
|
|
682
|
+
ctas?: MenuCta[];
|
|
683
|
+
active?: boolean;
|
|
684
|
+
external?: boolean;
|
|
685
|
+
}
|
|
686
|
+
interface MenuItemDestaque {
|
|
687
|
+
titulo: string;
|
|
688
|
+
descricao: string;
|
|
689
|
+
link: string;
|
|
690
|
+
imagem: any;
|
|
691
|
+
}
|
|
692
|
+
interface MenuCta {
|
|
693
|
+
titulo: string;
|
|
694
|
+
link: string;
|
|
695
|
+
icone: string;
|
|
696
|
+
}
|
|
697
|
+
interface UnifiedMenu {
|
|
698
|
+
main: MenuItem[];
|
|
699
|
+
auxiliar: MenuItem[];
|
|
700
|
+
footer: MenuItem[];
|
|
701
|
+
social: MenuItem[];
|
|
702
|
+
support: MenuItem[];
|
|
703
|
+
}
|
|
704
|
+
interface MenuSocialMedia {
|
|
705
|
+
icon: string;
|
|
706
|
+
title: string;
|
|
707
|
+
link: string;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
interface HomeSlideshow {
|
|
711
|
+
home_slideshow_img_desktop: any;
|
|
712
|
+
home_slideshow_img_mobile: any;
|
|
713
|
+
home_slideshow_titulo: string;
|
|
714
|
+
home_slideshow_subtitulo: string;
|
|
715
|
+
home_sideshow_labelcta: string;
|
|
716
|
+
home_slideshow_linkcta: string;
|
|
717
|
+
}
|
|
718
|
+
interface UnidadeEspecialidadeProcurada {
|
|
719
|
+
nome_da_especialidade: string;
|
|
720
|
+
icone_da_especialidade: string;
|
|
721
|
+
link_da_especialidade: string;
|
|
722
|
+
}
|
|
723
|
+
interface UnidadeExamesProcurados {
|
|
724
|
+
nome_do_exame: string;
|
|
725
|
+
icone_do_exame: string;
|
|
726
|
+
link_do_exame: string;
|
|
727
|
+
}
|
|
728
|
+
interface UnidadeEmergencia {
|
|
729
|
+
emergencia: string;
|
|
730
|
+
endereco_emergencia: string;
|
|
731
|
+
link: string;
|
|
732
|
+
especialidades: any[];
|
|
733
|
+
}
|
|
734
|
+
interface UnidadeEncontreFarma {
|
|
735
|
+
encontre_farma_enabled: boolean;
|
|
736
|
+
encontre_farma_sidebar_banner: UnidadeEncontreFarmaSidebarBanner;
|
|
737
|
+
encontre_farma_banner_home: {
|
|
738
|
+
show_banner_home: boolean;
|
|
739
|
+
banner_title: string;
|
|
740
|
+
banner_subtitle: string;
|
|
741
|
+
banner_cta_label: string;
|
|
742
|
+
banner_cta_url: string;
|
|
743
|
+
banner_img_background: any;
|
|
744
|
+
banner_style: string;
|
|
745
|
+
banner_cta_color: string;
|
|
746
|
+
};
|
|
747
|
+
}
|
|
748
|
+
interface UnidadeEncontreFarmaSidebarBanner {
|
|
749
|
+
img: any;
|
|
750
|
+
url: string;
|
|
751
|
+
show_sidebar_banner_everywhere: boolean;
|
|
752
|
+
show_sidebar_banner_doencas: boolean;
|
|
753
|
+
show_sidebar_banner_exames: boolean;
|
|
754
|
+
show_sidebar_banner_especialidades: boolean;
|
|
755
|
+
}
|
|
756
|
+
interface UnidadeNossasMarcas {
|
|
757
|
+
title: string;
|
|
758
|
+
partners: {
|
|
759
|
+
name: string;
|
|
760
|
+
link: string;
|
|
761
|
+
}[];
|
|
762
|
+
}
|
|
763
|
+
interface WpUnidadeSiteDetalhe {
|
|
764
|
+
unidade_nome: string;
|
|
765
|
+
consulta: boolean;
|
|
766
|
+
encontre_um_medico: boolean;
|
|
767
|
+
unidade_exibir_whatsapp_fab: boolean;
|
|
768
|
+
unidade_label_link_whatsapp_home?: string;
|
|
769
|
+
unidade_link_whatsapp_home?: string;
|
|
770
|
+
unidade_exibir_whatsapp_exames?: boolean;
|
|
771
|
+
unidade_label_link_whatsapp_exames?: string;
|
|
772
|
+
unidade_link_whatsapp_exames?: string;
|
|
773
|
+
unidade_url_oncologia?: string;
|
|
774
|
+
unidade_oferece_oncologia: string[] | string;
|
|
775
|
+
unidade_imagem: any;
|
|
776
|
+
unidade_endereco: string;
|
|
777
|
+
unidade_estado: string;
|
|
778
|
+
unidade_site: string;
|
|
779
|
+
unidade_telefone: string;
|
|
780
|
+
unidade_link_mapa: string;
|
|
781
|
+
unidade_logomarca: any;
|
|
782
|
+
unidade_logomarca_negativa?: any;
|
|
783
|
+
unidade_email?: string;
|
|
784
|
+
unidade_email_cirurgia: string;
|
|
785
|
+
unidade_telefone_central: string;
|
|
786
|
+
unidade_uf: string;
|
|
787
|
+
unidade_areas_busca: string[];
|
|
788
|
+
unidade_cidade: string;
|
|
789
|
+
home_slideshow?: HomeSlideshow[] | boolean;
|
|
790
|
+
cta1?: any;
|
|
791
|
+
cta2?: any;
|
|
792
|
+
home_destaques_secundarios?: any;
|
|
793
|
+
especialidades_procuradas?: UnidadeEspecialidadeProcurada[];
|
|
794
|
+
exames_procurados?: UnidadeExamesProcurados[];
|
|
795
|
+
home_servicos?: any;
|
|
796
|
+
id_qualidade_unidade: string;
|
|
797
|
+
id_motion_unidade: string;
|
|
798
|
+
id_motion_consultas?: string;
|
|
799
|
+
id_motion_exames?: string;
|
|
800
|
+
id_local?: string;
|
|
801
|
+
emergencias?: UnidadeEmergencia[] | false;
|
|
802
|
+
exames_unidade: boolean;
|
|
803
|
+
resultados_exames: boolean;
|
|
804
|
+
especialidades_unidade: boolean;
|
|
805
|
+
blog_id?: string;
|
|
806
|
+
domain: string;
|
|
807
|
+
path: string;
|
|
808
|
+
site_id: string;
|
|
809
|
+
registered: string;
|
|
810
|
+
last_updated: string;
|
|
811
|
+
public: string;
|
|
812
|
+
archived?: string;
|
|
813
|
+
mature: string;
|
|
814
|
+
spam: string;
|
|
815
|
+
deleted: string;
|
|
816
|
+
lang_id: string;
|
|
817
|
+
name?: string;
|
|
818
|
+
description?: string;
|
|
819
|
+
url?: string;
|
|
820
|
+
admin_email?: string;
|
|
821
|
+
charset?: string;
|
|
822
|
+
version?: string;
|
|
823
|
+
language?: string;
|
|
824
|
+
tipo_unidade?: string;
|
|
825
|
+
categoria_unidade?: string;
|
|
826
|
+
cadastro_de_unidade?: any[];
|
|
827
|
+
unidade_possui_outras_unidades: string[] | string;
|
|
828
|
+
unidade_outras_clinicas_oncologicas?: [
|
|
829
|
+
{
|
|
830
|
+
unidade_outrasclinicas_nome: string;
|
|
831
|
+
unidade_outrasclinicas_url: string;
|
|
832
|
+
unidade_outrasclinicas_uf: string[] | string;
|
|
833
|
+
}
|
|
834
|
+
];
|
|
835
|
+
unidade_oferece_maternidade: boolean;
|
|
836
|
+
unidade_maternidade_nome: string;
|
|
837
|
+
unidade_maternidade_url: string;
|
|
838
|
+
unidade_maternidade_endereco: {
|
|
839
|
+
unidade_maternidade_endereco_endereco: string;
|
|
840
|
+
unidade_maternidade_endereco_cidade: string;
|
|
841
|
+
unidade_maternidade_endereco_uf: string;
|
|
842
|
+
};
|
|
843
|
+
unidade_maternidade_show_site: boolean;
|
|
844
|
+
banners_encontre_farma?: UnidadeEncontreFarma;
|
|
845
|
+
hide_menu_unidades: boolean;
|
|
846
|
+
uses_nova_home?: boolean;
|
|
847
|
+
partnerships: UnidadeNossasMarcas;
|
|
848
|
+
unidade_estilo_whatsapp: UnidadeEstiloWhatsapp;
|
|
849
|
+
unidade_modal_agendamento: UnidadePhoneModal;
|
|
850
|
+
unidade_modal_generico: UnidadePhoneModal;
|
|
851
|
+
general_ctas?: UnidadeCta[];
|
|
852
|
+
side_ctas?: UnidadeCta[];
|
|
853
|
+
entrar_link?: string;
|
|
854
|
+
social_media?: MenuSocialMedia[];
|
|
855
|
+
}
|
|
856
|
+
interface UnidadeEstiloWhatsapp {
|
|
857
|
+
cor_da_borda: string;
|
|
858
|
+
cor_de_fundo: string;
|
|
859
|
+
cor_fundo_label: string;
|
|
860
|
+
cor_label: string;
|
|
861
|
+
cor_whatsapp: string;
|
|
862
|
+
imagem: any;
|
|
863
|
+
}
|
|
864
|
+
interface UnidadeCta {
|
|
865
|
+
icon: string;
|
|
866
|
+
text: string;
|
|
867
|
+
url: string;
|
|
868
|
+
}
|
|
869
|
+
interface UnidadePhoneModal {
|
|
870
|
+
titulo: string;
|
|
871
|
+
texto: string;
|
|
872
|
+
imagem: any;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
interface UnidadeInfo {
|
|
876
|
+
admin_email: string;
|
|
877
|
+
charset: string;
|
|
878
|
+
description: string;
|
|
879
|
+
language: string;
|
|
880
|
+
name: string;
|
|
881
|
+
url: string;
|
|
882
|
+
version: string;
|
|
883
|
+
}
|
|
884
|
+
interface UnidadeOptions {
|
|
885
|
+
id_motion_unidade: string;
|
|
886
|
+
id_qualidade_unidade: string | number;
|
|
887
|
+
unidade_imagem: string;
|
|
888
|
+
unidade_link_mapa: string;
|
|
889
|
+
unidade_site: string;
|
|
890
|
+
unidade_telefone: string;
|
|
891
|
+
unidade_email?: string;
|
|
892
|
+
consulta: boolean;
|
|
893
|
+
categoria_unidade: string;
|
|
894
|
+
encontre_um_medico: boolean;
|
|
895
|
+
unidade_url_oncologia?: string;
|
|
896
|
+
unidade_oferece_oncologia: string[] | string;
|
|
897
|
+
exames_unidade: boolean;
|
|
898
|
+
especialidades_unidade: boolean;
|
|
899
|
+
unidade_exibir_whatsapp_fab: boolean;
|
|
900
|
+
unidade_exibir_whatsapp_exames?: boolean;
|
|
901
|
+
}
|
|
902
|
+
interface WpUnidadeSite {
|
|
903
|
+
archived?: string | number;
|
|
904
|
+
blog_id?: string | number;
|
|
905
|
+
deleted?: string | number;
|
|
906
|
+
domain?: string;
|
|
907
|
+
info?: UnidadeInfo;
|
|
908
|
+
lang_id?: string | number;
|
|
909
|
+
last_updated?: string;
|
|
910
|
+
mature?: string | number;
|
|
911
|
+
path?: string;
|
|
912
|
+
public?: string | number;
|
|
913
|
+
registered?: string;
|
|
914
|
+
site_id?: string | number;
|
|
915
|
+
spam?: string | number;
|
|
916
|
+
details?: WpUnidadeSiteDetalhe;
|
|
917
|
+
externo?: boolean;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
interface WpEnvelopeResponse<T = any> {
|
|
921
|
+
body: T;
|
|
922
|
+
headers: Headers;
|
|
923
|
+
status: number;
|
|
924
|
+
}
|
|
925
|
+
interface Headers {
|
|
926
|
+
Allow: string;
|
|
927
|
+
Link: string;
|
|
928
|
+
'X-WP-Total': number;
|
|
929
|
+
'X-WP-TotalPages': number;
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
interface WpHttpParams {
|
|
933
|
+
route: string;
|
|
934
|
+
namespace?: string;
|
|
935
|
+
params?: any;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
interface AlgoliaResult<T> {
|
|
939
|
+
exhaustiveNbHits: boolean;
|
|
940
|
+
exhaustiveTypo: boolean;
|
|
941
|
+
hits: T[];
|
|
942
|
+
hitsPerPage: number;
|
|
943
|
+
indexUsed: string;
|
|
944
|
+
nbHits: number;
|
|
945
|
+
nbPages: number;
|
|
946
|
+
page: number;
|
|
947
|
+
params: string;
|
|
948
|
+
parsedQuery: string;
|
|
949
|
+
processingTimeMS: number;
|
|
950
|
+
query: string;
|
|
951
|
+
renderingContent: any;
|
|
952
|
+
}
|
|
953
|
+
interface AlgoliaMultipleResults {
|
|
954
|
+
results: AlgoliaResult<any>[];
|
|
955
|
+
}
|
|
956
|
+
interface RdslAlgoliaMultipleIndex {
|
|
957
|
+
indexName: string;
|
|
958
|
+
params?: RdslAlgoliaSearchParams;
|
|
959
|
+
query?: string;
|
|
960
|
+
}
|
|
961
|
+
interface RdslAlgoliaSearchParams {
|
|
962
|
+
query?: string;
|
|
963
|
+
similarQuery?: string;
|
|
964
|
+
attributesToRetrieve?: string[];
|
|
965
|
+
restrictSearchableAttributes?: string[];
|
|
966
|
+
filters?: string;
|
|
967
|
+
facetFilters?: any[];
|
|
968
|
+
optionalFilters?: any[];
|
|
969
|
+
numericFilters?: string[];
|
|
970
|
+
tagFilters?: any[];
|
|
971
|
+
sumOrFiltersScores?: boolean;
|
|
972
|
+
facets?: string[];
|
|
973
|
+
maxValuesPerFacet?: number;
|
|
974
|
+
facetingAfterDistinct?: boolean;
|
|
975
|
+
sortFacetValuesBy?: 'count' | 'alpha';
|
|
976
|
+
attributesToHighlight?: string[];
|
|
977
|
+
attributesToSnippet?: string[];
|
|
978
|
+
highlightPreTag?: string;
|
|
979
|
+
highlightPostTag?: string;
|
|
980
|
+
snippetEllipsisText?: string;
|
|
981
|
+
restrictHighlightAndSnippetArrays?: boolean;
|
|
982
|
+
page?: number;
|
|
983
|
+
hitsPerPage?: number;
|
|
984
|
+
offset?: number;
|
|
985
|
+
length?: number;
|
|
986
|
+
minWordSizefor1Typo?: number;
|
|
987
|
+
minWordSizefor2Typos?: number;
|
|
988
|
+
typoTolerance?: boolean | 'min' | 'strict';
|
|
989
|
+
allowTyposOnNumericTokens?: boolean;
|
|
990
|
+
disableTypoToleranceOnAttributes?: string[];
|
|
991
|
+
aroundLatLng?: string;
|
|
992
|
+
aroundLatLngViaIP?: boolean;
|
|
993
|
+
aroundRadius?: number | 'all';
|
|
994
|
+
aroundPrecision?: number | any[];
|
|
995
|
+
minimumAroundRadius?: number;
|
|
996
|
+
insideBoundingBox?: any[];
|
|
997
|
+
insidePolygon?: any[];
|
|
998
|
+
ignorePlurals?: boolean | string[];
|
|
999
|
+
removeStopWords?: boolean | string[];
|
|
1000
|
+
queryLanguages?: string[];
|
|
1001
|
+
naturalLanguages?: string[];
|
|
1002
|
+
enableRules?: boolean;
|
|
1003
|
+
ruleContexts?: string[];
|
|
1004
|
+
enablePersonalization?: boolean;
|
|
1005
|
+
personalizationImpact?: number;
|
|
1006
|
+
userToken?: string;
|
|
1007
|
+
queryType?: 'prefixLast' | 'prefixAll' | 'prefixNone';
|
|
1008
|
+
removeWordsIfNoResults?: 'none' | 'lastWords' | 'firstWords' | 'allOptional';
|
|
1009
|
+
advancedSyntax?: boolean;
|
|
1010
|
+
optionalWords?: string[];
|
|
1011
|
+
disableExactOnAttributes?: string[];
|
|
1012
|
+
exactOnSingleWordQuery?: 'attribute' | 'none' | 'word';
|
|
1013
|
+
alternativesAsExact?: string[];
|
|
1014
|
+
advancedSyntaxFeatures?: string[];
|
|
1015
|
+
distinct?: 0 | 1 | 2 | 3;
|
|
1016
|
+
getRankingInfo?: boolean;
|
|
1017
|
+
clickAnalytics?: boolean;
|
|
1018
|
+
analytics?: boolean;
|
|
1019
|
+
analyticsTags?: string[];
|
|
1020
|
+
synonyms?: boolean;
|
|
1021
|
+
replaceSynonymsInHighlight?: boolean;
|
|
1022
|
+
minProximity?: number;
|
|
1023
|
+
responseFields?: string[];
|
|
1024
|
+
maxFacetHits?: number;
|
|
1025
|
+
percentileComputation?: boolean;
|
|
1026
|
+
attributeCriteriaComputedByMinProximity?: boolean;
|
|
1027
|
+
enableABTest?: boolean;
|
|
1028
|
+
[propName: string]: any;
|
|
1029
|
+
}
|
|
1030
|
+
interface AlgoliaSearchParams {
|
|
1031
|
+
query?: string;
|
|
1032
|
+
similarQuery?: string;
|
|
1033
|
+
attributesToRetrieve?: string[];
|
|
1034
|
+
restrictSearchableAttributes?: string[];
|
|
1035
|
+
filters?: string;
|
|
1036
|
+
facetFilters?: string[];
|
|
1037
|
+
optionalFilters?: any[];
|
|
1038
|
+
numericFilters?: string[];
|
|
1039
|
+
tagFilters?: any[];
|
|
1040
|
+
sumOrFiltersScores?: boolean;
|
|
1041
|
+
facets?: string[];
|
|
1042
|
+
maxValuesPerFacet?: number;
|
|
1043
|
+
facetingAfterDistinct?: boolean;
|
|
1044
|
+
sortFacetValuesBy?: 'count' | 'alpha';
|
|
1045
|
+
attributesToHighlight?: string[];
|
|
1046
|
+
attributesToSnippet?: string[];
|
|
1047
|
+
highlightPreTag?: string;
|
|
1048
|
+
highlightPostTag?: string;
|
|
1049
|
+
snippetEllipsisText?: string;
|
|
1050
|
+
restrictHighlightAndSnippetArrays?: boolean;
|
|
1051
|
+
page?: number;
|
|
1052
|
+
hitsPerPage?: number;
|
|
1053
|
+
offset?: number;
|
|
1054
|
+
length?: number;
|
|
1055
|
+
minWordSizefor1Typo?: number;
|
|
1056
|
+
minWordSizefor2Typos?: number;
|
|
1057
|
+
typoTolerance?: boolean | 'min' | 'strict';
|
|
1058
|
+
allowTyposOnNumericTokens?: boolean;
|
|
1059
|
+
disableTypoToleranceOnAttributes?: string[];
|
|
1060
|
+
aroundLatLng?: string;
|
|
1061
|
+
aroundLatLngViaIP?: boolean;
|
|
1062
|
+
aroundRadius?: number | string;
|
|
1063
|
+
aroundPrecision?: number | any[];
|
|
1064
|
+
minimumAroundRadius?: number;
|
|
1065
|
+
insideBoundingBox?: any[];
|
|
1066
|
+
insidePolygon?: any[];
|
|
1067
|
+
ignorePlurals?: boolean | string[];
|
|
1068
|
+
removeStopWords?: boolean | string[];
|
|
1069
|
+
queryLanguages?: string[];
|
|
1070
|
+
naturalLanguages?: string[];
|
|
1071
|
+
enableRules?: boolean;
|
|
1072
|
+
ruleContexts?: string[];
|
|
1073
|
+
enablePersonalization?: boolean;
|
|
1074
|
+
personalizationImpact?: number;
|
|
1075
|
+
userToken?: string;
|
|
1076
|
+
queryType?: 'prefixLast' | 'prefixAll' | 'prefixNone';
|
|
1077
|
+
removeWordsIfNoResults?: 'none' | 'lastWords' | 'firstWords' | 'allOptional';
|
|
1078
|
+
advancedSyntax?: boolean;
|
|
1079
|
+
optionalWords?: string[];
|
|
1080
|
+
disableExactOnAttributes?: string[];
|
|
1081
|
+
exactOnSingleWordQuery?: 'attribute' | 'none' | 'word';
|
|
1082
|
+
alternativesAsExact?: string[];
|
|
1083
|
+
advancedSyntaxFeatures?: string[];
|
|
1084
|
+
distinct?: 0 | 1 | 2 | 3;
|
|
1085
|
+
getRankingInfo?: boolean;
|
|
1086
|
+
clickAnalytics?: boolean;
|
|
1087
|
+
analytics?: boolean;
|
|
1088
|
+
analyticsTags?: string[];
|
|
1089
|
+
synonyms?: boolean;
|
|
1090
|
+
replaceSynonymsInHighlight?: boolean;
|
|
1091
|
+
minProximity?: number;
|
|
1092
|
+
responseFields?: string[];
|
|
1093
|
+
maxFacetHits?: number;
|
|
1094
|
+
percentileComputation?: boolean;
|
|
1095
|
+
attributeCriteriaComputedByMinProximity?: boolean;
|
|
1096
|
+
enableABTest?: boolean;
|
|
1097
|
+
[propName: string]: any;
|
|
1098
|
+
}
|
|
1099
|
+
interface AlgoliaConfig {
|
|
1100
|
+
id: string;
|
|
1101
|
+
key: string;
|
|
1102
|
+
index?: string;
|
|
1103
|
+
multipleIndex?: RdslAlgoliaMultipleIndex[];
|
|
1104
|
+
}
|
|
1105
|
+
interface AlgoliaOption {
|
|
1106
|
+
hit?: any;
|
|
1107
|
+
value: string;
|
|
1108
|
+
subtitle?: string | null;
|
|
1109
|
+
icon?: string | null;
|
|
1110
|
+
imageSrc?: string | null;
|
|
1111
|
+
distance?: string | null;
|
|
1112
|
+
avatar?: boolean;
|
|
1113
|
+
deleteButton?: false;
|
|
1114
|
+
type: string;
|
|
1115
|
+
title: boolean;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
interface CentroEstudosBackendMedico {
|
|
1119
|
+
nome: string;
|
|
1120
|
+
email: string;
|
|
1121
|
+
telefone: string;
|
|
1122
|
+
conselhoTipo: string;
|
|
1123
|
+
conselhoCodigo: string;
|
|
1124
|
+
especialidade: string;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
interface CentroMedico {
|
|
1128
|
+
titulo: string;
|
|
1129
|
+
slug: string;
|
|
1130
|
+
logo: {
|
|
1131
|
+
url: string;
|
|
1132
|
+
alt: string;
|
|
1133
|
+
title: string;
|
|
1134
|
+
};
|
|
1135
|
+
idqd: string;
|
|
1136
|
+
idMotion: string;
|
|
1137
|
+
unidadeSlug: string;
|
|
1138
|
+
facilidades: string[];
|
|
1139
|
+
especialidades: {
|
|
1140
|
+
nome: string;
|
|
1141
|
+
slug: string;
|
|
1142
|
+
}[];
|
|
1143
|
+
exames: {
|
|
1144
|
+
nome: string;
|
|
1145
|
+
slug: string;
|
|
1146
|
+
}[];
|
|
1147
|
+
localizacao: {
|
|
1148
|
+
estado: {
|
|
1149
|
+
nome: string;
|
|
1150
|
+
sigla: string;
|
|
1151
|
+
};
|
|
1152
|
+
cidade: string;
|
|
1153
|
+
logradouro: string;
|
|
1154
|
+
bairro: string;
|
|
1155
|
+
numero: string;
|
|
1156
|
+
cep: string;
|
|
1157
|
+
rota: string;
|
|
1158
|
+
};
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
interface ContentBanner {
|
|
1162
|
+
image: any;
|
|
1163
|
+
title: string;
|
|
1164
|
+
text: string;
|
|
1165
|
+
info: {
|
|
1166
|
+
icon: string;
|
|
1167
|
+
text: string;
|
|
1168
|
+
link: string;
|
|
1169
|
+
}[];
|
|
1170
|
+
cta: {
|
|
1171
|
+
icon: string;
|
|
1172
|
+
text: string;
|
|
1173
|
+
link: string;
|
|
1174
|
+
};
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
interface CtaWrapper {
|
|
1178
|
+
title?: string;
|
|
1179
|
+
text?: string;
|
|
1180
|
+
ctas?: {
|
|
1181
|
+
label: string;
|
|
1182
|
+
link: string;
|
|
1183
|
+
icon: string;
|
|
1184
|
+
}[];
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
declare enum EnumDoencaTaxonomy {
|
|
1188
|
+
DOENCAS_CAT = "doencas_cat",
|
|
1189
|
+
DOENCAS_TAG = "doencas_tag"
|
|
1190
|
+
}
|
|
1191
|
+
declare enum EnumDoencaTaxonomyCat {
|
|
1192
|
+
DOENCA = "doencas",
|
|
1193
|
+
SINTOMA = "sintomas"
|
|
1194
|
+
}
|
|
1195
|
+
interface DoencaTaxonomy {
|
|
1196
|
+
id: number;
|
|
1197
|
+
name: string;
|
|
1198
|
+
slug: string;
|
|
1199
|
+
taxonomy: EnumDoencaTaxonomy;
|
|
1200
|
+
}
|
|
1201
|
+
interface TaxonomiasDoencasList {
|
|
1202
|
+
doencas_cat: DoencaTaxonomy[];
|
|
1203
|
+
doencas_tag: DoencaTaxonomy[];
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
interface WpDoenca extends WpPage {
|
|
1207
|
+
parent_slug?: string;
|
|
1208
|
+
parent_title?: string;
|
|
1209
|
+
acf: {
|
|
1210
|
+
doenca_subtitulo: string;
|
|
1211
|
+
doenca_icone: string;
|
|
1212
|
+
doenca_imagem: any;
|
|
1213
|
+
doenca_especialidades: any[];
|
|
1214
|
+
};
|
|
1215
|
+
doencas_cat: DoencaTaxonomy[];
|
|
1216
|
+
doencas_tag: DoencaTaxonomy[];
|
|
1217
|
+
}
|
|
1218
|
+
interface DoencaBackend {
|
|
1219
|
+
slug: string;
|
|
1220
|
+
title: string;
|
|
1221
|
+
content: string;
|
|
1222
|
+
imagem: {
|
|
1223
|
+
default: any;
|
|
1224
|
+
webp: any;
|
|
1225
|
+
};
|
|
1226
|
+
doencas_cat: DoencaTaxonomy[];
|
|
1227
|
+
doencas_tag: DoencaTaxonomy[];
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
interface EspecialidadeBackend {
|
|
1231
|
+
agendamentoOnline?: boolean;
|
|
1232
|
+
agendamentoOnlineUrl: string;
|
|
1233
|
+
content: boolean;
|
|
1234
|
+
especialistaComplemento: string;
|
|
1235
|
+
especialistaDescricao: string;
|
|
1236
|
+
id: number;
|
|
1237
|
+
idmotion: string;
|
|
1238
|
+
idrdsl: string;
|
|
1239
|
+
parent: number;
|
|
1240
|
+
slug: string;
|
|
1241
|
+
titulo: string;
|
|
1242
|
+
parent_slug: string;
|
|
1243
|
+
parent_title: string;
|
|
1244
|
+
}
|
|
1245
|
+
interface EspecialidadeGrupoBackend extends EspecialidadeBackend {
|
|
1246
|
+
id: number;
|
|
1247
|
+
idmotion: string;
|
|
1248
|
+
idrdsl: string;
|
|
1249
|
+
parent: number;
|
|
1250
|
+
slug: string;
|
|
1251
|
+
titulo: string;
|
|
1252
|
+
children: EspecialidadeBackend[];
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
interface ExameBackend {
|
|
1256
|
+
id: number;
|
|
1257
|
+
slug: string;
|
|
1258
|
+
titulo: string;
|
|
1259
|
+
idrdsl?: number | string;
|
|
1260
|
+
idmotion?: number | string;
|
|
1261
|
+
content?: boolean;
|
|
1262
|
+
parent: number;
|
|
1263
|
+
parentSlug?: string;
|
|
1264
|
+
parentTitulo?: string;
|
|
1265
|
+
possuiAgendamento?: string;
|
|
1266
|
+
agendamentoOnlineUrl?: string;
|
|
1267
|
+
cta?: string;
|
|
1268
|
+
children?: Array<ExameBackend>;
|
|
1269
|
+
[prop: string]: any;
|
|
1270
|
+
}
|
|
1271
|
+
interface ExameApiDados {
|
|
1272
|
+
ID_DQ_EXAME: string;
|
|
1273
|
+
CODIGO_EXAME_MOTION: string;
|
|
1274
|
+
DESCRICAO_EXAME: string;
|
|
1275
|
+
FLAG_POSSUI_AGENDAMENTO_ONLINE: string;
|
|
1276
|
+
SINONIMIAS_EXAME: string;
|
|
1277
|
+
ID_DQ_CATEG_EXAME: string;
|
|
1278
|
+
DESCRICAO_CATEG_EXAME: string;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
declare enum FilterType {
|
|
1282
|
+
INPUT = "input",
|
|
1283
|
+
SELECT = "select",
|
|
1284
|
+
CHECKBOX_GROUP = "checkbox-group",
|
|
1285
|
+
RADIO_GROUP = "radio-group",
|
|
1286
|
+
CUSTOM = "custom"
|
|
1287
|
+
}
|
|
1288
|
+
interface InputFilterConfig {
|
|
1289
|
+
name: string;
|
|
1290
|
+
placeholder?: string;
|
|
1291
|
+
iconName?: string;
|
|
1292
|
+
control: FilterControl;
|
|
1293
|
+
options?: FilterOption[];
|
|
1294
|
+
}
|
|
1295
|
+
interface SelectFilterConfig {
|
|
1296
|
+
name: string;
|
|
1297
|
+
label?: string;
|
|
1298
|
+
placeholder?: string;
|
|
1299
|
+
includeDefaultOption?: boolean;
|
|
1300
|
+
defaultOptionText?: string;
|
|
1301
|
+
control: FilterControl;
|
|
1302
|
+
options?: FilterOption[];
|
|
1303
|
+
}
|
|
1304
|
+
interface CheckboxGroupFilterConfig {
|
|
1305
|
+
name: string;
|
|
1306
|
+
title?: string;
|
|
1307
|
+
subtitle?: string;
|
|
1308
|
+
description?: string;
|
|
1309
|
+
control: FormControl<any[]>;
|
|
1310
|
+
options: FilterOption[];
|
|
1311
|
+
}
|
|
1312
|
+
interface RadioGroupFilterConfig {
|
|
1313
|
+
name: string;
|
|
1314
|
+
title?: string;
|
|
1315
|
+
control: FilterControl;
|
|
1316
|
+
options: FilterOption[];
|
|
1317
|
+
}
|
|
1318
|
+
interface CustomFilterConfig {
|
|
1319
|
+
template: TemplateRef<any>;
|
|
1320
|
+
control?: any;
|
|
1321
|
+
context?: any;
|
|
1322
|
+
options?: FilterOption[];
|
|
1323
|
+
count?: number;
|
|
1324
|
+
}
|
|
1325
|
+
interface InputFilterSection extends FilterSectionBase<FilterType.INPUT, InputFilterConfig> {
|
|
1326
|
+
}
|
|
1327
|
+
interface SelectFilterSection extends FilterSectionBase<FilterType.SELECT, SelectFilterConfig> {
|
|
1328
|
+
}
|
|
1329
|
+
interface CheckboxGroupFilterSection extends FilterSectionBase<FilterType.CHECKBOX_GROUP, CheckboxGroupFilterConfig> {
|
|
1330
|
+
}
|
|
1331
|
+
interface RadioGroupFilterSection extends FilterSectionBase<FilterType.RADIO_GROUP, RadioGroupFilterConfig> {
|
|
1332
|
+
}
|
|
1333
|
+
interface CustomFilterSection extends FilterSectionBase<FilterType.CUSTOM, CustomFilterConfig> {
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
interface RadioGroupValue {
|
|
1337
|
+
value: any;
|
|
1338
|
+
}
|
|
1339
|
+
type FilterSection = InputFilterSection | SelectFilterSection | CheckboxGroupFilterSection | RadioGroupFilterSection | CustomFilterSection;
|
|
1340
|
+
type FilterControl = FormControl<FilterControlValue>;
|
|
1341
|
+
type FilterAction = 'filter' | 'reset';
|
|
1342
|
+
type FilterControlValue = string | number | boolean | any[] | RadioGroupValue | null;
|
|
1343
|
+
|
|
1344
|
+
interface FilterPlanosConvenios {
|
|
1345
|
+
label: string;
|
|
1346
|
+
value: string;
|
|
1347
|
+
}
|
|
1348
|
+
interface FilterPlanosConveniosCobertura extends FilterPlanosConvenios {
|
|
1349
|
+
checked: boolean;
|
|
1350
|
+
}
|
|
1351
|
+
interface FilterPlanosConveniosChange {
|
|
1352
|
+
unidade: string | number | null;
|
|
1353
|
+
estado: string | number | null;
|
|
1354
|
+
cobertura: FilterPlanosConveniosCobertura[];
|
|
1355
|
+
}
|
|
1356
|
+
interface FilterOption {
|
|
1357
|
+
label: string;
|
|
1358
|
+
value: string;
|
|
1359
|
+
checked?: boolean;
|
|
1360
|
+
disabled?: boolean;
|
|
1361
|
+
}
|
|
1362
|
+
interface FilterEvent<T = any> {
|
|
1363
|
+
data: T | null;
|
|
1364
|
+
action: FilterAction;
|
|
1365
|
+
}
|
|
1366
|
+
interface FilterSectionBase<T extends string, C> {
|
|
1367
|
+
type: T;
|
|
1368
|
+
config: C;
|
|
1369
|
+
visible?: boolean;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
interface RdsiteImage {
|
|
1373
|
+
source_url: string;
|
|
1374
|
+
media: string;
|
|
1375
|
+
mime_type: string;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
interface MedicoCv {
|
|
1379
|
+
CPF_MEDICO: string;
|
|
1380
|
+
EXPERIENCIA_PROFISSIONAL: string[];
|
|
1381
|
+
FILIACAO: string[];
|
|
1382
|
+
FORMACAO_ACADEMICA: string[];
|
|
1383
|
+
ID_DQ_MEDICOS: string;
|
|
1384
|
+
TITULOS: string[];
|
|
1385
|
+
NOME_MEDICO: string;
|
|
1386
|
+
NUMERO_CONSELHO: string;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
interface MenuDeUnidade extends MenuDeUnidadesItem {
|
|
1390
|
+
extUrl?: string;
|
|
1391
|
+
children?: MenuPorEstado[];
|
|
1392
|
+
active?: boolean;
|
|
1393
|
+
}
|
|
1394
|
+
interface MenuPorEstado extends MenuDeUnidadesItem {
|
|
1395
|
+
uf?: string;
|
|
1396
|
+
children?: MenuDeUnidadesItem[];
|
|
1397
|
+
}
|
|
1398
|
+
interface MenuDeUnidadesItem {
|
|
1399
|
+
ID: number | string;
|
|
1400
|
+
title: string;
|
|
1401
|
+
url: string;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
interface RDSLCobertura {
|
|
1405
|
+
AMBULATORIO_ONCOLOGIA: string;
|
|
1406
|
+
BAIRRO_UNIDADE: string;
|
|
1407
|
+
CEP_UNIDADE: string;
|
|
1408
|
+
CNPJ_UNIDADE: string;
|
|
1409
|
+
CODIGO_UNIDADE_MOTION: string;
|
|
1410
|
+
COMPLEMENTO_ENDERECO_UNIDADE: string;
|
|
1411
|
+
DESCRICAO_UNIDADE: string;
|
|
1412
|
+
EMAIL_CHECKIN_INTERNACAO: string;
|
|
1413
|
+
ENDERECO_UNIDADE: string;
|
|
1414
|
+
ESPECIALIDADES_AMBULATORIO: string;
|
|
1415
|
+
ESPECIALIDADES_INTERNACAO: string;
|
|
1416
|
+
ESPECIALIDADES_PS: string;
|
|
1417
|
+
EXAMES_CONTRATADOS: string;
|
|
1418
|
+
FLAG_ACEITA_AMBULATORIO: string;
|
|
1419
|
+
FLAG_ACEITA_EXAME: string;
|
|
1420
|
+
FLAG_ACEITA_INTERNACAO: string;
|
|
1421
|
+
FLAG_ACEITA_PS: string;
|
|
1422
|
+
FLAG_CHECKIN_EMERGENCIA: string;
|
|
1423
|
+
FLAG_CHECKIN_INTERNACAO: string;
|
|
1424
|
+
FLAG_EMERGENCIA_ADULTO: string;
|
|
1425
|
+
FLAG_EMERGENCIA_INFANTIL: string;
|
|
1426
|
+
FLAG_PEDIDO_VAGA: string;
|
|
1427
|
+
FLAG_POSSUI_MATERINIDADE: string;
|
|
1428
|
+
FLAG_UNIDADE_ATIVA_AGD_EXAME: string;
|
|
1429
|
+
FLAG_UNIDADE_ATIVA_AGENDAMENTO: string;
|
|
1430
|
+
FLAG_UNIDADE_ATIVA_SITE: string;
|
|
1431
|
+
GEOLOCALIZACAO_UNIDADE: string;
|
|
1432
|
+
HOSPITAL: string;
|
|
1433
|
+
ID_DQ_COBERTURA: number;
|
|
1434
|
+
ID_DQ_FRENTE_NEGOCIOS: number;
|
|
1435
|
+
ID_DQ_PLANO: number;
|
|
1436
|
+
ID_DQ_UNIDADES_RDSL: number;
|
|
1437
|
+
LATITUDE_UNIDADE: string;
|
|
1438
|
+
LONGITUDE_UNIDADE: string;
|
|
1439
|
+
MUNICIPIO_UNIDADE: string;
|
|
1440
|
+
OBSERVACAO: string;
|
|
1441
|
+
SIGLA_UNIDADE: string;
|
|
1442
|
+
STATUS_COBERTURA: string;
|
|
1443
|
+
TELEFONES_UNIDADE: string;
|
|
1444
|
+
TELEFONE_SITE: string;
|
|
1445
|
+
TIPO_COBERTURA: string;
|
|
1446
|
+
UF_UNIDADE: string;
|
|
1447
|
+
URL_IMAGE: string;
|
|
1448
|
+
unidadeImage?: any;
|
|
1449
|
+
unidadeLinkMapa?: string;
|
|
1450
|
+
unidadePath?: string;
|
|
1451
|
+
unidadeSite?: string;
|
|
1452
|
+
}
|
|
1453
|
+
interface RDSLCoberturaParams {
|
|
1454
|
+
ativaAgConsultas?: string;
|
|
1455
|
+
ativaAgExames?: string;
|
|
1456
|
+
aceitaAmbulatorio?: string;
|
|
1457
|
+
aceitaInternacao?: string;
|
|
1458
|
+
aceitaPs?: string;
|
|
1459
|
+
aceitaExame?: string;
|
|
1460
|
+
ambulatorioOncologia?: string;
|
|
1461
|
+
hospital?: string;
|
|
1462
|
+
statusCobertura?: string;
|
|
1463
|
+
municipio?: string;
|
|
1464
|
+
uf?: string;
|
|
1465
|
+
ativaSite?: string;
|
|
1466
|
+
checkinEmergencia?: string;
|
|
1467
|
+
checkinInternacao?: string;
|
|
1468
|
+
emergenciaAdulto?: string;
|
|
1469
|
+
emergenciaInfantil?: string;
|
|
1470
|
+
maternidade?: string;
|
|
1471
|
+
pedidoVaga?: string;
|
|
1472
|
+
frenteNegocios?: string;
|
|
1473
|
+
tipoCobertura?: string;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
interface RDSLConvenioParams {
|
|
1477
|
+
ativaAgConsultas?: 'S' | 'N';
|
|
1478
|
+
ativaAgExames?: 'S' | 'N';
|
|
1479
|
+
ativaCortesia?: 'S' | 'N';
|
|
1480
|
+
codigoAns?: string;
|
|
1481
|
+
codigoMotion?: string;
|
|
1482
|
+
}
|
|
1483
|
+
interface RDSLConvenio {
|
|
1484
|
+
CODIGO_CONVENIO_ANS: string;
|
|
1485
|
+
CODIGO_CONVENIO_MOTION: string;
|
|
1486
|
+
FLAG_ATIVO_AGENDAMENTO_CONSULTA: 'S' | 'N';
|
|
1487
|
+
FLAG_ATIVO_AGENDAMENTO_EXAME: 'S' | 'N';
|
|
1488
|
+
FLAG_LIBERAR_CORTESIA: 'S' | 'N';
|
|
1489
|
+
ID_DQ_CONVENIO_DIGITAL: string;
|
|
1490
|
+
NOME_CONVENIO_CORPORATIVO: string;
|
|
1491
|
+
NOME_CONVENIO_DIGITAL: string;
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
interface RDSLEspecialidadesParams {
|
|
1495
|
+
conteudoSite?: string;
|
|
1496
|
+
grupo?: string;
|
|
1497
|
+
id?: string;
|
|
1498
|
+
idMotion?: string;
|
|
1499
|
+
nome?: string;
|
|
1500
|
+
possuiAgendamento?: string;
|
|
1501
|
+
}
|
|
1502
|
+
interface RDSLEspecialidade {
|
|
1503
|
+
CODIGO_ESPECIALIDADE_CONSELHO: string;
|
|
1504
|
+
CODIGO_ESPECIALIDADE_MOTION: string;
|
|
1505
|
+
DESCRICAO_ESPECIALIDADE: string;
|
|
1506
|
+
ESPECIALISTA_COMPLEMENTO: string;
|
|
1507
|
+
ESPECIALISTA_DESCRICAO: string;
|
|
1508
|
+
FLAG_POSSUI_AGENDAMENTO_ONLINE: string;
|
|
1509
|
+
FLAG_POSSUI_CONTEUDO_SITE: string;
|
|
1510
|
+
GRUPO_ESPECIALIDADE: string;
|
|
1511
|
+
ID_DQ_ESPECIALIDADE: number;
|
|
1512
|
+
ID_DQ_TIPO_CONSELHO: number;
|
|
1513
|
+
OBSERVACAO: string;
|
|
1514
|
+
SUBGRUPO_ESPECIALIDADE: string;
|
|
1515
|
+
slug_especialista?: string;
|
|
1516
|
+
slug_especialista_grupo?: string;
|
|
1517
|
+
}
|
|
1518
|
+
interface RDSLGrupoEspecialidadeParams {
|
|
1519
|
+
conteudoSite?: string;
|
|
1520
|
+
possuiAgendamento?: string;
|
|
1521
|
+
}
|
|
1522
|
+
interface RDSLGrupoEspecialidade {
|
|
1523
|
+
GRUPO_ESPECIALIDADE: string;
|
|
1524
|
+
nome_especialista?: string;
|
|
1525
|
+
slug_especialista?: string;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
interface RDSLPlano {
|
|
1529
|
+
ID_DQ_PLANO: string;
|
|
1530
|
+
ID_DQ_CONVENIOS: string;
|
|
1531
|
+
NOME_CONVENIO_COMERCIAL: string;
|
|
1532
|
+
DESCRICAO_PLANO_CONCATENADA: string;
|
|
1533
|
+
CODIGO_PLANO_MOTION: string;
|
|
1534
|
+
}
|
|
1535
|
+
interface RDSLPlanoParams {
|
|
1536
|
+
id?: string;
|
|
1537
|
+
idmotion?: string;
|
|
1538
|
+
idconvenio?: string;
|
|
1539
|
+
nomeconvenio?: string;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1542
|
+
interface RDSLUnidade {
|
|
1543
|
+
BAIRRO_UNIDADE: string;
|
|
1544
|
+
CEP_UNIDADE: string;
|
|
1545
|
+
CNPJ_UNIDADE: string;
|
|
1546
|
+
CODIGO_UNIDADE_MOTION: string;
|
|
1547
|
+
COMPLEMENTO_ENDERECO_UNIDADE: string;
|
|
1548
|
+
DESCRICAO_UNIDADE: string;
|
|
1549
|
+
EMAIL_CHECKIN_INTERNACAO: string;
|
|
1550
|
+
ENDERECO_UNIDADE: string;
|
|
1551
|
+
FLAG_CHECKIN_EMERGENCIA: string;
|
|
1552
|
+
FLAG_CHECKIN_INTERNACAO: string;
|
|
1553
|
+
FLAG_EMERGENCIA_ADULTO: string;
|
|
1554
|
+
FLAG_EMERGENCIA_INFANTIL: string;
|
|
1555
|
+
FLAG_PEDIDO_VAGA: string;
|
|
1556
|
+
FLAG_POSSUI_MATERINIDADE: string;
|
|
1557
|
+
FLAG_UNIDADE_ATIVA_AGD_EXAME: string;
|
|
1558
|
+
FLAG_UNIDADE_ATIVA_AGENDAMENTO: string;
|
|
1559
|
+
FLAG_UNIDADE_ATIVA_SITE: string;
|
|
1560
|
+
GEOLOCALIZACAO_UNIDADE: string;
|
|
1561
|
+
ID_DQ_FRENTE_NEGOCIOS: number;
|
|
1562
|
+
ID_DQ_UNIDADES_RDSL: number;
|
|
1563
|
+
LATITUDE_UNIDADE: string;
|
|
1564
|
+
LONGITUDE_UNIDADE: string;
|
|
1565
|
+
MUNICIPIO_UNIDADE: string;
|
|
1566
|
+
SIGLA_UNIDADE: string;
|
|
1567
|
+
TELEFONE_SITE: string;
|
|
1568
|
+
TELEFONES_UNIDADE: string;
|
|
1569
|
+
UF_UNIDADE: string;
|
|
1570
|
+
URL_IMAGE: string;
|
|
1571
|
+
TIPO_COBERTURA: string;
|
|
1572
|
+
slug: string;
|
|
1573
|
+
slug_cidade_uf: string;
|
|
1574
|
+
}
|
|
1575
|
+
interface RDSLUnidadesParams {
|
|
1576
|
+
nome?: string;
|
|
1577
|
+
id?: string;
|
|
1578
|
+
idMotion?: string;
|
|
1579
|
+
uf?: string;
|
|
1580
|
+
municipio?: string;
|
|
1581
|
+
ativaSite?: 'S' | 'N';
|
|
1582
|
+
ativaAgConsultas?: 'S' | 'N';
|
|
1583
|
+
ativaAgExames?: 'S' | 'N';
|
|
1584
|
+
checkinEmergencia?: 'S' | 'N';
|
|
1585
|
+
checkinInternacao?: 'S' | 'N';
|
|
1586
|
+
emergenciaAdulto?: 'S' | 'N';
|
|
1587
|
+
emergenciaInfantil?: 'S' | 'N';
|
|
1588
|
+
maternidade?: 'S' | 'N';
|
|
1589
|
+
pedidoVaga?: 'S' | 'N';
|
|
1590
|
+
frenteNegocios?: number | string;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
interface SectionNavigationData {
|
|
1594
|
+
id: string;
|
|
1595
|
+
title: string;
|
|
1596
|
+
}
|
|
1597
|
+
interface SectionNavigationConfig {
|
|
1598
|
+
offsetTop: number;
|
|
1599
|
+
smoothScroll: boolean;
|
|
1600
|
+
containerClass: string;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
declare class ErrorService {
|
|
1604
|
+
ctas: BehaviorSubject<CtaWrapper>;
|
|
1605
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorService, never>;
|
|
1606
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorService>;
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
declare enum GeolocationPermissions {
|
|
1610
|
+
GRANTED = "granted",
|
|
1611
|
+
PROMPT = "prompt",
|
|
1612
|
+
DENIED = "denied"
|
|
1613
|
+
}
|
|
1614
|
+
interface Geolocation {
|
|
1615
|
+
lat: number;
|
|
1616
|
+
lng: number;
|
|
1617
|
+
}
|
|
1618
|
+
interface Address {
|
|
1619
|
+
city: string;
|
|
1620
|
+
state: {
|
|
1621
|
+
name: string;
|
|
1622
|
+
shortCode: string;
|
|
1623
|
+
};
|
|
1624
|
+
}
|
|
1625
|
+
declare class GeolocService {
|
|
1626
|
+
private readonly document;
|
|
1627
|
+
private readonly platformId;
|
|
1628
|
+
private mapboxService;
|
|
1629
|
+
private readonly logService;
|
|
1630
|
+
private _mapboxGeocodingParams;
|
|
1631
|
+
private _hasConsent;
|
|
1632
|
+
private _switchStatus;
|
|
1633
|
+
get switchStatus(): boolean;
|
|
1634
|
+
private _address;
|
|
1635
|
+
get address(): Address | null;
|
|
1636
|
+
private _permission;
|
|
1637
|
+
get permission(): PermissionState;
|
|
1638
|
+
geolocation: BehaviorSubject<Geolocation | null>;
|
|
1639
|
+
isChecked: BehaviorSubject<boolean>;
|
|
1640
|
+
private _isSafariAgent;
|
|
1641
|
+
private _disableSwitch;
|
|
1642
|
+
get disableSwitch(): boolean;
|
|
1643
|
+
constructor();
|
|
1644
|
+
initGeolocation(geolocAllowed?: boolean): void;
|
|
1645
|
+
private getCurrentPosition;
|
|
1646
|
+
private setGeolocation;
|
|
1647
|
+
private getMapboxAdress;
|
|
1648
|
+
checkACookieExists(name: string): boolean;
|
|
1649
|
+
private setConsentCookie;
|
|
1650
|
+
private getCookieValue;
|
|
1651
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeolocService, never>;
|
|
1652
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GeolocService>;
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
declare class HttpClientService {
|
|
1656
|
+
private platformId;
|
|
1657
|
+
private libConfig;
|
|
1658
|
+
private http;
|
|
1659
|
+
private deviceService;
|
|
1660
|
+
get<T = any>(url: string): Observable<T>;
|
|
1661
|
+
post<T = any>(url: string, data?: any): Observable<T>;
|
|
1662
|
+
private getHeaders;
|
|
1663
|
+
private getOriginChannel;
|
|
1664
|
+
private getOriginDevice;
|
|
1665
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpClientService, never>;
|
|
1666
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HttpClientService>;
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
declare class LogService {
|
|
1670
|
+
private libConfig;
|
|
1671
|
+
private platformId;
|
|
1672
|
+
private location;
|
|
1673
|
+
logMsg(msg: any, label?: string): void;
|
|
1674
|
+
logLoad(component?: string): void;
|
|
1675
|
+
log404(component?: string): void;
|
|
1676
|
+
log500(component?: string): void;
|
|
1677
|
+
getPageURL(): string;
|
|
1678
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LogService, never>;
|
|
1679
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LogService>;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
interface MapBoxGeocodingParams {
|
|
1683
|
+
autocomplete?: boolean;
|
|
1684
|
+
bbox?: string;
|
|
1685
|
+
country?: string;
|
|
1686
|
+
fuzzyMatch?: boolean;
|
|
1687
|
+
language?: string;
|
|
1688
|
+
limit?: number;
|
|
1689
|
+
proximity?: string;
|
|
1690
|
+
routing?: boolean;
|
|
1691
|
+
types?: string;
|
|
1692
|
+
[propName: string]: any;
|
|
1693
|
+
}
|
|
1694
|
+
interface MapBoxReverseGeocodingParams {
|
|
1695
|
+
country?: string;
|
|
1696
|
+
language?: string;
|
|
1697
|
+
limit?: number;
|
|
1698
|
+
reverseMode?: 'distance' | 'score';
|
|
1699
|
+
routing?: boolean;
|
|
1700
|
+
types?: string;
|
|
1701
|
+
[propName: string]: any;
|
|
1702
|
+
}
|
|
1703
|
+
declare class MapBoxService {
|
|
1704
|
+
private readonly http;
|
|
1705
|
+
private readonly logService;
|
|
1706
|
+
private libConfig;
|
|
1707
|
+
private readonly platformId;
|
|
1708
|
+
private mapboxAccessToken;
|
|
1709
|
+
private mapboxSSRAccessToken;
|
|
1710
|
+
private mapboxApiUrl;
|
|
1711
|
+
private geocodingEp;
|
|
1712
|
+
/**
|
|
1713
|
+
* Busca geocalizada por nome do local.
|
|
1714
|
+
* Ex.: barra da tijuca, rio de janeiro - rio de janeiro, brasil
|
|
1715
|
+
* @param query nome de local para a busca
|
|
1716
|
+
* @param params parâmetros opcionais de busca e filtro
|
|
1717
|
+
*/
|
|
1718
|
+
forwardGeocoding(query: string, params?: MapBoxGeocodingParams, logContext?: string): Observable<any>;
|
|
1719
|
+
/**
|
|
1720
|
+
* Busca local por longitude e latitude
|
|
1721
|
+
* @param lng formato longitude
|
|
1722
|
+
* @param lat formato latitude
|
|
1723
|
+
* @param params parâmetros opcionais de busca e filtro
|
|
1724
|
+
*/
|
|
1725
|
+
reverseGeocoding(lng: string, lat: string, params?: MapBoxReverseGeocodingParams, logContext?: string): Observable<any>;
|
|
1726
|
+
private logMapbox;
|
|
1727
|
+
private getHeaders;
|
|
1728
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MapBoxService, never>;
|
|
1729
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MapBoxService>;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
declare abstract class AbstractModalComponent {
|
|
1733
|
+
abstract id?: string;
|
|
1734
|
+
abstract modalTitle?: string | null;
|
|
1735
|
+
abstract modalHeader?: TemplateRef<any> | null;
|
|
1736
|
+
abstract modalContent: TemplateRef<any> | null;
|
|
1737
|
+
abstract modalContentContext: Record<string, any> | null;
|
|
1738
|
+
abstract modalActions?: TemplateRef<any> | null;
|
|
1739
|
+
abstract componentStyle?: any;
|
|
1740
|
+
abstract modal: HTMLDialogElement;
|
|
1741
|
+
abstract open(): void;
|
|
1742
|
+
abstract close(): void;
|
|
1743
|
+
abstract reset?(): void;
|
|
1744
|
+
}
|
|
1745
|
+
declare class ModalService {
|
|
1746
|
+
reference: AbstractModalComponent | null;
|
|
1747
|
+
defaultPhoneModal: TemplateRef<any>;
|
|
1748
|
+
firstInteraction: i0.WritableSignal<boolean>;
|
|
1749
|
+
maxTries: number;
|
|
1750
|
+
delay: number;
|
|
1751
|
+
open(): void;
|
|
1752
|
+
setReference(element: AbstractModalComponent): void;
|
|
1753
|
+
setHeader(header: TemplateRef<any>): void;
|
|
1754
|
+
setTitle(title: string): void;
|
|
1755
|
+
setContent(content: TemplateRef<any>, context?: Record<string, any>): void;
|
|
1756
|
+
setActions(actions: TemplateRef<any>): void;
|
|
1757
|
+
setStyle(style: RdsiteModalComponentStyle): void;
|
|
1758
|
+
setDefaultPhoneModal(modal: TemplateRef<any>): void;
|
|
1759
|
+
close(): void;
|
|
1760
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
1761
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
declare abstract class AbstractModalDrawerComponent {
|
|
1765
|
+
abstract sheet: HTMLElement | null;
|
|
1766
|
+
abstract sheetContents: HTMLElement | null;
|
|
1767
|
+
abstract draggableArea: HTMLElement | null;
|
|
1768
|
+
abstract sheetHeight: number | null;
|
|
1769
|
+
abstract dragPosition: number | null;
|
|
1770
|
+
abstract maxHeight: number | null;
|
|
1771
|
+
abstract closeHeight: number | null;
|
|
1772
|
+
abstract rdsiteModalComponentStyle: any;
|
|
1773
|
+
abstract id: ModelSignal<string>;
|
|
1774
|
+
abstract modalContent: ModelSignal<ElementRef | TemplateRef<any>> | null;
|
|
1775
|
+
abstract componentStyle: ModelSignal<any>;
|
|
1776
|
+
abstract modal: HTMLDialogElement;
|
|
1777
|
+
abstract setSheetHeight(value: number): void;
|
|
1778
|
+
abstract setIsSheetShown(isShown: boolean): void;
|
|
1779
|
+
abstract openSheet(): void;
|
|
1780
|
+
abstract closeSheet(): void;
|
|
1781
|
+
abstract touchPosition(event: any): void;
|
|
1782
|
+
abstract onDragStart(event: any): void;
|
|
1783
|
+
abstract onDragMove(event: any): void;
|
|
1784
|
+
abstract onDragEnd(): void;
|
|
1785
|
+
abstract reset(): void;
|
|
1786
|
+
}
|
|
1787
|
+
declare class ModalDrawerService {
|
|
1788
|
+
reference: AbstractModalDrawerComponent | null;
|
|
1789
|
+
firstInteraction: i0.WritableSignal<boolean>;
|
|
1790
|
+
maxTries: number;
|
|
1791
|
+
delay: number;
|
|
1792
|
+
open(): void;
|
|
1793
|
+
setReference(element: AbstractModalDrawerComponent): void;
|
|
1794
|
+
setContent(content: ElementRef | TemplateRef<any>): void;
|
|
1795
|
+
setStyle(style: RdsiteModalDrawerComponentStyle): void;
|
|
1796
|
+
setHeight(value: number): void;
|
|
1797
|
+
close(): void;
|
|
1798
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalDrawerService, never>;
|
|
1799
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalDrawerService>;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
declare class PhoneService {
|
|
1803
|
+
private document;
|
|
1804
|
+
private telRegex;
|
|
1805
|
+
phoneModalIsAllowed: boolean;
|
|
1806
|
+
/** Verifica se o 'href' é de telefone e se a janela está em tamanho desktop */
|
|
1807
|
+
isPhoneModal(href: string): boolean;
|
|
1808
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneService, never>;
|
|
1809
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PhoneService>;
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
declare class PrivacyToolsService {
|
|
1813
|
+
document: Document;
|
|
1814
|
+
platformId: Object;
|
|
1815
|
+
cookieBannerScriptId: string;
|
|
1816
|
+
cookieBannerStyleId: string;
|
|
1817
|
+
cookieBannerScriptElement: HTMLScriptElement | null;
|
|
1818
|
+
configOptions: PrivacyToolsConfigOptions;
|
|
1819
|
+
cookieConsent: any;
|
|
1820
|
+
config(options: PrivacyToolsConfigOptions): void;
|
|
1821
|
+
setupCookieBanner(unidadeBasePath: string): void;
|
|
1822
|
+
openCookieBanner(): void;
|
|
1823
|
+
private addCookieBanner;
|
|
1824
|
+
addCookieBannerStyle(src: string): void;
|
|
1825
|
+
addCookieBannerScript(src: string): void;
|
|
1826
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrivacyToolsService, never>;
|
|
1827
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PrivacyToolsService>;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
declare class SeoService {
|
|
1831
|
+
private title;
|
|
1832
|
+
private meta;
|
|
1833
|
+
private location;
|
|
1834
|
+
private libConfig;
|
|
1835
|
+
private document;
|
|
1836
|
+
separator: string;
|
|
1837
|
+
defaultTitle: string;
|
|
1838
|
+
activeDescription: string;
|
|
1839
|
+
sameAs: string[];
|
|
1840
|
+
twitterUser: string;
|
|
1841
|
+
private canonicalTag;
|
|
1842
|
+
private jsonTag;
|
|
1843
|
+
private jsonTagId;
|
|
1844
|
+
private breadcrumbsJsonTag;
|
|
1845
|
+
private breadcrumbsJsonTagId;
|
|
1846
|
+
unidade: any;
|
|
1847
|
+
unidadeName: string;
|
|
1848
|
+
unidadePath: string;
|
|
1849
|
+
unidadeSlug: string;
|
|
1850
|
+
customJsonType: any[];
|
|
1851
|
+
setFullSeo(data: SeoData): void;
|
|
1852
|
+
/**
|
|
1853
|
+
* Define tag description da página
|
|
1854
|
+
* @param content conteúdo da descrição <string>
|
|
1855
|
+
*/
|
|
1856
|
+
setDescription(content: string): SeoService;
|
|
1857
|
+
/**
|
|
1858
|
+
* Define meta tags para a página
|
|
1859
|
+
* @param tag nome da tag meta
|
|
1860
|
+
* @param content conteúdo da tag meta
|
|
1861
|
+
* @param type tipo de tag meta
|
|
1862
|
+
*/
|
|
1863
|
+
setMetaTag(tag: string, content: string, type?: string): this;
|
|
1864
|
+
/**
|
|
1865
|
+
* Remove meta tags da página
|
|
1866
|
+
* @param tag nome da tag meta
|
|
1867
|
+
* @param content conteúdo da tag meta
|
|
1868
|
+
* @param attr atributo da tag meta
|
|
1869
|
+
* @param type tipo de tag meta
|
|
1870
|
+
*/
|
|
1871
|
+
removeTag(tag: string, content: string, attr: string, type?: string): this;
|
|
1872
|
+
/**
|
|
1873
|
+
* Define meta tags para Facebook
|
|
1874
|
+
* @param title título para o facebook
|
|
1875
|
+
* @param description descrição para o facebook
|
|
1876
|
+
* @param url url para definição do facebook
|
|
1877
|
+
* @param img imagem para definição no facebook
|
|
1878
|
+
*/
|
|
1879
|
+
setMetaFacebook(title: string, description: string, url: string, img?: string | null): void;
|
|
1880
|
+
/**
|
|
1881
|
+
* Define meta tags para Twitter
|
|
1882
|
+
* @param title título para o twitter
|
|
1883
|
+
* @param description descrição para o twitter
|
|
1884
|
+
* @param url url para o twitter
|
|
1885
|
+
* @param img imagem para definição no twitter
|
|
1886
|
+
*/
|
|
1887
|
+
setMetaTwitter(title: string, description: string, url: string, img?: string | null): void;
|
|
1888
|
+
/**
|
|
1889
|
+
* Define tags de redes sociais (Twitter e Open Graph)
|
|
1890
|
+
* @param properties
|
|
1891
|
+
*/
|
|
1892
|
+
setSocialTags(properties?: SocialMetaProperties): this;
|
|
1893
|
+
/**
|
|
1894
|
+
* Define título da página
|
|
1895
|
+
* @param title título da página <string>
|
|
1896
|
+
* @param sub Se é subsite acrescenta unidade <boolean>
|
|
1897
|
+
*/
|
|
1898
|
+
setTitle(title: string, sub?: boolean): this;
|
|
1899
|
+
/** Obtem título atual da página */
|
|
1900
|
+
getTitle(): string;
|
|
1901
|
+
set404Title(component?: string): this;
|
|
1902
|
+
set500Title(component?: string): this;
|
|
1903
|
+
/** Cria tag script para JSON de breadcrumbs */
|
|
1904
|
+
private createBreadcrumbsJSONTag;
|
|
1905
|
+
/** Retorna tag para script json de breadcrumbs ou cria se não houver. */
|
|
1906
|
+
private getBreadcrumbsJSONTag;
|
|
1907
|
+
/** Define o JSON de breadcrumbs da página */
|
|
1908
|
+
setBreadcrumbsJson(items: BreadcrumbsItems[]): this;
|
|
1909
|
+
/** Converte itens do breadcrumb em itens do JSON */
|
|
1910
|
+
private getJsonBreadcrumbItems;
|
|
1911
|
+
/**
|
|
1912
|
+
* Monta a url do item de breadcrumb proveniente do array de urls
|
|
1913
|
+
* ou do caminho da própria página, conforme caso do último item.
|
|
1914
|
+
*/
|
|
1915
|
+
private getBreadcrumbItemUrl;
|
|
1916
|
+
/** Cria tag script para o JSON de SEO */
|
|
1917
|
+
private createJSONTag;
|
|
1918
|
+
/** Retorna tag para script json de breadcrumbs ou cria se não houver. */
|
|
1919
|
+
private getJSONTag;
|
|
1920
|
+
/** Define JSON para SEO somente quando no servidor */
|
|
1921
|
+
setPageJson(): this;
|
|
1922
|
+
/** Obtem JSON da Organização */
|
|
1923
|
+
private getOrgJson;
|
|
1924
|
+
/** Obtem JSON do Website (portal, unidades, etc) */
|
|
1925
|
+
private getWebsiteJson;
|
|
1926
|
+
/** Obtem Json da página */
|
|
1927
|
+
private getWebpageJson;
|
|
1928
|
+
private getUnidadePath;
|
|
1929
|
+
/**
|
|
1930
|
+
* Obtém a URL canônica da página.
|
|
1931
|
+
* @returns A URL canônica da página.
|
|
1932
|
+
*/
|
|
1933
|
+
getCanonicalHref(): string;
|
|
1934
|
+
/** Cria tag para links canonicals no head */
|
|
1935
|
+
private createCanonicalTag;
|
|
1936
|
+
/** Retorna tag para link canonical existe ou cria se não houver. */
|
|
1937
|
+
private getCanonicalTag;
|
|
1938
|
+
/**
|
|
1939
|
+
* Define link canonical da página
|
|
1940
|
+
* @param url url canonical
|
|
1941
|
+
*/
|
|
1942
|
+
setCanonicalHref(url?: string): this;
|
|
1943
|
+
/**
|
|
1944
|
+
* Verifica se a URL fornecida é um link canonical personalizado
|
|
1945
|
+
* @param url URL fornecida
|
|
1946
|
+
*/
|
|
1947
|
+
isCustomCanonical(url: string): boolean;
|
|
1948
|
+
/**
|
|
1949
|
+
* Obtém uma url válida na aplicação proveniente de uma URL gerada
|
|
1950
|
+
* pelo plugin Yoast para canonical automático.
|
|
1951
|
+
* Ex.: https://wp.rededorsaoluiz.com.br/brasil/especialidades/cardiologia/
|
|
1952
|
+
* @param urlFromWpApi URL canonica gerada pelo Yoast Plugin.
|
|
1953
|
+
*/
|
|
1954
|
+
toLocalCanonical(urlFromWpApi: string): string;
|
|
1955
|
+
getPostContent(post: WpPost): string;
|
|
1956
|
+
addArticleScript(post: WpPost, scriptName: string): void;
|
|
1957
|
+
removeArticleScript(scriptName: string): void;
|
|
1958
|
+
setUnidade({ unidade, unidadeName, unidadePath, unidadeSlug }: SeoUnidade): void;
|
|
1959
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeoService, never>;
|
|
1960
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SeoService>;
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
interface IServerResponseService {
|
|
1964
|
+
getHeader(key: string): string;
|
|
1965
|
+
setHeader(key: string, value: string): this;
|
|
1966
|
+
setHeaders(dictionary: {
|
|
1967
|
+
[key: string]: string;
|
|
1968
|
+
}): this;
|
|
1969
|
+
appendHeader(key: string, value: string, delimiter?: string): this;
|
|
1970
|
+
setStatus(code: number, message?: string): this;
|
|
1971
|
+
setNotFound(message?: string): this;
|
|
1972
|
+
setError(message?: string): this;
|
|
1973
|
+
setRedirect(redirectParams?: {
|
|
1974
|
+
statusCode: number;
|
|
1975
|
+
message: string;
|
|
1976
|
+
url?: string;
|
|
1977
|
+
}): this;
|
|
1978
|
+
}
|
|
1979
|
+
declare class ServerResponseService implements IServerResponseService {
|
|
1980
|
+
private response;
|
|
1981
|
+
getHeader(key: string): string;
|
|
1982
|
+
setHeader(key: string, value: string): this;
|
|
1983
|
+
appendHeader(key: string, value: string, delimiter?: string): this;
|
|
1984
|
+
setHeaders(dictionary: {
|
|
1985
|
+
[key: string]: string;
|
|
1986
|
+
}): this;
|
|
1987
|
+
setStatus(code: number, message?: string): this;
|
|
1988
|
+
setNotFound(message?: string): this;
|
|
1989
|
+
setUnauthorized(message?: string): this;
|
|
1990
|
+
setError(message?: string): this;
|
|
1991
|
+
setRedirect({ statusCode, message, url }?: {
|
|
1992
|
+
statusCode?: number;
|
|
1993
|
+
message?: string;
|
|
1994
|
+
url?: string;
|
|
1995
|
+
}): this;
|
|
1996
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ServerResponseService, never>;
|
|
1997
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ServerResponseService>;
|
|
1998
|
+
}
|
|
1999
|
+
type HttpCacheDirective = 'public' | 'private' | 'no-store' | 'no-cache' | 'must-revalidate' | 'no-transform' | 'proxy-revalidate';
|
|
2000
|
+
|
|
2001
|
+
interface ISsrResponseService {
|
|
2002
|
+
setStatus(code: number, message?: string): this;
|
|
2003
|
+
setNotFound(message?: string): this;
|
|
2004
|
+
setError(message?: string): this;
|
|
2005
|
+
setRedirect(params?: {
|
|
2006
|
+
statusCode?: number;
|
|
2007
|
+
url?: string;
|
|
2008
|
+
}): this;
|
|
2009
|
+
}
|
|
2010
|
+
declare class SsrResponseService implements ISsrResponseService {
|
|
2011
|
+
private readonly responseInit;
|
|
2012
|
+
setStatus(code: number, message?: string): this;
|
|
2013
|
+
setNotFound(message?: string): this;
|
|
2014
|
+
setError(message?: string): this;
|
|
2015
|
+
setRedirect(params?: {
|
|
2016
|
+
statusCode?: number;
|
|
2017
|
+
url?: string;
|
|
2018
|
+
}): this;
|
|
2019
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SsrResponseService, never>;
|
|
2020
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SsrResponseService>;
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
declare class SiteBackendService {
|
|
2024
|
+
private httpClientService;
|
|
2025
|
+
private libConfig;
|
|
2026
|
+
private platformId;
|
|
2027
|
+
siteApiUrl: string;
|
|
2028
|
+
constructor();
|
|
2029
|
+
private getApiUrl;
|
|
2030
|
+
/**
|
|
2031
|
+
* GET para qualquer endpoint do back-end do site.
|
|
2032
|
+
* @param path - O caminho do recurso. (Inicia sem '/'. Ex: 'unidades/wp')
|
|
2033
|
+
* @param params - Parâmetros opcionais para a requisição.
|
|
2034
|
+
* @returns Observable que emite os dados retornados pelo back-end.
|
|
2035
|
+
*/
|
|
2036
|
+
get<T = any>(path: string, params?: any): Observable<T>;
|
|
2037
|
+
/**
|
|
2038
|
+
* POST para qualquer endpoint do back-end do site.
|
|
2039
|
+
* @param path - O caminho do recurso. (Inicia sem '/'. Ex: 'unidades/wp')
|
|
2040
|
+
* @param params - Parâmetros opcionais para a requisição.
|
|
2041
|
+
* @returns Observable que emite os dados retornados pelo back-end.
|
|
2042
|
+
*/
|
|
2043
|
+
post<T = any>(path: string, params?: any): Observable<T>;
|
|
2044
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SiteBackendService, never>;
|
|
2045
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SiteBackendService>;
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2048
|
+
export { AbstractModalComponent, AbstractModalDrawerComponent, EnumDoencaTaxonomy, EnumDoencaTaxonomyCat, ErrorInterceptor, ErrorService, FilterType, GeolocService, GeolocationPermissions, HttpClientService, LIB_CONFIG, LogInterceptor, LogService, MapBoxService, ModalDrawerService, ModalService, PhoneService, PrivacyToolsService, REQUEST, RESPONSE, RdsiteLinkDirective, RdsiteModalComponentStyle, RdsiteModalDrawerComponentStyle, RdsitePhoneModalDirective, SeoService, ServerResponseService, SiteBackendService, SsrResponseService, TransferStateUrlInterceptor, checkSafariAgent, djb2Hash, executeWithRetry, formatPhone, getCircularReplacer, getSiteUrl, removeHtmlTags };
|
|
2049
|
+
export type { Address, AlgoliaConfig, AlgoliaMultipleResults, AlgoliaOption, AlgoliaResult, AlgoliaSearchParams, BreadcrumbsItems, BreadcrumbsJsonItem, CentroEstudosBackendMedico, CentroMedico, CheckboxGroupFilterConfig, CheckboxGroupFilterSection, Content, ContentBanner, CtaWrapper, CustomFilterConfig, CustomFilterSection, DoencaBackend, DoencaTaxonomy, EspecialidadeBackend, EspecialidadeGrupoBackend, ExameApiDados, ExameBackend, Excerpt, FeaturedMedia, FeaturedMediaDetails, FilterAction, FilterControl, FilterControlValue, FilterEvent, FilterOption, FilterPlanosConvenios, FilterPlanosConveniosChange, FilterPlanosConveniosCobertura, FilterSection, FilterSectionBase, FlexibleContent, Geolocation, Guid, HomeSlideshow, HttpCacheDirective, IServerResponseService, ISsrResponseService, InputFilterConfig, InputFilterSection, LibConfig, Links, MapBoxGeocodingParams, MapBoxReverseGeocodingParams, MedicoCv, MenuCta, MenuDeUnidade, MenuDeUnidadesItem, MenuItem, MenuItemDestaque, MenuPorEstado, MenuSocialMedia, Meta, PrivacyToolsConfigOptions, PrivacyToolsCookieBanner, RDSLCobertura, RDSLCoberturaParams, RDSLConvenio, RDSLConvenioParams, RDSLEspecialidade, RDSLEspecialidadesParams, RDSLGrupoEspecialidade, RDSLGrupoEspecialidadeParams, RDSLPlano, RDSLPlanoParams, RDSLUnidade, RDSLUnidadesParams, RadioGroupFilterConfig, RadioGroupFilterSection, RadioGroupValue, RdsiteImage, RdslAlgoliaMultipleIndex, RdslAlgoliaSearchParams, RdslPostCategory, SectionNavigationConfig, SectionNavigationData, SelectFilterConfig, SelectFilterSection, SeoData, SeoUnidade, SocialMetaProperties, TaxonomiasDoencasList, Title, UnidadeCta, UnidadeEmergencia, UnidadeEspecialidadeProcurada, UnidadeEstiloWhatsapp, UnidadeExamesProcurados, UnidadeInfo, UnidadeNossasMarcas, UnidadeOptions, UnidadePhoneModal, UnifiedMenu, WpAuthorQueryParams, WpCategory, WpCategoryQueryParams, WpCommonQueryParams, WpCommonResponse, WpCustomPost, WpDoenca, WpEnvelopeResponse, WpGlobalQueryParams, WpGlobalResponse, WpHttpParams, WpPage, WpPageQueryParams, WpPaginationQueryParams, WpPost, WpPostQueryParams, WpPublishingQueryParams, WpPublishingResponse, WpUnidadeOnco, WpUnidadeSite, WpUnidadeSiteDetalhe, WpYoastResponse, YoastData, YoastHeadJson, YoastMeta };
|