ctt-babylon 0.6.19 → 0.7.0
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/esm2022/lib/Enum/buttons-type.enum.mjs +6 -0
- package/esm2022/lib/Enum/index.mjs +3 -0
- package/esm2022/lib/Enum/logo-type.enum.mjs +10 -0
- package/esm2022/lib/Enum/services.enum.mjs +8 -0
- package/esm2022/lib/Enum/views.enum.mjs +5 -0
- package/esm2022/lib/components/core/babylon-404/babylon-404.component.mjs +18 -5
- package/esm2022/lib/components/core/babylon-404/babylon-404.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-404/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-action-banner/babylon-action-banner.component.mjs +30 -0
- package/esm2022/lib/components/core/babylon-action-banner/babylon-action-banner.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-action-banner/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-advantages/babylon-advantages-info.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-advantages/babylon-advantages.component.mjs +29 -5
- package/esm2022/lib/components/core/babylon-advantages/babylon-advantages.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-advantages/index.mjs +4 -0
- package/esm2022/lib/components/core/babylon-banner-gallery/babylon-banner-gallery.component.mjs +31 -5
- package/esm2022/lib/components/core/babylon-banner-gallery/babylon-banner-gallery.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-banner-gallery/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-banner-info/babylon-banner-info.component.mjs +133 -6
- package/esm2022/lib/components/core/babylon-banner-info/babylon-banner-info.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-banner-info/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-banner-newsletter/babylon-banner-newsletter.component.mjs +39 -5
- package/esm2022/lib/components/core/babylon-banner-newsletter/babylon-banner-newsletter.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-banner-newsletter/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-blog-details/babylon-blog-details.component.mjs +78 -5
- package/esm2022/lib/components/core/babylon-blog-details/babylon-blog-details.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-blog-details/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-blog-list/babylon-blog-list.component.mjs +79 -6
- package/esm2022/lib/components/core/babylon-blog-list/babylon-blog-list.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-blog-list/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-breadcrumb/babylon-breadcrumb.component.mjs +14 -5
- package/esm2022/lib/components/core/babylon-breadcrumb/babylon-breadcrumb.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-breadcrumb/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-color-picker/babylon-color-picker.component.mjs +267 -0
- package/esm2022/lib/components/core/babylon-color-picker/index.mjs +2 -0
- package/esm2022/lib/components/core/babylon-comingsoon/babylon-comingsoon.component.mjs +10 -5
- package/esm2022/lib/components/core/babylon-comingsoon/babylon-comingsoon.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-comingsoon/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-contact-address/babylon-contact-address.component.mjs +19 -0
- package/esm2022/lib/components/core/babylon-contact-address/babylon-contact-address.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-contact-address/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-contact-form/babylon-contact-form.component.mjs +134 -20
- package/esm2022/lib/components/core/babylon-contact-form/babylon-contact-form.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-contact-form/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-contact-how/babylon-contact-how.component.mjs +23 -6
- package/esm2022/lib/components/core/babylon-contact-how/babylon-contact-how.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-contact-how/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-contact-map/babylon-contact-map.component.mjs +29 -6
- package/esm2022/lib/components/core/babylon-contact-map/babylon-contact-map.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-contact-map/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-engine/babylon-engine.component.mjs +237 -22
- package/esm2022/lib/components/core/babylon-engine/babylon-engine.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-engine/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-engine-modal/babylon-engine-modal.component.mjs +225 -33
- package/esm2022/lib/components/core/babylon-engine-modal/babylon-engine-modal.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-engine-modal/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-external-script/babylon-external-script.component.mjs +80 -0
- package/esm2022/lib/components/core/babylon-external-script/babylon-external-script.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-external-script/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-faq/babylon-faq.component.mjs +38 -5
- package/esm2022/lib/components/core/babylon-faq/babylon-faq.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-faq/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-features-slider/babylon-features-slider.component.mjs +28 -6
- package/esm2022/lib/components/core/babylon-features-slider/babylon-features-slider.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-features-slider/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-filter-modal/babylon-filter-modal.component.mjs +16 -6
- package/esm2022/lib/components/core/babylon-filter-modal/index.mjs +2 -0
- package/esm2022/lib/components/core/babylon-floating-buttons/babylon-floating-buttons.component.mjs +121 -0
- package/esm2022/lib/components/core/babylon-floating-buttons/babylon-floating-buttons.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-floating-buttons/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-footer-contact/babylon-footer-contact.component.mjs +25 -5
- package/esm2022/lib/components/core/babylon-footer-contact/babylon-footer-contact.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-footer-contact/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-footer-links/babylon-footer-links.component.mjs +13 -5
- package/esm2022/lib/components/core/babylon-footer-links/babylon-footer-links.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-footer-links/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-footer-logos/babylon-footer-logos.component.mjs +23 -5
- package/esm2022/lib/components/core/babylon-footer-logos/babylon-footer-logos.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-footer-logos/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-footer-social/babylon-footer-social.component.mjs +14 -5
- package/esm2022/lib/components/core/babylon-footer-social/babylon-footer-social.interface.mjs +3 -0
- package/esm2022/lib/components/core/babylon-footer-social/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-gallery/babylon-gallery.component.mjs +72 -23
- package/esm2022/lib/components/core/babylon-gallery/babylon-gallery.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-gallery/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-global-modal/babylon-global-modal.component.mjs +38 -0
- package/esm2022/lib/components/core/babylon-global-modal/babylon-global-modal.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-global-modal/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-grid-gallery/babylon-grid-gallery.component.mjs +42 -6
- package/esm2022/lib/components/core/babylon-grid-gallery/babylon-grid-gallery.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-grid-gallery/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-guests-popup/babylon-guests-popup.component.mjs +91 -7
- package/esm2022/lib/components/core/babylon-guests-popup/babylon-guests-popup.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-guests-popup/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-head-intro/babylon-head-intro.component.mjs +24 -5
- package/esm2022/lib/components/core/babylon-head-intro/babylon-head-intro.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-head-intro/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-header-book-show/babylon-header-book-show.component.mjs +114 -52
- package/esm2022/lib/components/core/babylon-header-book-show/babylon-header-book-show.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-header-book-show/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-header-clear/babylon-header-clear.component.mjs +143 -53
- package/esm2022/lib/components/core/babylon-header-clear/babylon-header-clear.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-header-clear/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-header-menu-center/babylon-header-menu-center.component.mjs +148 -52
- package/esm2022/lib/components/core/babylon-header-menu-center/babylon-header-menu-center.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-header-menu-center/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-header-menu-logo-center/babylon-header-menu-logo-center.component.mjs +122 -0
- package/esm2022/lib/components/core/babylon-header-menu-logo-center/babylon-header-menu-logo-center.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-header-menu-logo-center/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-header-menu-show/babylon-header-menu-show.component.mjs +92 -52
- package/esm2022/lib/components/core/babylon-header-menu-show/babylon-header-menu-show.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-header-menu-show/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-header-mobile/babylon-header-mobile.component.mjs +156 -0
- package/esm2022/lib/components/core/babylon-header-mobile/babylon-header-mobile.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-header-mobile/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-hotels-list/babylon-hotel.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-hotels-list/babylon-hotels-list.component.mjs +12 -5
- package/esm2022/lib/components/core/babylon-hotels-list/babylon-hotels-list.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-hotels-list/index.mjs +4 -0
- package/esm2022/lib/components/core/babylon-hotels-slider/babylon-hotels-slider.component.mjs +19 -6
- package/esm2022/lib/components/core/babylon-hotels-slider/babylon-hotels-slider.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-hotels-slider/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info-big/babylon-info-big.component.mjs +19 -5
- package/esm2022/lib/components/core/babylon-info-big/babylon-info-big.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-info-big/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info-grid/babylon-info-grid.component.mjs +31 -7
- package/esm2022/lib/components/core/babylon-info-grid/babylon-info-grid.interface.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info-grid/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info-img/babylon-info-img.component.mjs +95 -5
- package/esm2022/lib/components/core/babylon-info-img/babylon-info-img.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-info-img/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info-img-slider/babylon-info-img-slider.component.mjs +56 -0
- package/esm2022/lib/components/core/babylon-info-img-slider/babylon-info-img-slider.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-info-img-slider/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info-intro/babylon-info-intro.component.mjs +62 -5
- package/esm2022/lib/components/core/babylon-info-intro/babylon-info-intro.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-info-intro/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info-zig-zag/babylon-info-zig-zag.component.mjs +31 -5
- package/esm2022/lib/components/core/babylon-info-zig-zag/babylon-info-zig-zag.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-info-zig-zag/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info-zigzag-v2/babylon-info-zigzag-v2.component.mjs +16 -5
- package/esm2022/lib/components/core/babylon-info-zigzag-v2/babylon-info-zigzag-v2.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-info-zigzag-v2/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info2col-img/babylon-info2col-img.component.mjs +36 -0
- package/esm2022/lib/components/core/babylon-info2col-img/babylon-info2col-img.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-info2col-img/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info2img/babylon-info2img.component.mjs +30 -5
- package/esm2022/lib/components/core/babylon-info2img/babylon-info2img.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-info2img/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info2img-big/babylon-info2img-big.component.mjs +38 -5
- package/esm2022/lib/components/core/babylon-info2img-big/babylon-info2img-big.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-info2img-big/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-info3img/babylon-info3img.component.mjs +19 -5
- package/esm2022/lib/components/core/babylon-info3img/index.mjs +2 -0
- package/esm2022/lib/components/core/babylon-info4img/babylon-info4img.component.mjs +23 -5
- package/esm2022/lib/components/core/babylon-info4img/babylon-info4img.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-info4img/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-items-grid/babylon-items-grid.component.mjs +21 -5
- package/esm2022/lib/components/core/babylon-items-grid/babylon-items-grid.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-items-grid/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-language-modal/babylon-language-modal.component.mjs +13 -7
- package/esm2022/lib/components/core/babylon-language-modal/babylon-language-modal.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-language-modal/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-legal/babylon-legal.component.mjs +19 -5
- package/esm2022/lib/components/core/babylon-legal/babylon-legal.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-legal/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-list-grid/babylon-list-grid.component.mjs +15 -5
- package/esm2022/lib/components/core/babylon-list-grid/babylon-list-grid.interface.mjs +3 -0
- package/esm2022/lib/components/core/babylon-list-grid/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-modal-menu/babylon-modal-menu.component.mjs +139 -0
- package/esm2022/lib/components/core/babylon-modal-multiple-motors/babylon-modal-multiple-motors.component.mjs +35 -0
- package/esm2022/lib/components/core/babylon-modal-multiple-motors/babylon-modal-multiple-motors.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-modal-multiple-motors/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-modal-popup/babylon-modal-popup.component.mjs +39 -0
- package/esm2022/lib/components/core/babylon-modal-popup/babylon-modal-popup.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-modal-popup/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-newsletter/babylon-newsletter.component.mjs +52 -9
- package/esm2022/lib/components/core/babylon-newsletter/babylon-newsletter.interface.mjs +3 -0
- package/esm2022/lib/components/core/babylon-newsletter/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-offer-detail/babylon-offer-detail.component.mjs +37 -5
- package/esm2022/lib/components/core/babylon-offer-detail/babylon-offer-detail.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-offer-detail/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-offer-popup/babylon-offer-popup.component.mjs +32 -11
- package/esm2022/lib/components/core/babylon-offer-popup/babylon-offer-popup.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-offer-popup/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-offer-popupV2/babylon-offer-popup-v2.component.mjs +49 -0
- package/esm2022/lib/components/core/babylon-offer-popupV2/babylon-offer-popup-v2.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-offer-popupV2/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-offer-slider/babylon-offer-slider.component.mjs +20 -5
- package/esm2022/lib/components/core/babylon-offer-slider/babylon-offer-slider.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-offer-slider/babylon-offer.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-offer-slider/index.mjs +4 -0
- package/esm2022/lib/components/core/babylon-offers-list/babylon-offers-list.component.mjs +47 -5
- package/esm2022/lib/components/core/babylon-offers-list/babylon-offers-list.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-offers-list/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-offers-slider/babylon-offers-slider.component.mjs +20 -5
- package/esm2022/lib/components/core/babylon-offers-slider/index.mjs +2 -0
- package/esm2022/lib/components/core/babylon-preload/babylon-preload.component.mjs +28 -4
- package/esm2022/lib/components/core/babylon-preload/index.mjs +2 -0
- package/esm2022/lib/components/core/babylon-press-list/babylon-press-list.component.mjs +27 -0
- package/esm2022/lib/components/core/babylon-press-list/babylon-press-list.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-press-list/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-room-details/babylon-room-detail.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-room-details/babylon-room-details.component.mjs +19 -5
- package/esm2022/lib/components/core/babylon-room-details/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-rooms-cols/babylon-rooms-cols.component.mjs +158 -5
- package/esm2022/lib/components/core/babylon-rooms-cols/babylon-rooms-cols.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-rooms-cols/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-rooms-grid/babylon-rooms-grid.component.mjs +19 -6
- package/esm2022/lib/components/core/babylon-rooms-grid/babylon-rooms-grid.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-rooms-grid/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-rooms-list/babylon-rooms-list.component.mjs +32 -6
- package/esm2022/lib/components/core/babylon-rooms-list/babylon-rooms-list.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-rooms-list/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-rooms-slider/babylon-room.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-rooms-slider/babylon-rooms-slider.component.mjs +25 -5
- package/esm2022/lib/components/core/babylon-rooms-slider/babylon-rooms-slider.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-rooms-slider/babylon-rooms-text-info.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-rooms-slider/index.mjs +5 -0
- package/esm2022/lib/components/core/babylon-services-slider/babylon-service-slider.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-services-slider/babylon-services-slider.component.mjs +17 -5
- package/esm2022/lib/components/core/babylon-services-slider/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-slider2col/babylon-slider2col.component.mjs +28 -5
- package/esm2022/lib/components/core/babylon-slider2col/index.mjs +2 -0
- package/esm2022/lib/components/core/babylon-slider2items/babylon-slider2items.component.mjs +15 -5
- package/esm2022/lib/components/core/babylon-slider2items/babylon-slider2items.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-slider2items/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-slider3col/babylon-slider3col.component.mjs +53 -0
- package/esm2022/lib/components/core/babylon-slider3col/index.mjs +2 -0
- package/esm2022/lib/components/core/babylon-slider3col-clear/babylon-slider3col-clear.component.mjs +11 -0
- package/esm2022/lib/components/core/babylon-slider3col-clear/index.mjs +2 -0
- package/esm2022/lib/components/core/babylon-slider3items/babylon-slider3items.component.mjs +14 -5
- package/esm2022/lib/components/core/babylon-slider3items/babylon-slider3items.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-slider3items/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-slider4col/babylon-slider4col.component.mjs +37 -5
- package/esm2022/lib/components/core/babylon-slider4col/index.mjs +2 -0
- package/esm2022/lib/components/core/babylon-static-footer/babylon-static-footer.component.mjs +104 -6
- package/esm2022/lib/components/core/babylon-static-footer/babylon-static-footer.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-static-footer/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-static-footer-v2/babylon-static-footer-v2.component.mjs +48 -8
- package/esm2022/lib/components/core/babylon-static-footer-v2/babylon-static-footer-v2.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-static-footer-v2/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-submenu-hotel/babylon-submenu-hotel.component.mjs +35 -5
- package/esm2022/lib/components/core/babylon-submenu-hotel/babylon-submenu-hotel.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-submenu-hotel/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-thanks/babylon-thanks.component.mjs +18 -5
- package/esm2022/lib/components/core/babylon-thanks/babylon-thanks.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-thanks/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-top-slider/babylon-top-slider-item.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-top-slider/babylon-top-slider.component.mjs +187 -5
- package/esm2022/lib/components/core/babylon-top-slider/babylon-top-slider.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-top-slider/index.mjs +4 -0
- package/esm2022/lib/components/core/babylon-top-slider-thumbs/babylon-top-slider-thumbs.component.mjs +33 -6
- package/esm2022/lib/components/core/babylon-top-slider-thumbs/babylon-top-slider-thumbs.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-top-slider-thumbs/index.mjs +3 -0
- package/esm2022/lib/components/core/babylon-top-slider-v2/babylon-top-slider-v2-item.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-top-slider-v2/babylon-top-slider-v2.component.mjs +22 -5
- package/esm2022/lib/components/core/babylon-top-slider-v2/babylon-top-slider-v2.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-top-slider-v2/index.mjs +4 -0
- package/esm2022/lib/components/core/babylon-top-slider-video/babylon-top-slider-video.component.mjs +194 -5
- package/esm2022/lib/components/core/babylon-top-slider-video/babylon-top-slider-video.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-top-slider-video/babylon-video-source.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-top-slider-video/index.mjs +4 -0
- package/esm2022/lib/components/core/babylon-webmap/babylon-webmap.component.mjs +23 -5
- package/esm2022/lib/components/core/babylon-webmap/babylon-webmap.interface.mjs +2 -0
- package/esm2022/lib/components/core/babylon-webmap/index.mjs +3 -0
- package/esm2022/lib/components/core/index.mjs +87 -0
- package/esm2022/lib/components/shared/babylon-dynamic-heading/babylon-dynamic-heading.component.mjs +124 -0
- package/esm2022/lib/components/shared/babylon-dynamic-heading/babylon-dynamic-heading.interface.mjs +2 -0
- package/esm2022/lib/components/shared/babylon-dynamic-heading/index.mjs +3 -0
- package/esm2022/lib/components/shared/babylon-search/babylon-search.component.mjs +82 -0
- package/esm2022/lib/components/shared/babylon-search/index.mjs +2 -0
- package/esm2022/lib/components/shared/index.mjs +2 -0
- package/esm2022/lib/directives/babylon-background-strip/babylon-background-strip.directive.mjs +71 -0
- package/esm2022/lib/directives/babylon-customs/babylon-custom-mouse-pointer.directive.mjs +52 -0
- package/esm2022/lib/directives/babylon-galleries/babylon-light-gallery.directive.mjs +107 -0
- package/esm2022/lib/directives/babylon-hobble-effect/babylon-hobble-effect.directive.mjs +60 -0
- package/esm2022/lib/directives/babylon-pagination/babylon-pagination.directive.mjs +127 -0
- package/esm2022/lib/directives/babylon-sliders/babylon-custom-slider.directive.mjs +62 -0
- package/esm2022/lib/directives/babylon-sliders/babylon-hotels-slider.directive.mjs +107 -0
- package/esm2022/lib/directives/babylon-sliders/babylon-sliders.directive.mjs +438 -0
- package/esm2022/lib/directives/babylon-sliders/babylon-swiper-slider.directive.mjs +107 -0
- package/esm2022/lib/directives/data-background/data-background.directive.mjs +32 -0
- package/esm2022/lib/directives/link-type/link-type.directive.mjs +227 -0
- package/esm2022/lib/directives/scrolls/scroll-up.directive.mjs +27 -0
- package/esm2022/lib/interfaces/babylon-button.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-consult-type.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-dropdown.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-global-icon.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-image.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-input.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-menu-button.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-menu-info.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-page-config.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-site-config.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-tags.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-text-info.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-texts-colors.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-texts.interface.mjs +2 -0
- package/esm2022/lib/interfaces/index.mjs +15 -0
- package/esm2022/lib/pipes/babylon-clean-phone.pipe.mjs +14 -0
- package/esm2022/lib/pipes/babylon-currency.pipe.mjs +29 -0
- package/esm2022/lib/services/color-panel.service.mjs +316 -0
- package/esm2022/lib/services/index.mjs +3 -1
- package/esm2022/lib/services/mapper/index.mjs +3 -0
- package/esm2022/lib/services/mapper/mapper.service.mjs +2470 -0
- package/esm2022/lib/services/mapper/mapper.service.token.mjs +3 -0
- package/esm2022/lib/services/modals-service/index.mjs +2 -0
- package/esm2022/lib/services/modals-service/modals.service.mjs +77 -0
- package/esm2022/lib/services/screen-sizer/screen-sizer.service.mjs +46 -35
- package/esm2022/lib/utils/index.mjs +2 -0
- package/esm2022/lib/utils/utils.mjs +153 -0
- package/esm2022/public-api.mjs +10 -113
- package/fesm2022/ctt-babylon.mjs +9158 -2117
- package/fesm2022/ctt-babylon.mjs.map +1 -1
- package/lib/Enum/buttons-type.enum.d.ts +4 -0
- package/lib/Enum/index.d.ts +2 -0
- package/lib/Enum/logo-type.enum.d.ts +8 -0
- package/lib/Enum/services.enum.d.ts +6 -0
- package/lib/Enum/views.enum.d.ts +3 -0
- package/lib/components/core/babylon-404/babylon-404.component.d.ts +8 -1
- package/lib/components/core/babylon-404/babylon-404.interface.d.ts +9 -0
- package/lib/components/core/babylon-404/index.d.ts +2 -0
- package/lib/components/core/babylon-action-banner/babylon-action-banner.component.d.ts +14 -0
- package/lib/components/core/babylon-action-banner/babylon-action-banner.interface.d.ts +9 -0
- package/lib/components/core/babylon-action-banner/index.d.ts +2 -0
- package/lib/components/core/babylon-advantages/babylon-advantages-info.interface.d.ts +5 -0
- package/lib/components/core/babylon-advantages/babylon-advantages.component.d.ts +14 -1
- package/lib/components/core/babylon-advantages/babylon-advantages.interface.d.ts +13 -0
- package/lib/components/core/babylon-advantages/index.d.ts +3 -0
- package/lib/components/core/babylon-banner-gallery/babylon-banner-gallery.component.d.ts +11 -1
- package/lib/components/core/babylon-banner-gallery/babylon-banner-gallery.interface.d.ts +9 -0
- package/lib/components/core/babylon-banner-gallery/index.d.ts +2 -0
- package/lib/components/core/babylon-banner-info/babylon-banner-info.component.d.ts +25 -2
- package/lib/components/core/babylon-banner-info/babylon-banner-info.interface.d.ts +10 -0
- package/lib/components/core/babylon-banner-info/index.d.ts +2 -0
- package/lib/components/core/babylon-banner-newsletter/babylon-banner-newsletter.component.d.ts +16 -1
- package/lib/components/core/babylon-banner-newsletter/babylon-banner-newsletter.interface.d.ts +9 -0
- package/lib/components/core/babylon-banner-newsletter/index.d.ts +2 -0
- package/lib/components/core/babylon-blog-details/babylon-blog-details.component.d.ts +30 -1
- package/lib/components/core/babylon-blog-details/babylon-blog-details.interface.d.ts +24 -0
- package/lib/components/core/babylon-blog-details/index.d.ts +2 -0
- package/lib/components/core/babylon-blog-list/babylon-blog-list.component.d.ts +45 -2
- package/lib/components/core/babylon-blog-list/babylon-blog-list.interface.d.ts +18 -0
- package/lib/components/core/babylon-blog-list/index.d.ts +2 -0
- package/lib/components/core/babylon-breadcrumb/babylon-breadcrumb.component.d.ts +4 -1
- package/lib/components/core/babylon-breadcrumb/babylon-breadcrumb.interface.d.ts +4 -0
- package/lib/components/core/babylon-breadcrumb/index.d.ts +2 -0
- package/lib/components/core/babylon-color-picker/babylon-color-picker.component.d.ts +57 -0
- package/lib/components/core/babylon-color-picker/index.d.ts +1 -0
- package/lib/components/core/babylon-comingsoon/babylon-comingsoon.component.d.ts +12 -1
- package/lib/components/core/babylon-comingsoon/babylon-comingsoon.interface.d.ts +11 -0
- package/lib/components/core/babylon-comingsoon/index.d.ts +2 -0
- package/lib/components/core/babylon-contact-address/babylon-contact-address.component.d.ts +22 -0
- package/lib/components/core/babylon-contact-address/babylon-contact-address.interface.d.ts +4 -0
- package/lib/components/core/babylon-contact-address/index.d.ts +2 -0
- package/lib/components/core/babylon-contact-form/babylon-contact-form.component.d.ts +35 -6
- package/lib/components/core/babylon-contact-form/babylon-contact-form.interface.d.ts +15 -0
- package/lib/components/core/babylon-contact-form/index.d.ts +2 -0
- package/lib/components/core/babylon-contact-how/babylon-contact-how.component.d.ts +14 -2
- package/lib/components/core/babylon-contact-how/babylon-contact-how.interface.d.ts +6 -0
- package/lib/components/core/babylon-contact-how/index.d.ts +2 -0
- package/lib/components/core/babylon-contact-map/babylon-contact-map.component.d.ts +16 -2
- package/lib/components/core/babylon-contact-map/babylon-contact-map.interface.d.ts +8 -0
- package/lib/components/core/babylon-contact-map/index.d.ts +2 -0
- package/lib/components/core/babylon-engine/babylon-engine.component.d.ts +71 -11
- package/lib/components/core/babylon-engine/babylon-engine.interface.d.ts +24 -0
- package/lib/components/core/babylon-engine/index.d.ts +2 -0
- package/lib/components/core/babylon-engine-modal/babylon-engine-modal.component.d.ts +60 -16
- package/lib/components/core/babylon-engine-modal/babylon-engine-modal.interface.d.ts +22 -0
- package/lib/components/core/babylon-engine-modal/index.d.ts +2 -0
- package/lib/components/core/babylon-external-script/babylon-external-script.component.d.ts +21 -0
- package/lib/components/core/babylon-external-script/babylon-external-script.interface.d.ts +5 -0
- package/lib/components/core/babylon-external-script/index.d.ts +2 -0
- package/lib/components/core/babylon-faq/babylon-faq.component.d.ts +15 -1
- package/lib/components/core/babylon-faq/babylon-faq.interface.d.ts +8 -0
- package/lib/components/core/babylon-faq/index.d.ts +2 -0
- package/lib/components/core/babylon-features-slider/babylon-features-slider.component.d.ts +18 -2
- package/lib/components/core/babylon-features-slider/babylon-features-slider.interface.d.ts +8 -0
- package/lib/components/core/babylon-features-slider/index.d.ts +2 -0
- package/lib/components/core/babylon-filter-modal/babylon-filter-modal.component.d.ts +8 -3
- package/lib/components/core/babylon-filter-modal/index.d.ts +1 -0
- package/lib/components/core/babylon-floating-buttons/babylon-floating-buttons.component.d.ts +39 -0
- package/lib/components/core/babylon-floating-buttons/babylon-floating-buttons.interface.d.ts +8 -0
- package/lib/components/core/babylon-floating-buttons/index.d.ts +2 -0
- package/lib/components/core/babylon-footer-contact/babylon-footer-contact.component.d.ts +24 -1
- package/lib/components/core/babylon-footer-contact/babylon-footer-contact.interface.d.ts +14 -0
- package/lib/components/core/babylon-footer-contact/index.d.ts +2 -0
- package/lib/components/core/babylon-footer-links/babylon-footer-links.component.d.ts +5 -1
- package/lib/components/core/babylon-footer-links/babylon-footer-links.interface.d.ts +6 -0
- package/lib/components/core/babylon-footer-links/index.d.ts +2 -0
- package/lib/components/core/babylon-footer-logos/babylon-footer-logos.component.d.ts +11 -1
- package/lib/components/core/babylon-footer-logos/babylon-footer-logos.interface.d.ts +7 -0
- package/lib/components/core/babylon-footer-logos/index.d.ts +2 -0
- package/lib/components/core/babylon-footer-social/babylon-footer-social.component.d.ts +5 -1
- package/lib/components/core/babylon-footer-social/babylon-footer-social.interface.d.ts +6 -0
- package/lib/components/core/babylon-footer-social/index.d.ts +2 -0
- package/lib/components/core/babylon-gallery/babylon-gallery.component.d.ts +34 -8
- package/lib/components/core/babylon-gallery/babylon-gallery.interface.d.ts +12 -0
- package/lib/components/core/babylon-gallery/index.d.ts +2 -0
- package/lib/components/core/babylon-global-modal/babylon-global-modal.component.d.ts +31 -0
- package/lib/components/core/babylon-global-modal/babylon-global-modal.interface.d.ts +8 -0
- package/lib/components/core/babylon-global-modal/index.d.ts +2 -0
- package/lib/components/core/babylon-grid-gallery/babylon-grid-gallery.component.d.ts +19 -2
- package/lib/components/core/babylon-grid-gallery/babylon-grid-gallery.interface.d.ts +8 -0
- package/lib/components/core/babylon-grid-gallery/index.d.ts +2 -0
- package/lib/components/core/babylon-guests-popup/babylon-guests-popup.component.d.ts +24 -7
- package/lib/components/core/babylon-guests-popup/babylon-guests-popup.interface.d.ts +11 -0
- package/lib/components/core/babylon-guests-popup/index.d.ts +2 -0
- package/lib/components/core/babylon-head-intro/babylon-head-intro.component.d.ts +9 -1
- package/lib/components/core/babylon-head-intro/babylon-head-intro.interface.d.ts +10 -0
- package/lib/components/core/babylon-head-intro/index.d.ts +2 -0
- package/lib/components/core/babylon-header-book-show/babylon-header-book-show.component.d.ts +35 -7
- package/lib/components/core/babylon-header-book-show/babylon-header-book-show.interface.d.ts +20 -0
- package/lib/components/core/babylon-header-book-show/index.d.ts +2 -0
- package/lib/components/core/babylon-header-clear/babylon-header-clear.component.d.ts +34 -9
- package/lib/components/core/babylon-header-clear/babylon-header-clear.interface.d.ts +22 -0
- package/lib/components/core/babylon-header-clear/index.d.ts +2 -0
- package/lib/components/core/babylon-header-menu-center/babylon-header-menu-center.component.d.ts +33 -8
- package/lib/components/core/babylon-header-menu-center/babylon-header-menu-center.interface.d.ts +19 -0
- package/lib/components/core/babylon-header-menu-center/index.d.ts +2 -0
- package/lib/components/core/babylon-header-menu-logo-center/babylon-header-menu-logo-center.component.d.ts +40 -0
- package/lib/components/core/babylon-header-menu-logo-center/babylon-header-menu-logo-center.interface.d.ts +23 -0
- package/lib/components/core/babylon-header-menu-logo-center/index.d.ts +2 -0
- package/lib/components/core/babylon-header-menu-show/babylon-header-menu-show.component.d.ts +29 -8
- package/lib/components/core/babylon-header-menu-show/babylon-header-menu-show.interface.d.ts +18 -0
- package/lib/components/core/babylon-header-menu-show/index.d.ts +2 -0
- package/lib/components/core/babylon-header-mobile/babylon-header-mobile.component.d.ts +53 -0
- package/lib/components/core/babylon-header-mobile/babylon-header-mobile.interface.d.ts +26 -0
- package/lib/components/core/babylon-header-mobile/index.d.ts +2 -0
- package/lib/components/core/babylon-hotels-list/babylon-hotel.interface.d.ts +18 -0
- package/lib/components/core/babylon-hotels-list/babylon-hotels-list.component.d.ts +5 -1
- package/lib/components/core/babylon-hotels-list/babylon-hotels-list.interface.d.ts +6 -0
- package/lib/components/core/babylon-hotels-list/index.d.ts +3 -0
- package/lib/components/core/babylon-hotels-slider/babylon-hotels-slider.component.d.ts +5 -1
- package/lib/components/core/babylon-hotels-slider/babylon-hotels-slider.interface.d.ts +6 -0
- package/lib/components/core/babylon-hotels-slider/index.d.ts +2 -0
- package/lib/components/core/babylon-info-big/babylon-info-big.component.d.ts +9 -1
- package/lib/components/core/babylon-info-big/babylon-info-big.interface.d.ts +10 -0
- package/lib/components/core/babylon-info-big/index.d.ts +2 -0
- package/lib/components/core/babylon-info-grid/babylon-info-grid.component.d.ts +22 -3
- package/lib/components/core/babylon-info-grid/babylon-info-grid.interface.d.ts +9 -0
- package/lib/components/core/babylon-info-grid/index.d.ts +2 -0
- package/lib/components/core/babylon-info-img/babylon-info-img.component.d.ts +40 -2
- package/lib/components/core/babylon-info-img/babylon-info-img.interface.d.ts +27 -0
- package/lib/components/core/babylon-info-img/index.d.ts +2 -0
- package/lib/components/core/babylon-info-img-slider/babylon-info-img-slider.component.d.ts +33 -0
- package/lib/components/core/babylon-info-img-slider/babylon-info-img-slider.interface.d.ts +11 -0
- package/lib/components/core/babylon-info-img-slider/index.d.ts +2 -0
- package/lib/components/core/babylon-info-intro/babylon-info-intro.component.d.ts +26 -1
- package/lib/components/core/babylon-info-intro/babylon-info-intro.interface.d.ts +19 -0
- package/lib/components/core/babylon-info-intro/index.d.ts +2 -0
- package/lib/components/core/babylon-info-zig-zag/babylon-info-zig-zag.component.d.ts +29 -1
- package/lib/components/core/babylon-info-zig-zag/babylon-info-zig-zag.interface.d.ts +12 -0
- package/lib/components/core/babylon-info-zig-zag/index.d.ts +2 -0
- package/lib/components/core/babylon-info-zigzag-v2/babylon-info-zigzag-v2.component.d.ts +14 -1
- package/lib/components/core/babylon-info-zigzag-v2/babylon-info-zigzag-v2.interface.d.ts +5 -0
- package/lib/components/core/babylon-info-zigzag-v2/index.d.ts +2 -0
- package/lib/components/core/babylon-info2col-img/babylon-info2col-img.component.d.ts +21 -0
- package/lib/components/core/babylon-info2col-img/babylon-info2col-img.interface.d.ts +12 -0
- package/lib/components/core/babylon-info2col-img/index.d.ts +2 -0
- package/lib/components/core/babylon-info2img/babylon-info2img.component.d.ts +14 -1
- package/lib/components/core/babylon-info2img/babylon-info2img.interface.d.ts +11 -0
- package/lib/components/core/babylon-info2img/index.d.ts +2 -0
- package/lib/components/core/babylon-info2img-big/babylon-info2img-big.component.d.ts +16 -1
- package/lib/components/core/babylon-info2img-big/babylon-info2img-big.interface.d.ts +14 -0
- package/lib/components/core/babylon-info2img-big/index.d.ts +2 -0
- package/lib/components/core/babylon-info3img/babylon-info3img.component.d.ts +9 -1
- package/lib/components/core/babylon-info3img/index.d.ts +1 -0
- package/lib/components/core/babylon-info4img/babylon-info4img.component.d.ts +11 -1
- package/lib/components/core/babylon-info4img/babylon-info4img.interface.d.ts +12 -0
- package/lib/components/core/babylon-info4img/index.d.ts +2 -0
- package/lib/components/core/babylon-items-grid/babylon-items-grid.component.d.ts +14 -1
- package/lib/components/core/babylon-items-grid/babylon-items-grid.interface.d.ts +8 -0
- package/lib/components/core/babylon-items-grid/index.d.ts +2 -0
- package/lib/components/core/babylon-language-modal/babylon-language-modal.component.d.ts +12 -5
- package/lib/components/core/babylon-language-modal/babylon-language-modal.interface.d.ts +7 -0
- package/lib/components/core/babylon-language-modal/index.d.ts +2 -0
- package/lib/components/core/babylon-legal/babylon-legal.component.d.ts +9 -1
- package/lib/components/core/babylon-legal/babylon-legal.interface.d.ts +7 -0
- package/lib/components/core/babylon-legal/index.d.ts +2 -0
- package/lib/components/core/babylon-list-grid/babylon-list-grid.component.d.ts +17 -1
- package/lib/components/core/babylon-list-grid/babylon-list-grid.interface.d.ts +8 -0
- package/lib/components/core/babylon-list-grid/index.d.ts +2 -0
- package/lib/components/core/babylon-modal-menu/babylon-modal-menu.component.d.ts +45 -0
- package/lib/components/core/babylon-modal-multiple-motors/babylon-modal-multiple-motors.component.d.ts +16 -0
- package/lib/components/core/babylon-modal-multiple-motors/babylon-modal-multiple-motors.interface.d.ts +8 -0
- package/lib/components/core/babylon-modal-multiple-motors/index.d.ts +2 -0
- package/lib/components/core/babylon-modal-popup/babylon-modal-popup.component.d.ts +25 -0
- package/lib/components/core/babylon-modal-popup/babylon-modal-popup.interface.d.ts +9 -0
- package/lib/components/core/babylon-modal-popup/index.d.ts +2 -0
- package/lib/components/core/babylon-newsletter/babylon-newsletter.component.d.ts +19 -3
- package/lib/components/core/babylon-newsletter/babylon-newsletter.interface.d.ts +9 -0
- package/lib/components/core/babylon-newsletter/index.d.ts +2 -0
- package/lib/components/core/babylon-offer-detail/babylon-offer-detail.component.d.ts +16 -1
- package/lib/components/core/babylon-offer-detail/babylon-offer-detail.interface.d.ts +17 -0
- package/lib/components/core/babylon-offer-detail/index.d.ts +2 -0
- package/lib/components/core/babylon-offer-popup/babylon-offer-popup.component.d.ts +17 -5
- package/lib/components/core/babylon-offer-popup/babylon-offer-popup.interface.d.ts +7 -0
- package/lib/components/core/babylon-offer-popup/index.d.ts +2 -0
- package/lib/components/core/babylon-offer-popupV2/babylon-offer-popup-v2.component.d.ts +21 -0
- package/lib/components/core/babylon-offer-popupV2/babylon-offer-popup-v2.interface.d.ts +9 -0
- package/lib/components/core/babylon-offer-popupV2/index.d.ts +2 -0
- package/lib/components/core/babylon-offer-slider/babylon-offer-slider.component.d.ts +6 -1
- package/lib/components/core/babylon-offer-slider/babylon-offer-slider.interface.d.ts +7 -0
- package/lib/components/core/babylon-offer-slider/babylon-offer.interface.d.ts +18 -0
- package/lib/components/core/babylon-offer-slider/index.d.ts +3 -0
- package/lib/components/core/babylon-offers-list/babylon-offers-list.component.d.ts +33 -2
- package/lib/components/core/babylon-offers-list/babylon-offers-list.interface.d.ts +14 -0
- package/lib/components/core/babylon-offers-list/index.d.ts +2 -0
- package/lib/components/core/babylon-offers-slider/babylon-offers-slider.component.d.ts +5 -1
- package/lib/components/core/babylon-offers-slider/index.d.ts +1 -0
- package/lib/components/core/babylon-preload/babylon-preload.component.d.ts +5 -1
- package/lib/components/core/babylon-preload/index.d.ts +1 -0
- package/lib/components/core/babylon-press-list/babylon-press-list.component.d.ts +17 -0
- package/lib/components/core/babylon-press-list/babylon-press-list.interface.d.ts +8 -0
- package/lib/components/core/babylon-press-list/index.d.ts +2 -0
- package/lib/components/core/babylon-room-details/babylon-room-detail.interface.d.ts +12 -0
- package/lib/components/core/babylon-room-details/babylon-room-details.component.d.ts +13 -1
- package/lib/components/core/babylon-room-details/index.d.ts +2 -0
- package/lib/components/core/babylon-rooms-cols/babylon-rooms-cols.component.d.ts +39 -1
- package/lib/components/core/babylon-rooms-cols/babylon-rooms-cols.interface.d.ts +10 -0
- package/lib/components/core/babylon-rooms-cols/index.d.ts +2 -0
- package/lib/components/core/babylon-rooms-grid/babylon-rooms-grid.component.d.ts +10 -1
- package/lib/components/core/babylon-rooms-grid/babylon-rooms-grid.interface.d.ts +8 -0
- package/lib/components/core/babylon-rooms-grid/index.d.ts +2 -0
- package/lib/components/core/babylon-rooms-list/babylon-rooms-list.component.d.ts +27 -1
- package/lib/components/core/babylon-rooms-list/babylon-rooms-list.interface.d.ts +6 -0
- package/lib/components/core/babylon-rooms-list/index.d.ts +2 -0
- package/lib/components/core/babylon-rooms-slider/babylon-room.interface.d.ts +15 -0
- package/lib/components/core/babylon-rooms-slider/babylon-rooms-slider.component.d.ts +6 -1
- package/lib/components/core/babylon-rooms-slider/babylon-rooms-slider.interface.d.ts +6 -0
- package/lib/components/core/babylon-rooms-slider/babylon-rooms-text-info.interface.d.ts +8 -0
- package/lib/components/core/babylon-rooms-slider/index.d.ts +4 -0
- package/lib/components/core/babylon-services-slider/babylon-service-slider.interface.d.ts +6 -0
- package/lib/components/core/babylon-services-slider/babylon-services-slider.component.d.ts +7 -1
- package/lib/components/core/babylon-services-slider/index.d.ts +2 -0
- package/lib/components/core/babylon-slider2col/babylon-slider2col.component.d.ts +22 -1
- package/lib/components/core/babylon-slider2col/index.d.ts +1 -0
- package/lib/components/core/babylon-slider2items/babylon-slider2items.component.d.ts +5 -1
- package/lib/components/core/babylon-slider2items/babylon-slider2items.interface.d.ts +6 -0
- package/lib/components/core/babylon-slider2items/index.d.ts +2 -0
- package/lib/components/core/babylon-slider3col/babylon-slider3col.component.d.ts +20 -0
- package/lib/components/core/babylon-slider3col/index.d.ts +1 -0
- package/lib/components/core/babylon-slider3col-clear/babylon-slider3col-clear.component.d.ts +5 -0
- package/lib/components/core/babylon-slider3col-clear/index.d.ts +1 -0
- package/lib/components/core/babylon-slider3items/babylon-slider3items.component.d.ts +15 -1
- package/lib/components/core/babylon-slider3items/babylon-slider3items.interface.d.ts +6 -0
- package/lib/components/core/babylon-slider3items/index.d.ts +2 -0
- package/lib/components/core/babylon-slider4col/babylon-slider4col.component.d.ts +15 -1
- package/lib/components/core/babylon-slider4col/index.d.ts +1 -0
- package/lib/components/core/babylon-static-footer/babylon-static-footer.component.d.ts +55 -2
- package/lib/components/core/babylon-static-footer/babylon-static-footer.interface.d.ts +29 -0
- package/lib/components/core/babylon-static-footer/index.d.ts +2 -0
- package/lib/components/core/babylon-static-footer-v2/babylon-static-footer-v2.component.d.ts +24 -3
- package/lib/components/core/babylon-static-footer-v2/babylon-static-footer-v2.interface.d.ts +18 -0
- package/lib/components/core/babylon-static-footer-v2/index.d.ts +2 -0
- package/lib/components/core/babylon-submenu-hotel/babylon-submenu-hotel.component.d.ts +13 -2
- package/lib/components/core/babylon-submenu-hotel/babylon-submenu-hotel.interface.d.ts +5 -0
- package/lib/components/core/babylon-submenu-hotel/index.d.ts +2 -0
- package/lib/components/core/babylon-thanks/babylon-thanks.component.d.ts +7 -1
- package/lib/components/core/babylon-thanks/babylon-thanks.interface.d.ts +7 -0
- package/lib/components/core/babylon-thanks/index.d.ts +2 -0
- package/lib/components/core/babylon-top-slider/babylon-top-slider-item.interface.d.ts +9 -0
- package/lib/components/core/babylon-top-slider/babylon-top-slider.component.d.ts +37 -2
- package/lib/components/core/babylon-top-slider/babylon-top-slider.interface.d.ts +12 -0
- package/lib/components/core/babylon-top-slider/index.d.ts +3 -0
- package/lib/components/core/babylon-top-slider-thumbs/babylon-top-slider-thumbs.component.d.ts +12 -2
- package/lib/components/core/babylon-top-slider-thumbs/babylon-top-slider-thumbs.interface.d.ts +8 -0
- package/lib/components/core/babylon-top-slider-thumbs/index.d.ts +2 -0
- package/lib/components/core/babylon-top-slider-v2/babylon-top-slider-v2-item.interface.d.ts +7 -0
- package/lib/components/core/babylon-top-slider-v2/babylon-top-slider-v2.component.d.ts +10 -1
- package/lib/components/core/babylon-top-slider-v2/babylon-top-slider-v2.interface.d.ts +8 -0
- package/lib/components/core/babylon-top-slider-v2/index.d.ts +3 -0
- package/lib/components/core/babylon-top-slider-video/babylon-top-slider-video.component.d.ts +34 -2
- package/lib/components/core/babylon-top-slider-video/babylon-top-slider-video.interface.d.ts +9 -0
- package/lib/components/core/babylon-top-slider-video/babylon-video-source.interface.d.ts +5 -0
- package/lib/components/core/babylon-top-slider-video/index.d.ts +3 -0
- package/lib/components/core/babylon-webmap/babylon-webmap.component.d.ts +11 -1
- package/lib/components/core/babylon-webmap/babylon-webmap.interface.d.ts +9 -0
- package/lib/components/core/babylon-webmap/index.d.ts +2 -0
- package/lib/components/core/index.d.ts +86 -0
- package/lib/components/shared/babylon-dynamic-heading/babylon-dynamic-heading.component.d.ts +31 -0
- package/lib/components/shared/babylon-dynamic-heading/babylon-dynamic-heading.interface.d.ts +5 -0
- package/lib/components/shared/babylon-dynamic-heading/index.d.ts +2 -0
- package/lib/components/shared/babylon-search/babylon-search.component.d.ts +30 -0
- package/lib/components/shared/babylon-search/index.d.ts +1 -0
- package/lib/components/shared/index.d.ts +1 -0
- package/lib/directives/babylon-background-strip/babylon-background-strip.directive.d.ts +17 -0
- package/lib/directives/babylon-customs/babylon-custom-mouse-pointer.directive.d.ts +12 -0
- package/lib/directives/babylon-galleries/babylon-light-gallery.directive.d.ts +18 -0
- package/lib/directives/babylon-hobble-effect/babylon-hobble-effect.directive.d.ts +15 -0
- package/lib/directives/babylon-pagination/babylon-pagination.directive.d.ts +39 -0
- package/lib/directives/babylon-sliders/babylon-custom-slider.directive.d.ts +13 -0
- package/{directives → lib/directives/babylon-sliders}/babylon-hotels-slider.directive.d.ts +2 -1
- package/lib/directives/babylon-sliders/babylon-sliders.directive.d.ts +36 -0
- package/lib/directives/babylon-sliders/babylon-swiper-slider.directive.d.ts +14 -0
- package/lib/directives/data-background/data-background.directive.d.ts +11 -0
- package/lib/directives/link-type/link-type.directive.d.ts +34 -0
- package/lib/directives/scrolls/scroll-up.directive.d.ts +7 -0
- package/lib/interfaces/babylon-button.interface.d.ts +9 -0
- package/lib/interfaces/babylon-consult-type.interface.d.ts +10 -0
- package/lib/interfaces/babylon-dropdown.interface.d.ts +9 -0
- package/lib/interfaces/babylon-global-icon.interface.d.ts +4 -0
- package/lib/interfaces/babylon-image.interface.d.ts +12 -0
- package/lib/interfaces/babylon-input.interface.d.ts +12 -0
- package/lib/interfaces/babylon-menu-button.interface.d.ts +10 -0
- package/lib/interfaces/babylon-menu-info.interface.d.ts +27 -0
- package/lib/interfaces/babylon-page-config.interface.d.ts +43 -0
- package/lib/interfaces/babylon-site-config.interface.d.ts +57 -0
- package/lib/interfaces/babylon-tags.interface.d.ts +20 -0
- package/lib/interfaces/babylon-text-info.interface.d.ts +17 -0
- package/lib/interfaces/babylon-texts-colors.interface.d.ts +19 -0
- package/lib/interfaces/babylon-texts.interface.d.ts +5 -0
- package/lib/interfaces/index.d.ts +14 -0
- package/lib/pipes/babylon-clean-phone.pipe.d.ts +7 -0
- package/lib/pipes/babylon-currency.pipe.d.ts +7 -0
- package/lib/services/color-panel.service.d.ts +41 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/mapper/index.d.ts +2 -0
- package/lib/services/mapper/mapper.service.d.ts +136 -0
- package/lib/services/mapper/mapper.service.token.d.ts +2 -0
- package/lib/services/modals-service/index.d.ts +1 -0
- package/lib/services/modals-service/modals.service.d.ts +15 -0
- package/lib/services/screen-sizer/screen-sizer.service.d.ts +2 -0
- package/lib/styles/styles/babylon/_spacing.scss +65 -65
- package/lib/styles/styles/babylon/common.scss +1384 -1179
- package/lib/styles/styles/babylon/globals.css +1 -0
- package/lib/styles/styles/babylon/globals.scss +300 -153
- package/lib/styles/styles/babylon/mixins.css +1 -1
- package/lib/styles/styles/babylon/mixins.scss +664 -137
- package/lib/styles/styles/babylon/slider.css +1 -1
- package/lib/styles/styles/babylon/slider.scss +646 -591
- package/lib/styles/styles/babylon/variables.css +1 -1
- package/lib/styles/styles/babylon/variables.scss +88 -163
- package/lib/styles/styles-babylon.scss +48 -7
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/utils.d.ts +14 -0
- package/package.json +11 -4
- package/public-api.d.ts +5 -110
- package/esm2022/directives/babylon-hotels-slider.directive.mjs +0 -103
- package/esm2022/lib/components/core/babylon-404-v2/babylon-404-v2.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-adventages-v2/babylon-adventages-v2.component.mjs +0 -12
- package/esm2022/lib/components/core/babylon-breadcrumb-v2/babylon-breadcrumb-v2.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-contact-form-v2/babylon-contact-form-v2.component.mjs +0 -37
- package/esm2022/lib/components/core/babylon-container-text-l2/babylon-container-text-l2.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-engine-modal-v2/babylon-engine-modal-v2.component.mjs +0 -91
- package/esm2022/lib/components/core/babylon-faq-v2/babylon-faq-v2.component.mjs +0 -17
- package/esm2022/lib/components/core/babylon-feature-pills/babylon-feature-pills.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-feature-pills-number/babylon-feature-pills-number.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-filter-modal-v2/babylon-filter-modal-v2.component.mjs +0 -21
- package/esm2022/lib/components/core/babylon-gallery-v2/babylon-gallery-v2.component.mjs +0 -105
- package/esm2022/lib/components/core/babylon-header-clear-v2/babylon-header-clear-v2.component.mjs +0 -76
- package/esm2022/lib/components/core/babylon-img-banner/babylon-img-banner.component.mjs +0 -12
- package/esm2022/lib/components/core/babylon-info-big-v2/babylon-info-big-v2.component.mjs +0 -60
- package/esm2022/lib/components/core/babylon-info-big-v3/babylon-info-big-v3.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-info-circle-imgs/babylon-info-circle-imgs.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-info-img-v2/babylon-info-img-v2.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-info-show-img/babylon-info-show-img.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-info-zigzag-v3/babylon-info-zigzag-v3.component.mjs +0 -18
- package/esm2022/lib/components/core/babylon-info-zigzag-v3-1/babylon-info-zigzag-v3-1.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-info-zigzag-v4/babylon-info-zigzag-v4.component.mjs +0 -12
- package/esm2022/lib/components/core/babylon-language-modal-v2/babylon-language-modal-v2.component.mjs +0 -28
- package/esm2022/lib/components/core/babylon-list-box-info/babylon-list-box-info.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-list-img/babylon-list-img.component.mjs +0 -78
- package/esm2022/lib/components/core/babylon-list-img-info/babylon-list-img-info.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-list-img-v2/babylon-list-img-v2.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-loyalty-table/babylon-loyalty-table.component.mjs +0 -65
- package/esm2022/lib/components/core/babylon-menu-modal/babylon-menu-modal.component.mjs +0 -19
- package/esm2022/lib/components/core/babylon-newsletter-modal/babylon-newsletter-modal.component.mjs +0 -19
- package/esm2022/lib/components/core/babylon-offer-detail-v2/babylon-offer-detail-v2.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-offer-popup-v2/babylon-offer-popup-v2.component.mjs +0 -19
- package/esm2022/lib/components/core/babylon-reviews/babylon-reviews.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-rooms-list-v2/babylon-rooms-list-v2.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-simple-img-info/babylon-simple-img-info.component.mjs +0 -12
- package/esm2022/lib/components/core/babylon-slider-box/babylon-slider-box.component.mjs +0 -12
- package/esm2022/lib/components/core/babylon-slider-img-static/babylon-slider-img-static.component.mjs +0 -12
- package/esm2022/lib/components/core/babylon-slider-img-static-v2/babylon-slider-img-static-v2.component.mjs +0 -12
- package/esm2022/lib/components/core/babylon-slider-img-video/babylon-slider-img-video.component.mjs +0 -51
- package/esm2022/lib/components/core/babylon-slider2col-v2/babylon-slider2col-v2.component.mjs +0 -12
- package/esm2022/lib/components/core/babylon-slider3col/babylon-slider3colcomponent.mjs +0 -11
- package/esm2022/lib/components/core/babylon-slider3col-v2/babylon-slider3col-v2.component.mjs +0 -12
- package/esm2022/lib/components/core/babylon-social-bar/babylon-social-bar.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-social-bar-v2/babylon-social-bar-v2.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-static-footer-v3/babylon-static-footer-v3.component.mjs +0 -67
- package/esm2022/lib/components/core/babylon-top-simple-banner/babylon-top-simple-banner.component.mjs +0 -14
- package/esm2022/lib/components/core/babylon-top-simple-img/babylon-top-simple-img.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-top-slider-video-v2/babylon-top-slider-video-v2.component.mjs +0 -11
- package/esm2022/lib/components/core/babylon-variant-selector/babylon-variant-selector.component.mjs +0 -82
- package/esm2022/lib/components/core/babylon-webmap-v2/babylon-webmap-v2.component.mjs +0 -11
- package/esm2022/lib/directives/scroll/scroll-to.directive.mjs +0 -183
- package/esm2022/lib/directives/sliders/slick-init.directive.mjs +0 -211
- package/esm2022/lib/services/scroll/scroll-spy.service.mjs +0 -50
- package/lib/components/core/babylon-404-v2/babylon-404-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-adventages-v2/babylon-adventages-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-breadcrumb-v2/babylon-breadcrumb-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-contact-form-v2/babylon-contact-form-v2.component.d.ts +0 -10
- package/lib/components/core/babylon-container-text-l2/babylon-container-text-l2.component.d.ts +0 -5
- package/lib/components/core/babylon-engine-modal-v2/babylon-engine-modal-v2.component.d.ts +0 -37
- package/lib/components/core/babylon-faq-v2/babylon-faq-v2.component.d.ts +0 -7
- package/lib/components/core/babylon-feature-pills/babylon-feature-pills.component.d.ts +0 -5
- package/lib/components/core/babylon-feature-pills-number/babylon-feature-pills-number.component.d.ts +0 -5
- package/lib/components/core/babylon-filter-modal-v2/babylon-filter-modal-v2.component.d.ts +0 -10
- package/lib/components/core/babylon-gallery-v2/babylon-gallery-v2.component.d.ts +0 -22
- package/lib/components/core/babylon-header-clear-v2/babylon-header-clear-v2.component.d.ts +0 -16
- package/lib/components/core/babylon-img-banner/babylon-img-banner.component.d.ts +0 -5
- package/lib/components/core/babylon-info-big-v2/babylon-info-big-v2.component.d.ts +0 -12
- package/lib/components/core/babylon-info-big-v3/babylon-info-big-v3.component.d.ts +0 -5
- package/lib/components/core/babylon-info-circle-imgs/babylon-info-circle-imgs.component.d.ts +0 -5
- package/lib/components/core/babylon-info-img-v2/babylon-info-img-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-info-show-img/babylon-info-show-img.component.d.ts +0 -5
- package/lib/components/core/babylon-info-zigzag-v3/babylon-info-zigzag-v3.component.d.ts +0 -6
- package/lib/components/core/babylon-info-zigzag-v3-1/babylon-info-zigzag-v3-1.component.d.ts +0 -5
- package/lib/components/core/babylon-info-zigzag-v4/babylon-info-zigzag-v4.component.d.ts +0 -5
- package/lib/components/core/babylon-language-modal-v2/babylon-language-modal-v2.component.d.ts +0 -12
- package/lib/components/core/babylon-list-box-info/babylon-list-box-info.component.d.ts +0 -5
- package/lib/components/core/babylon-list-img/babylon-list-img.component.d.ts +0 -17
- package/lib/components/core/babylon-list-img-info/babylon-list-img-info.component.d.ts +0 -5
- package/lib/components/core/babylon-list-img-v2/babylon-list-img-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-loyalty-table/babylon-loyalty-table.component.d.ts +0 -10
- package/lib/components/core/babylon-menu-modal/babylon-menu-modal.component.d.ts +0 -7
- package/lib/components/core/babylon-newsletter-modal/babylon-newsletter-modal.component.d.ts +0 -7
- package/lib/components/core/babylon-offer-detail-v2/babylon-offer-detail-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-offer-popup-v2/babylon-offer-popup-v2.component.d.ts +0 -7
- package/lib/components/core/babylon-reviews/babylon-reviews.component.d.ts +0 -5
- package/lib/components/core/babylon-rooms-list-v2/babylon-rooms-list-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-simple-img-info/babylon-simple-img-info.component.d.ts +0 -5
- package/lib/components/core/babylon-slider-box/babylon-slider-box.component.d.ts +0 -5
- package/lib/components/core/babylon-slider-img-static/babylon-slider-img-static.component.d.ts +0 -5
- package/lib/components/core/babylon-slider-img-static-v2/babylon-slider-img-static-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-slider-img-video/babylon-slider-img-video.component.d.ts +0 -9
- package/lib/components/core/babylon-slider2col-v2/babylon-slider2col-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-slider3col/babylon-slider3colcomponent.d.ts +0 -5
- package/lib/components/core/babylon-slider3col-v2/babylon-slider3col-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-social-bar/babylon-social-bar.component.d.ts +0 -5
- package/lib/components/core/babylon-social-bar-v2/babylon-social-bar-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-static-footer-v3/babylon-static-footer-v3.component.d.ts +0 -12
- package/lib/components/core/babylon-top-simple-banner/babylon-top-simple-banner.component.d.ts +0 -6
- package/lib/components/core/babylon-top-simple-img/babylon-top-simple-img.component.d.ts +0 -5
- package/lib/components/core/babylon-top-slider-video-v2/babylon-top-slider-video-v2.component.d.ts +0 -5
- package/lib/components/core/babylon-variant-selector/babylon-variant-selector.component.d.ts +0 -12
- package/lib/components/core/babylon-webmap-v2/babylon-webmap-v2.component.d.ts +0 -5
- package/lib/directives/scroll/scroll-to.directive.d.ts +0 -31
- package/lib/directives/sliders/slick-init.directive.d.ts +0 -14
- package/lib/services/scroll/scroll-spy.service.d.ts +0 -17
- package/lib/styles/styles/babylon/common.css +0 -1
- package/lib/styles/styles/babylon/reset.css +0 -1
- package/lib/styles/styles/babylon/slide.css +0 -1
- package/lib/styles/styles/babylon/structure.css +0 -0
- package/lib/styles/styles/babylon/structure.scss +0 -1
- package/lib/styles/styles/babylon/variables-v2.css +0 -0
- package/lib/styles/styles/babylon/variables-v2.scss +0 -64
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export * from './babylon-404';
|
|
2
|
+
export * from './babylon-action-banner';
|
|
3
|
+
export * from './babylon-advantages';
|
|
4
|
+
export * from './babylon-banner-gallery';
|
|
5
|
+
export * from './babylon-banner-info';
|
|
6
|
+
export * from './babylon-banner-newsletter';
|
|
7
|
+
export * from './babylon-blog-details';
|
|
8
|
+
export * from './babylon-blog-list';
|
|
9
|
+
export * from './babylon-breadcrumb';
|
|
10
|
+
export * from './babylon-color-picker';
|
|
11
|
+
export * from './babylon-comingsoon';
|
|
12
|
+
export * from './babylon-contact-address';
|
|
13
|
+
export * from './babylon-contact-form';
|
|
14
|
+
export * from './babylon-contact-how';
|
|
15
|
+
export * from './babylon-contact-map';
|
|
16
|
+
export * from './babylon-engine';
|
|
17
|
+
export * from './babylon-engine-modal';
|
|
18
|
+
export * from './babylon-external-script';
|
|
19
|
+
export * from './babylon-faq';
|
|
20
|
+
export * from './babylon-features-slider';
|
|
21
|
+
export * from './babylon-filter-modal';
|
|
22
|
+
export * from './babylon-floating-buttons';
|
|
23
|
+
export * from './babylon-footer-contact';
|
|
24
|
+
export * from './babylon-footer-links';
|
|
25
|
+
export * from './babylon-footer-logos';
|
|
26
|
+
export * from './babylon-footer-social';
|
|
27
|
+
export * from './babylon-gallery';
|
|
28
|
+
export * from './babylon-global-modal';
|
|
29
|
+
export * from './babylon-grid-gallery';
|
|
30
|
+
export * from './babylon-guests-popup';
|
|
31
|
+
export * from './babylon-head-intro';
|
|
32
|
+
export * from './babylon-header-book-show';
|
|
33
|
+
export * from './babylon-header-clear';
|
|
34
|
+
export * from './babylon-header-menu-center';
|
|
35
|
+
export * from './babylon-header-menu-logo-center';
|
|
36
|
+
export * from './babylon-header-menu-show';
|
|
37
|
+
export * from './babylon-header-mobile';
|
|
38
|
+
export * from './babylon-hotels-list';
|
|
39
|
+
export * from './babylon-hotels-slider';
|
|
40
|
+
export * from './babylon-info-big';
|
|
41
|
+
export * from './babylon-info-grid';
|
|
42
|
+
export * from './babylon-info-img';
|
|
43
|
+
export * from './babylon-info-img-slider';
|
|
44
|
+
export * from './babylon-info-intro';
|
|
45
|
+
export * from './babylon-info-zig-zag';
|
|
46
|
+
export * from './babylon-info-zigzag-v2';
|
|
47
|
+
export * from './babylon-info2col-img';
|
|
48
|
+
export * from './babylon-info2img';
|
|
49
|
+
export * from './babylon-info2img-big';
|
|
50
|
+
export * from './babylon-info3img';
|
|
51
|
+
export * from './babylon-info4img';
|
|
52
|
+
export * from './babylon-items-grid';
|
|
53
|
+
export * from './babylon-language-modal';
|
|
54
|
+
export * from './babylon-legal';
|
|
55
|
+
export * from './babylon-list-grid';
|
|
56
|
+
export * from './babylon-modal-multiple-motors';
|
|
57
|
+
export * from './babylon-newsletter';
|
|
58
|
+
export * from './babylon-offer-detail';
|
|
59
|
+
export * from './babylon-offer-popup';
|
|
60
|
+
export * from './babylon-offer-popupV2';
|
|
61
|
+
export * from './babylon-offer-slider';
|
|
62
|
+
export * from './babylon-offers-list';
|
|
63
|
+
export * from './babylon-offers-slider';
|
|
64
|
+
export * from './babylon-preload';
|
|
65
|
+
export * from './babylon-press-list';
|
|
66
|
+
export * from './babylon-room-details';
|
|
67
|
+
export * from './babylon-rooms-cols';
|
|
68
|
+
export * from './babylon-rooms-grid';
|
|
69
|
+
export * from './babylon-rooms-list';
|
|
70
|
+
export * from './babylon-rooms-slider';
|
|
71
|
+
export * from './babylon-services-slider';
|
|
72
|
+
export * from './babylon-slider2col';
|
|
73
|
+
export * from './babylon-slider2items';
|
|
74
|
+
export * from './babylon-slider3col';
|
|
75
|
+
export * from './babylon-slider3col-clear';
|
|
76
|
+
export * from './babylon-slider3items';
|
|
77
|
+
export * from './babylon-slider4col';
|
|
78
|
+
export * from './babylon-static-footer';
|
|
79
|
+
export * from './babylon-static-footer-v2';
|
|
80
|
+
export * from './babylon-submenu-hotel';
|
|
81
|
+
export * from './babylon-thanks';
|
|
82
|
+
export * from './babylon-top-slider';
|
|
83
|
+
export * from './babylon-top-slider-thumbs';
|
|
84
|
+
export * from './babylon-top-slider-v2';
|
|
85
|
+
export * from './babylon-top-slider-video';
|
|
86
|
+
export * from './babylon-webmap';
|
|
87
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iYWJ5bG9uL3NyYy9saWIvY29tcG9uZW50cy9jb3JlL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLHdCQUF3QixDQUFDO0FBQ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gJy4vYmFieWxvbi1zbGlkZXIzaXRlbXMnO1xuZXhwb3J0ICogZnJvbSAnLi9iYWJ5bG9uLXNsaWRlcjRjb2wnO1xuZXhwb3J0ICogZnJvbSAnLi9iYWJ5bG9uLXN0YXRpYy1mb290ZXInO1xuZXhwb3J0ICogZnJvbSAnLi9iYWJ5bG9uLXN0YXRpYy1mb290ZXItdjInO1xuZXhwb3J0ICogZnJvbSAnLi9iYWJ5bG9uLXN1Ym1lbnUtaG90ZWwnO1xuZXhwb3J0ICogZnJvbSAnLi9iYWJ5bG9uLXRoYW5rcyc7XG5leHBvcnQgKiBmcm9tICcuL2JhYnlsb24tdG9wLXNsaWRlcic7XG5leHBvcnQgKiBmcm9tICcuL2JhYnlsb24tdG9wLXNsaWRlci10aHVtYnMnO1xuZXhwb3J0ICogZnJvbSAnLi9iYWJ5bG9uLXRvcC1zbGlkZXItdjInO1xuZXhwb3J0ICogZnJvbSAnLi9iYWJ5bG9uLXRvcC1zbGlkZXItdmlkZW8nO1xuZXhwb3J0ICogZnJvbSAnLi9iYWJ5bG9uLXdlYm1hcCc7XG4iXX0=
|
package/esm2022/lib/components/shared/babylon-dynamic-heading/babylon-dynamic-heading.component.mjs
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Input, } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class BabylonDynamicHeadingComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this._tag = 'h1';
|
|
8
|
+
this._wrapper = null;
|
|
9
|
+
/** Clases CSS opcionales */
|
|
10
|
+
this.cssClass = '';
|
|
11
|
+
this.renderedHtml = '';
|
|
12
|
+
this.blockRe = /<(table|thead|tbody|tfoot|tr|ul|ol|li|div|section|article|h[1-6]|blockquote)/i;
|
|
13
|
+
}
|
|
14
|
+
static { this.allowedTags = [
|
|
15
|
+
'h1',
|
|
16
|
+
'h2',
|
|
17
|
+
'h3',
|
|
18
|
+
'h4',
|
|
19
|
+
'h5',
|
|
20
|
+
'h6',
|
|
21
|
+
'p',
|
|
22
|
+
]; }
|
|
23
|
+
static { this.allowedWrappers = [
|
|
24
|
+
'span',
|
|
25
|
+
'b',
|
|
26
|
+
'i',
|
|
27
|
+
'u',
|
|
28
|
+
'mark',
|
|
29
|
+
'strong',
|
|
30
|
+
'em',
|
|
31
|
+
'small',
|
|
32
|
+
'del',
|
|
33
|
+
'ins',
|
|
34
|
+
'sub',
|
|
35
|
+
'sup',
|
|
36
|
+
'code',
|
|
37
|
+
'abbr',
|
|
38
|
+
'cite',
|
|
39
|
+
'kbd',
|
|
40
|
+
's',
|
|
41
|
+
'q',
|
|
42
|
+
null,
|
|
43
|
+
]; }
|
|
44
|
+
/** Etiqueta HTML principal (h1-h6, p, span por defecto) */
|
|
45
|
+
set tag(value) {
|
|
46
|
+
this._tag = BabylonDynamicHeadingComponent.allowedTags.includes(value)
|
|
47
|
+
? value
|
|
48
|
+
: 'h1';
|
|
49
|
+
}
|
|
50
|
+
get tag() {
|
|
51
|
+
return this._tag;
|
|
52
|
+
}
|
|
53
|
+
/** Wrapper interior (span, strong, em, etc.) */
|
|
54
|
+
set wrapper(value) {
|
|
55
|
+
this._wrapper = BabylonDynamicHeadingComponent.allowedWrappers.includes(value)
|
|
56
|
+
? value
|
|
57
|
+
: null;
|
|
58
|
+
}
|
|
59
|
+
get wrapper() {
|
|
60
|
+
return this._wrapper;
|
|
61
|
+
}
|
|
62
|
+
ngOnChanges() {
|
|
63
|
+
const decoded = this.decodeEntities(this.content || '');
|
|
64
|
+
this.renderedHtml = this.cleanHtml(decoded);
|
|
65
|
+
}
|
|
66
|
+
/** Limpia <p> vacíos y <p> envolviendo bloques/tablas; desenvuelve <p> dentro de celdas. */
|
|
67
|
+
cleanHtml(html) {
|
|
68
|
+
const root = document.createElement('div');
|
|
69
|
+
root.innerHTML = html;
|
|
70
|
+
// 1) <td|th><p>...</p></td|th> -> <td|th>...</td|th>
|
|
71
|
+
root.querySelectorAll('td > p, th > p').forEach((p) => {
|
|
72
|
+
const parent = p.parentElement;
|
|
73
|
+
while (p.firstChild)
|
|
74
|
+
parent.insertBefore(p.firstChild, p);
|
|
75
|
+
parent.removeChild(p);
|
|
76
|
+
});
|
|
77
|
+
// 2) <p> que solo tiene espacios/nbsp/br -> eliminar
|
|
78
|
+
root.querySelectorAll('p').forEach((p) => {
|
|
79
|
+
const onlyBr = Array.from(p.childNodes).every((n) => (n.nodeType === Node.ELEMENT_NODE &&
|
|
80
|
+
n.tagName.toLowerCase() === 'br') ||
|
|
81
|
+
(n.nodeType === Node.TEXT_NODE &&
|
|
82
|
+
(n.textContent || '').replace(/\u00a0/g, ' ').trim() ===
|
|
83
|
+
''));
|
|
84
|
+
if (onlyBr)
|
|
85
|
+
p.remove();
|
|
86
|
+
});
|
|
87
|
+
// 3) <p> que envuelve un bloque (table, ul, ol, div, section, article, h1..h6, blockquote) -> desenvolver
|
|
88
|
+
const isBlock = (el) => /^(table|thead|tbody|tfoot|tr|th|td|ul|ol|div|section|article|h[1-6]|blockquote)$/i.test(el.tagName);
|
|
89
|
+
root.querySelectorAll('p').forEach((p) => {
|
|
90
|
+
// Si dentro hay algún bloque, desenvolver
|
|
91
|
+
if (Array.from(p.children).some(isBlock)) {
|
|
92
|
+
while (p.firstChild)
|
|
93
|
+
p.parentElement.insertBefore(p.firstChild, p);
|
|
94
|
+
p.remove();
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
return root.innerHTML;
|
|
98
|
+
}
|
|
99
|
+
containsBlockHtml(c) {
|
|
100
|
+
return this.blockRe.test(c);
|
|
101
|
+
}
|
|
102
|
+
decodeEntities(s) {
|
|
103
|
+
const ta = document.createElement('textarea');
|
|
104
|
+
ta.innerHTML = s;
|
|
105
|
+
return ta.value;
|
|
106
|
+
}
|
|
107
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BabylonDynamicHeadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
108
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: BabylonDynamicHeadingComponent, isStandalone: true, selector: "lib-babylon-dynamic-heading", inputs: { tag: "tag", wrapper: "wrapper", cssClass: "cssClass", content: "content", color: "color" }, usesOnChanges: true, ngImport: i0, template: "<ng-container [ngSwitch]=\"tag\">\n <!-- H1 -->\n <h1 *ngSwitchCase=\"'h1'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH1\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH1>{{ content }}</ng-template>\n </h1>\n\n <!-- H2 -->\n <h2 *ngSwitchCase=\"'h2'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH2\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH2>{{ content }}</ng-template>\n </h2>\n\n <!-- H3 -->\n <h3 *ngSwitchCase=\"'h3'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH3\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH3>{{ content }}</ng-template>\n </h3>\n\n <!-- H4 -->\n <h4 *ngSwitchCase=\"'h4'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH4\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH4>{{ content }}</ng-template>\n </h4>\n\n <!-- H5 -->\n <h5 *ngSwitchCase=\"'h5'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH5\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH5>{{ content }}</ng-template>\n </h5>\n\n <!-- H6 -->\n <h6 *ngSwitchCase=\"'h6'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH6\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH6>{{ content }}</ng-template>\n </h6>\n\n <!-- P -->\n <p *ngSwitchCase=\"'p'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperP\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\" [innerHTML]=\"content\"></span>\n <b *ngSwitchCase=\"'b'\" [innerHTML]=\"content\"></b>\n <i *ngSwitchCase=\"'i'\" [innerHTML]=\"content\"></i>\n <u *ngSwitchCase=\"'u'\" [innerHTML]=\"content\"></u>\n <mark *ngSwitchCase=\"'mark'\" [innerHTML]=\"content\"></mark>\n <strong *ngSwitchCase=\"'strong'\" [innerHTML]=\"content\"></strong>\n <em *ngSwitchCase=\"'em'\" [innerHTML]=\"content\"></em>\n <small *ngSwitchCase=\"'small'\" [innerHTML]=\"content\"></small>\n <del *ngSwitchCase=\"'del'\" [innerHTML]=\"content\"></del>\n <ins *ngSwitchCase=\"'ins'\" [innerHTML]=\"content\"></ins>\n <sub *ngSwitchCase=\"'sub'\" [innerHTML]=\"content\"></sub>\n <sup *ngSwitchCase=\"'sup'\" [innerHTML]=\"content\"></sup>\n <code *ngSwitchCase=\"'code'\" [innerHTML]=\"content\"></code>\n <abbr *ngSwitchCase=\"'abbr'\" [innerHTML]=\"content\"></abbr>\n <cite *ngSwitchCase=\"'cite'\" [innerHTML]=\"content\"></cite>\n <kbd *ngSwitchCase=\"'kbd'\" [innerHTML]=\"content\"></kbd>\n <s *ngSwitchCase=\"'s'\" [innerHTML]=\"content\"></s>\n <q *ngSwitchCase=\"'q'\" [innerHTML]=\"content\"></q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperP>\n @if (content) {\n <p\n *ngIf=\"!containsBlockHtml(content)\"\n [ngClass]=\"cssClass\"\n [style.color]=\"color\"\n >\n <span [innerHTML]=\"content\"></span>\n </p>\n\n <div\n *ngIf=\"containsBlockHtml(content)\"\n class=\"rich-html\"\n [ngClass]=\"cssClass\"\n [style.color]=\"color\"\n [innerHTML]=\"renderedHtml\"\n ></div>\n }\n </ng-template>\n </p>\n\n <!-- DEFAULT -->\n <span *ngSwitchDefault [ngClass]=\"cssClass\" [innerHTML]=\"content\"></span>\n</ng-container>\n", styles: [".rich-html{overflow-x:auto}.rich-html ::ng-deep table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--rh-border-color);border-radius:var(--rh-radius);background:#fff;color:var(--rh-text-color)}.rich-html ::ng-deep thead th{background:var(--rh-header-bg);font-weight:600;text-align:center;padding:.75rem 1rem;border-top:0;border-right:1px solid var(--rh-border-color);border-bottom:1px solid var(--rh-border-color)}.rich-html ::ng-deep thead th:first-child{border-top-left-radius:var(--rh-radius)}.rich-html ::ng-deep thead th:last-child{border-right:0;border-top-right-radius:var(--rh-radius)}.rich-html ::ng-deep tbody td{text-align:center;padding:.75rem 1rem;border-top:1px solid var(--rh-border-color);border-right:1px solid var(--rh-border-color)}.rich-html ::ng-deep tbody td:last-child{border-right:0}.rich-html ::ng-deep tbody tr:nth-child(odd){background:var(--rh-row-alt-bg)}.rich-html ::ng-deep tbody tr:hover{background:color-mix(in srgb,var(--rh-header-bg) 60%,#fff)}.rich-html ::ng-deep tbody tr:last-child td:first-child{border-bottom-left-radius:var(--rh-radius)}.rich-html ::ng-deep tbody tr:last-child td:last-child{border-bottom-right-radius:var(--rh-radius)}.rich-html ::ng-deep caption{caption-side:top;text-align:center;font-weight:600;padding:.5rem 0 1rem}@media (max-width: 640px){.rich-html ::ng-deep thead th,.rich-html ::ng-deep tbody td{padding:.5rem .75rem;font-size:.95rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
109
|
+
}
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BabylonDynamicHeadingComponent, decorators: [{
|
|
111
|
+
type: Component,
|
|
112
|
+
args: [{ selector: 'lib-babylon-dynamic-heading', standalone: true, imports: [CommonModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngSwitch]=\"tag\">\n <!-- H1 -->\n <h1 *ngSwitchCase=\"'h1'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH1\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH1>{{ content }}</ng-template>\n </h1>\n\n <!-- H2 -->\n <h2 *ngSwitchCase=\"'h2'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH2\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH2>{{ content }}</ng-template>\n </h2>\n\n <!-- H3 -->\n <h3 *ngSwitchCase=\"'h3'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH3\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH3>{{ content }}</ng-template>\n </h3>\n\n <!-- H4 -->\n <h4 *ngSwitchCase=\"'h4'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH4\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH4>{{ content }}</ng-template>\n </h4>\n\n <!-- H5 -->\n <h5 *ngSwitchCase=\"'h5'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH5\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH5>{{ content }}</ng-template>\n </h5>\n\n <!-- H6 -->\n <h6 *ngSwitchCase=\"'h6'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperH6\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\">{{ content }}</span>\n <b *ngSwitchCase=\"'b'\">{{ content }}</b>\n <i *ngSwitchCase=\"'i'\">{{ content }}</i>\n <u *ngSwitchCase=\"'u'\">{{ content }}</u>\n <mark *ngSwitchCase=\"'mark'\">{{ content }}</mark>\n <strong *ngSwitchCase=\"'strong'\">{{ content }}</strong>\n <em *ngSwitchCase=\"'em'\">{{ content }}</em>\n <small *ngSwitchCase=\"'small'\">{{ content }}</small>\n <del *ngSwitchCase=\"'del'\">{{ content }}</del>\n <ins *ngSwitchCase=\"'ins'\">{{ content }}</ins>\n <sub *ngSwitchCase=\"'sub'\">{{ content }}</sub>\n <sup *ngSwitchCase=\"'sup'\">{{ content }}</sup>\n <code *ngSwitchCase=\"'code'\">{{ content }}</code>\n <abbr *ngSwitchCase=\"'abbr'\">{{ content }}</abbr>\n <cite *ngSwitchCase=\"'cite'\">{{ content }}</cite>\n <kbd *ngSwitchCase=\"'kbd'\">{{ content }}</kbd>\n <s *ngSwitchCase=\"'s'\">{{ content }}</s>\n <q *ngSwitchCase=\"'q'\">{{ content }}</q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperH6>{{ content }}</ng-template>\n </h6>\n\n <!-- P -->\n <p *ngSwitchCase=\"'p'\" [ngClass]=\"cssClass\" [style.color]=\"color\">\n <ng-container *ngIf=\"wrapper; else noWrapperP\">\n <ng-container [ngSwitch]=\"wrapper\">\n <span *ngSwitchCase=\"'span'\" [innerHTML]=\"content\"></span>\n <b *ngSwitchCase=\"'b'\" [innerHTML]=\"content\"></b>\n <i *ngSwitchCase=\"'i'\" [innerHTML]=\"content\"></i>\n <u *ngSwitchCase=\"'u'\" [innerHTML]=\"content\"></u>\n <mark *ngSwitchCase=\"'mark'\" [innerHTML]=\"content\"></mark>\n <strong *ngSwitchCase=\"'strong'\" [innerHTML]=\"content\"></strong>\n <em *ngSwitchCase=\"'em'\" [innerHTML]=\"content\"></em>\n <small *ngSwitchCase=\"'small'\" [innerHTML]=\"content\"></small>\n <del *ngSwitchCase=\"'del'\" [innerHTML]=\"content\"></del>\n <ins *ngSwitchCase=\"'ins'\" [innerHTML]=\"content\"></ins>\n <sub *ngSwitchCase=\"'sub'\" [innerHTML]=\"content\"></sub>\n <sup *ngSwitchCase=\"'sup'\" [innerHTML]=\"content\"></sup>\n <code *ngSwitchCase=\"'code'\" [innerHTML]=\"content\"></code>\n <abbr *ngSwitchCase=\"'abbr'\" [innerHTML]=\"content\"></abbr>\n <cite *ngSwitchCase=\"'cite'\" [innerHTML]=\"content\"></cite>\n <kbd *ngSwitchCase=\"'kbd'\" [innerHTML]=\"content\"></kbd>\n <s *ngSwitchCase=\"'s'\" [innerHTML]=\"content\"></s>\n <q *ngSwitchCase=\"'q'\" [innerHTML]=\"content\"></q>\n </ng-container>\n </ng-container>\n <ng-template #noWrapperP>\n @if (content) {\n <p\n *ngIf=\"!containsBlockHtml(content)\"\n [ngClass]=\"cssClass\"\n [style.color]=\"color\"\n >\n <span [innerHTML]=\"content\"></span>\n </p>\n\n <div\n *ngIf=\"containsBlockHtml(content)\"\n class=\"rich-html\"\n [ngClass]=\"cssClass\"\n [style.color]=\"color\"\n [innerHTML]=\"renderedHtml\"\n ></div>\n }\n </ng-template>\n </p>\n\n <!-- DEFAULT -->\n <span *ngSwitchDefault [ngClass]=\"cssClass\" [innerHTML]=\"content\"></span>\n</ng-container>\n", styles: [".rich-html{overflow-x:auto}.rich-html ::ng-deep table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--rh-border-color);border-radius:var(--rh-radius);background:#fff;color:var(--rh-text-color)}.rich-html ::ng-deep thead th{background:var(--rh-header-bg);font-weight:600;text-align:center;padding:.75rem 1rem;border-top:0;border-right:1px solid var(--rh-border-color);border-bottom:1px solid var(--rh-border-color)}.rich-html ::ng-deep thead th:first-child{border-top-left-radius:var(--rh-radius)}.rich-html ::ng-deep thead th:last-child{border-right:0;border-top-right-radius:var(--rh-radius)}.rich-html ::ng-deep tbody td{text-align:center;padding:.75rem 1rem;border-top:1px solid var(--rh-border-color);border-right:1px solid var(--rh-border-color)}.rich-html ::ng-deep tbody td:last-child{border-right:0}.rich-html ::ng-deep tbody tr:nth-child(odd){background:var(--rh-row-alt-bg)}.rich-html ::ng-deep tbody tr:hover{background:color-mix(in srgb,var(--rh-header-bg) 60%,#fff)}.rich-html ::ng-deep tbody tr:last-child td:first-child{border-bottom-left-radius:var(--rh-radius)}.rich-html ::ng-deep tbody tr:last-child td:last-child{border-bottom-right-radius:var(--rh-radius)}.rich-html ::ng-deep caption{caption-side:top;text-align:center;font-weight:600;padding:.5rem 0 1rem}@media (max-width: 640px){.rich-html ::ng-deep thead th,.rich-html ::ng-deep tbody td{padding:.5rem .75rem;font-size:.95rem}}\n"] }]
|
|
113
|
+
}], propDecorators: { tag: [{
|
|
114
|
+
type: Input
|
|
115
|
+
}], wrapper: [{
|
|
116
|
+
type: Input
|
|
117
|
+
}], cssClass: [{
|
|
118
|
+
type: Input
|
|
119
|
+
}], content: [{
|
|
120
|
+
type: Input
|
|
121
|
+
}], color: [{
|
|
122
|
+
type: Input
|
|
123
|
+
}] } });
|
|
124
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFieWxvbi1keW5hbWljLWhlYWRpbmcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYmFieWxvbi9zcmMvbGliL2NvbXBvbmVudHMvc2hhcmVkL2JhYnlsb24tZHluYW1pYy1oZWFkaW5nL2JhYnlsb24tZHluYW1pYy1oZWFkaW5nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2JhYnlsb24vc3JjL2xpYi9jb21wb25lbnRzL3NoYXJlZC9iYWJ5bG9uLWR5bmFtaWMtaGVhZGluZy9iYWJ5bG9uLWR5bmFtaWMtaGVhZGluZy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUNILHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsS0FBSyxHQUVSLE1BQU0sZUFBZSxDQUFDOzs7QUErQnZCLE1BQU0sT0FBTyw4QkFBOEI7SUFSM0M7UUF5Q1ksU0FBSSxHQUFXLElBQUksQ0FBQztRQUNwQixhQUFRLEdBQW1CLElBQUksQ0FBQztRQTBCeEMsNEJBQTRCO1FBQ25CLGFBQVEsR0FBRyxFQUFFLENBQUM7UUFRdkIsaUJBQVksR0FBRyxFQUFFLENBQUM7UUFFVixZQUFPLEdBQ1gsK0VBQStFLENBQUM7S0EyRHZGO2FBbEkyQixnQkFBVyxHQUFHO1F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AtPiA8dGR8dGg+Li4uPC90ZHx0aD5cbiAgICAgICAgcm9vdC5xdWVyeVNlbGVjdG9yQWxsKCd0ZCA+IHAsIHRoID4gcCcpLmZvckVhY2goKHApID0+IHtcbiAgICAgICAgICAgIGNvbnN0IHBhcmVudCA9IHAucGFyZW50RWxlbWVudCE7XG4gICAgICAgICAgICB3aGlsZSAocC5maXJzdENoaWxkKSBwYXJlbnQuaW5zZXJ0QmVmb3JlKHAuZmlyc3RDaGlsZCwgcCk7XG4gICAgICAgICAgICBwYXJlbnQucmVtb3ZlQ2hpbGQocCk7XG4gICAgICAgIH0pO1xuXG4gICAgICAgIC8vIDIpIDxwPiBxdWUgc29sbyB0aWVuZSBlc3BhY2lvcy9uYnNwL2JyIC0+IGVsaW1pbmFyXG4gICAgICAgIHJvb3QucXVlcnlTZWxlY3RvckFsbCgncCcpLmZvckVhY2goKHApID0+IHtcbiAgICAgICAgICAgIGNvbnN0IG9ubHlCciA9IEFycmF5LmZyb20ocC5jaGlsZE5vZGVzKS5ldmVyeShcbiAgICAgICAgICAgICAgICAobikgPT5cbiAgICAgICAgICAgICAgICAgICAgKG4ubm9kZVR5cGUgPT09IE5vZGUuRUxFTUVOVF9OT0RFICYmXG4gICAgICAgICAgICAgICAgICAgICAgICAobiBhcyBFbGVtZW50KS50YWdOYW1lLnRvTG93ZXJDYXNlKCkgPT09ICdicicpIHx8XG4gICAgICAgICAgICAgICAgICAgIChuLm5vZGVUeXBlID09PSBOb2RlLlRFWFRfTk9ERSAmJlxuICAgICAgICAgICAgICAgICAgICAgICAgKG4udGV4dENvbnRlbnQgfHwgJycpLnJlcGxhY2UoL1xcdTAwYTAvZywgJyAnKS50cmltKCkgPT09XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgJycpXG4gICAgICAgICAgICApO1xuICAgICAgICAgICAgaWYgKG9ubHlCcikgcC5yZW1vdmUoKTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgLy8gMykgPHA+IHF1ZSBlbnZ1ZWx2ZSB1biBibG9xdWUgKHRhYmxlLCB1bCwgb2wsIGRpdiwgc2VjdGlvbiwgYXJ0aWNsZSwgaDEuLmg2LCBibG9ja3F1b3RlKSAtPiBkZXNlbnZvbHZlclxuICAgICAgICBjb25zdCBpc0Jsb2NrID0gKGVsOiBFbGVtZW50KSA9PlxuICAgICAgICAgICAgL14odGFibGV8dGhlYWR8dGJvZHl8dGZvb3R8dHJ8dGh8dGR8dWx8b2x8ZGl2fHNlY3Rpb258YXJ0aWNsZXxoWzEtNl18YmxvY2txdW90ZSkkL2kudGVzdChcbiAgICAgICAgICAgICAgICBlbC50YWdOYW1lXG4gICAgICAgICAgICApO1xuXG4gICAgICAgIHJvb3QucXVlcnlTZWxlY3RvckFsbCgncCcpLmZvckVhY2goKHApID0+IHtcbiAgICAgICAgICAgIC8vIFNpIGRlbnRybyBoYXkgYWxnw7puIGJsb3F1ZSwgZGVzZW52b2x2ZXJcbiAgICAgICAgICAgIGlmIChBcnJheS5mcm9tKHAuY2hpbGRyZW4pLnNvbWUoaXNCbG9jaykpIHtcbiAgICAgICAgICAgICAgICB3aGlsZSAocC5maXJzdENoaWxkKVxuICAgICAgICAgICAgICAgICAgICBwLnBhcmVudEVsZW1lbnQhLmluc2VydEJlZm9yZShwLmZpcnN0Q2hpbGQsIHApO1xuICAgICAgICAgICAgICAgIHAucmVtb3ZlKCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuXG4gICAgICAgIHJldHVybiByb290LmlubmVySFRNTDtcbiAgICB9XG5cbiAgICBjb250YWluc0Jsb2NrSHRtbChjOiBzdHJpbmcpIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuYmxvY2tSZS50ZXN0KGMpO1xuICAgIH1cblxuICAgIHByaXZhdGUgZGVjb2RlRW50aXRpZXMoczogc3RyaW5nKSB7XG4gICAgICAgIGNvbnN0IHRhID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCgndGV4dGFyZWEnKTtcbiAgICAgICAgdGEuaW5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GFzc109XCJjc3NDbGFzc1wiIFtzdHlsZS5jb2xvcl09XCJjb2xvclwiPlxuICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwid3JhcHBlcjsgZWxzZSBub1dyYXBwZXJIMlwiPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciBbbmdTd2l0Y2hdPVwid3JhcHBlclwiPlxuICAgICAgICAgICAgICAgIDxzcGFuICpuZ1N3aXRjaENhc2U9XCInc3BhbidcIj57eyBjb250ZW50IH19PC9zcGFuPlxuICAgICAgICAgICAgICAgIDxiICpuZ1N3aXRjaENhc2U9XCInYidcIj57eyBjb250ZW50IH19PC9iPlxuICAgICAgICAgICAgICAgIDxpICpuZ1N3aXRjaENhc2U9XCInaSdcIj57eyBjb250ZW50IH19PC9pPlxuICAgICAgICAgICAgICAgIDx1ICpuZ1N3aXRjaENhc2U9XCIndSdcIj57eyBjb250ZW50IH19PC91PlxuICAgICAgICAgICAgICAgIDxtYXJrICpuZ1N3aXRjaENhc2U9XCInbWFyaydcIj57eyBjb250ZW50IH19PC9tYXJrPlxuICAgICAgICAgICAgICAgIDxzdHJvbmcgKm5nU3dpdGNoQ2FzZT1cIidzdHJvbmcnXCI+e3sgY29udGVudCB9fTwvc3Ryb25nPlxuICAgICAgICAgICAgICAgIDxlbSAqbmdTd2l0Y2hDYXNlPVwiJ2VtJ1wiPnt7IGNvbnRlbnQgfX08L2VtPlxuICAgICAgICAgICAgICAgIDxzbWFsbCAqbmdTd2l0Y2hDYXNlPVwiJ3NtYWxsJ1wiPnt7IGNvbnRlbnQgfX08L3NtYWxsPlxuICAgICAgICAgICAgICAgIDxkZWwgKm5nU3dpdGNoQ2FzZT1cIidkZWwnXCI+e3sgY29udGVudCB9fTwvZGVsPlxuICAgICAgICAgICAgICAgIDxpbnMgKm5nU3dpdGNoQ2FzZT1cIidpbnMnXCI+e3sgY29udGVudCB9fTwvaW5zPlxuICAgICAgICAgICAgICAgIDxzdWIgKm5nU3dpdGNoQ2FzZT1cIidzdWInXCI+e3sgY29udGVudCB9fTwvc3ViPlxuICAgICAgICAgICAgICAgIDxzdXAgKm5nU3dpdGNoQ2FzZT1cIidzdXAnXCI+e3sgY29udGVudCB9fTwvc3VwPlxuICAgICAgICAgICAgICAgIDxjb2RlICpuZ1N3aXRjaENhc2U9XCInY29kZSdcIj57eyBjb250ZW50IH19PC9jb2RlPlxuICAgICAgICAgICAgICAgIDxhYmJyICpuZ1N3aXRjaENhc2U9XCInYWJicidcIj57eyBjb250ZW50IH19PC9hYmJyPlxuICAgICAgICAgICAgICAgIDxjaXRlICpuZ1N3aXRjaENhc2U9XCInY2l0ZSdcIj57eyBjb250ZW50IH19PC9jaXRlPlxuICAgICAgICAgICAgICAgIDxrYmQgKm5nU3dpdGNoQ2FzZT1cIidrYmQnXCI+e3sgY29udGVudCB9fTwva2JkPlxuICAgICAgICAgICAgICAgIDxzICpuZ1N3aXRjaENhc2U9XCIncydcIj57eyBjb250ZW50IH19PC9zPlxuICAgICAgICAgICAgICAgIDxxICpuZ1N3aXRjaENhc2U9XCIncSdcIj57eyBjb250ZW50IH19PC9xPlxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8bmctdGVtcGxhdGUgI25vV3JhcHBlckgyPnt7IGNvbnRlbnQgfX08L25nLXRlbXBsYXRlPlxuICAgIDwvaDI+XG5cbiAgICA8IS0tIEgzIC0tPlxuICAgIDxoMyAqbmdTd2l0Y2hDYXNlPVwiJ2gzJ1wiIFtuZ0NsYXNzXT1cImNzc0NsYXNzXCIgW3N0eWxlLmNvbG9yXT1cImNvbG9yXCI+XG4gICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJ3cmFwcGVyOyBlbHNlIG5vV3JhcHBlckgzXCI+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyIFtuZ1N3aXRjaF09XCJ3cmFwcGVyXCI+XG4gICAgICAgICAgICAgICAgPHNwYW4gKm5nU3dp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AgICAgICAgICAgICAgICA8a2JkICpuZ1N3aXRjaENhc2U9XCIna2JkJ1wiPnt7IGNvbnRlbnQgfX08L2tiZD5cbiAgICAgICAgICAgICAgICA8cyAqbmdTd2l0Y2hDYXNlPVwiJ3MnXCI+e3sgY29udGVudCB9fTwvcz5cbiAgICAgICAgICAgICAgICA8cSAqbmdTd2l0Y2hDYXNlPVwiJ3EnXCI+e3sgY29udGVudCB9fTwvcT5cbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgPG5nLXRlbXBsYXRlICNub1dyYXBwZXJIND57eyBjb250ZW50IH19PC9uZy10ZW1wbGF0ZT5cbiAgICA8L2g0PlxuXG4gICAgPCEtLSBINSAtLT5cbiAgICA8aDUgKm5nU3dpdGNoQ2FzZT1cIidoNSdcIiBbbmdDbGFzc109XCJjc3NDbGFzc1wiIFtzdHlsZS5jb2xvcl09XCJjb2xvclwiPlxuICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwid3JhcHBlcjsgZWxzZSBub1dyYXBwZXJINVwiPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciBbbmdTd2l0Y2hdPVwid3JhcHBlclwiPlxuICAgICAgICAgICAgICAgIDxzcGFuICpuZ1N3aXRjaENhc2U9XCInc3BhbidcIj57eyBjb250ZW50IH19PC9zcGFuPlxuICAgICAgICAgICAgICAgIDxiICpuZ1N3aXRjaENhc2U9XCInYidcIj57eyBjb250ZW50IH19PC9iPlxuICAgICAgICAgICAgICAgIDxpICpuZ1N3aXRjaENhc2U9XCInaSdcIj57eyBjb250ZW50IH19PC9pPlxuICAgICAgICAgICAgICAgIDx1ICpuZ1N3aXRjaENhc2U9XCIndSdcIj57eyBjb250ZW50IH19PC91PlxuICAgICAgICAgICAgICAgIDxtYXJrICpuZ1N3aXRjaENhc2U9XCInbWFyaydcIj57eyBjb250ZW50IH19PC9tYXJrPlxuICAgICAgICAgICAgICAgIDxzdHJvbmcgKm5nU3dpdGNoQ2FzZT1cIidzdHJvbmcnXCI+e3sgY29udGVudCB9fTwvc3Ryb25nPlxuICAgICAgICAgICAgICAgIDxlbSAqbmdTd2l0Y2hDYXNlPVwiJ2VtJ1wiPnt7IGNvbnRlbnQgfX08L2VtPlxuICAgICAgICAgICAgICAgIDxzbWFsbCAqbmdTd2l0Y2hDYXNlPVwiJ3NtYWxsJ1wiPnt7IGNvbnRlbnQgfX08L3NtYWxsPlxuICAgICAgICAgICAgICAgIDxkZWwgKm5nU3dpdGNoQ2FzZT1cIidkZWwnXCI+e3sgY29udGVudCB9fTwvZGVsPlxuICAgICAgICAgICAgICAgIDxpbnMgKm5nU3dpdGNoQ2FzZT1cIidpbnMnXCI+e3sgY29udGVudCB9fTwvaW5zPlxuICAgICAgICAgICAgICAgIDxzdWIgKm5nU3dpdGNoQ2FzZT1cIidzdWInXCI+e3sgY29udGVudCB9fTwvc3ViPlxuICAgICAgICAgICAgICAgIDxzdXAgKm5nU3dpdGNoQ2FzZT1cIidzdXAnXCI+e3sgY29udGVudCB9fTwvc3VwPlxuICAgICAgICAgICAgICAgIDxjb2RlICpuZ1N3aXRjaENhc2U9XCInY29kZSdcIj57eyBjb250ZW50IH19PC9jb2RlPlxuICAgICAgICAgICAgICAgIDxhYmJyICpuZ1N3aXRjaENhc2U9XCInYWJicidcIj57eyBjb250ZW50IH19PC9hYmJyPlxuICAgICAgICAgICAgICAgIDxjaXRlICpuZ1N3aXRjaENhc2U9XCInY2l0ZSdcIj57eyBjb250ZW50IH19PC9jaXRlPlxuICAgICAgICAgICAgICAgIDxrYmQgKm5nU3dpdGNoQ2FzZT1cIidrYmQnXCI+e3sgY29udGVudCB9fTwva2JkPlxuICAgICAgICAgICAgICAgIDxzICpuZ1N3aXRjaENhc2U9XCIncydcIj57eyBjb250ZW50IH19PC9zPlxuICAgICAgICAgICAgICAgIDxxICpuZ1N3aXRjaENhc2U9XCIncSdcIj57eyBjb250ZW50IH19PC9xPlxuICA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WYgKGNvbnRlbnQpIHtcbiAgICAgICAgICAgICAgICA8cFxuICAgICAgICAgICAgICAgICAgICAqbmdJZj1cIiFjb250YWluc0Jsb2NrSHRtbChjb250ZW50KVwiXG4gICAgICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cImNzc0NsYXNzXCJcbiAgICAgICAgICAgICAgICAgICAgW3N0eWxlLmNvbG9yXT1cImNvbG9yXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxzcGFuIFtpbm5lckhUTUxdPVwiY29udGVudFwiPjwvc3Bhbj5cbiAgICAgICAgICAgICAgICA8L3A+XG5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICAgICpuZ0lmPVwiY29udGFpbnNCbG9ja0h0bWwoY29udGVudClcIlxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cInJpY2gtaHRtbFwiXG4gICAgICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cImNzc0NsYXNzXCJcbiAgICAgICAgICAgICAgICAgICAgW3N0eWxlLmNvbG9yXT1cImNvbG9yXCJcbiAgICAgICAgICAgICAgICAgICAgW2lubmVySFRNTF09XCJyZW5kZXJlZEh0bWxcIlxuICAgICAgICAgICAgICAgID48L2Rpdj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICA8L3A+XG5cbiAgICA8IS0tIERFRkFVTFQgLS0+XG4gICAgPHNwYW4gKm5nU3dpdGNoRGVmYXVsdCBbbmdDbGFzc109XCJjc3NDbGFzc1wiIFtpbm5lckhUTUxdPVwiY29udGVudFwiPjwvc3Bhbj5cbjwvbmctY29udGFpbmVyPlxuIl19
|
package/esm2022/lib/components/shared/babylon-dynamic-heading/babylon-dynamic-heading.interface.mjs
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFieWxvbi1keW5hbWljLWhlYWRpbmcuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYmFieWxvbi9zcmMvbGliL2NvbXBvbmVudHMvc2hhcmVkL2JhYnlsb24tZHluYW1pYy1oZWFkaW5nL2JhYnlsb24tZHluYW1pYy1oZWFkaW5nLmludGVyZmFjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGludGVyZmFjZSBCYWJ5bG9uRHluYW1pY0hlYWRpbmdJIHtcbiAgICB0YWc/OiBzdHJpbmc7XG4gICAgY3NzQ2xhc3M/OiBzdHJpbmc7XG4gICAgY29udGVudD86IHN0cmluZztcbn1cbiJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './babylon-dynamic-heading.component';
|
|
2
|
+
export * from './babylon-dynamic-heading.interface';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iYWJ5bG9uL3NyYy9saWIvY29tcG9uZW50cy9zaGFyZWQvYmFieWxvbi1keW5hbWljLWhlYWRpbmcvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLHFDQUFxQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9iYWJ5bG9uLWR5bmFtaWMtaGVhZGluZy5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9iYWJ5bG9uLWR5bmFtaWMtaGVhZGluZy5pbnRlcmZhY2UnO1xuIl19
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
|
|
3
|
+
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { debounceTime, distinctUntilChanged, startWith } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/forms";
|
|
7
|
+
export class BabylonSearchComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.searchPlaceHolder = 'Search...';
|
|
10
|
+
this.elements = [];
|
|
11
|
+
this.liveSearch = true;
|
|
12
|
+
this.fields = [
|
|
13
|
+
'title',
|
|
14
|
+
'subtitle',
|
|
15
|
+
'description',
|
|
16
|
+
'category',
|
|
17
|
+
'date',
|
|
18
|
+
];
|
|
19
|
+
this.results = new EventEmitter();
|
|
20
|
+
this.q = new FormControl('', { nonNullable: true });
|
|
21
|
+
this.onInit = true;
|
|
22
|
+
}
|
|
23
|
+
emitResults(items, flag) {
|
|
24
|
+
this.results.emit({ items, flag });
|
|
25
|
+
}
|
|
26
|
+
ngOnInit() {
|
|
27
|
+
this.emitResults(this.elements, 0);
|
|
28
|
+
if (this.liveSearch) {
|
|
29
|
+
this.q.valueChanges
|
|
30
|
+
.pipe(startWith(''), debounceTime(300), distinctUntilChanged())
|
|
31
|
+
.subscribe((term) => {
|
|
32
|
+
const filtered = this.filter(this.elements, term);
|
|
33
|
+
if (this.onInit) {
|
|
34
|
+
this.onInit = false;
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
this.emitResults(filtered, 1);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
search() {
|
|
42
|
+
const filtered = this.filter(this.elements, this.q.value);
|
|
43
|
+
this.emitResults(filtered, 1);
|
|
44
|
+
}
|
|
45
|
+
filter(list, term) {
|
|
46
|
+
const t = term?.toLowerCase().trim();
|
|
47
|
+
if (!t)
|
|
48
|
+
return this.elements;
|
|
49
|
+
return list.filter((item) => {
|
|
50
|
+
const values = [];
|
|
51
|
+
for (const f of this.fields) {
|
|
52
|
+
const val = item?.[f];
|
|
53
|
+
if (val == null)
|
|
54
|
+
continue;
|
|
55
|
+
if (val instanceof Date) {
|
|
56
|
+
values.push(val.toLocaleDateString(), val.toDateString(), val.toISOString());
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
values.push(String(val));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return values.some((v) => v.toLowerCase().includes(t));
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BabylonSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
66
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: BabylonSearchComponent, isStandalone: true, selector: "lib-babylon-search", inputs: { searchPlaceHolder: "searchPlaceHolder", elements: "elements", liveSearch: "liveSearch", fields: "fields" }, outputs: { results: "results" }, ngImport: i0, template: "<div class=\"cs_sidebar_item widget_search pb--50\">\n <form class=\"cs_sidebar_search\" (ngSubmit)=\"search()\" novalidate>\n <input\n type=\"text\"\n [placeholder]=\"searchPlaceHolder\"\n [formControl]=\"q\"\n />\n <button class=\"cs_sidebar_search_btn\">\n <svg\n width=\"18\"\n height=\"18\"\n viewBox=\"0 0 18 18\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clip-path=\"url(#clip0_658_659)\">\n <path\n d=\"M17.7808 16.7198L13.3041 12.243C14.524 10.751 15.1239 8.84707 14.9795 6.92518C14.8351 5.00328 13.9575 3.2104 12.5283 1.91739C11.099 0.624387 9.22751 -0.0698265 7.3008 -0.0216526C5.37409 0.0265212 3.5396 0.813397 2.17678 2.17621C0.813961 3.53903 0.0270858 5.37352 -0.0210881 7.30024C-0.0692619 9.22695 0.624952 11.0985 1.91796 12.5277C3.21097 13.9569 5.00384 14.8345 6.92574 14.9789C8.84764 15.1233 10.7515 14.5235 12.2436 13.3035L16.7203 17.7803C16.8618 17.9169 17.0512 17.9925 17.2479 17.9908C17.4445 17.9891 17.6326 17.9102 17.7717 17.7711C17.9107 17.6321 17.9896 17.444 17.9913 17.2473C17.993 17.0507 17.9174 16.8612 17.7808 16.7198ZM7.50057 13.5C6.31388 13.5 5.15384 13.1481 4.16715 12.4888C3.18045 11.8295 2.41142 10.8925 1.95729 9.79611C1.50317 8.69975 1.38435 7.49335 1.61586 6.32946C1.84737 5.16558 2.41881 4.09648 3.25793 3.25736C4.09704 2.41825 5.16614 1.8468 6.33003 1.61529C7.49391 1.38378 8.70031 1.5026 9.79667 1.95673C10.893 2.41085 11.8301 3.17989 12.4894 4.16658C13.1487 5.15328 13.5006 6.31332 13.5006 7.5C13.4988 9.09076 12.8661 10.6158 11.7412 11.7407C10.6164 12.8655 9.09132 13.4982 7.50057 13.5Z\"\n fill=\"currentColor\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_658_659\">\n <rect width=\"18\" height=\"18\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>\n </button>\n </form>\n</div>\n", styles: [".cs_sidebar_search{position:relative}.cs_sidebar_search input{width:100%;border:1px solid var(--cl_border-dark);height:50px;padding:5px 20px 5px 50px;border-radius:20px;outline:none;background-color:var(--web-wash)}.cs_sidebar_search input:focus{border-color:var(--cl_accent)}.cs_sidebar_search .cs_sidebar_search_btn{position:absolute;left:0;height:50px;border:none;background-color:transparent;width:45px;padding:0 0 0 10px}.cs_sidebar_search .cs_sidebar_search_btn:hover{color:var(--cl_accent)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
67
|
+
}
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BabylonSearchComponent, decorators: [{
|
|
69
|
+
type: Component,
|
|
70
|
+
args: [{ selector: 'lib-babylon-search', imports: [CommonModule, ReactiveFormsModule], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"cs_sidebar_item widget_search pb--50\">\n <form class=\"cs_sidebar_search\" (ngSubmit)=\"search()\" novalidate>\n <input\n type=\"text\"\n [placeholder]=\"searchPlaceHolder\"\n [formControl]=\"q\"\n />\n <button class=\"cs_sidebar_search_btn\">\n <svg\n width=\"18\"\n height=\"18\"\n viewBox=\"0 0 18 18\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <g clip-path=\"url(#clip0_658_659)\">\n <path\n d=\"M17.7808 16.7198L13.3041 12.243C14.524 10.751 15.1239 8.84707 14.9795 6.92518C14.8351 5.00328 13.9575 3.2104 12.5283 1.91739C11.099 0.624387 9.22751 -0.0698265 7.3008 -0.0216526C5.37409 0.0265212 3.5396 0.813397 2.17678 2.17621C0.813961 3.53903 0.0270858 5.37352 -0.0210881 7.30024C-0.0692619 9.22695 0.624952 11.0985 1.91796 12.5277C3.21097 13.9569 5.00384 14.8345 6.92574 14.9789C8.84764 15.1233 10.7515 14.5235 12.2436 13.3035L16.7203 17.7803C16.8618 17.9169 17.0512 17.9925 17.2479 17.9908C17.4445 17.9891 17.6326 17.9102 17.7717 17.7711C17.9107 17.6321 17.9896 17.444 17.9913 17.2473C17.993 17.0507 17.9174 16.8612 17.7808 16.7198ZM7.50057 13.5C6.31388 13.5 5.15384 13.1481 4.16715 12.4888C3.18045 11.8295 2.41142 10.8925 1.95729 9.79611C1.50317 8.69975 1.38435 7.49335 1.61586 6.32946C1.84737 5.16558 2.41881 4.09648 3.25793 3.25736C4.09704 2.41825 5.16614 1.8468 6.33003 1.61529C7.49391 1.38378 8.70031 1.5026 9.79667 1.95673C10.893 2.41085 11.8301 3.17989 12.4894 4.16658C13.1487 5.15328 13.5006 6.31332 13.5006 7.5C13.4988 9.09076 12.8661 10.6158 11.7412 11.7407C10.6164 12.8655 9.09132 13.4982 7.50057 13.5Z\"\n fill=\"currentColor\"\n />\n </g>\n <defs>\n <clipPath id=\"clip0_658_659\">\n <rect width=\"18\" height=\"18\" fill=\"white\" />\n </clipPath>\n </defs>\n </svg>\n </button>\n </form>\n</div>\n", styles: [".cs_sidebar_search{position:relative}.cs_sidebar_search input{width:100%;border:1px solid var(--cl_border-dark);height:50px;padding:5px 20px 5px 50px;border-radius:20px;outline:none;background-color:var(--web-wash)}.cs_sidebar_search input:focus{border-color:var(--cl_accent)}.cs_sidebar_search .cs_sidebar_search_btn{position:absolute;left:0;height:50px;border:none;background-color:transparent;width:45px;padding:0 0 0 10px}.cs_sidebar_search .cs_sidebar_search_btn:hover{color:var(--cl_accent)}\n"] }]
|
|
71
|
+
}], propDecorators: { searchPlaceHolder: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], elements: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], liveSearch: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], fields: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], results: [{
|
|
80
|
+
type: Output
|
|
81
|
+
}] } });
|
|
82
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIj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W1zOiBCYWJ5bG9uQmxvZ1Bvc3RJW10sIGZsYWc6IG51bWJlcikge1xuICAgICAgICB0aGlzLnJlc3VsdHMuZW1pdCh7IGl0ZW1zLCBmbGFnIH0pO1xuICAgIH1cblxuICAgIG5nT25Jbml0KCk6IHZvaWQge1xuICAgICAgICB0aGlzLmVtaXRSZXN1bHRzKHRoaXMuZWxlbWVudHMsIDApO1xuXG4gICAgICAgIGlmICh0aGlzLmxpdmVTZWFyY2gpIHtcbiAgICAgICAgICAgIHRoaXMucS52YWx1ZUNoYW5nZXNcbiAgICAgICAgICAgICAgICAucGlwZShzdGFydFdpdGgoJycpLCBkZWJvdW5jZVRpbWUoMzAwKSwgZGlzdGluY3RVbnRpbENoYW5nZWQoKSlcbiAgICAgICAgICAgICAgICAuc3Vic2NyaWJlKCh0ZXJtKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IGZpbHRlcmVkID0gdGhpcy5maWx0ZXIodGhpcy5lbGVtZW50cywgdGVybSk7XG4gICAgICAgICAgICAgICAgICAgIGlmICh0aGlzLm9uSW5pdCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5vbkluaXQgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB0aGlzLmVtaXRSZXN1bHRzKGZpbHRlcmVkLCAxKTtcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHNlYXJjaCgpOiB2b2lkIHtcbiAgICAgICAgY29uc3QgZmlsdGVyZWQgPSB0aGlzLmZpbHRlcih0aGlzLmVsZW1lbnRzLCB0aGlzLnEudmFsdWUpO1xuICAgICAgICB0aGlzLmVtaXRSZXN1bHRzKGZpbHRlcmVkLCAxKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGZpbHRlcihsaXN0OiBCYWJ5bG9uQmxvZ1Bvc3RJW10sIHRlcm06IHN0cmluZyk6IEJhYnlsb25CbG9nUG9zdElbXSB7XG4gICAgICAgIGNvbnN0IHQgPSB0ZXJtPy50b0xvd2VyQ2FzZSgpLnRyaW0oKTtcbiAgICAgICAgaWYgKCF0KSByZXR1cm4gdGhpcy5lbGVtZW50cztcblxuICAgICAgICByZXR1cm4gbGlzdC5maWx0ZXIoKGl0ZW0pID0+IHtcbiAgICAgICAgICAgIGNvbnN0IHZhbHVlczogc3RyaW5nW10gPSBbXTtcblxuICAgICAgICAgICAgZm9yIChjb25zdCBmIG9mIHRoaXMuZmllbGRzKSB7XG4gICAgICAgICAgICAgICAgY29uc3QgdmFsID0gKGl0ZW0gYXMgYW55KT8uW2ZdO1xuICAgICAgICAgICAgICAgIGlmICh2YWwgPT0gbnVsbCkgY29udGludWU7XG5cbiAgICAgICAgICAgICAgICBpZiAodmFsIGluc3RhbmNlb2YgRGF0ZSkge1xuICAgICAgICAgICAgICAgICAgICB2YWx1ZXMucHVzaChcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbC50b0xvY2FsZURhdGVTdHJpbmcoKSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbC50b0RhdGVTdHJpbmcoKSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbC50b0lTT1N0cmluZygpXG4gICAgICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgdmFsdWVzLnB1c2goU3RyaW5nKHZhbCkpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgcmV0dXJuIHZhbHVlcy5zb21lKCh2KSA9PiB2LnRvTG93ZXJDYXNlKCkuaW5jbHVkZXModCkpO1xuICAgICAgICB9KTtcbiAgICB9XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgQmFieWxvblNlYXJjaEVsZW1lbnRJIHtcbiAgICBpZD86IG51bWJlcjtcbiAgICB0aXRsZT86IHN0cmluZztcbi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DkzOTEgMS4zODM3OCA4LjcwMDMxIDEuNTAyNiA5Ljc5NjY3IDEuOTU2NzNDMTAuODkzIDIuNDEwODUgMTEuODMwMSAzLjE3OTg5IDEyLjQ4OTQgNC4xNjY1OEMxMy4xNDg3IDUuMTUzMjggMTMuNTAwNiA2LjMxMzMyIDEzLjUwMDYgNy41QzEzLjQ5ODggOS4wOTA3NiAxMi44NjYxIDEwLjYxNTggMTEuNzQxMiAxMS43NDA3QzEwLjYxNjQgMTIuODY1NSA5LjA5MTMyIDEzLjQ5ODIgNy41MDA1NyAxMy41WlwiXG4gICAgICAgICAgICAgICAgICAgICAgICBmaWxsPVwiY3VycmVudENvbG9yXCJcbiAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICA8L2c+XG4gICAgICAgICAgICAgICAgPGRlZnM+XG4gICAgICAgICAgICAgICAgICAgIDxjbGlwUGF0aCBpZD1cImNsaXAwXzY1OF82NTlcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxyZWN0IHdpZHRoPVwiMThcIiBoZWlnaHQ9XCIxOFwiIGZpbGw9XCJ3aGl0ZVwiIC8+XG4gICAgICAgICAgICAgICAgICAgIDwvY2xpcFBhdGg+XG4gICAgICAgICAgICAgICAgPC9kZWZzPlxuICAgICAgICAgICAgPC9zdmc+XG4gICAgICAgIDwvYnV0dG9uPlxuICAgIDwvZm9ybT5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './babylon-search.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iYWJ5bG9uL3NyYy9saWIvY29tcG9uZW50cy9zaGFyZWQvYmFieWxvbi1zZWFyY2gvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYmFieWxvbi1zZWFyY2guY29tcG9uZW50JztcbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './babylon-dynamic-heading';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9iYWJ5bG9uL3NyYy9saWIvY29tcG9uZW50cy9zaGFyZWQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIlxuZXhwb3J0ICogZnJvbSAnLi9iYWJ5bG9uLWR5bmFtaWMtaGVhZGluZyc7XG4iXX0=
|
package/esm2022/lib/directives/babylon-background-strip/babylon-background-strip.directive.mjs
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Directive, Input, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class BabylonBackgroundStrip {
|
|
4
|
+
constructor(el, renderer) {
|
|
5
|
+
this.el = el;
|
|
6
|
+
this.renderer = renderer;
|
|
7
|
+
}
|
|
8
|
+
ngOnChanges() {
|
|
9
|
+
this.updateBackgroundStyle();
|
|
10
|
+
}
|
|
11
|
+
updateBackgroundStyle() {
|
|
12
|
+
const nativeElement = this.el.nativeElement;
|
|
13
|
+
// Limpiar elementos previos
|
|
14
|
+
if (this.topSection) {
|
|
15
|
+
this.renderer.removeChild(nativeElement, this.topSection);
|
|
16
|
+
this.topSection = undefined;
|
|
17
|
+
}
|
|
18
|
+
if (this.bottomSection) {
|
|
19
|
+
this.renderer.removeChild(nativeElement, this.bottomSection);
|
|
20
|
+
this.bottomSection = undefined;
|
|
21
|
+
}
|
|
22
|
+
// Crear sección superior si hay contenido
|
|
23
|
+
if ((this.topBG && this.topBG.trim() !== '') ||
|
|
24
|
+
(this.topColor && this.topColor.trim() !== '')) {
|
|
25
|
+
this.topSection = this.renderer.createElement('div');
|
|
26
|
+
this.renderer.addClass(this.topSection, 'top-section');
|
|
27
|
+
this.renderer.appendChild(nativeElement, this.topSection);
|
|
28
|
+
if (this.topBG && this.topBG.trim() !== '') {
|
|
29
|
+
this.renderer.setStyle(this.topSection, 'background-image', `url('${this.topBG}')`);
|
|
30
|
+
this.renderer.setStyle(this.topSection, 'background-size', 'cover');
|
|
31
|
+
this.renderer.setStyle(this.topSection, 'background-position', 'center');
|
|
32
|
+
}
|
|
33
|
+
if (this.topColor && this.topColor.trim() !== '') {
|
|
34
|
+
this.renderer.setStyle(this.topSection, 'background-color', this.topColor);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
// Crear sección inferior si hay contenido
|
|
38
|
+
if ((this.bottomBG && this.bottomBG.trim() !== '') ||
|
|
39
|
+
(this.bottomColor && this.bottomColor.trim() !== '')) {
|
|
40
|
+
this.bottomSection = this.renderer.createElement('div');
|
|
41
|
+
this.renderer.addClass(this.bottomSection, 'bottom-section');
|
|
42
|
+
this.renderer.appendChild(nativeElement, this.bottomSection);
|
|
43
|
+
if (this.bottomBG && this.bottomBG.trim() !== '') {
|
|
44
|
+
this.renderer.setStyle(this.bottomSection, 'background-image', `url('${this.bottomBG}')`);
|
|
45
|
+
this.renderer.setStyle(this.bottomSection, 'background-size', 'cover');
|
|
46
|
+
this.renderer.setStyle(this.bottomSection, 'background-position', 'center');
|
|
47
|
+
}
|
|
48
|
+
if (this.bottomColor && this.bottomColor.trim() !== '') {
|
|
49
|
+
this.renderer.setStyle(this.bottomSection, 'background-color', this.bottomColor);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BabylonBackgroundStrip, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
54
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: BabylonBackgroundStrip, isStandalone: true, selector: "[backgroundStrip]", inputs: { topBG: "topBG", bottomBG: "bottomBG", topColor: "topColor", bottomColor: "bottomColor" }, usesOnChanges: true, ngImport: i0 }); }
|
|
55
|
+
}
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BabylonBackgroundStrip, decorators: [{
|
|
57
|
+
type: Directive,
|
|
58
|
+
args: [{
|
|
59
|
+
selector: '[backgroundStrip]',
|
|
60
|
+
standalone: true,
|
|
61
|
+
}]
|
|
62
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { topBG: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], bottomBG: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], topColor: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], bottomColor: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}] } });
|
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFieWxvbi1iYWNrZ3JvdW5kLXN0cmlwLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2JhYnlsb24vc3JjL2xpYi9kaXJlY3RpdmVzL2JhYnlsb24tYmFja2dyb3VuZC1zdHJpcC9iYWJ5bG9uLWJhY2tncm91bmQtc3RyaXAuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxTQUFTLEVBRVQsS0FBSyxHQUdSLE1BQU0sZUFB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gICkge31cblxuICAgIG5nT25DaGFuZ2VzKCk6IHZvaWQge1xuICAgICAgICB0aGlzLnVwZGF0ZUJhY2tncm91bmRTdHlsZSgpO1xuICAgIH1cblxuICAgIHByaXZhdGUgdXBkYXRlQmFja2dyb3VuZFN0eWxlKCk6IHZvaWQge1xuICAgICAgICBjb25zdCBuYXRpdmVFbGVtZW50ID0gdGhpcy5lbC5uYXRpdmVFbGVtZW50O1xuXG4gICAgICAgIC8vIExpbXBpYXIgZWxlbWVudG9zIHByZXZpb3NcbiAgICAgICAgaWYgKHRoaXMudG9wU2VjdGlvbikge1xuICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5yZW1vdmVDaGlsZChuYXRpdmVFbGVtZW50LCB0aGlzLnRvcFNlY3Rpb24pO1xuICAgICAgICAgICAgdGhpcy50b3BTZWN0aW9uID0gdW5kZWZpbmVkO1xuICAgICAgICB9XG4gICAgICAgIGlmICh0aGlzLmJvdHRvbVNlY3Rpb24pIHtcbiAgICAgICAgICAgIHRoaXMucmVuZGVyZXIucmVtb3ZlQ2hpbGQobmF0aXZlRWxlbWVudCwgdGhpcy5ib3R0b21TZWN0aW9uKTtcbiAgICAgICAgICAgIHRoaXMuYm90dG9tU2VjdGlvbiA9IHVuZGVmaW5lZDtcbiAgICAgICAgfVxuXG4gICAgICAgIC8vIENyZWFyIHNlY2Npw7NuIHN1cGVyaW9yIHNpIGhheSBjb250ZW5pZG9cbiAgICAgICAgaWYgKFxuICAgICAgICAgICAgKHRoaXMudG9wQkcgJiYgdGhpcy50b3BCRy50cmltKCkgIT09ICcnKSB8fFxuICAgICAgICAgICAgKHRoaXMudG9wQ29sb3IgJiYgdGhpcy50b3BDb2xvci50cmltKCkgIT09ICcnKVxuICAgICAgICApIHtcbiAgICAgICAgICAgIHRoaXMudG9wU2VjdGlvbiA9IHRoaXMucmVuZGVyZXIuY3JlYXRlRWxlbWVudCgnZGl2Jyk7XG4gICAgICAgICAgICB0aGlzLnJlbmRlcmVyLmFkZENsYXNzKHRoaXMudG9wU2VjdGlvbiwgJ3RvcC1zZWN0aW9uJyk7XG4gICAgICAgICAgICB0aGlzLnJlbmRlcmVyLmFwcGVuZENoaWxkKG5hdGl2ZUVsZW1lbnQsIHRoaXMudG9wU2VjdGlvbik7XG5cbiAgICAgICAgICAgIGlmICh0aGlzLnRvcEJHICYmIHRoaXMudG9wQkcudHJpbSgpICE9PSAnJykge1xuICAgICAgICAgICAgICAgIHRoaXMucmVuZGVyZXIuc2V0U3R5bGUoXG4gICAgICAgICAgICAgICAgICAgIHRoaXMudG9wU2VjdGlvbixcbiAgICAgICAgICAgICAgICAgICAgJ2JhY2tncm91bmQtaW1hZ2UnLFxuICAgICAgICAgICAgICAgICAgICBgdXJsKCcke3RoaXMudG9wQkd9JylgXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKFxuICAgICAgICAgICAgICAgICAgICB0aGlzLnRvcFNlY3Rpb24sXG4gICAgICAgICAgICAgICAgICAgICdiYWNrZ3JvdW5kLXNpemUnLFxuICAgICAgICAgICAgICAgICAgICAnY292ZXInXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKFxuICAgICAgICAgICAgICAgICAgICB0aGlzLnRvcFNlY3Rpb24sXG4gICAgICAgICAgICAgICAgICAgICdiYWNrZ3JvdW5kLXBvc2l0aW9uJyxcbiAgICAgICAgICAgICAgICAgICAgJ2NlbnRlcidcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKHRoaXMudG9wQ29sb3IgJiYgdGhpcy50b3BDb2xvci50cmltKCkgIT09ICcnKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRTdHlsZShcbiAgICAgICAgICAgICAgICAgICAgdGhpcy50b3BTZWN0aW9uLFxuICAgICAgICAgICAgICAgICAgICAnYmFja2dyb3VuZC1jb2xvcicsXG4gICAgICAgICAgICAgICAgICAgIHRoaXMudG9wQ29sb3JcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLy8gQ3JlYXIgc2VjY2nDs24gaW5mZXJpb3Igc2kgaGF5IGNvbnRlbmlkb1xuICAgICAgICBpZiAoXG4gICAgICAgICAgICAodGhpcy5ib3R0b21CRyAmJiB0aGlzLmJvdHRvbUJHLnRyaW0oKSAhPT0gJycpIHx8XG4gICAgICAgICAgICAodGhpcy5ib3R0b21Db2xvciAmJiB0aGlzLmJvdHRvbUNvbG9yLnRyaW0oKSAhPT0gJycpXG4gICAgICAgICkge1xuICAgICAgICAgICAgdGhpcy5ib3R0b21TZWN0aW9uID0gdGhpcy5yZW5kZXJlci5jcmVhdGVFbGVtZW50KCdkaXYnKTtcbiAgICAgICAgICAgIHRoaXMucmVuZGVyZXIuYWRkQ2xhc3ModGhpcy5ib3R0b21TZWN0aW9uLCAnYm90dG9tLXNlY3Rpb24nKTtcbiAgICAgICAgICAgIHRoaXMucmVuZGVyZXIuYXBwZW5kQ2hpbGQobmF0aXZlRWxlbWVudCwgdGhpcy5ib3R0b21TZWN0aW9uKTtcblxuICAgICAgICAgICAgaWYgKHRoaXMuYm90dG9tQkcgJiYgdGhpcy5ib3R0b21CRy50cmltKCkgIT09ICcnKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRTdHlsZShcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ib3R0b21TZWN0aW9uLFxuICAgICAgICAgICAgICAgICAgICAnYmFja2dyb3VuZC1pbWFnZScsXG4gICAgICAgICAgICAgICAgICAgIGB1cmwoJyR7dGhpcy5ib3R0b21CR30nKWBcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgIHRoaXMucmVuZGVyZXIuc2V0U3R5bGUoXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYm90dG9tU2VjdGlvbixcbiAgICAgICAgICAgICAgICAgICAgJ2JhY2tncm91bmQtc2l6ZScsXG4gICAgICAgICAgICAgICAgICAgICdjb3ZlcidcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgIHRoaXMucmVuZGVyZXIuc2V0U3R5bGUoXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYm90dG9tU2VjdGlvbixcbiAgICAgICAgICAgICAgICAgICAgJ2JhY2tncm91bmQtcG9zaXRpb24nLFxuICAgICAgICAgICAgICAgICAgICAnY2VudGVyJ1xuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICBpZiAodGhpcy5ib3R0b21Db2xvciAmJiB0aGlzLmJvdHRvbUNvbG9yLnRyaW0oKSAhPT0gJycpIHtcbiAgICAgICAgICAgICAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKFxuICAgICAgICAgICAgICAgICAgICB0aGlzLmJvdHRvbVNlY3Rpb24sXG4gICAgICAgICAgICAgICAgICAgICdiYWNrZ3JvdW5kLWNvbG9yJyxcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5ib3R0b21Db2xvclxuICAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|