@ptcwebops/ptcw-design 6.3.38 → 6.3.40-beta
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/academic-form-test.cjs.entry.js +24 -24
- package/dist/cjs/author-listing-example.cjs.entry.js +29 -31
- package/dist/cjs/blog-detail-content_2.cjs.entry.js +61 -66
- package/dist/cjs/blog-detail-layout.cjs.entry.js +12 -12
- package/dist/cjs/blogs-search-section.cjs.entry.js +48 -56
- package/dist/cjs/bundle-example.cjs.entry.js +2 -3
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +10 -23
- package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
- package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +3 -3
- package/dist/cjs/embedded-form.cjs.entry.js +27 -27
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +46 -53
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +4 -4
- package/dist/cjs/featured-events-slider-example.cjs.entry.js +6 -6
- package/dist/cjs/featured-list.cjs.entry.js +22 -30
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +16 -19
- package/dist/cjs/footer-form.cjs.entry.js +9 -9
- package/dist/cjs/homepage-clickable-tab.cjs.entry.js +8 -23
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +17 -28
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +21 -42
- package/dist/cjs/icon-asset.cjs.entry.js +18 -18
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +4 -4
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-mune.cjs.entry.js +3 -3
- package/dist/cjs/list-item.cjs.entry.js +8 -12
- package/dist/cjs/loader.cjs.js +1 -3
- package/dist/cjs/max-width-container.cjs.entry.js +4 -4
- package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
- package/dist/cjs/most-popular-news.cjs.entry.js +2 -2
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +17 -25
- package/dist/cjs/ptc-accordion.cjs.entry.js +10 -13
- package/dist/cjs/ptc-announcement.cjs.entry.js +15 -17
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +27 -29
- package/dist/cjs/ptc-background-video.cjs.entry.js +12 -14
- package/dist/cjs/ptc-badge.cjs.entry.js +3 -3
- package/dist/cjs/ptc-bio-card.cjs.entry.js +9 -13
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +8 -14
- package/dist/cjs/ptc-brightcov-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +87 -0
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +31 -57
- package/dist/cjs/ptc-card-content.cjs.entry.js +25 -35
- package/dist/cjs/ptc-card_2.cjs.entry.js +63 -116
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +40 -44
- package/dist/cjs/ptc-checkbox-group.cjs.entry.js +4 -4
- package/dist/cjs/ptc-checkbox.cjs.entry.js +12 -12
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +74 -87
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +57 -88
- package/dist/cjs/ptc-container.cjs.entry.js +10 -10
- package/dist/cjs/ptc-countdown.cjs.entry.js +75 -72
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +26 -63
- package/dist/cjs/ptc-date.cjs.entry.js +4 -4
- package/dist/cjs/ptc-dropdown.cjs.entry.js +19 -22
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +10 -15
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +27 -40
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +21 -30
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +7 -14
- package/dist/cjs/ptc-featured-list.cjs.entry.js +11 -9
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +68 -136
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +16 -128
- package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +32 -57
- package/dist/cjs/ptc-footer.cjs.entry.js +10 -12
- package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +891 -161
- package/dist/cjs/ptc-form-radio-button.cjs.entry.js +6 -6
- package/dist/cjs/ptc-form-radio-group.cjs.entry.js +7 -7
- package/dist/cjs/ptc-form.cjs.entry.js +35 -95
- package/dist/cjs/ptc-hero.cjs.entry.js +2 -5
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +2 -4
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +42 -69
- package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +4 -4
- package/dist/cjs/ptc-icon-card.cjs.entry.js +2 -4
- package/dist/cjs/ptc-icon-component.cjs.entry.js +11 -17
- package/dist/cjs/ptc-icon-list.cjs.entry.js +8 -7
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +27 -42
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +4 -6
- package/dist/cjs/ptc-img.cjs.entry.js +27 -31
- package/dist/cjs/ptc-info-tile.cjs.entry.js +6 -7
- package/dist/cjs/ptc-inline-cta.cjs.entry.js +31 -40
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +56 -88
- package/dist/cjs/ptc-link.cjs.entry.js +25 -29
- package/dist/cjs/ptc-list.cjs.entry.js +9 -9
- package/dist/cjs/ptc-media-card.cjs.entry.js +13 -31
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +5 -5
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +16 -22
- package/dist/cjs/ptc-modal-quiz.cjs.entry.js +20 -41
- package/dist/cjs/ptc-nav-card.cjs.entry.js +12 -6
- package/dist/cjs/ptc-nav-link.cjs.entry.js +6 -6
- package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +10 -10
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +18 -36
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +7 -4
- package/dist/cjs/ptc-news.cjs.entry.js +1 -1
- package/dist/cjs/ptc-office-location-card.cjs.entry.js +7 -7
- package/dist/cjs/ptc-office-locations.cjs.entry.js +71 -104
- package/dist/cjs/ptc-overlay.cjs.entry.js +2 -2
- package/dist/cjs/ptc-para.cjs.entry.js +127 -0
- package/dist/cjs/ptc-picture.cjs.entry.js +162 -0
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +5 -9
- package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
- package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +3 -3
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +107 -146
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +8 -10
- package/dist/cjs/ptc-product-card.cjs.entry.js +15 -14
- package/dist/cjs/ptc-product-category.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +8 -10
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +5 -5
- package/dist/cjs/ptc-product-list.cjs.entry.js +56 -68
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +38 -39
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +1 -2
- package/dist/cjs/ptc-quantity-counter.cjs.entry.js +11 -13
- package/dist/cjs/ptc-quote.cjs.entry.js +4 -6
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +7 -7
- package/dist/cjs/ptc-readmore-new.cjs.entry.js +19 -17
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +22 -22
- package/dist/cjs/ptc-readmore.cjs.entry.js +42 -48
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +71 -84
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +24 -25
- package/dist/cjs/ptc-search-field.cjs.entry.js +18 -29
- package/dist/cjs/ptc-seo-title.cjs.entry.js +8 -8
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +32 -34
- package/dist/cjs/ptc-skeleton.cjs.entry.js +3 -8
- package/dist/cjs/ptc-slit-card.cjs.entry.js +6 -10
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +2 -12
- package/dist/cjs/ptc-social-icons.cjs.entry.js +3 -3
- package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-span.cjs.entry.js +3 -3
- package/dist/cjs/ptc-square-card.cjs.entry.js +1 -5
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +1 -12
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +13 -13
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +7 -8
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav.cjs.entry.js +4 -4
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +3 -5
- package/dist/cjs/ptc-tab-list.cjs.entry.js +57 -65
- package/dist/cjs/ptc-tab.cjs.entry.js +2 -2
- package/dist/cjs/ptc-tabs.cjs.entry.js +6 -6
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +11 -22
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +10 -52
- package/dist/cjs/ptc-title.cjs.entry.js +152 -0
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +22 -28
- package/dist/cjs/ptc-tooltip-v3.cjs.entry.js +19 -24
- package/dist/cjs/ptc-tooltip.cjs.entry.js +23 -29
- 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.cjs.entry.js +2 -1
- package/dist/cjs/ptc-value-led-intro.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-layout.cjs.entry.js +48 -76
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +6 -9
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-video-embed.cjs.entry.js +19 -19
- package/dist/cjs/ptc-white-paper.cjs.entry.js +19 -28
- package/dist/cjs/ptcw-design.cjs.js +1 -3
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +15 -20
- package/dist/cjs/sequential-bundle.cjs.entry.js +1 -1
- package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +6 -6
- package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +6 -6
- package/dist/cjs/tab-content.cjs.entry.js +8 -10
- package/dist/cjs/tab-header.cjs.entry.js +5 -5
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/dropdown-item/dropdown-item.css +4 -8
- package/dist/collection/components/dropdown-item/dropdown-item.js +3 -3
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.css +4 -8
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +6 -6
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +12 -16
- package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +9 -24
- package/dist/collection/components/icon-asset/icon-asset.css +10 -26
- package/dist/collection/components/icon-asset/icon-asset.js +29 -29
- package/dist/collection/components/icon-asset/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +13 -109
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +5 -4
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +4 -8
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +2 -2
- package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.css +8 -16
- package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.js +4 -4
- package/dist/collection/components/list-item/list-item.css +4 -8
- package/dist/collection/components/list-item/list-item.js +14 -18
- package/dist/collection/components/max-width-container/max-width-container.js +7 -7
- package/dist/collection/components/my-component/my-component.js +2 -2
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +30 -32
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +6 -10
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.js +49 -58
- package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.css +4 -8
- package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.js +14 -14
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.css +4 -8
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +50 -58
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +3 -4
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +138 -147
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +22 -30
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +12 -25
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +5 -9
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +49 -56
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +10 -14
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +5 -5
- package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +4 -8
- package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.js +8 -8
- package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.css +5 -9
- package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.js +24 -24
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.css +6 -10
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +27 -27
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.css +6 -10
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +9 -9
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
- package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +36 -96
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +4 -8
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +26 -37
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +8 -12
- package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +22 -43
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.css +5 -9
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +6 -6
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.css +4 -8
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.js +1 -1
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +6 -10
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.js +5 -5
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.css +4 -8
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +4 -4
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +18 -23
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.js +7 -7
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +29 -54
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.js +7 -7
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +4 -8
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +21 -29
- package/dist/collection/components/ptc-accordion/ptc-accordion.css +9 -14
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +15 -18
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +4 -8
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +20 -22
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +4 -8
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +28 -30
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +4 -8
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +20 -22
- package/dist/collection/components/ptc-badge/ptc-badge.css +5 -10
- package/dist/collection/components/ptc-badge/ptc-badge.js +6 -6
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +14 -111
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +9 -13
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +4 -8
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +12 -18
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.css +4 -8
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +2 -2
- package/dist/collection/components/ptc-button/ptc-button.css +6 -110
- package/dist/collection/components/ptc-button/ptc-button.js +32 -80
- package/dist/collection/components/ptc-card/ptc-card.css +5 -11
- package/dist/collection/components/ptc-card/ptc-card.js +34 -100
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +4 -8
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +14 -20
- package/dist/collection/components/ptc-card-content/ptc-card-content.css +4 -8
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +28 -38
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +5 -9
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +21 -41
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +14 -109
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +41 -45
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +4 -8
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +15 -15
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.css +4 -8
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.js +7 -7
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.css +4 -8
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +2 -2
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +13 -46
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +61 -92
- package/dist/collection/components/ptc-container/ptc-container.css +4 -8
- package/dist/collection/components/ptc-container/ptc-container.js +19 -19
- package/dist/collection/components/ptc-countdown/ptc-countdown.css +4 -8
- package/dist/collection/components/ptc-countdown/ptc-countdown.js +86 -83
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.css +4 -8
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +32 -68
- package/dist/collection/components/ptc-date/ptc-date.css +4 -8
- package/dist/collection/components/ptc-date/ptc-date.js +9 -9
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +4 -8
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +22 -25
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +12 -23
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +15 -20
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +4 -8
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +29 -42
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +5 -9
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +22 -32
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +7 -11
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +9 -16
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.css +4 -8
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +2 -5
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +4 -8
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +15 -15
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.css +4 -8
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +2 -2
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +13 -109
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +11 -9
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +4 -20
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +14 -49
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +32 -149
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +17 -129
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +4 -8
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +18 -18
- package/dist/collection/components/ptc-footer/ptc-footer-v2.css +13 -26
- package/dist/collection/components/ptc-footer/ptc-footer.js +11 -13
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +6 -10
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +17 -21
- package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.css +4 -8
- package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.js +7 -7
- package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.css +4 -8
- package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.js +8 -8
- package/dist/collection/components/ptc-hero/ptc-hero.css +4 -8
- package/dist/collection/components/ptc-hero/ptc-hero.js +5 -8
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.css +5 -10
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +1 -1
- package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.css +4 -8
- package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.js +4 -6
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +8 -16
- package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +45 -72
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +4 -8
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +4 -6
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +4 -8
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +14 -19
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +4 -8
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +14 -13
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +4 -8
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +28 -43
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +4 -8
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +5 -7
- package/dist/collection/components/ptc-img/ptc-img.css +4 -8
- package/dist/collection/components/ptc-img/ptc-img.js +39 -43
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +8 -16
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +7 -26
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +5 -9
- package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.js +33 -42
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +14 -110
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +59 -91
- package/dist/collection/components/ptc-link/ptc-link.css +9 -16
- package/dist/collection/components/ptc-link/ptc-link.js +33 -37
- package/dist/collection/components/ptc-list/ptc-list.css +4 -8
- package/dist/collection/components/ptc-list/ptc-list.js +12 -12
- package/dist/collection/components/ptc-media-card/ptc-media-card.css +5 -9
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +19 -37
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +4 -8
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +10 -10
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +6 -12
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +21 -27
- package/dist/collection/components/ptc-modal/ptc-modal.css +8 -8
- package/dist/collection/components/ptc-modal/ptc-modal.js +82 -95
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +4 -8
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +21 -42
- package/dist/collection/components/ptc-multi-select/ptc-multi-select.css +7 -11
- package/dist/collection/components/ptc-multi-select/ptc-multi-select.js +50 -105
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +4 -8
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +15 -9
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.css +4 -8
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +1 -1
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +6 -10
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +10 -10
- package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.css +4 -8
- package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.js +2 -2
- package/dist/collection/components/ptc-news/ptc-news.css +4 -8
- package/dist/collection/components/ptc-news/ptc-news.js +2 -2
- package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.css +4 -8
- package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.js +12 -12
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.css +4 -8
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +81 -114
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +8 -12
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +6 -6
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +12 -25
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +20 -45
- package/dist/collection/components/ptc-para/ptc-para.css +7 -8
- package/dist/collection/components/ptc-para/ptc-para.js +50 -61
- package/dist/collection/components/ptc-picture/ptc-picture.css +4 -8
- package/dist/collection/components/ptc-picture/ptc-picture.js +49 -55
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +13 -109
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +2 -2
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.css +4 -8
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.js +6 -10
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +21 -136
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +37 -42
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +20 -8
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +28 -2
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +4 -8
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +4 -4
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.css +4 -8
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +4 -4
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +4 -8
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +4 -4
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +6 -10
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +109 -149
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +4 -8
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +10 -12
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +13 -109
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +15 -14
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +13 -109
- package/dist/collection/components/ptc-product-category/ptc-product-category.js +2 -2
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +4 -8
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +9 -11
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +13 -109
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +7 -7
- package/dist/collection/components/ptc-product-list/ptc-product-list.css +4 -8
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +57 -69
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +4 -8
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +40 -41
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.css +4 -8
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +2 -3
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +4 -8
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.js +14 -16
- package/dist/collection/components/ptc-quote/ptc-quote.css +5 -10
- package/dist/collection/components/ptc-quote/ptc-quote.js +8 -10
- package/dist/collection/components/ptc-readmore/ptc-readmore.css +4 -8
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +56 -62
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +13 -109
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +7 -7
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.css +4 -8
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.js +20 -18
- package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.css +4 -8
- package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.js +14 -10
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +13 -109
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.js +24 -24
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +4 -9
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +73 -107
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +2 -2
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.css +4 -8
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +28 -29
- package/dist/collection/components/ptc-search-field/ptc-search-field.css +4 -8
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +22 -32
- package/dist/collection/components/ptc-select/ptc-select.css +8 -12
- package/dist/collection/components/ptc-select/ptc-select.js +294 -300
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.css +4 -8
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +24 -24
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +4 -8
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +38 -40
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.css +4 -8
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.js +1 -1
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +4 -8
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +5 -10
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +4 -8
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +9 -13
- package/dist/collection/components/ptc-social-icons/ptc-social-icons.css +4 -8
- package/dist/collection/components/ptc-social-icons/ptc-social-icons.js +10 -10
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +4 -8
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +12 -22
- package/dist/collection/components/ptc-social-share/ptc-social-share.css +4 -8
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +35 -54
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +21 -21
- package/dist/collection/components/ptc-span/ptc-span.css +4 -8
- package/dist/collection/components/ptc-span/ptc-span.js +10 -10
- package/dist/collection/components/ptc-square-card/ptc-square-card.css +4 -8
- package/dist/collection/components/ptc-square-card/ptc-square-card.js +3 -7
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.css +4 -8
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +2 -13
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.css +4 -8
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +14 -14
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.css +4 -8
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +10 -11
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +4 -8
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +12 -14
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +4 -8
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +59 -67
- package/dist/collection/components/ptc-tabs/ptc-tab.js +3 -3
- package/dist/collection/components/ptc-tabs/ptc-tabs.css +4 -8
- package/dist/collection/components/ptc-tabs/ptc-tabs.js +7 -7
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +4 -8
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +16 -27
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +11 -80
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +107 -177
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +6 -16
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +7 -7
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +4 -23
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +12 -78
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.css +4 -8
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +28 -42
- package/dist/collection/components/ptc-title/ptc-title.css +4 -8
- package/dist/collection/components/ptc-title/ptc-title.js +64 -73
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +4 -8
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +37 -43
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +13 -109
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.js +28 -34
- package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.css +4 -8
- package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.js +27 -32
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.css +4 -8
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +3 -3
- package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.css +4 -8
- package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.js +2 -2
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.css +4 -8
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +3 -2
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.css +4 -8
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +1 -1
- package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.css +4 -8
- package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.js +2 -2
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.css +4 -8
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +49 -77
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +13 -109
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +6 -9
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +4 -8
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +4 -4
- package/dist/collection/components/ptc-video-embed/ptc-video-embed.css +4 -8
- package/dist/collection/components/ptc-video-embed/ptc-video-embed.js +23 -23
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +20 -126
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +19 -28
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +4 -8
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +8 -8
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +4 -8
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +19 -37
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +4 -8
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +8 -5
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +4 -8
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +6 -6
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.css +4 -8
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +2 -2
- package/dist/collection/components/tab-content/tab-content.css +5 -18
- package/dist/collection/components/tab-content/tab-content.js +9 -11
- package/dist/collection/components/tab-header/tab-header.css +5 -10
- package/dist/collection/components/tab-header/tab-header.js +6 -6
- package/dist/collection/stories/Checkbox.stories.js +45 -13
- package/dist/collection/stories/Hero.stories.js +107 -22
- package/dist/collection/stories/Select.stories.js +68 -17
- package/dist/collection/stories/SocialShare.stories.js +51 -67
- package/dist/collection/stories/TextCopyWithBackground.stories.js +220 -78
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
- package/dist/collection/utils/validation-messages.js +2 -49
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +3292 -4483
- package/dist/esm/academic-form-test.entry.js +24 -24
- package/dist/esm/author-listing-example.entry.js +29 -31
- package/dist/esm/blog-detail-content_2.entry.js +62 -67
- package/dist/esm/blog-detail-layout.entry.js +13 -13
- package/dist/esm/blogs-search-section.entry.js +49 -57
- package/dist/esm/bundle-example.entry.js +2 -3
- package/dist/esm/bundle-jumbotron-example.entry.js +10 -23
- package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +3 -3
- package/dist/esm/embedded-form.entry.js +27 -27
- package/dist/esm/event-jumbotron-example.entry.js +46 -53
- package/dist/esm/event-podcast-slider-example.entry.js +4 -4
- package/dist/esm/featured-events-slider-example.entry.js +6 -6
- package/dist/esm/featured-list.entry.js +22 -30
- package/dist/esm/fl-tab-content_3.entry.js +16 -19
- package/dist/esm/footer-form.entry.js +9 -9
- package/dist/esm/homepage-clickable-tab.entry.js +8 -23
- package/dist/esm/homepage-jumbotron.entry.js +18 -29
- package/dist/esm/homepage-toggled-content.entry.js +22 -43
- package/dist/esm/icon-asset.entry.js +18 -18
- package/dist/esm/innovator-toggle-container.entry.js +4 -4
- package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/jumbotron-sub-mune.entry.js +3 -3
- package/dist/esm/list-item.entry.js +8 -12
- package/dist/esm/loader.js +1 -3
- package/dist/esm/max-width-container.entry.js +4 -4
- package/dist/esm/modal-form-example.entry.js +90 -0
- package/dist/esm/most-popular-news.entry.js +3 -3
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +18 -26
- package/dist/esm/ptc-accordion.entry.js +10 -13
- package/dist/esm/ptc-announcement.entry.js +15 -17
- package/dist/esm/ptc-back-to-top.entry.js +27 -29
- package/dist/esm/ptc-background-video.entry.js +13 -15
- package/dist/esm/ptc-badge.entry.js +3 -3
- package/dist/esm/ptc-bio-card.entry.js +9 -13
- package/dist/esm/ptc-breadcrumb.entry.js +8 -14
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +83 -0
- package/dist/esm/ptc-card-bottom_2.entry.js +31 -57
- package/dist/esm/ptc-card-content.entry.js +25 -35
- package/dist/esm/ptc-card_2.entry.js +63 -116
- package/dist/esm/ptc-case-studies-slider.entry.js +40 -44
- package/dist/esm/ptc-checkbox-group.entry.js +4 -4
- package/dist/esm/ptc-checkbox.entry.js +12 -12
- package/dist/esm/ptc-close-icon_2.entry.js +74 -87
- package/dist/esm/ptc-collapse-list.entry.js +58 -89
- package/dist/esm/ptc-container.entry.js +10 -10
- package/dist/esm/ptc-countdown.entry.js +75 -72
- package/dist/esm/ptc-data-lookup.entry.js +26 -63
- package/dist/esm/ptc-date.entry.js +4 -4
- package/dist/esm/ptc-dropdown.entry.js +19 -22
- package/dist/esm/ptc-dynamic-card.entry.js +10 -15
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +27 -40
- package/dist/esm/ptc-embedded-quiz.entry.js +21 -30
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +7 -14
- package/dist/esm/ptc-featured-list.entry.js +11 -9
- package/dist/esm/ptc-filter-dropdown_4.entry.js +68 -136
- package/dist/esm/ptc-filter-level-theater.entry.js +16 -128
- package/dist/esm/ptc-filter-tag_2.entry.js +32 -57
- package/dist/esm/ptc-footer.entry.js +10 -12
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +890 -162
- package/dist/esm/ptc-form-radio-button.entry.js +6 -6
- package/dist/esm/ptc-form-radio-group.entry.js +7 -7
- package/dist/esm/ptc-form.entry.js +35 -95
- package/dist/esm/ptc-hero.entry.js +2 -5
- package/dist/esm/ptc-homepage-image-feature.entry.js +3 -5
- package/dist/esm/ptc-homepage-video-background.entry.js +43 -70
- package/dist/esm/ptc-icon-card-slider-example.entry.js +4 -4
- package/dist/esm/ptc-icon-card.entry.js +3 -5
- package/dist/esm/ptc-icon-component.entry.js +11 -17
- package/dist/esm/ptc-icon-list.entry.js +8 -7
- package/dist/esm/ptc-icon-minimize.entry.js +27 -42
- package/dist/esm/ptc-image-download-strip.entry.js +4 -6
- package/dist/esm/ptc-img.entry.js +28 -32
- package/dist/esm/ptc-info-tile.entry.js +6 -7
- package/dist/esm/ptc-inline-cta.entry.js +31 -40
- package/dist/esm/ptc-jumbotron.entry.js +56 -88
- package/dist/esm/ptc-link.entry.js +26 -30
- package/dist/esm/ptc-list.entry.js +9 -9
- package/dist/esm/ptc-media-card.entry.js +14 -32
- package/dist/esm/ptc-minimized-nav.entry.js +5 -5
- package/dist/esm/ptc-mobile-select.entry.js +16 -22
- package/dist/esm/ptc-modal-quiz.entry.js +20 -41
- package/dist/esm/ptc-nav-card.entry.js +12 -6
- package/dist/esm/ptc-nav-link.entry.js +6 -6
- package/dist/esm/ptc-nav-skip-to-content.entry.js +10 -10
- package/dist/esm/ptc-nav-slider.entry.js +18 -36
- package/dist/esm/ptc-nav-submenu.entry.js +7 -4
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +7 -7
- package/dist/esm/ptc-office-locations.entry.js +71 -104
- package/dist/esm/ptc-overlay.entry.js +2 -2
- package/dist/esm/ptc-para.entry.js +123 -0
- package/dist/esm/ptc-picture.entry.js +158 -0
- package/dist/esm/ptc-podcast-card.entry.js +2 -2
- package/dist/esm/ptc-preferance-center-form.entry.js +5 -9
- package/dist/esm/ptc-previous-url.entry.js +10 -2
- package/dist/esm/ptc-pricing-add-on-card.entry.js +3 -3
- package/dist/esm/ptc-pricing-add-on-section.entry.js +3 -3
- package/dist/esm/ptc-pricing-block.entry.js +3 -3
- package/dist/esm/ptc-pricing-packaging-table.entry.js +108 -147
- package/dist/esm/ptc-pricing-tabs.entry.js +9 -11
- package/dist/esm/ptc-product-card.entry.js +15 -14
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +8 -10
- package/dist/esm/ptc-product-highlight-card.entry.js +5 -5
- package/dist/esm/ptc-product-list.entry.js +56 -68
- package/dist/esm/ptc-product-sidebar.entry.js +38 -39
- package/dist/esm/ptc-progress-bar.entry.js +1 -2
- package/dist/esm/ptc-quantity-counter.entry.js +11 -13
- package/dist/esm/ptc-quote.entry.js +4 -6
- package/dist/esm/ptc-readmore-char.entry.js +7 -7
- package/dist/esm/ptc-readmore-new.entry.js +19 -17
- package/dist/esm/ptc-readmore-v3.entry.js +22 -22
- package/dist/esm/ptc-readmore.entry.js +42 -48
- package/dist/esm/ptc-related-card-rail.entry.js +71 -84
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-scroll-button.entry.js +24 -25
- package/dist/esm/ptc-search-field.entry.js +18 -29
- package/dist/esm/ptc-seo-title.entry.js +8 -8
- package/dist/esm/ptc-shopping-cart.entry.js +32 -34
- package/dist/esm/ptc-skeleton.entry.js +3 -8
- package/dist/esm/ptc-slit-card.entry.js +6 -10
- package/dist/esm/ptc-social-icons-footer.entry.js +3 -13
- package/dist/esm/ptc-social-icons.entry.js +3 -3
- package/dist/esm/ptc-spacer.entry.js +34 -0
- package/dist/esm/ptc-span.entry.js +3 -3
- package/dist/esm/ptc-square-card.entry.js +1 -5
- package/dist/esm/ptc-sticky-icons.entry.js +1 -12
- package/dist/esm/ptc-sticky-section.entry.js +13 -13
- package/dist/esm/ptc-sticky-title.entry.js +7 -8
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +4 -4
- package/dist/esm/ptc-svg-btn.entry.js +3 -5
- package/dist/esm/ptc-tab-list.entry.js +57 -65
- package/dist/esm/ptc-tab.entry.js +2 -2
- package/dist/esm/ptc-tabs.entry.js +6 -6
- package/dist/esm/ptc-text-copy-with-background.entry.js +12 -23
- package/dist/esm/ptc-theater-video-modal.entry.js +11 -53
- package/dist/esm/ptc-title.entry.js +148 -0
- package/dist/esm/ptc-tooltip-v2.entry.js +22 -28
- package/dist/esm/ptc-tooltip-v3.entry.js +19 -24
- package/dist/esm/ptc-tooltip.entry.js +23 -29
- 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.entry.js +2 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +48 -76
- package/dist/esm/ptc-value-led-speed-bump.entry.js +6 -9
- package/dist/esm/ptc-value-prop-card.entry.js +2 -2
- package/dist/esm/ptc-video-embed.entry.js +19 -19
- package/dist/esm/ptc-white-paper.entry.js +19 -28
- package/dist/esm/ptcw-design.js +1 -3
- package/dist/esm/sequential-bundle-example.entry.js +15 -20
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +6 -6
- package/dist/esm/storefront-enhanced-product-list-example.entry.js +6 -6
- package/dist/esm/tab-content.entry.js +8 -10
- package/dist/esm/tab-header.entry.js +5 -5
- package/dist/esm/{utils-7c68b88a.js → utils-2f12c081.js} +1 -1
- package/dist/ptcw-design/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
- package/dist/ptcw-design/{p-e93714e9.entry.js → p-008307a6.entry.js} +1 -1
- package/dist/ptcw-design/p-0529caaa.entry.js +1 -0
- package/dist/ptcw-design/p-077839d5.entry.js +1 -0
- package/dist/ptcw-design/{p-f7c47857.entry.js → p-0b515839.entry.js} +1 -1
- package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
- package/dist/ptcw-design/p-0e5932f0.entry.js +1 -0
- package/dist/ptcw-design/p-0ef61b44.entry.js +1 -0
- package/dist/ptcw-design/{p-62abacfe.entry.js → p-14b7693f.entry.js} +1 -1
- package/dist/ptcw-design/p-1e3bf09c.entry.js +1 -0
- package/dist/ptcw-design/p-1eb40265.entry.js +1 -0
- package/dist/ptcw-design/p-21aa746d.entry.js +1 -0
- package/dist/ptcw-design/{p-673cfd2e.entry.js → p-257267e3.entry.js} +1 -1
- package/dist/ptcw-design/p-282b7d4e.entry.js +1 -0
- package/dist/ptcw-design/{p-cced4ea1.entry.js → p-297a14cb.entry.js} +1 -1
- package/dist/ptcw-design/p-2a20d4a6.entry.js +1 -0
- package/dist/ptcw-design/p-2cc7e2a8.entry.js +1 -0
- package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
- package/dist/ptcw-design/p-3dd0ded9.entry.js +1 -0
- package/dist/ptcw-design/{p-5ca42138.entry.js → p-3ed4a7ed.entry.js} +1 -1
- package/dist/ptcw-design/p-3ee2a531.entry.js +1 -0
- package/dist/ptcw-design/p-445329ed.entry.js +1 -0
- package/dist/ptcw-design/{p-16d47ac5.entry.js → p-45b1f3fc.entry.js} +1 -1
- package/dist/ptcw-design/{p-03062b58.entry.js → p-4702c233.entry.js} +1 -1
- package/dist/ptcw-design/{p-1c99b808.entry.js → p-4ca956c1.entry.js} +1 -1
- package/dist/ptcw-design/{p-55e344bc.entry.js → p-52e17d34.entry.js} +1 -1
- package/dist/ptcw-design/p-5311c6e1.entry.js +1 -0
- package/dist/ptcw-design/p-58e91cb8.entry.js +1 -0
- package/dist/ptcw-design/p-672a349f.js +336 -0
- package/dist/ptcw-design/{p-9354b7fd.entry.js → p-68ed2afe.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
- package/dist/ptcw-design/{p-9e4e21a4.entry.js → p-71360e29.entry.js} +1 -1
- package/dist/ptcw-design/p-75390f63.entry.js +1 -0
- package/dist/ptcw-design/{p-e813ea2b.entry.js → p-76dab076.entry.js} +1 -1
- package/dist/ptcw-design/p-799afee5.entry.js +1 -0
- package/dist/ptcw-design/p-7bdf1e64.entry.js +1 -0
- package/dist/ptcw-design/{p-d77531c8.entry.js → p-7cc9255e.entry.js} +1 -1
- package/dist/ptcw-design/p-7f9ad266.entry.js +1 -0
- package/dist/ptcw-design/{p-826c17e8.js → p-80122e26.js} +1 -1
- package/dist/ptcw-design/p-845d10b5.entry.js +1 -0
- package/dist/ptcw-design/{p-36ee2e12.entry.js → p-8521fdd4.entry.js} +1 -1
- package/dist/ptcw-design/p-85bdb2d5.entry.js +68 -0
- package/dist/ptcw-design/{p-a5ad0eff.entry.js → p-8c121480.entry.js} +1 -1
- package/dist/ptcw-design/{p-5bd8b4be.entry.js → p-8cea8943.entry.js} +1 -1
- package/dist/ptcw-design/{p-94be2c9a.entry.js → p-8e42a22d.entry.js} +1 -1
- package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
- package/dist/ptcw-design/{p-0252726c.entry.js → p-901c31b3.entry.js} +1 -1
- package/dist/ptcw-design/p-9501995f.entry.js +1 -0
- package/dist/ptcw-design/{p-884c335c.entry.js → p-99355e65.entry.js} +1 -1
- package/dist/ptcw-design/{p-e03d7060.entry.js → p-9d3a7f36.entry.js} +1 -1
- package/dist/ptcw-design/{p-2ba1ef9d.entry.js → p-9dbcfcee.entry.js} +1 -1
- package/dist/ptcw-design/p-9df7489b.entry.js +1 -0
- package/dist/ptcw-design/{p-ee91170c.entry.js → p-a2c7df64.entry.js} +1 -1
- package/dist/ptcw-design/p-a59c9cdc.entry.js +1 -0
- package/dist/ptcw-design/{p-24a6eefa.entry.js → p-a5fc048f.entry.js} +1 -1
- package/dist/ptcw-design/p-a8872ce3.entry.js +1 -0
- package/dist/ptcw-design/{p-1a9b9a53.entry.js → p-b647f7a1.entry.js} +1 -1
- package/dist/ptcw-design/p-b685a641.entry.js +1 -0
- package/dist/ptcw-design/{p-f5d8a3b1.entry.js → p-bab5bb88.entry.js} +1 -1
- package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
- package/dist/ptcw-design/{p-e01173ca.entry.js → p-bf56d5a3.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f4f97a6.entry.js → p-c8f68292.entry.js} +1 -1
- package/dist/ptcw-design/{p-ce121fb3.entry.js → p-cc677723.entry.js} +1 -1
- package/dist/ptcw-design/{p-80588c84.entry.js → p-d51438de.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac766cb3.entry.js → p-d66debb3.entry.js} +1 -1
- package/dist/ptcw-design/{p-2a3c8a30.entry.js → p-d73cc053.entry.js} +1 -1
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/{p-1bffeaed.entry.js → p-dfb400ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-2c8faf9a.entry.js → p-e43c30c9.entry.js} +1 -1
- package/dist/ptcw-design/p-e4eb925f.entry.js +1 -0
- package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
- package/dist/ptcw-design/{p-8b480abd.entry.js → p-e90fbbad.entry.js} +1 -1
- package/dist/ptcw-design/p-f1734520.entry.js +1 -0
- package/dist/ptcw-design/{p-0ddf2a09.entry.js → p-f867ebe6.entry.js} +1 -1
- package/dist/ptcw-design/{p-5e4c1edf.entry.js → p-fd87fcd5.entry.js} +1 -1
- package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
- package/dist/ptcw-design/p-fe907670.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -8
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/homepage-clickable-tab/homepage-clickable-tab.d.ts +1 -1
- package/dist/types/components/icon-asset/icon-asset.d.ts +6 -6
- package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +2 -2
- package/dist/types/components/jumbotron-sub-menu/jumbotron-sub-menu.d.ts +1 -1
- package/dist/types/components/list-item/list-item.d.ts +2 -2
- package/dist/types/components/max-width-container/max-width-container.d.ts +1 -1
- package/dist/types/components/organism-bundles/blog-detail-content/blog-detail-content.d.ts +1 -1
- package/dist/types/components/organism-bundles/blog-detail-layout/blog-detail-layout.d.ts +1 -1
- package/dist/types/components/organism-bundles/blogs-search-section/blogs-search-section.d.ts +1 -1
- package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.d.ts +2 -2
- package/dist/types/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +2 -2
- package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.d.ts +1 -1
- package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.d.ts +1 -1
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +1 -1
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +2 -2
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +3 -3
- package/dist/types/components/ptc-badge/ptc-badge.d.ts +1 -1
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +2 -2
- package/dist/types/components/ptc-button/ptc-button.d.ts +11 -12
- package/dist/types/components/ptc-card/ptc-card.d.ts +3 -4
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +2 -2
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +3 -3
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -2
- package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +1 -1
- package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +2 -2
- package/dist/types/components/ptc-checkbox-group/ptc-checkbox-group.d.ts +1 -1
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +1 -1
- package/dist/types/components/ptc-container/ptc-container.d.ts +4 -4
- package/dist/types/components/ptc-countdown/ptc-countdown.d.ts +1 -0
- package/dist/types/components/ptc-date/ptc-date.d.ts +2 -2
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +2 -2
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +3 -3
- package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +1 -1
- package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +5 -5
- package/dist/types/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.d.ts +2 -2
- package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +1 -1
- package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +2 -3
- package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +1 -1
- package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +4 -4
- package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +4 -4
- package/dist/types/components/ptc-form-radio-button/ptc-form-radio-button.d.ts +1 -1
- package/dist/types/components/ptc-form-radio-group/ptc-form-radio-group.d.ts +1 -1
- package/dist/types/components/ptc-hero/ptc-hero.d.ts +2 -2
- package/dist/types/components/ptc-homepage-video-background/ptc-homepage-video-background.d.ts +1 -1
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +1 -1
- package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +9 -9
- package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +4 -4
- package/dist/types/components/ptc-img/ptc-img.d.ts +5 -5
- package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +2 -3
- package/dist/types/components/ptc-inline-cta/ptc-inline-cta.d.ts +1 -1
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +1 -2
- package/dist/types/components/ptc-link/ptc-link.d.ts +4 -4
- package/dist/types/components/ptc-list/ptc-list.d.ts +1 -1
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +2 -2
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +2 -2
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +5 -5
- package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +3 -3
- package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +2 -2
- package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +11 -11
- package/dist/types/components/ptc-news/ptc-news.d.ts +6 -6
- package/dist/types/components/ptc-office-location-card/ptc-office-location-card.d.ts +1 -1
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +3 -3
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +2 -2
- package/dist/types/components/ptc-para/ptc-para.d.ts +13 -13
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +7 -7
- package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +4 -4
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +2 -2
- package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +4 -4
- package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +2 -2
- package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +2 -2
- package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +9 -9
- package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +1 -1
- package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +10 -10
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +1 -1
- package/dist/types/components/ptc-quantity-counter/ptc-quantity-counter.d.ts +1 -1
- package/dist/types/components/ptc-quote/ptc-quote.d.ts +1 -1
- package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +23 -23
- package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +1 -1
- package/dist/types/components/ptc-readmore-new/ptc-readmore-new.d.ts +1 -1
- package/dist/types/components/ptc-readmore-v2/ptc-readmore-v2.d.ts +1 -1
- package/dist/types/components/ptc-readmore-v3/ptc-readmore-v3.d.ts +1 -1
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +1 -4
- package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +2 -2
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +2 -2
- package/dist/types/components/ptc-select/ptc-select.d.ts +4 -5
- package/dist/types/components/ptc-seo-title/ptc-seo-title.d.ts +10 -10
- package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +1 -1
- package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +8 -8
- package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +11 -11
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +3 -3
- package/dist/types/components/ptc-span/ptc-span.d.ts +3 -3
- package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +1 -1
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +1 -1
- package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +3 -3
- package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +1 -1
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +19 -21
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +7 -7
- package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +2 -2
- package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +1 -6
- package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +1 -1
- package/dist/types/components/ptc-title/ptc-title.d.ts +15 -15
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +6 -6
- package/dist/types/components/ptc-tooltip-v2/ptc-tooltip-v2.d.ts +3 -3
- package/dist/types/components/ptc-tooltip-v3/ptc-tooltip-v3.d.ts +7 -7
- package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +1 -1
- package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +2 -2
- package/dist/types/components/ptc-video-embed/ptc-video-embed.d.ts +1 -1
- package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +2 -2
- package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +1 -1
- package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +1 -1
- package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +6 -6
- package/dist/types/components/tab-header/tab-header.d.ts +3 -3
- package/dist/types/components.d.ts +602 -1093
- package/dist/types/utils/validation-messages.d.ts +123 -4
- package/package.json +2 -4
- package/readme.md +5 -1
- package/dist/cjs/component-1b8ad4d2.js +0 -1819
- package/dist/cjs/global-418c14b4.js +0 -33
- package/dist/cjs/ptc-button_5.cjs.entry.js +0 -597
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
- package/dist/cjs/validation-messages-f1d373e7.js +0 -172
- package/dist/collection/global/global.js +0 -7
- package/dist/collection/stories/Breadcrumb2.stories.js +0 -62
- package/dist/collection/stories/BrightcovVideo.stories.js +0 -21
- package/dist/collection/stories/CheckboxGroup.stories.js +0 -27
- package/dist/collection/stories/CloseIcon.stories.js +0 -10
- package/dist/collection/stories/CollapseList.stories.js +0 -14
- package/dist/collection/stories/Countdown.stories.js +0 -10
- package/dist/collection/stories/DataLookup.stories.js +0 -21
- package/dist/collection/stories/EllipsisDropdown.stories.js +0 -14
- package/dist/collection/stories/HeroFooterCTA.stories.js +0 -21
- package/dist/collection/stories/MinimizedFooter.stories.js +0 -18
- package/dist/collection/stories/MultiSelect.stories.js +0 -10
- package/dist/collection/stories/ResponsiveWrapper.stories.js +0 -21
- package/dist/collection/stories/ScrollButton.stories.js +0 -14
- package/dist/collection/stories/SearchField.stories.js +0 -21
- package/dist/collection/stories/SvgBtn.stories.js +0 -36
- package/dist/collection/stories/TheaterVideo.stories.js +0 -21
- package/dist/collection/stories/VideoEmbed.stories.js +0 -10
- package/dist/collection/stories/backToTop.stories.js +0 -10
- package/dist/collection/stories/backgroundVideo.stories.js +0 -115
- package/dist/collection/stories/jumbotronSubMenu.stories.js +0 -14
- package/dist/collection/stories/organisms/ptc/Academic Form/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/All Products/preview.stories.js +0 -1616
- package/dist/collection/stories/organisms/ptc/Announcement/preview.stories.js +0 -58
- package/dist/collection/stories/organisms/ptc/Background Video/preview.stories.js +0 -58
- package/dist/collection/stories/organisms/ptc/Blog Author Listing/preview.stories.js +0 -32
- package/dist/collection/stories/organisms/ptc/Blog Content/preview.stories.js +0 -317
- package/dist/collection/stories/organisms/ptc/Blog Detail/preview.stories.js +0 -500
- package/dist/collection/stories/organisms/ptc/Blogs Listing Page/preview.stories.js +0 -368
- package/dist/collection/stories/organisms/ptc/Bureau New Dynamic/preview.stories.js +0 -54
- package/dist/collection/stories/organisms/ptc/Case Studies/preview.stories.js +0 -243
- package/dist/collection/stories/organisms/ptc/Case Studies Detail Page/preview.stories.js +0 -456
- package/dist/collection/stories/organisms/ptc/Case Studies Slider/preview.stories.js +0 -384
- package/dist/collection/stories/organisms/ptc/Case Studies Slider New/preview.stories.js +0 -171
- package/dist/collection/stories/organisms/ptc/Clq Modal Quiz/preview.stories.js +0 -100
- package/dist/collection/stories/organisms/ptc/Contact Free Trial Form/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/Countdown Example/preview.stories.js +0 -29
- package/dist/collection/stories/organisms/ptc/E Store Build Listing/preview.stories.js +0 -543
- package/dist/collection/stories/organisms/ptc/E Store Build Product/preview.stories.js +0 -427
- package/dist/collection/stories/organisms/ptc/Eloqua Library Contact Info/preview.stories.js +0 -168
- package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor PCenter/preview.stories.js +0 -60
- package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor Recipient Id/preview.stories.js +0 -59
- package/dist/collection/stories/organisms/ptc/Embedded Form/preview.stories.js +0 -23
- package/dist/collection/stories/organisms/ptc/Embedded Form Floating/preview.stories.js +0 -165
- package/dist/collection/stories/organisms/ptc/Event Detail/preview.stories.js +0 -16
- package/dist/collection/stories/organisms/ptc/Event Jumbotron/preview.stories.js +0 -470
- package/dist/collection/stories/organisms/ptc/Event Podcast Slider/preview.stories.js +0 -142
- package/dist/collection/stories/organisms/ptc/Events Listing Cards/preview.stories.js +0 -169
- package/dist/collection/stories/organisms/ptc/Events Listing Cards Horizontal/preview.stories.js +0 -169
- package/dist/collection/stories/organisms/ptc/Featured Events Slider/preview.stories.js +0 -165
- package/dist/collection/stories/organisms/ptc/Featured List/preview.stories.js +0 -16
- package/dist/collection/stories/organisms/ptc/Filter Level Theater/preview.stories.js +0 -18
- package/dist/collection/stories/organisms/ptc/Five Card Value Prop/preview.stories.js +0 -64
- package/dist/collection/stories/organisms/ptc/Footer Form/preview.stories.js +0 -18
- package/dist/collection/stories/organisms/ptc/Footer V2/preview.stories.js +0 -138
- package/dist/collection/stories/organisms/ptc/Footer V2 Cn/preview.stories.js +0 -146
- package/dist/collection/stories/organisms/ptc/Form Radio Button/preview.stories.js +0 -42
- package/dist/collection/stories/organisms/ptc/Framed Video 16 9/preview.stories.js +0 -31
- package/dist/collection/stories/organisms/ptc/Homepage Image Feature/preview.stories.js +0 -41
- package/dist/collection/stories/organisms/ptc/Homepage Jumbotron/preview.stories.js +0 -166
- package/dist/collection/stories/organisms/ptc/Homepage Toggled Content/preview.stories.js +0 -227
- package/dist/collection/stories/organisms/ptc/Hub Of Hubs/preview.stories.js +0 -417
- package/dist/collection/stories/organisms/ptc/Intro/preview.stories.js +0 -41
- package/dist/collection/stories/organisms/ptc/Jumbotron/preview.stories.js +0 -431
- package/dist/collection/stories/organisms/ptc/Jumbotron With Logos/preview.stories.js +0 -431
- package/dist/collection/stories/organisms/ptc/Large Bulleted List/preview.stories.js +0 -224
- package/dist/collection/stories/organisms/ptc/Large Bulleted List V2/preview.stories.js +0 -326
- package/dist/collection/stories/organisms/ptc/Listing Filter/preview.stories.js +0 -256
- package/dist/collection/stories/organisms/ptc/Main Nav Product Solutions Tab/preview.stories.js +0 -200
- package/dist/collection/stories/organisms/ptc/Mathcad Start Page/preview.stories.js +0 -100
- package/dist/collection/stories/organisms/ptc/Media Kit Speed Bump/preview.stories.js +0 -39
- package/dist/collection/stories/organisms/ptc/Most Popular News/preview.stories.js +0 -28
- package/dist/collection/stories/organisms/ptc/Mvc Form/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/New Buttons/preview.stories.js +0 -125
- package/dist/collection/stories/organisms/ptc/Partners Detail/preview.stories.js +0 -151
- package/dist/collection/stories/organisms/ptc/Partners Listing/preview.stories.js +0 -394
- package/dist/collection/stories/organisms/ptc/Pdf Portal/preview.stories.js +0 -140
- package/dist/collection/stories/organisms/ptc/Plm On Demand 1/preview.stories.js +0 -205
- package/dist/collection/stories/organisms/ptc/Plm On Demand 2/preview.stories.js +0 -180
- package/dist/collection/stories/organisms/ptc/Podcast List/preview.stories.js +0 -175
- package/dist/collection/stories/organisms/ptc/Preference Center/preview.stories.js +0 -235
- package/dist/collection/stories/organisms/ptc/Preference Center Exit Page/preview.stories.js +0 -85
- package/dist/collection/stories/organisms/ptc/Preference Center Update Email/preview.stories.js +0 -54
- package/dist/collection/stories/organisms/ptc/Preference Center Update Personal Info/preview.stories.js +0 -59
- package/dist/collection/stories/organisms/ptc/Pricing Packaging Table/preview.stories.js +0 -399
- package/dist/collection/stories/organisms/ptc/Pricing Packaging Table Subnav/preview.stories.js +0 -179
- package/dist/collection/stories/organisms/ptc/Ptc 3 Card Value Prop/preview.stories.js +0 -46
- package/dist/collection/stories/organisms/ptc/Ptc Bio Cards/preview.stories.js +0 -741
- package/dist/collection/stories/organisms/ptc/Ptc Creo Start Page/preview.stories.js +0 -111
- package/dist/collection/stories/organisms/ptc/Ptc Editorial/preview.stories.js +0 -84
- package/dist/collection/stories/organisms/ptc/Ptc Form/preview.stories.js +0 -18
- package/dist/collection/stories/organisms/ptc/Ptc Icon Card Slider/preview.stories.js +0 -121
- package/dist/collection/stories/organisms/ptc/Ptc Icon Component/preview.stories.js +0 -185
- package/dist/collection/stories/organisms/ptc/Ptc Icon Sprites/preview.stories.js +0 -150
- package/dist/collection/stories/organisms/ptc/Ptc Innovator Toggle/preview.stories.js +0 -421
- package/dist/collection/stories/organisms/ptc/Ptc Media Cards/preview.stories.js +0 -133
- package/dist/collection/stories/organisms/ptc/Ptc News Detail/preview.stories.js +0 -142
- package/dist/collection/stories/organisms/ptc/Ptc News Detail Alternate/preview.stories.js +0 -140
- package/dist/collection/stories/organisms/ptc/Ptc Offices/preview.stories.js +0 -405
- package/dist/collection/stories/organisms/ptc/Ptc Readmore V3/preview.stories.js +0 -71
- package/dist/collection/stories/organisms/ptc/Ptc Showcase Card/preview.stories.js +0 -177
- package/dist/collection/stories/organisms/ptc/Ptc Sticky Share Icons/preview.stories.js +0 -184
- package/dist/collection/stories/organisms/ptc/Ptc Subnav V1/preview.stories.js +0 -149
- package/dist/collection/stories/organisms/ptc/Ptc Subnav V2/preview.stories.js +0 -91
- package/dist/collection/stories/organisms/ptc/Ptc Text Copy With Background/preview.stories.js +0 -226
- package/dist/collection/stories/organisms/ptc/Ptc Title Demo/preview.stories.js +0 -24
- package/dist/collection/stories/organisms/ptc/Ptc Tooltip V3/preview.stories.js +0 -85
- package/dist/collection/stories/organisms/ptc/Ptc Two Column Two Media/preview.stories.js +0 -126
- package/dist/collection/stories/organisms/ptc/Read More/preview.stories.js +0 -278
- package/dist/collection/stories/organisms/ptc/Related Cards/preview.stories.js +0 -107
- package/dist/collection/stories/organisms/ptc/Resource Center/preview.stories.js +0 -149
- package/dist/collection/stories/organisms/ptc/Search Result/preview.stories.js +0 -62
- package/dist/collection/stories/organisms/ptc/Search Result News/preview.stories.js +0 -72
- package/dist/collection/stories/organisms/ptc/Searchbar Plm On Demand/preview.stories.js +0 -62
- package/dist/collection/stories/organisms/ptc/Seo Test/preview.stories.js +0 -215
- package/dist/collection/stories/organisms/ptc/Sequential Slider/preview.stories.js +0 -38
- package/dist/collection/stories/organisms/ptc/Sequential Slider Mobile/preview.stories.js +0 -90
- package/dist/collection/stories/organisms/ptc/Shortform Agileworx/preview.stories.js +0 -22
- package/dist/collection/stories/organisms/ptc/Storefront Enhanced Product Listing/preview.stories.js +0 -132
- package/dist/collection/stories/organisms/ptc/Success Path Details Page/preview.stories.js +0 -236
- package/dist/collection/stories/organisms/ptc/Three Column Text/preview.stories.js +0 -75
- package/dist/collection/stories/organisms/ptc/Three Up Text Cards/preview.stories.js +0 -134
- package/dist/collection/stories/organisms/ptc/Two Column Media/preview.stories.js +0 -181
- package/dist/collection/stories/organisms/ptc/Two Column With Toggle/preview.stories.js +0 -549
- package/dist/collection/stories/organisms/ptc/Value Led Resource/preview.stories.js +0 -479
- package/dist/collection/stories/organisms/ptc/Volvo Three Col/preview.stories.js +0 -115
- package/dist/collection/stories/organisms/ptc/Vuforia Quiz/preview.stories.js +0 -26
- package/dist/collection/stories/organisms/ptc/White Paper/preview.stories.js +0 -174
- package/dist/collection/stories/ptcLink2.stories.js +0 -142
- package/dist/collection/utils/fef-logger.js +0 -23
- package/dist/esm/component-9beac35b.js +0 -1802
- package/dist/esm/global-1a5f28d5.js +0 -31
- package/dist/esm/ptc-button_5.entry.js +0 -589
- package/dist/esm/ptc-multi-select_2.entry.js +0 -725
- package/dist/esm/validation-messages-1379b825.js +0 -169
- package/dist/ptcw-design/p-009fbf1f.entry.js +0 -1
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-056748b3.entry.js +0 -1
- package/dist/ptcw-design/p-0efedf59.js +0 -1
- package/dist/ptcw-design/p-1f15239e.entry.js +0 -1
- package/dist/ptcw-design/p-2336e8d2.entry.js +0 -68
- package/dist/ptcw-design/p-2bfd8371.entry.js +0 -1
- package/dist/ptcw-design/p-2e6e2a9d.entry.js +0 -1
- package/dist/ptcw-design/p-31a131c0.entry.js +0 -1
- package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
- package/dist/ptcw-design/p-3b9fbbaa.js +0 -1
- package/dist/ptcw-design/p-467745cb.entry.js +0 -1
- package/dist/ptcw-design/p-4b41fe4e.entry.js +0 -1
- package/dist/ptcw-design/p-4d11aafc.entry.js +0 -1
- package/dist/ptcw-design/p-4f0b8ca2.entry.js +0 -1
- package/dist/ptcw-design/p-56a73429.entry.js +0 -1
- package/dist/ptcw-design/p-5dec76bd.entry.js +0 -1
- package/dist/ptcw-design/p-605b13a2.entry.js +0 -1
- package/dist/ptcw-design/p-63b3bcbe.entry.js +0 -1
- package/dist/ptcw-design/p-64026649.entry.js +0 -1
- package/dist/ptcw-design/p-656e8773.entry.js +0 -1
- package/dist/ptcw-design/p-66ecd7b9.entry.js +0 -1
- package/dist/ptcw-design/p-78370e3d.entry.js +0 -1
- package/dist/ptcw-design/p-9681188f.entry.js +0 -1
- package/dist/ptcw-design/p-98426799.js +0 -203
- package/dist/ptcw-design/p-98844b50.js +0 -134
- package/dist/ptcw-design/p-9dfb5c76.entry.js +0 -1
- package/dist/ptcw-design/p-a3868e6a.entry.js +0 -1
- package/dist/ptcw-design/p-a41c7e39.entry.js +0 -1
- package/dist/ptcw-design/p-abca6130.entry.js +0 -1
- package/dist/ptcw-design/p-b44f4fb1.entry.js +0 -1
- package/dist/ptcw-design/p-bbbfd2e5.entry.js +0 -1
- package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
- package/dist/ptcw-design/p-e3867512.entry.js +0 -1
- package/dist/ptcw-design/p-eaa0597a.entry.js +0 -1
- package/dist/ptcw-design/p-fe8392c4.entry.js +0 -1
- package/dist/types/global/global.d.ts +0 -4
- package/dist/types/utils/fef-logger.d.ts +0 -10
|
@@ -14,8 +14,8 @@ const PtcNavSubmenu = class {
|
|
|
14
14
|
this.backBtnTrackerId = undefined;
|
|
15
15
|
}
|
|
16
16
|
calculateOffset() {
|
|
17
|
-
var dropdown = this.el.shadowRoot.querySelector(
|
|
18
|
-
var container = this.el.closest(
|
|
17
|
+
var dropdown = this.el.shadowRoot.querySelector('.submenu-container');
|
|
18
|
+
var container = this.el.closest('ptc-subnav');
|
|
19
19
|
if (dropdown && container) {
|
|
20
20
|
if (window.innerWidth >= 1200) {
|
|
21
21
|
let height = container.clientHeight;
|
|
@@ -24,7 +24,7 @@ const PtcNavSubmenu = class {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
else {
|
|
27
|
-
dropdown.style.top =
|
|
27
|
+
dropdown.style.top = '';
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -35,7 +35,10 @@ const PtcNavSubmenu = class {
|
|
|
35
35
|
}, 100);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(Host, { class: `dropdown` }, h("div", { id: this.backBtnTrackerId, class: "tracker-div" }, h("span", { class: `back-btn` }, h("svg", { width: "10", height: "16", viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.97852 14.12L3.82515 8L9.97852 1.88L8.08414 -8.28059e-08L0.0229606 8L8.08414 16L9.97852 14.12Z", fill: "white" })), "Back")), h("span", { class: `submenu-toggle`, onClick: () => this.handleClick(this), onMouseOver: () => this.handleClick(this) }, this.iconAssetName &&
|
|
38
|
+
return (h(Host, { class: `dropdown` }, h("div", { id: this.backBtnTrackerId, class: "tracker-div" }, h("span", { class: `back-btn` }, h("svg", { width: "10", height: "16", viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.97852 14.12L3.82515 8L9.97852 1.88L8.08414 -8.28059e-08L0.0229606 8L8.08414 16L9.97852 14.12Z", fill: "white" })), "Back")), h("span", { class: `submenu-toggle`, onClick: () => this.handleClick(this), onMouseOver: () => this.handleClick(this) }, this.iconAssetName &&
|
|
39
|
+
h("icon-asset", { type: "ptc", size: "xx-small", name: this.iconAssetName, color: "white" }), h("div", { id: this.labelTrackerId, class: "tracker-div" }, this.label), h("div", { id: this.dropdownTrackerId, class: "tracker-div" }, this.iconSrc &&
|
|
40
|
+
h("img", { src: this.iconSrc, alt: this.label, class: "custom-icon" }), !this.iconSrc &&
|
|
41
|
+
h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "white", class: "" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.2375 2.83325L7.5 8.60203L1.7625 2.83325L-7.76305e-08 4.60923L7.5 12.1666L15 4.60923L13.2375 2.83325Z", fill: "white" })))), h("div", { class: `submenu-container` }, h("div", { class: "submenu-container-lg" }, h("slot", null)))));
|
|
39
42
|
}
|
|
40
43
|
get el() { return getElement(this); }
|
|
41
44
|
};
|
|
@@ -11,7 +11,7 @@ const PtcNews = class {
|
|
|
11
11
|
this.newsDownloadUrl = undefined;
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, null, h("div", { class: "news-container" }, this.newsTag &&
|
|
14
|
+
return (h(Host, null, h("div", { class: "news-container" }, this.newsTag && h("span", { class: "news-tag" }, this.newsTag), h("slot", { name: "news-title" }), h("slot", { name: "news-secondary-title" }), h("slot", { name: "news-date" }), h("slot", { name: "news-summary" }), this.getArticleImage(), h("div", { class: "news-content" }, h("slot", { name: "share-icons" }), h("slot", null)))));
|
|
15
15
|
}
|
|
16
16
|
getArticleImage() {
|
|
17
17
|
if (this.newsImage && this.newsDownloadUrl) {
|
|
@@ -35,7 +35,7 @@ const PtcOfficeLocationCard = class {
|
|
|
35
35
|
this.isContactEmpty = false;
|
|
36
36
|
this.officeName = undefined;
|
|
37
37
|
this.showFullAddressModal = false;
|
|
38
|
-
this.showFullAddressText =
|
|
38
|
+
this.showFullAddressText = 'Show Full Address';
|
|
39
39
|
}
|
|
40
40
|
handleClick(e) {
|
|
41
41
|
e.preventDefault();
|
|
@@ -44,15 +44,15 @@ const PtcOfficeLocationCard = class {
|
|
|
44
44
|
}
|
|
45
45
|
showFullAddress(event) {
|
|
46
46
|
event.stopPropagation();
|
|
47
|
-
const modal = this.hostElement.shadowRoot.querySelector(
|
|
47
|
+
const modal = this.hostElement.shadowRoot.querySelector('#show-full-add');
|
|
48
48
|
modal.show = true;
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, null, h("div", { class:
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
return (h(Host, null, h("div", { class: 'ofc-card-wrapper', onClick: (e) => this.handleClick(e), onKeyPress: (e) => this.handleClick(e), tabindex: 0 }, this.showFullAddressModal &&
|
|
52
|
+
h("div", { class: 'show-full-cta', onClick: (e) => { this.showFullAddress(e); }, tabindex: 0, onKeyPress: (e) => { this.showFullAddress(e); } }, this.showFullAddressText, h("span", { innerHTML: showAll })), h("div", { class: 'ofc-title' }, this.officeName), h("div", { class: 'map-link' }, h("span", { class: "ofc-icon", innerHTML: showMapSVG }), h("slot", { name: "map-link" })), h("div", { class: 'contact-number' }, !this.isContactEmpty &&
|
|
53
|
+
h("span", { class: "ofc-icon", innerHTML: phone }), h("slot", { name: "contact-number" })), h("slot", null)), this.showFullAddressModal &&
|
|
54
|
+
h("ptc-modal", { id: "show-full-add", show: false, size: "md", fixed: true, rounded: true, overlay: true, "keep-in-viewport": true, styles: ".modal-body{padding: 0 32px 32px 32px;box-sizing: border-box;}" }, h("div", { class: 'ofc-title' }, this.officeName), h("div", { class: 'map-link' }, h("span", { class: "ofc-icon", innerHTML: showMapSVG }), h("slot", { name: 'map-link-modal' })), h("div", { class: 'contact-number' }, !this.isContactEmpty &&
|
|
55
|
+
h("span", { class: "ofc-icon", innerHTML: phone }), h("slot", { name: 'contact-number-modal' })))));
|
|
56
56
|
}
|
|
57
57
|
get hostElement() { return getElement(this); }
|
|
58
58
|
};
|
|
@@ -31,16 +31,16 @@ const PtcOfficeLocations = class {
|
|
|
31
31
|
this.locations = [];
|
|
32
32
|
this.regions = [];
|
|
33
33
|
this.checkboxes = [];
|
|
34
|
-
this.openRegion =
|
|
34
|
+
this.openRegion = '';
|
|
35
35
|
this.isMobile = undefined;
|
|
36
36
|
this.address = undefined;
|
|
37
37
|
this.regionListManual = undefined;
|
|
38
|
-
this.showMapText =
|
|
39
|
-
this.hideMapText =
|
|
40
|
-
this.filtersText =
|
|
41
|
-
this.allRegionsText =
|
|
42
|
-
this.applyText =
|
|
43
|
-
this.clearText =
|
|
38
|
+
this.showMapText = 'Show Map';
|
|
39
|
+
this.hideMapText = 'Hide Map';
|
|
40
|
+
this.filtersText = 'Filters';
|
|
41
|
+
this.allRegionsText = 'All Regions';
|
|
42
|
+
this.applyText = 'Apply';
|
|
43
|
+
this.clearText = 'Clear';
|
|
44
44
|
this.showMap = false;
|
|
45
45
|
this.cardScroll = false;
|
|
46
46
|
}
|
|
@@ -59,42 +59,31 @@ const PtcOfficeLocations = class {
|
|
|
59
59
|
if (!this.cardScroll) {
|
|
60
60
|
const mapTop = this.hostEl.shadowRoot.querySelector(".office-location-list-wrapper");
|
|
61
61
|
setTimeout(() => {
|
|
62
|
-
mapTop === null || mapTop === void 0 ? void 0 : mapTop.scrollIntoView({
|
|
63
|
-
inline: "nearest",
|
|
64
|
-
block: "start",
|
|
65
|
-
});
|
|
62
|
+
mapTop === null || mapTop === void 0 ? void 0 : mapTop.scrollIntoView({ inline: 'nearest', block: 'start' });
|
|
66
63
|
}, 100);
|
|
67
64
|
setTimeout(() => {
|
|
68
65
|
var _a;
|
|
69
|
-
(_a = event.target) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
|
|
70
|
-
inline: "nearest",
|
|
71
|
-
block: "center",
|
|
72
|
-
});
|
|
66
|
+
(_a = event.target) === null || _a === void 0 ? void 0 : _a.scrollIntoView({ inline: 'nearest', block: 'center' });
|
|
73
67
|
this.cardScroll = this.showMap;
|
|
74
|
-
mapTop === null || mapTop === void 0 ? void 0 : mapTop.scrollIntoView({
|
|
75
|
-
inline: "nearest",
|
|
76
|
-
block: "start",
|
|
77
|
-
});
|
|
68
|
+
mapTop === null || mapTop === void 0 ? void 0 : mapTop.scrollIntoView({ inline: 'nearest', block: 'start' });
|
|
78
69
|
}, 500);
|
|
79
70
|
}
|
|
80
71
|
}
|
|
81
72
|
}
|
|
82
73
|
watchStateHandler() {
|
|
83
|
-
this.checkboxes = Array.from(this.hostEl.shadowRoot.querySelectorAll('.country-list input[type="checkbox"]:checked'))
|
|
84
|
-
checkbox.value,
|
|
85
|
-
checkbox.getAttribute("data-continent"),
|
|
86
|
-
]);
|
|
74
|
+
this.checkboxes = Array.from(this.hostEl.shadowRoot.querySelectorAll('.country-list input[type="checkbox"]:checked'))
|
|
75
|
+
.map((checkbox) => [checkbox.value, checkbox.getAttribute('data-continent')]);
|
|
87
76
|
}
|
|
88
77
|
componentDidUpdate() {
|
|
89
78
|
this.selectCheckboxesOnScreenResize();
|
|
90
79
|
}
|
|
91
80
|
selectCheckboxesOnScreenResize() {
|
|
92
81
|
const selectedOptions = this.checkboxes;
|
|
93
|
-
selectedOptions.forEach(
|
|
94
|
-
const regionWrap = this.hostEl.shadowRoot.querySelector(`#region-wrap-${region[1].replace(/\s+/g,
|
|
95
|
-
const checkboxSelected = this.hostEl.shadowRoot.querySelector(`#${region[0].replace(/\s+/g,
|
|
96
|
-
if (!regionWrap.classList.contains(
|
|
97
|
-
regionWrap.classList.add(
|
|
82
|
+
selectedOptions.forEach(region => {
|
|
83
|
+
const regionWrap = this.hostEl.shadowRoot.querySelector(`#region-wrap-${region[1].replace(/\s+/g, '')}`);
|
|
84
|
+
const checkboxSelected = this.hostEl.shadowRoot.querySelector(`#${region[0].replace(/\s+/g, '')}`);
|
|
85
|
+
if (!regionWrap.classList.contains('selected')) {
|
|
86
|
+
regionWrap.classList.add('selected');
|
|
98
87
|
}
|
|
99
88
|
if (!checkboxSelected.checked) {
|
|
100
89
|
checkboxSelected.checked = true;
|
|
@@ -104,40 +93,38 @@ const PtcOfficeLocations = class {
|
|
|
104
93
|
}
|
|
105
94
|
componentWillLoad() {
|
|
106
95
|
this.isMobile = window.innerWidth < 992;
|
|
107
|
-
const officeCards = document.querySelectorAll(
|
|
96
|
+
const officeCards = document.querySelectorAll('ptc-office-location-card');
|
|
108
97
|
officeCards.forEach((card, index) => {
|
|
109
|
-
const region = card.getAttribute(
|
|
110
|
-
const country = card.getAttribute(
|
|
98
|
+
const region = card.getAttribute('region');
|
|
99
|
+
const country = card.getAttribute('country');
|
|
111
100
|
if (region && country) {
|
|
112
101
|
this.locations.push({ id: index, region, country });
|
|
113
102
|
}
|
|
114
103
|
});
|
|
115
104
|
if (this.regionListManual) {
|
|
116
|
-
const regionList = this.regionListManual
|
|
117
|
-
.split(",")
|
|
118
|
-
.map((item) => item.trim());
|
|
105
|
+
const regionList = this.regionListManual.split(',').map(item => item.trim());
|
|
119
106
|
this.regions = regionList;
|
|
120
107
|
}
|
|
121
108
|
else {
|
|
122
109
|
// Extract unique regions from locations array
|
|
123
|
-
const uniqueRegions = Array.from(new Set(this.locations.map(
|
|
110
|
+
const uniqueRegions = Array.from(new Set(this.locations.map(location => location.region)));
|
|
124
111
|
// Save unique regions to regions array
|
|
125
112
|
this.regions = uniqueRegions;
|
|
126
113
|
}
|
|
127
114
|
this.showFirstMap();
|
|
128
115
|
}
|
|
129
116
|
toggleCountryList(region) {
|
|
130
|
-
let regionListID = this.hostEl.shadowRoot.querySelector(`#region-wrap-${region.replace(/\s+/g,
|
|
117
|
+
let regionListID = this.hostEl.shadowRoot.querySelector(`#region-wrap-${region.replace(/\s+/g, '')}`);
|
|
131
118
|
// Toggle open/close state for the clicked region
|
|
132
119
|
if (this.openRegion === region) {
|
|
133
120
|
// If the clicked region is already open, close it
|
|
134
|
-
this.openRegion =
|
|
121
|
+
this.openRegion = '';
|
|
135
122
|
if (regionListID) {
|
|
136
|
-
let labelsList = regionListID.querySelectorAll(
|
|
123
|
+
let labelsList = regionListID.querySelectorAll('label');
|
|
137
124
|
labelsList.forEach((i) => {
|
|
138
125
|
i.tabIndex = -1;
|
|
139
126
|
});
|
|
140
|
-
let btnsList = regionListID.querySelectorAll(
|
|
127
|
+
let btnsList = regionListID.querySelectorAll('ptc-button');
|
|
141
128
|
btnsList.forEach((i) => {
|
|
142
129
|
i.tabIndex = -1;
|
|
143
130
|
});
|
|
@@ -147,11 +134,11 @@ const PtcOfficeLocations = class {
|
|
|
147
134
|
// Close any previously open region and open the clicked region
|
|
148
135
|
this.openRegion = region;
|
|
149
136
|
if (regionListID) {
|
|
150
|
-
let labelsList = regionListID.querySelectorAll(
|
|
137
|
+
let labelsList = regionListID.querySelectorAll('label');
|
|
151
138
|
labelsList.forEach((i) => {
|
|
152
139
|
i.tabIndex = 0;
|
|
153
140
|
});
|
|
154
|
-
let btnsList = regionListID.querySelectorAll(
|
|
141
|
+
let btnsList = regionListID.querySelectorAll('ptc-button');
|
|
155
142
|
btnsList.forEach((i) => {
|
|
156
143
|
i.removeAttribute("tabIndex");
|
|
157
144
|
});
|
|
@@ -159,22 +146,22 @@ const PtcOfficeLocations = class {
|
|
|
159
146
|
}
|
|
160
147
|
}
|
|
161
148
|
getCheckboxes(region) {
|
|
162
|
-
return this.hostEl.shadowRoot.querySelectorAll(`.country-list #region-list-${region.replace(/\s+/g,
|
|
149
|
+
return this.hostEl.shadowRoot.querySelectorAll(`.country-list #region-list-${region.replace(/\s+/g, '')} input[type="checkbox"]`);
|
|
163
150
|
}
|
|
164
151
|
selectedCheckboxes() {
|
|
165
|
-
const selectedOptions = Array.from(this.hostEl.shadowRoot.querySelectorAll('.country-list input[type="checkbox"]:checked'))
|
|
152
|
+
const selectedOptions = Array.from(this.hostEl.shadowRoot.querySelectorAll('.country-list input[type="checkbox"]:checked'))
|
|
153
|
+
.map((checkbox) => checkbox.value);
|
|
166
154
|
return selectedOptions;
|
|
167
155
|
}
|
|
168
156
|
updateOfficeList() {
|
|
169
157
|
const selectedOptions = this.selectedCheckboxes();
|
|
170
|
-
const officeCards = document.querySelectorAll(
|
|
158
|
+
const officeCards = document.querySelectorAll('ptc-office-location-card');
|
|
171
159
|
officeCards.forEach((card) => {
|
|
172
|
-
const region = card.getAttribute(
|
|
173
|
-
const country = card.getAttribute(
|
|
160
|
+
const region = card.getAttribute('region');
|
|
161
|
+
const country = card.getAttribute('country');
|
|
174
162
|
// Hide show checboxes
|
|
175
163
|
if (selectedOptions.length > 0) {
|
|
176
|
-
if (selectedOptions.includes(region) ||
|
|
177
|
-
selectedOptions.includes(country)) {
|
|
164
|
+
if (selectedOptions.includes(region) || selectedOptions.includes(country)) {
|
|
178
165
|
card.style.display = "block";
|
|
179
166
|
}
|
|
180
167
|
else {
|
|
@@ -193,11 +180,11 @@ const PtcOfficeLocations = class {
|
|
|
193
180
|
}
|
|
194
181
|
clearFilter(region) {
|
|
195
182
|
const checkboxes = this.getCheckboxes(region);
|
|
196
|
-
const regionWrap = this.hostEl.shadowRoot.querySelector(`#region-wrap-${region.replace(/\s+/g,
|
|
183
|
+
const regionWrap = this.hostEl.shadowRoot.querySelector(`#region-wrap-${region.replace(/\s+/g, '')}`);
|
|
197
184
|
checkboxes.forEach((checkbox) => {
|
|
198
185
|
checkbox.checked = false;
|
|
199
186
|
});
|
|
200
|
-
regionWrap.classList.remove(
|
|
187
|
+
regionWrap.classList.remove('selected');
|
|
201
188
|
this.updateOfficeList();
|
|
202
189
|
this.toggleCountryList(region);
|
|
203
190
|
}
|
|
@@ -207,15 +194,13 @@ const PtcOfficeLocations = class {
|
|
|
207
194
|
}
|
|
208
195
|
}
|
|
209
196
|
updateCheckboxStatus(region, e) {
|
|
210
|
-
const regionWrap = this.hostEl.shadowRoot.querySelector(`#region-wrap-${region.replace(/\s+/g,
|
|
197
|
+
const regionWrap = this.hostEl.shadowRoot.querySelector(`#region-wrap-${region.replace(/\s+/g, '')}`);
|
|
211
198
|
const checkboxes = this.getCheckboxes(region);
|
|
212
|
-
const isAllRegionsCheckboxClicked = e.target.id === `all-regions-${region.replace(/\s+/g,
|
|
213
|
-
|
|
214
|
-
e.target.getAttribute("data-id") ===
|
|
215
|
-
`all-regions-${region.replace(/\s+/g, "")}`);
|
|
199
|
+
const isAllRegionsCheckboxClicked = e.target.id === `all-regions-${region.replace(/\s+/g, '')}`
|
|
200
|
+
|| e.keyCode === 13 && e.target.getAttribute("data-id") === `all-regions-${region.replace(/\s+/g, '')}`;
|
|
216
201
|
let AllRegionsCheckBoxSelected = e.target.checked;
|
|
217
202
|
if (e.keyCode === 13) {
|
|
218
|
-
const checkBoxSelected = e.target.querySelector(
|
|
203
|
+
const checkBoxSelected = e.target.querySelector('input');
|
|
219
204
|
if (checkBoxSelected) {
|
|
220
205
|
checkBoxSelected.checked = !checkBoxSelected.checked;
|
|
221
206
|
AllRegionsCheckBoxSelected = checkBoxSelected.checked;
|
|
@@ -224,48 +209,46 @@ const PtcOfficeLocations = class {
|
|
|
224
209
|
let anyCheckboxSelected = false;
|
|
225
210
|
checkboxes.forEach((checkbox) => {
|
|
226
211
|
if (isAllRegionsCheckboxClicked) {
|
|
227
|
-
checkbox.checked = checkbox.classList.contains(
|
|
228
|
-
? AllRegionsCheckBoxSelected
|
|
229
|
-
: false;
|
|
212
|
+
checkbox.checked = checkbox.classList.contains('all-region-label') ? AllRegionsCheckBoxSelected : false;
|
|
230
213
|
}
|
|
231
|
-
else if (checkbox.classList.contains(
|
|
214
|
+
else if (checkbox.classList.contains('all-region-label')) {
|
|
232
215
|
checkbox.checked = false;
|
|
233
216
|
}
|
|
234
217
|
if (checkbox.checked) {
|
|
235
218
|
anyCheckboxSelected = true;
|
|
236
219
|
}
|
|
237
220
|
});
|
|
238
|
-
regionWrap.classList.toggle(
|
|
221
|
+
regionWrap.classList.toggle('selected', anyCheckboxSelected);
|
|
239
222
|
}
|
|
240
223
|
updateSelectedClass(region) {
|
|
241
224
|
this.fadeInWrapper();
|
|
242
|
-
const regionWrap = this.hostEl.shadowRoot.querySelector(`#region-wrap-${region.replace(/\s+/g,
|
|
225
|
+
const regionWrap = this.hostEl.shadowRoot.querySelector(`#region-wrap-${region.replace(/\s+/g, '')}`);
|
|
243
226
|
const checkboxes = this.getCheckboxes(region);
|
|
244
227
|
let isAllRegionSelected;
|
|
245
228
|
checkboxes.forEach((checkbox) => {
|
|
246
|
-
if (!checkbox.classList.contains(
|
|
229
|
+
if (!checkbox.classList.contains('all-region-label')) {
|
|
247
230
|
checkbox.checked = false;
|
|
248
231
|
}
|
|
249
|
-
if (checkbox.classList.contains(
|
|
232
|
+
if (checkbox.classList.contains('all-region-label')) {
|
|
250
233
|
checkbox.checked = !checkbox.checked;
|
|
251
234
|
isAllRegionSelected = checkbox.checked;
|
|
252
235
|
}
|
|
253
236
|
});
|
|
254
|
-
regionWrap.classList.toggle(
|
|
237
|
+
regionWrap.classList.toggle('selected', isAllRegionSelected);
|
|
255
238
|
this.updateOfficeList();
|
|
256
|
-
this.toggleCountryList(
|
|
239
|
+
this.toggleCountryList('');
|
|
257
240
|
}
|
|
258
241
|
fadeInWrapper() {
|
|
259
|
-
const ele = this.hostEl.shadowRoot.querySelector(
|
|
260
|
-
ele.classList.add(
|
|
242
|
+
const ele = this.hostEl.shadowRoot.querySelector('.office-location-list-wrapper');
|
|
243
|
+
ele.classList.add('updating');
|
|
261
244
|
// Listen for transitionend event to remove the class after the transition completes
|
|
262
|
-
ele.addEventListener(
|
|
263
|
-
ele.classList.remove(
|
|
245
|
+
ele.addEventListener('transitionend', () => {
|
|
246
|
+
ele.classList.remove('updating');
|
|
264
247
|
}, { once: true });
|
|
265
248
|
}
|
|
266
249
|
// mobile functions
|
|
267
250
|
openFilterModal() {
|
|
268
|
-
const modal = this.hostEl.shadowRoot.querySelector(
|
|
251
|
+
const modal = this.hostEl.shadowRoot.querySelector('ptc-modal');
|
|
269
252
|
modal.show = true;
|
|
270
253
|
}
|
|
271
254
|
clearFiltersMobile() {
|
|
@@ -274,61 +257,45 @@ const PtcOfficeLocations = class {
|
|
|
274
257
|
checkbox.checked = false;
|
|
275
258
|
});
|
|
276
259
|
this.updateOfficeList();
|
|
277
|
-
const modal = this.hostEl.shadowRoot.querySelector(
|
|
260
|
+
const modal = this.hostEl.shadowRoot.querySelector('ptc-modal');
|
|
278
261
|
modal.show = false;
|
|
279
262
|
}
|
|
280
263
|
applyFilterMobile() {
|
|
281
264
|
this.updateOfficeList();
|
|
282
|
-
const modal = this.hostEl.shadowRoot.querySelector(
|
|
265
|
+
const modal = this.hostEl.shadowRoot.querySelector('ptc-modal');
|
|
283
266
|
modal.show = false;
|
|
284
267
|
}
|
|
285
268
|
renderCountrylist(region) {
|
|
286
|
-
const uniqueLocations = [
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
];
|
|
291
|
-
return (h("ul", { id: "region-list-" + region.replace(/\s+/g, "") }, h("li", { id: "all-regions-id-" + region.replace(/\s+/g, ""), class: "mf-listen" }, h("label", { htmlFor: "all-regions-" + region.replace(/\s+/g, ""), "data-id": "all-regions-" + region.replace(/\s+/g, ""), onKeyDown: (e) => this.updateCheckboxStatusOnenter(region.replace(/\s+/g, ""), e), tabindex: this.isMobile ? 0 : -1 }, this.allRegionsText, h("input", { type: "checkbox", class: "all-region-label", tabindex: -1, id: "all-regions-" + region.replace(/\s+/g, ""), value: region, "data-continent": region, onChange: (e) => this.updateCheckboxStatus(region.replace(/\s+/g, ""), e) }), h("span", { class: "checkmark" }))), uniqueLocations.map((location) => (h("li", { key: location.id, id: location.id + "id", class: "mf-listen" }, h("label", { htmlFor: location.country, tabindex: this.isMobile ? 0 : -1, "data-id": location.country, onKeyDown: (e) => this.updateCheckboxStatusOnenter(region.replace(/\s+/g, ""), e) }, location.country, h("input", { type: "checkbox", id: location.country, tabindex: -1, value: location.country, "data-continent": region, onChange: (e) => this.updateCheckboxStatus(region.replace(/\s+/g, ""), e) }), h("span", { class: "checkmark" })))))));
|
|
269
|
+
const uniqueLocations = [...new Map(this.locations
|
|
270
|
+
.filter(location => location.region === region).map(item => [item['country'], item])).values()];
|
|
271
|
+
return (h("ul", { id: 'region-list-' + region.replace(/\s+/g, '') }, h("li", { id: 'all-regions-id-' + region.replace(/\s+/g, ''), class: "mf-listen" }, h("label", { htmlFor: 'all-regions-' + region.replace(/\s+/g, ''), "data-id": 'all-regions-' + region.replace(/\s+/g, ''), onKeyDown: (e) => this.updateCheckboxStatusOnenter(region.replace(/\s+/g, ''), e), tabindex: this.isMobile ? 0 : -1 }, this.allRegionsText, h("input", { type: "checkbox", class: 'all-region-label', tabindex: -1, id: 'all-regions-' + region.replace(/\s+/g, ''), value: region, "data-continent": region, onChange: (e) => this.updateCheckboxStatus(region.replace(/\s+/g, ''), e) }), h("span", { class: 'checkmark' }))), uniqueLocations
|
|
272
|
+
.map(location => (h("li", { key: location.id, id: location.id + 'id', class: "mf-listen" }, h("label", { htmlFor: location.country, tabindex: this.isMobile ? 0 : -1, "data-id": location.country, onKeyDown: (e) => this.updateCheckboxStatusOnenter(region.replace(/\s+/g, ''), e) }, location.country, h("input", { type: "checkbox", id: location.country, tabindex: -1, value: location.country, "data-continent": region, onChange: (e) => this.updateCheckboxStatus(region.replace(/\s+/g, ''), e) }), h("span", { class: 'checkmark' })))))));
|
|
292
273
|
}
|
|
293
274
|
toggleMap() {
|
|
294
275
|
this.showMap = !this.showMap;
|
|
295
276
|
this.cardScroll = this.showMap;
|
|
296
277
|
}
|
|
297
278
|
showFirstMap() {
|
|
298
|
-
const nodeList = document.querySelectorAll(
|
|
279
|
+
const nodeList = document.querySelectorAll('ptc-office-location-card');
|
|
299
280
|
const elementsArray = Array.from(nodeList);
|
|
300
|
-
const filteredElements = elementsArray.filter(
|
|
301
|
-
return
|
|
302
|
-
element.style.display === "block");
|
|
281
|
+
const filteredElements = elementsArray.filter(element => {
|
|
282
|
+
return element.style.display === "" || element.style.display === 'block';
|
|
303
283
|
});
|
|
304
284
|
const firstMatchingElement = filteredElements.length > 0 ? filteredElements[0] : null;
|
|
305
|
-
this.address = firstMatchingElement.getAttribute(
|
|
285
|
+
this.address = firstMatchingElement.getAttribute('address');
|
|
306
286
|
}
|
|
307
287
|
render() {
|
|
308
288
|
const classMap = this.getCssClassMap();
|
|
309
|
-
return (h(Host, null, !this.isMobile &&
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
this.toggleMap();
|
|
315
|
-
}, onKeyPress: () => {
|
|
316
|
-
this.toggleMap();
|
|
317
|
-
}, tabindex: 0 }, h("span", { class: "map-icon", innerHTML: this.showMap ? hideMapSVG : showMapSVG }), h("span", null, this.showMap
|
|
318
|
-
? this.hideMapText
|
|
319
|
-
: this.showMapText, " ")))), this.isMobile && (h("button", { class: "filter-cta", onClick: () => {
|
|
320
|
-
this.openFilterModal();
|
|
321
|
-
} }, " ", h("span", { class: "svg-close", innerHTML: filterSVG }), this.filtersText)), this.isMobile && (h("ptc-modal", { id: "modal-example", show: false, size: "lg", fixed: true, rounded: true, "show-header-footer": "true" }, h("div", { slot: "header" }, h("ptc-title", { type: "h4", upperline: "no-upperline", "text-align": "center", "title-margin": "margin-5" }, this.filtersText)), h("div", { slot: "footer", class: "modal-footer" }, h("ptc-button", { "tracker-id": "mobileClearBtnID", color: "ptc-tertiary", "link-title": "Clear", type: "button", size: "small", onClick: () => {
|
|
322
|
-
this.clearFiltersMobile();
|
|
323
|
-
}, styles: "button { border: none !important;} button:hover { background-color: transparent !important;} button:hover span{ text-decoration: underline !important}" }, this.clearText), h("ptc-button", { "tracker-id": "mobileApplyBtnID", color: "ptc-secondary", "link-title": "Apply", type: "button", size: "small", onClick: () => {
|
|
324
|
-
this.applyFilterMobile();
|
|
325
|
-
} }, this.applyText)), h("div", { slot: "body" }, h("div", { class: "filter-modal-body" }, this.regions.map((region) => (h("div", { class: "country-list country-list-mobile mf-listen", key: region.id, id: "region-wrap-" +
|
|
326
|
-
region.replace(/\s+/g, "") }, h("span", { class: "continent-name" }, region), this.renderCountrylist(region)))))))), h("div", { class: classMap }, h("div", { class: `ol-list-bg ` }, h("slot", null)), !this.isMobile && (h("div", { class: "map-embed" }, h("iframe", { frameborder: "0", referrerPolicy: "no-referrer-when-downgrade", width: "100%", height: "100%", style: { border: "0" }, allowfullScreen: true, src: `https://www.google.com/maps/embed/v1/place?key=AIzaSyATvSgSVv2hH0yXiKMcBYsF26j67d3oPLg&q=${this.address}` }))))));
|
|
289
|
+
return (h(Host, null, !this.isMobile &&
|
|
290
|
+
h("div", { class: "region-list" }, this.regions.map(region => (h("div", { class: `region mf-listen ${this.openRegion === region ? 'active' : ''}`, key: region.id, id: 'region-wrap-' + region.replace(/\s+/g, '') }, h("span", { class: "region-btn" }, h("span", { class: "continent-name", onClick: () => { this.updateSelectedClass(region.replace(/\s+/g, '')); }, onKeyPress: () => { this.updateSelectedClass(region.replace(/\s+/g, '')); }, tabindex: "0" }, region), h("span", { class: "continent-arrow", onClick: () => this.toggleCountryList(region), onKeyPress: () => this.toggleCountryList(region), tabindex: "0" }, h("svg", { width: "10", height: "7", viewBox: "0 0 10 7", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M1 1L5 5L9 1", stroke: "#40434A", "stroke-width": "2", "stroke-linecap": "round" })))), h("div", { class: `country-list country-list-desktop` }, this.renderCountrylist(region), h("div", { class: "country-list-footer" }, h("ptc-button", { "tracker-id": "clearBtnID", color: "ptc-tertiary", tabIndex: -1, "link-title": "Clear", type: "button", size: "small", onClick: () => this.clearFilter(region), styles: 'button { border: none !important;} button:hover { background-color: transparent !important;} button:hover span{ text-decoration: underline !important}' }, this.clearText), h("ptc-button", { "tracker-id": "applyBtnID", color: "ptc-secondary", tabIndex: -1, "link-title": "Apply", type: "button", size: "small", onClick: () => this.applyFilter(region) }, this.applyText)))))), h("span", { class: "map-btn mf-listen", id: "mapBtnID", onClick: () => { this.toggleMap(); }, onKeyPress: () => { this.toggleMap(); }, tabindex: 0 }, h("span", { class: 'map-icon', innerHTML: this.showMap ? hideMapSVG : showMapSVG }), h("span", null, this.showMap ? this.hideMapText : this.showMapText, " "))), this.isMobile &&
|
|
291
|
+
h("button", { class: "filter-cta", onClick: () => { this.openFilterModal(); } }, " ", h("span", { class: "svg-close", innerHTML: filterSVG }), this.filtersText), this.isMobile &&
|
|
292
|
+
h("ptc-modal", { id: "modal-example", show: false, size: "lg", fixed: true, rounded: true, "show-header-footer": "true" }, h("div", { slot: "header" }, h("ptc-title", { type: 'h4', upperline: "no-upperline", "text-align": 'center', "title-margin": "margin-5" }, this.filtersText)), h("div", { slot: "footer", class: 'modal-footer' }, h("ptc-button", { "tracker-id": "mobileClearBtnID", color: "ptc-tertiary", "link-title": "Clear", type: "button", size: "small", onClick: () => { this.clearFiltersMobile(); }, styles: 'button { border: none !important;} button:hover { background-color: transparent !important;} button:hover span{ text-decoration: underline !important}' }, this.clearText), h("ptc-button", { "tracker-id": "mobileApplyBtnID", color: "ptc-secondary", "link-title": "Apply", type: "button", size: "small", onClick: () => { this.applyFilterMobile(); } }, this.applyText)), h("div", { slot: "body" }, h("div", { class: "filter-modal-body" }, this.regions.map(region => (h("div", { class: "country-list country-list-mobile mf-listen", key: region.id, id: 'region-wrap-' + region.replace(/\s+/g, '') }, h("span", { class: "continent-name" }, region), this.renderCountrylist(region))))))), h("div", { class: classMap }, h("div", { class: `ol-list-bg ` }, h("slot", null)), !this.isMobile &&
|
|
293
|
+
h("div", { class: "map-embed" }, h("iframe", { frameborder: "0", referrerPolicy: "no-referrer-when-downgrade", width: '100%', height: '100%', style: { border: '0' }, allowfullScreen: true, src: `https://www.google.com/maps/embed/v1/place?key=AIzaSyATvSgSVv2hH0yXiKMcBYsF26j67d3oPLg&q=${this.address}` })))));
|
|
327
294
|
}
|
|
328
295
|
getCssClassMap() {
|
|
329
296
|
return {
|
|
330
|
-
[
|
|
331
|
-
[
|
|
297
|
+
['office-location-list-wrapper']: true,
|
|
298
|
+
['showing-map']: this.showMap
|
|
332
299
|
};
|
|
333
300
|
}
|
|
334
301
|
get hostEl() { return getElement(this); }
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-c83db688.js';
|
|
2
2
|
|
|
3
|
-
const ptcOverlayCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:absolute;top:0;left:0;width:100%;height:100%;transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.2) 0%, var(--color-blue-07) 100%)}:host(.red){background:linear-gradient(180deg, rgba(209, 44, 58, 0.2) 0%, var(--color-red-07) 100%)}:host(.orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.2) 0%, var(--color-orange-07) 100%)}:host(.green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.2) 0%, var(--color-green-07) 100%)}:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0.32) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}:host(.black-4){background:rgba(0, 0, 0, 0.66)}:host(.black-5){background:rgba(0, 0, 0, 0.76)}@media only screen and (min-width: 768px){:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}}:host(.black-3){background:linear-gradient(180deg, var(--color-gray-12) 0%, rgba(32, 38, 42, 0.55) 100%)}:host(.slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.2) 0%, var(--color-gray-07) 100%)}:host(.bright-blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.72) 0%, rgba(25, 123, 192, 0.85) 69.27%, rgba(25, 123, 192, 0.4) 100%)}:host(.bright-red){background:linear-gradient(180deg, rgba(211, 62, 62, 0.72) 0%, rgba(211, 62, 62, 0.85) 69.27%, rgba(211, 62, 62, 0.4) 100%)}:host(.bright-orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.72) 0%, rgba(195, 119, 41, 0.85) 69.27%, rgba(195, 119, 41, 0.4) 100%)}:host(.bright-green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.72) 0%, rgba(0, 137, 11, 0.85) 69.27%, rgba(0, 137, 11, 0.4) 100%)}:host(.bright-slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.72) 0%, rgba(97, 116, 128, 0.85) 69.27%, rgba(97, 116, 128, 0.4) 100%)}:host(.solid-black-1){background:rgba(16, 19, 20, 0.85)}:host(.solid-black-2){background:rgba(16, 19, 20, 0.7)}:host(.hp-blue){background:linear-gradient(180deg, #
|
|
3
|
+
const ptcOverlayCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:absolute;top:0;left:0;width:100%;height:100%;transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.2) 0%, var(--color-blue-07) 100%)}:host(.red){background:linear-gradient(180deg, rgba(209, 44, 58, 0.2) 0%, var(--color-red-07) 100%)}:host(.orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.2) 0%, var(--color-orange-07) 100%)}:host(.green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.2) 0%, var(--color-green-07) 100%)}:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0.32) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}:host(.black-4){background:rgba(0, 0, 0, 0.66)}:host(.black-5){background:rgba(0, 0, 0, 0.76)}@media only screen and (min-width: 768px){:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}}:host(.black-3){background:linear-gradient(180deg, var(--color-gray-12) 0%, rgba(32, 38, 42, 0.55) 100%)}:host(.slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.2) 0%, var(--color-gray-07) 100%)}:host(.bright-blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.72) 0%, rgba(25, 123, 192, 0.85) 69.27%, rgba(25, 123, 192, 0.4) 100%)}:host(.bright-red){background:linear-gradient(180deg, rgba(211, 62, 62, 0.72) 0%, rgba(211, 62, 62, 0.85) 69.27%, rgba(211, 62, 62, 0.4) 100%)}:host(.bright-orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.72) 0%, rgba(195, 119, 41, 0.85) 69.27%, rgba(195, 119, 41, 0.4) 100%)}:host(.bright-green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.72) 0%, rgba(0, 137, 11, 0.85) 69.27%, rgba(0, 137, 11, 0.4) 100%)}:host(.bright-slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.72) 0%, rgba(97, 116, 128, 0.85) 69.27%, rgba(97, 116, 128, 0.4) 100%)}:host(.solid-black-1){background:rgba(16, 19, 20, 0.85)}:host(.solid-black-2){background:rgba(16, 19, 20, 0.7)}:host(.hp-blue){background:linear-gradient(180deg, #197BC0 0%, #4795CD 100%)}:host(.hp-green){background:linear-gradient(180deg, #00890B 0%, #33A13C 100%)}:host(.hp-red){background:linear-gradient(180deg, #D33E3E 0%, #DC6565 100%)}:host(.hp-gray){background:linear-gradient(180deg, #617480 0%, #819099 100%)}:host(.hp-orange){background:linear-gradient(180deg, #C37729 0%, #CF9254 100%)}:host(.transparent){background:linear-gradient(180deg, transparent 0%, transparent 100%)}:host(.radius-standard){border-radius:var(--ptc-border-radius-standard)}:host(.radius-large){border-radius:var(--ptc-border-radius-large)}:host(.radius-pill){border-radius:var(--ptc-border-radius-pill)}:host(.radius-circle){border-radius:var(--ptc-border-radius-circle)}:host(.z-index-auto){z-index:auto}:host(.z-index-n-1){z-index:-1}:host(.z-index-n-2){z-index:-2}:host(.z-index-p-1){z-index:1}:host(.z-index-p-2){z-index:2}";
|
|
4
4
|
|
|
5
5
|
const PtcOverlay = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
this.filterColor = undefined;
|
|
9
9
|
this.borderRadius = undefined;
|
|
10
|
-
this.overlayZIndex =
|
|
10
|
+
this.overlayZIndex = 'z-index-auto';
|
|
11
11
|
this.styles = undefined;
|
|
12
12
|
}
|
|
13
13
|
async setOverlay(overlayName) {
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
|
|
2
|
+
import { s as seoSlotReset } from './utils-2f12c081.js';
|
|
3
|
+
|
|
4
|
+
const ptcParaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{position:relative;z-index:1}:host .tooltip-enabled{position:relative}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.primary-green{color:var(--color-green-06)}p.gray-darker{color:var(--color-gray-11)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.htmlquote-para{font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 992px){p.htmlquote-para{font-size:var(--ptc-font-size-large)}}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-8 ::slotted(a){font-weight:var(--ptc-font-weight-extrabold) !important}p.w-9{font-weight:var(--ptc-font-weight-black)}p.w-9 ::slotted(a){font-weight:var(--ptc-font-weight-black) !important}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.right-768above{text-align:left}@media (min-width: 768px){p.right-768above{text-align:right}}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}p.line-clamp-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 768px){:host(.hide-tooltip-on-mobile) .line-clamp-title{-webkit-line-clamp:initial !important}}";
|
|
5
|
+
|
|
6
|
+
const PtcPara = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.fontSize = 'x-small';
|
|
10
|
+
this.fontWeight = 'w-4';
|
|
11
|
+
this.paraStyle = 'default';
|
|
12
|
+
this.paraColor = 'primary-grey';
|
|
13
|
+
this.paraLineH = 'line-height-normal';
|
|
14
|
+
this.paraMargin = undefined;
|
|
15
|
+
this.paraAlign = undefined;
|
|
16
|
+
this.ellipsisLineCutoff = undefined;
|
|
17
|
+
this.paraZIndex = undefined;
|
|
18
|
+
this.styles = undefined;
|
|
19
|
+
this.seoCompatibilityMode = false;
|
|
20
|
+
this.tooltipZIndex = 'auto';
|
|
21
|
+
this.tooltipPosition = 'bottom';
|
|
22
|
+
this.tooltipTheme = 'standard';
|
|
23
|
+
this.enableTooltip = false;
|
|
24
|
+
this.maxChars = undefined;
|
|
25
|
+
this.maxLines = undefined;
|
|
26
|
+
this.hideTooltipOnMobile = false;
|
|
27
|
+
this.ismob = undefined;
|
|
28
|
+
this.noOverflow = false;
|
|
29
|
+
this.tooltipWidth = 'default';
|
|
30
|
+
}
|
|
31
|
+
// Tooltip Properties ends
|
|
32
|
+
render() {
|
|
33
|
+
if (this.seoCompatibilityMode) {
|
|
34
|
+
seoSlotReset(this.el);
|
|
35
|
+
}
|
|
36
|
+
return this.standardRender();
|
|
37
|
+
}
|
|
38
|
+
//tooltip code
|
|
39
|
+
getSortedText(content) {
|
|
40
|
+
if (!this.enableTooltip)
|
|
41
|
+
return;
|
|
42
|
+
const trimmedContent = content.trim();
|
|
43
|
+
const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
|
|
44
|
+
return shouldTruncate ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026` : trimmedContent;
|
|
45
|
+
}
|
|
46
|
+
componentDidLoad() {
|
|
47
|
+
if (this.hideTooltipOnMobile) {
|
|
48
|
+
this.el.classList.add('hide-tooltip-on-mobile');
|
|
49
|
+
}
|
|
50
|
+
this.el.addEventListener('mouseenter', () => { this.toggleTitleTooltip(true); });
|
|
51
|
+
this.el.addEventListener('mouseleave', () => { this.toggleTitleTooltip(false); });
|
|
52
|
+
if (this.enableTooltip) {
|
|
53
|
+
let paraContent = this.el.innerText || this.el.textContent;
|
|
54
|
+
this.tooltipText = paraContent.trim();
|
|
55
|
+
this.el.innerText = this.getSortedText(paraContent);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
toggleTitleTooltip(show) {
|
|
59
|
+
const tooltipClass = 'tooltip-box';
|
|
60
|
+
const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
|
|
61
|
+
const text = this.el.shadowRoot.querySelectorAll('.line-clamp-title');
|
|
62
|
+
let maxLinesShowCheck = false;
|
|
63
|
+
if (text) {
|
|
64
|
+
text.forEach(t => {
|
|
65
|
+
maxLinesShowCheck = t.scrollHeight > t.clientHeight;
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
const ifCharExceeds = this.maxChars ? (this.tooltipText.length > this.maxChars) && !this.maxLines : false;
|
|
69
|
+
const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
|
|
70
|
+
if (show && this.enableTooltip) {
|
|
71
|
+
if (((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) && !this.noOverflow) {
|
|
72
|
+
const tooltipMarkup = document.createElement('div');
|
|
73
|
+
tooltipMarkup.className = tooltipClass;
|
|
74
|
+
tooltipMarkup.innerText = this.tooltipText;
|
|
75
|
+
tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
|
|
76
|
+
tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
|
|
77
|
+
if (this.hideTooltipOnMobile) {
|
|
78
|
+
tooltipMarkup.classList.add('hide-tooltip-mobile');
|
|
79
|
+
}
|
|
80
|
+
this.el.appendChild(tooltipMarkup);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
//tooltip code ends
|
|
88
|
+
standardRender() {
|
|
89
|
+
const classMap = this.getCssClassMap();
|
|
90
|
+
const colorClass = this.addWhiteClass();
|
|
91
|
+
const cutOff = this.getLineCuttoff();
|
|
92
|
+
return (h(Host, { class: `${colorClass} ${this.paraZIndex} trunc-text` }, this.styles && h("style", null, this.styles), h("p", { class: classMap, part: "part-para", style: cutOff }, h("slot", null))));
|
|
93
|
+
}
|
|
94
|
+
getCssClassMap() {
|
|
95
|
+
return {
|
|
96
|
+
[this.fontSize]: true,
|
|
97
|
+
[this.fontWeight]: true,
|
|
98
|
+
[this.paraStyle]: true,
|
|
99
|
+
[this.paraMargin]: !!this.paraMargin ? true : false,
|
|
100
|
+
[this.paraColor]: true,
|
|
101
|
+
[this.paraLineH]: true,
|
|
102
|
+
[this.paraAlign]: !!this.paraAlign ? true : false,
|
|
103
|
+
['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
|
|
104
|
+
['line-clamp-title']: this.maxLines && this.maxLines > 0, //tooltip code,
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
//WEB-2392
|
|
108
|
+
addWhiteClass() {
|
|
109
|
+
if (this.paraColor == 'white') {
|
|
110
|
+
return {
|
|
111
|
+
[this.paraColor]: true,
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
getLineCuttoff() {
|
|
116
|
+
const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
|
|
117
|
+
return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
|
|
118
|
+
}
|
|
119
|
+
get el() { return getElement(this); }
|
|
120
|
+
};
|
|
121
|
+
PtcPara.style = ptcParaCss;
|
|
122
|
+
|
|
123
|
+
export { PtcPara as ptc_para };
|