@ptcwebops/ptcw-design 6.3.12 → 6.3.13-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/academic-form-test.cjs.entry.js +7 -0
- package/dist/cjs/blog-detail-content_2.cjs.entry.js +2 -1
- package/dist/cjs/blog-detail-layout.cjs.entry.js +2 -1
- package/dist/cjs/blogs-search-section.cjs.entry.js +3 -1
- package/dist/cjs/bundle-example.cjs.entry.js +2 -0
- package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
- package/dist/cjs/embedded-form.cjs.entry.js +10 -1
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +3 -33
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/footer-form.cjs.entry.js +2 -0
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +3 -1
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +1 -1
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -0
- package/dist/cjs/jumbotron-sub-mune.cjs.entry.js +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
- package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/ptc-background-video.cjs.entry.js +24 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +4 -2
- package/dist/cjs/ptc-brightcov-video.cjs.entry.js +33 -0
- package/dist/cjs/ptc-button.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +1 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +5 -10
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +28 -27
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-countdown.cjs.entry.js +17 -19
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +30 -27
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +11 -11
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +10 -0
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +800 -6
- package/dist/cjs/ptc-form.cjs.entry.js +7 -0
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-component.cjs.entry.js +13 -0
- package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-img.cjs.entry.js +1 -0
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +2 -3
- package/dist/cjs/ptc-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-media-card.cjs.entry.js +9 -2
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +11 -1
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +9 -0
- package/dist/cjs/ptc-office-locations.cjs.entry.js +2 -5
- package/dist/cjs/ptc-para.cjs.entry.js +2 -2
- package/dist/cjs/ptc-picture.cjs.entry.js +1 -0
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +12 -10
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +2 -0
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +1 -0
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-new.cjs.entry.js +1 -0
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +4 -1
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +2 -0
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +2 -0
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav.cjs.entry.js +1 -0
- package/dist/cjs/ptc-tab-list.cjs.entry.js +1 -0
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +13 -0
- package/dist/cjs/ptc-title.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +18 -1
- package/dist/cjs/ptc-value-led-layout.cjs.entry.js +2 -3
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +11 -9
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +12 -0
- package/dist/cjs/sequential-bundle.cjs.entry.js +1 -0
- package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +1 -1
- package/dist/cjs/{utils-b63aef52.js → utils-ad441b07.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
- package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +1 -0
- package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.js +1 -0
- package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.js +1 -0
- package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.js +1 -0
- package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +2 -0
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +2 -0
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +4 -8
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +2 -32
- package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.js +7 -0
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +10 -1
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +2 -0
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
- package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +7 -0
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +2 -0
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +1 -0
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +12 -0
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +19 -31
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +23 -0
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -6
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +3 -1
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +33 -0
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +1 -0
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
- package/dist/collection/components/ptc-container/ptc-container.js +2 -2
- package/dist/collection/components/ptc-countdown/ptc-countdown.js +17 -19
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +2 -0
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +1 -29
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +10 -45
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +1 -0
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -6
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +2 -0
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +13 -0
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +0 -45
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +2 -2
- package/dist/collection/components/ptc-img/ptc-img.js +1 -0
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -24
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +1 -20
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +8 -1
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +12 -2
- package/dist/collection/components/ptc-modal/ptc-modal.css +8 -4
- package/dist/collection/components/ptc-modal/ptc-modal.js +47 -28
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +2 -5
- package/dist/collection/components/ptc-para/ptc-para.css +3 -0
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-picture/ptc-picture.js +1 -0
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.js +1 -1
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -419
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -9
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +11 -9
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -6
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +2 -0
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +1 -0
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
- package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.js +1 -0
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.js +3 -0
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +2 -0
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +2 -0
- package/dist/collection/components/ptc-select/ptc-select.js +2 -0
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +1 -0
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +9 -1
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +13 -0
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +9 -0
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.js +17 -0
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +2 -3
- 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 +10 -8
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +9 -0
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +1 -0
- package/dist/collection/stories/BackgroundImage.stories.js +42 -20
- package/dist/collection/stories/MobileSelect.stories.js +21 -11
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
- package/dist/collection/utils/elq-lib.js +25 -25
- package/dist/collection/utils/utils.js +1 -1
- package/dist/custom-elements/index.d.ts +6 -12
- package/dist/custom-elements/index.js +463 -307
- package/dist/esm/academic-form-test.entry.js +7 -0
- package/dist/esm/blog-detail-content_2.entry.js +2 -1
- package/dist/esm/blog-detail-layout.entry.js +2 -1
- package/dist/esm/blogs-search-section.entry.js +3 -1
- package/dist/esm/bundle-example.entry.js +2 -0
- package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
- package/dist/esm/embedded-form.entry.js +10 -1
- package/dist/esm/event-jumbotron-example.entry.js +3 -33
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/footer-form.entry.js +2 -0
- package/dist/esm/homepage-jumbotron.entry.js +3 -1
- package/dist/esm/homepage-toggled-content.entry.js +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -0
- package/dist/esm/jumbotron-sub-mune.entry.js +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/modal-form-example.entry.js +90 -0
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +24 -1
- package/dist/esm/ptc-bio-card.entry.js +4 -2
- package/dist/esm/ptc-brightcov-video.entry.js +33 -0
- package/dist/esm/ptc-button.entry.js +1 -1
- package/dist/esm/ptc-card-bottom_2.entry.js +1 -0
- package/dist/esm/ptc-card_2.entry.js +5 -10
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +28 -27
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-countdown.entry.js +17 -19
- package/dist/esm/ptc-data-lookup.entry.js +30 -27
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +11 -11
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-dropdown_4.entry.js +10 -0
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +797 -5
- package/dist/esm/ptc-form.entry.js +7 -0
- 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 +13 -0
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-img.entry.js +1 -0
- package/dist/esm/ptc-jumbotron.entry.js +2 -3
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +9 -2
- package/dist/esm/ptc-mobile-select.entry.js +11 -1
- package/dist/esm/ptc-nav-slider.entry.js +9 -0
- package/dist/esm/ptc-office-locations.entry.js +2 -5
- package/dist/esm/ptc-para.entry.js +2 -2
- package/dist/esm/ptc-picture.entry.js +1 -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 +10 -2
- package/dist/esm/ptc-pricing-packaging-table.entry.js +12 -10
- 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 +2 -0
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-progress-bar.entry.js +1 -0
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-new.entry.js +1 -0
- package/dist/esm/ptc-readmore-v3.entry.js +4 -1
- package/dist/esm/ptc-related-card-rail.entry.js +2 -0
- package/dist/esm/ptc-scroll-button.entry.js +2 -0
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +1 -0
- package/dist/esm/ptc-tab-list.entry.js +1 -0
- package/dist/esm/ptc-theater-video-modal.entry.js +13 -0
- package/dist/esm/ptc-title.entry.js +1 -1
- package/dist/esm/ptc-tooltip-v2.entry.js +18 -1
- package/dist/esm/ptc-value-led-layout.entry.js +2 -3
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +12 -10
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/sequential-bundle-example.entry.js +12 -0
- package/dist/esm/sequential-bundle.entry.js +1 -0
- package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
- package/dist/esm/{utils-2f12c081.js → utils-63eab4bd.js} +1 -1
- package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
- package/dist/ptcw-design/p-01075feb.entry.js +1 -0
- package/dist/ptcw-design/p-03a917f8.entry.js +1 -0
- package/dist/ptcw-design/p-072a76d3.entry.js +1 -0
- package/dist/ptcw-design/p-072aa896.entry.js +1 -0
- package/dist/ptcw-design/p-081e969d.entry.js +1 -0
- package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
- package/dist/ptcw-design/p-0d223232.entry.js +1 -0
- package/dist/ptcw-design/p-0de4cd11.entry.js +1 -0
- package/dist/ptcw-design/{p-9dbcfcee.entry.js → p-16e70f20.entry.js} +1 -1
- package/dist/ptcw-design/p-17f6e145.entry.js +1 -0
- package/dist/ptcw-design/{p-9f194554.entry.js → p-21aa746d.entry.js} +1 -1
- package/dist/ptcw-design/p-25a25451.entry.js +1 -0
- package/dist/ptcw-design/{p-8cea8943.entry.js → p-28be539b.entry.js} +1 -1
- package/dist/ptcw-design/p-291072b4.entry.js +1 -0
- package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
- package/dist/ptcw-design/p-3738a01f.entry.js +1 -0
- package/dist/ptcw-design/{p-757954b2.entry.js → p-38b7ca02.entry.js} +1 -1
- package/dist/ptcw-design/p-3c3a7b54.entry.js +1 -0
- package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
- package/dist/ptcw-design/p-42992202.entry.js +1 -0
- package/dist/ptcw-design/{p-4d8f6f46.entry.js → p-445329ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-8e42a22d.entry.js → p-48c33817.entry.js} +1 -1
- package/dist/ptcw-design/{p-8c121480.entry.js → p-49e54079.entry.js} +1 -1
- package/dist/ptcw-design/{p-1eb40265.entry.js → p-4ee98a3e.entry.js} +1 -1
- package/dist/ptcw-design/p-52e6613f.entry.js +1 -0
- package/dist/ptcw-design/{p-297a14cb.entry.js → p-627103d8.entry.js} +1 -1
- package/dist/ptcw-design/p-672a349f.js +336 -0
- package/dist/ptcw-design/p-67c248ec.entry.js +1 -0
- package/dist/ptcw-design/p-6a3caf2b.entry.js +1 -0
- package/dist/ptcw-design/p-6b32020a.entry.js +1 -0
- package/dist/ptcw-design/p-6f5fecae.entry.js +1 -0
- package/dist/ptcw-design/p-72825cf6.entry.js +1 -0
- package/dist/ptcw-design/p-75390f63.entry.js +1 -0
- package/dist/ptcw-design/p-77b1221e.js +1 -0
- package/dist/ptcw-design/p-799afee5.entry.js +1 -0
- package/dist/ptcw-design/p-821f0ff9.entry.js +1 -0
- package/dist/ptcw-design/{p-6aa9ed95.entry.js → p-867a808f.entry.js} +1 -1
- package/dist/ptcw-design/p-8c692bd6.entry.js +1 -0
- package/dist/ptcw-design/p-8e8c7a3a.entry.js +1 -0
- package/dist/ptcw-design/p-8eb89969.entry.js +1 -0
- package/dist/ptcw-design/{p-077839d5.entry.js → p-92d22c78.entry.js} +1 -1
- package/dist/ptcw-design/p-94f99d2d.entry.js +1 -0
- package/dist/ptcw-design/p-9501995f.entry.js +1 -0
- package/dist/ptcw-design/p-99b45d23.entry.js +1 -0
- package/dist/ptcw-design/p-a412ff0a.entry.js +1 -0
- package/dist/ptcw-design/p-a4f65d28.entry.js +1 -0
- package/dist/ptcw-design/p-ade3c943.entry.js +1 -0
- package/dist/ptcw-design/p-ae50e218.entry.js +1 -0
- package/dist/ptcw-design/{p-008307a6.entry.js → p-b5094974.entry.js} +1 -1
- package/dist/ptcw-design/{p-38e5e590.entry.js → p-b52301e2.entry.js} +1 -1
- package/dist/ptcw-design/{p-14b7693f.entry.js → p-b651c1cb.entry.js} +1 -1
- package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
- package/dist/ptcw-design/p-bd6af63e.entry.js +1 -0
- package/dist/ptcw-design/{p-a8872ce3.entry.js → p-bf18b622.entry.js} +1 -1
- package/dist/ptcw-design/{p-257267e3.entry.js → p-c01ea76f.entry.js} +1 -1
- package/dist/ptcw-design/{p-d51438de.entry.js → p-cbee4653.entry.js} +1 -1
- package/dist/ptcw-design/p-d0581b07.entry.js +68 -0
- package/dist/ptcw-design/p-d20cf3c5.entry.js +1 -0
- package/dist/ptcw-design/p-d3229458.entry.js +1 -0
- package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
- package/dist/ptcw-design/{p-baeee2b4.entry.js → p-dc8c0a06.entry.js} +1 -1
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/{p-52e17d34.entry.js → p-e577ad62.entry.js} +1 -1
- package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
- package/dist/ptcw-design/p-ee534211.entry.js +1 -0
- package/dist/ptcw-design/{p-b647f7a1.entry.js → p-eec2f3da.entry.js} +1 -1
- package/dist/ptcw-design/{p-45b1f3fc.entry.js → p-fd394e84.entry.js} +1 -1
- package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
- package/dist/ptcw-design/p-feecf6b5.entry.js +1 -0
- package/dist/ptcw-design/p-ffb0ff97.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +0 -2
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/ptc-container/ptc-container.d.ts +1 -1
- package/dist/types/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.d.ts +0 -3
- package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +1 -1
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -1
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +1 -1
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +3 -1
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -0
- package/dist/types/components.d.ts +27 -42
- package/package.json +1 -1
- package/readme.md +5 -1
- package/dist/cjs/component-1b8ad4d2.js +0 -1819
- package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +0 -72
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
- package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +0 -66
- package/dist/cjs/validation-messages-33a4f26b.js +0 -126
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +0 -1143
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.js +0 -67
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.js +0 -63
- package/dist/esm/component-9beac35b.js +0 -1802
- package/dist/esm/ptc-icon-card-slider-example.entry.js +0 -68
- package/dist/esm/ptc-multi-select_2.entry.js +0 -665
- package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +0 -62
- package/dist/esm/validation-messages-adbb6518.js +0 -124
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-1454ba84.entry.js +0 -1
- package/dist/ptcw-design/p-15758793.entry.js +0 -1
- package/dist/ptcw-design/p-18a5a338.js +0 -1
- package/dist/ptcw-design/p-24776ca2.entry.js +0 -1
- package/dist/ptcw-design/p-2aa19c11.entry.js +0 -1
- package/dist/ptcw-design/p-36abe396.entry.js +0 -1
- package/dist/ptcw-design/p-3ed4a7ed.entry.js +0 -1
- package/dist/ptcw-design/p-4702c233.entry.js +0 -1
- package/dist/ptcw-design/p-4737a0f6.entry.js +0 -1
- package/dist/ptcw-design/p-4ca956c1.entry.js +0 -1
- package/dist/ptcw-design/p-4f3dea53.entry.js +0 -1
- package/dist/ptcw-design/p-54f6e1a5.entry.js +0 -1
- package/dist/ptcw-design/p-560b05a5.entry.js +0 -1
- package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
- package/dist/ptcw-design/p-68ed2afe.entry.js +0 -1
- package/dist/ptcw-design/p-71fbb799.entry.js +0 -1
- package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
- package/dist/ptcw-design/p-752bba1c.entry.js +0 -1
- package/dist/ptcw-design/p-75431fa1.entry.js +0 -1
- package/dist/ptcw-design/p-761a31f8.entry.js +0 -1
- package/dist/ptcw-design/p-76dab076.entry.js +0 -1
- package/dist/ptcw-design/p-7bdf1e64.entry.js +0 -1
- package/dist/ptcw-design/p-80122e26.js +0 -1
- package/dist/ptcw-design/p-89f0cf12.entry.js +0 -1
- package/dist/ptcw-design/p-901c31b3.entry.js +0 -1
- package/dist/ptcw-design/p-98426799.js +0 -203
- package/dist/ptcw-design/p-98610430.entry.js +0 -1
- package/dist/ptcw-design/p-98844b50.js +0 -134
- package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
- package/dist/ptcw-design/p-a59c9cdc.entry.js +0 -1
- package/dist/ptcw-design/p-a5fc048f.entry.js +0 -1
- package/dist/ptcw-design/p-a8504f11.entry.js +0 -1
- package/dist/ptcw-design/p-ab3d2934.entry.js +0 -1
- package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
- package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
- package/dist/ptcw-design/p-b963ec8c.entry.js +0 -68
- package/dist/ptcw-design/p-bab5bb88.entry.js +0 -1
- package/dist/ptcw-design/p-bf56d5a3.entry.js +0 -1
- package/dist/ptcw-design/p-c8f68292.entry.js +0 -1
- package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
- package/dist/ptcw-design/p-cc677723.entry.js +0 -1
- package/dist/ptcw-design/p-d66debb3.entry.js +0 -1
- package/dist/ptcw-design/p-d7536bff.entry.js +0 -1
- package/dist/ptcw-design/p-dfb400ed.entry.js +0 -1
- package/dist/ptcw-design/p-e43c30c9.entry.js +0 -1
- package/dist/ptcw-design/p-e4eb925f.entry.js +0 -1
- package/dist/ptcw-design/p-e5369c4d.entry.js +0 -1
- package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
- package/dist/ptcw-design/p-fd87fcd5.entry.js +0 -1
- package/dist/types/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.d.ts +0 -10
- package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.d.ts +0 -10
|
@@ -395,7 +395,6 @@
|
|
|
395
395
|
<path id="rect28" d="M 0,0 H 4 V 18 H 0 Z" />
|
|
396
396
|
<path id="rect30" d="m 10,0 h 4 v 18 h -4 z" />
|
|
397
397
|
</symbol>
|
|
398
|
-
|
|
399
398
|
<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
400
399
|
viewBox="0 0 22.84 22.84" id="download-arrow-news">
|
|
401
400
|
<defs>
|
|
@@ -423,7 +422,6 @@
|
|
|
423
422
|
</g>
|
|
424
423
|
</g>
|
|
425
424
|
</symbol>
|
|
426
|
-
|
|
427
425
|
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" id="twitter-blogs-icon">
|
|
428
426
|
<g id="Layer_2">
|
|
429
427
|
<g id="Layer_1-2">
|
|
@@ -460,6 +458,36 @@
|
|
|
460
458
|
</g>
|
|
461
459
|
</g>
|
|
462
460
|
</symbol>
|
|
461
|
+
|
|
462
|
+
<symbol xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
463
|
+
viewBox="0 0 22.84 22.84" id="download-arrow-news">
|
|
464
|
+
<style>.cls-1{fill:url(#linear-gradient);}</style>
|
|
465
|
+
<defs>
|
|
466
|
+
<linearGradient id="linear-gradient" x1="0.22" y1="25.05" x2="-0.67" y2="25.43"
|
|
467
|
+
gradientTransform="matrix(35, 0, 0, -35, 13.73, 892.38)" gradientUnits="userSpaceOnUse">
|
|
468
|
+
<stop offset="0" stop-color="#77c14d"></stop>
|
|
469
|
+
<stop offset="1" stop-color="#03793e"></stop>
|
|
470
|
+
</linearGradient>
|
|
471
|
+
</defs>
|
|
472
|
+
<g id="Layer_2">
|
|
473
|
+
<g id="Layer_1-2">
|
|
474
|
+
<g id="Group_1444">
|
|
475
|
+
<g id="Ellipse_446-2">
|
|
476
|
+
<circle cx="11.42" cy="11.42" r="11.42" class="cls-1"></circle>
|
|
477
|
+
<circle cx="11.42" cy="11.42" r="11.26" style="fill:none;stroke:#fff;stroke-width:0.33px;"></circle>
|
|
478
|
+
</g>
|
|
479
|
+
</g>
|
|
480
|
+
<g id="Group_1424">
|
|
481
|
+
<rect id="Rectangle_420" x="10.05" y="8.04" width="2.73" height="1.24" style="fill:#fff;"></rect>
|
|
482
|
+
<rect id="Rectangle_421" x="10.05" y="6.53" width="2.73" height="0.83" style="fill:#fff;"></rect>
|
|
483
|
+
<path id="Path_4278"
|
|
484
|
+
d="M10.17,12a.07.07,0,0,1-.07.07H8.8a.08.08,0,0,0-.08.07.11.11,0,0,0,0,.05L11.34,16a.08.08,0,0,0,.12,0,0,0,0,0,0,0,0l2.59-3.79a.08.08,0,0,0,0-.11h-1.3a.08.08,0,0,1-.08-.07h0V10a.07.07,0,0,0-.07-.07H10.25a.08.08,0,0,0-.08.07h0Z"
|
|
485
|
+
style="fill:#fff;"></path>
|
|
486
|
+
</g>
|
|
487
|
+
</g>
|
|
488
|
+
</g>
|
|
489
|
+
</symbol>
|
|
490
|
+
|
|
463
491
|
<symbol xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22 32" id="arrow_ascending">
|
|
464
492
|
<path d="M21.8 14.6L11 0L0 14.6H7L7 32L14.8 32L14.8 14.6L21.8 14.6Z"></path>
|
|
465
493
|
</symbol>
|
package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css
CHANGED
|
@@ -82,26 +82,26 @@ a:focus-visible {
|
|
|
82
82
|
border-radius: var(--ptc-border-radius-standard);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a), .background-plm-grey a.light-link {
|
|
85
|
+
.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 {
|
|
86
86
|
color: var(--color-blue-04);
|
|
87
87
|
margin: -2px;
|
|
88
88
|
border: 2px solid transparent;
|
|
89
89
|
}
|
|
90
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a):visited, .background-plm-grey a.light-link:visited {
|
|
90
|
+
.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 {
|
|
91
91
|
color: var(--color-blue-06);
|
|
92
92
|
}
|
|
93
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):active, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):active, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):active, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:active, .background-plm-grey a.light-link:active, .background-plm-grey a.light-link:visited:active {
|
|
93
|
+
.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 {
|
|
94
94
|
transition: none;
|
|
95
95
|
color: var(--color-blue-07);
|
|
96
96
|
}
|
|
97
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):hover, .light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):hover, .background-grey-10 a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .vjs-social-share-links a):hover, .background-plm-grey a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a):visited:hover, .background-plm-grey a.light-link:hover, .background-plm-grey a.light-link:visited:hover {
|
|
97
|
+
.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 {
|
|
98
98
|
color: var(--color-blue-05);
|
|
99
99
|
}
|
|
100
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a).disabled, .background-plm-grey a.light-link.disabled {
|
|
100
|
+
.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 {
|
|
101
101
|
color: var(--color-gray-04) !important;
|
|
102
102
|
cursor: not-allowed;
|
|
103
103
|
}
|
|
104
|
-
.light-links a:not(.hero-footer-form-wrapper a, ptc-modal inline-form 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, .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, .vjs-social-share-links a):focus-visible, .background-plm-grey a.light-link:focus-visible {
|
|
104
|
+
.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 {
|
|
105
105
|
border-radius: var(--ptc-border-radius-standard);
|
|
106
106
|
border: 2px solid white;
|
|
107
107
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
@@ -23,6 +23,7 @@ export class JumbotronSubMenu {
|
|
|
23
23
|
const upArrow = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, h("path", { d: "M13 8.5L7.34315 2.71178L1.68629 8.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
|
|
24
24
|
const downArrow = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, h("path", { d: "M13 2.5L7.34315 8.28822L1.68629 2.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
|
|
25
25
|
const menuItems = Array.from(this.el.querySelectorAll('[slot^="menu-item"]'));
|
|
26
|
+
//console.log("menuItems: " + menuItems[0].textContent)
|
|
26
27
|
return (h("nav", { class: "menu" }, h("div", { class: "mobile-menu-icon", onClick: () => this.toggleMenu(), onKeyPress: () => this.toggleMenu(), tabindex: "0" }, h("span", { class: "mobile-menu-text" }, menuItems[this.activeItem].textContent), h("span", null, this.isOpen ? upArrow : downArrow)), h("ul", { class: `menu-list ${this.isOpen ? 'open' : ''}` }, menuItems.map((item, index) => (h("li", { key: index, id: `hp-tab-${index}`, class: this.activeItem === index ? 'active' : '' }, h("button", { onClick: () => this.selectItem(index) }, item.textContent)))))));
|
|
27
28
|
}
|
|
28
29
|
static get is() { return "jumbotron-sub-menu"; }
|
package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js
CHANGED
|
@@ -110,6 +110,7 @@ export class BlogsSearchSection {
|
|
|
110
110
|
this.getResults();
|
|
111
111
|
});
|
|
112
112
|
mobileFiltersModalCta.addEventListener('clicked', () => {
|
|
113
|
+
console.log("Modal open");
|
|
113
114
|
mobileFiltersModal.setAttribute('show', 'true');
|
|
114
115
|
});
|
|
115
116
|
mobileFiltersModal.addEventListener('opened', () => {
|
|
@@ -172,6 +173,7 @@ export class BlogsSearchSection {
|
|
|
172
173
|
}
|
|
173
174
|
getResults() {
|
|
174
175
|
setTimeout(() => {
|
|
176
|
+
console.log("Blogs search section resolving promise");
|
|
175
177
|
this.preloaderDependency.resolve();
|
|
176
178
|
// this.isLoading = false;
|
|
177
179
|
this.data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20];
|
|
@@ -13,6 +13,7 @@ export class BundleExample {
|
|
|
13
13
|
this.updateMaxHeight();
|
|
14
14
|
}
|
|
15
15
|
squareHeightChangedHandler(event) {
|
|
16
|
+
//console.log('Received the height:', event.detail); // Here you get the height
|
|
16
17
|
this.cardHeights = [...this.cardHeights, event.detail];
|
|
17
18
|
this.updateMaxHeight();
|
|
18
19
|
}
|
|
@@ -25,6 +26,7 @@ export class BundleExample {
|
|
|
25
26
|
}
|
|
26
27
|
updateMaxHeight() {
|
|
27
28
|
this.maxCardHeight = Math.max(...this.cardHeights, 0); // Update maxHeight based on the current cardHeights
|
|
29
|
+
console.log('cardheights: ' + this.cardHeights);
|
|
28
30
|
}
|
|
29
31
|
render() {
|
|
30
32
|
return (h(Host, null, h("div", { class: "is-grid has-col-2 has-col-2-sm has-col-3-md has-col-4-lg has-col-5-xl has-col-gap-md has-row-gap-md" }, h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))), h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))), h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))), h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))), h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))), h("div", { class: "is-col-1" }, h("ptc-card-wrapper", { "card-type": "card-video", class: "is-col-4", "card-link": "https://www.ptc.com", "link-title": "ptc", "is-loading": this.isLoading }, h("ptc-card-content", { "card-type": "card-video", "is-loading": this.isLoading }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, h("ptc-picture", { alt: "image-test", "border-radius": "radius-large", src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" }))), h("ptc-card-bottom", { "card-type": "card-video" }, h("ptc-para", { "font-size": "x-small", "font-weight": "w-7", "para-line-h": "line-height-19", "para-color": "white", "para-margin": "margin-top-3" }, h("ptc-skeleton", { "is-loading": this.isLoading, animated: true }, "3 Reasons Why Engineering and Manufacturing are Disjointed"), h("ptc-skeleton", { "is-loading": this.isLoading, animated: true, width: "80%", "top-margin": "var(--ptc-element-spacing-01)" }))))))));
|
|
@@ -34,7 +34,7 @@ a {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.light-links,.background-grey-10,.background-plm-grey {
|
|
37
|
-
a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .vjs-social-share-links a), a.light-link {
|
|
37
|
+
a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a, .podcast-cta-section a, .vjs-social-share-links a), a.light-link {
|
|
38
38
|
color: var(--color-blue-04);
|
|
39
39
|
margin: -2px;
|
|
40
40
|
border: 2px solid transparent;
|
|
@@ -61,7 +61,7 @@ a {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
&:focus-visible {
|
|
64
|
-
border-radius: var(--ptc-border-radius-standard);
|
|
64
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
65
65
|
border: 2px solid rgb(255, 255, 255);
|
|
66
66
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
67
67
|
}
|
|
@@ -71,7 +71,7 @@ a {
|
|
|
71
71
|
border: 2px solid transparent;
|
|
72
72
|
|
|
73
73
|
&:focus-visible {
|
|
74
|
-
border-radius: var(--ptc-border-radius-standard);
|
|
74
|
+
border-radius: var(--ptc-border-radius-standard);
|
|
75
75
|
border: 2px solid rgb(255, 255, 255);
|
|
76
76
|
outline: 5px solid var(--keyboard-nav-outline);
|
|
77
77
|
}
|
|
@@ -60,14 +60,9 @@ ptc-link, ptc-square-card,
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.event-jumbotron {
|
|
63
|
-
margin-bottom:
|
|
63
|
+
margin-bottom: 3rem;
|
|
64
64
|
width: 100%;
|
|
65
65
|
}
|
|
66
|
-
@media only screen and (min-width: 992px) {
|
|
67
|
-
.event-jumbotron {
|
|
68
|
-
margin-bottom: 3rem;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
66
|
|
|
72
67
|
.white-placeholder {
|
|
73
68
|
position: absolute;
|
|
@@ -89,7 +84,7 @@ ptc-link, ptc-square-card,
|
|
|
89
84
|
display: flex;
|
|
90
85
|
gap: 24px;
|
|
91
86
|
overflow-x: auto;
|
|
92
|
-
padding:
|
|
87
|
+
padding: 0 24px;
|
|
93
88
|
scroll-snap-type: x mandatory;
|
|
94
89
|
-webkit-overflow-scrolling: touch;
|
|
95
90
|
cursor: grab;
|
|
@@ -213,7 +208,8 @@ ptc-link, ptc-square-card,
|
|
|
213
208
|
cursor: auto;
|
|
214
209
|
transition: transform 0.3s ease-in-out;
|
|
215
210
|
width: 100%;
|
|
216
|
-
padding: 0px;
|
|
211
|
+
padding-left: 0px;
|
|
212
|
+
padding-right: 0px;
|
|
217
213
|
}
|
|
218
214
|
|
|
219
215
|
.card {
|
|
@@ -75,7 +75,6 @@ export class EventJumbotronExample {
|
|
|
75
75
|
},
|
|
76
76
|
});
|
|
77
77
|
this.trap.activate();
|
|
78
|
-
this.setupTabNavigation(panel); //set up special navigation to no-content panel, skip tabindex=-1 container and focus on the A inside a shdow dom.
|
|
79
78
|
}, 500);
|
|
80
79
|
}
|
|
81
80
|
else {
|
|
@@ -87,41 +86,11 @@ export class EventJumbotronExample {
|
|
|
87
86
|
else if (!this.isDesktop) {
|
|
88
87
|
if (!this.isDragging) {
|
|
89
88
|
const modal = document.getElementById(`modal-${cardIndex}`);
|
|
89
|
+
console.log('open: ' + modal.id);
|
|
90
90
|
modal.show = true;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
//Focus the ptc-button directly in the no content panel (tab navigation).
|
|
95
|
-
setupTabNavigation(panel) {
|
|
96
|
-
var _a;
|
|
97
|
-
if (panel.querySelector('.no-content-card')) {
|
|
98
|
-
const shadowButton = panel.querySelector('ptc-close-icon');
|
|
99
|
-
const closeButton = (_a = shadowButton.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.close-icon');
|
|
100
|
-
if (closeButton) {
|
|
101
|
-
closeButton.addEventListener('keydown', (event) => {
|
|
102
|
-
if (event.key === 'Tab' && !event.shiftKey) {
|
|
103
|
-
event.preventDefault();
|
|
104
|
-
this.focusShadowDomElement(panel);
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
focusShadowDomElement(panel) {
|
|
114
|
-
const card = panel.querySelector('.no-content-card');
|
|
115
|
-
if (card) {
|
|
116
|
-
const button = card.querySelector('ptc-button');
|
|
117
|
-
if (button) {
|
|
118
|
-
const link = button.shadowRoot.querySelector('a');
|
|
119
|
-
if (link) {
|
|
120
|
-
link.focus();
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
94
|
showPanel(card, panel) {
|
|
126
95
|
if (this.activePanel)
|
|
127
96
|
return;
|
|
@@ -190,6 +159,7 @@ export class EventJumbotronExample {
|
|
|
190
159
|
document.addEventListener('keydown', event => {
|
|
191
160
|
if (event.key === 'Tab' || event.key === 'Enter' || event.key === ' ') {
|
|
192
161
|
this.openedWithKeyboard = true;
|
|
162
|
+
console.log('keyboard status: ' + this.openedWithKeyboard);
|
|
193
163
|
}
|
|
194
164
|
});
|
|
195
165
|
document.addEventListener('mousedown', () => {
|
package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.js
CHANGED
|
@@ -39,20 +39,27 @@ export class AcademicForm {
|
|
|
39
39
|
this.formData.lastName = this.lastNameEle.inputValue;
|
|
40
40
|
this.formData.company = this.companyEle.inputValue;
|
|
41
41
|
this.formData.phone = this.phoneEle.inputValue;
|
|
42
|
+
// this.formData.country = this.countryEle.inputValue;
|
|
43
|
+
// this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
|
|
44
|
+
// this.formData.howhearselfreport = this.howhearselfreport.inputValue;
|
|
45
|
+
// console.log("get form Data: " + this.formData.email)
|
|
42
46
|
if (this.isValid()) {
|
|
43
47
|
const formSubmitEvent = new CustomEvent('formSubmit', {
|
|
44
48
|
detail: this.formData,
|
|
45
49
|
bubbles: true,
|
|
46
50
|
});
|
|
47
51
|
this.el.dispatchEvent(formSubmitEvent);
|
|
52
|
+
console.log('Form Submitted: ' + this.formData);
|
|
48
53
|
}
|
|
49
54
|
else {
|
|
50
55
|
console.log('Form validation failed');
|
|
56
|
+
console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
|
|
51
57
|
}
|
|
52
58
|
}
|
|
53
59
|
isValid() {
|
|
54
60
|
const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
|
|
55
61
|
const invalidLength = document.querySelectorAll('.invalid-field').length;
|
|
62
|
+
// console.log('invalid fields length: ' + invalidLength), check the select field
|
|
56
63
|
return (email !== '' &&
|
|
57
64
|
phone !== '' &&
|
|
58
65
|
firstName !== '' &&
|
|
@@ -33,13 +33,20 @@ export class EmbeddedForm {
|
|
|
33
33
|
onDataLookup() {
|
|
34
34
|
const dataLookupElement = this.el.closest('ptc-data-lookup');
|
|
35
35
|
if (dataLookupElement) {
|
|
36
|
-
|
|
36
|
+
console.log('Perform Data Lookup...');
|
|
37
37
|
dataLookupElement.performDataLookup();
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
40
|
console.log('No Data Lookup...');
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
+
// private init_notme(): void{
|
|
44
|
+
// const topAdditional = document.getElementById('not-me-additional-top');
|
|
45
|
+
// const bottomAdditional = document.getElementById('not-me-additional-bottom');
|
|
46
|
+
// console.log("top: " + topAdditional)
|
|
47
|
+
// if(topAdditional) topAdditional.style.display = 'none';
|
|
48
|
+
// if(bottomAdditional) bottomAdditional.style.display = 'none';
|
|
49
|
+
// }
|
|
43
50
|
handleInputChange(field, value) {
|
|
44
51
|
this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
|
|
45
52
|
}
|
|
@@ -62,6 +69,7 @@ export class EmbeddedForm {
|
|
|
62
69
|
});
|
|
63
70
|
this.el.dispatchEvent(formSubmitEvent);
|
|
64
71
|
this.isSubmitted = true;
|
|
72
|
+
console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone, this.formData.country, this.formData.inquiryReason, this.formData.howhearselfreport, this.formData.policyChecked);
|
|
65
73
|
}
|
|
66
74
|
else {
|
|
67
75
|
console.log('Form validation failed');
|
|
@@ -75,6 +83,7 @@ export class EmbeddedForm {
|
|
|
75
83
|
isValid() {
|
|
76
84
|
const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
|
|
77
85
|
const invalidLength = document.querySelectorAll('.invalid-field').length;
|
|
86
|
+
// console.log('invalid fields length: ' + invalidLength), check the select field
|
|
78
87
|
return (email !== '' &&
|
|
79
88
|
phone !== '' &&
|
|
80
89
|
firstName !== '' &&
|
|
@@ -36,9 +36,11 @@ export class FooterForm {
|
|
|
36
36
|
bubbles: true,
|
|
37
37
|
});
|
|
38
38
|
this.el.dispatchEvent(formSubmitEvent);
|
|
39
|
+
console.log('Form Submitted: ' + this.formData);
|
|
39
40
|
}
|
|
40
41
|
else {
|
|
41
42
|
console.log('Form validation failed');
|
|
43
|
+
console.log('Form Submitted: ' + this.formData.email);
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
isValid() {
|
package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.form-wrapper {
|
|
6
|
+
width: 371px;
|
|
7
|
+
display: flex;
|
|
8
|
+
border-radius: 3px;
|
|
9
|
+
background: #FFF;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: center;
|
|
12
|
+
padding: 0px 32px;
|
|
13
|
+
|
|
14
|
+
@media only screen and (min-width: 360px) and (max-width: 479.55px) {
|
|
15
|
+
max-width: 360px;
|
|
16
|
+
width: 360px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.button-wrapper {
|
|
20
|
+
display: flex;
|
|
21
|
+
justify-content: flex-end;
|
|
22
|
+
gap: 20px;
|
|
23
|
+
margin-top: 48px;
|
|
24
|
+
flex-wrap: wrap;
|
|
25
|
+
}
|
|
26
|
+
}
|
package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
|
+
export class PtcForm {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.formData = {
|
|
5
|
+
email: '',
|
|
6
|
+
firstName: '',
|
|
7
|
+
lastName: '',
|
|
8
|
+
company: '',
|
|
9
|
+
country: '',
|
|
10
|
+
phone: '',
|
|
11
|
+
inquiryReason: '',
|
|
12
|
+
howhearselfreport: '',
|
|
13
|
+
policyChecked: false,
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
// private countryEle: HTMLPtcSelectElement;
|
|
17
|
+
// private inquiryreasonEle: HTMLPtcTextfieldElement;
|
|
18
|
+
// private howhearselfreport: HTMLPtcTextfieldElement;
|
|
19
|
+
componentDidLoad() {
|
|
20
|
+
this.formButton = this.el.querySelector('.form-submit');
|
|
21
|
+
this.formButton.addEventListener('click', this.handleSubmit.bind(this));
|
|
22
|
+
//get Email
|
|
23
|
+
this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
|
|
24
|
+
this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
|
|
25
|
+
this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
|
|
26
|
+
this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
|
|
27
|
+
this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
|
|
28
|
+
// this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
|
|
29
|
+
// this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
|
|
30
|
+
// this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
|
|
31
|
+
}
|
|
32
|
+
handleInputChange(field, value) {
|
|
33
|
+
this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
|
|
34
|
+
}
|
|
35
|
+
handleSubmit(event) {
|
|
36
|
+
event.preventDefault();
|
|
37
|
+
this.formData.email = this.emailEle.inputValue;
|
|
38
|
+
this.formData.firstName = this.firstNameEle.inputValue;
|
|
39
|
+
this.formData.lastName = this.lastNameEle.inputValue;
|
|
40
|
+
this.formData.company = this.companyEle.inputValue;
|
|
41
|
+
this.formData.phone = this.phoneEle.inputValue;
|
|
42
|
+
// this.formData.country = this.countryEle.inputValue;
|
|
43
|
+
// this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
|
|
44
|
+
// this.formData.howhearselfreport = this.howhearselfreport.inputValue;
|
|
45
|
+
// console.log("get form Data: " + this.formData.email)
|
|
46
|
+
if (this.isValid()) {
|
|
47
|
+
const formSubmitEvent = new CustomEvent('formSubmit', {
|
|
48
|
+
detail: this.formData,
|
|
49
|
+
bubbles: true,
|
|
50
|
+
});
|
|
51
|
+
this.el.dispatchEvent(formSubmitEvent);
|
|
52
|
+
console.log('Form Submitted: ' + this.formData);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
console.log('Form validation failed');
|
|
56
|
+
console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
isValid() {
|
|
60
|
+
const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
|
|
61
|
+
const invalidLength = document.querySelectorAll('.invalid-field').length;
|
|
62
|
+
// console.log('invalid fields length: ' + invalidLength), check the select field
|
|
63
|
+
return (email !== '' &&
|
|
64
|
+
phone !== '' &&
|
|
65
|
+
firstName !== '' &&
|
|
66
|
+
lastName !== '' &&
|
|
67
|
+
company !== '' &&
|
|
68
|
+
country !== '' &&
|
|
69
|
+
inquiryReason !== '' &&
|
|
70
|
+
howhearselfreport != '' &&
|
|
71
|
+
policyChecked &&
|
|
72
|
+
invalidLength === 0);
|
|
73
|
+
}
|
|
74
|
+
render() {
|
|
75
|
+
const multiSelectItems = [
|
|
76
|
+
{ text: 'Item 1', selected: false, ptcDataEloquaName: 'item_1', ptcDataTargetEloquaName: 'item_target-1' },
|
|
77
|
+
{ text: 'Item 2', selected: false, ptcDataEloquaName: 'item_2', ptcDataTargetEloquaName: 'item_target-2' },
|
|
78
|
+
{ text: 'Item 3', selected: false, ptcDataEloquaName: 'item_3', ptcDataTargetEloquaName: 'item_target-3' }
|
|
79
|
+
];
|
|
80
|
+
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")))))));
|
|
81
|
+
}
|
|
82
|
+
static get is() { return "modal-form-example"; }
|
|
83
|
+
static get originalStyleUrls() {
|
|
84
|
+
return {
|
|
85
|
+
"$": ["modal-form-example.css"]
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
static get styleUrls() {
|
|
89
|
+
return {
|
|
90
|
+
"$": ["modal-form-example.css"]
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
static get states() {
|
|
94
|
+
return {
|
|
95
|
+
"formData": {}
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
static get elementRef() { return "el"; }
|
|
99
|
+
}
|
|
@@ -39,20 +39,27 @@ export class PtcForm {
|
|
|
39
39
|
this.formData.lastName = this.lastNameEle.inputValue;
|
|
40
40
|
this.formData.company = this.companyEle.inputValue;
|
|
41
41
|
this.formData.phone = this.phoneEle.inputValue;
|
|
42
|
+
// this.formData.country = this.countryEle.inputValue;
|
|
43
|
+
// this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
|
|
44
|
+
// this.formData.howhearselfreport = this.howhearselfreport.inputValue;
|
|
45
|
+
// console.log("get form Data: " + this.formData.email)
|
|
42
46
|
if (this.isValid()) {
|
|
43
47
|
const formSubmitEvent = new CustomEvent('formSubmit', {
|
|
44
48
|
detail: this.formData,
|
|
45
49
|
bubbles: true,
|
|
46
50
|
});
|
|
47
51
|
this.el.dispatchEvent(formSubmitEvent);
|
|
52
|
+
console.log('Form Submitted: ' + this.formData);
|
|
48
53
|
}
|
|
49
54
|
else {
|
|
50
55
|
console.log('Form validation failed');
|
|
56
|
+
console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
|
|
51
57
|
}
|
|
52
58
|
}
|
|
53
59
|
isValid() {
|
|
54
60
|
const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
|
|
55
61
|
const invalidLength = document.querySelectorAll('.invalid-field').length;
|
|
62
|
+
// console.log('invalid fields length: ' + invalidLength), check the select field
|
|
56
63
|
return (email !== '' &&
|
|
57
64
|
phone !== '' &&
|
|
58
65
|
firstName !== '' &&
|
package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js
CHANGED
|
@@ -57,6 +57,7 @@ export class HomepageJumbotron {
|
|
|
57
57
|
},
|
|
58
58
|
},
|
|
59
59
|
});
|
|
60
|
+
console.log('running swiper');
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
63
|
destroySlider() {
|
|
@@ -90,6 +91,7 @@ export class HomepageJumbotron {
|
|
|
90
91
|
updateTileElements() {
|
|
91
92
|
const tiles = Array.from(this.el.querySelectorAll(`[slot^="jumbotron-tile-${this.activeTab}"]`));
|
|
92
93
|
this.tileElements = tiles;
|
|
94
|
+
//console.log('tile check: ' + tiles[0].outerHTML);
|
|
93
95
|
}
|
|
94
96
|
onItemSelected(event) {
|
|
95
97
|
this.isTransitioning = true;
|
|
@@ -11,12 +11,17 @@ export class SequentialBundleExample {
|
|
|
11
11
|
}
|
|
12
12
|
handleResize() {
|
|
13
13
|
this.updateIsMobile();
|
|
14
|
+
// console.log('handleResize: isMobile: ' + this.isMobile);
|
|
14
15
|
}
|
|
15
16
|
watchStateHandler() {
|
|
17
|
+
console.log('Runing Watch/ismobilechange: isMobile updated and Start handleIsMobileChange');
|
|
18
|
+
console.log('Start Watch: isMobile: ' + this.isMobile);
|
|
16
19
|
if (this.isMobile && !this.mySwiper && this.isConnected) {
|
|
20
|
+
console.log('watch/ismobileChange condition1: Run swiper');
|
|
17
21
|
let that = this;
|
|
18
22
|
const createSwiper = () => {
|
|
19
23
|
let tempSwiperContainer = that.el.shadowRoot.querySelector('.swiper-container');
|
|
24
|
+
console.log("find container: " + tempSwiperContainer);
|
|
20
25
|
if (tempSwiperContainer) {
|
|
21
26
|
that.mySwiper = new Swiper(tempSwiperContainer, {
|
|
22
27
|
slidesPerView: "auto",
|
|
@@ -42,19 +47,25 @@ export class SequentialBundleExample {
|
|
|
42
47
|
createSwiper();
|
|
43
48
|
}
|
|
44
49
|
else if (!this.isMobile && this.mySwiper) {
|
|
50
|
+
console.log("watch/ismobileChange condition2: it's not swiper and remove it");
|
|
45
51
|
this.mySwiper.destroy(true, true);
|
|
46
52
|
this.mySwiper = null;
|
|
47
53
|
}
|
|
48
54
|
}
|
|
49
55
|
connectedCallback() {
|
|
56
|
+
console.log('START! isMobile: ' + this.isMobile);
|
|
50
57
|
//if screen is mobile when first load
|
|
51
58
|
this.updateIsMobile();
|
|
59
|
+
console.log("ConnectedCallback: isMobile: " + this.isMobile);
|
|
52
60
|
this.isConnected = true;
|
|
53
61
|
}
|
|
54
62
|
componentDidLoad() {
|
|
63
|
+
console.log('Component Did Load');
|
|
55
64
|
this.watchStateHandler();
|
|
56
65
|
}
|
|
57
66
|
disconnectedCallback() {
|
|
67
|
+
console.log("Running disconnectedCb");
|
|
68
|
+
//window.removeEventListener('resize', this.handleResize);
|
|
58
69
|
if (this.mySwiper) {
|
|
59
70
|
this.mySwiper.destroy(true, true);
|
|
60
71
|
this.mySwiper = null;
|
|
@@ -95,6 +106,7 @@ export class SequentialBundleExample {
|
|
|
95
106
|
])));
|
|
96
107
|
}
|
|
97
108
|
updateIsMobile() {
|
|
109
|
+
// console.log("Checking isMobile...")
|
|
98
110
|
this.isMobile = window.innerWidth < 1200;
|
|
99
111
|
}
|
|
100
112
|
static get is() { return "sequential-bundle-example"; }
|