@ptcwebops/ptcw-design 6.2.16-beta → 6.2.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/blog-detail-content_2.cjs.entry.js +1 -1
- package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
- package/dist/cjs/blogs-search-section.cjs.entry.js +1 -1
- package/dist/cjs/{component-4dd13907.js → component-06dda623.js} +1494 -3305
- package/dist/cjs/component-5b5b6a98.js +1819 -0
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +61 -0
- package/dist/cjs/featured-events-slider-example.cjs.entry.js +2 -387
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset_13.cjs.entry.js +1205 -0
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
- package/dist/cjs/mousewheel-e9520f0f.js +391 -0
- 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-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +22 -1
- package/dist/cjs/ptc-card-content.cjs.entry.js +8 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +11 -2
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +20 -15
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
- package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +6 -788
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-card.cjs.entry.js +2 -8
- package/dist/cjs/ptc-link.cjs.entry.js +13 -5
- package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +670 -0
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
- 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-packaging-table.cjs.entry.js +1 -1
- 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-highlight-card.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-social-icons-footer.cjs.entry.js +2 -7
- 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 +7 -1
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/{utils-ad441b07.js → utils-87d7b99f.js} +0 -9
- package/dist/cjs/validation-messages-33a4f26b.js +126 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/icon-asset/icon-asset.css +6 -0
- package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +2 -30
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +5 -20
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +1 -19
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +1222 -0
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +80 -0
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +5 -20
- package/dist/collection/components/ptc-button/ptc-button.js +1 -4
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +65 -2
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +10 -2
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +7 -10
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +2 -2
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +5 -20
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +19 -50
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +5 -20
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +5 -20
- package/dist/collection/components/ptc-footer/ptc-footer-v2.css +1 -14
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +0 -10
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +1 -25
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +5 -20
- package/dist/collection/components/ptc-link/ptc-link.css +5 -8
- package/dist/collection/components/ptc-link/ptc-link.js +12 -4
- package/dist/collection/components/ptc-modal/ptc-modal.css +0 -4
- package/dist/collection/components/ptc-modal/ptc-modal.js +2 -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 +5 -20
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +461 -32
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +10 -1
- 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-product-card/ptc-product-card.css +5 -20
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +5 -20
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +5 -20
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +5 -20
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +5 -20
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +0 -10
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +1 -24
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +1 -1
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +5 -20
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +5 -20
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +5 -20
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +6 -0
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +0 -7
- package/dist/collection/utils/utils.js +0 -8
- package/dist/custom-elements/index.d.ts +6 -6
- package/dist/custom-elements/index.js +164 -172
- 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 +2 -2
- package/dist/esm/blog-detail-layout.entry.js +2 -2
- package/dist/esm/blogs-search-section.entry.js +2 -2
- 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-274da230.js} +1482 -3281
- package/dist/esm/component-341e4eaa.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 +57 -0
- package/dist/esm/featured-events-slider-example.entry.js +3 -388
- 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/homepage-clickable-tab.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +2 -2
- package/dist/esm/homepage-toggled-content.entry.js +2 -2
- package/dist/esm/icon-asset_13.entry.js +1189 -0
- package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +2 -2
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/most-popular-news.entry.js +2 -2
- package/dist/esm/mousewheel-6b2f6590.js +389 -0
- package/dist/esm/my-component.entry.js +2 -2
- package/dist/esm/news-search-result.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +2 -2
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +1 -1
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +2 -2
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-card-bottom_2.entry.js +23 -2
- package/dist/esm/ptc-card-content.entry.js +9 -1
- package/dist/esm/ptc-card_2.entry.js +12 -3
- package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ptc-collapse-list.entry.js +21 -16
- 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 +1 -1
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
- package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
- package/dist/esm/ptc-featured-list.entry.js +2 -2
- package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +2 -2
- package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +2 -2
- package/dist/esm/{ptc-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +6 -786
- 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 +2 -2
- package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
- package/dist/esm/ptc-icon-card.entry.js +3 -9
- package/dist/esm/ptc-icon-component.entry.js +1 -1
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +1 -1
- package/dist/esm/ptc-image-download-strip.entry.js +1 -1
- package/dist/esm/ptc-info-tile.entry.js +1 -1
- package/dist/esm/ptc-inline-cta.entry.js +1 -1
- package/dist/esm/ptc-link.entry.js +14 -6
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +2 -2
- package/dist/esm/ptc-minimized-nav.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +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 +1 -1
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
- package/dist/esm/ptc-product-card.entry.js +2 -2
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
- package/dist/esm/ptc-product-list.entry.js +1 -1
- package/dist/esm/ptc-product-sidebar.entry.js +1 -1
- package/dist/esm/ptc-progress-bar.entry.js +1 -1
- package/dist/esm/ptc-quantity-counter.entry.js +1 -1
- package/dist/esm/ptc-quote.entry.js +1 -1
- 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 +1 -1
- 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 +3 -8
- 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 +1 -1
- package/dist/esm/ptc-sticky-section.entry.js +1 -1
- package/dist/esm/ptc-sticky-title.entry.js +1 -1
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +1 -1
- package/dist/esm/ptc-svg-btn.entry.js +1 -1
- package/dist/esm/ptc-tab-list.entry.js +1 -1
- package/dist/esm/ptc-tab.entry.js +1 -1
- package/dist/esm/ptc-tabs.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
- package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
- package/dist/esm/ptc-tooltip-v2.entry.js +2 -2
- package/dist/esm/ptc-tooltip-v3.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 +8 -2
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle-example.entry.js +1 -1
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/esm/{utils-63eab4bd.js → utils-b7c6422e.js} +1 -9
- package/dist/esm/validation-messages-adbb6518.js +124 -0
- package/dist/ptcw-design/media/designer-v6.0.6.svg +2 -30
- package/dist/ptcw-design/{p-bb902570.entry.js → p-0151c2ee.entry.js} +1 -1
- package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
- package/dist/ptcw-design/p-03e0fa1d.entry.js +1 -0
- package/dist/ptcw-design/{p-48c33817.entry.js → p-0596f764.entry.js} +1 -1
- package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
- package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
- package/dist/ptcw-design/{p-71360e29.entry.js → p-0b182300.entry.js} +1 -1
- package/dist/ptcw-design/{p-69686408.entry.js → p-0eb9ea11.entry.js} +1 -1
- package/dist/ptcw-design/{p-fb8584e4.entry.js → p-0ed4609e.entry.js} +1 -1
- package/dist/ptcw-design/p-11eb4dd1.entry.js +1 -0
- package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
- package/dist/ptcw-design/{p-2657df50.entry.js → p-132f71c3.entry.js} +1 -1
- package/dist/ptcw-design/{p-99b45d23.entry.js → p-139ca5d2.entry.js} +1 -1
- package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
- package/dist/ptcw-design/{p-7d29a418.entry.js → p-183ba1ca.entry.js} +1 -1
- package/dist/ptcw-design/p-18a5a338.js +1 -0
- package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
- package/dist/ptcw-design/{p-464d8e22.entry.js → p-1d48bad3.entry.js} +1 -1
- package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
- package/dist/ptcw-design/{p-6b32020a.entry.js → p-1ec32cbc.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf8fbba7.entry.js → p-208ec7f3.entry.js} +1 -1
- package/dist/ptcw-design/p-212cdacd.entry.js +1 -0
- package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
- package/dist/ptcw-design/p-26c1f6a3.entry.js +1 -0
- package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
- package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
- package/dist/ptcw-design/p-29ae44dd.entry.js +1 -0
- package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
- package/dist/ptcw-design/p-2aa419ae.entry.js +1 -0
- package/dist/ptcw-design/p-2ead689e.entry.js +1 -0
- package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
- package/dist/ptcw-design/p-36b5cea1.entry.js +1 -0
- package/dist/ptcw-design/p-36c42aae.entry.js +1 -0
- package/dist/ptcw-design/p-36cb30ee.js +1 -0
- package/dist/ptcw-design/p-3717a6e1.entry.js +1 -0
- package/dist/ptcw-design/{p-dc8c0a06.entry.js → p-37899461.entry.js} +1 -1
- package/dist/ptcw-design/p-379fcc72.entry.js +1 -0
- package/dist/ptcw-design/{p-01075feb.entry.js → p-39ec04d4.entry.js} +1 -1
- package/dist/ptcw-design/{p-867a808f.entry.js → p-3b6c2a79.entry.js} +1 -1
- package/dist/ptcw-design/{p-f61a3476.entry.js → p-3b967df1.entry.js} +1 -1
- package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
- package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
- package/dist/ptcw-design/p-3df53e71.entry.js +1 -0
- package/dist/ptcw-design/p-3e06f959.entry.js +1 -0
- package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
- package/dist/ptcw-design/{p-fe907670.entry.js → p-4335d7f3.entry.js} +1 -1
- package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
- package/dist/ptcw-design/{p-e577ad62.entry.js → p-4464123f.entry.js} +1 -1
- package/dist/ptcw-design/p-4819422a.entry.js +1 -0
- package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
- package/dist/ptcw-design/{p-49e54079.entry.js → p-4f959e8f.entry.js} +1 -1
- package/dist/ptcw-design/p-520542e2.entry.js +1 -0
- package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
- package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
- package/dist/ptcw-design/{p-fec1acdf.entry.js → p-5b0bc600.entry.js} +1 -1
- package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
- package/dist/ptcw-design/{p-821f0ff9.entry.js → p-5db96118.entry.js} +1 -1
- package/dist/ptcw-design/{p-61d28206.entry.js → p-5fb671ee.entry.js} +1 -1
- package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
- package/dist/ptcw-design/p-640d07b5.entry.js +1 -0
- package/dist/ptcw-design/p-6b4c37a1.entry.js +1 -0
- package/dist/ptcw-design/{p-9de963f8.entry.js → p-6d628113.entry.js} +1 -1
- package/dist/ptcw-design/p-6f9b7842.entry.js +1 -0
- package/dist/ptcw-design/{p-f4699d4e.entry.js → p-70a5f144.entry.js} +1 -1
- package/dist/ptcw-design/{p-ea7369e9.entry.js → p-7267b11d.entry.js} +1 -1
- package/dist/ptcw-design/p-72681e91.entry.js +1 -0
- package/dist/ptcw-design/{p-04aae3f5.entry.js → p-74a845fd.entry.js} +1 -1
- package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
- package/dist/ptcw-design/{p-8038bf31.entry.js → p-779c3f21.entry.js} +1 -1
- package/dist/ptcw-design/{p-282b7d4e.entry.js → p-78252282.entry.js} +1 -1
- package/dist/ptcw-design/{p-28371371.entry.js → p-7853f1b5.entry.js} +1 -1
- package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
- package/dist/ptcw-design/p-7c416916.entry.js +1 -0
- package/dist/ptcw-design/{p-4b192f5e.entry.js → p-7e19be10.entry.js} +1 -1
- package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-7cc9255e.entry.js → p-7fada7ae.entry.js} +1 -1
- package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
- package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
- package/dist/ptcw-design/p-841b807d.js +1 -0
- package/dist/ptcw-design/{p-48815ee0.entry.js → p-88379d69.entry.js} +1 -1
- package/dist/ptcw-design/p-899a1931.entry.js +1 -0
- package/dist/ptcw-design/p-8b60ff7c.entry.js +1 -0
- package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
- package/dist/ptcw-design/{p-7b71abaf.entry.js → p-94c59fac.entry.js} +1 -1
- package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
- package/dist/ptcw-design/{p-40b8c884.entry.js → p-986be938.entry.js} +1 -1
- package/dist/ptcw-design/p-99e41dc4.entry.js +1 -0
- package/dist/ptcw-design/{p-bfacfe67.entry.js → p-9a28ded2.entry.js} +1 -1
- package/dist/ptcw-design/p-9ae901e2.entry.js +1 -0
- package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
- package/dist/ptcw-design/{p-e9f12e0d.entry.js → p-9db0897a.entry.js} +1 -1
- package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
- package/dist/ptcw-design/{p-77cad16c.entry.js → p-9fa81b74.entry.js} +1 -1
- package/dist/ptcw-design/p-a14ef9c4.entry.js +1 -0
- package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
- package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
- package/dist/ptcw-design/p-a2e0ebdf.entry.js +1 -0
- package/dist/ptcw-design/{p-8191928d.entry.js → p-a974f98f.entry.js} +1 -1
- package/dist/ptcw-design/{p-d20cf3c5.entry.js → p-aaf8fb04.entry.js} +1 -1
- package/dist/ptcw-design/p-ac32267c.entry.js +1 -0
- package/dist/ptcw-design/{p-a25578e9.entry.js → p-ac78409e.entry.js} +1 -1
- package/dist/ptcw-design/p-ac860994.entry.js +1 -0
- package/dist/ptcw-design/{p-d2825140.entry.js → p-ace3e87f.entry.js} +1 -1
- package/dist/ptcw-design/p-ad4f4f33.entry.js +1 -0
- package/dist/ptcw-design/{p-eec2f3da.entry.js → p-ade21638.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
- package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
- package/dist/ptcw-design/{p-0e5932f0.entry.js → p-b3b63f67.entry.js} +1 -1
- package/dist/ptcw-design/{p-85c29073.entry.js → p-b5d0e4a2.entry.js} +1 -1
- package/dist/ptcw-design/{p-a7cb3851.entry.js → p-be00fb74.entry.js} +1 -1
- package/dist/ptcw-design/p-be533f0d.js +134 -0
- package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
- package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
- package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
- package/dist/ptcw-design/p-c1513c3f.js +203 -0
- package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
- package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
- package/dist/ptcw-design/{p-97b9f41b.entry.js → p-c5886b7b.entry.js} +1 -1
- package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
- package/dist/ptcw-design/p-c9c0c5b0.entry.js +1 -0
- package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
- package/dist/ptcw-design/p-cc62e907.entry.js +1 -0
- package/dist/ptcw-design/p-ccead907.entry.js +1 -0
- package/dist/ptcw-design/p-ce6349f1.entry.js +1 -0
- package/dist/ptcw-design/{p-1a6759a4.entry.js → p-d113403b.entry.js} +1 -1
- package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
- package/dist/ptcw-design/{p-6f5fecae.entry.js → p-d2ed7e48.entry.js} +1 -1
- package/dist/ptcw-design/{p-2749c178.entry.js → p-d574d14a.entry.js} +1 -1
- package/dist/ptcw-design/{p-0ee01112.entry.js → p-d5fbe774.entry.js} +1 -1
- package/dist/ptcw-design/{p-a54c6da5.entry.js → p-dabb1b70.entry.js} +1 -1
- package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
- package/dist/ptcw-design/p-dd10fc1f.entry.js +1 -0
- package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
- package/dist/ptcw-design/p-dd978236.entry.js +1 -0
- package/dist/ptcw-design/{p-d7275289.entry.js → p-e1242dd4.entry.js} +1 -1
- package/dist/ptcw-design/{p-a37c5209.entry.js → p-e2e33ddb.entry.js} +1 -1
- package/dist/ptcw-design/p-e48bf1ce.entry.js +68 -0
- package/dist/ptcw-design/p-e4c56952.entry.js +1 -0
- package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
- package/dist/ptcw-design/{p-89177041.entry.js → p-e75dff95.entry.js} +1 -1
- package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
- package/dist/ptcw-design/{p-0a9ee6c2.entry.js → p-e8b51e7d.entry.js} +1 -1
- package/dist/ptcw-design/p-e9987674.entry.js +1 -0
- package/dist/ptcw-design/{p-6a3caf2b.entry.js → p-ea8e0b2e.entry.js} +1 -1
- package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
- package/dist/ptcw-design/{p-27a4ee73.entry.js → p-eef5d58b.entry.js} +1 -1
- package/dist/ptcw-design/{p-071a6109.entry.js → p-ef0079b0.entry.js} +1 -1
- package/dist/ptcw-design/{p-da02913d.entry.js → p-f05be87f.entry.js} +1 -1
- package/dist/ptcw-design/{p-f5c97ab2.entry.js → p-f2006b03.entry.js} +1 -1
- package/dist/ptcw-design/p-f5dd551a.entry.js +1 -0
- package/dist/ptcw-design/p-f6c3ae79.entry.js +1 -0
- package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
- package/dist/ptcw-design/{p-28be539b.entry.js → p-f7ff8ee1.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/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +11 -0
- package/dist/types/components/ptc-button/ptc-button.d.ts +0 -1
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +3 -1
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +1 -1
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +1 -1
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +2 -3
- package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +0 -6
- package/dist/types/components/ptc-link/ptc-link.d.ts +0 -1
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -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 +0 -2
- package/dist/types/components/ptc-social-icons-footer/ptc-social-icons-footer.d.ts +0 -5
- package/dist/types/components.d.ts +31 -45
- package/dist/types/utils/utils.d.ts +0 -1
- package/package.json +1 -1
- package/readme.md +1 -5
- package/dist/cjs/icon-asset.cjs.entry.js +0 -65
- package/dist/cjs/interfaces-574e6df7.js +0 -15
- package/dist/cjs/list-item.cjs.entry.js +0 -48
- package/dist/cjs/max-width-container.cjs.entry.js +0 -54
- package/dist/cjs/modal-form-example.cjs.entry.js +0 -94
- package/dist/cjs/ptc-background-video.cjs.entry.js +0 -102
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -47
- package/dist/cjs/ptc-button.cjs.entry.js +0 -87
- package/dist/cjs/ptc-img.cjs.entry.js +0 -133
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +0 -151
- package/dist/cjs/ptc-para.cjs.entry.js +0 -127
- package/dist/cjs/ptc-picture.cjs.entry.js +0 -163
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/cjs/ptc-title.cjs.entry.js +0 -152
- package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
- 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.entry.js +0 -61
- package/dist/esm/interfaces-4caedd26.js +0 -12
- package/dist/esm/list-item.entry.js +0 -44
- package/dist/esm/max-width-container.entry.js +0 -50
- package/dist/esm/modal-form-example.entry.js +0 -90
- package/dist/esm/ptc-background-video.entry.js +0 -98
- package/dist/esm/ptc-breadcrumb.entry.js +0 -43
- package/dist/esm/ptc-button.entry.js +0 -83
- package/dist/esm/ptc-img.entry.js +0 -129
- package/dist/esm/ptc-jumbotron.entry.js +0 -147
- package/dist/esm/ptc-para.entry.js +0 -123
- package/dist/esm/ptc-picture.entry.js +0 -159
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/esm/ptc-title.entry.js +0 -148
- package/dist/esm/ptc-tooltip.entry.js +0 -103
- package/dist/ptcw-design/p-0a214a22.entry.js +0 -1
- package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
- package/dist/ptcw-design/p-0d806031.entry.js +0 -1
- package/dist/ptcw-design/p-0d992cda.entry.js +0 -68
- package/dist/ptcw-design/p-1070f8a3.entry.js +0 -1
- package/dist/ptcw-design/p-122c54b0.entry.js +0 -1
- package/dist/ptcw-design/p-158f6d50.entry.js +0 -1
- package/dist/ptcw-design/p-17f6e145.entry.js +0 -1
- package/dist/ptcw-design/p-257deac0.entry.js +0 -1
- package/dist/ptcw-design/p-25a25451.entry.js +0 -1
- package/dist/ptcw-design/p-260ecfef.entry.js +0 -1
- package/dist/ptcw-design/p-29240ef8.entry.js +0 -1
- package/dist/ptcw-design/p-2ac5ed9c.entry.js +0 -1
- package/dist/ptcw-design/p-34c50b3e.entry.js +0 -1
- package/dist/ptcw-design/p-3738a01f.entry.js +0 -1
- package/dist/ptcw-design/p-4cee12b8.entry.js +0 -1
- package/dist/ptcw-design/p-4ee98a3e.entry.js +0 -1
- package/dist/ptcw-design/p-50d68602.entry.js +0 -1
- package/dist/ptcw-design/p-5ef23b5c.entry.js +0 -1
- package/dist/ptcw-design/p-627103d8.entry.js +0 -1
- package/dist/ptcw-design/p-711bcdad.js +0 -1
- package/dist/ptcw-design/p-72df6678.entry.js +0 -1
- package/dist/ptcw-design/p-7793babb.entry.js +0 -1
- package/dist/ptcw-design/p-77b1221e.js +0 -1
- package/dist/ptcw-design/p-799afee5.entry.js +0 -1
- package/dist/ptcw-design/p-8c692bd6.entry.js +0 -1
- package/dist/ptcw-design/p-8e297cd7.entry.js +0 -1
- package/dist/ptcw-design/p-90c4f08b.entry.js +0 -1
- package/dist/ptcw-design/p-92d22c78.entry.js +0 -1
- package/dist/ptcw-design/p-94b52339.entry.js +0 -1
- package/dist/ptcw-design/p-95187918.entry.js +0 -1
- package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
- package/dist/ptcw-design/p-99daf693.entry.js +0 -1
- package/dist/ptcw-design/p-9a6bd91f.entry.js +0 -1
- package/dist/ptcw-design/p-9d3a7f36.entry.js +0 -1
- package/dist/ptcw-design/p-9e9ae28c.entry.js +0 -1
- package/dist/ptcw-design/p-a3b57ede.entry.js +0 -1
- package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
- package/dist/ptcw-design/p-b1ebac6f.entry.js +0 -1
- package/dist/ptcw-design/p-b3bbd17d.entry.js +0 -1
- package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
- package/dist/ptcw-design/p-b8ee8699.entry.js +0 -1
- package/dist/ptcw-design/p-ba8c58a7.entry.js +0 -1
- package/dist/ptcw-design/p-bcab66bf.js +0 -336
- package/dist/ptcw-design/p-bf18b622.entry.js +0 -1
- package/dist/ptcw-design/p-c01ea76f.entry.js +0 -1
- package/dist/ptcw-design/p-cbee4653.entry.js +0 -1
- package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
- package/dist/ptcw-design/p-d2e26642.entry.js +0 -1
- package/dist/ptcw-design/p-d3229458.entry.js +0 -1
- package/dist/ptcw-design/p-d756db27.entry.js +0 -1
- package/dist/ptcw-design/p-de960790.entry.js +0 -1
- package/dist/ptcw-design/p-e89ce54f.entry.js +0 -1
- package/dist/ptcw-design/p-f8512dc9.entry.js +0 -1
- package/dist/ptcw-design/p-fd394e84.entry.js +0 -1
- package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
|
@@ -46,6 +46,9 @@ export namespace Components {
|
|
|
46
46
|
"cards": { title: string; description: string; panelContent: string; cardBg: string }[];
|
|
47
47
|
"modalBtnCloseText": string;
|
|
48
48
|
}
|
|
49
|
+
interface EventPodcastSliderExample {
|
|
50
|
+
"sliderType": 'homepage-case-study-cards' | 'event-slider-cards';
|
|
51
|
+
}
|
|
49
52
|
interface FeaturedEventsSliderExample {
|
|
50
53
|
}
|
|
51
54
|
interface FeaturedList {
|
|
@@ -170,8 +173,6 @@ export namespace Components {
|
|
|
170
173
|
*/
|
|
171
174
|
"styles"?: string;
|
|
172
175
|
}
|
|
173
|
-
interface ModalFormExample {
|
|
174
|
-
}
|
|
175
176
|
interface MostPopularNews {
|
|
176
177
|
"topTitle": string;
|
|
177
178
|
}
|
|
@@ -567,7 +568,9 @@ export namespace Components {
|
|
|
567
568
|
"trackerId": string;
|
|
568
569
|
}
|
|
569
570
|
interface PtcCardBottom {
|
|
570
|
-
"
|
|
571
|
+
"addClassOnDefaultSlot": () => Promise<void>;
|
|
572
|
+
"cardType": 'card-video' | 'card-tall' | 'card-2up' | 'card-wide' | 'card-playlist' | 'extra-tall' | 'color-outlined'| 'most-popular'| 'event-podcast';
|
|
573
|
+
"removeClassOnDefaultSlot": () => Promise<void>;
|
|
571
574
|
/**
|
|
572
575
|
* (optional) Injected CSS styles
|
|
573
576
|
*/
|
|
@@ -585,7 +588,8 @@ export namespace Components {
|
|
|
585
588
|
| 'extra-tall'
|
|
586
589
|
| 'color-outlined'
|
|
587
590
|
| 'thumbnail-video-preview'
|
|
588
|
-
| 'event-jumbotron-sub-card'
|
|
591
|
+
| 'event-jumbotron-sub-card'
|
|
592
|
+
| 'event-podcast';
|
|
589
593
|
"isLoading"?: boolean;
|
|
590
594
|
"outlineColor"?: 'o-red' | 'o-orange' | 'o-blue' | 'o-slate-grey' | 'o-green';
|
|
591
595
|
"removeInlineHeight": () => Promise<void>;
|
|
@@ -614,7 +618,8 @@ export namespace Components {
|
|
|
614
618
|
| 'color-outlined'
|
|
615
619
|
| 'result-box'
|
|
616
620
|
| 'most-popular'
|
|
617
|
-
| 'simple-card'
|
|
621
|
+
| 'simple-card'
|
|
622
|
+
| 'event-podcast';
|
|
618
623
|
/**
|
|
619
624
|
* darkFocusState for dark background
|
|
620
625
|
*/
|
|
@@ -664,10 +669,8 @@ export namespace Components {
|
|
|
664
669
|
"addSelectedItem": (value: string) => Promise<void>;
|
|
665
670
|
"allowMultiSelect": boolean;
|
|
666
671
|
"debounceUpdateDelay": 500;
|
|
667
|
-
"expandFirstItem": boolean;
|
|
668
672
|
"header": string;
|
|
669
673
|
"listItems"?: Object;
|
|
670
|
-
"listOpened": boolean;
|
|
671
674
|
"placeholderText": string;
|
|
672
675
|
"removeSelectedItem": (value: string) => Promise<void>;
|
|
673
676
|
"showSearchBar": boolean;
|
|
@@ -911,10 +914,6 @@ export namespace Components {
|
|
|
911
914
|
}
|
|
912
915
|
interface PtcIconCard {
|
|
913
916
|
"cardHref": string;
|
|
914
|
-
/**
|
|
915
|
-
* Add dark-focus-state property where button is present on dark backgrounds
|
|
916
|
-
*/
|
|
917
|
-
"darkFocusState": boolean;
|
|
918
917
|
"target": string;
|
|
919
918
|
"trackerId"?: string;
|
|
920
919
|
}
|
|
@@ -1277,7 +1276,7 @@ export namespace Components {
|
|
|
1277
1276
|
/**
|
|
1278
1277
|
* Sets if popup should close if click on outside
|
|
1279
1278
|
*/
|
|
1280
|
-
"size"?: 'sm' | 'md' | 'lg' | 'xl' | '
|
|
1279
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl' | 'max'| 'sm-modal';
|
|
1281
1280
|
/**
|
|
1282
1281
|
* (optional) Injected CSS Styles
|
|
1283
1282
|
*/
|
|
@@ -1536,7 +1535,7 @@ export namespace Components {
|
|
|
1536
1535
|
/**
|
|
1537
1536
|
* Paragraph Color
|
|
1538
1537
|
*/
|
|
1539
|
-
"paraColor": 'primary-grey' | '
|
|
1538
|
+
"paraColor": 'primary-grey' | 'white' | 'gray-darker';
|
|
1540
1539
|
/**
|
|
1541
1540
|
* line height
|
|
1542
1541
|
*/
|
|
@@ -1700,7 +1699,6 @@ export namespace Components {
|
|
|
1700
1699
|
*/
|
|
1701
1700
|
"styles"?: string;
|
|
1702
1701
|
"text": string | undefined;
|
|
1703
|
-
"theme": 'standard' | 'light';
|
|
1704
1702
|
}
|
|
1705
1703
|
interface PtcPricingAddOnCard {
|
|
1706
1704
|
/**
|
|
@@ -2206,10 +2204,6 @@ export namespace Components {
|
|
|
2206
2204
|
"xUrl": string;
|
|
2207
2205
|
}
|
|
2208
2206
|
interface PtcSocialIconsFooter {
|
|
2209
|
-
/**
|
|
2210
|
-
* Add dark-focus-state property where button is present on dark backgrounds
|
|
2211
|
-
*/
|
|
2212
|
-
"darkFocusState": boolean;
|
|
2213
2207
|
"facebookImageAlt": string;
|
|
2214
2208
|
"facebookImageUrl": string;
|
|
2215
2209
|
"facebookUrl": string;
|
|
@@ -2993,6 +2987,12 @@ declare global {
|
|
|
2993
2987
|
prototype: HTMLEventJumbotronExampleElement;
|
|
2994
2988
|
new (): HTMLEventJumbotronExampleElement;
|
|
2995
2989
|
};
|
|
2990
|
+
interface HTMLEventPodcastSliderExampleElement extends Components.EventPodcastSliderExample, HTMLStencilElement {
|
|
2991
|
+
}
|
|
2992
|
+
var HTMLEventPodcastSliderExampleElement: {
|
|
2993
|
+
prototype: HTMLEventPodcastSliderExampleElement;
|
|
2994
|
+
new (): HTMLEventPodcastSliderExampleElement;
|
|
2995
|
+
};
|
|
2996
2996
|
interface HTMLFeaturedEventsSliderExampleElement extends Components.FeaturedEventsSliderExample, HTMLStencilElement {
|
|
2997
2997
|
}
|
|
2998
2998
|
var HTMLFeaturedEventsSliderExampleElement: {
|
|
@@ -3083,12 +3083,6 @@ declare global {
|
|
|
3083
3083
|
prototype: HTMLMaxWidthContainerElement;
|
|
3084
3084
|
new (): HTMLMaxWidthContainerElement;
|
|
3085
3085
|
};
|
|
3086
|
-
interface HTMLModalFormExampleElement extends Components.ModalFormExample, HTMLStencilElement {
|
|
3087
|
-
}
|
|
3088
|
-
var HTMLModalFormExampleElement: {
|
|
3089
|
-
prototype: HTMLModalFormExampleElement;
|
|
3090
|
-
new (): HTMLModalFormExampleElement;
|
|
3091
|
-
};
|
|
3092
3086
|
interface HTMLMostPopularNewsElement extends Components.MostPopularNews, HTMLStencilElement {
|
|
3093
3087
|
}
|
|
3094
3088
|
var HTMLMostPopularNewsElement: {
|
|
@@ -3971,6 +3965,7 @@ declare global {
|
|
|
3971
3965
|
"dynamic-box-bundle": HTMLDynamicBoxBundleElement;
|
|
3972
3966
|
"embedded-form": HTMLEmbeddedFormElement;
|
|
3973
3967
|
"event-jumbotron-example": HTMLEventJumbotronExampleElement;
|
|
3968
|
+
"event-podcast-slider-example": HTMLEventPodcastSliderExampleElement;
|
|
3974
3969
|
"featured-events-slider-example": HTMLFeaturedEventsSliderExampleElement;
|
|
3975
3970
|
"featured-list": HTMLFeaturedListElement;
|
|
3976
3971
|
"fl-tab-content": HTMLFlTabContentElement;
|
|
@@ -3986,7 +3981,6 @@ declare global {
|
|
|
3986
3981
|
"jumbotron-sub-mune": HTMLJumbotronSubMuneElement;
|
|
3987
3982
|
"list-item": HTMLListItemElement;
|
|
3988
3983
|
"max-width-container": HTMLMaxWidthContainerElement;
|
|
3989
|
-
"modal-form-example": HTMLModalFormExampleElement;
|
|
3990
3984
|
"most-popular-news": HTMLMostPopularNewsElement;
|
|
3991
3985
|
"my-component": HTMLMyComponentElement;
|
|
3992
3986
|
"news-search-result": HTMLNewsSearchResultElement;
|
|
@@ -4174,6 +4168,9 @@ declare namespace LocalJSX {
|
|
|
4174
4168
|
"cards"?: { title: string; description: string; panelContent: string; cardBg: string }[];
|
|
4175
4169
|
"modalBtnCloseText"?: string;
|
|
4176
4170
|
}
|
|
4171
|
+
interface EventPodcastSliderExample {
|
|
4172
|
+
"sliderType"?: 'homepage-case-study-cards' | 'event-slider-cards';
|
|
4173
|
+
}
|
|
4177
4174
|
interface FeaturedEventsSliderExample {
|
|
4178
4175
|
}
|
|
4179
4176
|
interface FeaturedList {
|
|
@@ -4304,8 +4301,6 @@ declare namespace LocalJSX {
|
|
|
4304
4301
|
*/
|
|
4305
4302
|
"styles"?: string;
|
|
4306
4303
|
}
|
|
4307
|
-
interface ModalFormExample {
|
|
4308
|
-
}
|
|
4309
4304
|
interface MostPopularNews {
|
|
4310
4305
|
"topTitle"?: string;
|
|
4311
4306
|
}
|
|
@@ -4710,7 +4705,7 @@ declare namespace LocalJSX {
|
|
|
4710
4705
|
"trackerId"?: string;
|
|
4711
4706
|
}
|
|
4712
4707
|
interface PtcCardBottom {
|
|
4713
|
-
"cardType"?: 'card-video' | 'card-tall' | 'card-2up' | 'card-wide' | 'card-playlist' | 'extra-tall' | 'color-outlined'| 'most-popular';
|
|
4708
|
+
"cardType"?: 'card-video' | 'card-tall' | 'card-2up' | 'card-wide' | 'card-playlist' | 'extra-tall' | 'color-outlined'| 'most-popular'| 'event-podcast';
|
|
4714
4709
|
"onHoverEvent"?: (event: PtcCardBottomCustomEvent<void>) => void;
|
|
4715
4710
|
"onLeaveEvent"?: (event: PtcCardBottomCustomEvent<void>) => void;
|
|
4716
4711
|
/**
|
|
@@ -4730,7 +4725,8 @@ declare namespace LocalJSX {
|
|
|
4730
4725
|
| 'extra-tall'
|
|
4731
4726
|
| 'color-outlined'
|
|
4732
4727
|
| 'thumbnail-video-preview'
|
|
4733
|
-
| 'event-jumbotron-sub-card'
|
|
4728
|
+
| 'event-jumbotron-sub-card'
|
|
4729
|
+
| 'event-podcast';
|
|
4734
4730
|
"isLoading"?: boolean;
|
|
4735
4731
|
"onHoverEvent"?: (event: PtcCardContentCustomEvent<void>) => void;
|
|
4736
4732
|
"onLeaveEvent"?: (event: PtcCardContentCustomEvent<void>) => void;
|
|
@@ -4759,7 +4755,8 @@ declare namespace LocalJSX {
|
|
|
4759
4755
|
| 'color-outlined'
|
|
4760
4756
|
| 'result-box'
|
|
4761
4757
|
| 'most-popular'
|
|
4762
|
-
| 'simple-card'
|
|
4758
|
+
| 'simple-card'
|
|
4759
|
+
| 'event-podcast';
|
|
4763
4760
|
/**
|
|
4764
4761
|
* darkFocusState for dark background
|
|
4765
4762
|
*/
|
|
@@ -4812,10 +4809,8 @@ declare namespace LocalJSX {
|
|
|
4812
4809
|
interface PtcCollapseList {
|
|
4813
4810
|
"allowMultiSelect"?: boolean;
|
|
4814
4811
|
"debounceUpdateDelay"?: 500;
|
|
4815
|
-
"expandFirstItem"?: boolean;
|
|
4816
4812
|
"header"?: string;
|
|
4817
4813
|
"listItems"?: Object;
|
|
4818
|
-
"listOpened"?: boolean;
|
|
4819
4814
|
"onChanged"?: (event: PtcCollapseListCustomEvent<any>) => void;
|
|
4820
4815
|
"onInputUpdated"?: (event: PtcCollapseListCustomEvent<any>) => void;
|
|
4821
4816
|
"onItemExpanded"?: (event: PtcCollapseListCustomEvent<any>) => void;
|
|
@@ -5069,10 +5064,6 @@ declare namespace LocalJSX {
|
|
|
5069
5064
|
}
|
|
5070
5065
|
interface PtcIconCard {
|
|
5071
5066
|
"cardHref"?: string;
|
|
5072
|
-
/**
|
|
5073
|
-
* Add dark-focus-state property where button is present on dark backgrounds
|
|
5074
|
-
*/
|
|
5075
|
-
"darkFocusState"?: boolean;
|
|
5076
5067
|
"target"?: string;
|
|
5077
5068
|
"trackerId"?: string;
|
|
5078
5069
|
}
|
|
@@ -5441,7 +5432,7 @@ declare namespace LocalJSX {
|
|
|
5441
5432
|
/**
|
|
5442
5433
|
* Sets if popup should close if click on outside
|
|
5443
5434
|
*/
|
|
5444
|
-
"size"?: 'sm' | 'md' | 'lg' | 'xl' | '
|
|
5435
|
+
"size"?: 'sm' | 'md' | 'lg' | 'xl' | 'max'| 'sm-modal';
|
|
5445
5436
|
/**
|
|
5446
5437
|
* (optional) Injected CSS Styles
|
|
5447
5438
|
*/
|
|
@@ -5708,7 +5699,7 @@ declare namespace LocalJSX {
|
|
|
5708
5699
|
/**
|
|
5709
5700
|
* Paragraph Color
|
|
5710
5701
|
*/
|
|
5711
|
-
"paraColor"?: 'primary-grey' | '
|
|
5702
|
+
"paraColor"?: 'primary-grey' | 'white' | 'gray-darker';
|
|
5712
5703
|
/**
|
|
5713
5704
|
* line height
|
|
5714
5705
|
*/
|
|
@@ -5870,7 +5861,6 @@ declare namespace LocalJSX {
|
|
|
5870
5861
|
*/
|
|
5871
5862
|
"styles"?: string;
|
|
5872
5863
|
"text"?: string | undefined;
|
|
5873
|
-
"theme"?: 'standard' | 'light';
|
|
5874
5864
|
}
|
|
5875
5865
|
interface PtcPricingAddOnCard {
|
|
5876
5866
|
/**
|
|
@@ -6398,10 +6388,6 @@ declare namespace LocalJSX {
|
|
|
6398
6388
|
"xUrl"?: string;
|
|
6399
6389
|
}
|
|
6400
6390
|
interface PtcSocialIconsFooter {
|
|
6401
|
-
/**
|
|
6402
|
-
* Add dark-focus-state property where button is present on dark backgrounds
|
|
6403
|
-
*/
|
|
6404
|
-
"darkFocusState"?: boolean;
|
|
6405
6391
|
"facebookImageAlt"?: string;
|
|
6406
6392
|
"facebookImageUrl"?: string;
|
|
6407
6393
|
"facebookUrl"?: string;
|
|
@@ -6936,6 +6922,7 @@ declare namespace LocalJSX {
|
|
|
6936
6922
|
"dynamic-box-bundle": DynamicBoxBundle;
|
|
6937
6923
|
"embedded-form": EmbeddedForm;
|
|
6938
6924
|
"event-jumbotron-example": EventJumbotronExample;
|
|
6925
|
+
"event-podcast-slider-example": EventPodcastSliderExample;
|
|
6939
6926
|
"featured-events-slider-example": FeaturedEventsSliderExample;
|
|
6940
6927
|
"featured-list": FeaturedList;
|
|
6941
6928
|
"fl-tab-content": FlTabContent;
|
|
@@ -6951,7 +6938,6 @@ declare namespace LocalJSX {
|
|
|
6951
6938
|
"jumbotron-sub-mune": JumbotronSubMune;
|
|
6952
6939
|
"list-item": ListItem;
|
|
6953
6940
|
"max-width-container": MaxWidthContainer;
|
|
6954
|
-
"modal-form-example": ModalFormExample;
|
|
6955
6941
|
"most-popular-news": MostPopularNews;
|
|
6956
6942
|
"my-component": MyComponent;
|
|
6957
6943
|
"news-search-result": NewsSearchResult;
|
|
@@ -7114,6 +7100,7 @@ declare module "@stencil/core" {
|
|
|
7114
7100
|
"dynamic-box-bundle": LocalJSX.DynamicBoxBundle & JSXBase.HTMLAttributes<HTMLDynamicBoxBundleElement>;
|
|
7115
7101
|
"embedded-form": LocalJSX.EmbeddedForm & JSXBase.HTMLAttributes<HTMLEmbeddedFormElement>;
|
|
7116
7102
|
"event-jumbotron-example": LocalJSX.EventJumbotronExample & JSXBase.HTMLAttributes<HTMLEventJumbotronExampleElement>;
|
|
7103
|
+
"event-podcast-slider-example": LocalJSX.EventPodcastSliderExample & JSXBase.HTMLAttributes<HTMLEventPodcastSliderExampleElement>;
|
|
7117
7104
|
"featured-events-slider-example": LocalJSX.FeaturedEventsSliderExample & JSXBase.HTMLAttributes<HTMLFeaturedEventsSliderExampleElement>;
|
|
7118
7105
|
"featured-list": LocalJSX.FeaturedList & JSXBase.HTMLAttributes<HTMLFeaturedListElement>;
|
|
7119
7106
|
"fl-tab-content": LocalJSX.FlTabContent & JSXBase.HTMLAttributes<HTMLFlTabContentElement>;
|
|
@@ -7129,7 +7116,6 @@ declare module "@stencil/core" {
|
|
|
7129
7116
|
"jumbotron-sub-mune": LocalJSX.JumbotronSubMune & JSXBase.HTMLAttributes<HTMLJumbotronSubMuneElement>;
|
|
7130
7117
|
"list-item": LocalJSX.ListItem & JSXBase.HTMLAttributes<HTMLListItemElement>;
|
|
7131
7118
|
"max-width-container": LocalJSX.MaxWidthContainer & JSXBase.HTMLAttributes<HTMLMaxWidthContainerElement>;
|
|
7132
|
-
"modal-form-example": LocalJSX.ModalFormExample & JSXBase.HTMLAttributes<HTMLModalFormExampleElement>;
|
|
7133
7119
|
"most-popular-news": LocalJSX.MostPopularNews & JSXBase.HTMLAttributes<HTMLMostPopularNewsElement>;
|
|
7134
7120
|
"my-component": LocalJSX.MyComponent & JSXBase.HTMLAttributes<HTMLMyComponentElement>;
|
|
7135
7121
|
"news-search-result": LocalJSX.NewsSearchResult & JSXBase.HTMLAttributes<HTMLNewsSearchResultElement>;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
# PTC Design 6.2.16
|
|
3
|
+
# PTC Design 6.2.16
|
|
4
4
|
|
|
5
5
|
The site is the place for documentation on PTC Design System
|
|
6
6
|
|
|
@@ -17,7 +17,3 @@ To build the site from the source, ensure you're using the most recent versions
|
|
|
17
17
|
- puppeteer 10.0.0
|
|
18
18
|
|
|
19
19
|
## License
|
|
20
|
-
|
|
21
|
-
## Release notes
|
|
22
|
-
|
|
23
|
-
TODO: figure out how to do release notes with npm
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{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}}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small) / 2);height:calc(var(--ptc-font-size-x-small) / 2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.primary-gray.sc-icon-asset{fill:var(--color-gray-10)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}svg[tabIndex=\"0\"].sc-icon-asset:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}";
|
|
8
|
-
|
|
9
|
-
const IconAsset = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.ready = index.createEvent(this, "ready", 7);
|
|
13
|
-
this.regularSprite = index.getAssetPath('./media/regular.svg');
|
|
14
|
-
this.solidSprite = index.getAssetPath('./media/solid.svg');
|
|
15
|
-
this.brandSprite = index.getAssetPath('./media/brands.svg');
|
|
16
|
-
this.ptcSprite = index.getAssetPath('./media/designer-v6.0.6.svg');
|
|
17
|
-
this.name = undefined;
|
|
18
|
-
this.size = 'xx-small';
|
|
19
|
-
this.type = 'regular';
|
|
20
|
-
this.spin = '';
|
|
21
|
-
this.pulse = '';
|
|
22
|
-
this.color = 'default';
|
|
23
|
-
this.isMobileSelect = undefined;
|
|
24
|
-
this.injectedStyle = undefined;
|
|
25
|
-
this.focusOn = false;
|
|
26
|
-
this.trackerId = "";
|
|
27
|
-
}
|
|
28
|
-
componentDidLoad() {
|
|
29
|
-
this.ready.emit({
|
|
30
|
-
'regular-icons': this.regularSprite,
|
|
31
|
-
'sold-icons': this.solidSprite,
|
|
32
|
-
'brand-icons': this.brandSprite,
|
|
33
|
-
'ptc-icons': this.ptcSprite
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
render() {
|
|
37
|
-
const classMap = this.getCssClassMap();
|
|
38
|
-
if (this.type == 'brands') {
|
|
39
|
-
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.brandSprite}#${this.name}` }))));
|
|
40
|
-
}
|
|
41
|
-
else if (this.type == 'solid') {
|
|
42
|
-
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.solidSprite}#${this.name}` }))));
|
|
43
|
-
}
|
|
44
|
-
else if (this.type == 'ptc') {
|
|
45
|
-
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap, "aria-hidden": this.isMobileSelect && "true", tabindex: this.focusOn ? 0 : -1, id: this.trackerId }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.regularSprite}#${this.name}` }))));
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
getCssClassMap() {
|
|
52
|
-
return {
|
|
53
|
-
[this.size]: true,
|
|
54
|
-
[this.spin]: true,
|
|
55
|
-
[this.pulse]: true,
|
|
56
|
-
[this.color]: true,
|
|
57
|
-
['ismobileselect']: this.isMobileSelect ? true : false,
|
|
58
|
-
['mf-listen']: this.trackerId !== "" ? true : false
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
static get assetsDirs() { return ["media"]; }
|
|
62
|
-
};
|
|
63
|
-
IconAsset.style = iconAssetCss;
|
|
64
|
-
|
|
65
|
-
exports.icon_asset = IconAsset;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
let ResponsiveBgVariables = {
|
|
4
|
-
envs: ['xs', 'sm', 'md', 'lg'],
|
|
5
|
-
selector: '.ptc-img',
|
|
6
|
-
interval: 250
|
|
7
|
-
};
|
|
8
|
-
let ResponsivePictureVariables = {
|
|
9
|
-
envs: ['xs', 'sm', 'md', 'lg'],
|
|
10
|
-
selector: '.ptc-picture',
|
|
11
|
-
interval: 250
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
exports.ResponsiveBgVariables = ResponsiveBgVariables;
|
|
15
|
-
exports.ResponsivePictureVariables = ResponsivePictureVariables;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const listItemCss = "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(.list-primary){display:block}:host(.flush-before) li::before{content:\"\" !important}:host(.breadcrumb){display:inline-block}:host(.breadcrumb) li{position:relative;display:inline-block;color:var(--color-white);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);display:flex;align-items:baseline}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0;margin-left:2px}:host(.breadcrumb) li a.item-link{color:var(--color-white);font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}:host(.breadcrumb) li a.item-link:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);padding-bottom:5px;padding-right:5px}:host(.breadcrumb-center) li{display:inline}:host(.list-green){display:block;margin-bottom:16px}:host(.list-green) li a{font-size:var(--ptc-font-size-xx-small);color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:var(--color-green-04);font-weight:var(--ptc-font-weight-bold);transition:color var(--ptc-transition-medium) var(--ptc-ease-inout);line-height:var(--ptc-line-height-p);text-underline-offset:4px}:host(.list-green) li a:hover{color:var(--color-green-04)}:host(:not(.flush-before)) li::before{margin-right:2px}:host(.list-footer) li{display:inline-block;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-regular);font-style:normal;font-stretch:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;color:var(--color-white);margin:0 0.5rem}:host(.list-footer) li a{color:var(--color-white-grey);border-bottom:1px solid transparent;display:inline-block;text-decoration:none}:host(.list-footer) li a:hover,:host(.list-footer) li a:focus{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey);transition:border var(--ptc-ease-inout) var(--ptc-transition-medium)}:host(.list-footer) li a:active{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey)}:host(.list-footer) li a:focus{outline:3px solid var(--color-blue-07);outline-offset:2px;border-radius:var(--ptc-border-radius-standard);text-decoration:none;border-color:transparent !important}:host(.list-footer) li a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none !important;border-color:white !important}:host(.white) li{color:var(--color-white)}:host(.white) li a.item-link{color:var(--color-white)}:host(.light-gray) li{color:var(--color-gray-01)}:host(.light-gray) li a.item-link{color:var(--color-gray-01)}:host(.primary-gray) li{color:var(--color-gray-10)}:host(.primary-gray) li a.item-link{color:var(--color-gray-10)}:host(.list-underline) li{color:var(--color-gray-10);list-style:none;text-decoration:underline 1px solid;text-underline-offset:2px;line-height:var(--ptc-line-height-p)}:host(.list-underline) li a{display:inline-block;padding:4px 0}:host(.list-underline) li a.item-link{color:var(--color-gray-10)}:host li .has-before-home-icon{display:block}@media only screen and (min-width: 480px){:host li .has-before-home-icon{display:none}}";
|
|
8
|
-
|
|
9
|
-
const ListItem = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.listType = 'list-primary';
|
|
13
|
-
this.linkHref = undefined;
|
|
14
|
-
this.flushBefore = false;
|
|
15
|
-
this.linkTarget = '_self';
|
|
16
|
-
this.hasBeforeHomeIcon = false;
|
|
17
|
-
this.trackerId = undefined;
|
|
18
|
-
this.color = undefined;
|
|
19
|
-
this.styles = undefined;
|
|
20
|
-
this.ariaLabel = '';
|
|
21
|
-
}
|
|
22
|
-
render() {
|
|
23
|
-
const classMap = this.getCssClassMap();
|
|
24
|
-
return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("li", { id: this.trackerId }, this.linkHref ? (index.h("a", Object.assign({ class: "item-link", target: this.linkTarget }, (this.linkHref ? { href: this.linkHref } : {}), (this.ariaLabel !== '' ? { 'aria-label': this.ariaLabel } : {}), { tabindex: "0" }), index.h("slot", null))) : (index.h("slot", null)))));
|
|
25
|
-
}
|
|
26
|
-
getCssClassMap() {
|
|
27
|
-
let bcEnable = false;
|
|
28
|
-
if (this.hostElement && this.hostElement.parentElement) {
|
|
29
|
-
try {
|
|
30
|
-
bcEnable = (this.hostElement.parentElement.classList.contains('center') && this.hostElement.parentElement.tagName === 'PTC-BREADCRUMB');
|
|
31
|
-
}
|
|
32
|
-
catch (err) {
|
|
33
|
-
console.log(err);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
[this.listType]: true,
|
|
38
|
-
['flush-before']: this.flushBefore ? true : false,
|
|
39
|
-
[this.color]: !!this.color ? true : false,
|
|
40
|
-
['breadcrumb-center']: bcEnable,
|
|
41
|
-
['mf-listen']: true
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
get hostElement() { return index.getElement(this); }
|
|
45
|
-
};
|
|
46
|
-
ListItem.style = listItemCss;
|
|
47
|
-
|
|
48
|
-
exports.list_item = ListItem;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const maxWidthContainerCss = ":host{display:block}:host(.left){margin:auto auto auto 0}:host(.right){margin:auto 0 auto auto}:host(.center){margin:0 auto}";
|
|
8
|
-
|
|
9
|
-
const MaxWidthContainer = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.maxWidthP = undefined;
|
|
13
|
-
this.maxWidth = undefined;
|
|
14
|
-
this.breakpoint = 768;
|
|
15
|
-
this.contentAlign = 'center';
|
|
16
|
-
this.styles = undefined;
|
|
17
|
-
}
|
|
18
|
-
componentDidLoad() {
|
|
19
|
-
this.handleResize();
|
|
20
|
-
window.addEventListener('resize', this.handleResize.bind(this));
|
|
21
|
-
}
|
|
22
|
-
disconnectedCallback() {
|
|
23
|
-
window.removeEventListener('resize', this.handleResize);
|
|
24
|
-
}
|
|
25
|
-
render() {
|
|
26
|
-
const classMap = this.getCssClassMap();
|
|
27
|
-
return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("slot", null)));
|
|
28
|
-
}
|
|
29
|
-
getCssClassMap() {
|
|
30
|
-
return {
|
|
31
|
-
[this.contentAlign]: true,
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
handleResize() {
|
|
35
|
-
// const selectedContainer = this.el.querySelector('.max-width-container');
|
|
36
|
-
if (this.el) {
|
|
37
|
-
if (window.innerWidth >= this.breakpoint) {
|
|
38
|
-
if (this.maxWidthP) {
|
|
39
|
-
this.el.style.maxWidth = `${this.maxWidthP}%`;
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
this.el.style.maxWidth = `${this.maxWidth}px`;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
this.el.style.maxWidth = 'initial';
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
get el() { return index.getElement(this); }
|
|
51
|
-
};
|
|
52
|
-
MaxWidthContainer.style = maxWidthContainerCss;
|
|
53
|
-
|
|
54
|
-
exports.max_width_container = MaxWidthContainer;
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
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";
|
|
8
|
-
|
|
9
|
-
const PtcForm = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.formData = {
|
|
13
|
-
email: '',
|
|
14
|
-
firstName: '',
|
|
15
|
-
lastName: '',
|
|
16
|
-
company: '',
|
|
17
|
-
country: '',
|
|
18
|
-
phone: '',
|
|
19
|
-
inquiryReason: '',
|
|
20
|
-
howhearselfreport: '',
|
|
21
|
-
policyChecked: false,
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
// private countryEle: HTMLPtcSelectElement;
|
|
25
|
-
// private inquiryreasonEle: HTMLPtcTextfieldElement;
|
|
26
|
-
// private howhearselfreport: HTMLPtcTextfieldElement;
|
|
27
|
-
componentDidLoad() {
|
|
28
|
-
this.formButton = this.el.querySelector('.form-submit');
|
|
29
|
-
this.formButton.addEventListener('click', this.handleSubmit.bind(this));
|
|
30
|
-
//get Email
|
|
31
|
-
this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
|
|
32
|
-
this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
|
|
33
|
-
this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
|
|
34
|
-
this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
|
|
35
|
-
this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
|
|
36
|
-
// this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
|
|
37
|
-
// this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
|
|
38
|
-
// this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
|
|
39
|
-
}
|
|
40
|
-
handleInputChange(field, value) {
|
|
41
|
-
this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
|
|
42
|
-
}
|
|
43
|
-
handleSubmit(event) {
|
|
44
|
-
event.preventDefault();
|
|
45
|
-
this.formData.email = this.emailEle.inputValue;
|
|
46
|
-
this.formData.firstName = this.firstNameEle.inputValue;
|
|
47
|
-
this.formData.lastName = this.lastNameEle.inputValue;
|
|
48
|
-
this.formData.company = this.companyEle.inputValue;
|
|
49
|
-
this.formData.phone = this.phoneEle.inputValue;
|
|
50
|
-
// this.formData.country = this.countryEle.inputValue;
|
|
51
|
-
// this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
|
|
52
|
-
// this.formData.howhearselfreport = this.howhearselfreport.inputValue;
|
|
53
|
-
// console.log("get form Data: " + this.formData.email)
|
|
54
|
-
if (this.isValid()) {
|
|
55
|
-
const formSubmitEvent = new CustomEvent('formSubmit', {
|
|
56
|
-
detail: this.formData,
|
|
57
|
-
bubbles: true,
|
|
58
|
-
});
|
|
59
|
-
this.el.dispatchEvent(formSubmitEvent);
|
|
60
|
-
console.log('Form Submitted: ' + this.formData);
|
|
61
|
-
}
|
|
62
|
-
else {
|
|
63
|
-
console.log('Form validation failed');
|
|
64
|
-
console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
isValid() {
|
|
68
|
-
const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
|
|
69
|
-
const invalidLength = document.querySelectorAll('.invalid-field').length;
|
|
70
|
-
// console.log('invalid fields length: ' + invalidLength), check the select field
|
|
71
|
-
return (email !== '' &&
|
|
72
|
-
phone !== '' &&
|
|
73
|
-
firstName !== '' &&
|
|
74
|
-
lastName !== '' &&
|
|
75
|
-
company !== '' &&
|
|
76
|
-
country !== '' &&
|
|
77
|
-
inquiryReason !== '' &&
|
|
78
|
-
howhearselfreport != '' &&
|
|
79
|
-
policyChecked &&
|
|
80
|
-
invalidLength === 0);
|
|
81
|
-
}
|
|
82
|
-
render() {
|
|
83
|
-
const multiSelectItems = [
|
|
84
|
-
{ text: 'Item 1', selected: false, ptcDataEloquaName: 'item_1', ptcDataTargetEloquaName: 'item_target-1' },
|
|
85
|
-
{ text: 'Item 2', selected: false, ptcDataEloquaName: 'item_2', ptcDataTargetEloquaName: 'item_target-2' },
|
|
86
|
-
{ text: 'Item 3', selected: false, ptcDataEloquaName: 'item_3', ptcDataTargetEloquaName: 'item_target-3' }
|
|
87
|
-
];
|
|
88
|
-
return (index.h(index.Host, null, index.h("div", { class: "ptc-container u-flex u-flex-justify-center" }, index.h("div", { class: "form-wrapper" }, index.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" }, index.h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), index.h("ptc-spacer", { size: "x-small", breakpoint: "small" }), index.h("ptc-spacer", { size: "small", breakpoint: "x-small" }), index.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:"), index.h("ptc-spacer", { size: "x-small", breakpoint: "small" }), index.h("ptc-spacer", { size: "small", breakpoint: "x-small" }), index.h("max-width-container", { "max-width": "277", breakpoint: 480 }, index.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."), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" })), index.h("form", { onSubmit: event => this.handleSubmit(event) }, index.h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), index.h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), index.h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), index.h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), index.h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), index.h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Select a country")), index.h("li", { class: "mdc-list-item", "data-value": "USA" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "USA")), index.h("li", { class: "mdc-list-item", "data-value": "Canada" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Canada")), index.h("li", { class: "mdc-list-item", "data-value": "China" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "China")))), index.h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), index.h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, index.h("span", { class: "mdc-list-item__ripple" })), index.h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), index.h("li", { class: "mdc-list-item", "data-value": "CAD" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), index.h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), index.h("ptc-multi-select", { items: multiSelectItems, "is-required": 'true' }), index.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" }), index.h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), index.h("div", { class: "button-wrapper" }, index.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"), index.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")))))));
|
|
89
|
-
}
|
|
90
|
-
get el() { return index.getElement(this); }
|
|
91
|
-
};
|
|
92
|
-
PtcForm.style = modalFormExampleCss;
|
|
93
|
-
|
|
94
|
-
exports.modal_form_example = PtcForm;
|