@ptcwebops/ptcw-design 5.9.3 → 5.9.4
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/blog-detail-content_2.cjs.entry.js +271 -0
- package/dist/cjs/blog-detail-layout.cjs.entry.js +70 -0
- package/dist/cjs/icon-asset_10.cjs.entry.js +739 -0
- package/dist/cjs/interfaces-574e6df7.js +15 -0
- package/dist/cjs/list-item.cjs.entry.js +47 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/max-width-container.cjs.entry.js +54 -0
- package/dist/cjs/ptc-background-video.cjs.entry.js +86 -0
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
- package/dist/cjs/ptc-button.cjs.entry.js +84 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +67 -42
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +6 -6
- package/dist/cjs/ptc-date.cjs.entry.js +61 -0
- package/dist/cjs/{ptc-filter-dropdown_4.cjs.entry.js → ptc-filter-dropdown_3.cjs.entry.js} +0 -75
- package/dist/cjs/ptc-img.cjs.entry.js +133 -0
- package/dist/cjs/ptc-inline-cta.cjs.entry.js +125 -0
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +148 -0
- package/dist/cjs/ptc-link.cjs.entry.js +92 -0
- package/dist/cjs/ptc-para.cjs.entry.js +125 -0
- package/dist/cjs/ptc-quantity-counter.cjs.entry.js +2 -2
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +3 -2
- package/dist/cjs/ptc-social-icons.cjs.entry.js +33 -0
- package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +56 -0
- package/dist/cjs/ptc-tooltip.cjs.entry.js +107 -0
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/components/list-item/list-item.css +6 -0
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +6 -6
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +5 -0
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +19 -1
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +7 -0
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +1 -1
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +12 -0
- package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.js +1 -1
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +5 -0
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +2 -1
- package/dist/collection/components/ptc-social-share/ptc-social-share.css +5 -0
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +6 -1
- package/dist/custom-elements/index.js +25 -18
- package/dist/esm/academic-form-test.entry.js +1 -1
- package/dist/esm/author-listing-example.entry.js +1 -1
- package/dist/esm/blog-detail-content_2.entry.js +266 -0
- package/dist/esm/blog-detail-layout.entry.js +66 -0
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +1 -1
- package/dist/esm/embedded-form.entry.js +1 -1
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/fl-tab-content_3.entry.js +1 -1
- package/dist/esm/footer-form.entry.js +1 -1
- package/dist/esm/homepage-clickable-tab.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +1 -1
- package/dist/esm/homepage-toggled-content.entry.js +1 -1
- package/dist/esm/icon-asset_10.entry.js +726 -0
- package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/interfaces-7c0243be.js +12 -0
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
- package/dist/esm/list-item.entry.js +43 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/max-width-container.entry.js +50 -0
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/news-search-result.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +1 -1
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +82 -0
- package/dist/esm/ptc-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/ptc-breadcrumb.entry.js +43 -0
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +80 -0
- package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/ptc-card_2.entry.js +68 -43
- package/dist/esm/ptc-case-studies-slider.entry.js +7 -7
- package/dist/esm/ptc-checkbox-group.entry.js +1 -1
- package/dist/esm/ptc-checkbox.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +1 -1
- package/dist/esm/ptc-date.entry.js +57 -0
- package/dist/esm/ptc-dropdown.entry.js +1 -1
- package/dist/esm/ptc-dynamic-card.entry.js +1 -1
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
- package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/{ptc-filter-dropdown_4.entry.js → ptc-filter-dropdown_3.entry.js} +2 -76
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/ptc-form-checkbox_2.entry.js +1 -1
- package/dist/esm/ptc-form-radio-button.entry.js +1 -1
- package/dist/esm/ptc-form-radio-group.entry.js +1 -1
- package/dist/esm/ptc-form.entry.js +1 -1
- package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
- package/dist/esm/ptc-hero.entry.js +1 -1
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +1 -1
- package/dist/esm/ptc-icon-component.entry.js +1 -1
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +1 -1
- package/dist/esm/ptc-img.entry.js +129 -0
- package/dist/esm/ptc-info-tile.entry.js +1 -1
- package/dist/esm/ptc-inline-cta.entry.js +121 -0
- package/dist/esm/ptc-jumbotron.entry.js +144 -0
- package/dist/esm/ptc-link.entry.js +88 -0
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +1 -1
- package/dist/esm/ptc-modal-quiz.entry.js +1 -1
- package/dist/esm/ptc-multi-select_2.entry.js +1 -1
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +1 -1
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-nav-tile.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +1 -1
- package/dist/esm/ptc-office-locations.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-para.entry.js +121 -0
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +1 -1
- package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
- package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
- package/dist/esm/ptc-pricing-block.entry.js +1 -1
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-product-card.entry.js +1 -1
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-dropdown.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-product-list.entry.js +1 -1
- package/dist/esm/ptc-product-sidebar.entry.js +1 -1
- package/dist/esm/ptc-progress-bar.entry.js +1 -1
- package/dist/esm/ptc-quantity-counter.entry.js +3 -3
- package/dist/esm/ptc-quote.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-new.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +1 -1
- package/dist/esm/ptc-readmore.entry.js +1 -1
- package/dist/esm/ptc-related-card-rail.entry.js +1 -1
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +1 -1
- package/dist/esm/ptc-seo-title.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +4 -3
- package/dist/esm/ptc-showcase-card.entry.js +1 -1
- package/dist/esm/ptc-skeleton.entry.js +1 -1
- package/dist/esm/ptc-slit-card.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-social-icons.entry.js +29 -0
- package/dist/esm/ptc-spacer.entry.js +34 -0
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-square-card.entry.js +1 -1
- package/dist/esm/ptc-sticky-section.entry.js +1 -1
- package/dist/esm/ptc-sticky-title.entry.js +1 -1
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +1 -1
- package/dist/esm/ptc-svg-btn.entry.js +1 -1
- package/dist/esm/ptc-tab-list.entry.js +1 -1
- package/dist/esm/ptc-tab.entry.js +1 -1
- package/dist/esm/ptc-tabs.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +52 -0
- package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
- package/dist/esm/ptc-tooltip.entry.js +103 -0
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptc-value-led-card.entry.js +1 -1
- package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +1 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-value-prop-card.entry.js +1 -1
- package/dist/esm/ptc-video-embed.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +1 -1
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle-example.entry.js +1 -1
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
- package/dist/ptcw-design/{p-9c112fb9.entry.js → p-040621d3.entry.js} +1 -1
- package/dist/ptcw-design/{p-428b050e.entry.js → p-072dd199.entry.js} +1 -1
- package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
- package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
- package/dist/ptcw-design/p-107dd637.entry.js +1 -0
- package/dist/ptcw-design/{p-e5fdd222.entry.js → p-11315f18.entry.js} +1 -1
- package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
- package/dist/ptcw-design/{p-99b45d23.entry.js → p-139ca5d2.entry.js} +1 -1
- package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
- package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
- package/dist/ptcw-design/p-1acd3617.entry.js +1 -0
- package/dist/ptcw-design/{p-1f8ca0be.entry.js → p-1d040924.entry.js} +1 -1
- package/dist/ptcw-design/{p-b3bbd17d.entry.js → p-1e44cf5e.entry.js} +1 -1
- package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
- package/dist/ptcw-design/p-1eb92079.entry.js +1 -0
- package/dist/ptcw-design/{p-6b32020a.entry.js → p-1ec32cbc.entry.js} +1 -1
- package/dist/ptcw-design/{p-de680809.entry.js → p-1ff6a79e.entry.js} +1 -1
- package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
- package/dist/ptcw-design/p-21612ffa.entry.js +1 -0
- package/dist/ptcw-design/{p-2c634cfd.entry.js → p-2294d50a.entry.js} +1 -1
- package/dist/ptcw-design/{p-85cc23f7.entry.js → p-251513ee.entry.js} +1 -1
- package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
- package/dist/ptcw-design/{p-8798a958.entry.js → p-29816755.entry.js} +1 -1
- package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
- package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc488936.entry.js → p-2aa419ae.entry.js} +1 -1
- package/dist/ptcw-design/{p-bdc2f146.entry.js → p-2c5df150.entry.js} +1 -1
- package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
- package/dist/ptcw-design/{p-092388f5.entry.js → p-32b9f5da.entry.js} +1 -1
- package/dist/ptcw-design/p-397276af.entry.js +1 -0
- package/dist/ptcw-design/{p-f618e1d4.entry.js → p-3a67aedf.entry.js} +1 -1
- package/dist/ptcw-design/{p-cfd07b95.entry.js → p-3b93096b.entry.js} +1 -1
- package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
- package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
- package/dist/ptcw-design/{p-6e0bf873.entry.js → p-3cb0f54d.entry.js} +1 -1
- package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
- package/dist/ptcw-design/p-3e90100b.entry.js +1 -0
- package/dist/ptcw-design/{p-f2a67fc5.entry.js → p-3f3713cd.entry.js} +1 -1
- package/dist/ptcw-design/{p-e3d38b0c.entry.js → p-407253be.entry.js} +1 -1
- package/dist/ptcw-design/p-4335d7f3.entry.js +1 -0
- package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
- package/dist/ptcw-design/{p-0c20d1f1.entry.js → p-47496762.entry.js} +1 -1
- package/dist/ptcw-design/{p-ae7aa3b1.entry.js → p-4af3a6d4.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
- package/dist/ptcw-design/{p-e3bce6bf.entry.js → p-4f6c9992.entry.js} +1 -1
- package/dist/ptcw-design/p-50605d7c.entry.js +1 -0
- package/dist/ptcw-design/{p-374734fb.entry.js → p-5177c7e0.entry.js} +1 -1
- package/dist/ptcw-design/{p-1ca8a5bf.entry.js → p-520542e2.entry.js} +1 -1
- package/dist/ptcw-design/p-53cd14ba.entry.js +1 -0
- package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
- package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
- package/dist/ptcw-design/{p-a83d18b8.entry.js → p-595d3ad5.entry.js} +1 -1
- package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
- package/dist/ptcw-design/{p-dca69b87.entry.js → p-5dee4e02.entry.js} +1 -1
- package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
- package/dist/ptcw-design/{p-849655f7.entry.js → p-65b9b38b.entry.js} +1 -1
- package/dist/ptcw-design/{p-ec94b1d2.entry.js → p-66754504.entry.js} +1 -1
- package/dist/ptcw-design/p-6b64f167.entry.js +1 -0
- package/dist/ptcw-design/p-72681e91.entry.js +1 -0
- package/dist/ptcw-design/{p-b65b59ab.entry.js → p-75f3b444.entry.js} +1 -1
- package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
- package/dist/ptcw-design/{p-83a0be46.entry.js → p-7698c568.entry.js} +1 -1
- package/dist/ptcw-design/{p-8038bf31.entry.js → p-779c3f21.entry.js} +1 -1
- package/dist/ptcw-design/{p-612c0f9b.entry.js → p-79232125.entry.js} +1 -1
- package/dist/ptcw-design/p-7964e154.entry.js +1 -0
- package/dist/ptcw-design/p-79883a07.entry.js +1 -0
- package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
- package/dist/ptcw-design/p-7e1507e1.entry.js +1 -0
- package/dist/ptcw-design/{p-4b192f5e.entry.js → p-7e19be10.entry.js} +1 -1
- package/dist/ptcw-design/p-7e4a71ff.entry.js +1 -0
- package/dist/ptcw-design/{p-ebb04883.entry.js → p-7ea4b858.entry.js} +1 -1
- package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
- package/dist/ptcw-design/p-8039fa0d.entry.js +1 -0
- package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
- package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
- package/dist/ptcw-design/p-8436f21f.entry.js +1 -0
- package/dist/ptcw-design/p-875594e4.entry.js +1 -0
- package/dist/ptcw-design/{p-1eecdb7f.entry.js → p-879f4796.entry.js} +1 -1
- package/dist/ptcw-design/{p-ae16e7f9.entry.js → p-887c44ae.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
- package/dist/ptcw-design/{p-7b71abaf.entry.js → p-94c59fac.entry.js} +1 -1
- package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
- package/dist/ptcw-design/{p-daa07e11.entry.js → p-982c3ef3.entry.js} +1 -1
- package/dist/ptcw-design/{p-0e796d1a.entry.js → p-9a7b6c70.entry.js} +1 -1
- package/dist/ptcw-design/p-9ae901e2.entry.js +1 -0
- package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
- package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
- package/dist/ptcw-design/p-9f2823a1.entry.js +1 -0
- package/dist/ptcw-design/{p-d1857ada.entry.js → p-9fa81b74.entry.js} +1 -1
- package/dist/ptcw-design/{p-cea1077c.entry.js → p-a1a34215.entry.js} +1 -1
- package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
- package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
- package/dist/ptcw-design/{p-2a6a0034.entry.js → p-a31b8cad.entry.js} +1 -1
- package/dist/ptcw-design/{p-58c10456.entry.js → p-a5ae3230.entry.js} +1 -1
- package/dist/ptcw-design/{p-51a275df.entry.js → p-a9df5985.entry.js} +1 -1
- package/dist/ptcw-design/{p-de1367a8.entry.js → p-ab49b93b.entry.js} +1 -1
- package/dist/ptcw-design/{p-00e21489.entry.js → p-ad4f4f33.entry.js} +1 -1
- package/dist/ptcw-design/{p-e61d7e23.entry.js → p-ad8b3161.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
- package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
- package/dist/ptcw-design/{p-fdc65d81.entry.js → p-b44dbb3f.entry.js} +1 -1
- package/dist/ptcw-design/{p-7c7c4c3a.entry.js → p-b67d4f9c.entry.js} +1 -1
- package/dist/ptcw-design/{p-5b21bdc1.entry.js → p-b6e5c0f7.entry.js} +1 -1
- package/dist/ptcw-design/p-b72f0796.entry.js +1 -0
- package/dist/ptcw-design/{p-00980d4d.entry.js → p-b912ff93.entry.js} +1 -1
- package/dist/ptcw-design/{p-8c2ef359.entry.js → p-bacd25a1.entry.js} +1 -1
- package/dist/ptcw-design/{p-971b8a7d.entry.js → p-be00fb74.entry.js} +1 -1
- package/dist/ptcw-design/{p-1fb78c17.entry.js → p-bedf2794.entry.js} +1 -1
- package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
- package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
- package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
- package/dist/ptcw-design/{p-af9026f2.entry.js → p-c1e07fde.entry.js} +1 -1
- package/dist/ptcw-design/p-c2a171a7.entry.js +1 -0
- package/dist/ptcw-design/{p-927f537c.entry.js → p-c3bd5805.entry.js} +1 -1
- package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
- package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
- package/dist/ptcw-design/{p-768ceec1.entry.js → p-c8b29c81.entry.js} +1 -1
- package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
- package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
- package/dist/ptcw-design/{p-16429296.entry.js → p-ccebb76c.entry.js} +1 -1
- package/dist/ptcw-design/{p-5857be70.entry.js → p-ccf1dacd.entry.js} +1 -1
- package/dist/ptcw-design/{p-6ddefda6.entry.js → p-cd0fe5b4.entry.js} +1 -1
- package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
- package/dist/ptcw-design/p-d52cc1ee.entry.js +1 -0
- package/dist/ptcw-design/{p-0ee01112.entry.js → p-d5fbe774.entry.js} +1 -1
- package/dist/ptcw-design/{p-37480ed1.entry.js → p-d9b2186d.entry.js} +1 -1
- package/dist/ptcw-design/p-d9ec506c.entry.js +1 -0
- package/dist/ptcw-design/{p-a54c6da5.entry.js → p-dabb1b70.entry.js} +1 -1
- package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
- package/dist/ptcw-design/{p-68cf7811.entry.js → p-df712bfe.entry.js} +1 -1
- package/dist/ptcw-design/{p-2bbc5d85.entry.js → p-e5f38e09.entry.js} +1 -1
- package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
- package/dist/ptcw-design/p-e75dff95.entry.js +1 -0
- package/dist/ptcw-design/{p-6ce1cc72.entry.js → p-e7ede17d.entry.js} +1 -1
- package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
- package/dist/ptcw-design/p-e9bde223.entry.js +1 -0
- package/dist/ptcw-design/p-ec22d0b8.entry.js +1 -0
- package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
- package/dist/ptcw-design/{p-c1820648.entry.js → p-eddff1f7.entry.js} +1 -1
- package/dist/ptcw-design/p-ee1183b2.js +1 -0
- package/dist/ptcw-design/p-ef0079b0.entry.js +1 -0
- package/dist/ptcw-design/{p-f5c97ab2.entry.js → p-f2006b03.entry.js} +1 -1
- package/dist/ptcw-design/p-f26ea42b.entry.js +1 -0
- package/dist/ptcw-design/{p-94cc3bb8.entry.js → p-f2ed73d6.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
- package/dist/ptcw-design/{p-3e5f19f9.entry.js → p-fda8d2a8.entry.js} +1 -1
- package/dist/ptcw-design/p-fe2e34d4.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +0 -1
- package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +4 -0
- package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +1 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/blog-detail-content_21.cjs.entry.js +0 -1859
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +0 -206
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +0 -29
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +0 -23
- package/dist/cjs/ptc-news.cjs.entry.js +0 -32
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +0 -43
- package/dist/esm/blog-detail-content_21.entry.js +0 -1835
- package/dist/esm/ptc-close-icon_2.entry.js +0 -201
- package/dist/esm/ptc-image-download-strip.entry.js +0 -25
- package/dist/esm/ptc-minimized-nav.entry.js +0 -19
- package/dist/esm/ptc-news.entry.js +0 -28
- package/dist/esm/ptc-sticky-icons.entry.js +0 -39
- package/dist/ptcw-design/p-07b497ce.entry.js +0 -1
- package/dist/ptcw-design/p-0e5932f0.entry.js +0 -1
- package/dist/ptcw-design/p-1f1510fc.entry.js +0 -1
- package/dist/ptcw-design/p-2cfeeac8.entry.js +0 -1
- package/dist/ptcw-design/p-3dae22b8.entry.js +0 -1
- package/dist/ptcw-design/p-592d99fd.entry.js +0 -1
- package/dist/ptcw-design/p-5ede7718.entry.js +0 -1
- package/dist/ptcw-design/p-6b6c09c7.entry.js +0 -1
- package/dist/ptcw-design/p-7eb22ed5.entry.js +0 -1
- package/dist/ptcw-design/p-8bf47996.entry.js +0 -1
- package/dist/ptcw-design/p-8c692bd6.entry.js +0 -1
- package/dist/ptcw-design/p-94ec3187.entry.js +0 -1
- package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
- package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
- package/dist/ptcw-design/p-a881a403.entry.js +0 -1
- package/dist/ptcw-design/p-ab7224b7.entry.js +0 -1
- package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
- package/dist/ptcw-design/p-d0ac02b1.entry.js +0 -1
- package/dist/ptcw-design/p-d7275289.entry.js +0 -1
- package/dist/ptcw-design/p-fc51fc29.entry.js +0 -1
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const ptcCloseIconCss = "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:inline-block}:host .close-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:5px solid transparent;box-sizing:border-box;border-radius:var(--ptc-border-radius-standard);cursor:pointer}:host .close-icon svg{padding:7px;border:1px solid transparent;border-radius:var(--ptc-border-radius-standard);background-color:transparent;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .close-icon:hover svg{border-color:var(--color-gray-12)}:host .close-icon:active svg{transition-duration:0ms;background-color:var(--color-gray-02);border:1px solid var(--color-gray-12)}:host .close-icon:focus{border:5px solid var(--color-blue-07)}";
|
|
8
|
-
|
|
9
|
-
const PtcCloseIcon = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
}
|
|
13
|
-
render() {
|
|
14
|
-
return (index.h(index.Host, null, index.h("div", { class: 'close-icon' }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.00089 8.4151L12.5876 14.0018L14.0018 12.5876L8.4151 7.00089L14.0018 1.41421L12.5876 0L7.00089 5.58667L1.41421 0L0 1.41421L5.58667 7.00089L0 12.5876L1.41421 14.0018L7.00089 8.4151Z", fill: "#20262A" })))));
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
PtcCloseIcon.style = ptcCloseIconCss;
|
|
18
|
-
|
|
19
|
-
const ptcModalCss = "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}.wrapper{position:absolute;width:100vw;height:100%;top:0;left:0;z-index:500001;display:none}.wrapper.fixed{position:fixed}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:50020;transform:translateY(-100%)}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup.max{width:calc(100% - 4rem);max-width:75rem;height:80vh;margin:auto;overflow:hidden}.wrapper .modal-popup.max .close{margin:var(--ptc-element-spacing-02)}.wrapper .modal-popup.max .modal-body iframe{height:100%}.wrapper .modal-popup.sm-modal{width:341px;max-width:341px}@media only screen and (max-width: 360px){.wrapper .modal-popup.sm-modal{max-width:100%;width:100%}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal{max-width:360px;width:360px}}@media only screen and (min-width: 480px){.wrapper .modal-popup.sm-modal.modal-with-content{width:371px;max-width:371px}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal.modal-with-content{max-width:360px;width:360px}}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden;overflow-y:hidden;overflow-x:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup.frame .modal-body{display:flex;flex:1;height:100%}.wrapper .modal-popup .close{margin-right:2px;margin-top:2px}.wrapper .modal-popup.shadow-scroller{max-height:calc(100vh - 220px)}@media only screen and (min-width: 992px){.wrapper .modal-popup.shadow-scroller{max-height:756px}}.wrapper .modal-popup.shadow-scroller .modal-header{transition:box-shadow ease-in-out 250ms;position:relative;min-height:57px;border-bottom:1px solid var(--color-gray-02);width:100%}.wrapper .modal-popup.shadow-scroller .modal-header .close{position:absolute;top:8px;right:8px;margin:0}.wrapper .modal-popup.shadow-scroller .modal-body{min-height:200px;overflow-x:hidden}.wrapper .modal-popup.shadow-scroller .modal-footer{transition:box-shadow ease-in-out 250ms;width:100%;min-height:60px;border-top:1px solid var(--color-gray-02);padding-top:1rem}.wrapper .modal-popup.shadow-scroller.scroll-top .modal-header{box-shadow:0px 4px 12px rgba(0, 0, 0, 0.12)}.wrapper .modal-popup.shadow-scroller.scroll-bottom .modal-footer{box-shadow:0px -8px 12px rgba(0, 0, 0, 0.12)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.wrapper.show .modal-popup.rounded{border-radius:var(--ptc-border-radius-standard)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:50010;display:block;background-color:rgba(0, 0, 0, 0.6)}:host(.standard) .modal-popup{border-radius:var(--ptc-border-radius-standard)}:host(.large) .modal-popup{border-radius:var(--ptc-border-radius-large)}:host(.pill) .modal-popup{border-radius:var(--ptc-border-radius-pill)}:host(.circle) .modal-popup{border-radius:var(--ptc-border-radius-circle)}:host(.enclose-modal) .modal-popup{max-height:calc(100vh - 180px)}:host(.enclose-modal) .modal-popup:not(.frame) .modal-body{overflow-y:auto}:host(.bio-modal) .wrapper.show{align-items:flex-start}@media only screen and (min-width: 768px){:host(.bio-modal) .wrapper.show{align-items:center}}:host(.bio-modal) .modal-popup{padding:30px 15px 30px 0;max-width:1200px;margin:20px auto 0 auto;max-height:calc(100vh - 180px);width:90%;height:100%}:host(.bio-modal) .modal-popup .modal-body{height:100%}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup .modal-body{height:auto}}@media (max-height: 450px){:host(.bio-modal) .modal-popup .modal-body{height:100%}}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup{max-height:none;width:80%;margin-top:0px;height:auto}}@media only screen and (min-width: 1440px){:host(.bio-modal) .modal-popup{max-width:1400px}}@media (max-height: 450px){:host(.bio-modal) .modal-popup{max-height:calc(100vh - 180px);height:100%}}:host(.bio-modal) .close{position:absolute;margin:0;right:8px;top:8px}:host(.bio-modal) .close svg .cls-1,:host(.bio-modal) .close svg .cls-2{fill:none;stroke-width:2px}:host(.bio-modal) .close svg .cls-1{stroke:#1c2439;stroke-linecap:square}:host(.bio-modal) .close svg .cls-2{stroke:#74c34d}:host(.bio-modal) .close svg path{transition:all ease-in-out 250ms}:host(.bio-modal) .close svg .cls-1:nth-child(1){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close svg .cls-1:nth-child(2){transform:translate(175.5px, 174.985px)}:host(.bio-modal) .close svg .cls-1:nth-child(3){transform:translate(215.5px, 141.393px)}:host(.bio-modal) .close svg .cls-1:nth-child(4){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(1){transform:translate(175.5px, 162px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(2){transform:translate(149px, 174.985px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(3){transform:translate(215.5px, 174px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(4){transform:translate(152.5px, 135.5px)}:host(.no-container) .wrapper .modal-popup.xl{max-width:80rem !important;background:transparent;box-shadow:none}:host(.no-container) .wrapper .modal-popup .close{display:none}:host(.video-modal) .modal-popup{margin:auto}@media (max-height: 768px){:host(.video-modal) .modal-popup.xl{max-width:56rem}}@media (max-height: 600px){:host(.video-modal) .modal-popup.xl{max-width:44rem}}@media (max-height: 500px){:host(.video-modal) .modal-popup.xl{max-width:35rem}}@media (max-height: 400px){:host(.video-modal) .modal-popup.xl{max-width:26rem}}";
|
|
20
|
-
|
|
21
|
-
const PtcModal = class {
|
|
22
|
-
constructor(hostRef) {
|
|
23
|
-
index.registerInstance(this, hostRef);
|
|
24
|
-
this.closed = index.createEvent(this, "closed", 7);
|
|
25
|
-
this.opened = index.createEvent(this, "opened", 7);
|
|
26
|
-
this.iframeUrl = undefined;
|
|
27
|
-
this.size = 'sm';
|
|
28
|
-
this.customClass = undefined;
|
|
29
|
-
this.show = false;
|
|
30
|
-
this.overlay = true;
|
|
31
|
-
this.fixed = false;
|
|
32
|
-
this.keepInViewport = false;
|
|
33
|
-
this.closeOnBlur = false;
|
|
34
|
-
this.rounded = false;
|
|
35
|
-
this.hideContainer = false;
|
|
36
|
-
this.showHeaderFooter = false;
|
|
37
|
-
this.overlayHeight = undefined;
|
|
38
|
-
this.borderRadius = 'standard';
|
|
39
|
-
this.isBioModal = false;
|
|
40
|
-
this.styles = undefined;
|
|
41
|
-
this.modalType = 'default-modal';
|
|
42
|
-
this.bodyOverflowSetting = undefined;
|
|
43
|
-
}
|
|
44
|
-
fireOnClosed(modal) {
|
|
45
|
-
this.closed.emit(modal);
|
|
46
|
-
}
|
|
47
|
-
fireOnOpened(modal) {
|
|
48
|
-
this.opened.emit(modal);
|
|
49
|
-
}
|
|
50
|
-
componentWillLoad() {
|
|
51
|
-
let body = document.querySelector('body');
|
|
52
|
-
this.bodyOverflowSetting = {
|
|
53
|
-
//overflow: body.style['overflow'],
|
|
54
|
-
overflowY: body.style['overflowY'],
|
|
55
|
-
overflowX: body.style['overflowX'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
componentWillRender() {
|
|
59
|
-
let body = document.querySelector('body');
|
|
60
|
-
if (body) {
|
|
61
|
-
if (this.show) {
|
|
62
|
-
//body.style['overflow'] = 'hidden';
|
|
63
|
-
if (this.fixed) {
|
|
64
|
-
body.style['overflowY'] = 'hidden';
|
|
65
|
-
body.style['overflowX'] = 'hidden';
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
body.style['overflowY'] = 'scroll';
|
|
69
|
-
body.style['overflowX'] = 'hidden';
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
//body.style['overflow'] = this.bodyOverflowSetting.overflow;
|
|
74
|
-
body.style['overflowY'] = this.bodyOverflowSetting.overflowY;
|
|
75
|
-
body.style['overflowX'] = this.bodyOverflowSetting.overflowX;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
componentDidLoad() {
|
|
80
|
-
if (this.show) {
|
|
81
|
-
this.fireOnOpened(this);
|
|
82
|
-
}
|
|
83
|
-
if (this.showHeaderFooter) {
|
|
84
|
-
this.handleScroll();
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
componentDidUpdate() {
|
|
88
|
-
if (this.show) {
|
|
89
|
-
this.fireOnOpened(this);
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
this.fireOnClosed(this);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
resizeIframe(e) {
|
|
96
|
-
let iFrame = e.target;
|
|
97
|
-
setTimeout(() => {
|
|
98
|
-
try {
|
|
99
|
-
if (iFrame.contentDocument) {
|
|
100
|
-
iFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
iFrame.height = '616px'; //default
|
|
104
|
-
iFrame.removeAttribute('scrolling');
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
catch (error) {
|
|
108
|
-
console.log(error);
|
|
109
|
-
iFrame.height = '616px'; //default
|
|
110
|
-
iFrame.removeAttribute('scrolling');
|
|
111
|
-
}
|
|
112
|
-
iFrame.classList.add('ready');
|
|
113
|
-
}, 50);
|
|
114
|
-
}
|
|
115
|
-
handleScroll() {
|
|
116
|
-
let modal = this.el.shadowRoot.querySelector('.shadow-scroller');
|
|
117
|
-
if (modal) {
|
|
118
|
-
let body = modal.querySelector('.modal-body');
|
|
119
|
-
var height = body.clientHeight;
|
|
120
|
-
var scrollHeight = body.scrollHeight;
|
|
121
|
-
var scrollTop = body.scrollTop;
|
|
122
|
-
var offset = body.offsetHeight;
|
|
123
|
-
if (height < scrollHeight) { //has scrollbar
|
|
124
|
-
if (scrollTop > 0) { //can scroll up
|
|
125
|
-
modal.classList.add('scroll-top');
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
modal.classList.remove('scroll-top');
|
|
129
|
-
}
|
|
130
|
-
if (offset + scrollTop < scrollHeight) { //can scroll down
|
|
131
|
-
modal.classList.add('scroll-bottom');
|
|
132
|
-
}
|
|
133
|
-
else {
|
|
134
|
-
modal.classList.remove('scroll-bottom');
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
close() {
|
|
140
|
-
this.show = false;
|
|
141
|
-
}
|
|
142
|
-
render() {
|
|
143
|
-
let content;
|
|
144
|
-
let overlay;
|
|
145
|
-
let type = this.iframeUrl ? 'frame' : 'html';
|
|
146
|
-
let closebtn = (index.h("div", { class: "close" }, index.h("ptc-close-icon", { onClick: (e) => { e.preventDefault(); this.close(); } })));
|
|
147
|
-
if (this.iframeUrl) {
|
|
148
|
-
content = (index.h("iframe", { src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: "100%", width: "100%", scrolling: "no", onLoad: this.resizeIframe }));
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
if (this.showHeaderFooter) {
|
|
152
|
-
content = (index.h("slot", { name: "body" }));
|
|
153
|
-
}
|
|
154
|
-
else {
|
|
155
|
-
content = (index.h("slot", null));
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
if (this.overlay) {
|
|
159
|
-
if (this.closeOnBlur) {
|
|
160
|
-
overlay = index.h("div", { class: "overlay", onClick: (_) => this.close() });
|
|
161
|
-
}
|
|
162
|
-
else {
|
|
163
|
-
overlay = index.h("div", { class: "overlay" });
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
return (index.h(index.Host, { class: this.getCssClassMap() }, this.styles && index.h("style", null, this.styles), index.h("div", { class: `wrapper ${this.show ? "show" : "hide"} ${this.fixed ? 'fixed' : ''} ` }, overlay, index.h("div", { class: `modal-popup ${this.customClass ? this.customClass : ''} ${this.size} ${type} ${this.rounded ? 'rounded' : ''} ${this.showHeaderFooter ? 'shadow-scroller' : ''} ` }, this.showHeaderFooter ? [
|
|
167
|
-
index.h("div", { class: "modal-header" }, index.h("slot", { name: "header" }), closebtn),
|
|
168
|
-
index.h("div", { class: "modal-body", onScroll: () => this.handleScroll() }, content),
|
|
169
|
-
index.h("div", { class: "modal-footer" }, index.h("slot", { name: "footer" }))
|
|
170
|
-
] : [
|
|
171
|
-
closebtn,
|
|
172
|
-
index.h("div", { class: "modal-body" }, content)
|
|
173
|
-
]))));
|
|
174
|
-
}
|
|
175
|
-
getCssClassMap() {
|
|
176
|
-
return {
|
|
177
|
-
["no-container"]: this.hideContainer,
|
|
178
|
-
["bio-modal"]: this.isBioModal,
|
|
179
|
-
["enclose-modal"]: !this.isBioModal && this.keepInViewport,
|
|
180
|
-
[this.borderRadius]: true,
|
|
181
|
-
[this.modalType]: true
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
async showModal() {
|
|
185
|
-
this.show = true;
|
|
186
|
-
}
|
|
187
|
-
async hideModal() {
|
|
188
|
-
this.show = false;
|
|
189
|
-
}
|
|
190
|
-
async toggleModal() {
|
|
191
|
-
this.show = !this.show;
|
|
192
|
-
}
|
|
193
|
-
async reloadIframe() {
|
|
194
|
-
if (this.iframeUrl) {
|
|
195
|
-
let iframe = this.el.shadowRoot.querySelector('iframe');
|
|
196
|
-
if (iframe) {
|
|
197
|
-
iframe.src = iframe.src;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
get el() { return index.getElement(this); }
|
|
202
|
-
};
|
|
203
|
-
PtcModal.style = ptcModalCss;
|
|
204
|
-
|
|
205
|
-
exports.ptc_close_icon = PtcCloseIcon;
|
|
206
|
-
exports.ptc_modal = PtcModal;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const ptcImageDownloadStripCss = "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:relative;font-family:var(--ptc-font-secondary-latin)}:host .strip{position:absolute;bottom:0;backdrop-filter:blur(15.2px);background:white;background:rgba(255, 255, 255, 0.3);width:100%;padding:15px;box-sizing:border-box;text-align:right}:host .strip .dl-btn{width:54px;height:40px;background-image:-o-linear-gradient(162deg, #74c34d, #00783e);background-image:linear-gradient(288deg, #74c34d, #00783e);border:1px solid #fff;color:#fff;cursor:pointer;display:flex;flex-direction:column;justify-content:center;margin-left:auto;align-items:center;text-decoration:none}:host .strip .dl-btn .dl-text{font-size:10px;text-transform:uppercase;font-weight:600;line-height:1.25;margin-bottom:1px;display:none}:host .strip .dl-btn:hover{box-shadow:0 3px 20px 0 #74c34d}:host .strip .dl-btn:hover .dl-text{display:block}:host .strip .dl-btn img{max-height:18px;width:12px}";
|
|
8
|
-
|
|
9
|
-
const PtcImageDownloadStrip = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.downloadUrl = undefined;
|
|
13
|
-
}
|
|
14
|
-
render() {
|
|
15
|
-
return (index.h(index.Host, null, index.h("slot", null), index.h("div", { class: "strip" }, index.h("a", { class: "dl-btn", href: "javascript:void()", onClick: () => { this.openModal(); } }, index.h("span", { class: "dl-text" }, "Download"), index.h("img", { src: "https://www.ptc.com/dist/ptc/images/download-arrow.svg", alt: "Down Arrow" }))), index.h("ptc-modal", { id: "strip-download-modal", show: false, size: "lg", fixed: true, "is-bio-modal": true }, index.h("ptc-title", { type: 'h2', "text-align": 'center', "title-weight": "w-5", upperline: "no-upperline" }, "Thanks For Downloading"))));
|
|
16
|
-
}
|
|
17
|
-
openModal() {
|
|
18
|
-
let modal = this.el.shadowRoot.querySelector('#strip-download-modal');
|
|
19
|
-
modal.setAttribute('show', 'true');
|
|
20
|
-
setTimeout(() => {
|
|
21
|
-
modal.setAttribute('show', 'false');
|
|
22
|
-
window.open(`${this.downloadUrl}`, "_self");
|
|
23
|
-
}, 1000);
|
|
24
|
-
}
|
|
25
|
-
get el() { return index.getElement(this); }
|
|
26
|
-
};
|
|
27
|
-
PtcImageDownloadStrip.style = ptcImageDownloadStripCss;
|
|
28
|
-
|
|
29
|
-
exports.ptc_image_download_strip = PtcImageDownloadStrip;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const ptcMinimizedNavCss = "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}.minimized-header .header{overflow:hidden;height:48px;background-color:var(--color-gray-10);display:flex;align-items:center;justify-content:center}.minimized-header .header a{float:left;color:var(--color-black);text-align:center;padding:0px 0;text-decoration:none;border-radius:var(--ptc-border-radius-standard);position:relative}.minimized-header .header a.mini-navbar-logo{font-weight:var(--ptc-font-weight-bold)}.minimized-header .header a.mini-navbar-logo img{width:65px;vertical-align:middle;border:0;height:auto}.minimized-header .header a::before{content:\"\";position:absolute;top:-50%;left:-50%;width:200%;height:48px;transform:translateY(-4px)}.mini-navbar-logo{outline:3px solid transparent}.mini-navbar-logo:focus{outline:3px solid var(--color-blue-07);outline-offset:2px;border-radius:var(--ptc-border-radius-standard);text-decoration:none;border-color:transparent !important}.ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 768px){.ptc-container{margin-left:0}}@media only screen and (min-width: 1200px){.ptc-container{margin-left:auto;width:1136px}}@media only screen and (min-width: 1440px){.ptc-container{width:1200px}}.ptc-min-footer{box-shadow:var(--ptc-shadow-medium);color:var(--color-white);position:relative;overflow:hidden;position:relative;z-index:1000;padding:0;height:60px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--color-gray-10)}.min-footer-nav-list{margin:0;padding:0;list-style:none}.min-footer-copyright-wrapper{text-align:center;position:relative;z-index:20}.min-footer-copyright-wrapper .min-footer-copyright-list{padding:var(--ptc-element-spacing-04) 0;display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;justify-content:center}@media screen-sm{.min-footer-copyright-wrapper .min-footer-copyright-list{padding:var(--ptc-element-spacing-04) 0}}@media screen-xs{.minimized-header .header a{float:none;display:block;text-align:left}}";
|
|
8
|
-
|
|
9
|
-
const PtcMinimizedNav = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.linkUrl = '#';
|
|
13
|
-
this.imgSrc = '';
|
|
14
|
-
this.imgAlt = 'PTC';
|
|
15
|
-
this.navType = 'minimized-header';
|
|
16
|
-
}
|
|
17
|
-
render() {
|
|
18
|
-
return (index.h(index.Host, null, this.navType == 'minimized-header' ? (index.h("div", { class: "minimized-header" }, index.h("div", { class: "header" }, index.h("div", { class: "ptc-container" }, index.h("a", { class: "mini-navbar-logo", href: this.linkUrl }, index.h("img", { src: this.imgSrc, alt: this.imgAlt })))))) : null, this.navType == 'minimized-footer' ? (index.h("div", { class: "ptc-min-footer mini-footer" }, index.h("div", { class: "min-footer-copyright-wrapper" }, index.h("ul", { class: "min-footer-nav-list min-footer-copyright-list" }, index.h("slot", null))))) : null));
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
PtcMinimizedNav.style = ptcMinimizedNavCss;
|
|
22
|
-
|
|
23
|
-
exports.ptc_minimized_nav = PtcMinimizedNav;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const ptcNewsCss = "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}:host .news-container{max-width:990px;padding:30px 0;margin:auto}:host .news-tag{color:var(--color-gray-10);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);display:inline-block}:host .news-date{margin-bottom:20px;display:inline-block;font-size:var(--ptc-font-size-small)}:host .news-content{padding-top:var(--ptc-element-spacing-08)}:host ptc-sticky-icons{display:none}@media only screen and (min-width: 992px){:host ptc-sticky-icons{display:block}}";
|
|
8
|
-
|
|
9
|
-
const PtcNews = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.newsTag = undefined;
|
|
13
|
-
this.newsDate = undefined;
|
|
14
|
-
this.newsImage = undefined;
|
|
15
|
-
this.newsImageAlt = undefined;
|
|
16
|
-
this.newsDownloadUrl = undefined;
|
|
17
|
-
}
|
|
18
|
-
render() {
|
|
19
|
-
return (index.h(index.Host, null, index.h("div", { class: "news-container" }, this.newsTag && index.h("span", { class: "news-tag" }, this.newsTag), index.h("slot", { name: "news-title" }), index.h("slot", { name: "news-secondary-title" }), this.newsDate && index.h("span", { class: "news-date" }, this.newsDate), index.h("slot", { name: "news-summary" }), this.getArticleImage(), index.h("div", { class: "news-content" }, index.h("slot", { name: "share-icons" }), index.h("slot", null)))));
|
|
20
|
-
}
|
|
21
|
-
getArticleImage() {
|
|
22
|
-
if (this.newsImage && this.newsDownloadUrl) {
|
|
23
|
-
return (index.h("ptc-image-download-strip", { "download-url": this.newsDownloadUrl }, index.h("ptc-picture", { alt: this.newsImageAlt, src: this.newsImage, "is-full-width": "true" })));
|
|
24
|
-
}
|
|
25
|
-
else if (this.newsImage && !this.newsDownloadUrl) {
|
|
26
|
-
return (index.h("ptc-picture", { alt: this.newsImageAlt, src: this.newsImage, "is-full-width": "true" }));
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
PtcNews.style = ptcNewsCss;
|
|
31
|
-
|
|
32
|
-
exports.ptc_news = PtcNews;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const ptcStickyIconsCss = "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}}@media only screen and (min-width: 992px){:host{z-index:105;margin:auto;position:sticky;top:10%;right:0;float:right;margin-right:-40px}}:host .icon-container{padding:var(--ptc-element-spacing-03) 0}@media only screen and (min-width: 992px){:host .icon-container{padding:0 0 0 var(--ptc-element-spacing-03);display:flex;flex-direction:column}}:host ::slotted(ptc-social-share){margin:0 var(--ptc-element-spacing-03) 0 0}@media only screen and (min-width: 992px){:host ::slotted(ptc-social-share){margin:0 0 var(--ptc-element-spacing-03) 0;display:flex;align-items:center;justify-content:center}}";
|
|
8
|
-
|
|
9
|
-
const PtcStickyIcons = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
}
|
|
13
|
-
handleResize() {
|
|
14
|
-
this.setHostLocation();
|
|
15
|
-
}
|
|
16
|
-
componentWillLoad() {
|
|
17
|
-
this.setHostLocation();
|
|
18
|
-
}
|
|
19
|
-
render() {
|
|
20
|
-
return (index.h(index.Host, null, index.h("div", { class: "icon-container" }, index.h("slot", null))));
|
|
21
|
-
}
|
|
22
|
-
setHostLocation() {
|
|
23
|
-
let width = (window.innerWidth > 0) ? window.innerWidth : screen.width;
|
|
24
|
-
let currEle = this.el;
|
|
25
|
-
// get the element
|
|
26
|
-
const element = document.querySelector("ptc-sticky-icons");
|
|
27
|
-
if (element) {
|
|
28
|
-
currEle.parentElement.style.position = "relative";
|
|
29
|
-
if (width < 992) {
|
|
30
|
-
currEle.parentElement.appendChild(currEle);
|
|
31
|
-
currEle.parentElement.style.paddingRight = "0px";
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
currEle.parentElement.prepend(currEle);
|
|
35
|
-
currEle.parentElement.style.paddingRight = "40px";
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
get el() { return index.getElement(this); }
|
|
40
|
-
};
|
|
41
|
-
PtcStickyIcons.style = ptcStickyIconsCss;
|
|
42
|
-
|
|
43
|
-
exports.ptc_sticky_icons = PtcStickyIcons;
|