@ptcwebops/ptcw-design 6.5.6-upgrade → 6.5.7-upgrade
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/dist/cjs/buying-option-card.cjs.entry.js +2 -2
- package/dist/cjs/buying-option-cards-slider.cjs.entry.js +1 -1
- package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +1 -1
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +4 -4
- package/dist/cjs/homepage-clickable-tab.cjs.entry.js +2 -2
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/max-width-container.cjs.entry.js +1 -1
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +4 -4
- package/dist/cjs/ptc-accordion.cjs.entry.js +3 -3
- package/dist/cjs/ptc-announcement.cjs.entry.js +2 -2
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ptc-background-video.cjs.entry.js +5 -5
- package/dist/cjs/ptc-badge.cjs.entry.js +1 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-blue-pill-announcement-bar.cjs.entry.js +2 -2
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/ptc-brightcov-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-content.cjs.entry.js +2 -2
- package/dist/cjs/ptc-card-wrapper.cjs.entry.js +3 -3
- package/dist/cjs/ptc-card.cjs.entry.js +7 -7
- package/dist/cjs/ptc-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/ptc-checkbox.cjs.entry.js +73 -0
- package/dist/cjs/ptc-checkbox.entry.cjs.js.map +1 -0
- package/dist/cjs/ptc-close-icon.ptc-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +10 -10
- package/dist/cjs/ptc-container.cjs.entry.js +1 -1
- package/dist/cjs/ptc-countdown.cjs.entry.js +1 -1
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -1
- package/dist/cjs/ptc-date.cjs.entry.js +1 -1
- package/dist/cjs/ptc-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +8 -8
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +14 -14
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +3 -3
- package/dist/cjs/ptc-footer.cjs.entry.js +2 -2
- package/dist/cjs/ptc-form-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/ptc-form-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/ptc-form-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +1 -1
- package/dist/cjs/ptc-hero.cjs.entry.js +1 -1
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-icon-component.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +1 -1
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +2 -2
- package/dist/cjs/ptc-img.cjs.entry.js +1 -1
- package/dist/cjs/ptc-info-tile.cjs.entry.js +2 -2
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +14 -14
- package/dist/cjs/ptc-media-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +1 -1
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +3 -3
- package/dist/cjs/ptc-multi-select.cjs.entry.js +4 -4
- package/dist/cjs/ptc-nav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-link.cjs.entry.js +2 -2
- package/dist/cjs/ptc-nav-pills.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-tile.cjs.entry.js +1 -1
- package/dist/cjs/ptc-news.cjs.entry.js +1 -1
- package/dist/cjs/ptc-office-location-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-office-locations.cjs.entry.js +8 -8
- package/dist/cjs/ptc-overlay.cjs.entry.js +1 -1
- package/dist/cjs/ptc-picture.cjs.entry.js +2 -2
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +3 -3
- package/dist/cjs/ptc-preloader-section.cjs.entry.js +1 -1
- package/dist/cjs/ptc-preloader.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-list.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ptc-quantity-counter.cjs.entry.js +1 -1
- package/dist/cjs/ptc-quote.cjs.entry.js +3 -3
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore.cjs.entry.js +2 -2
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +1 -1
- package/dist/cjs/ptc-search-field.cjs.entry.js +4 -4
- package/dist/cjs/ptc-select.cjs.entry.js +1 -1
- package/dist/cjs/ptc-seo-title.cjs.entry.js +1 -1
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +1 -1
- package/dist/cjs/ptc-showcase-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/ptc-slit-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +5 -5
- package/dist/cjs/ptc-social-icons.cjs.entry.js +1 -1
- package/dist/cjs/ptc-spacer.cjs.entry.js +1 -1
- package/dist/cjs/ptc-span.cjs.entry.js +1 -1
- package/dist/cjs/ptc-square-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +1 -1
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +1 -1
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +1 -1
- package/dist/cjs/ptc-store-card-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-store-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav.cjs.entry.js +2 -2
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +2 -2
- package/dist/cjs/ptc-tab-list.cjs.entry.js +2 -2
- package/dist/cjs/ptc-tab.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-textfield.cjs.entry.js +2 -2
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +1 -1
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-content-highlight.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-content.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-intro.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-layout.cjs.entry.js +4 -4
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +2 -2
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/tab-content.cjs.entry.js +2 -2
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/ptc-checkbox/ptc-checkbox.css +84 -0
- package/dist/collection/components/atoms/ptc-checkbox/ptc-checkbox.js +213 -0
- package/dist/collection/components/atoms/ptc-checkbox/ptc-checkbox.js.map +1 -0
- package/dist/collection/components/atoms/ptc-date/ptc-date.js +1 -1
- package/dist/collection/components/atoms/ptc-form-checkbox/ptc-form-checkbox.js +5 -5
- package/dist/collection/components/atoms/ptc-form-radio-button/ptc-form-radio-button.js +1 -1
- package/dist/collection/components/atoms/ptc-img/ptc-img.js +1 -1
- package/dist/collection/components/atoms/ptc-modal/ptc-modal.js +15 -25
- package/dist/collection/components/atoms/ptc-modal/ptc-modal.js.map +1 -1
- package/dist/collection/components/atoms/ptc-overlay/ptc-overlay.js +1 -1
- package/dist/collection/components/atoms/ptc-picture/ptc-picture.js +2 -2
- package/dist/collection/components/atoms/ptc-readmore/ptc-readmore.js +2 -2
- package/dist/collection/components/atoms/ptc-readmore-char/ptc-readmore-char.js +1 -1
- package/dist/collection/components/atoms/ptc-select/ptc-select.js +1 -1
- package/dist/collection/components/atoms/ptc-span/ptc-span.js +1 -1
- package/dist/collection/components/atoms/ptc-svg-btn/ptc-svg-btn.js +2 -2
- package/dist/collection/components/atoms/ptc-textfield/ptc-textfield.js +2 -2
- package/dist/collection/components/molecules/buying-option-card/buying-option-card.js +2 -2
- package/dist/collection/components/molecules/buying-option-cards-slider/buying-option-cards-slider.js +1 -1
- package/dist/collection/components/molecules/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/molecules/dynamic-box-bundle/dynamic-box-bundle.js +1 -1
- package/dist/collection/components/molecules/homepage-clickable-tab/homepage-clickable-tab.js +2 -2
- package/dist/collection/components/molecules/innovator-toggle-container/innovator-toggle-container.js +1 -1
- package/dist/collection/components/molecules/jumbotron-sub-menu/jumbotron-sub-menu.js +3 -3
- package/dist/collection/components/molecules/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +4 -4
- package/dist/collection/components/molecules/ptc-accordion/ptc-accordion.js +3 -3
- package/dist/collection/components/molecules/ptc-announcement/ptc-announcement.js +2 -2
- package/dist/collection/components/molecules/ptc-back-to-top/ptc-back-to-top.js +1 -1
- package/dist/collection/components/molecules/ptc-background-video/ptc-background-video.js +5 -5
- package/dist/collection/components/molecules/ptc-badge/ptc-badge.js +1 -1
- package/dist/collection/components/molecules/ptc-bio-card/ptc-bio-card.js +2 -2
- package/dist/collection/components/molecules/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.js +2 -2
- package/dist/collection/components/molecules/ptc-breadcrumb/ptc-breadcrumb.js +1 -1
- package/dist/collection/components/molecules/ptc-brightcov-video/ptc-brightcov-video.js +1 -1
- package/dist/collection/components/molecules/ptc-card/ptc-card.js +7 -7
- package/dist/collection/components/molecules/ptc-card-bottom/ptc-card-bottom.js +1 -1
- package/dist/collection/components/molecules/ptc-card-content/ptc-card-content.js +2 -2
- package/dist/collection/components/molecules/ptc-card-wrapper/ptc-card-wrapper.js +3 -3
- package/dist/collection/components/molecules/ptc-checkbox-group/ptc-checkbox-group.js +1 -1
- package/dist/collection/components/molecules/ptc-close-icon/ptc-close-icon.js +1 -1
- package/dist/collection/components/molecules/ptc-container/ptc-container.js +1 -1
- package/dist/collection/components/molecules/ptc-countdown/ptc-countdown.js +1 -1
- package/dist/collection/components/molecules/ptc-data-lookup/ptc-data-lookup.js +1 -1
- package/dist/collection/components/molecules/ptc-dropdown/ptc-dropdown.js +2 -2
- package/dist/collection/components/molecules/ptc-dynamic-card/ptc-dynamic-card.js +2 -2
- package/dist/collection/components/molecules/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +2 -2
- package/dist/collection/components/molecules/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +2 -2
- package/dist/collection/components/molecules/ptc-featured-list/fl-tab-content/fl-tab-content.js +2 -2
- package/dist/collection/components/molecules/ptc-featured-list/fl-tab-header/fl-tab-header.js +1 -1
- package/dist/collection/components/molecules/ptc-featured-list/fl-tab-image/fl-tab-image.js +1 -1
- package/dist/collection/components/molecules/ptc-featured-list/ptc-featured-list.js +1 -1
- package/dist/collection/components/molecules/ptc-filter-dropdown/ptc-filter-dropdown.js +4 -4
- package/dist/collection/components/molecules/ptc-filter-level-theater/ptc-filter-level-theater.js +14 -14
- package/dist/collection/components/molecules/ptc-filter-tag/ptc-filter-tag.js +3 -3
- package/dist/collection/components/molecules/ptc-footer/ptc-footer.js +2 -2
- package/dist/collection/components/molecules/ptc-form-radio-group/ptc-form-radio-group.js +1 -1
- package/dist/collection/components/molecules/ptc-hero/ptc-hero.js +1 -1
- package/dist/collection/components/molecules/ptc-hero-footer-cta/ptc-hero-footer-cta.js +1 -1
- package/dist/collection/components/molecules/ptc-homepage-image-feature/ptc-homepage-image-feature.js +1 -1
- package/dist/collection/components/molecules/ptc-homepage-video-background/ptc-homepage-video-background.js +1 -1
- package/dist/collection/components/molecules/ptc-icon-card/ptc-icon-card.js +2 -2
- package/dist/collection/components/molecules/ptc-icon-component/ptc-icon-component.js +1 -1
- package/dist/collection/components/molecules/ptc-icon-list/ptc-icon-list.js +1 -1
- package/dist/collection/components/molecules/ptc-icon-minimize/ptc-icon-minimize.js +1 -1
- package/dist/collection/components/molecules/ptc-image-download-strip/ptc-image-download-strip.js +2 -2
- package/dist/collection/components/molecules/ptc-info-tile/ptc-info-tile.js +2 -2
- package/dist/collection/components/molecules/ptc-jumbotron/ptc-jumbotron.js +14 -14
- package/dist/collection/components/molecules/ptc-media-card/ptc-media-card.js +2 -2
- package/dist/collection/components/molecules/ptc-minimized-nav/ptc-minimized-nav.js +1 -1
- package/dist/collection/components/molecules/ptc-mobile-select/ptc-mobile-select.js +3 -3
- package/dist/collection/components/molecules/ptc-multi-select/ptc-multi-select.js +4 -4
- package/dist/collection/components/molecules/ptc-nav-card/ptc-nav-card.js +1 -1
- package/dist/collection/components/molecules/ptc-nav-pills/ptc-nav-pills.js +1 -1
- package/dist/collection/components/molecules/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +1 -1
- package/dist/collection/components/molecules/ptc-nav-tile/ptc-nav-tile.js +1 -1
- package/dist/collection/components/molecules/ptc-news/ptc-news.js +1 -1
- package/dist/collection/components/molecules/ptc-office-location-card/ptc-office-location-card.js +2 -2
- package/dist/collection/components/molecules/ptc-office-locations/ptc-office-locations.js +8 -8
- package/dist/collection/components/molecules/ptc-podcast-card/ptc-podcast-card.js +1 -1
- package/dist/collection/components/molecules/ptc-preferance-center-form/ptc-preferance-center-form.js +3 -3
- package/dist/collection/components/molecules/ptc-preloader/ptc-preloader.js +1 -1
- package/dist/collection/components/molecules/ptc-preloader-section/ptc-preloader-section.js +1 -1
- package/dist/collection/components/molecules/ptc-previous-url/ptc-previous-url.js +1 -1
- package/dist/collection/components/molecules/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +2 -2
- package/dist/collection/components/molecules/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +1 -1
- package/dist/collection/components/molecules/ptc-pricing-block/ptc-pricing-block.js +1 -1
- package/dist/collection/components/molecules/ptc-pricing-tabs/ptc-pricing-tabs.js +2 -2
- package/dist/collection/components/molecules/ptc-product-card/ptc-product-card.js +1 -1
- package/dist/collection/components/molecules/ptc-product-category/ptc-product-category.js +1 -1
- package/dist/collection/components/molecules/ptc-product-dropdown/ptc-product-dropdown.js +2 -2
- package/dist/collection/components/molecules/ptc-product-highlight-card/ptc-product-highlight-card.js +1 -1
- package/dist/collection/components/molecules/ptc-product-list/ptc-product-list.js +2 -2
- package/dist/collection/components/molecules/ptc-product-sidebar/ptc-product-sidebar.js +2 -2
- package/dist/collection/components/molecules/ptc-progress-bar/ptc-progress-bar.js +1 -1
- package/dist/collection/components/molecules/ptc-quantity-counter/ptc-quantity-counter.js +1 -1
- package/dist/collection/components/molecules/ptc-quote/ptc-quote.js +3 -3
- package/dist/collection/components/molecules/ptc-scroll-button/ptc-scroll-button.js +1 -1
- package/dist/collection/components/molecules/ptc-search-field/ptc-search-field.js +4 -4
- package/dist/collection/components/molecules/ptc-seo-title/ptc-seo-title.js +1 -1
- package/dist/collection/components/molecules/ptc-shopping-cart/ptc-shopping-cart.js +1 -1
- package/dist/collection/components/molecules/ptc-showcase-card/ptc-showcase-card.js +1 -1
- package/dist/collection/components/molecules/ptc-skeleton/ptc-skeleton.js +1 -1
- package/dist/collection/components/molecules/ptc-slit-card/ptc-slit-card.js +2 -2
- package/dist/collection/components/molecules/ptc-social-icons/ptc-social-icons.js +1 -1
- package/dist/collection/components/molecules/ptc-social-icons-footer/ptc-social-icons-footer.js +5 -5
- package/dist/collection/components/molecules/ptc-social-share/ptc-social-share.js +2 -2
- package/dist/collection/components/molecules/ptc-square-card/ptc-square-card.js +2 -2
- package/dist/collection/components/molecules/ptc-sticky-icons/ptc-sticky-icons.js +1 -1
- package/dist/collection/components/molecules/ptc-sticky-section/ptc-sticky-section.js +1 -1
- package/dist/collection/components/molecules/ptc-sticky-title/ptc-sticky-title.js +1 -1
- package/dist/collection/components/molecules/ptc-store-card/ptc-store-card.js +1 -1
- package/dist/collection/components/molecules/ptc-store-card-list/ptc-store-card-list.js +1 -1
- package/dist/collection/components/molecules/ptc-tab-list/ptc-tab-list.js +2 -2
- package/dist/collection/components/molecules/ptc-tabs/ptc-tab.js +1 -1
- package/dist/collection/components/molecules/ptc-tabs/ptc-tabs.js +1 -1
- package/dist/collection/components/molecules/ptc-text-copy-with-background/ptc-text-copy-with-background.js +1 -1
- package/dist/collection/components/molecules/ptc-theater-video/ptc-theater-video.js +1 -1
- package/dist/collection/components/molecules/ptc-theater-video-modal/ptc-theater-video-modal.js +1 -1
- package/dist/collection/components/molecules/ptc-theater-video-playlist/ptc-theater-video-playlist.js +1 -1
- package/dist/collection/components/molecules/ptc-two-column-media/ptc-two-column-media.js +1 -1
- package/dist/collection/components/molecules/ptc-value-led-card/ptc-value-led-card.js +1 -1
- package/dist/collection/components/molecules/ptc-value-led-content/ptc-value-led-content.js +1 -1
- package/dist/collection/components/molecules/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +1 -1
- package/dist/collection/components/molecules/ptc-value-led-intro/ptc-value-led-intro.js +1 -1
- package/dist/collection/components/molecules/ptc-value-led-layout/ptc-value-led-layout.js +4 -4
- package/dist/collection/components/molecules/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +1 -1
- package/dist/collection/components/molecules/ptc-value-prop-card/ptc-value-prop-card.js +1 -1
- package/dist/collection/components/molecules/ptc-white-paper/ptc-white-paper.js +2 -2
- package/dist/collection/components/molecules/subnav/ptc-nav-link/ptc-nav-link.js +2 -2
- package/dist/collection/components/molecules/subnav/ptc-nav-slider/ptc-nav-slider.js +1 -1
- package/dist/collection/components/molecules/subnav/ptc-nav-submenu/ptc-nav-submenu.js +1 -1
- package/dist/collection/components/molecules/subnav/ptc-subnav/ptc-subnav.js +2 -2
- package/dist/collection/components/molecules/subnav/ptc-subnav-card/ptc-subnav-card.js +1 -1
- package/dist/collection/components/molecules/tab-content/tab-content.js +2 -2
- package/dist/collection/components/molecules/tab-header/tab-header.js +1 -1
- package/dist/collection/components/utilities/max-width-container/max-width-container.js +1 -1
- package/dist/collection/components/utilities/ptc-responsive-wrapper/ptc-responsive-wrapper.js +1 -1
- package/dist/collection/components/utilities/ptc-spacer/ptc-spacer.js +1 -1
- package/dist/components/buying-option-card.js +2 -2
- package/dist/components/buying-option-cards-slider.js +1 -1
- package/dist/components/dropdown-item.js +1 -1
- package/dist/components/dynamic-box-bundle.js +1 -1
- package/dist/components/fl-tab-content.js +1 -1
- package/dist/components/fl-tab-header.js +1 -1
- package/dist/components/fl-tab-image.js +1 -1
- package/dist/components/homepage-clickable-tab.js +2 -2
- package/dist/components/innovator-toggle-container.js +2 -2
- package/dist/components/jumbotron-sub-menu.js +3 -3
- package/dist/components/max-width-container.js +1 -1
- package/dist/components/{p-Cyvb5zfG.js → p-0guGrzy8.js} +3 -3
- package/dist/components/{p-Cyvb5zfG.js.map → p-0guGrzy8.js.map} +1 -1
- package/dist/components/{p-u1d9Lu8W.js → p-B0NSTy2y.js} +4 -4
- package/dist/components/{p-u1d9Lu8W.js.map → p-B0NSTy2y.js.map} +1 -1
- package/dist/components/{p-rV440n48.js → p-BAW88YcS.js} +3 -3
- package/dist/components/{p-rV440n48.js.map → p-BAW88YcS.js.map} +1 -1
- package/dist/components/{p-CoxTlRBE.js → p-BE6xl5CV.js} +3 -3
- package/dist/components/{p-CoxTlRBE.js.map → p-BE6xl5CV.js.map} +1 -1
- package/dist/components/{p-B5fWr5oN.js → p-BFUh3kag.js} +3 -3
- package/dist/components/{p-B5fWr5oN.js.map → p-BFUh3kag.js.map} +1 -1
- package/dist/components/{p-rp_eqs4l.js → p-BQjkh7kQ.js} +4 -4
- package/dist/components/{p-rp_eqs4l.js.map → p-BQjkh7kQ.js.map} +1 -1
- package/dist/components/{p-Dy9aYfKt.js → p-BRkdgVC0.js} +7 -7
- package/dist/components/{p-Dy9aYfKt.js.map → p-BRkdgVC0.js.map} +1 -1
- package/dist/components/{p-sNBdP2gv.js → p-BeRHdpb-.js} +3 -3
- package/dist/components/{p-sNBdP2gv.js.map → p-BeRHdpb-.js.map} +1 -1
- package/dist/components/{p-BZmiyqIe.js → p-BoQK-f42.js} +7 -7
- package/dist/components/{p-BZmiyqIe.js.map → p-BoQK-f42.js.map} +1 -1
- package/dist/components/{p-A8cqTum7.js → p-C07ojBTl.js} +3 -3
- package/dist/components/{p-A8cqTum7.js.map → p-C07ojBTl.js.map} +1 -1
- package/dist/components/{p-vDw4ZbGF.js → p-C1g9I9xH.js} +3 -3
- package/dist/components/{p-vDw4ZbGF.js.map → p-C1g9I9xH.js.map} +1 -1
- package/dist/components/{p-SlTyS70R.js → p-CYgk2SEY.js} +3 -3
- package/dist/components/{p-SlTyS70R.js.map → p-CYgk2SEY.js.map} +1 -1
- package/dist/components/{p-D0XJt6EB.js → p-CdTTj7ab.js} +3 -3
- package/dist/components/{p-D0XJt6EB.js.map → p-CdTTj7ab.js.map} +1 -1
- package/dist/components/{p-Dws0e-v8.js → p-CrO4JStG.js} +3 -3
- package/dist/components/{p-Dws0e-v8.js.map → p-CrO4JStG.js.map} +1 -1
- package/dist/components/{p-BvtkwA8N.js → p-CtKHBYM3.js} +3 -3
- package/dist/components/{p-BvtkwA8N.js.map → p-CtKHBYM3.js.map} +1 -1
- package/dist/components/{p-K87Ni9cl.js → p-CtOMq-3s.js} +7 -7
- package/dist/components/{p-K87Ni9cl.js.map → p-CtOMq-3s.js.map} +1 -1
- package/dist/components/{p-D9QQ0tGz.js → p-DGEGX6gr.js} +4 -4
- package/dist/components/{p-D9QQ0tGz.js.map → p-DGEGX6gr.js.map} +1 -1
- package/dist/components/{p-D-L4F0W2.js → p-DM4DZ3DX.js} +4 -4
- package/dist/components/{p-D-L4F0W2.js.map → p-DM4DZ3DX.js.map} +1 -1
- package/dist/components/{p-BBapzpqC.js → p-DZjCoqdh.js} +6 -6
- package/dist/components/{p-BBapzpqC.js.map → p-DZjCoqdh.js.map} +1 -1
- package/dist/components/p-DjOed3JN.js +104 -0
- package/dist/components/p-DjOed3JN.js.map +1 -0
- package/dist/components/{p-DsLwxl3z.js → p-Dl5FLhIz.js} +3 -3
- package/dist/components/{p-DsLwxl3z.js.map → p-Dl5FLhIz.js.map} +1 -1
- package/dist/components/{p-DIQsWvTl.js → p-DqEp_ABX.js} +13 -13
- package/dist/components/{p-DIQsWvTl.js.map → p-DqEp_ABX.js.map} +1 -1
- package/dist/components/{p-BtXR4IsB.js → p-DynRjvin.js} +3 -3
- package/dist/components/{p-BtXR4IsB.js.map → p-DynRjvin.js.map} +1 -1
- package/dist/components/{p-CtGy5Fsl.js → p-FlBKqZNv.js} +4 -4
- package/dist/components/{p-CtGy5Fsl.js.map → p-FlBKqZNv.js.map} +1 -1
- package/dist/components/{p-Y8wDqrCA.js → p-Lqjb0ifQ.js} +4 -4
- package/dist/components/{p-Y8wDqrCA.js.map → p-Lqjb0ifQ.js.map} +1 -1
- package/dist/components/{p-ChEIBH0Z.js → p-TfhYoSUK.js} +3 -3
- package/dist/components/{p-ChEIBH0Z.js.map → p-TfhYoSUK.js.map} +1 -1
- package/dist/components/{p-HVuUeTH6.js → p-YxDZIuGb.js} +5 -5
- package/dist/components/{p-HVuUeTH6.js.map → p-YxDZIuGb.js.map} +1 -1
- package/dist/components/{p-Ye02__7-.js → p-bEXhZuKd.js} +6 -6
- package/dist/components/{p-Ye02__7-.js.map → p-bEXhZuKd.js.map} +1 -1
- package/dist/components/ptc-accordion-item.js +4 -4
- package/dist/components/ptc-accordion.js +3 -3
- package/dist/components/ptc-announcement.js +3 -3
- package/dist/components/ptc-back-to-top.js +1 -1
- package/dist/components/ptc-background-video.js +1 -1
- package/dist/components/ptc-badge.js +1 -1
- package/dist/components/ptc-bio-card.js +5 -5
- package/dist/components/ptc-blue-pill-announcement-bar.js +2 -2
- package/dist/components/ptc-breadcrumb.js +1 -1
- package/dist/components/ptc-brightcov-video.js +1 -1
- package/dist/components/ptc-card-bottom.js +1 -1
- package/dist/components/ptc-card-content.js +1 -1
- package/dist/components/ptc-card-wrapper.js +3 -3
- package/dist/components/ptc-card.js +9 -9
- package/dist/components/ptc-checkbox-group.js +1 -1
- package/dist/components/ptc-checkbox.d.ts +11 -0
- package/dist/components/ptc-checkbox.js +9 -0
- package/dist/components/ptc-checkbox.js.map +1 -0
- package/dist/components/ptc-close-icon.js +1 -1
- package/dist/components/ptc-container.js +1 -1
- package/dist/components/ptc-countdown.js +1 -1
- package/dist/components/ptc-data-lookup.js +1 -1
- package/dist/components/ptc-date.js +1 -1
- package/dist/components/ptc-dropdown.js +2 -2
- package/dist/components/ptc-dynamic-card.js +5 -5
- package/dist/components/ptc-ellipsis-dropdown.js +1 -1
- package/dist/components/ptc-embedded-quiz.js +1 -1
- package/dist/components/ptc-enhanced-product-listing-card.js +3 -3
- package/dist/components/ptc-featured-list.js +7 -7
- package/dist/components/ptc-filter-dropdown.js +1 -1
- package/dist/components/ptc-filter-level-theater.js +22 -22
- package/dist/components/ptc-filter-tag.js +3 -3
- package/dist/components/ptc-footer.js +2 -2
- package/dist/components/ptc-form-checkbox.js +5 -5
- package/dist/components/ptc-form-radio-button.js +1 -1
- package/dist/components/ptc-form-radio-group.js +1 -1
- package/dist/components/ptc-hero-footer-cta.js +1 -1
- package/dist/components/ptc-hero.js +3 -3
- package/dist/components/ptc-homepage-image-feature.js +1 -1
- package/dist/components/ptc-homepage-video-background.js +2 -2
- package/dist/components/ptc-icon-card.js +2 -2
- package/dist/components/ptc-icon-component.js +1 -1
- package/dist/components/ptc-icon-list.js +1 -1
- package/dist/components/ptc-icon-minimize.js +9 -3
- package/dist/components/ptc-icon-minimize.js.map +1 -1
- package/dist/components/ptc-image-download-strip.js +1 -1
- package/dist/components/ptc-img.js +1 -1
- package/dist/components/ptc-info-tile.js +2 -2
- package/dist/components/ptc-inline-cta.js +2 -2
- package/dist/components/ptc-jumbotron.js +19 -19
- package/dist/components/ptc-media-card.js +3 -3
- package/dist/components/ptc-minimized-nav.js +1 -1
- package/dist/components/ptc-mobile-select.js +3 -3
- package/dist/components/ptc-modal-quiz.js +1 -1
- package/dist/components/ptc-modal.js +1 -1
- package/dist/components/ptc-multi-select.js +4 -4
- package/dist/components/ptc-nav-card.js +1 -1
- package/dist/components/ptc-nav-link.js +2 -2
- package/dist/components/ptc-nav-pills.js +1 -1
- package/dist/components/ptc-nav-skip-to-content.js +1 -1
- package/dist/components/ptc-nav-slider.js +1 -1
- package/dist/components/ptc-nav-submenu.js +1 -1
- package/dist/components/ptc-nav-tile.js +1 -1
- package/dist/components/ptc-news.js +6 -6
- package/dist/components/ptc-office-location-card.js +5 -5
- package/dist/components/ptc-office-locations.js +11 -11
- package/dist/components/ptc-overlay.js +1 -1
- package/dist/components/ptc-picture.js +1 -1
- package/dist/components/ptc-podcast-card.js +1 -1
- package/dist/components/ptc-preferance-center-form.js +3 -3
- package/dist/components/ptc-preloader-section.js +3 -3
- package/dist/components/ptc-preloader.js +1 -1
- package/dist/components/ptc-previous-url.js +2 -2
- package/dist/components/ptc-pricing-add-on-card.js +1 -1
- package/dist/components/ptc-pricing-add-on-section.js +4 -4
- package/dist/components/ptc-pricing-block.js +1 -1
- package/dist/components/ptc-pricing-packaging-table.js +2 -2
- package/dist/components/ptc-pricing-tabs.js +3 -3
- package/dist/components/ptc-product-card.js +3 -3
- package/dist/components/ptc-product-category.js +2 -2
- package/dist/components/ptc-product-dropdown.js +1 -1
- package/dist/components/ptc-product-highlight-card.js +3 -3
- package/dist/components/ptc-product-list.js +2 -2
- package/dist/components/ptc-product-sidebar.js +4 -4
- package/dist/components/ptc-progress-bar.js +1 -1
- package/dist/components/ptc-quantity-counter.js +1 -1
- package/dist/components/ptc-quote.js +4 -4
- package/dist/components/ptc-readmore-char.js +1 -1
- package/dist/components/ptc-readmore.js +1 -1
- package/dist/components/ptc-responsive-wrapper.js +1 -1
- package/dist/components/ptc-scroll-button.js +1 -1
- package/dist/components/ptc-search-field.js +4 -4
- package/dist/components/ptc-select.js +1 -1
- package/dist/components/ptc-seo-title.js +1 -1
- package/dist/components/ptc-shopping-cart.js +1 -1
- package/dist/components/ptc-showcase-card.js +1 -1
- package/dist/components/ptc-skeleton.js +1 -1
- package/dist/components/ptc-slit-card.js +2 -2
- package/dist/components/ptc-social-icons-footer.js +9 -9
- package/dist/components/ptc-social-icons.js +1 -1
- package/dist/components/ptc-social-share.js +1 -1
- package/dist/components/ptc-spacer.js +1 -1
- package/dist/components/ptc-span.js +1 -1
- package/dist/components/ptc-square-card.js +3 -3
- package/dist/components/ptc-sticky-icons.js +1 -1
- package/dist/components/ptc-sticky-section.js +1 -1
- package/dist/components/ptc-sticky-title.js +2 -2
- package/dist/components/ptc-store-card-list.js +1 -1
- package/dist/components/ptc-store-card.js +1 -1
- package/dist/components/ptc-subnav-card.js +1 -1
- package/dist/components/ptc-subnav.js +2 -2
- package/dist/components/ptc-svg-btn.js +1 -1
- package/dist/components/ptc-tab-list.js +4 -4
- package/dist/components/ptc-tab.js +1 -1
- package/dist/components/ptc-tabs.js +1 -1
- package/dist/components/ptc-text-copy-with-background.js +1 -1
- package/dist/components/ptc-textfield.js +2 -2
- package/dist/components/ptc-theater-video-modal.js +1 -1
- package/dist/components/ptc-theater-video-playlist.js +1 -1
- package/dist/components/ptc-theater-video.js +1 -1
- package/dist/components/ptc-two-column-media.js +1 -1
- package/dist/components/ptc-value-led-card.js +3 -3
- package/dist/components/ptc-value-led-content-highlight.js +1 -1
- package/dist/components/ptc-value-led-content.js +1 -1
- package/dist/components/ptc-value-led-intro.js +1 -1
- package/dist/components/ptc-value-led-layout.js +4 -4
- package/dist/components/ptc-value-led-speed-bump.js +2 -2
- package/dist/components/ptc-value-prop-card.js +2 -2
- package/dist/components/ptc-white-paper.js +5 -5
- package/dist/components/tab-content.js +2 -2
- package/dist/components/tab-header.js +1 -1
- package/dist/esm/buying-option-card.entry.js +2 -2
- package/dist/esm/buying-option-cards-slider.entry.js +1 -1
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +1 -1
- package/dist/esm/fl-tab-content_3.entry.js +4 -4
- package/dist/esm/homepage-clickable-tab.entry.js +2 -2
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/max-width-container.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +4 -4
- package/dist/esm/ptc-accordion.entry.js +3 -3
- package/dist/esm/ptc-announcement.entry.js +2 -2
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +5 -5
- package/dist/esm/ptc-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +2 -2
- package/dist/esm/ptc-blue-pill-announcement-bar.entry.js +2 -2
- package/dist/esm/ptc-breadcrumb.entry.js +1 -1
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-card-bottom.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +2 -2
- package/dist/esm/ptc-card-wrapper.entry.js +3 -3
- package/dist/esm/ptc-card.entry.js +7 -7
- package/dist/esm/ptc-checkbox-group.entry.js +1 -1
- package/dist/esm/ptc-checkbox.entry.js +71 -0
- package/dist/esm/ptc-checkbox.entry.js.map +1 -0
- package/dist/esm/ptc-close-icon.ptc-modal.entry.js.map +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +10 -10
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-countdown.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +1 -1
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-dropdown.entry.js +2 -2
- package/dist/esm/ptc-dynamic-card.entry.js +2 -2
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +2 -2
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +2 -2
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-dropdown_4.entry.js +8 -8
- package/dist/esm/ptc-filter-level-theater.entry.js +14 -14
- package/dist/esm/ptc-filter-tag.entry.js +3 -3
- package/dist/esm/ptc-footer.entry.js +2 -2
- package/dist/esm/ptc-form-checkbox.entry.js +5 -5
- package/dist/esm/ptc-form-radio-button.entry.js +1 -1
- package/dist/esm/ptc-form-radio-group.entry.js +1 -1
- package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
- package/dist/esm/ptc-hero.entry.js +1 -1
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +2 -2
- package/dist/esm/ptc-icon-component.entry.js +1 -1
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +1 -1
- package/dist/esm/ptc-image-download-strip.entry.js +2 -2
- package/dist/esm/ptc-img.entry.js +1 -1
- package/dist/esm/ptc-info-tile.entry.js +2 -2
- package/dist/esm/ptc-jumbotron.entry.js +14 -14
- package/dist/esm/ptc-media-card.entry.js +2 -2
- package/dist/esm/ptc-minimized-nav.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +3 -3
- package/dist/esm/ptc-multi-select.entry.js +4 -4
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +2 -2
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-nav-tile.entry.js +1 -1
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +2 -2
- package/dist/esm/ptc-office-locations.entry.js +8 -8
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-picture.entry.js +2 -2
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-preferance-center-form.entry.js +3 -3
- package/dist/esm/ptc-preloader-section.entry.js +1 -1
- package/dist/esm/ptc-preloader.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +1 -1
- package/dist/esm/ptc-pricing-add-on-card.entry.js +2 -2
- package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
- package/dist/esm/ptc-pricing-block.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
- package/dist/esm/ptc-product-card.entry.js +1 -1
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-dropdown.entry.js +2 -2
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-product-list.entry.js +2 -2
- package/dist/esm/ptc-product-sidebar.entry.js +2 -2
- package/dist/esm/ptc-progress-bar.entry.js +1 -1
- package/dist/esm/ptc-quantity-counter.entry.js +1 -1
- package/dist/esm/ptc-quote.entry.js +3 -3
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore.entry.js +2 -2
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-scroll-button.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +4 -4
- package/dist/esm/ptc-select.entry.js +1 -1
- package/dist/esm/ptc-seo-title.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +1 -1
- package/dist/esm/ptc-showcase-card.entry.js +1 -1
- package/dist/esm/ptc-skeleton.entry.js +1 -1
- package/dist/esm/ptc-slit-card.entry.js +2 -2
- package/dist/esm/ptc-social-icons-footer.entry.js +5 -5
- package/dist/esm/ptc-social-icons.entry.js +1 -1
- package/dist/esm/ptc-spacer.entry.js +1 -1
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-square-card.entry.js +2 -2
- package/dist/esm/ptc-sticky-icons.entry.js +1 -1
- package/dist/esm/ptc-sticky-section.entry.js +1 -1
- package/dist/esm/ptc-sticky-title.entry.js +1 -1
- package/dist/esm/ptc-store-card-list.entry.js +1 -1
- package/dist/esm/ptc-store-card.entry.js +1 -1
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +2 -2
- package/dist/esm/ptc-svg-btn.entry.js +2 -2
- package/dist/esm/ptc-tab-list.entry.js +2 -2
- package/dist/esm/ptc-tab.entry.js +1 -1
- package/dist/esm/ptc-tabs.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
- package/dist/esm/ptc-textfield.entry.js +2 -2
- package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptc-value-led-card.entry.js +1 -1
- package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +1 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +4 -4
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-value-prop-card.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +2 -2
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/tab-content.entry.js +2 -2
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/ptcw-design/{p-45451dab.entry.js → p-012dcb24.entry.js} +2 -2
- package/dist/ptcw-design/{p-9fdc4f8e.entry.js → p-01927d95.entry.js} +2 -2
- package/dist/ptcw-design/{p-2fc3e48f.entry.js → p-0350f1c3.entry.js} +2 -2
- package/dist/ptcw-design/{p-54920e5d.entry.js → p-058daf15.entry.js} +2 -2
- package/dist/ptcw-design/{p-62c003a1.entry.js → p-0643ad0f.entry.js} +2 -2
- package/dist/ptcw-design/{p-03800132.entry.js → p-087caf2f.entry.js} +2 -2
- package/dist/ptcw-design/{p-996c0890.entry.js → p-08c5defb.entry.js} +2 -2
- package/dist/ptcw-design/{p-dd855d7b.entry.js → p-090165b9.entry.js} +2 -2
- package/dist/ptcw-design/{p-75c1acfc.entry.js → p-0b32f8bb.entry.js} +2 -2
- package/dist/ptcw-design/{p-d4cdec55.entry.js → p-0e54efa8.entry.js} +2 -2
- package/dist/ptcw-design/p-114118af.entry.js +2 -0
- package/dist/ptcw-design/{p-0bdaae7c.entry.js → p-1300eac6.entry.js} +2 -2
- package/dist/ptcw-design/{p-ddfea195.entry.js → p-15aaf4a5.entry.js} +2 -2
- package/dist/ptcw-design/{p-ef79cfdd.entry.js → p-15f3bd0d.entry.js} +2 -2
- package/dist/ptcw-design/{p-c0c26ff8.entry.js → p-178119c1.entry.js} +2 -2
- package/dist/ptcw-design/{p-533f48b9.entry.js → p-185492a8.entry.js} +2 -2
- package/dist/ptcw-design/{p-a2be029d.entry.js → p-18a5d22e.entry.js} +2 -2
- package/dist/ptcw-design/{p-75782718.entry.js → p-1993d588.entry.js} +2 -2
- package/dist/ptcw-design/{p-07bca6e7.entry.js → p-1bb70d72.entry.js} +2 -2
- package/dist/ptcw-design/{p-3ff48faa.entry.js → p-1e3857a4.entry.js} +2 -2
- package/dist/ptcw-design/{p-1d54f5d1.entry.js → p-2281f9dc.entry.js} +2 -2
- package/dist/ptcw-design/{p-06d26f58.entry.js → p-29e67f2f.entry.js} +2 -2
- package/dist/ptcw-design/{p-ab115085.entry.js → p-2cf43025.entry.js} +2 -2
- package/dist/ptcw-design/{p-e92fb8c3.entry.js → p-2ebe32f1.entry.js} +2 -2
- package/dist/ptcw-design/{p-ec72abc2.entry.js → p-2f29f3f9.entry.js} +2 -2
- package/dist/ptcw-design/{p-99c5e692.entry.js → p-33e88aa6.entry.js} +2 -2
- package/dist/ptcw-design/{p-31793ed8.entry.js → p-341c49ed.entry.js} +2 -2
- package/dist/ptcw-design/p-347db570.entry.js +2 -0
- package/dist/ptcw-design/{p-64affe14.entry.js.map → p-347db570.entry.js.map} +1 -1
- package/dist/ptcw-design/{p-2a5e3fba.entry.js → p-34d7d90c.entry.js} +2 -2
- package/dist/ptcw-design/{p-7a6e58ba.entry.js → p-35024b0f.entry.js} +2 -2
- package/dist/ptcw-design/{p-cad25490.entry.js → p-3980d48a.entry.js} +2 -2
- package/dist/ptcw-design/p-39963922.entry.js +2 -0
- package/dist/ptcw-design/{p-7b732a4b.entry.js.map → p-39963922.entry.js.map} +1 -1
- package/dist/ptcw-design/{p-1df8c975.entry.js → p-3a24096c.entry.js} +2 -2
- package/dist/ptcw-design/{p-4b17c401.entry.js → p-3a2cc56d.entry.js} +2 -2
- package/dist/ptcw-design/{p-bf79e535.entry.js → p-3b809f54.entry.js} +2 -2
- package/dist/ptcw-design/{p-f1ad8f05.entry.js → p-3c15ca9f.entry.js} +2 -2
- package/dist/ptcw-design/p-3c1cf941.entry.js +2 -0
- package/dist/ptcw-design/{p-31dc46ab.entry.js → p-3f2be425.entry.js} +2 -2
- package/dist/ptcw-design/p-3fd00562.entry.js +2 -0
- package/dist/ptcw-design/{p-8916e0c1.entry.js.map → p-3fd00562.entry.js.map} +1 -1
- package/dist/ptcw-design/{p-e810ebfb.entry.js → p-42c72e86.entry.js} +2 -2
- package/dist/ptcw-design/{p-0965bd1b.entry.js → p-44e3807f.entry.js} +2 -2
- package/dist/ptcw-design/{p-38427de7.entry.js → p-486f868f.entry.js} +2 -2
- package/dist/ptcw-design/{p-3b6867a6.entry.js → p-4a447830.entry.js} +2 -2
- package/dist/ptcw-design/{p-7fcaa71f.entry.js → p-4aab98b0.entry.js} +2 -2
- package/dist/ptcw-design/{p-f3eece01.entry.js → p-4b546e7c.entry.js} +2 -2
- package/dist/ptcw-design/{p-77c83bbd.entry.js → p-4f9f9d0b.entry.js} +2 -2
- package/dist/ptcw-design/{p-0909488e.entry.js → p-5075f204.entry.js} +2 -2
- package/dist/ptcw-design/{p-c14878cf.entry.js → p-50b1308a.entry.js} +2 -2
- package/dist/ptcw-design/{p-c3eed320.entry.js → p-50e47562.entry.js} +2 -2
- package/dist/ptcw-design/{p-ec9f8614.entry.js → p-53a0ef61.entry.js} +2 -2
- package/dist/ptcw-design/{p-d484b93e.entry.js → p-54ff43dc.entry.js} +2 -2
- package/dist/ptcw-design/{p-65739ec0.entry.js → p-5cd721fa.entry.js} +2 -2
- package/dist/ptcw-design/{p-30a7fac4.entry.js → p-5f1f1801.entry.js} +2 -2
- package/dist/ptcw-design/{p-e789d83b.entry.js → p-5f4891e1.entry.js} +2 -2
- package/dist/ptcw-design/p-60759c7b.entry.js +2 -0
- package/dist/ptcw-design/{p-6cba62c8.entry.js.map → p-60759c7b.entry.js.map} +1 -1
- package/dist/ptcw-design/{p-5db5906d.entry.js → p-61e6b855.entry.js} +2 -2
- package/dist/ptcw-design/{p-c4eb7b96.entry.js → p-643483cf.entry.js} +2 -2
- package/dist/ptcw-design/{p-1ca79afb.entry.js → p-66febb1d.entry.js} +2 -2
- package/dist/ptcw-design/{p-0afb9cb3.entry.js → p-689545dd.entry.js} +2 -2
- package/dist/ptcw-design/{p-b973b27a.entry.js → p-68a89eae.entry.js} +2 -2
- package/dist/ptcw-design/{p-439aa9a4.entry.js → p-6998931d.entry.js} +2 -2
- package/dist/ptcw-design/{p-3865e9be.entry.js → p-69fe8697.entry.js} +2 -2
- package/dist/ptcw-design/{p-12293359.entry.js → p-6e534b3f.entry.js} +2 -2
- package/dist/ptcw-design/{p-8699e5f0.entry.js → p-6ef42ab6.entry.js} +2 -2
- package/dist/ptcw-design/{p-ff4cf1d7.entry.js → p-6fb47ae8.entry.js} +2 -2
- package/dist/ptcw-design/{p-fb36a9f7.entry.js → p-7013ec9c.entry.js} +2 -2
- package/dist/ptcw-design/{p-909c7acf.entry.js → p-70a74348.entry.js} +2 -2
- package/dist/ptcw-design/{p-31c74171.entry.js → p-71ed2ff9.entry.js} +2 -2
- package/dist/ptcw-design/{p-7237d5e5.entry.js → p-7ba9553f.entry.js} +2 -2
- package/dist/ptcw-design/{p-0e1f9e19.entry.js → p-7c561d2e.entry.js} +2 -2
- package/dist/ptcw-design/{p-c237e39f.entry.js → p-80531e28.entry.js} +2 -2
- package/dist/ptcw-design/{p-3cedb1fe.entry.js → p-81252340.entry.js} +2 -2
- package/dist/ptcw-design/{p-56835c52.entry.js → p-82f2d103.entry.js} +2 -2
- package/dist/ptcw-design/{p-14af3ce9.entry.js → p-885fa95f.entry.js} +2 -2
- package/dist/ptcw-design/p-88a44832.entry.js +2 -0
- package/dist/ptcw-design/{p-a3ca0a5f.entry.js → p-88a94bef.entry.js} +2 -2
- package/dist/ptcw-design/{p-deaf58e6.entry.js → p-8a208331.entry.js} +2 -2
- package/dist/ptcw-design/{p-7484f5c5.entry.js → p-8aade402.entry.js} +2 -2
- package/dist/ptcw-design/{p-eb80acf2.entry.js → p-8c84c772.entry.js} +2 -2
- package/dist/ptcw-design/{p-aca24ff8.entry.js → p-8d3d5d54.entry.js} +2 -2
- package/dist/ptcw-design/{p-40ed85fa.entry.js → p-8f00ba3c.entry.js} +2 -2
- package/dist/ptcw-design/{p-7e5ff680.entry.js → p-9195f27e.entry.js} +2 -2
- package/dist/ptcw-design/{p-845ea3b3.entry.js → p-92eb0f5d.entry.js} +2 -2
- package/dist/ptcw-design/{p-74ae26ff.entry.js → p-95d02fd2.entry.js} +2 -2
- package/dist/ptcw-design/{p-4c252547.entry.js → p-9b45be16.entry.js} +2 -2
- package/dist/ptcw-design/{p-a055a2ca.entry.js → p-9c27120c.entry.js} +2 -2
- package/dist/ptcw-design/p-9d6a3ac7.entry.js +2 -0
- package/dist/ptcw-design/p-9d6a3ac7.entry.js.map +1 -0
- package/dist/ptcw-design/{p-4f710bf3.entry.js → p-9e272ae3.entry.js} +2 -2
- package/dist/ptcw-design/{p-67627fc6.entry.js → p-a691657c.entry.js} +2 -2
- package/dist/ptcw-design/p-aab3edf4.entry.js +2 -0
- package/dist/ptcw-design/{p-10316732.entry.js → p-b2964ce2.entry.js} +2 -2
- package/dist/ptcw-design/{p-da54e990.entry.js → p-b6ede5cd.entry.js} +2 -2
- package/dist/ptcw-design/{p-14b33696.entry.js → p-b7cd5b72.entry.js} +2 -2
- package/dist/ptcw-design/{p-a46f20a3.entry.js → p-b7e1db7e.entry.js} +2 -2
- package/dist/ptcw-design/{p-b75a439b.entry.js → p-b82b13ea.entry.js} +2 -2
- package/dist/ptcw-design/{p-66d2e150.entry.js → p-bcb8c889.entry.js} +2 -2
- package/dist/ptcw-design/{p-119bc00f.entry.js → p-bd62a923.entry.js} +2 -2
- package/dist/ptcw-design/{p-eb7cca56.entry.js → p-be540e54.entry.js} +2 -2
- package/dist/ptcw-design/{p-87ff3a15.entry.js → p-c4d9208f.entry.js} +2 -2
- package/dist/ptcw-design/{p-3dbd28a7.entry.js → p-c9b3498e.entry.js} +2 -2
- package/dist/ptcw-design/{p-e6f93797.entry.js → p-cd8a9560.entry.js} +2 -2
- package/dist/ptcw-design/p-cf90439a.entry.js +2 -0
- package/dist/ptcw-design/{p-19449437.entry.js → p-d361ca0d.entry.js} +2 -2
- package/dist/ptcw-design/p-d3933825.entry.js +2 -0
- package/dist/ptcw-design/{p-3124b62a.entry.js → p-d4a99d8d.entry.js} +2 -2
- package/dist/ptcw-design/{p-36347902.entry.js → p-d53b0179.entry.js} +2 -2
- package/dist/ptcw-design/{p-5287fad3.entry.js → p-d65d19a6.entry.js} +2 -2
- package/dist/ptcw-design/{p-af6c93ee.entry.js → p-d9393e77.entry.js} +2 -2
- package/dist/ptcw-design/{p-57710574.entry.js → p-da00a155.entry.js} +2 -2
- package/dist/ptcw-design/p-ddc58628.entry.js +2 -0
- package/dist/ptcw-design/{p-19ab0b71.entry.js → p-dfb9c8ab.entry.js} +2 -2
- package/dist/ptcw-design/{p-1d675f69.entry.js → p-e28370bb.entry.js} +2 -2
- package/dist/ptcw-design/{p-63cbf2e2.entry.js → p-e4436895.entry.js} +2 -2
- package/dist/ptcw-design/{p-ddb6daed.entry.js → p-e5aa1bda.entry.js} +2 -2
- package/dist/ptcw-design/{p-811ef0d7.entry.js → p-e62c5a96.entry.js} +2 -2
- package/dist/ptcw-design/{p-bdd0fb5e.entry.js → p-e7687904.entry.js} +2 -2
- package/dist/ptcw-design/{p-68c44fc3.entry.js → p-e8392c42.entry.js} +2 -2
- package/dist/ptcw-design/{p-f1dddb1f.entry.js → p-e91fbaab.entry.js} +2 -2
- package/dist/ptcw-design/{p-d19216c4.entry.js → p-eb96e2c4.entry.js} +2 -2
- package/dist/ptcw-design/{p-fe26e463.entry.js → p-eef800bb.entry.js} +2 -2
- package/dist/ptcw-design/{p-7e774270.entry.js → p-efc2328f.entry.js} +2 -2
- package/dist/ptcw-design/{p-ad0830a3.entry.js → p-f43b2438.entry.js} +2 -2
- package/dist/ptcw-design/{p-dcaa18be.entry.js → p-f5cd1a64.entry.js} +2 -2
- package/dist/ptcw-design/{p-ede7d93b.entry.js → p-f6175af5.entry.js} +2 -2
- package/dist/ptcw-design/{p-427ca8bd.entry.js → p-fa394b9d.entry.js} +2 -2
- package/dist/ptcw-design/p-fa5ffe8b.entry.js +2 -0
- package/dist/ptcw-design/{p-485f8957.entry.js.map → p-fa5ffe8b.entry.js.map} +1 -1
- package/dist/ptcw-design/{p-2cbbe2d7.entry.js → p-fa7ca591.entry.js} +2 -2
- package/dist/ptcw-design/{p-8e919886.entry.js → p-fd2e37a9.entry.js} +2 -2
- package/dist/ptcw-design/{p-2b9802cb.entry.js → p-ff2d8087.entry.js} +2 -2
- package/dist/ptcw-design/ptc-checkbox.entry.esm.js.map +1 -0
- package/dist/ptcw-design/ptc-close-icon.ptc-modal.entry.esm.js.map +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/atoms/ptc-checkbox/ptc-checkbox.d.ts +17 -0
- package/dist/types/components/atoms/ptc-modal/ptc-modal.d.ts +2 -2
- package/dist/types/components.d.ts +63 -4
- package/package.json +1 -1
- package/dist/ptcw-design/p-485f8957.entry.js +0 -2
- package/dist/ptcw-design/p-5bb479da.entry.js +0 -2
- package/dist/ptcw-design/p-64affe14.entry.js +0 -2
- package/dist/ptcw-design/p-6cba62c8.entry.js +0 -2
- package/dist/ptcw-design/p-6d3cbc0d.entry.js +0 -2
- package/dist/ptcw-design/p-73eb6667.entry.js +0 -2
- package/dist/ptcw-design/p-7b732a4b.entry.js +0 -2
- package/dist/ptcw-design/p-845ef290.entry.js +0 -2
- package/dist/ptcw-design/p-8916e0c1.entry.js +0 -2
- package/dist/ptcw-design/p-c4522c73.entry.js +0 -2
- package/dist/ptcw-design/p-e2609d0c.entry.js +0 -2
- package/dist/ptcw-design/p-e8dbd31c.entry.js +0 -2
- /package/dist/ptcw-design/{p-45451dab.entry.js.map → p-012dcb24.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-9fdc4f8e.entry.js.map → p-01927d95.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-2fc3e48f.entry.js.map → p-0350f1c3.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-54920e5d.entry.js.map → p-058daf15.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-62c003a1.entry.js.map → p-0643ad0f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-03800132.entry.js.map → p-087caf2f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-996c0890.entry.js.map → p-08c5defb.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-dd855d7b.entry.js.map → p-090165b9.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-75c1acfc.entry.js.map → p-0b32f8bb.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-d4cdec55.entry.js.map → p-0e54efa8.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-e8dbd31c.entry.js.map → p-114118af.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-0bdaae7c.entry.js.map → p-1300eac6.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-ddfea195.entry.js.map → p-15aaf4a5.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-ef79cfdd.entry.js.map → p-15f3bd0d.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-c0c26ff8.entry.js.map → p-178119c1.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-533f48b9.entry.js.map → p-185492a8.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-a2be029d.entry.js.map → p-18a5d22e.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-75782718.entry.js.map → p-1993d588.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-07bca6e7.entry.js.map → p-1bb70d72.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-3ff48faa.entry.js.map → p-1e3857a4.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-1d54f5d1.entry.js.map → p-2281f9dc.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-06d26f58.entry.js.map → p-29e67f2f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-ab115085.entry.js.map → p-2cf43025.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-e92fb8c3.entry.js.map → p-2ebe32f1.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-ec72abc2.entry.js.map → p-2f29f3f9.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-99c5e692.entry.js.map → p-33e88aa6.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-31793ed8.entry.js.map → p-341c49ed.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-2a5e3fba.entry.js.map → p-34d7d90c.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-7a6e58ba.entry.js.map → p-35024b0f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-cad25490.entry.js.map → p-3980d48a.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-1df8c975.entry.js.map → p-3a24096c.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-4b17c401.entry.js.map → p-3a2cc56d.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-bf79e535.entry.js.map → p-3b809f54.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-f1ad8f05.entry.js.map → p-3c15ca9f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-845ef290.entry.js.map → p-3c1cf941.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-31dc46ab.entry.js.map → p-3f2be425.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-e810ebfb.entry.js.map → p-42c72e86.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-0965bd1b.entry.js.map → p-44e3807f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-38427de7.entry.js.map → p-486f868f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-3b6867a6.entry.js.map → p-4a447830.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-7fcaa71f.entry.js.map → p-4aab98b0.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-f3eece01.entry.js.map → p-4b546e7c.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-77c83bbd.entry.js.map → p-4f9f9d0b.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-0909488e.entry.js.map → p-5075f204.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-c14878cf.entry.js.map → p-50b1308a.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-c3eed320.entry.js.map → p-50e47562.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-ec9f8614.entry.js.map → p-53a0ef61.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-d484b93e.entry.js.map → p-54ff43dc.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-65739ec0.entry.js.map → p-5cd721fa.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-30a7fac4.entry.js.map → p-5f1f1801.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-e789d83b.entry.js.map → p-5f4891e1.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-5db5906d.entry.js.map → p-61e6b855.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-c4eb7b96.entry.js.map → p-643483cf.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-1ca79afb.entry.js.map → p-66febb1d.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-0afb9cb3.entry.js.map → p-689545dd.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-b973b27a.entry.js.map → p-68a89eae.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-439aa9a4.entry.js.map → p-6998931d.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-3865e9be.entry.js.map → p-69fe8697.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-12293359.entry.js.map → p-6e534b3f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-8699e5f0.entry.js.map → p-6ef42ab6.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-ff4cf1d7.entry.js.map → p-6fb47ae8.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-fb36a9f7.entry.js.map → p-7013ec9c.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-909c7acf.entry.js.map → p-70a74348.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-31c74171.entry.js.map → p-71ed2ff9.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-7237d5e5.entry.js.map → p-7ba9553f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-0e1f9e19.entry.js.map → p-7c561d2e.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-c237e39f.entry.js.map → p-80531e28.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-3cedb1fe.entry.js.map → p-81252340.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-56835c52.entry.js.map → p-82f2d103.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-14af3ce9.entry.js.map → p-885fa95f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-5bb479da.entry.js.map → p-88a44832.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-a3ca0a5f.entry.js.map → p-88a94bef.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-deaf58e6.entry.js.map → p-8a208331.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-7484f5c5.entry.js.map → p-8aade402.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-eb80acf2.entry.js.map → p-8c84c772.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-aca24ff8.entry.js.map → p-8d3d5d54.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-40ed85fa.entry.js.map → p-8f00ba3c.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-7e5ff680.entry.js.map → p-9195f27e.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-845ea3b3.entry.js.map → p-92eb0f5d.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-74ae26ff.entry.js.map → p-95d02fd2.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-4c252547.entry.js.map → p-9b45be16.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-a055a2ca.entry.js.map → p-9c27120c.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-4f710bf3.entry.js.map → p-9e272ae3.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-67627fc6.entry.js.map → p-a691657c.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-e2609d0c.entry.js.map → p-aab3edf4.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-10316732.entry.js.map → p-b2964ce2.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-da54e990.entry.js.map → p-b6ede5cd.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-14b33696.entry.js.map → p-b7cd5b72.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-a46f20a3.entry.js.map → p-b7e1db7e.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-b75a439b.entry.js.map → p-b82b13ea.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-66d2e150.entry.js.map → p-bcb8c889.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-119bc00f.entry.js.map → p-bd62a923.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-eb7cca56.entry.js.map → p-be540e54.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-87ff3a15.entry.js.map → p-c4d9208f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-3dbd28a7.entry.js.map → p-c9b3498e.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-e6f93797.entry.js.map → p-cd8a9560.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-6d3cbc0d.entry.js.map → p-cf90439a.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-19449437.entry.js.map → p-d361ca0d.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-73eb6667.entry.js.map → p-d3933825.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-3124b62a.entry.js.map → p-d4a99d8d.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-36347902.entry.js.map → p-d53b0179.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-5287fad3.entry.js.map → p-d65d19a6.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-af6c93ee.entry.js.map → p-d9393e77.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-57710574.entry.js.map → p-da00a155.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-c4522c73.entry.js.map → p-ddc58628.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-19ab0b71.entry.js.map → p-dfb9c8ab.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-1d675f69.entry.js.map → p-e28370bb.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-63cbf2e2.entry.js.map → p-e4436895.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-ddb6daed.entry.js.map → p-e5aa1bda.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-811ef0d7.entry.js.map → p-e62c5a96.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-bdd0fb5e.entry.js.map → p-e7687904.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-68c44fc3.entry.js.map → p-e8392c42.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-f1dddb1f.entry.js.map → p-e91fbaab.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-d19216c4.entry.js.map → p-eb96e2c4.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-fe26e463.entry.js.map → p-eef800bb.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-7e774270.entry.js.map → p-efc2328f.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-ad0830a3.entry.js.map → p-f43b2438.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-dcaa18be.entry.js.map → p-f5cd1a64.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-ede7d93b.entry.js.map → p-f6175af5.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-427ca8bd.entry.js.map → p-fa394b9d.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-2cbbe2d7.entry.js.map → p-fa7ca591.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-8e919886.entry.js.map → p-fd2e37a9.entry.js.map} +0 -0
- /package/dist/ptcw-design/{p-2b9802cb.entry.js.map → p-ff2d8087.entry.js.map} +0 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
:host .ptc-checkbox {
|
|
5
|
+
display: block;
|
|
6
|
+
position: relative;
|
|
7
|
+
-webkit-user-select: none;
|
|
8
|
+
-moz-user-select: none;
|
|
9
|
+
user-select: none;
|
|
10
|
+
cursor: pointer;
|
|
11
|
+
font-family: var(--ptc-font-latin);
|
|
12
|
+
font-style: normal;
|
|
13
|
+
color: var(--color-gray-12);
|
|
14
|
+
padding-left: var(--spacing-lg);
|
|
15
|
+
font-weight: var(--ptc-font-weight-regular);
|
|
16
|
+
font-size: var(--ptc-font-size-x-small);
|
|
17
|
+
line-height: 1.375rem;
|
|
18
|
+
}
|
|
19
|
+
:host .ptc-checkbox input {
|
|
20
|
+
position: absolute;
|
|
21
|
+
opacity: 0;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
height: 0;
|
|
24
|
+
width: 0;
|
|
25
|
+
}
|
|
26
|
+
:host .ptc-checkbox .check {
|
|
27
|
+
position: absolute;
|
|
28
|
+
top: 0;
|
|
29
|
+
left: 0;
|
|
30
|
+
height: 1.375rem;
|
|
31
|
+
width: 1.375rem;
|
|
32
|
+
background-color: var(--color-white);
|
|
33
|
+
border: 1px solid var(--color-gray-07);
|
|
34
|
+
line-height: var(--ptc-line-height-densest);
|
|
35
|
+
box-sizing: border-box;
|
|
36
|
+
border-radius: 4px;
|
|
37
|
+
}
|
|
38
|
+
:host .ptc-checkbox .check .mark {
|
|
39
|
+
position: absolute;
|
|
40
|
+
transition: opacity ease-out 250ms;
|
|
41
|
+
opacity: 0;
|
|
42
|
+
left: 3px;
|
|
43
|
+
top: 2px;
|
|
44
|
+
width: 1.375rem;
|
|
45
|
+
height: 1.375rem;
|
|
46
|
+
}
|
|
47
|
+
:host .ptc-checkbox input:checked ~ .check {
|
|
48
|
+
background-color: var(--color-gray-12);
|
|
49
|
+
}
|
|
50
|
+
:host .ptc-checkbox input:checked ~ .check .mark {
|
|
51
|
+
opacity: 1;
|
|
52
|
+
}
|
|
53
|
+
:host .ptc-checkbox:hover input ~ .check {
|
|
54
|
+
background-color: var(--color-gray-02);
|
|
55
|
+
}
|
|
56
|
+
:host .ptc-checkbox:hover input:checked ~ .check {
|
|
57
|
+
background-color: var(--color-gray-12);
|
|
58
|
+
}
|
|
59
|
+
:host .ptc-checkbox.disabled {
|
|
60
|
+
cursor: not-allowed;
|
|
61
|
+
color: var(--color-gray-04);
|
|
62
|
+
}
|
|
63
|
+
:host .ptc-checkbox.disabled .mark {
|
|
64
|
+
opacity: 0;
|
|
65
|
+
}
|
|
66
|
+
:host .ptc-checkbox.disabled .check {
|
|
67
|
+
background-color: var(--color-white);
|
|
68
|
+
border: 1px dashed var(--color-gray-04);
|
|
69
|
+
}
|
|
70
|
+
:host .ptc-checkbox.disabled:hover input ~ .check {
|
|
71
|
+
background-color: var(--color-white);
|
|
72
|
+
}
|
|
73
|
+
:host .ptc-checkbox.disabled:hover input:checked ~ .check {
|
|
74
|
+
background-color: var(--color-white);
|
|
75
|
+
}
|
|
76
|
+
:host .ptc-checkbox:focus-visible {
|
|
77
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
78
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
79
|
+
}
|
|
80
|
+
:host .ptc-checkbox.offset-focus-outline:focus-visible {
|
|
81
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
82
|
+
outline: 5px solid var(--keyboard-nav-outline);
|
|
83
|
+
margin: 0 5px 0 5px;
|
|
84
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import { h, Host, } from "@stencil/core";
|
|
2
|
+
export class PtcCheckbox {
|
|
3
|
+
checked = "unchecked";
|
|
4
|
+
value;
|
|
5
|
+
disabled;
|
|
6
|
+
inputName;
|
|
7
|
+
trackerId = "";
|
|
8
|
+
offsetFocusOutline = false;
|
|
9
|
+
checkedChanged;
|
|
10
|
+
host;
|
|
11
|
+
componentDidLoad() {
|
|
12
|
+
let input = this.host.shadowRoot.querySelector("input");
|
|
13
|
+
input.checked = this.checked == "checked";
|
|
14
|
+
}
|
|
15
|
+
handleClick = (e) => {
|
|
16
|
+
if (this.disabled) {
|
|
17
|
+
e.preventDefault();
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
handleKeyDown = (e) => {
|
|
21
|
+
if (e.key === "Enter") {
|
|
22
|
+
const input = this.host?.shadowRoot?.querySelector('input[type="checkbox"]');
|
|
23
|
+
if (input) {
|
|
24
|
+
input.click();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
handleChange = (e) => {
|
|
29
|
+
if (this.disabled) {
|
|
30
|
+
e.preventDefault();
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
let input = this.host.shadowRoot.querySelector("input");
|
|
34
|
+
if (this.checked == "unchecked") {
|
|
35
|
+
this.checked = "checked";
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
this.checked = "unchecked";
|
|
39
|
+
}
|
|
40
|
+
let parameter = {
|
|
41
|
+
event: e,
|
|
42
|
+
sender: input,
|
|
43
|
+
value: this.value,
|
|
44
|
+
checked: this.checked,
|
|
45
|
+
};
|
|
46
|
+
this.checkedChanged.emit(parameter);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
render() {
|
|
50
|
+
return (h(Host, { key: '85a149d7678d45bd5ad6bb59d262ba86d08579af' }, h("label", { key: '68ca88e53268c2860321593fa6c6892ac28bbb65', id: this.trackerId, class: this.getCssClassMap(), tabIndex: 0, onKeyDown: this.handleKeyDown }, h("slot", { key: '2e08b171b9eef0629fc40f3caa78f839f0a19382' }), h("input", { key: 'aca8c1ce047ca8da9c625d8a87387bb1ba223d00', type: "checkbox", tabIndex: -1, onClick: (e) => this.handleClick(e), checked: this.checked == "checked", name: this.inputName, value: this.value, onChange: (e) => this.handleChange(e) }), h("span", { key: '6e922e6b6684111045274208304e6b702c23908d', class: "check" }, h("span", { key: '37607a51aa124aa843de52c1b393bc9d75c9e501', class: "mark" }, h("icon-asset", { key: '2f51b911d876d8f6f0a326dcc38036b86b3491d1', type: "ptc", color: "white", size: "xx-small", name: "checkmark" }))))));
|
|
51
|
+
}
|
|
52
|
+
getCssClassMap() {
|
|
53
|
+
return {
|
|
54
|
+
["ptc-checkbox"]: true,
|
|
55
|
+
["disabled"]: this.disabled,
|
|
56
|
+
["mf-listen"]: true,
|
|
57
|
+
["offset-focus-outline"]: this.offsetFocusOutline,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
static get is() { return "ptc-checkbox"; }
|
|
61
|
+
static get encapsulation() { return "shadow"; }
|
|
62
|
+
static get originalStyleUrls() {
|
|
63
|
+
return {
|
|
64
|
+
"$": ["ptc-checkbox.scss"]
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
static get styleUrls() {
|
|
68
|
+
return {
|
|
69
|
+
"$": ["ptc-checkbox.css"]
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
static get properties() {
|
|
73
|
+
return {
|
|
74
|
+
"checked": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"mutable": true,
|
|
77
|
+
"complexType": {
|
|
78
|
+
"original": "\"checked\" | \"unchecked\"",
|
|
79
|
+
"resolved": "\"checked\" | \"unchecked\"",
|
|
80
|
+
"references": {}
|
|
81
|
+
},
|
|
82
|
+
"required": false,
|
|
83
|
+
"optional": false,
|
|
84
|
+
"docs": {
|
|
85
|
+
"tags": [],
|
|
86
|
+
"text": ""
|
|
87
|
+
},
|
|
88
|
+
"getter": false,
|
|
89
|
+
"setter": false,
|
|
90
|
+
"reflect": false,
|
|
91
|
+
"attribute": "checked",
|
|
92
|
+
"defaultValue": "\"unchecked\""
|
|
93
|
+
},
|
|
94
|
+
"value": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"mutable": true,
|
|
97
|
+
"complexType": {
|
|
98
|
+
"original": "string",
|
|
99
|
+
"resolved": "string",
|
|
100
|
+
"references": {}
|
|
101
|
+
},
|
|
102
|
+
"required": false,
|
|
103
|
+
"optional": false,
|
|
104
|
+
"docs": {
|
|
105
|
+
"tags": [],
|
|
106
|
+
"text": ""
|
|
107
|
+
},
|
|
108
|
+
"getter": false,
|
|
109
|
+
"setter": false,
|
|
110
|
+
"reflect": false,
|
|
111
|
+
"attribute": "value"
|
|
112
|
+
},
|
|
113
|
+
"disabled": {
|
|
114
|
+
"type": "boolean",
|
|
115
|
+
"mutable": true,
|
|
116
|
+
"complexType": {
|
|
117
|
+
"original": "boolean",
|
|
118
|
+
"resolved": "boolean",
|
|
119
|
+
"references": {}
|
|
120
|
+
},
|
|
121
|
+
"required": false,
|
|
122
|
+
"optional": false,
|
|
123
|
+
"docs": {
|
|
124
|
+
"tags": [],
|
|
125
|
+
"text": ""
|
|
126
|
+
},
|
|
127
|
+
"getter": false,
|
|
128
|
+
"setter": false,
|
|
129
|
+
"reflect": false,
|
|
130
|
+
"attribute": "disabled"
|
|
131
|
+
},
|
|
132
|
+
"inputName": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"mutable": false,
|
|
135
|
+
"complexType": {
|
|
136
|
+
"original": "string",
|
|
137
|
+
"resolved": "string",
|
|
138
|
+
"references": {}
|
|
139
|
+
},
|
|
140
|
+
"required": false,
|
|
141
|
+
"optional": false,
|
|
142
|
+
"docs": {
|
|
143
|
+
"tags": [],
|
|
144
|
+
"text": ""
|
|
145
|
+
},
|
|
146
|
+
"getter": false,
|
|
147
|
+
"setter": false,
|
|
148
|
+
"reflect": false,
|
|
149
|
+
"attribute": "input-name"
|
|
150
|
+
},
|
|
151
|
+
"trackerId": {
|
|
152
|
+
"type": "string",
|
|
153
|
+
"mutable": false,
|
|
154
|
+
"complexType": {
|
|
155
|
+
"original": "string",
|
|
156
|
+
"resolved": "string",
|
|
157
|
+
"references": {}
|
|
158
|
+
},
|
|
159
|
+
"required": false,
|
|
160
|
+
"optional": false,
|
|
161
|
+
"docs": {
|
|
162
|
+
"tags": [],
|
|
163
|
+
"text": ""
|
|
164
|
+
},
|
|
165
|
+
"getter": false,
|
|
166
|
+
"setter": false,
|
|
167
|
+
"reflect": false,
|
|
168
|
+
"attribute": "tracker-id",
|
|
169
|
+
"defaultValue": "\"\""
|
|
170
|
+
},
|
|
171
|
+
"offsetFocusOutline": {
|
|
172
|
+
"type": "boolean",
|
|
173
|
+
"mutable": false,
|
|
174
|
+
"complexType": {
|
|
175
|
+
"original": "boolean",
|
|
176
|
+
"resolved": "boolean",
|
|
177
|
+
"references": {}
|
|
178
|
+
},
|
|
179
|
+
"required": false,
|
|
180
|
+
"optional": false,
|
|
181
|
+
"docs": {
|
|
182
|
+
"tags": [],
|
|
183
|
+
"text": ""
|
|
184
|
+
},
|
|
185
|
+
"getter": false,
|
|
186
|
+
"setter": false,
|
|
187
|
+
"reflect": false,
|
|
188
|
+
"attribute": "offset-focus-outline",
|
|
189
|
+
"defaultValue": "false"
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
static get events() {
|
|
194
|
+
return [{
|
|
195
|
+
"method": "checkedChanged",
|
|
196
|
+
"name": "checkedChanged",
|
|
197
|
+
"bubbles": true,
|
|
198
|
+
"cancelable": true,
|
|
199
|
+
"composed": true,
|
|
200
|
+
"docs": {
|
|
201
|
+
"tags": [],
|
|
202
|
+
"text": ""
|
|
203
|
+
},
|
|
204
|
+
"complexType": {
|
|
205
|
+
"original": "any",
|
|
206
|
+
"resolved": "any",
|
|
207
|
+
"references": {}
|
|
208
|
+
}
|
|
209
|
+
}];
|
|
210
|
+
}
|
|
211
|
+
static get elementRef() { return "host"; }
|
|
212
|
+
}
|
|
213
|
+
//# sourceMappingURL=ptc-checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ptc-checkbox.js","sourceRoot":"","sources":["../../../../src/components/atoms/ptc-checkbox/ptc-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,EAEL,OAAO,GACP,MAAM,eAAe,CAAC;AAQvB,MAAM,OAAO,WAAW;IACE,OAAO,GAA4B,WAAW,CAAC;IAC/C,KAAK,CAAS;IACd,QAAQ,CAAU;IACnC,SAAS,CAAS;IAClB,SAAS,GAAW,EAAE,CAAC;IACvB,kBAAkB,GAAY,KAAK,CAAC;IACnC,cAAc,CAAe;IAC3B,IAAI,CAAc;IAE7B,gBAAgB;QACf,IAAI,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACxD,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,IAAI,SAAS,CAAC;IAC3C,CAAC;IAED,WAAW,GAAG,CAAC,CAAQ,EAAE,EAAE;QAC1B,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,CAAC,CAAC,cAAc,EAAE,CAAC;QACpB,CAAC;IACF,CAAC,CAAC;IAEF,aAAa,GAAG,CAAC,CAAgB,EAAE,EAAE;QACpC,IAA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C,CAAC,CAAC,EACnC,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,SAAS,EAClC,IAAI,EAAE,IAAI,CAAC,SAAS,EACpB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,GACpC;gBACF,6DAAM,KAAK,EAAC,OAAO;oBAClB,6DAAM,KAAK,EAAC,MAAM;wBACjB,mEACC,IAAI,EAAC,KAAK,EACV,KAAK,EAAC,OAAO,EACb,IAAI,EAAC,UAAU,EACf,IAAI,EAAC,WAAW,GACH,CACR,CACD,CACA,CACF,CACP,CAAC;IACH,CAAC;IAEO,cAAc;QACrB,OAAO;YACN,CAAC,cAAc,CAAC,EAAE,IAAI;YACtB,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,QAAQ;YAC3B,CAAC,WAAW,CAAC,EAAE,IAAI;YACnB,CAAC,sBAAsB,CAAC,EAAE,IAAI,CAAC,kBAAkB;SACjD,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\r\n\tComponent,\r\n\th,\r\n\tHost,\r\n\tProp,\r\n\tEvent,\r\n\tEventEmitter,\r\n\tElement,\r\n} from \"@stencil/core\";\r\nimport { CssClassMap } from \"../../../utils/interfaces\";\r\n\r\n@Component({\r\n\ttag: \"ptc-checkbox\",\r\n\tstyleUrl: \"ptc-checkbox.scss\",\r\n\tshadow: true,\r\n})\r\nexport class PtcCheckbox {\r\n\t@Prop({ mutable: true }) checked: \"checked\" | \"unchecked\" = \"unchecked\";\r\n\t@Prop({ mutable: true }) value: string;\r\n\t@Prop({ mutable: true }) disabled: boolean;\r\n\t@Prop() inputName: string;\r\n\t@Prop() trackerId: string = \"\";\r\n\t@Prop() offsetFocusOutline: boolean = false;\r\n\t@Event() checkedChanged: EventEmitter;\r\n\t@Element() host: HTMLElement;\r\n\r\n\tcomponentDidLoad() {\r\n\t\tlet input = this.host.shadowRoot.querySelector(\"input\");\r\n\t\tinput.checked = this.checked == \"checked\";\r\n\t}\r\n\r\n\thandleClick = (e: Event) => {\r\n\t\tif (this.disabled) {\r\n\t\t\te.preventDefault();\r\n\t\t}\r\n\t};\r\n\r\n\thandleKeyDown = (e: KeyboardEvent) => {\r\n\t\tif (e.key === \"Enter\") {\r\n\t\t\tconst input =\r\n\t\t\t\tthis.host?.shadowRoot?.querySelector<HTMLInputElement>(\r\n\t\t\t\t\t'input[type=\"checkbox\"]',\r\n\t\t\t\t);\r\n\t\t\tif (input) {\r\n\t\t\t\tinput.click();\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\thandleChange = (e: Event) => {\r\n\t\tif (this.disabled) {\r\n\t\t\te.preventDefault();\r\n\t\t} else {\r\n\t\t\tlet input = this.host.shadowRoot.querySelector(\"input\");\r\n\r\n\t\t\tif (this.checked == \"unchecked\") {\r\n\t\t\t\tthis.checked = \"checked\";\r\n\t\t\t} else {\r\n\t\t\t\tthis.checked = \"unchecked\";\r\n\t\t\t}\r\n\r\n\t\t\tlet parameter = {\r\n\t\t\t\tevent: e,\r\n\t\t\t\tsender: input,\r\n\t\t\t\tvalue: this.value,\r\n\t\t\t\tchecked: this.checked,\r\n\t\t\t};\r\n\r\n\t\t\tthis.checkedChanged.emit(parameter);\r\n\t\t}\r\n\t};\r\n\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t<Host>\r\n\t\t\t\t<label\r\n\t\t\t\t\tid={this.trackerId}\r\n\t\t\t\t\tclass={this.getCssClassMap()}\r\n\t\t\t\t\ttabIndex={0}\r\n\t\t\t\t\tonKeyDown={this.handleKeyDown}\r\n\t\t\t\t>\r\n\t\t\t\t\t<slot></slot>\r\n\t\t\t\t\t<input\r\n\t\t\t\t\t\ttype=\"checkbox\"\r\n\t\t\t\t\t\ttabIndex={-1}\r\n\t\t\t\t\t\tonClick={(e) => this.handleClick(e)}\r\n\t\t\t\t\t\tchecked={this.checked == \"checked\"}\r\n\t\t\t\t\t\tname={this.inputName}\r\n\t\t\t\t\t\tvalue={this.value}\r\n\t\t\t\t\t\tonChange={(e) => this.handleChange(e)}\r\n\t\t\t\t\t/>\r\n\t\t\t\t\t<span class=\"check\">\r\n\t\t\t\t\t\t<span class=\"mark\">\r\n\t\t\t\t\t\t\t<icon-asset\r\n\t\t\t\t\t\t\t\ttype=\"ptc\"\r\n\t\t\t\t\t\t\t\tcolor=\"white\"\r\n\t\t\t\t\t\t\t\tsize=\"xx-small\"\r\n\t\t\t\t\t\t\t\tname=\"checkmark\"\r\n\t\t\t\t\t\t\t></icon-asset>\r\n\t\t\t\t\t\t</span>\r\n\t\t\t\t\t</span>\r\n\t\t\t\t</label>\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n\r\n\tprivate getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[\"ptc-checkbox\"]: true,\r\n\t\t\t[\"disabled\"]: this.disabled,\r\n\t\t\t[\"mf-listen\"]: true,\r\n\t\t\t[\"offset-focus-outline\"]: this.offsetFocusOutline,\r\n\t\t};\r\n\t}\r\n}\r\n"]}
|
|
@@ -43,7 +43,7 @@ export class PtcDate {
|
|
|
43
43
|
render() {
|
|
44
44
|
// const newDate = new Date(this.year, this.month, this.day);
|
|
45
45
|
const classMap = this.getCssClassMap();
|
|
46
|
-
return (h(Host, { key: '
|
|
46
|
+
return (h(Host, { key: '056d08237afd75097e428311a14065d93e42e63b', class: classMap }, this.dateStyles && h("style", { key: 'ddcd788b88b80be7d0d723d610d4b60964260506' }, this.dateStyles), h("span", { key: 'd6264592f88b3b94e316dd94ddc94a1628ee23ae', part: "part-ptc-date" }, this.getDate().toLocaleDateString(this.country, this.getOptions()))));
|
|
47
47
|
}
|
|
48
48
|
getCssClassMap() {
|
|
49
49
|
return {
|
|
@@ -82,18 +82,18 @@ export class PtcFormCheckbox {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
|
-
return (h(Host, { key: '
|
|
86
|
-
h("div", { key: '
|
|
85
|
+
return (h(Host, { key: '6ebdf2b9a1d0d4d69374f504b98e37255d2f4bc9', class: "ptc-checkbox-field" }, [
|
|
86
|
+
h("div", { key: '348ccfec2a5d82aa154bef6893b4a5355f487c01', class: `mdc-form-field ${this.hideCheckbox ? "label-only" : ""}`, ref: (mdcFormfield) => {
|
|
87
87
|
this.mdcFormfield = mdcFormfield;
|
|
88
|
-
}, "aria-labelledby": this.checkboxId }, h("div", { key: '
|
|
88
|
+
}, "aria-labelledby": this.checkboxId }, h("div", { key: 'f8554669b8ffed63d5638dc9c8065e9ae57a8188', class: "mdc-checkbox", ref: (mdcCheckbox) => {
|
|
89
89
|
this.mdcCheckbox = mdcCheckbox;
|
|
90
|
-
}, "aria-checked": this.isChecked ? "true" : "false", "aria-disabled": this.disabled ? "true" : "false" }, h("input", { key: '
|
|
90
|
+
}, "aria-checked": this.isChecked ? "true" : "false", "aria-disabled": this.disabled ? "true" : "false" }, h("input", { key: '86607cba88456d034dcc309d4b1728f00e9f6072', id: this.checkboxId, ref: (checkboxInput) => {
|
|
91
91
|
this.checkboxInput = checkboxInput;
|
|
92
92
|
}, type: "checkbox", ...(this.isRequired
|
|
93
93
|
? { required: true }
|
|
94
94
|
: { required: false }), ...(this.ignoreBlindSubmit
|
|
95
95
|
? { ignoreBlindSubmit: true }
|
|
96
|
-
: null), "data-eloqua-name": this.ptcDataEloquaName, class: "mdc-checkbox__native-control", onChange: this.handleChange.bind(this), onKeyDown: this.handleKeyDown.bind(this), checked: this.isChecked, disabled: this.disabled, "aria-invalid": this.hasError }), h("div", { key: '
|
|
96
|
+
: null), "data-eloqua-name": this.ptcDataEloquaName, class: "mdc-checkbox__native-control", onChange: this.handleChange.bind(this), onKeyDown: this.handleKeyDown.bind(this), checked: this.isChecked, disabled: this.disabled, "aria-invalid": this.hasError }), h("div", { key: 'da035e464db6be28a0c9301cea73c8cd14c8faf2', class: "mdc-checkbox__background" }, h("svg", { key: 'df58a7c711b479d2a082272c56bc7209316b05ce', class: "mdc-checkbox__checkmark", viewBox: "0 0 24 24" }, h("path", { key: 'aef1747308346404d498a9ea63b88f8b5473add2', class: "mdc-checkbox__checkmark-path", fill: "none", d: "M1.73,12.91 8.1,19.28 22.79,4.59" })), h("div", { key: '9d1ab9afd9eb29d71e5cb645a26c26679fefc14a', class: "mdc-checkbox__mixedmark" })), h("div", { key: '8d986c5567a9e07503e313448b05bea123010b5d', class: "mdc-checkbox__ripple" })), h("label", { key: '226d2695f90381e5f47a561882876184892e06d0', htmlFor: this.checkboxId, innerHTML: this.label })),
|
|
97
97
|
this.hasError ? (h("div", { class: "checkbox-helper-wrapper" }, h("p", { id: this.name }, h("svg", { class: "select-error-svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_12_1424)" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.3156 0L16 4.68444V11.3156L11.3156 16H4.68444L0 11.3156V4.68444L4.68444 0H11.3156ZM8 10.4C7.36 10.4 6.84444 10.9156 6.84444 11.5556C6.84444 12.1956 7.36 12.7111 8 12.7111C8.64 12.7111 9.15556 12.1956 9.15556 11.5556C9.15556 10.9156 8.64 10.4 8 10.4ZM8.88889 3.55556H7.11111V8.88889H8.88889V3.55556Z", fill: "#AF3231" })), h("defs", null, h("clipPath", { id: "clip0_12_1424" }, h("rect", { width: "16", height: "16", fill: "white" })))), this.helpertext))) : null,
|
|
98
98
|
]));
|
|
99
99
|
}
|
|
@@ -35,7 +35,7 @@ export class PtcFormRadioButton {
|
|
|
35
35
|
svgCircle.setAttribute("data-checked", String(this.checked));
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '00dc956cdea5e4f90f4f00e7b9d2f6256ffceb46' }, h("div", { key: 'af7f20c3b33ff3889fc422b3cdc7875c8904be0c', class: "ptc-form-radio-button", onClick: (e) => this.radioButtonOnClick(e.currentTarget), "data-disabled": this.isDisabled }, h("svg", { key: 'bc31a6cc51cc28445d3cf50e4ccbb83eac0bc862', height: "14px", width: "14px", viewBox: "0 0 14 14" }, h("circle", { key: 'b2cfa7113e13b315efcfd70326dca585c5423944', class: "outer-circle", cx: "7", cy: "7", r: "6", "stroke-width": "1", fill: "transparent" }), h("circle", { key: 'a296c55606f8b7906b1e5212a1ef84add5b306fe', class: "inner-circle", cx: "7", cy: "7", r: "3", "stroke-width": "0", fill: "transparent" })), h("div", { key: '832ff1079cd4579c99e4f8eb0c0dd0816e178789', class: "radio-label" }, h("ptc-para", { key: 'e618a41fb9970cb62f2286d439d88cdbbeb16ade', "font-size": "xx-small", "font-weight": "w-4", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, h("slot", { key: '462d834d925e7966bfb7939976bd6c84b59275a7' }))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "ptc-form-radio-button"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,7 +51,7 @@ export class PtcImg {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
const classMap = this.getCssClassMap();
|
|
54
|
-
return (h(Host, { key: '
|
|
54
|
+
return (h(Host, { key: 'f2668530f67aa8a4ce0b63e49bd8d542ef15a8b7' }, this.styles && h("style", { key: 'fd31ef320414c681da742a294bbb606813ec6a3b' }, this.styles), h("div", { key: '9ba5c1c14c7eb460dbf37827932e08ccd1079353', class: classMap, "data-xs": `${this.imgUrl}`, "data-sm": `${this.imgUrl}`, "data-md": `${this.imgUrl}`, "data-lg": `${this.imgUrl}` }, this.imageType == "smart-bg" ? h("slot", null) : null)));
|
|
55
55
|
}
|
|
56
56
|
componentDidLoad() {
|
|
57
57
|
this.addIntersectionObserver();
|
|
@@ -292,7 +292,7 @@ export class PtcModal {
|
|
|
292
292
|
let content;
|
|
293
293
|
let overlay;
|
|
294
294
|
let type = this.iframeUrl ? "frame" : "html";
|
|
295
|
-
let closebtn = (h("div", { key: '
|
|
295
|
+
let closebtn = (h("div", { key: '3ea5e065c65bf47b09d759d4fe2fd2183f3dcc9d', class: "close", id: "modal-close" }, h("ptc-close-icon", { key: '2b6daf31a4dc8574b3b36f76a9abbd06b9ac3a1e', onClick: (e) => {
|
|
296
296
|
e.preventDefault();
|
|
297
297
|
this.close();
|
|
298
298
|
}, onKeyPress: (e) => {
|
|
@@ -303,7 +303,7 @@ export class PtcModal {
|
|
|
303
303
|
this.trap.deactivate();
|
|
304
304
|
}
|
|
305
305
|
} })));
|
|
306
|
-
let bottomCloseBtnEle = (h("div", { key: '
|
|
306
|
+
let bottomCloseBtnEle = (h("div", { key: '19d8385b8c79c60439c57fba19dd41cc95b2227b', tabindex: "0", class: "bottom-close", id: "modal-bottom-close", onClick: (e) => {
|
|
307
307
|
e.preventDefault();
|
|
308
308
|
this.close();
|
|
309
309
|
}, onKeyPress: (e) => {
|
|
@@ -313,27 +313,27 @@ export class PtcModal {
|
|
|
313
313
|
if (this.trap) {
|
|
314
314
|
this.trap.deactivate();
|
|
315
315
|
}
|
|
316
|
-
} }, h("span", { key: '
|
|
316
|
+
} }, h("span", { key: 'c9a5ebf924afd679c05285f38bdba17c9b72d855' }, this.bottomCloseBtn)));
|
|
317
317
|
if (this.iframeUrl) {
|
|
318
|
-
content = (h("iframe", { key: '
|
|
318
|
+
content = (h("iframe", { key: 'e9f6b72d0723ae887817572ddcb6014be8a678d0', src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: "100%", width: "100%", scrolling: "no", onLoad: this.resizeIframe }));
|
|
319
319
|
}
|
|
320
320
|
else {
|
|
321
321
|
if (this.showHeaderFooter) {
|
|
322
|
-
content = h("slot", { key: '
|
|
322
|
+
content = h("slot", { key: 'ddce4684bdfe0f73e44cfbee26c1d25e451675b8', name: "body" });
|
|
323
323
|
}
|
|
324
324
|
else {
|
|
325
|
-
content = h("slot", { key: '
|
|
325
|
+
content = h("slot", { key: 'a27aa4555100bd1f6d5140fc19b0326e1ee7b1af' });
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
if (this.overlay) {
|
|
329
329
|
if (this.closeOnBlur) {
|
|
330
|
-
overlay = (h("div", { key: '
|
|
330
|
+
overlay = (h("div", { key: '51ed7bb78c8de27ce221848d182ad33da30a88ab', class: "overlay", onClick: (_) => this.close() }));
|
|
331
331
|
}
|
|
332
332
|
else {
|
|
333
|
-
overlay = h("div", { key: '
|
|
333
|
+
overlay = h("div", { key: '2d92503b292c88061e116b87b41f24b1529d6cbe', class: "overlay" });
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
|
-
return (h(Host, { key: '
|
|
336
|
+
return (h(Host, { key: '8cdb758d20c0368b0bddf2a3c8971addd8cc4b58', class: this.getCssClassMap() }, this.styles && h("style", { key: 'a133e0b93a1337299a3f796edbe087b05ec6cc03' }, this.styles), h("div", { key: '559f283b4fc46fc27b5fea0217fd707b18774717', class: `wrapper ${this.show ? "show" : "hide"} ${this.fixed ? "fixed" : ""} ` }, overlay, h("div", { key: 'aa5d369460732324b58d38a399f4cc811b0bcb97', class: `modal-popup ${this.customClass ? this.customClass : ""} ${this.size} ${type} ${this.rounded ? "rounded" : ""} ${this.showHeaderFooter ? "shadow-scroller" : ""} `, ref: (el) => (this.modalPopUpRef = el) }, this.modalType === "event-listing" && this.headerOnlyBg
|
|
337
337
|
? [
|
|
338
338
|
h("div", { class: "event-list-header" }, h("ptc-img", { "img-url": this.headerOnlyBg, "image-type": "smart-img", styles: ".ptc-img{border-radius: var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;}" }), h("div", { class: "text-wrapper" }, h("span", null, this.headerOnlyText1
|
|
339
339
|
? this.headerOnlyText1
|
|
@@ -874,14 +874,9 @@ export class PtcModal {
|
|
|
874
874
|
"text": "Event for modal popup closed"
|
|
875
875
|
},
|
|
876
876
|
"complexType": {
|
|
877
|
-
"original": "
|
|
878
|
-
"resolved": "
|
|
879
|
-
"references": {
|
|
880
|
-
"PtcModal": {
|
|
881
|
-
"location": "global",
|
|
882
|
-
"id": "global::PtcModal"
|
|
883
|
-
}
|
|
884
|
-
}
|
|
877
|
+
"original": "any",
|
|
878
|
+
"resolved": "any",
|
|
879
|
+
"references": {}
|
|
885
880
|
}
|
|
886
881
|
}, {
|
|
887
882
|
"method": "opened",
|
|
@@ -894,14 +889,9 @@ export class PtcModal {
|
|
|
894
889
|
"text": "Event for modal popup opened"
|
|
895
890
|
},
|
|
896
891
|
"complexType": {
|
|
897
|
-
"original": "
|
|
898
|
-
"resolved": "
|
|
899
|
-
"references": {
|
|
900
|
-
"PtcModal": {
|
|
901
|
-
"location": "global",
|
|
902
|
-
"id": "global::PtcModal"
|
|
903
|
-
}
|
|
904
|
-
}
|
|
892
|
+
"original": "any",
|
|
893
|
+
"resolved": "any",
|
|
894
|
+
"references": {}
|
|
905
895
|
}
|
|
906
896
|
}];
|
|
907
897
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ptc-modal.js","sourceRoot":"","sources":["../../../../src/components/atoms/ptc-modal/ptc-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,CAAC,EACD,KAAK,EACL,MAAM,EAEN,KAAK,GACL,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAO7C,MAAM,OAAO,QAAQ;IACpB;;OAEG;IACQ,EAAE,CAAc;IAE3B;;OAEG;IACsB,SAAS,CAAS;IAE3C;;OAEG;IACsB,IAAI,GAMb,IAAI,CAAC;IACrB;;OAEG;IACsB,WAAW,CAAM;IAE1C;;OAEG;IACsB,IAAI,GAAa,KAAK,CAAC;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\"../../../utils/interfaces\";\r\nimport { createFocusTrap } from \"focus-trap\";\r\n\r\n@Component({\r\n\ttag: \"ptc-modal\",\r\n\tstyleUrl: \"ptc-modal.scss\",\r\n\tshadow: true,\r\n})\r\nexport class PtcModal {\r\n\t/**\r\n\t * Modal Element\r\n\t */\r\n\t@Element() el: HTMLElement;\r\n\r\n\t/**\r\n\t * Set url for content iframe to load if false will load slot element\r\n\t */\r\n\t@Prop({ mutable: true }) iframeUrl: string;\r\n\r\n\t/**\r\n\t * Sets if popup should close if click on outside\r\n\t */\r\n\t@Prop({ mutable: true }) size?:\r\n\t\t| \"sm\"\r\n\t\t| \"md\"\r\n\t\t| \"lg\"\r\n\t\t| \"xl\"\r\n\t\t| \"max\"\r\n\t\t| \"sm-modal\" = \"sm\";\r\n\t/**\r\n\t * This is to add css class to Modal Form with Content\r\n\t */\r\n\t@Prop({ mutable: true }) customClass?: \"\";\r\n\r\n\t/**\r\n\t * Set whether or not to display modal\r\n\t */\r\n\t@Prop({ mutable: true }) show?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should overlay\r\n\t */\r\n\t@Prop({ mutable: true }) overlay?: boolean = true;\r\n\r\n\t/**\r\n\t * Sets if popup should overlay\r\n\t */\r\n\t@Prop({ mutable: true }) fixed?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should overlay\r\n\t */\r\n\t@Prop({ mutable: true }) keepInViewport?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should close if click on outside\r\n\t */\r\n\t@Prop({ mutable: true }) closeOnBlur?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should have rounded corners\r\n\t */\r\n\t@Prop({ mutable: true }) rounded?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should have rounded corners\r\n\t */\r\n\t@Prop({ mutable: true }) hideContainer?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should have header footer sections\r\n\t */\r\n\t@Prop({ mutable: true }) showHeaderFooter?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should hide header\r\n\t */\r\n\t@Prop({ mutable: true }) hideHeader?: boolean = false;\r\n\r\n\t/**\r\n\t * Use modern scrollbar styling for the modal body.\r\n\t */\r\n\t@Prop() modernScrollbar?: boolean = false;\r\n\r\n\t@State() overlayHeight: number;\r\n\r\n\t/**\r\n\t * Event for modal popup closed\r\n\t */\r\n\t@Event() closed: EventEmitter<PtcModal>;\r\n\r\n\t/**\r\n\t * Event for modal popup opened\r\n\t */\r\n\t@Event() opened: EventEmitter<PtcModal>;\r\n\r\n\t/**\r\n\t * Add the border radius Options: standard | large | pill | circle\r\n\t */\r\n\t@Prop({ mutable: true }) borderRadius?:\r\n\t\t| \"standard\"\r\n\t\t| \"large\"\r\n\t\t| \"pill\"\r\n\t\t| \"circle\" = \"standard\";\r\n\r\n\t/**\r\n\t * Sets if popup is nio modal\r\n\t */\r\n\t@Prop({ mutable: true }) isBioModal?: boolean = false;\r\n\r\n\t/**\r\n\t * (optional) Injected CSS Styles\r\n\t */\r\n\t@Prop() styles?: string;\r\n\r\n\t@Prop() modalType:\r\n\t\t| \"video-modal\"\r\n\t\t| \"default-modal\"\r\n\t\t| \"event-listing\"\r\n\t\t| \"thank-you\" = \"default-modal\";\r\n\r\n\t@Prop() vhCenter?: boolean = false;\r\n\r\n\t@Prop() headerOnlyBg?: string;\r\n\r\n\t@Prop() headerOnlyText1?: string;\r\n\t@Prop() headerOnlyText2?: string;\r\n\t@Prop() bottomCloseBtn?: string;\r\n\t@State() openedByKeyboard: boolean = false;\r\n\t@Prop({ mutable: true }) focusBackElement: any;\r\n\r\n\t@Watch(\"show\")\r\n\tonShowChange(newValue: boolean) {\r\n\t\tif (newValue) {\r\n\t\t\tthis.lastFocusElement = document.activeElement as HTMLElement;\r\n\t\t\tthis.fireOnOpened(this);\r\n\t\t} else {\r\n\t\t\tthis.fireOnClosed(this);\r\n\t\t}\r\n\t}\r\n\r\n\ttrap: any; // Focus trap instance;\r\n\tmodalPopUpRef?: HTMLDivElement;\r\n\tlastFocusElement: HTMLElement;\r\n\tsetReturnFocus: any = () => {\r\n\t\tif (!this.lastFocusElement) return;\r\n\t\t// Try focusing the last focused element directly\r\n\t\tif (this.lastFocusElement.tabIndex === 0) {\r\n\t\t\tthis.lastFocusElement.focus();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// If it's inside a shadow DOM, try finding a focusable child\r\n\t\tconst shadowRoot = (this.lastFocusElement as HTMLElement).shadowRoot;\r\n\t\tif (shadowRoot) {\r\n\t\t\tconst focusableElementList = shadowRoot.querySelectorAll(\r\n\t\t\t\t'button, [tabindex]:not([tabindex=\"-1\"])',\r\n\t\t\t);\r\n\t\t\tif (focusableElementList) {\r\n\t\t\t\tlet focusableElement = focusableElementList[\r\n\t\t\t\t\tfocusableElementList.length - 1\r\n\t\t\t\t] as HTMLElement;\r\n\t\t\t\tfocusableElement.focus();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// As a fallback, try to find a focusable child within the element\r\n\t\tconst fallbackElement = this.lastFocusElement.querySelector?.(\r\n\t\t\t'button, [tabindex]:not([tabindex=\"-1\"])',\r\n\t\t);\r\n\t\tif (fallbackElement instanceof HTMLElement) {\r\n\t\t\tfallbackElement.focus();\r\n\t\t}\r\n\t};\r\n\r\n\tfireOnClosed(modal: PtcModal) {\r\n\t\tthis.closed.emit(modal);\r\n\t\t(document.activeElement as HTMLElement).blur();\r\n\t}\r\n\r\n\tfireOnOpened(modal: PtcModal) {\r\n\t\tthis.opened.emit(modal);\r\n\t\tsetTimeout(() => {\r\n\t\t\tconst wrapperEle = this.el.shadowRoot.querySelector(\r\n\t\t\t\t\".wrapper\",\r\n\t\t\t) as HTMLElement;\r\n\t\t\twrapperEle && wrapperEle.focus();\r\n\t\t\tthis.scrollToTopIfNeeded();\r\n\t\t}, 100);\r\n\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis.trap = createFocusTrap(this.modalPopUpRef, {\r\n\t\t\t\tescapeDeactivates: true,\r\n\t\t\t\tclickOutsideDeactivates: true,\r\n\t\t\t\treturnFocusOnDeactivate: true,\r\n\t\t\t\tonActivate: () => {\r\n\t\t\t\t\tif (!this.openedByKeyboard) {\r\n\t\t\t\t\t\tthis.trap.pause(); // If opened by mouse, prevent immediate focus trapping\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tonDeactivate: () => {\r\n\t\t\t\t\tthis.close();\r\n\t\t\t\t\tthis.trap.deactivate();\r\n\t\t\t\t\tthis.setReturnFocus();\r\n\t\t\t\t},\r\n\t\t\t\ttabbableOptions: {\r\n\t\t\t\t\tgetShadowRoot: true,\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t\tif (this.openedByKeyboard) {\r\n\t\t\t\tthis.trap.activate();\r\n\t\t\t}\r\n\t\t}, 200);\r\n\t}\r\n\r\n\t@State() bodyOverflowSetting: any;\r\n\r\n\tscrollToTopIfNeeded() {\r\n\t\tif (this.el && this.modalType === \"event-listing\") {\r\n\t\t\tconst modalRect = this.el.shadowRoot\r\n\t\t\t\t.querySelector(\".modal-body\")\r\n\t\t\t\t.getBoundingClientRect();\r\n\t\t\tconst modalTopPosition = modalRect.top + window.scrollY;\r\n\t\t\tconst offset = 160; // Adjust the offset if necessary to account for fixed headers, etc.\r\n\t\t\twindow.scrollTo({\r\n\t\t\t\ttop: modalTopPosition - offset,\r\n\t\t\t\tbehavior: \"smooth\",\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\treturn;\r\n\t\t}\r\n\t}\r\n\r\n\tconnectedCallback() {\r\n\t\tdocument.addEventListener(\"keydown\", this.handleKeyPress, true);\r\n\t\tdocument.addEventListener(\"mousedown\", this.handleMouseDown, true);\r\n\t}\r\n\tdisconnectedCallback() {\r\n\t\tdocument.removeEventListener(\"keydown\", this.handleKeyPress, true);\r\n\t\tdocument.removeEventListener(\"mousedown\", this.handleMouseDown, true);\r\n\t}\r\n\r\n\tcomponentWillLoad() {\r\n\t\tlet body = document.querySelector(\"body\");\r\n\t\tthis.bodyOverflowSetting = {\r\n\t\t\t//overflow: body.style['overflow'],\r\n\t\t\toverflowY: body.style[\"overflowY\"],\r\n\t\t\toverflowX: body.style[\"overflowX\"],\r\n\t\t};\r\n\t}\r\n\r\n\tcomponentWillRender() {\r\n\t\tlet body = document.querySelector(\"body\");\r\n\t\tif (body) {\r\n\t\t\tif (this.show) {\r\n\t\t\t\t//body.style['overflow'] = 'hidden';\r\n\t\t\t\tif (this.fixed) {\r\n\t\t\t\t\tbody.style[\"overflowY\"] = \"hidden\";\r\n\t\t\t\t\tbody.style[\"overflowX\"] = \"hidden\";\r\n\t\t\t\t} else {\r\n\t\t\t\t\tbody.style[\"overflowY\"] = \"scroll\";\r\n\t\t\t\t\tbody.style[\"overflowX\"] = \"hidden\";\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\t//body.style['overflow'] = this.bodyOverflowSetting.overflow;\r\n\t\t\t\tbody.style[\"overflowY\"] = this.bodyOverflowSetting.overflowY;\r\n\t\t\t\tbody.style[\"overflowX\"] = this.bodyOverflowSetting.overflowX;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tcomponentDidLoad() {\r\n\t\tif (this.show) {\r\n\t\t\tthis.lastFocusElement = document.activeElement as HTMLElement;\r\n\t\t\tthis.fireOnOpened(this);\r\n\t\t}\r\n\t\tif (this.showHeaderFooter) {\r\n\t\t\tthis.handleScroll();\r\n\t\t}\r\n\t}\r\n\r\n\thandleKeyPress = (event: KeyboardEvent) => {\r\n\t\tif (event.key === \"Enter\" || event.key === \" \" || event.key === \"Tab\") {\r\n\t\t\tthis.openedByKeyboard = true;\r\n\t\t}\r\n\t};\r\n\r\n\thandleMouseDown = () => {\r\n\t\tthis.openedByKeyboard = false;\r\n\t};\r\n\r\n\tresizeIframe(e: Event) {\r\n\t\tlet iFrame = e.target as HTMLIFrameElement;\r\n\t\tsetTimeout(() => {\r\n\t\t\ttry {\r\n\t\t\t\tif (iFrame.contentDocument) {\r\n\t\t\t\t\tiFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tiFrame.height = \"616px\"; //default\r\n\t\t\t\t\tiFrame.removeAttribute(\"scrolling\");\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\tconsole.log(error);\r\n\t\t\t\tiFrame.height = \"616px\"; //default\r\n\t\t\t\tiFrame.removeAttribute(\"scrolling\");\r\n\t\t\t}\r\n\t\t\tiFrame.classList.add(\"ready\");\r\n\t\t}, 50);\r\n\t}\r\n\r\n\thandleScroll() {\r\n\t\tlet modal = this.el.shadowRoot.querySelector(\".shadow-scroller\");\r\n\r\n\t\tif (modal) {\r\n\t\t\tlet body = modal.querySelector<HTMLElement>(\".modal-body\");\r\n\t\t\tvar height = body.clientHeight;\r\n\t\t\tvar scrollHeight = body.scrollHeight;\r\n\t\t\tvar scrollTop = body.scrollTop;\r\n\t\t\tvar offset = body.offsetHeight;\r\n\r\n\t\t\tif (height < scrollHeight) {\r\n\t\t\t\t//has scrollbar\r\n\t\t\t\tif (scrollTop > 0) {\r\n\t\t\t\t\t//can scroll up\r\n\t\t\t\t\tmodal.classList.add(\"scroll-top\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmodal.classList.remove(\"scroll-top\");\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (offset + scrollTop < scrollHeight) {\r\n\t\t\t\t\t//can scroll down\r\n\t\t\t\t\tmodal.classList.add(\"scroll-bottom\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmodal.classList.remove(\"scroll-bottom\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tclose() {\r\n\t\tthis.show = false;\r\n\t\tsetTimeout(() => {\r\n\t\t\tif (this.focusBackElement) {\r\n\t\t\t\tthis.focusBackElement?.focus();\r\n\t\t\t\tif (this.focusBackElement.tagName === \"PTC-BUTTON\") {\r\n\t\t\t\t\tthis.focusBackElement.shadowRoot\r\n\t\t\t\t\t\t.querySelector(\"button\")\r\n\t\t\t\t\t\t?.focus();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}, 100);\r\n\t}\r\n\r\n\trender() {\r\n\t\tlet content;\r\n\t\tlet overlay;\r\n\t\tlet type = this.iframeUrl ? \"frame\" : \"html\";\r\n\t\tlet closebtn = (\r\n\t\t\t<div class=\"close\" id=\"modal-close\">\r\n\t\t\t\t<ptc-close-icon\r\n\t\t\t\t\tonClick={(e) => {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tthis.close();\r\n\t\t\t\t\t}}\r\n\t\t\t\t\tonKeyPress={(e) => {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tthis.close();\r\n\t\t\t\t\t\tthis.setReturnFocus();\r\n\t\t\t\t\t\tif (this.trap) {\r\n\t\t\t\t\t\t\tthis.trap.deactivate();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}}\r\n\t\t\t\t></ptc-close-icon>\r\n\t\t\t</div>\r\n\t\t);\r\n\t\tlet bottomCloseBtnEle = (\r\n\t\t\t<div\r\n\t\t\t\ttabindex=\"0\"\r\n\t\t\t\tclass=\"bottom-close\"\r\n\t\t\t\tid=\"modal-bottom-close\"\r\n\t\t\t\tonClick={(e) => {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\tthis.close();\r\n\t\t\t\t}}\r\n\t\t\t\tonKeyPress={(e) => {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\tthis.close();\r\n\t\t\t\t\tthis.setReturnFocus();\r\n\t\t\t\t\tif (this.trap) {\r\n\t\t\t\t\t\tthis.trap.deactivate();\r\n\t\t\t\t\t}\r\n\t\t\t\t}}\r\n\t\t\t>\r\n\t\t\t\t<span>{this.bottomCloseBtn}</span>\r\n\t\t\t</div>\r\n\t\t);\r\n\r\n\t\tif (this.iframeUrl) {\r\n\t\t\tcontent = (\r\n\t\t\t\t<iframe\r\n\t\t\t\t\tsrc={this.iframeUrl}\r\n\t\t\t\t\tframeBorder={0}\r\n\t\t\t\t\tallowFullScreen={false}\r\n\t\t\t\t\theight={\"100%\"}\r\n\t\t\t\t\twidth={\"100%\"}\r\n\t\t\t\t\tscrolling=\"no\"\r\n\t\t\t\t\tonLoad={this.resizeIframe}\r\n\t\t\t\t></iframe>\r\n\t\t\t);\r\n\t\t} else {\r\n\t\t\tif (this.showHeaderFooter) {\r\n\t\t\t\tcontent = <slot name=\"body\"></slot>;\r\n\t\t\t} else {\r\n\t\t\t\tcontent = <slot></slot>;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (this.overlay) {\r\n\t\t\tif (this.closeOnBlur) {\r\n\t\t\t\toverlay = (\r\n\t\t\t\t\t<div class=\"overlay\" onClick={(_) => this.close()}></div>\r\n\t\t\t\t);\r\n\t\t\t} else {\r\n\t\t\t\toverlay = <div class=\"overlay\"></div>;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t<Host class={this.getCssClassMap()}>\r\n\t\t\t\t{this.styles && <style>{this.styles}</style>}\r\n\t\t\t\t<div\r\n\t\t\t\t\tclass={`wrapper ${this.show ? \"show\" : \"hide\"} ${this.fixed ? \"fixed\" : \"\"} `}\r\n\t\t\t\t>\r\n\t\t\t\t\t{overlay}\r\n\t\t\t\t\t<div\r\n\t\t\t\t\t\tclass={`modal-popup ${this.customClass ? this.customClass : \"\"} ${this.size} ${type} ${this.rounded ? \"rounded\" : \"\"} ${\r\n\t\t\t\t\t\t\tthis.showHeaderFooter ? \"shadow-scroller\" : \"\"\r\n\t\t\t\t\t\t} `}\r\n\t\t\t\t\t\tref={(el) =>\r\n\t\t\t\t\t\t\t(this.modalPopUpRef = el as HTMLDivElement)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t{this.modalType === \"event-listing\" && this.headerOnlyBg\r\n\t\t\t\t\t\t\t? [\r\n\t\t\t\t\t\t\t\t\t<div class=\"event-list-header\">\r\n\t\t\t\t\t\t\t\t\t\t<ptc-img\r\n\t\t\t\t\t\t\t\t\t\t\timg-url={this.headerOnlyBg}\r\n\t\t\t\t\t\t\t\t\t\t\timage-type=\"smart-img\"\r\n\t\t\t\t\t\t\t\t\t\t\tstyles=\".ptc-img{border-radius: var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;}\"\r\n\t\t\t\t\t\t\t\t\t\t></ptc-img>\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"text-wrapper\">\r\n\t\t\t\t\t\t\t\t\t\t\t<span>\r\n\t\t\t\t\t\t\t\t\t\t\t\t{this.headerOnlyText1\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t? this.headerOnlyText1\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t: \"\"}\r\n\t\t\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t\t\t\t<span>\r\n\t\t\t\t\t\t\t\t\t\t\t\t{this.headerOnlyText2\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t? this.headerOnlyText2\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t: \"\"}\r\n\t\t\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t</div>,\r\n\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t: null}\r\n\t\t\t\t\t\t{this.showHeaderFooter\r\n\t\t\t\t\t\t\t? [\r\n\t\t\t\t\t\t\t\t\t!this.hideHeader && (\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"modal-header\">\r\n\t\t\t\t\t\t\t\t\t\t\t<slot name=\"header\"></slot>\r\n\t\t\t\t\t\t\t\t\t\t\t{closebtn}\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t),\r\n\t\t\t\t\t\t\t\t\tthis.hideHeader && closebtn,\r\n\t\t\t\t\t\t\t\t\t<div\r\n\t\t\t\t\t\t\t\t\t\tclass={`modal-body ${\r\n\t\t\t\t\t\t\t\t\t\t\tthis.modernScrollbar\r\n\t\t\t\t\t\t\t\t\t\t\t\t? \"modern-scrollbar\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t: \"\"\r\n\t\t\t\t\t\t\t\t\t\t}`}\r\n\t\t\t\t\t\t\t\t\t\tonScroll={() => this.handleScroll()}\r\n\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t{content}\r\n\t\t\t\t\t\t\t\t\t</div>,\r\n\t\t\t\t\t\t\t\t\t<div class=\"modal-footer\">\r\n\t\t\t\t\t\t\t\t\t\t<slot name=\"footer\"></slot>\r\n\t\t\t\t\t\t\t\t\t</div>,\r\n\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t: [\r\n\t\t\t\t\t\t\t\t\tclosebtn,\r\n\t\t\t\t\t\t\t\t\t<div\r\n\t\t\t\t\t\t\t\t\t\tclass={`modal-body ${\r\n\t\t\t\t\t\t\t\t\t\t\tthis.modernScrollbar\r\n\t\t\t\t\t\t\t\t\t\t\t\t? \"modern-scrollbar\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t: \"\"\r\n\t\t\t\t\t\t\t\t\t\t}`}\r\n\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t{content}\r\n\t\t\t\t\t\t\t\t\t</div>,\r\n\t\t\t\t\t\t\t\t]}\r\n\t\t\t\t\t\t{this.modalType === \"event-listing\" &&\r\n\t\t\t\t\t\tthis.bottomCloseBtn\r\n\t\t\t\t\t\t\t? [bottomCloseBtnEle]\r\n\t\t\t\t\t\t\t: null}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n\r\n\tprivate getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[\"no-container\"]: this.hideContainer,\r\n\t\t\t[\"bio-modal\"]: this.isBioModal,\r\n\t\t\t[\"enclose-modal\"]: !this.isBioModal && this.keepInViewport,\r\n\t\t\t[this.borderRadius]: true,\r\n\t\t\t[this.modalType]: true,\r\n\t\t\t[\"vh-center\"]: this.vhCenter,\r\n\t\t};\r\n\t}\r\n\r\n\t@Method()\r\n\tasync showModal() {\r\n\t\tthis.show = true;\r\n\t}\r\n\r\n\t@Method()\r\n\tasync hideModal() {\r\n\t\tthis.show = false;\r\n\t}\r\n\r\n\t@Method()\r\n\tasync toggleModal() {\r\n\t\tthis.show = !this.show;\r\n\t}\r\n\r\n\t@Method()\r\n\tasync reloadIframe() {\r\n\t\tif (this.iframeUrl) {\r\n\t\t\tlet iframe = this.el.shadowRoot.querySelector(\"iframe\");\r\n\t\t\tif (iframe) {\r\n\t\t\t\tiframe.src = iframe.src;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}"]}
|
|
1
|
+
{"version":3,"file":"ptc-modal.js","sourceRoot":"","sources":["../../../../src/components/atoms/ptc-modal/ptc-modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,CAAC,EACD,KAAK,EACL,MAAM,EAEN,KAAK,GACL,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAO7C,MAAM,OAAO,QAAQ;IACpB;;OAEG;IACQ,EAAE,CAAc;IAE3B;;OAEG;IACsB,SAAS,CAAS;IAE3C;;OAEG;IACsB,IAAI,GAMb,IAAI,CAAC;IACrB;;OAEG;IACsB,WAAW,CAAM;IAE1C;;OAEG;IACsB,IAAI,GAAa,KAAK,CAAC;IAEhD;;OAEG;IACsB,OAAO,GAAa,IAAI,CAAC;IAElD;;OAEG;IACsB,KAAK,GAAa,KAAK,CAAC;IAEjD;;OAEG;IACsB,cAAc,GAAa,KAAK,CAAC;IAE1D;;OAEG;IACsB,WAAW,GAAa,KAAK,CAAC;IAEvD;;OAEG;IACsB,OAAO,GAAa,KAAK,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AAa,CAAC,QAAQ,CAAC,CAAC;YACxD,IAAI,MAAM,EAAE,CAAC;gBACZ,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC;YACzB,CAAC;QACF,CAAC;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\r\n\tComponent,\r\n\tElement,\r\n\tHost,\r\n\tProp,\r\n\tState,\r\n\th,\r\n\tEvent,\r\n\tMethod,\r\n\tEventEmitter,\r\n\tWatch,\r\n} from \"@stencil/core\";\r\nimport { CssClassMap } from \"../../../utils/interfaces\";\r\nimport { createFocusTrap } from \"focus-trap\";\r\n\r\n@Component({\r\n\ttag: \"ptc-modal\",\r\n\tstyleUrl: \"ptc-modal.scss\",\r\n\tshadow: true,\r\n})\r\nexport class PtcModal {\r\n\t/**\r\n\t * Modal Element\r\n\t */\r\n\t@Element() el: HTMLElement;\r\n\r\n\t/**\r\n\t * Set url for content iframe to load if false will load slot element\r\n\t */\r\n\t@Prop({ mutable: true }) iframeUrl: string;\r\n\r\n\t/**\r\n\t * Sets if popup should close if click on outside\r\n\t */\r\n\t@Prop({ mutable: true }) size?:\r\n\t\t| \"sm\"\r\n\t\t| \"md\"\r\n\t\t| \"lg\"\r\n\t\t| \"xl\"\r\n\t\t| \"max\"\r\n\t\t| \"sm-modal\" = \"sm\";\r\n\t/**\r\n\t * This is to add css class to Modal Form with Content\r\n\t */\r\n\t@Prop({ mutable: true }) customClass?: \"\";\r\n\r\n\t/**\r\n\t * Set whether or not to display modal\r\n\t */\r\n\t@Prop({ mutable: true }) show?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should overlay\r\n\t */\r\n\t@Prop({ mutable: true }) overlay?: boolean = true;\r\n\r\n\t/**\r\n\t * Sets if popup should overlay\r\n\t */\r\n\t@Prop({ mutable: true }) fixed?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should overlay\r\n\t */\r\n\t@Prop({ mutable: true }) keepInViewport?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should close if click on outside\r\n\t */\r\n\t@Prop({ mutable: true }) closeOnBlur?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should have rounded corners\r\n\t */\r\n\t@Prop({ mutable: true }) rounded?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should have rounded corners\r\n\t */\r\n\t@Prop({ mutable: true }) hideContainer?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should have header footer sections\r\n\t */\r\n\t@Prop({ mutable: true }) showHeaderFooter?: boolean = false;\r\n\r\n\t/**\r\n\t * Sets if popup should hide header\r\n\t */\r\n\t@Prop({ mutable: true }) hideHeader?: boolean = false;\r\n\r\n\t/**\r\n\t * Use modern scrollbar styling for the modal body.\r\n\t */\r\n\t@Prop() modernScrollbar?: boolean = false;\r\n\r\n\t@State() overlayHeight: number;\r\n\r\n\t/**\r\n\t * Event for modal popup closed\r\n\t */\r\n\t@Event() closed: EventEmitter<any>;\r\n\r\n\t/**\r\n\t * Event for modal popup opened\r\n\t */\r\n\t@Event() opened: EventEmitter<any>;\r\n\r\n\t/**\r\n\t * Add the border radius Options: standard | large | pill | circle\r\n\t */\r\n\t@Prop({ mutable: true }) borderRadius?:\r\n\t\t| \"standard\"\r\n\t\t| \"large\"\r\n\t\t| \"pill\"\r\n\t\t| \"circle\" = \"standard\";\r\n\r\n\t/**\r\n\t * Sets if popup is nio modal\r\n\t */\r\n\t@Prop({ mutable: true }) isBioModal?: boolean = false;\r\n\r\n\t/**\r\n\t * (optional) Injected CSS Styles\r\n\t */\r\n\t@Prop() styles?: string;\r\n\r\n\t@Prop() modalType:\r\n\t\t| \"video-modal\"\r\n\t\t| \"default-modal\"\r\n\t\t| \"event-listing\"\r\n\t\t| \"thank-you\" = \"default-modal\";\r\n\r\n\t@Prop() vhCenter?: boolean = false;\r\n\r\n\t@Prop() headerOnlyBg?: string;\r\n\r\n\t@Prop() headerOnlyText1?: string;\r\n\t@Prop() headerOnlyText2?: string;\r\n\t@Prop() bottomCloseBtn?: string;\r\n\t@State() openedByKeyboard: boolean = false;\r\n\t@Prop({ mutable: true }) focusBackElement: any;\r\n\r\n\t@Watch(\"show\")\r\n\tonShowChange(newValue: boolean) {\r\n\t\tif (newValue) {\r\n\t\t\tthis.lastFocusElement = document.activeElement as HTMLElement;\r\n\t\t\tthis.fireOnOpened(this);\r\n\t\t} else {\r\n\t\t\tthis.fireOnClosed(this);\r\n\t\t}\r\n\t}\r\n\r\n\ttrap: any; // Focus trap instance;\r\n\tmodalPopUpRef?: HTMLDivElement;\r\n\tlastFocusElement: HTMLElement;\r\n\tsetReturnFocus: any = () => {\r\n\t\tif (!this.lastFocusElement) return;\r\n\t\t// Try focusing the last focused element directly\r\n\t\tif (this.lastFocusElement.tabIndex === 0) {\r\n\t\t\tthis.lastFocusElement.focus();\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t// If it's inside a shadow DOM, try finding a focusable child\r\n\t\tconst shadowRoot = (this.lastFocusElement as HTMLElement).shadowRoot;\r\n\t\tif (shadowRoot) {\r\n\t\t\tconst focusableElementList = shadowRoot.querySelectorAll(\r\n\t\t\t\t'button, [tabindex]:not([tabindex=\"-1\"])',\r\n\t\t\t);\r\n\t\t\tif (focusableElementList) {\r\n\t\t\t\tlet focusableElement = focusableElementList[\r\n\t\t\t\t\tfocusableElementList.length - 1\r\n\t\t\t\t] as HTMLElement;\r\n\t\t\t\tfocusableElement.focus();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\t\t// As a fallback, try to find a focusable child within the element\r\n\t\tconst fallbackElement = this.lastFocusElement.querySelector?.(\r\n\t\t\t'button, [tabindex]:not([tabindex=\"-1\"])',\r\n\t\t);\r\n\t\tif (fallbackElement instanceof HTMLElement) {\r\n\t\t\tfallbackElement.focus();\r\n\t\t}\r\n\t};\r\n\r\n\tfireOnClosed(modal: PtcModal) {\r\n\t\tthis.closed.emit(modal);\r\n\t\t(document.activeElement as HTMLElement).blur();\r\n\t}\r\n\r\n\tfireOnOpened(modal: PtcModal) {\r\n\t\tthis.opened.emit(modal);\r\n\t\tsetTimeout(() => {\r\n\t\t\tconst wrapperEle = this.el.shadowRoot.querySelector(\r\n\t\t\t\t\".wrapper\",\r\n\t\t\t) as HTMLElement;\r\n\t\t\twrapperEle && wrapperEle.focus();\r\n\t\t\tthis.scrollToTopIfNeeded();\r\n\t\t}, 100);\r\n\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis.trap = createFocusTrap(this.modalPopUpRef, {\r\n\t\t\t\tescapeDeactivates: true,\r\n\t\t\t\tclickOutsideDeactivates: true,\r\n\t\t\t\treturnFocusOnDeactivate: true,\r\n\t\t\t\tonActivate: () => {\r\n\t\t\t\t\tif (!this.openedByKeyboard) {\r\n\t\t\t\t\t\tthis.trap.pause(); // If opened by mouse, prevent immediate focus trapping\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tonDeactivate: () => {\r\n\t\t\t\t\tthis.close();\r\n\t\t\t\t\tthis.trap.deactivate();\r\n\t\t\t\t\tthis.setReturnFocus();\r\n\t\t\t\t},\r\n\t\t\t\ttabbableOptions: {\r\n\t\t\t\t\tgetShadowRoot: true,\r\n\t\t\t\t},\r\n\t\t\t});\r\n\t\t\tif (this.openedByKeyboard) {\r\n\t\t\t\tthis.trap.activate();\r\n\t\t\t}\r\n\t\t}, 200);\r\n\t}\r\n\r\n\t@State() bodyOverflowSetting: any;\r\n\r\n\tscrollToTopIfNeeded() {\r\n\t\tif (this.el && this.modalType === \"event-listing\") {\r\n\t\t\tconst modalRect = this.el.shadowRoot\r\n\t\t\t\t.querySelector(\".modal-body\")\r\n\t\t\t\t.getBoundingClientRect();\r\n\t\t\tconst modalTopPosition = modalRect.top + window.scrollY;\r\n\t\t\tconst offset = 160; // Adjust the offset if necessary to account for fixed headers, etc.\r\n\t\t\twindow.scrollTo({\r\n\t\t\t\ttop: modalTopPosition - offset,\r\n\t\t\t\tbehavior: \"smooth\",\r\n\t\t\t});\r\n\t\t} else {\r\n\t\t\treturn;\r\n\t\t}\r\n\t}\r\n\r\n\tconnectedCallback() {\r\n\t\tdocument.addEventListener(\"keydown\", this.handleKeyPress, true);\r\n\t\tdocument.addEventListener(\"mousedown\", this.handleMouseDown, true);\r\n\t}\r\n\tdisconnectedCallback() {\r\n\t\tdocument.removeEventListener(\"keydown\", this.handleKeyPress, true);\r\n\t\tdocument.removeEventListener(\"mousedown\", this.handleMouseDown, true);\r\n\t}\r\n\r\n\tcomponentWillLoad() {\r\n\t\tlet body = document.querySelector(\"body\");\r\n\t\tthis.bodyOverflowSetting = {\r\n\t\t\t//overflow: body.style['overflow'],\r\n\t\t\toverflowY: body.style[\"overflowY\"],\r\n\t\t\toverflowX: body.style[\"overflowX\"],\r\n\t\t};\r\n\t}\r\n\r\n\tcomponentWillRender() {\r\n\t\tlet body = document.querySelector(\"body\");\r\n\t\tif (body) {\r\n\t\t\tif (this.show) {\r\n\t\t\t\t//body.style['overflow'] = 'hidden';\r\n\t\t\t\tif (this.fixed) {\r\n\t\t\t\t\tbody.style[\"overflowY\"] = \"hidden\";\r\n\t\t\t\t\tbody.style[\"overflowX\"] = \"hidden\";\r\n\t\t\t\t} else {\r\n\t\t\t\t\tbody.style[\"overflowY\"] = \"scroll\";\r\n\t\t\t\t\tbody.style[\"overflowX\"] = \"hidden\";\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\t//body.style['overflow'] = this.bodyOverflowSetting.overflow;\r\n\t\t\t\tbody.style[\"overflowY\"] = this.bodyOverflowSetting.overflowY;\r\n\t\t\t\tbody.style[\"overflowX\"] = this.bodyOverflowSetting.overflowX;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tcomponentDidLoad() {\r\n\t\tif (this.show) {\r\n\t\t\tthis.lastFocusElement = document.activeElement as HTMLElement;\r\n\t\t\tthis.fireOnOpened(this);\r\n\t\t}\r\n\t\tif (this.showHeaderFooter) {\r\n\t\t\tthis.handleScroll();\r\n\t\t}\r\n\t}\r\n\r\n\thandleKeyPress = (event: KeyboardEvent) => {\r\n\t\tif (event.key === \"Enter\" || event.key === \" \" || event.key === \"Tab\") {\r\n\t\t\tthis.openedByKeyboard = true;\r\n\t\t}\r\n\t};\r\n\r\n\thandleMouseDown = () => {\r\n\t\tthis.openedByKeyboard = false;\r\n\t};\r\n\r\n\tresizeIframe(e: Event) {\r\n\t\tlet iFrame = e.target as HTMLIFrameElement;\r\n\t\tsetTimeout(() => {\r\n\t\t\ttry {\r\n\t\t\t\tif (iFrame.contentDocument) {\r\n\t\t\t\t\tiFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tiFrame.height = \"616px\"; //default\r\n\t\t\t\t\tiFrame.removeAttribute(\"scrolling\");\r\n\t\t\t\t}\r\n\t\t\t} catch (error) {\r\n\t\t\t\tconsole.log(error);\r\n\t\t\t\tiFrame.height = \"616px\"; //default\r\n\t\t\t\tiFrame.removeAttribute(\"scrolling\");\r\n\t\t\t}\r\n\t\t\tiFrame.classList.add(\"ready\");\r\n\t\t}, 50);\r\n\t}\r\n\r\n\thandleScroll() {\r\n\t\tlet modal = this.el.shadowRoot.querySelector(\".shadow-scroller\");\r\n\r\n\t\tif (modal) {\r\n\t\t\tlet body = modal.querySelector<HTMLElement>(\".modal-body\");\r\n\t\t\tvar height = body.clientHeight;\r\n\t\t\tvar scrollHeight = body.scrollHeight;\r\n\t\t\tvar scrollTop = body.scrollTop;\r\n\t\t\tvar offset = body.offsetHeight;\r\n\r\n\t\t\tif (height < scrollHeight) {\r\n\t\t\t\t//has scrollbar\r\n\t\t\t\tif (scrollTop > 0) {\r\n\t\t\t\t\t//can scroll up\r\n\t\t\t\t\tmodal.classList.add(\"scroll-top\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmodal.classList.remove(\"scroll-top\");\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (offset + scrollTop < scrollHeight) {\r\n\t\t\t\t\t//can scroll down\r\n\t\t\t\t\tmodal.classList.add(\"scroll-bottom\");\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmodal.classList.remove(\"scroll-bottom\");\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tclose() {\r\n\t\tthis.show = false;\r\n\t\tsetTimeout(() => {\r\n\t\t\tif (this.focusBackElement) {\r\n\t\t\t\tthis.focusBackElement?.focus();\r\n\t\t\t\tif (this.focusBackElement.tagName === \"PTC-BUTTON\") {\r\n\t\t\t\t\tthis.focusBackElement.shadowRoot\r\n\t\t\t\t\t\t.querySelector(\"button\")\r\n\t\t\t\t\t\t?.focus();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}, 100);\r\n\t}\r\n\r\n\trender() {\r\n\t\tlet content;\r\n\t\tlet overlay;\r\n\t\tlet type = this.iframeUrl ? \"frame\" : \"html\";\r\n\t\tlet closebtn = (\r\n\t\t\t<div class=\"close\" id=\"modal-close\">\r\n\t\t\t\t<ptc-close-icon\r\n\t\t\t\t\tonClick={(e) => {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tthis.close();\r\n\t\t\t\t\t}}\r\n\t\t\t\t\tonKeyPress={(e) => {\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tthis.close();\r\n\t\t\t\t\t\tthis.setReturnFocus();\r\n\t\t\t\t\t\tif (this.trap) {\r\n\t\t\t\t\t\t\tthis.trap.deactivate();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}}\r\n\t\t\t\t></ptc-close-icon>\r\n\t\t\t</div>\r\n\t\t);\r\n\t\tlet bottomCloseBtnEle = (\r\n\t\t\t<div\r\n\t\t\t\ttabindex=\"0\"\r\n\t\t\t\tclass=\"bottom-close\"\r\n\t\t\t\tid=\"modal-bottom-close\"\r\n\t\t\t\tonClick={(e) => {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\tthis.close();\r\n\t\t\t\t}}\r\n\t\t\t\tonKeyPress={(e) => {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\tthis.close();\r\n\t\t\t\t\tthis.setReturnFocus();\r\n\t\t\t\t\tif (this.trap) {\r\n\t\t\t\t\t\tthis.trap.deactivate();\r\n\t\t\t\t\t}\r\n\t\t\t\t}}\r\n\t\t\t>\r\n\t\t\t\t<span>{this.bottomCloseBtn}</span>\r\n\t\t\t</div>\r\n\t\t);\r\n\r\n\t\tif (this.iframeUrl) {\r\n\t\t\tcontent = (\r\n\t\t\t\t<iframe\r\n\t\t\t\t\tsrc={this.iframeUrl}\r\n\t\t\t\t\tframeBorder={0}\r\n\t\t\t\t\tallowFullScreen={false}\r\n\t\t\t\t\theight={\"100%\"}\r\n\t\t\t\t\twidth={\"100%\"}\r\n\t\t\t\t\tscrolling=\"no\"\r\n\t\t\t\t\tonLoad={this.resizeIframe}\r\n\t\t\t\t></iframe>\r\n\t\t\t);\r\n\t\t} else {\r\n\t\t\tif (this.showHeaderFooter) {\r\n\t\t\t\tcontent = <slot name=\"body\"></slot>;\r\n\t\t\t} else {\r\n\t\t\t\tcontent = <slot></slot>;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (this.overlay) {\r\n\t\t\tif (this.closeOnBlur) {\r\n\t\t\t\toverlay = (\r\n\t\t\t\t\t<div class=\"overlay\" onClick={(_) => this.close()}></div>\r\n\t\t\t\t);\r\n\t\t\t} else {\r\n\t\t\t\toverlay = <div class=\"overlay\"></div>;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t<Host class={this.getCssClassMap()}>\r\n\t\t\t\t{this.styles && <style>{this.styles}</style>}\r\n\t\t\t\t<div\r\n\t\t\t\t\tclass={`wrapper ${this.show ? \"show\" : \"hide\"} ${this.fixed ? \"fixed\" : \"\"} `}\r\n\t\t\t\t>\r\n\t\t\t\t\t{overlay}\r\n\t\t\t\t\t<div\r\n\t\t\t\t\t\tclass={`modal-popup ${this.customClass ? this.customClass : \"\"} ${this.size} ${type} ${this.rounded ? \"rounded\" : \"\"} ${\r\n\t\t\t\t\t\t\tthis.showHeaderFooter ? \"shadow-scroller\" : \"\"\r\n\t\t\t\t\t\t} `}\r\n\t\t\t\t\t\tref={(el) =>\r\n\t\t\t\t\t\t\t(this.modalPopUpRef = el as HTMLDivElement)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t{this.modalType === \"event-listing\" && this.headerOnlyBg\r\n\t\t\t\t\t\t\t? [\r\n\t\t\t\t\t\t\t\t\t<div class=\"event-list-header\">\r\n\t\t\t\t\t\t\t\t\t\t<ptc-img\r\n\t\t\t\t\t\t\t\t\t\t\timg-url={this.headerOnlyBg}\r\n\t\t\t\t\t\t\t\t\t\t\timage-type=\"smart-img\"\r\n\t\t\t\t\t\t\t\t\t\t\tstyles=\".ptc-img{border-radius: var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;}\"\r\n\t\t\t\t\t\t\t\t\t\t></ptc-img>\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"text-wrapper\">\r\n\t\t\t\t\t\t\t\t\t\t\t<span>\r\n\t\t\t\t\t\t\t\t\t\t\t\t{this.headerOnlyText1\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t? this.headerOnlyText1\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t: \"\"}\r\n\t\t\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t\t\t\t<span>\r\n\t\t\t\t\t\t\t\t\t\t\t\t{this.headerOnlyText2\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t? this.headerOnlyText2\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t: \"\"}\r\n\t\t\t\t\t\t\t\t\t\t\t</span>\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t</div>,\r\n\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t: null}\r\n\t\t\t\t\t\t{this.showHeaderFooter\r\n\t\t\t\t\t\t\t? [\r\n\t\t\t\t\t\t\t\t\t!this.hideHeader && (\r\n\t\t\t\t\t\t\t\t\t\t<div class=\"modal-header\">\r\n\t\t\t\t\t\t\t\t\t\t\t<slot name=\"header\"></slot>\r\n\t\t\t\t\t\t\t\t\t\t\t{closebtn}\r\n\t\t\t\t\t\t\t\t\t\t</div>\r\n\t\t\t\t\t\t\t\t\t),\r\n\t\t\t\t\t\t\t\t\tthis.hideHeader && closebtn,\r\n\t\t\t\t\t\t\t\t\t<div\r\n\t\t\t\t\t\t\t\t\t\tclass={`modal-body ${\r\n\t\t\t\t\t\t\t\t\t\t\tthis.modernScrollbar\r\n\t\t\t\t\t\t\t\t\t\t\t\t? \"modern-scrollbar\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t: \"\"\r\n\t\t\t\t\t\t\t\t\t\t}`}\r\n\t\t\t\t\t\t\t\t\t\tonScroll={() => this.handleScroll()}\r\n\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t{content}\r\n\t\t\t\t\t\t\t\t\t</div>,\r\n\t\t\t\t\t\t\t\t\t<div class=\"modal-footer\">\r\n\t\t\t\t\t\t\t\t\t\t<slot name=\"footer\"></slot>\r\n\t\t\t\t\t\t\t\t\t</div>,\r\n\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t: [\r\n\t\t\t\t\t\t\t\t\tclosebtn,\r\n\t\t\t\t\t\t\t\t\t<div\r\n\t\t\t\t\t\t\t\t\t\tclass={`modal-body ${\r\n\t\t\t\t\t\t\t\t\t\t\tthis.modernScrollbar\r\n\t\t\t\t\t\t\t\t\t\t\t\t? \"modern-scrollbar\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t: \"\"\r\n\t\t\t\t\t\t\t\t\t\t}`}\r\n\t\t\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t\t\t\t\t{content}\r\n\t\t\t\t\t\t\t\t\t</div>,\r\n\t\t\t\t\t\t\t\t]}\r\n\t\t\t\t\t\t{this.modalType === \"event-listing\" &&\r\n\t\t\t\t\t\tthis.bottomCloseBtn\r\n\t\t\t\t\t\t\t? [bottomCloseBtnEle]\r\n\t\t\t\t\t\t\t: null}\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t</Host>\r\n\t\t);\r\n\t}\r\n\r\n\tprivate getCssClassMap(): CssClassMap {\r\n\t\treturn {\r\n\t\t\t[\"no-container\"]: this.hideContainer,\r\n\t\t\t[\"bio-modal\"]: this.isBioModal,\r\n\t\t\t[\"enclose-modal\"]: !this.isBioModal && this.keepInViewport,\r\n\t\t\t[this.borderRadius]: true,\r\n\t\t\t[this.modalType]: true,\r\n\t\t\t[\"vh-center\"]: this.vhCenter,\r\n\t\t};\r\n\t}\r\n\r\n\t@Method()\r\n\tasync showModal() {\r\n\t\tthis.show = true;\r\n\t}\r\n\r\n\t@Method()\r\n\tasync hideModal() {\r\n\t\tthis.show = false;\r\n\t}\r\n\r\n\t@Method()\r\n\tasync toggleModal() {\r\n\t\tthis.show = !this.show;\r\n\t}\r\n\r\n\t@Method()\r\n\tasync reloadIframe() {\r\n\t\tif (this.iframeUrl) {\r\n\t\t\tlet iframe = this.el.shadowRoot.querySelector(\"iframe\");\r\n\t\t\tif (iframe) {\r\n\t\t\t\tiframe.src = iframe.src;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}"]}
|
|
@@ -21,7 +21,7 @@ export class PtcOverlay {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const classMap = this.getCssClassMap();
|
|
24
|
-
return h(Host, { key: '
|
|
24
|
+
return h(Host, { key: 'd51bc2fabe980b78d83d0282aa21c775f817be4b', class: classMap });
|
|
25
25
|
}
|
|
26
26
|
getCssClassMap() {
|
|
27
27
|
return {
|