@ptcwebops/ptcw-design 6.3.30-beta → 6.3.30
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/component-1b8ad4d2.js +1819 -0
- package/dist/cjs/{component-4dd13907.js → component-35540bfb.js} +1494 -3305
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/global-418c14b4.js +33 -0
- package/dist/cjs/icon-asset.cjs.entry.js +65 -0
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
- package/dist/cjs/list-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -1
- package/dist/cjs/max-width-container.cjs.entry.js +54 -0
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +16 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +20 -3
- package/dist/cjs/ptc-button_5.cjs.entry.js +542 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +7 -5
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +2 -6
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +34 -26
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +1 -1
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +66 -0
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +40 -9
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +18 -3
- package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +18 -800
- package/dist/cjs/ptc-icon-list.cjs.entry.js +35 -0
- package/dist/cjs/ptc-info-tile.cjs.entry.js +2 -1
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +4 -1
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +670 -0
- package/dist/cjs/ptc-nav-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +28 -3
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -10
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-list.cjs.entry.js +11 -1
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +38 -6
- package/dist/cjs/ptc-quote.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +42 -38
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +9 -0
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +7 -0
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +42 -8
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +17 -15
- package/dist/cjs/ptcw-design.cjs.js +3 -1
- package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +66 -0
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- package/dist/cjs/validation-messages-f1d373e7.js +172 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/icon-asset/icon-asset.js +1 -1
- package/dist/collection/components/icon-asset/media/{designer-v6.0.6.svg → designer-v6.0.7.svg} +17 -30
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +1 -0
- package/dist/collection/components/list-item/list-item.css +4 -0
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +4 -0
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +15 -0
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +10 -6
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +19 -2
- package/dist/collection/components/ptc-button/ptc-button.css +100 -0
- package/dist/collection/components/ptc-button/ptc-button.js +24 -4
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +1 -5
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +1 -1
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +1 -1
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +12 -0
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +29 -3
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +34 -13
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +17 -2
- package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +20 -1
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +3 -0
- package/dist/collection/components/ptc-modal/ptc-modal.css +0 -4
- package/dist/collection/components/ptc-modal/ptc-modal.js +52 -27
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +7 -0
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +78 -2
- package/dist/collection/components/ptc-para/ptc-para.css +0 -3
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +109 -0
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +6 -4
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +0 -16
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +1 -27
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +10 -6
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +1 -1
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +8 -0
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +1 -1
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +11 -1
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +12 -0
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +37 -5
- package/dist/collection/components/ptc-quote/ptc-quote.js +1 -1
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +63 -38
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +9 -0
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +7 -0
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +52 -33
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +6 -0
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +1 -1
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +15 -0
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +67 -9
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +8 -3
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +16 -14
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +1 -1
- package/dist/collection/components/tab-header/tab-header.js +1 -1
- package/dist/collection/global/global.js +7 -0
- package/dist/collection/stories/Card.stories.js +3 -148
- package/dist/collection/stories/Jumbotron.stories.js +727 -0
- package/dist/collection/stories/Link.stories.js +25 -13
- package/dist/collection/stories/Paragraph.stories.js +18 -10
- package/dist/collection/stories/Select.stories.js +5 -8
- package/dist/collection/stories/Textfield.stories.js +71 -28
- package/dist/collection/stories/Title.stories.js +28 -16
- package/dist/collection/utils/fef-logger.js +23 -0
- package/dist/collection/utils/validation-messages.js +49 -2
- package/dist/custom-elements/index.d.ts +0 -6
- package/dist/custom-elements/index.js +588 -399
- 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 +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- 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/{component-9c921cc6.js → component-8c53e377.js} +1482 -3281
- package/dist/esm/component-9beac35b.js +1802 -0
- 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/event-jumbotron-example.entry.js +1 -1
- package/dist/esm/event-podcast-slider-example.entry.js +1 -1
- package/dist/esm/featured-events-slider-example.entry.js +1 -1
- package/dist/esm/featured-list.entry.js +2 -2
- package/dist/esm/fl-tab-content_3.entry.js +1 -1
- package/dist/esm/footer-form.entry.js +1 -1
- package/dist/esm/global-1a5f28d5.js +31 -0
- 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.entry.js +61 -0
- package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +2 -2
- package/dist/esm/{interfaces-4caedd26.js → interfaces-7c0243be.js} +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +2 -2
- package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
- package/dist/esm/list-item.entry.js +2 -2
- package/dist/esm/loader.js +5 -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 +17 -2
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +21 -4
- package/dist/esm/ptc-breadcrumb.entry.js +1 -1
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-button_5.entry.js +534 -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 +8 -6
- package/dist/esm/ptc-case-studies-slider.entry.js +3 -7
- package/dist/esm/ptc-checkbox-group.entry.js +1 -1
- package/dist/esm/ptc-checkbox.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +35 -27
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-countdown.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +3 -2
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-dropdown.entry.js +1 -1
- package/dist/esm/ptc-dynamic-card.entry.js +2 -2
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
- package/dist/esm/ptc-embedded-quiz.entry.js +2 -2
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +62 -0
- package/dist/esm/ptc-featured-list.entry.js +2 -2
- package/dist/esm/ptc-filter-dropdown_4.entry.js +41 -10
- package/dist/esm/ptc-filter-level-theater.entry.js +19 -4
- 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_4.entry.js → ptc-form-checkbox_2.entry.js} +19 -799
- 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-slider-example.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 +31 -0
- package/dist/esm/ptc-icon-minimize.entry.js +1 -1
- package/dist/esm/ptc-image-download-strip.entry.js +1 -1
- package/dist/esm/ptc-img.entry.js +2 -2
- package/dist/esm/ptc-info-tile.entry.js +3 -2
- package/dist/esm/ptc-inline-cta.entry.js +1 -1
- package/dist/esm/ptc-jumbotron.entry.js +5 -2
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-minimized-nav.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 +665 -0
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +2 -2
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-skip-to-content.entry.js +29 -4
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-nav-tile.entry.js +1 -1
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +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-podcast-card.entry.js +2 -2
- package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +3 -11
- 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 +2 -2
- package/dist/esm/ptc-product-card.entry.js +3 -3
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +3 -3
- package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
- package/dist/esm/ptc-product-list.entry.js +12 -2
- package/dist/esm/ptc-product-sidebar.entry.js +39 -7
- package/dist/esm/ptc-progress-bar.entry.js +1 -1
- package/dist/esm/ptc-quantity-counter.entry.js +1 -1
- package/dist/esm/ptc-quote.entry.js +2 -2
- package/dist/esm/ptc-readmore-char.entry.js +2 -2
- package/dist/esm/ptc-readmore-new.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +2 -2
- package/dist/esm/ptc-readmore.entry.js +1 -1
- package/dist/esm/ptc-related-card-rail.entry.js +43 -39
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-scroll-button.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +1 -1
- package/dist/esm/ptc-seo-title.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +1 -1
- package/dist/esm/ptc-showcase-card.entry.js +1 -1
- package/dist/esm/ptc-skeleton.entry.js +1 -1
- package/dist/esm/ptc-slit-card.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-social-icons.entry.js +1 -1
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-square-card.entry.js +1 -1
- package/dist/esm/ptc-sticky-icons.entry.js +10 -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 +8 -1
- package/dist/esm/ptc-theater-video-modal.entry.js +43 -9
- package/dist/esm/ptc-tooltip-v2.entry.js +2 -2
- package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
- package/dist/esm/ptc-tooltip.entry.js +1 -1
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptc-value-led-card.entry.js +1 -1
- package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +1 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +2 -2
- 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 +18 -16
- package/dist/esm/ptcw-design.js +5 -3
- package/dist/esm/sequential-bundle-example.entry.js +1 -1
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +62 -0
- package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +2 -2
- package/dist/esm/validation-messages-1379b825.js +169 -0
- package/dist/ptcw-design/media/{designer-v6.0.6.svg → designer-v6.0.7.svg} +17 -30
- package/dist/ptcw-design/{p-f69df077.entry.js → p-008307a6.entry.js} +1 -1
- package/dist/ptcw-design/p-00e21489.entry.js +1 -0
- package/dist/ptcw-design/p-0252726c.entry.js +1 -0
- package/dist/ptcw-design/p-02822616.entry.js +1 -0
- package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
- package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
- package/dist/ptcw-design/{p-135191ce.entry.js → p-04ff81ef.entry.js} +1 -1
- package/dist/ptcw-design/p-05c29cc2.entry.js +1 -0
- package/dist/ptcw-design/p-0a214a22.entry.js +1 -0
- package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
- package/dist/ptcw-design/{p-44e72b9d.entry.js → p-0ddf2a09.entry.js} +1 -1
- package/dist/ptcw-design/p-0efedf59.js +1 -0
- package/dist/ptcw-design/p-13e338a5.entry.js +1 -0
- package/dist/ptcw-design/p-1454ba84.entry.js +1 -0
- package/dist/ptcw-design/{p-bf7f25ce.entry.js → p-15a40f78.entry.js} +1 -1
- package/dist/ptcw-design/{p-8cdcfb51.entry.js → p-15e36f30.entry.js} +1 -1
- package/dist/ptcw-design/p-16d47ac5.entry.js +1 -0
- package/dist/ptcw-design/p-18851303.entry.js +1 -0
- package/dist/ptcw-design/{p-485cb0c8.entry.js → p-18ac526f.entry.js} +1 -1
- package/dist/ptcw-design/p-1feb2812.entry.js +1 -0
- package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
- package/dist/ptcw-design/p-24a6eefa.entry.js +1 -0
- package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
- package/dist/ptcw-design/p-260ecfef.entry.js +1 -0
- package/dist/ptcw-design/{p-d4207d86.entry.js → p-27c26d50.entry.js} +1 -1
- package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
- package/dist/ptcw-design/{p-9292844e.entry.js → p-2aa19c11.entry.js} +1 -1
- package/dist/ptcw-design/{p-cc691b14.entry.js → p-2ba1ef9d.entry.js} +1 -1
- package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
- package/dist/ptcw-design/p-30bfb2f9.entry.js +1 -0
- package/dist/ptcw-design/p-352e87c0.entry.js +1 -0
- package/dist/ptcw-design/{p-0261e249.entry.js → p-36abe396.entry.js} +1 -1
- package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
- package/dist/ptcw-design/{p-c05e326f.entry.js → p-38a56ed6.entry.js} +1 -1
- package/dist/ptcw-design/p-3b9fbbaa.js +1 -0
- package/dist/ptcw-design/p-3ddb6c50.entry.js +1 -0
- package/dist/ptcw-design/p-4056c365.entry.js +1 -0
- package/dist/ptcw-design/{p-1d48bad3.entry.js → p-464d8e22.entry.js} +1 -1
- package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
- package/dist/ptcw-design/p-4cee12b8.entry.js +1 -0
- package/dist/ptcw-design/{p-a1dc7ae5.entry.js → p-4f3dea53.entry.js} +1 -1
- package/dist/ptcw-design/{p-27b8457b.entry.js → p-50770cc0.entry.js} +1 -1
- package/dist/ptcw-design/{p-79c2e0fb.entry.js → p-531caca4.entry.js} +1 -1
- package/dist/ptcw-design/{p-bd9705c4.entry.js → p-55e344bc.entry.js} +1 -1
- package/dist/ptcw-design/{p-bca81995.entry.js → p-560b05a5.entry.js} +1 -1
- package/dist/ptcw-design/p-593b8eff.entry.js +1 -0
- package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
- package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
- package/dist/ptcw-design/{p-9ea0d71c.entry.js → p-5bd8b4be.entry.js} +1 -1
- package/dist/ptcw-design/p-5ca42138.entry.js +1 -0
- package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
- package/dist/ptcw-design/p-66ecd7b9.entry.js +1 -0
- package/dist/ptcw-design/{p-38e43284.entry.js → p-673cfd2e.entry.js} +1 -1
- package/dist/ptcw-design/p-68ed2afe.entry.js +1 -0
- package/dist/ptcw-design/{p-575c7fc0.entry.js → p-6aa9ed95.entry.js} +1 -1
- package/dist/ptcw-design/{p-379fcc72.entry.js → p-6e8ed2ee.entry.js} +1 -1
- package/dist/ptcw-design/p-73a853fc.entry.js +1 -0
- package/dist/ptcw-design/p-757954b2.entry.js +1 -0
- package/dist/ptcw-design/{p-726dab37.entry.js → p-757e3edb.entry.js} +1 -1
- package/dist/ptcw-design/{p-8ffdd794.entry.js → p-761a31f8.entry.js} +1 -1
- package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
- package/dist/ptcw-design/{p-1adea6a5.entry.js → p-77cad16c.entry.js} +1 -1
- package/dist/ptcw-design/p-77fb3a86.entry.js +1 -0
- package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
- package/dist/ptcw-design/{p-8a452c0b.entry.js → p-7a3e9ecd.entry.js} +1 -1
- package/dist/ptcw-design/p-7aa1faef.entry.js +1 -0
- package/dist/ptcw-design/{p-7fada7ae.entry.js → p-7cc9255e.entry.js} +1 -1
- package/dist/ptcw-design/{p-183ba1ca.entry.js → p-7d29a418.entry.js} +1 -1
- package/dist/ptcw-design/{p-29ae44dd.entry.js → p-7fe4d383.entry.js} +1 -1
- package/dist/ptcw-design/{p-8771d448.entry.js → p-80588c84.entry.js} +1 -1
- package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
- package/dist/ptcw-design/{p-fa99b158.entry.js → p-81e65926.entry.js} +1 -1
- package/dist/ptcw-design/p-829855f5.entry.js +1 -0
- package/dist/ptcw-design/{p-1948b914.entry.js → p-8521fdd4.entry.js} +1 -1
- package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
- package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
- package/dist/ptcw-design/p-884c335c.entry.js +1 -0
- package/dist/ptcw-design/{p-e75dff95.entry.js → p-89177041.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
- package/dist/ptcw-design/{p-472579ea.entry.js → p-89f0cf12.entry.js} +1 -1
- package/dist/ptcw-design/{p-212d0145.entry.js → p-8c49d736.entry.js} +1 -1
- package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
- package/dist/ptcw-design/p-945d3ea1.entry.js +68 -0
- package/dist/ptcw-design/{p-e77d2204.entry.js → p-95187918.entry.js} +1 -1
- package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
- package/dist/ptcw-design/p-98426799.js +203 -0
- package/dist/ptcw-design/{p-ce125ef2.entry.js → p-98610430.entry.js} +1 -1
- package/dist/ptcw-design/p-98844b50.js +134 -0
- package/dist/ptcw-design/{p-1acd3617.entry.js → p-99daf693.entry.js} +1 -1
- package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
- package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
- package/dist/ptcw-design/{p-298d02ab.entry.js → p-9b0df204.entry.js} +1 -1
- package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
- package/dist/ptcw-design/p-9d3a7f36.entry.js +1 -0
- package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
- package/dist/ptcw-design/{p-0a558a22.entry.js → p-9e2fd13c.entry.js} +1 -1
- package/dist/ptcw-design/{p-0b182300.entry.js → p-9e4e21a4.entry.js} +1 -1
- package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
- package/dist/ptcw-design/p-a2c7df64.entry.js +1 -0
- package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
- package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
- package/dist/ptcw-design/p-a58698ca.entry.js +1 -0
- package/dist/ptcw-design/{p-3411ac77.entry.js → p-a59c9cdc.entry.js} +1 -1
- package/dist/ptcw-design/{p-5f2a4384.entry.js → p-a5ad0eff.entry.js} +1 -1
- package/dist/ptcw-design/{p-2b583ae1.entry.js → p-a791c53a.entry.js} +1 -1
- package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
- package/dist/ptcw-design/{p-de663192.entry.js → p-a8504f11.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
- package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
- package/dist/ptcw-design/p-acdd9a1d.entry.js +1 -0
- package/dist/ptcw-design/p-ad821a01.entry.js +1 -0
- package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
- package/dist/ptcw-design/{p-6f8858c3.entry.js → p-b209c116.entry.js} +1 -1
- package/dist/ptcw-design/{p-79762cf6.entry.js → p-b436f56d.entry.js} +1 -1
- package/dist/ptcw-design/p-b6255525.entry.js +1 -0
- package/dist/ptcw-design/{p-07b1afd5.entry.js → p-b8ee8699.entry.js} +1 -1
- package/dist/ptcw-design/{p-666cdec9.entry.js → p-bab5bb88.entry.js} +1 -1
- package/dist/ptcw-design/{p-ca039722.entry.js → p-baeee2b4.entry.js} +1 -1
- package/dist/ptcw-design/p-bb9a879f.entry.js +1 -0
- package/dist/ptcw-design/p-bc146844.entry.js +1 -0
- package/dist/ptcw-design/p-bf56d5a3.entry.js +1 -0
- package/dist/ptcw-design/p-bf84ecc0.entry.js +1 -0
- package/dist/ptcw-design/{p-208ec7f3.entry.js → p-bf8fbba7.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
- package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
- package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
- package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
- package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
- package/dist/ptcw-design/p-c82eaf9d.entry.js +1 -0
- package/dist/ptcw-design/p-c89030e4.entry.js +1 -0
- package/dist/ptcw-design/{p-a2f25add.entry.js → p-c8f68292.entry.js} +1 -1
- package/dist/ptcw-design/p-cad4b517.entry.js +1 -0
- package/dist/ptcw-design/p-cc677723.entry.js +1 -0
- package/dist/ptcw-design/{p-38a1425c.entry.js → p-d089dc37.entry.js} +1 -1
- package/dist/ptcw-design/p-d2cc0297.entry.js +1 -0
- package/dist/ptcw-design/{p-1b2ff400.entry.js → p-d3ac3758.entry.js} +1 -1
- package/dist/ptcw-design/{p-ca5763d0.entry.js → p-d66debb3.entry.js} +1 -1
- package/dist/ptcw-design/p-d6845e91.entry.js +1 -0
- package/dist/ptcw-design/{p-75d8b6ec.entry.js → p-d74ccb19.entry.js} +1 -1
- package/dist/ptcw-design/{p-f05be87f.entry.js → p-da02913d.entry.js} +1 -1
- package/dist/ptcw-design/p-db1dcce0.entry.js +1 -0
- package/dist/ptcw-design/{p-afbe8e2c.entry.js → p-dc85c302.entry.js} +1 -1
- package/dist/ptcw-design/p-ddb898c7.entry.js +1 -0
- package/dist/ptcw-design/{p-0d2f10cf.entry.js → p-dfb400ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-0e6b14a6.entry.js → p-dffcfa42.entry.js} +1 -1
- package/dist/ptcw-design/{p-0bb3ea9a.entry.js → p-e235bf27.entry.js} +1 -1
- package/dist/ptcw-design/p-e3867512.entry.js +1 -0
- package/dist/ptcw-design/{p-ffd5c822.entry.js → p-e3b1af2b.entry.js} +1 -1
- package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
- package/dist/ptcw-design/{p-f3db0dc6.entry.js → p-e43c30c9.entry.js} +1 -1
- package/dist/ptcw-design/{p-2fa28be9.entry.js → p-e5369c4d.entry.js} +1 -1
- package/dist/ptcw-design/p-e6619d63.entry.js +1 -0
- package/dist/ptcw-design/{p-68955802.entry.js → p-e813ea2b.entry.js} +1 -1
- package/dist/ptcw-design/p-e8c275a1.entry.js +1 -0
- package/dist/ptcw-design/{p-2a3735a5.entry.js → p-e90fbbad.entry.js} +1 -1
- package/dist/ptcw-design/p-eaa0597a.entry.js +1 -0
- package/dist/ptcw-design/{p-711bcdad.js → p-ee1183b2.js} +1 -1
- package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
- package/dist/ptcw-design/{p-3b967df1.entry.js → p-f61a3476.entry.js} +1 -1
- package/dist/ptcw-design/{p-5da98805.entry.js → p-f731fc96.entry.js} +1 -1
- package/dist/ptcw-design/p-f9256e3d.entry.js +1 -0
- package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
- package/dist/ptcw-design/p-fbd9c8fc.entry.js +1 -0
- package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
- package/dist/ptcw-design/p-fd87fcd5.entry.js +1 -0
- package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +1 -1
- package/dist/types/components/ptc-button/ptc-button.d.ts +2 -1
- package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +2 -1
- package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +1 -1
- package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +1 -0
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +1 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +2 -1
- package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +1 -1
- package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +6 -0
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -2
- 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 +6 -3
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +3 -0
- package/dist/types/components/ptc-select/ptc-select.d.ts +1 -1
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +2 -0
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +56 -2
- package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +6 -1
- package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +1 -1
- package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -1
- package/dist/types/components.d.ts +135 -22
- package/dist/types/global/global.d.ts +4 -0
- package/dist/types/utils/fef-logger.d.ts +10 -0
- package/dist/types/utils/validation-messages.d.ts +4 -123
- package/package.json +6 -2
- package/readme.md +1 -5
- package/dist/cjs/icon-asset_8.cjs.entry.js +0 -608
- package/dist/cjs/modal-form-example.cjs.entry.js +0 -94
- package/dist/cjs/ptc-picture.cjs.entry.js +0 -162
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -99
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
- package/dist/esm/icon-asset_8.entry.js +0 -597
- package/dist/esm/modal-form-example.entry.js +0 -90
- package/dist/esm/ptc-picture.entry.js +0 -158
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/ptcw-design/p-094f5dec.entry.js +0 -1
- package/dist/ptcw-design/p-10413689.entry.js +0 -1
- package/dist/ptcw-design/p-11eb4dd1.entry.js +0 -1
- package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
- package/dist/ptcw-design/p-25dd15af.entry.js +0 -1
- package/dist/ptcw-design/p-36c42aae.entry.js +0 -1
- package/dist/ptcw-design/p-3717a6e1.entry.js +0 -1
- package/dist/ptcw-design/p-39255f59.entry.js +0 -1
- package/dist/ptcw-design/p-3ada2482.entry.js +0 -1
- package/dist/ptcw-design/p-3c72e82d.entry.js +0 -1
- package/dist/ptcw-design/p-4335d7f3.entry.js +0 -1
- package/dist/ptcw-design/p-4bbd36aa.entry.js +0 -1
- package/dist/ptcw-design/p-4c1451df.entry.js +0 -1
- package/dist/ptcw-design/p-50582650.entry.js +0 -1
- package/dist/ptcw-design/p-539f1605.entry.js +0 -1
- package/dist/ptcw-design/p-58d4b008.entry.js +0 -1
- package/dist/ptcw-design/p-5f98dec1.entry.js +0 -1
- package/dist/ptcw-design/p-6785dc81.entry.js +0 -1
- package/dist/ptcw-design/p-6dc78042.entry.js +0 -1
- package/dist/ptcw-design/p-6ffcd96c.entry.js +0 -1
- package/dist/ptcw-design/p-712f1336.entry.js +0 -68
- package/dist/ptcw-design/p-72681e91.entry.js +0 -1
- package/dist/ptcw-design/p-761f71c4.entry.js +0 -1
- package/dist/ptcw-design/p-779c3f21.entry.js +0 -1
- package/dist/ptcw-design/p-78252282.entry.js +0 -1
- package/dist/ptcw-design/p-7e19be10.entry.js +0 -1
- package/dist/ptcw-design/p-8c25a821.entry.js +0 -1
- package/dist/ptcw-design/p-91dcdd86.entry.js +0 -1
- package/dist/ptcw-design/p-96cc1268.entry.js +0 -1
- package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
- package/dist/ptcw-design/p-99e41dc4.entry.js +0 -1
- package/dist/ptcw-design/p-9a1922ba.entry.js +0 -1
- package/dist/ptcw-design/p-9be9f585.entry.js +0 -1
- package/dist/ptcw-design/p-9d32f1bc.entry.js +0 -1
- package/dist/ptcw-design/p-9d386f08.entry.js +0 -1
- package/dist/ptcw-design/p-9d8a9a72.entry.js +0 -1
- package/dist/ptcw-design/p-9dde477c.entry.js +0 -1
- package/dist/ptcw-design/p-a0a86749.entry.js +0 -1
- package/dist/ptcw-design/p-a3f9e4ba.entry.js +0 -1
- package/dist/ptcw-design/p-a7e67938.entry.js +0 -1
- package/dist/ptcw-design/p-b3b63f67.entry.js +0 -1
- package/dist/ptcw-design/p-b3ea58b7.entry.js +0 -1
- package/dist/ptcw-design/p-bcab66bf.js +0 -336
- package/dist/ptcw-design/p-c5886b7b.entry.js +0 -1
- package/dist/ptcw-design/p-c73eb535.entry.js +0 -1
- package/dist/ptcw-design/p-caac157f.entry.js +0 -1
- package/dist/ptcw-design/p-d80bc4f2.entry.js +0 -1
- package/dist/ptcw-design/p-e1692ed6.entry.js +0 -1
- package/dist/ptcw-design/p-e9f65e9a.entry.js +0 -1
- package/dist/ptcw-design/p-ec22d0b8.entry.js +0 -1
- package/dist/ptcw-design/p-ed71521c.entry.js +0 -1
- package/dist/ptcw-design/p-ef55ab3c.entry.js +0 -1
- package/dist/ptcw-design/p-f77c7c78.entry.js +0 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
- package/dist/types/components/ptc-mobile-select/mobile-select/dist/mobile-select.d.ts +0 -209
- package/dist/types/utils/eloqua.d.ts +0 -9
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-0bf594c4.js';
|
|
2
|
-
|
|
3
|
-
const modalFormExampleCss = ":host {\r\n display: block;\r\n}\r\n\r\n.form-wrapper {\r\n width: 371px;\r\n display: flex;\r\n border-radius: 3px;\r\n background: #FFF;\r\n flex-direction: column;\r\n align-items: center;\r\n padding: 0px 32px;\r\n\r\n @media only screen and (min-width: 360px) and (max-width: 479.55px) {\r\n max-width: 360px;\r\n width: 360px;\r\n }\r\n\r\n .button-wrapper {\r\n display: flex;\r\n justify-content: flex-end;\r\n gap: 20px;\r\n margin-top: 48px;\r\n flex-wrap: wrap;\r\n }\r\n}\r\n";
|
|
4
|
-
|
|
5
|
-
const PtcForm = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.formData = {
|
|
9
|
-
email: '',
|
|
10
|
-
firstName: '',
|
|
11
|
-
lastName: '',
|
|
12
|
-
company: '',
|
|
13
|
-
country: '',
|
|
14
|
-
phone: '',
|
|
15
|
-
inquiryReason: '',
|
|
16
|
-
howhearselfreport: '',
|
|
17
|
-
policyChecked: false,
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
// private countryEle: HTMLPtcSelectElement;
|
|
21
|
-
// private inquiryreasonEle: HTMLPtcTextfieldElement;
|
|
22
|
-
// private howhearselfreport: HTMLPtcTextfieldElement;
|
|
23
|
-
componentDidLoad() {
|
|
24
|
-
this.formButton = this.el.querySelector('.form-submit');
|
|
25
|
-
this.formButton.addEventListener('click', this.handleSubmit.bind(this));
|
|
26
|
-
//get Email
|
|
27
|
-
this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
|
|
28
|
-
this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
|
|
29
|
-
this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
|
|
30
|
-
this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
|
|
31
|
-
this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
|
|
32
|
-
// this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
|
|
33
|
-
// this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
|
|
34
|
-
// this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
|
|
35
|
-
}
|
|
36
|
-
handleInputChange(field, value) {
|
|
37
|
-
this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
|
|
38
|
-
}
|
|
39
|
-
handleSubmit(event) {
|
|
40
|
-
event.preventDefault();
|
|
41
|
-
this.formData.email = this.emailEle.inputValue;
|
|
42
|
-
this.formData.firstName = this.firstNameEle.inputValue;
|
|
43
|
-
this.formData.lastName = this.lastNameEle.inputValue;
|
|
44
|
-
this.formData.company = this.companyEle.inputValue;
|
|
45
|
-
this.formData.phone = this.phoneEle.inputValue;
|
|
46
|
-
// this.formData.country = this.countryEle.inputValue;
|
|
47
|
-
// this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
|
|
48
|
-
// this.formData.howhearselfreport = this.howhearselfreport.inputValue;
|
|
49
|
-
// console.log("get form Data: " + this.formData.email)
|
|
50
|
-
if (this.isValid()) {
|
|
51
|
-
const formSubmitEvent = new CustomEvent('formSubmit', {
|
|
52
|
-
detail: this.formData,
|
|
53
|
-
bubbles: true,
|
|
54
|
-
});
|
|
55
|
-
this.el.dispatchEvent(formSubmitEvent);
|
|
56
|
-
console.log('Form Submitted: ' + this.formData);
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
console.log('Form validation failed');
|
|
60
|
-
console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
isValid() {
|
|
64
|
-
const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
|
|
65
|
-
const invalidLength = document.querySelectorAll('.invalid-field').length;
|
|
66
|
-
// console.log('invalid fields length: ' + invalidLength), check the select field
|
|
67
|
-
return (email !== '' &&
|
|
68
|
-
phone !== '' &&
|
|
69
|
-
firstName !== '' &&
|
|
70
|
-
lastName !== '' &&
|
|
71
|
-
company !== '' &&
|
|
72
|
-
country !== '' &&
|
|
73
|
-
inquiryReason !== '' &&
|
|
74
|
-
howhearselfreport != '' &&
|
|
75
|
-
policyChecked &&
|
|
76
|
-
invalidLength === 0);
|
|
77
|
-
}
|
|
78
|
-
render() {
|
|
79
|
-
const multiSelectItems = [
|
|
80
|
-
{ text: 'Item 1', selected: false, ptcDataEloquaName: 'item_1', ptcDataTargetEloquaName: 'item_target-1' },
|
|
81
|
-
{ text: 'Item 2', selected: false, ptcDataEloquaName: 'item_2', ptcDataTargetEloquaName: 'item_target-2' },
|
|
82
|
-
{ text: 'Item 3', selected: false, ptcDataEloquaName: 'item_3', ptcDataTargetEloquaName: 'item_target-3' }
|
|
83
|
-
];
|
|
84
|
-
return (h(Host, null, h("div", { class: "ptc-container u-flex u-flex-justify-center" }, h("div", { class: "form-wrapper" }, h("ptc-title", { "seo-compatibility-mode": true, "text-align": "left", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false", "title-size": "medium" }, h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("ptc-para", { "seo-compatibility-mode": true, "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-densest" }, "PTC\u2019s market-leading, purpose-built IIoT platform. The suite offers a mix of Packages, Add-Ons, and Apps to best suit your business needs:"), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("max-width-container", { "max-width": "277", breakpoint: 480 }, h("ptc-title", { type: "h2", "text-align": "", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "small", size: "small" })), h("form", { onSubmit: event => this.handleSubmit(event) }, h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Select a country")), h("li", { class: "mdc-list-item", "data-value": "USA" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "USA")), h("li", { class: "mdc-list-item", "data-value": "Canada" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Canada")), h("li", { class: "mdc-list-item", "data-value": "China" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "China")))), h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, h("span", { class: "mdc-list-item__ripple" })), h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), h("li", { class: "mdc-list-item", "data-value": "CAD" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), h("ptc-multi-select", { items: multiSelectItems, "is-required": 'true' }), h("ptc-textfield", { "field-id": "Self-Reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), h("div", { class: "button-wrapper" }, h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Submit"), h("ptc-button", { class: "form-close", color: "ptc-tertiary", type: "button", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Cancel")))))));
|
|
85
|
-
}
|
|
86
|
-
get el() { return getElement(this); }
|
|
87
|
-
};
|
|
88
|
-
PtcForm.style = modalFormExampleCss;
|
|
89
|
-
|
|
90
|
-
export { PtcForm as modal_form_example };
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, a as getElement } from './index-0bf594c4.js';
|
|
2
|
-
import { a as ResponsivePictureVariables } from './interfaces-4caedd26.js';
|
|
3
|
-
|
|
4
|
-
const ptcPictureCss = "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;overflow:hidden}:host .inline{display:inline}:host .inline-block{display:inline-block}:host .block{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-pill{border-radius:var(--ptc-border-radius-pill)}.radius-circle{border-radius:var(--ptc-border-radius-circle)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
|
|
5
|
-
|
|
6
|
-
const PtcPicture = class {
|
|
7
|
-
constructor(hostRef) {
|
|
8
|
-
registerInstance(this, hostRef);
|
|
9
|
-
this.src = undefined;
|
|
10
|
-
this.alt = 'image';
|
|
11
|
-
this.sizeXs = '510x340';
|
|
12
|
-
this.sizeSm = '1240x496';
|
|
13
|
-
this.sizeMd = '1366x500';
|
|
14
|
-
this.sizeLg = '1920x1080';
|
|
15
|
-
this.disableResize = false;
|
|
16
|
-
this.oldSrc = undefined;
|
|
17
|
-
this.imagePosition = 'static';
|
|
18
|
-
this.borderRadius = undefined;
|
|
19
|
-
this.height = undefined;
|
|
20
|
-
this.width = undefined;
|
|
21
|
-
this.objectFit = 'cover';
|
|
22
|
-
this.isFullHeight = false;
|
|
23
|
-
this.isFullWidth = false;
|
|
24
|
-
this.styles = undefined;
|
|
25
|
-
this.imageAlignment = 'left';
|
|
26
|
-
this.maxWidth = undefined;
|
|
27
|
-
this.displayImage = 'block';
|
|
28
|
-
}
|
|
29
|
-
WindowResize() {
|
|
30
|
-
this.addIntersectionObserver();
|
|
31
|
-
}
|
|
32
|
-
componentWillLoad() {
|
|
33
|
-
if (this.disableResize) {
|
|
34
|
-
this.sizeXs = undefined;
|
|
35
|
-
this.sizeSm = undefined;
|
|
36
|
-
this.sizeMd = undefined;
|
|
37
|
-
this.sizeLg = undefined;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
componentDidLoad() {
|
|
41
|
-
this.addIntersectionObserver();
|
|
42
|
-
}
|
|
43
|
-
componentWillUpdate() {
|
|
44
|
-
if (this.src !== this.oldSrc) {
|
|
45
|
-
this.addIntersectionObserver();
|
|
46
|
-
}
|
|
47
|
-
this.oldSrc = this.src;
|
|
48
|
-
}
|
|
49
|
-
//lazy-loading
|
|
50
|
-
addIntersectionObserver() {
|
|
51
|
-
if (!this.src) {
|
|
52
|
-
return;
|
|
53
|
-
}
|
|
54
|
-
if ('IntersectionObserver' in window) {
|
|
55
|
-
let lazyLoadImages = new IntersectionObserver(entries => {
|
|
56
|
-
entries.forEach(entry => {
|
|
57
|
-
if (entry.isIntersecting) {
|
|
58
|
-
const image = this.el.shadowRoot.querySelector('img');
|
|
59
|
-
image.src = this.setResponsiveBg();
|
|
60
|
-
lazyLoadImages.unobserve(image);
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
|
-
});
|
|
64
|
-
let tempImg = this.el.shadowRoot.querySelector('img');
|
|
65
|
-
if (tempImg) {
|
|
66
|
-
lazyLoadImages.observe(tempImg);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
// fall back to setTimeout for Safari and IE
|
|
71
|
-
setTimeout(() => {
|
|
72
|
-
const image = this.el.shadowRoot.querySelector('img');
|
|
73
|
-
image.src = this.setResponsiveBg();
|
|
74
|
-
image.onload = () => {
|
|
75
|
-
image.removeAttribute('data-src');
|
|
76
|
-
};
|
|
77
|
-
}, 5000);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
//responsive image
|
|
81
|
-
setResponsiveBg() {
|
|
82
|
-
// Define local variables
|
|
83
|
-
let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
|
|
84
|
-
for (var i = 0, len = backgrounds.length; i < len; i++) {
|
|
85
|
-
// Set current variables
|
|
86
|
-
el = backgrounds[i];
|
|
87
|
-
elData = el.getAttribute('data-' + currentBreakpoint);
|
|
88
|
-
if (elData !== null) {
|
|
89
|
-
return elData;
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
if (typeof console == 'object') {
|
|
93
|
-
console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
render() {
|
|
99
|
-
const classMap = this.getCssClassMap();
|
|
100
|
-
const classMapHost = this.getCssClassMapHost();
|
|
101
|
-
return (h(Host, { class: classMapHost }, this.styles && h("style", null, this.styles), h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth ? { maxWidth: this.maxWidth + 'px' } : {})) })), h("slot", null)));
|
|
102
|
-
}
|
|
103
|
-
getCurrentBreakPoints() {
|
|
104
|
-
// Define local variables
|
|
105
|
-
let doc = window.document, temp = doc.createElement('div'), env;
|
|
106
|
-
// Append test node
|
|
107
|
-
doc.body.appendChild(temp);
|
|
108
|
-
// Loop through breakpoints
|
|
109
|
-
for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
|
|
110
|
-
env = ResponsivePictureVariables.envs[i];
|
|
111
|
-
// Add classes
|
|
112
|
-
temp.className = 'hidden-' + env;
|
|
113
|
-
// Found breakpoint
|
|
114
|
-
if (temp.offsetParent === null) {
|
|
115
|
-
// Remove our test node
|
|
116
|
-
doc.body.removeChild(temp);
|
|
117
|
-
// Return current breakpoint
|
|
118
|
-
return env;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
// Breakpoint not found, try fallback
|
|
122
|
-
doc.body.removeChild(temp);
|
|
123
|
-
return this.getFallbackBreakpoint();
|
|
124
|
-
}
|
|
125
|
-
getFallbackBreakpoint() {
|
|
126
|
-
if (window.matchMedia('(min-width: 992px)').matches) {
|
|
127
|
-
return 'lg';
|
|
128
|
-
}
|
|
129
|
-
else if (window.matchMedia('(min-width: 768px)').matches) {
|
|
130
|
-
return 'md';
|
|
131
|
-
}
|
|
132
|
-
else if (window.matchMedia('(min-width: 576px)').matches) {
|
|
133
|
-
return 'sm';
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
return 'xs';
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
getCssClassMap() {
|
|
140
|
-
return {
|
|
141
|
-
[this.borderRadius]: this.borderRadius ? true : false,
|
|
142
|
-
[this.objectFit]: true,
|
|
143
|
-
[this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
|
|
144
|
-
[this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
|
|
145
|
-
[this.displayImage]: true
|
|
146
|
-
};
|
|
147
|
-
}
|
|
148
|
-
getCssClassMapHost() {
|
|
149
|
-
return {
|
|
150
|
-
[this.imagePosition]: true,
|
|
151
|
-
[this.imageAlignment]: true,
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
get el() { return getElement(this); }
|
|
155
|
-
};
|
|
156
|
-
PtcPicture.style = ptcPictureCss;
|
|
157
|
-
|
|
158
|
-
export { PtcPicture as ptc_picture };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-0bf594c4.js';
|
|
2
|
-
|
|
3
|
-
const ptcSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.99em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 75em){:host(.ptc-spacer-xx-large){display:block}}:host(.ptc-spacer-xxx-large){display:none}@media (min-width: 90em){:host(.ptc-spacer-xxx-large){display:block}}";
|
|
4
|
-
|
|
5
|
-
const PtcSpacer = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.breakpoint = '';
|
|
9
|
-
this.size = 'medium';
|
|
10
|
-
this.direction = 'vertical';
|
|
11
|
-
}
|
|
12
|
-
render() {
|
|
13
|
-
const classMap = this.getCssClassMap();
|
|
14
|
-
return (h(Host, { class: classMap }));
|
|
15
|
-
}
|
|
16
|
-
getCssClassMap() {
|
|
17
|
-
return {
|
|
18
|
-
[this.size]: true,
|
|
19
|
-
['ptc-spacer-horizontal']: this.direction === 'horizontal',
|
|
20
|
-
['ptc-spacer-vertical']: this.direction === 'vertical',
|
|
21
|
-
['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
|
|
22
|
-
['ptc-spacer-x-small']: this.breakpoint === 'x-small',
|
|
23
|
-
['ptc-spacer-small']: this.breakpoint === 'small',
|
|
24
|
-
['ptc-spacer-medium']: this.breakpoint === 'medium',
|
|
25
|
-
['ptc-spacer-large']: this.breakpoint === 'large',
|
|
26
|
-
['ptc-spacer-x-large']: this.breakpoint === 'x-large',
|
|
27
|
-
['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
|
|
28
|
-
['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
PtcSpacer.style = ptcSpacerCss;
|
|
33
|
-
|
|
34
|
-
export { PtcSpacer as ptc_spacer };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as a,h as o,H as t,a as i}from"./p-944c5be8.js";const r=class{constructor(o){a(this,o),this.sectionTitle=void 0,this.description=void 0,this.backgroundImage=void 0}componentDidLoad(){this.el.addEventListener("mousemove",(()=>{}));let a=this.el.shadowRoot.querySelector(".bgImage");onmousemove=o=>{o.target===this.el&&a.style.setProperty("transform",`translate(-${o.clientX/100}px, -${o.clientY/100}px) scale(1.1, 1.1)`)}}render(){return o(t,null,o("img",{src:this.backgroundImage,alt:"",class:"bgImage"}),o("svg",{class:"cut cut-top",xmlns:"http://www.w3.org/2000/svg",width:"320.963",height:"28.179",viewBox:"0 0 320.963 28.179"},o("path",{fill:"#F3F3F3",d:"M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z",class:"path-1","data-name":"Path 8770",transform:"translate(-416.057 -463.856)"})),o("div",{class:"backdrop-blur light-links"},o("div",{class:"ptc-container"},o("ptc-title",{type:"h2","text-align":"center","title-color":"white","title-margin":"margin-flush"},this.sectionTitle),o("ptc-para",{"font-size":"small","para-align":"center","font-weight":"w-5","para-color":"white","para-margin":"margin-5"},this.description),o("ptc-spacer",null)),o("div",{class:"ptc-container"},o("div",{class:"content-box"},o("div",{class:"backdrop"}),o("slot",null)))),o("svg",{class:"cut cut-bottom",xmlns:"http://www.w3.org/2000/svg",width:"320.963",height:"28.179",viewBox:"0 0 320.963 28.179"},o("path",{fill:"#F3F3F3",d:"M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z",class:"path-1","data-name":"Path 8770",transform:"translate(-416.057 -463.856)"})))}get el(){return i(this)}};r.style='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}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003DD6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a,.vjs-social-share-links a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}.vjs-social-share-links a{color:var(--color-white)}.vjs-social-share-links a:hover{color:var(--color-white)}:host{display:block;background:linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));background-position:50%;background-size:cover;overflow:hidden;position:relative}:host .bgImage{height:100%;left:0;object-fit:cover;position:absolute;top:0;transform:scale(1.1);width:100%;z-index:-2}:host svg.cut{left:0;position:absolute;z-index:99}:host svg.cut-top{top:0;transform:rotate(180deg) translateY(5px)}:host .cut-bottom{bottom:0;transform:scaleX(-1) translateY(5px)}:host .backdrop-blur{backdrop-filter:blur(7px);padding:var(--ptc-layout-spacing-05) 0}:host .content-box{padding:var(--ptc-element-spacing-05);backdrop-filter:blur(13.7px);border:1px solid rgba(255, 255, 255, 0.54);border-radius:10px;position:relative}@media only screen and (min-width: 768px){:host .content-box{padding:var(--ptc-element-spacing-08)}}:host .content-box .backdrop{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:10px;box-shadow:0 3px 15px 0 rgba(0, 0, 0, 0.35);width:100%;height:100%;overflow:hidden;position:absolute;top:0;left:0}:host .content-box .backdrop::before{background-color:#2a2729;border-radius:10px;content:"";height:100%;opacity:0.7;position:absolute;width:100%;z-index:-1}:host .ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 1200px){:host .ptc-container{padding-left:0;padding-right:0;max-width:1136px}}@media only screen and (min-width: 1440px){:host .ptc-container{padding-left:0;padding-right:0;max-width:1200px}}';export{r as innovator_toggle_container}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as i,a}from"./p-944c5be8.js";const s=class{constructor(e){t(this,e),this.formData={email:"",policyChecked:!1}}componentDidLoad(){this.formButton=this.el.querySelector(".form-submit"),this.formButton.addEventListener("click",this.handleSubmit.bind(this)),this.emailEle=this.el.querySelector('ptc-textfield[field-id="contact-email"]')}handleInputChange(t,e){this.formData=Object.assign(Object.assign({},this.formData),{[t]:e})}handleSubmit(t){if(t.preventDefault(),this.formData.email=this.emailEle.inputValue,this.isValid()){const t=new CustomEvent("formSubmit",{detail:this.formData,bubbles:!0});this.el.dispatchEvent(t)}else console.log("Form validation failed")}isValid(){const{email:t,policyChecked:e}=this.formData,i=document.querySelectorAll(".invalid-field").length;return""!==t&&e&&0===i}render(){return e(i,null,e("div",{class:"ptc-container ptc-section-standard u-flex u-flex-justify-center"},e("div",{class:"form-wrapper"},e("form",{onSubmit:t=>this.handleSubmit(t)},e("ptc-textfield",{"field-id":"contact-email","label-text":"Email*",type:"email","ptc-data-eloqua-name":"C_EmailAddress","field-name":"email"}),e("ptc-form-checkbox",{label:"I agree to the policy","checkbox-id":"test"}),e("ptc-button",{class:"form-submit",color:"ptc-quaternary",type:"submit",styles:":host{align-self:flex-end; margin-top: 48px; display:block;}"},"Submit")))))}get el(){return a(this)}};s.style="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}.flex-adjustments{display:flex;justify-content:center}@media only screen and (min-width: 768px){.flex-adjustments{justify-content:flex-end}}.embedded-form-container{background-color:#142D48}.form-wrapper{width:433px;display:flex;border-radius:3px;background:#FFF;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.16);flex-direction:column;align-items:center;padding:24px 0px;justify-content:center}";export{s as footer_form}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,F as n,H as e,a}from"./p-944c5be8.js";const l={0:"green",1:"blue",2:"gray"},o=class{constructor(i){t(this,i),this.captureSlots=()=>{var t,i,n,e;this.image=null===(t=this.hostEle)||void 0===t?void 0:t.querySelector('[slot="cta-image"]'),this.cta=null===(i=this.hostEle)||void 0===i?void 0:i.querySelector('[slot="cta-link"]');const a=null===(n=this.hostEle)||void 0===n?void 0:n.querySelector('[slot="cta-heading"]'),l=null===(e=this.hostEle)||void 0===e?void 0:e.querySelector('[slot="cta-description"]');this.heading=(null==a?void 0:a.innerText)||"",this.description=(null==l?void 0:l.innerText)||""},this.setBgColor=()=>{var t;let i=null;if(this.containerSelector){const n=document.querySelector(this.containerSelector);i=this.containerIsShadow?null===(t=null==n?void 0:n.shadowRoot)||void 0===t?void 0:t.querySelectorAll("ptc-inline-cta"):null==n?void 0:n.querySelectorAll("ptc-inline-cta")}else i=document.querySelectorAll("ptc-inline-cta");i&&i.forEach(((t,i)=>{var n,e;if(t==this.hostEle){const t=Object.keys(l).length,a=l[i%t],o=null===(e=null===(n=this.hostEle)||void 0===n?void 0:n.shadowRoot)||void 0===e?void 0:e.querySelector(".big-inline-cta-container");o&&o.classList.add(a)}}))},this.truncate=(t,i)=>t.length<=i?t:t.substring(0,i)+"...",this.handleFocus=(t,i)=>{var n,e,a,l;"small"===this.type?null===(n=i.querySelector("ptc-link"))||void 0===n||n.focus():"PTC-BUTTON"!==t.relatedTarget.nodeName&&(null===(l=null===(a=null===(e=i.querySelector("ptc-button"))||void 0===e?void 0:e.shadowRoot)||void 0===a?void 0:a.querySelector("button"))||void 0===l||l.focus())},this.componentWillLoad=()=>{this.captureSlots()},this.componentWillRender=()=>{this.rte&&this.captureSlots()},this.componentDidLoad=()=>{"big"===this.type&&this.setBgColor()},this.disconnectedCallback=()=>{},this.type=void 0,this.containerSelector="",this.containerIsShadow=!1,this.trackerId="",this.rte=void 0,this.image=void 0,this.heading="",this.description="",this.cta=void 0}render(){const t=()=>{var t,e,a,l,o,r,c,s,d;return i("div",{class:"small-inline-cta-container"},i("div",{class:"cta-bg"}),i("div",{class:"cta-content"},i("div",{class:"cta-image"},!!(null===(t=this.image)||void 0===t?void 0:t.src)&&i("ptc-picture",{alt:null===(e=this.image)||void 0===e?void 0:e.alt,"display-image":"block","image-alignment":"center","image-position":"relative","is-full-height":"true","is-full-width":"true","object-fit":"cover",src:null===(a=this.image)||void 0===a?void 0:a.src,styles:"\r\n\t\t\t\t\t\t\t\t:host {\r\n\t\t\t\t\t\t\t\t\theight: 100%;\r\n\r\n\t\t\t\t\t\t\t\t\timg {\r\n\t\t\t\t\t\t\t\t\t\tborder-radius: var(--ptc-border-radius-standard);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t"})),i("div",{class:"cta-body",id:this.trackerId},i("a",{class:"cta-body-inner link-wrapper mf-listen",href:null===(l=this.cta)||void 0===l?void 0:l.href,target:null===(o=this.cta)||void 0===o?void 0:o.target,title:null===(r=this.cta)||void 0===r?void 0:r.title,tabindex:"0","aria-label":"Inline CTA"},!!this.heading&&i("ptc-title",{type:"h4","title-size":"medium","title-weight":"w-7","title-color":"white","title-height":"densest","title-margin":"margin-flush",upperline:"no-upperline","is-plm-hub":!1},this.truncate(this.heading,70)),!!this.description&&i(n,null,i("ptc-spacer",{breakpoint:"x-small",size:"small"}),i("ptc-spacer",{breakpoint:"small",size:"x-small"}),i("ptc-para",{"font-size":"x-small","font-weight":"w-4","para-color":"white","para-line-h":"line-height-p","para-margin":"margin-flush"},this.truncate(this.description,100))),!!(null===(c=this.cta)||void 0===c?void 0:c.href)&&i(n,null,i("ptc-spacer",{breakpoint:"x-small",size:"small"}),i("ptc-spacer",{breakpoint:"small",size:"x-small"}),i("ptc-link",{disabled:!1,"font-size":"small",theme:"d-green-underline",styles:".d-green-underline {line-height: var(--ptc-line-height-p)}","tab-nav":"-1","link-title":null===(s=this.cta)||void 0===s?void 0:s.title},null===(d=this.cta)||void 0===d?void 0:d.innerText))))))},a=()=>{var t,e,a,l,o,r,c,s,d;return i("div",{class:"big-inline-cta-container"},i("div",{class:"cta-bg"}),i("div",{class:"cta-content"},i("div",{class:"cta-image"},!!(null===(t=this.image)||void 0===t?void 0:t.src)&&i("ptc-picture",{alt:null===(e=this.image)||void 0===e?void 0:e.alt,"display-image":"block","image-alignment":"center","image-position":"relative","is-full-height":"true","is-full-width":"true","object-fit":"cover",src:null===(a=this.image)||void 0===a?void 0:a.src,styles:"\r\n\t\t\t\t\t\t\t\t:host {\r\n\t\t\t\t\t\t\t\t\theight: 100%;\r\n\r\n\t\t\t\t\t\t\t\t\timg {\r\n\t\t\t\t\t\t\t\t\t\tborder-radius: var(--ptc-border-radius-standard);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\t"})),i("div",{class:"cta-body",id:this.trackerId},i("a",{class:"cta-body-inner link-wrapper mf-listen",href:null===(l=this.cta)||void 0===l?void 0:l.href,target:null===(o=this.cta)||void 0===o?void 0:o.target,title:null===(r=this.cta)||void 0===r?void 0:r.title,tabindex:"0","aria-label":"Inline CTA"},!!this.heading&&i("ptc-title",{type:"h3","title-size":"large","title-weight":"w-7","title-color":"white","title-height":"densest","title-margin":"margin-flush",upperline:"no-upperline","is-plm-hub":!1},this.truncate(this.heading,70)),!!this.description&&i(n,null,i("ptc-spacer",{breakpoint:"x-small",size:"large"}),i("ptc-spacer",{breakpoint:"small",size:"medium"}),i("ptc-para",{"font-size":"small","font-weight":"w-4","para-color":"white","para-line-h":"line-height-p","para-margin":"margin-flush"},this.truncate(this.description,200))),!!(null===(c=this.cta)||void 0===c?void 0:c.href)&&i(n,null,i("ptc-spacer",{breakpoint:"x-small",size:"xx-large"}),i("ptc-spacer",{breakpoint:"small",size:"x-large"}),i("ptc-spacer",{breakpoint:"x-small",size:"x-small"}),i("ptc-spacer",{breakpoint:"small",size:"xx-small"}),i("ptc-button",{color:"ptc-tertiary",disabled:!1,type:"button",styles:".ptc-tertiary {border: 2px solid #FFFFFF !important}","tab-nav":"-1","button-title":null===(s=this.cta)||void 0===s?void 0:s.title},null===(d=this.cta)||void 0===d?void 0:d.innerText))))))},l=()=>{var t,e,a,l,o,r,c,s,d;return i("div",{class:"bottom-inline-cta-container"},i("div",{class:"cta-image"},!!(null===(t=this.image)||void 0===t?void 0:t.src)&&i("ptc-picture",{alt:null===(e=this.image)||void 0===e?void 0:e.alt,"display-image":"block","image-alignment":"center","image-position":"relative","is-full-height":"true","is-full-width":"true","object-fit":"cover",src:null===(a=this.image)||void 0===a?void 0:a.src,styles:":host {height: 100%;}"})),i("div",{id:this.trackerId,class:"cta-body"},i("a",{class:"link-wrapper mf-listen",href:null===(l=this.cta)||void 0===l?void 0:l.href,target:null===(o=this.cta)||void 0===o?void 0:o.target,title:null===(r=this.cta)||void 0===r?void 0:r.title,tabindex:"0","aria-label":"Inline CTA"},!!this.heading&&i("ptc-title",{"seo-compatibility-mode":!0,type:"h2","title-size":"xx-large","title-weight":"w-8","title-line-h":"densest","title-margin":"margin-flush",upperline:"no-upperline","is-plm-hub":!1},i("h2",null,this.truncate(this.heading,70))),!!this.description&&i(n,null,i("ptc-spacer",{breakpoint:"x-small",size:"small"}),i("ptc-spacer",{breakpoint:"x-small",size:"large"}),i("ptc-spacer",{breakpoint:"small",size:"medium"}),i("ptc-para",{"font-size":"small","font-weight":"w-4","para-line-h":"line-height-p","para-margin":"margin-bottom-4"},this.truncate(this.description,100))),!!(null===(c=this.cta)||void 0===c?void 0:c.href)&&i("ptc-button",{color:"ptc-primary",disabled:!1,type:"button","tab-nav":"-1","button-title":null===(s=this.cta)||void 0===s?void 0:s.title},null===(d=this.cta)||void 0===d?void 0:d.innerText))))};return i(e,null,i("ptc-spacer",{breakpoint:"x-small",size:"xxxx-large"}),i("ptc-spacer",{breakpoint:"small",size:"xxx-large"}),i("div",null,i((()=>{switch(this.type){case"small":return i(t,null);case"big":return i(a,null);case"bottom":return i(l,null);default:return null}}),null)),"bottom"===this.type?null:i(n,null,i("ptc-spacer",{breakpoint:"x-small",size:"xxxx-large"}),i("ptc-spacer",{breakpoint:"small",size:"xxx-large"})))}get hostEle(){return a(this)}};o.style='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 .small-inline-cta-container{width:100%;height:max-content;display:grid;position:relative;align-items:center}:host .small-inline-cta-container .cta-bg{display:none}:host .small-inline-cta-container .cta-content{width:100%;display:flex;flex-direction:column;box-sizing:border-box;background-color:var(--color-gray-08);border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-05);box-sizing:border-box}:host .small-inline-cta-container .cta-content .cta-image{width:100%;height:200px}:host .small-inline-cta-container .cta-content .cta-body{width:100%;margin-top:var(--ptc-element-spacing-05);padding:0}:host .small-inline-cta-container .cta-content .cta-body .link-wrapper{display:block;outline:none;text-decoration:none;position:relative}:host .small-inline-cta-container .cta-content .cta-body .link-wrapper:before{content:"";position:absolute;display:inline-block;width:100%;height:100%;padding:16px;margin:-16px}:host .small-inline-cta-container .cta-content .cta-body .link-wrapper:hover{outline:none;text-decoration:none}:host .small-inline-cta-container .cta-content .cta-body .link-wrapper:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}@media only screen and (min-width: 768px){:host .small-inline-cta-container{margin-top:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01));margin-bottom:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01))}:host .small-inline-cta-container .cta-bg{display:block;width:80%;height:calc(100% + 16px + 16px);position:absolute;right:0;z-index:-1;background-color:var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}:host .small-inline-cta-container .cta-content{flex-direction:row;align-items:center;background-color:transparent;border-radius:none;padding:0}:host .small-inline-cta-container .cta-content .cta-image{width:35%;height:164px}:host .small-inline-cta-container .cta-content .cta-body{width:65%;justify-self:right;display:flex;align-items:center;box-sizing:border-box;padding-right:var(--ptc-element-spacing-07);padding-left:var(--ptc-element-spacing-07);margin-top:0;margin-bottom:0}}:host .big-inline-cta-container{width:100%;height:max-content;display:grid;position:relative;align-items:center}:host .big-inline-cta-container .cta-bg{display:none}:host .big-inline-cta-container .cta-content{width:100%;display:flex;flex-direction:column;border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-05);box-sizing:border-box;background-color:var(--color-green-08)}:host .big-inline-cta-container .cta-content .cta-image{width:100%;height:300px}:host .big-inline-cta-container .cta-content .cta-body{width:100%;margin-top:var(--ptc-element-spacing-06)}:host .big-inline-cta-container .cta-content .cta-body .link-wrapper{display:block;outline:none;text-decoration:none;position:relative}:host .big-inline-cta-container .cta-content .cta-body .link-wrapper:before{content:"";position:absolute;display:inline-block;width:100%;height:100%;padding:24px;margin:-24px}:host .big-inline-cta-container .cta-content .cta-body .link-wrapper:hover{outline:none;text-decoration:none}:host .big-inline-cta-container .cta-content .cta-body .link-wrapper:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}@media only screen and (min-width: 480px){:host .big-inline-cta-container .cta-content .cta-body{margin-top:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 768px){:host .big-inline-cta-container{margin-top:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01));margin-bottom:calc(var(--ptc-element-spacing-06) + var(--ptc-element-spacing-01))}:host .big-inline-cta-container .cta-bg{display:block;width:80%;height:calc(100% + 24px + 24px);position:absolute;right:0;z-index:-1;border-radius:var(--ptc-border-radius-standard);background-color:var(--color-green-08)}:host .big-inline-cta-container .cta-content{flex-direction:row;align-items:center;border-radius:none;padding:0;background-color:transparent}:host .big-inline-cta-container .cta-content .cta-image{width:40%;height:400px;justify-self:left}:host .big-inline-cta-container .cta-content .cta-body{width:60%;justify-self:right;display:flex;align-items:center;box-sizing:border-box;padding-top:calc(var(--ptc-element-spacing-07) + var(--ptc-element-spacing-05));padding-right:var(--ptc-element-spacing-07);padding-bottom:calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04));padding-left:var(--ptc-element-spacing-07);margin-top:0}}:host .big-inline-cta-container.green .cta-content{background-color:var(--color-green-08)}@media only screen and (min-width: 768px){:host .big-inline-cta-container.green .cta-bg{background-color:var(--color-green-08)}:host .big-inline-cta-container.green .cta-content{background-color:transparent}}:host .big-inline-cta-container.blue .cta-content{background-color:var(--color-blue-08)}@media only screen and (min-width: 768px){:host .big-inline-cta-container.blue .cta-bg{background-color:var(--color-blue-08)}:host .big-inline-cta-container.blue .cta-content{background-color:transparent}}:host .big-inline-cta-container.gray .cta-content{background-color:var(--color-gray-08)}@media only screen and (min-width: 768px){:host .big-inline-cta-container.gray .cta-bg{background-color:var(--color-gray-08)}:host .big-inline-cta-container.gray .cta-content{background-color:transparent}}:host .bottom-inline-cta-container{background-color:#FFF;padding:var(--ptc-element-spacing-06);display:flex;gap:var(--ptc-element-spacing-06);flex-direction:column;border-radius:var(--ptc-border-radius-standard)}:host .bottom-inline-cta-container .cta-image{flex:none;height:230px}:host .bottom-inline-cta-container .link-wrapper{display:block;outline:none;text-decoration:none;position:relative}:host .bottom-inline-cta-container .link-wrapper:before{content:"";position:absolute;display:inline-block;width:100%;height:100%;padding:24px;margin:-24px}:host .bottom-inline-cta-container .link-wrapper:hover{outline:none;text-decoration:none}:host .bottom-inline-cta-container .link-wrapper:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}@media only screen and (min-width: 768px){:host .bottom-inline-cta-container{flex-direction:row;gap:0}:host .bottom-inline-cta-container .cta-image{height:inherit;width:50%;display:block;position:relative}:host .bottom-inline-cta-container .cta-image ptc-picture{position:absolute;top:0;right:12px;bottom:0;left:0}:host .bottom-inline-cta-container .cta-body{height:max-content;width:50%;display:block;padding-left:12px}}';export{o as ptc_inline_cta}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as e,a}from"./p-944c5be8.js";const l=class{constructor(i){t(this,i),this.cardCount=void 0,this.cardData=[],this.sectionTitle="",this.sectionId=""}componentWillLoad(){this.cardCount>8&&(this.cardCount=8);for(let t=0;t<this.cardCount;t++){let i=this.el.querySelector(`[slot="card-title-${t+1}"]`),e=this.el.querySelector(`[slot="card-pricing-${t+1}"]`),a=this.el.querySelector(`[slot="card-cta-${t+1}"]`),l=this.el.querySelector(`[slot="card-disclaimer-${t+1}"]`),s={title:null==i?void 0:i.innerHTML.toString(),pricing:null==e?void 0:e.innerHTML.toString(),cta:{linkHref:(null==a?void 0:a.getAttribute("href"))||"",linkText:(null==a?void 0:a.innerHTML.toString())||"",linkTarget:(null==a?void 0:a.getAttribute("target"))||"_blank"},disclaimer:(null==l?void 0:l.innerHTML.toString())||""};null==i||i.remove(),null==a||a.remove(),this.cardData.push(s)}this.cardData.length!=this.cardCount&&(this.cardData=[])}render(){return i(e,null,i("ptc-title",{type:"h3","text-align":"left","title-size":"large",upperline:"no-upperline","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7"},this.sectionTitle),i("ptc-spacer",{breakpoint:"small",size:"medium"}),i("ptc-spacer",{breakpoint:"x-small",size:"large"}),i("div",{class:"is-grid has-col-gap-md"},this.cardData.map(((t,e)=>i("div",{class:"is-col-12 is-col-6-md is-col-4-lg is-col-3-xl"},i("ptc-pricing-add-on-card",{id:`pricing-add-on-${e+1}`,"card-title":t.title,"card-pricing-text":t.pricing,"card-cta-href":t.cta.linkHref,"card-cta-text":t.cta.linkText,"card-cta-target":t.cta.linkTarget,"card-disclaimer":t.disclaimer,"section-id":`${e+1}-${this.sectionId}`},i("span",{slot:"card-pricing"},i("slot",{name:`card-pricing-${e+1}`})),i("div",{slot:"card-body"},i("slot",{name:`card-body-${e+1}`})),i("span",{slot:"card-disclaimer"},i("slot",{name:`card-disclaimer-${e+1}`}))))))))}get el(){return a(this)}};l.style="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}";export{l as ptc_pricing_add_on_section}
|