@ptcwebops/ptcw-design 6.3.18 → 6.3.19-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/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-35540bfb.js → component-4dd13907.js} +2643 -832
- package/dist/cjs/embedded-form.cjs.entry.js +1 -1
- 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_8.cjs.entry.js +608 -0
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
- package/dist/cjs/list-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +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-back-to-top.cjs.entry.js +1 -16
- package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +5 -20
- 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 +17 -32
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-countdown.cjs.entry.js +16 -19
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +28 -27
- 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-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +788 -6
- 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-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/ptc-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +8 -1
- package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +3 -28
- 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 +2 -2
- package/dist/cjs/ptc-product-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-list.cjs.entry.js +1 -7
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +6 -38
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +32 -86
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +1 -1
- 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 +10 -6
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- package/dist/cjs/{utils-b63aef52.js → utils-ad441b07.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- 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.css +0 -1
- package/dist/collection/components/list-item/list-item.css +0 -4
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +1 -1
- 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/ptc-back-to-top/ptc-back-to-top.css +0 -4
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +0 -15
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -10
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +4 -19
- 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 +16 -19
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +1 -22
- package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +1 -1
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -6
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +0 -32
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +9 -2
- package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
- package/dist/collection/components/ptc-modal/ptc-modal.js +18 -50
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +0 -7
- package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +2 -78
- 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-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-pricing-tabs/ptc-pricing-tabs.js +1 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -10
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +1 -1
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +0 -8
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +1 -1
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +1 -7
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +0 -12
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +5 -37
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +2 -1
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +33 -88
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +19 -19
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +9 -5
- package/dist/collection/components/tab-header/tab-header.js +1 -1
- package/dist/collection/stories/BackgroundImage.stories.js +42 -20
- package/dist/collection/stories/Card.stories.js +148 -3
- package/dist/collection/stories/Link.stories.js +13 -25
- package/dist/collection/stories/MobileSelect.stories.js +21 -11
- package/dist/collection/stories/Paragraph.stories.js +10 -18
- package/dist/collection/stories/Select.stories.js +8 -5
- package/dist/collection/stories/Textfield.stories.js +28 -71
- package/dist/collection/stories/Title.stories.js +16 -28
- 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 -0
- package/dist/custom-elements/index.js +277 -333
- 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-8c53e377.js → component-9c921cc6.js} +2592 -793
- 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 +2 -2
- package/dist/esm/event-jumbotron-example.entry.js +1 -1
- package/dist/esm/event-podcast-slider-example.entry.js +1 -1
- package/dist/esm/featured-events-slider-example.entry.js +1 -1
- package/dist/esm/featured-list.entry.js +2 -2
- package/dist/esm/fl-tab-content_3.entry.js +1 -1
- package/dist/esm/footer-form.entry.js +1 -1
- package/dist/esm/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_8.entry.js +597 -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 +2 -2
- package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
- package/dist/esm/list-item.entry.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/modal-form-example.entry.js +90 -0
- package/dist/esm/most-popular-news.entry.js +2 -2
- 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 +2 -17
- package/dist/esm/ptc-background-video.entry.js +2 -2
- package/dist/esm/ptc-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +6 -21
- package/dist/esm/ptc-breadcrumb.entry.js +1 -1
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/ptc-card_2.entry.js +6 -11
- 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 +18 -33
- package/dist/esm/ptc-collapse-list.entry.js +2 -2
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-countdown.entry.js +17 -20
- package/dist/esm/ptc-data-lookup.entry.js +29 -28
- 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 +1 -1
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +786 -6
- 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-slider-example.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +2 -2
- package/dist/esm/ptc-icon-component.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-img.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-jumbotron.entry.js +2 -2
- package/dist/esm/ptc-link.entry.js +2 -2
- 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 +9 -2
- package/dist/esm/ptc-modal-quiz.entry.js +1 -1
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +1 -1
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-skip-to-content.entry.js +4 -29
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-nav-tile.entry.js +1 -1
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +1 -1
- package/dist/esm/ptc-office-locations.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-picture.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +2 -2
- package/dist/esm/ptc-preferance-center-form.entry.js +2 -2
- package/dist/esm/ptc-previous-url.entry.js +11 -3
- 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 +13 -11
- package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
- package/dist/esm/ptc-product-card.entry.js +3 -3
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +3 -3
- package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
- package/dist/esm/ptc-product-list.entry.js +2 -8
- package/dist/esm/ptc-product-sidebar.entry.js +7 -39
- 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 +33 -87
- 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 +2 -2
- package/dist/esm/ptc-social-icons.entry.js +1 -1
- package/dist/esm/ptc-spacer.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-tooltip.entry.js +1 -1
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptc-value-led-card.entry.js +1 -1
- package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +1 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +2 -2
- package/dist/esm/ptc-value-prop-card.entry.js +1 -1
- package/dist/esm/ptc-video-embed.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +11 -7
- 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/storefront-enhanced-product-list-example.entry.js +1 -1
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +2 -2
- package/dist/esm/{utils-2f12c081.js → utils-ff65c75b.js} +2 -2
- package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
- package/dist/ptcw-design/{p-36abe396.entry.js → p-0261e249.entry.js} +1 -1
- package/dist/ptcw-design/p-03804bb6.entry.js +1 -0
- package/dist/ptcw-design/p-051ba8f9.entry.js +1 -0
- package/dist/ptcw-design/{p-b8ee8699.entry.js → p-07b1afd5.entry.js} +1 -1
- package/dist/ptcw-design/p-094f5dec.entry.js +1 -0
- 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-e235bf27.entry.js → p-0bb3ea9a.entry.js} +1 -1
- package/dist/ptcw-design/{p-8cea8943.entry.js → p-0c862dbd.entry.js} +1 -1
- package/dist/ptcw-design/{p-76dab076.entry.js → p-0cd366c6.entry.js} +1 -1
- package/dist/ptcw-design/{p-dfb400ed.entry.js → p-0d2f10cf.entry.js} +1 -1
- package/dist/ptcw-design/{p-fb8584e4.entry.js → p-0ed4609e.entry.js} +1 -1
- package/dist/ptcw-design/p-10413689.entry.js +1 -0
- package/dist/ptcw-design/p-11eb4dd1.entry.js +1 -0
- package/dist/ptcw-design/{p-04ff81ef.entry.js → p-135191ce.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-8521fdd4.entry.js → p-1948b914.entry.js} +1 -1
- package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
- package/dist/ptcw-design/{p-99daf693.entry.js → p-1acd3617.entry.js} +1 -1
- package/dist/ptcw-design/{p-77cad16c.entry.js → p-1adea6a5.entry.js} +1 -1
- package/dist/ptcw-design/{p-d3ac3758.entry.js → p-1b2ff400.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-9dbcfcee.entry.js → p-20388467.entry.js} +1 -1
- package/dist/ptcw-design/p-208ca9de.entry.js +1 -0
- 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-7bdf1e64.entry.js → p-25dd15af.entry.js} +1 -1
- 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-7fe4d383.entry.js → p-29ae44dd.entry.js} +1 -1
- package/dist/ptcw-design/p-2a255901.entry.js +1 -0
- package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
- package/dist/ptcw-design/{p-a791c53a.entry.js → p-2b583ae1.entry.js} +1 -1
- package/dist/ptcw-design/{p-e5369c4d.entry.js → p-2fa28be9.entry.js} +1 -1
- package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
- package/dist/ptcw-design/p-31e03c00.entry.js +1 -0
- package/dist/ptcw-design/{p-a59c9cdc.entry.js → p-3411ac77.entry.js} +1 -1
- package/dist/ptcw-design/p-36c42aae.entry.js +1 -0
- package/dist/ptcw-design/p-3717a6e1.entry.js +1 -0
- package/dist/ptcw-design/{p-6e8ed2ee.entry.js → p-379fcc72.entry.js} +1 -1
- package/dist/ptcw-design/{p-d089dc37.entry.js → p-38a1425c.entry.js} +1 -1
- package/dist/ptcw-design/p-39255f59.entry.js +1 -0
- package/dist/ptcw-design/p-3ada2482.entry.js +1 -0
- package/dist/ptcw-design/{p-6aa9ed95.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-4702c233.entry.js → p-3c3d5474.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-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-f867ebe6.entry.js → p-44e72b9d.entry.js} +1 -1
- package/dist/ptcw-design/{p-89f0cf12.entry.js → p-472579ea.entry.js} +1 -1
- package/dist/ptcw-design/{p-18ac526f.entry.js → p-485cb0c8.entry.js} +1 -1
- package/dist/ptcw-design/p-4e2c2f75.entry.js +68 -0
- package/dist/ptcw-design/p-50582650.entry.js +1 -0
- package/dist/ptcw-design/p-52952358.entry.js +1 -0
- package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
- package/dist/ptcw-design/p-58d4b008.entry.js +1 -0
- package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.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-662a77f5.entry.js +1 -0
- package/dist/ptcw-design/p-6785dc81.entry.js +1 -0
- package/dist/ptcw-design/{p-d51438de.entry.js → p-6bd26096.entry.js} +1 -1
- package/dist/ptcw-design/{p-9de963f8.entry.js → p-6d628113.entry.js} +1 -1
- package/dist/ptcw-design/{p-9f194554.entry.js → p-6dc78042.entry.js} +1 -1
- package/dist/ptcw-design/{p-b209c116.entry.js → p-6f8858c3.entry.js} +1 -1
- package/dist/ptcw-design/p-72681e91.entry.js +1 -0
- package/dist/ptcw-design/{p-14b7693f.entry.js → p-73a41148.entry.js} +1 -1
- package/dist/ptcw-design/{p-04aae3f5.entry.js → p-74a845fd.entry.js} +1 -1
- package/dist/ptcw-design/{p-d74ccb19.entry.js → p-75d8b6ec.entry.js} +1 -1
- package/dist/ptcw-design/p-761f71c4.entry.js +1 -0
- package/dist/ptcw-design/p-7774b887.entry.js +1 -0
- package/dist/ptcw-design/p-779c3f21.entry.js +1 -0
- package/dist/ptcw-design/{p-282b7d4e.entry.js → p-78252282.entry.js} +1 -1
- package/dist/ptcw-design/{p-b436f56d.entry.js → p-79762cf6.entry.js} +1 -1
- package/dist/ptcw-design/p-7b75091d.entry.js +1 -0
- package/dist/ptcw-design/p-7e19be10.entry.js +1 -0
- 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-8872161f.js +1 -0
- package/dist/ptcw-design/{p-7a3e9ecd.entry.js → p-8a452c0b.entry.js} +1 -1
- package/dist/ptcw-design/{p-15e36f30.entry.js → p-8cdcfb51.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
- package/dist/ptcw-design/{p-761a31f8.entry.js → p-8ffdd794.entry.js} +1 -1
- package/dist/ptcw-design/p-921f8961.entry.js +1 -0
- package/dist/ptcw-design/{p-2aa19c11.entry.js → p-9292844e.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
- package/dist/ptcw-design/{p-e4eb925f.entry.js → p-96cc1268.entry.js} +1 -1
- package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
- package/dist/ptcw-design/p-99e41dc4.entry.js +1 -0
- package/dist/ptcw-design/{p-752bba1c.entry.js → p-9a1922ba.entry.js} +1 -1
- package/dist/ptcw-design/{p-bfacfe67.entry.js → p-9a28ded2.entry.js} +1 -1
- package/dist/ptcw-design/{p-b647f7a1.entry.js → p-9b60270e.entry.js} +1 -1
- package/dist/ptcw-design/p-9be9f585.entry.js +1 -0
- package/dist/ptcw-design/p-9cfb4f41.entry.js +1 -0
- package/dist/ptcw-design/p-9d32f1bc.entry.js +1 -0
- package/dist/ptcw-design/{p-4d8f6f46.entry.js → p-9d386f08.entry.js} +1 -1
- package/dist/ptcw-design/p-9d8a9a72.entry.js +1 -0
- package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f3dea53.entry.js → p-a1dc7ae5.entry.js} +1 -1
- package/dist/ptcw-design/p-a220ab2c.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-c8f68292.entry.js → p-a2f25add.entry.js} +1 -1
- package/dist/ptcw-design/p-a7e67938.entry.js +1 -0
- package/dist/ptcw-design/{p-8191928d.entry.js → p-a974f98f.entry.js} +1 -1
- package/dist/ptcw-design/{p-257267e3.entry.js → p-abdd3b8e.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
- package/dist/ptcw-design/{p-8e42a22d.entry.js → p-b1c1de30.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-8c121480.entry.js → p-b4ba719a.entry.js} +1 -1
- package/dist/ptcw-design/p-b789c2ee.entry.js +1 -0
- package/dist/ptcw-design/{p-560b05a5.entry.js → p-bca81995.entry.js} +1 -1
- package/dist/ptcw-design/p-bcab66bf.js +336 -0
- package/dist/ptcw-design/{p-a7cb3851.entry.js → p-be00fb74.entry.js} +1 -1
- package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
- package/dist/ptcw-design/p-bf7f25ce.entry.js +1 -0
- package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
- package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
- package/dist/ptcw-design/p-c5886b7b.entry.js +1 -0
- package/dist/ptcw-design/p-c73eb535.entry.js +1 -0
- package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
- package/dist/ptcw-design/{p-baeee2b4.entry.js → p-ca039722.entry.js} +1 -1
- package/dist/ptcw-design/{p-d66debb3.entry.js → p-ca5763d0.entry.js} +1 -1
- package/dist/ptcw-design/p-caac157f.entry.js +1 -0
- package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
- package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
- package/dist/ptcw-design/{p-9df7489b.entry.js → p-d4207d86.entry.js} +1 -1
- package/dist/ptcw-design/{p-52e17d34.entry.js → p-d871e7f7.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-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
- package/dist/ptcw-design/{p-a8504f11.entry.js → p-de663192.entry.js} +1 -1
- package/dist/ptcw-design/p-e11607e8.entry.js +1 -0
- package/dist/ptcw-design/{p-a37c5209.entry.js → p-e2e33ddb.entry.js} +1 -1
- 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-95187918.entry.js → p-e77d2204.entry.js} +1 -1
- package/dist/ptcw-design/p-e8122356.entry.js +1 -0
- 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-0c69ea52.entry.js → p-ec22d0b8.entry.js} +1 -1
- package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
- package/dist/ptcw-design/p-ed71521c.entry.js +1 -0
- package/dist/ptcw-design/p-ef55ab3c.entry.js +1 -0
- 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-e43c30c9.entry.js → p-f3db0dc6.entry.js} +1 -1
- package/dist/ptcw-design/{p-008307a6.entry.js → p-f69df077.entry.js} +1 -1
- package/dist/ptcw-design/p-f77c7c78.entry.js +1 -0
- package/dist/ptcw-design/{p-bab5bb88.entry.js → p-f88412e3.entry.js} +1 -1
- package/dist/ptcw-design/{p-e3b1af2b.entry.js → p-ffd5c822.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/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +1 -1
- package/dist/types/components/ptc-container/ptc-container.d.ts +1 -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 +2 -2
- package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +0 -6
- 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-product-list/ptc-product-list.d.ts +1 -1
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +3 -6
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +5 -9
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +0 -54
- package/dist/types/components.d.ts +23 -124
- package/package.json +2 -6
- package/readme.md +5 -1
- package/dist/cjs/component-1b8ad4d2.js +0 -1819
- package/dist/cjs/icon-asset.cjs.entry.js +0 -65
- package/dist/cjs/max-width-container.cjs.entry.js +0 -54
- package/dist/cjs/ptc-button.cjs.entry.js +0 -87
- package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +0 -66
- package/dist/cjs/ptc-icon-list.cjs.entry.js +0 -35
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
- package/dist/cjs/ptc-para.cjs.entry.js +0 -127
- package/dist/cjs/ptc-title.cjs.entry.js +0 -152
- 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/stories/Jumbotron.stories.js +0 -763
- package/dist/esm/component-9beac35b.js +0 -1802
- package/dist/esm/icon-asset.entry.js +0 -61
- package/dist/esm/max-width-container.entry.js +0 -50
- package/dist/esm/ptc-button.entry.js +0 -83
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +0 -62
- package/dist/esm/ptc-icon-list.entry.js +0 -31
- package/dist/esm/ptc-multi-select_2.entry.js +0 -665
- package/dist/esm/ptc-para.entry.js +0 -123
- package/dist/esm/ptc-title.entry.js +0 -148
- 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-05c29cc2.entry.js +0 -1
- package/dist/ptcw-design/p-077839d5.entry.js +0 -1
- package/dist/ptcw-design/p-092e50c9.entry.js +0 -1
- package/dist/ptcw-design/p-0a214a22.entry.js +0 -1
- package/dist/ptcw-design/p-13e338a5.entry.js +0 -1
- package/dist/ptcw-design/p-1454ba84.entry.js +0 -1
- package/dist/ptcw-design/p-18a5a338.js +0 -1
- package/dist/ptcw-design/p-1eb40265.entry.js +0 -1
- package/dist/ptcw-design/p-24776ca2.entry.js +0 -1
- package/dist/ptcw-design/p-260ecfef.entry.js +0 -1
- package/dist/ptcw-design/p-297a14cb.entry.js +0 -1
- package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
- package/dist/ptcw-design/p-38e5e590.entry.js +0 -1
- package/dist/ptcw-design/p-3ddb6c50.entry.js +0 -1
- package/dist/ptcw-design/p-3ed4a7ed.entry.js +0 -1
- package/dist/ptcw-design/p-45b1f3fc.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-4cee12b8.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-73a853fc.entry.js +0 -1
- package/dist/ptcw-design/p-75431fa1.entry.js +0 -1
- package/dist/ptcw-design/p-757954b2.entry.js +0 -1
- package/dist/ptcw-design/p-80122e26.js +0 -1
- package/dist/ptcw-design/p-901c31b3.entry.js +0 -1
- package/dist/ptcw-design/p-97eb1025.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-99355e65.entry.js +0 -1
- package/dist/ptcw-design/p-9d3a7f36.entry.js +0 -1
- package/dist/ptcw-design/p-a2c7df64.entry.js +0 -1
- package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
- package/dist/ptcw-design/p-a5fc048f.entry.js +0 -1
- package/dist/ptcw-design/p-a8872ce3.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-b7fa9f2c.entry.js +0 -1
- package/dist/ptcw-design/p-b963ec8c.entry.js +0 -68
- package/dist/ptcw-design/p-bb9a879f.entry.js +0 -1
- package/dist/ptcw-design/p-bf56d5a3.entry.js +0 -1
- package/dist/ptcw-design/p-bf84ecc0.entry.js +0 -1
- package/dist/ptcw-design/p-c89030e4.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-d2cc0297.entry.js +0 -1
- package/dist/ptcw-design/p-d6845e91.entry.js +0 -1
- package/dist/ptcw-design/p-db1dcce0.entry.js +0 -1
- package/dist/ptcw-design/p-ddb898c7.entry.js +0 -1
- package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
- package/dist/ptcw-design/p-fbd9c8fc.entry.js +0 -1
- package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
- package/dist/ptcw-design/p-fd87fcd5.entry.js +0 -1
|
@@ -4,122 +4,79 @@ export default {
|
|
|
4
4
|
title: 'Atoms/ptc-textfield',
|
|
5
5
|
tags: [ 'autodocs' ],
|
|
6
6
|
argTypes: {
|
|
7
|
-
alertText: {
|
|
8
|
-
control: 'text',
|
|
9
|
-
description: 'Alert text (blue)',
|
|
10
|
-
defaultValue: { summary: '' }
|
|
11
|
-
},
|
|
12
|
-
alertTextContent: {
|
|
13
|
-
control: 'text',
|
|
14
|
-
description: 'Alert text content - below alert text (grey)',
|
|
15
|
-
defaultValue: { summary: '' }
|
|
16
|
-
},
|
|
17
7
|
disabled: {
|
|
18
8
|
control: 'boolean',
|
|
19
|
-
description: '
|
|
9
|
+
description: '',
|
|
20
10
|
defaultValue: { summary: 'false' }
|
|
21
11
|
},
|
|
22
12
|
fieldId: {
|
|
23
13
|
control: 'text',
|
|
24
|
-
description: '
|
|
25
|
-
defaultValue: { summary: '' }
|
|
14
|
+
description: '',
|
|
15
|
+
defaultValue: { summary: 'undefined' }
|
|
26
16
|
},
|
|
27
|
-
|
|
17
|
+
helpertext: {
|
|
28
18
|
control: 'text',
|
|
29
|
-
description: '
|
|
30
|
-
defaultValue: { summary: '
|
|
31
|
-
},
|
|
32
|
-
helpertext: { control: 'text', description: 'Validation text (red)', defaultValue: { summary: '' } },
|
|
33
|
-
ignoreBlindSubmit: {
|
|
34
|
-
control: 'boolean',
|
|
35
|
-
description: 'Ignore Blind Submit?',
|
|
36
|
-
defaultValue: { summary: 'false' }
|
|
19
|
+
description: '',
|
|
20
|
+
defaultValue: { summary: 'Please enter a value' }
|
|
37
21
|
},
|
|
38
|
-
|
|
39
|
-
control: 'text',
|
|
40
|
-
description: 'Info Text (black)',
|
|
41
|
-
defaultValue: { summary: '' }
|
|
42
|
-
},
|
|
43
|
-
// inputValue: { control: 'text', description: '', defaultValue: { summary: '' } },
|
|
22
|
+
inputValue: { control: 'text', description: '', defaultValue: { summary: '' } },
|
|
44
23
|
labelText: {
|
|
45
24
|
control: 'text',
|
|
46
|
-
description: '
|
|
25
|
+
description: '',
|
|
47
26
|
defaultValue: { summary: 'Email' }
|
|
48
27
|
},
|
|
49
|
-
|
|
28
|
+
name: {
|
|
50
29
|
control: 'text',
|
|
51
|
-
description: '
|
|
52
|
-
defaultValue: { summary: '' }
|
|
30
|
+
description: '',
|
|
31
|
+
defaultValue: { summary: 'email' }
|
|
53
32
|
},
|
|
54
33
|
ptcDataEloquaName: {
|
|
55
34
|
control: 'text',
|
|
56
|
-
description: '
|
|
57
|
-
defaultValue: { summary: '' }
|
|
58
|
-
},
|
|
59
|
-
ptcDataTargetEloquaName: {
|
|
60
|
-
control: 'text',
|
|
61
|
-
description: 'Eloqua Target Data Name (for the eloqua)',
|
|
62
|
-
defaultValue: { summary: '' }
|
|
35
|
+
description: '',
|
|
36
|
+
defaultValue: { summary: 'undefined' }
|
|
63
37
|
},
|
|
64
38
|
ptcMaxLength: {
|
|
65
|
-
control: '
|
|
66
|
-
description: '
|
|
67
|
-
defaultValue: { summary: '' }
|
|
39
|
+
control: '',
|
|
40
|
+
description: '',
|
|
41
|
+
defaultValue: { summary: 'undefined' }
|
|
68
42
|
},
|
|
69
43
|
required: {
|
|
70
44
|
control: 'boolean',
|
|
71
|
-
description: '
|
|
45
|
+
description: '',
|
|
72
46
|
defaultValue: { summary: 'true' }
|
|
73
47
|
},
|
|
74
|
-
styles: {
|
|
75
|
-
control: 'text',
|
|
76
|
-
description: 'Inject styles for customization',
|
|
77
|
-
defaultValue: { summary: '' }
|
|
78
|
-
},
|
|
79
48
|
type: {
|
|
80
49
|
control: 'text',
|
|
81
|
-
description: '
|
|
50
|
+
description: 'button, email, file and etc. ',
|
|
82
51
|
defaultValue: { summary: 'text' }
|
|
83
52
|
}
|
|
84
53
|
}
|
|
85
54
|
};
|
|
86
55
|
|
|
87
56
|
const Template = args => { return html `<ptc-textfield
|
|
88
|
-
alert-text=${args.alertText}
|
|
89
|
-
alert-text-content=${args.alertTextContent}
|
|
90
57
|
disabled=${args.disabled}
|
|
91
58
|
field-id=${args.fieldId}
|
|
92
|
-
field-name=${args.fieldName}
|
|
93
59
|
helpertext=${args.helpertext}
|
|
94
|
-
|
|
95
|
-
info-text=${args.infoText}
|
|
60
|
+
input-value=${args.inputValue}
|
|
96
61
|
label-text=${args.labelText}
|
|
97
|
-
|
|
62
|
+
name=${args.name}
|
|
98
63
|
ptc-data-eloqua-name=${args.ptcDataEloquaName}
|
|
99
|
-
ptc-data-target-eloqua-name=${args.ptcDataTargetEloquaName}
|
|
100
64
|
ptc-max-length=${args.ptcMaxLength}
|
|
101
65
|
required=${args.required}
|
|
102
|
-
styles=${args.styles}
|
|
103
66
|
type=${args.type}
|
|
104
67
|
></ptc-textfield>`;}
|
|
105
68
|
|
|
106
69
|
export const Example = Template.bind({});
|
|
107
70
|
|
|
108
71
|
Example.args = {
|
|
109
|
-
alertText: 'Alert text',
|
|
110
|
-
alertTextContent: 'Alert text content',
|
|
111
72
|
disabled: 'false',
|
|
112
|
-
fieldId: '
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
ptcDataEloquaName: 'C_EmailAddress',
|
|
120
|
-
ptcDataTargetEloquaName: '',
|
|
121
|
-
ptcMaxLength: '',
|
|
73
|
+
fieldId: 'ptc-field-name',
|
|
74
|
+
helpertext: 'Please enter a value',
|
|
75
|
+
inputValue: '',
|
|
76
|
+
labelText: 'Email',
|
|
77
|
+
name: 'email',
|
|
78
|
+
ptcDataEloquaName: 'data-eloqua-name-value',
|
|
79
|
+
ptcMaxLength: 'undefined',
|
|
122
80
|
required: 'true',
|
|
123
|
-
|
|
124
|
-
type: 'text'
|
|
81
|
+
type: 'email'
|
|
125
82
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { html } from 'lit';
|
|
2
|
-
import { unsafeHTML } from 'lit/directives/unsafe-html.js';
|
|
3
2
|
|
|
4
3
|
export default {
|
|
5
4
|
title: 'Atoms/ptc-title',
|
|
@@ -78,36 +77,26 @@ export default {
|
|
|
78
77
|
isPlmHub: {
|
|
79
78
|
description: "is it a title for PLM Hub page?",
|
|
80
79
|
defaultValue: {summary: false}
|
|
81
|
-
},
|
|
82
|
-
slotContent: {
|
|
83
|
-
name: 'Default Slot',
|
|
84
|
-
description: 'Text Content between the <ptc-title> tags.',
|
|
85
|
-
control: 'text',
|
|
86
|
-
table: {
|
|
87
|
-
category: 'Default Slot',
|
|
88
|
-
type: {
|
|
89
|
-
summary: 'html',
|
|
90
|
-
},
|
|
91
|
-
}
|
|
92
80
|
}
|
|
93
81
|
},
|
|
94
82
|
};
|
|
95
83
|
|
|
96
|
-
const Template = args => {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
84
|
+
const Template = args => {
|
|
85
|
+
return html`<ptc-title
|
|
86
|
+
type="${args.type}"
|
|
87
|
+
text-align="${args.textAlign}"
|
|
88
|
+
title-size="${args.titleSize}"
|
|
89
|
+
title-color="${args.titleColor}"
|
|
90
|
+
upperline="${args.upperline}"
|
|
91
|
+
title-display="${args.titleDisplay}"
|
|
92
|
+
title-shadow="${args.titleShadow}"
|
|
93
|
+
title-height="${args.titleHeight}"
|
|
94
|
+
title-margin="${args.titleMargin}"
|
|
95
|
+
title-weight="${args.titleWeight}"
|
|
96
|
+
is-plm-hub="${args.isPlmHub}"
|
|
97
|
+
>
|
|
98
|
+
Title Example
|
|
99
|
+
</ptc-title>`;
|
|
111
100
|
};
|
|
112
101
|
|
|
113
102
|
export const Example = Template.bind({});
|
|
@@ -123,5 +112,4 @@ Example.args = {
|
|
|
123
112
|
titleWeight: 'w-8',
|
|
124
113
|
titleShadow: '',
|
|
125
114
|
isPlmHub: false,
|
|
126
|
-
slotContent:'Lorem ipsum',
|
|
127
115
|
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Organisms/E-Support Organisms/Case Tracker'
|
|
5
|
+
|
|
6
|
+
}
|
|
7
|
+
const CaseTracker = args => {
|
|
8
|
+
return html `
|
|
9
|
+
|
|
10
|
+
<ptc-spacer></ptc-spacer>
|
|
11
|
+
<ptc-spacer></ptc-spacer>
|
|
12
|
+
<ptc-spacer></ptc-spacer>
|
|
13
|
+
<div class="ptc-container is-grid">
|
|
14
|
+
<div class="is-col-12 is-col-6-md">
|
|
15
|
+
<ptc-title upperline="none">Case Tracker - Authorized Use Only</ptc-title>
|
|
16
|
+
<ptc-spacer></ptc-spacer>
|
|
17
|
+
<ptc-spacer></ptc-spacer>
|
|
18
|
+
<ptc-para>If you want to use this application on behalf of a customer use this search from to lookup the customer record. When you have found the customer hit the Next > button</ptc-para>
|
|
19
|
+
<ptc-textfield field-id="contact-email" label-text="Customer Name" type="text" ptc-data-eloqua-name="C_EmailAddress" field-name="email"></ptc-textfield>
|
|
20
|
+
<ptc-textfield field-id="contact-email" label-text="Customer Number" type="text" ptc-data-eloqua-name="C_EmailAddress" field-name="email"></ptc-textfield>
|
|
21
|
+
<ptc-button color="ptc-quaternary" disabled="false" link-href="https://www.ptc.com" link-title="PTC" rel="undefined" tab-nav="0" target="_self" text-align="undefined" type="button">Search</ptc-button>
|
|
22
|
+
<ptc-button color="ptc-quaternary" disabled="false" link-href="https://www.ptc.com" link-title="PTC" rel="undefined" tab-nav="0" target="_self" text-align="undefined" type="button">Next</ptc-button>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="is-col-12 is-col-2-md">
|
|
25
|
+
|
|
26
|
+
</div>
|
|
27
|
+
<div class="is-col-12 is-col-3-md">
|
|
28
|
+
<ptc-spacer></ptc-spacer>
|
|
29
|
+
<ptc-spacer></ptc-spacer>
|
|
30
|
+
<ptc-spacer></ptc-spacer>
|
|
31
|
+
<ptc-spacer></ptc-spacer>
|
|
32
|
+
<div style="border: solid; padding: 5px;">
|
|
33
|
+
<ptc-title upperline="none" type="h3">search tips</ptc-title>
|
|
34
|
+
<ul>
|
|
35
|
+
<li>You can use this search form to use this application on behalf of a customer.</li>
|
|
36
|
+
<li>You can use this search form to use this application on behalf of a customer.</li>
|
|
37
|
+
</ul>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
</div>
|
|
43
|
+
`;}
|
|
44
|
+
|
|
45
|
+
export const Preview = CaseTracker.bind();
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Organisms/E-Support Organisms/Support Article'
|
|
5
|
+
|
|
6
|
+
}
|
|
7
|
+
const ArticlePage = args => {
|
|
8
|
+
return html `
|
|
9
|
+
|
|
10
|
+
<div class="ptc-container">
|
|
11
|
+
|
|
12
|
+
<ptc-title upperline="" type="h4" title-color="grey">How to run Apache, Tomcat, Windchill Directory Server </ptc-title>
|
|
13
|
+
<ptc-para>Modified: 23-Nov-2023 | LastSeen: 17-Jun-2024
|
|
14
|
+
<ptc-dropdown label="Available in:" listitems="" theme="support">
|
|
15
|
+
<item selected="" label="English"></item>
|
|
16
|
+
<item label="English"></item>
|
|
17
|
+
<item label="English"></item>
|
|
18
|
+
|
|
19
|
+
</ptc-dropdown>
|
|
20
|
+
|
|
21
|
+
</ptc-para>
|
|
22
|
+
|
|
23
|
+
<div style="background-color: rgb(238, 238, 238);; padding:2px">
|
|
24
|
+
<ptc-title type="h5" upperline="">Public</ptc-title>
|
|
25
|
+
<ptc-para >
|
|
26
|
+
Created by Steven Jin and improved by Mi Yeon Grace Jin, Amit Deshpande, Hideyuki Akiyama, Lily Liu, Arshad Imam, Luis Barbosa, Feng Xiang Cliff Tian, Swapnil Deshmukh, Kellan Chen, Teresa Man, Chao Max Wang, Saurabh Ghewande, Mahesh Lomate, Aditya Chaure, Tsutomu Seki, Salesforce Data Manipulation User, Steven Jin, Shirley Yang
|
|
27
|
+
Customer Views: 24559 | Useful Ratings (Customers): 118 | Useful Ratings (PTC): 45 | Cases Solved: 154
|
|
28
|
+
</ptc-para>
|
|
29
|
+
|
|
30
|
+
</div>
|
|
31
|
+
<ptc-spacer></ptc-spacer>
|
|
32
|
+
<ptc-spacer></ptc-spacer>
|
|
33
|
+
<div>
|
|
34
|
+
<ptc-title upperline="" type="h4">Description</ptc-title>
|
|
35
|
+
<hr style="color:green">
|
|
36
|
+
<ptc-para>
|
|
37
|
+
<ul>
|
|
38
|
+
<li>How to run Apache HTTP Server, Tomcat, WindchillDS and, Windchill as a Windows service</li>
|
|
39
|
+
<li>How to run Apache HTTP Server, Tomcat, WindchillDS and, Windchill as a Windows service</li>
|
|
40
|
+
<li>How to run Apache HTTP Server, Tomcat, WindchillDS and, Windchill as a Windows service</li>
|
|
41
|
+
</ul>
|
|
42
|
+
</ptc-para>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
`;}
|
|
46
|
+
|
|
47
|
+
export const Preview = ArticlePage.bind();
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'Organisms/E-Support Organisms/Support Page'
|
|
5
|
+
|
|
6
|
+
}
|
|
7
|
+
const SupportPage = args => {
|
|
8
|
+
return html `
|
|
9
|
+
|
|
10
|
+
<ptc-spacer></ptc-spacer>
|
|
11
|
+
<ptc-spacer></ptc-spacer>
|
|
12
|
+
<ptc-spacer></ptc-spacer>
|
|
13
|
+
<ptc-spacer></ptc-spacer>
|
|
14
|
+
<div class="ptc-container is-grid has-col-gap green-container">
|
|
15
|
+
<div class="is-col-12 is-col-7-md search-container">
|
|
16
|
+
|
|
17
|
+
<ptc-spacer></ptc-spacer>
|
|
18
|
+
<ptc-spacer></ptc-spacer>
|
|
19
|
+
<ptc-spacer></ptc-spacer>
|
|
20
|
+
<ptc-title type="h2" text-align="center" title-size="x-large" title-color="white" upperline="no-upperline" title-display="inline-block" title-shadow="" title-height="densest" title-margin="margin-3" title-weight="w-8" is-plm-hub="false">
|
|
21
|
+
Search the Knowledge Base
|
|
22
|
+
</ptc-title>
|
|
23
|
+
<ptc-search-field placeholder-label="Search Technical Support Documentation and Articles" ></ptc-search-field>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="is-col-12 is-col-5-md form-section">
|
|
26
|
+
<ptc-title upperline="none">Popular Tasks</ptc-title>
|
|
27
|
+
<!-- <ul> -->
|
|
28
|
+
<ptc-link>Product Pages</ptc-link>
|
|
29
|
+
<ptc-link>Product Pages</ptc-link>
|
|
30
|
+
<ptc-link>Product Pages</ptc-link>
|
|
31
|
+
<ptc-link>Product Pages</ptc-link>
|
|
32
|
+
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<ptc-spacer></ptc-spacer>
|
|
37
|
+
<ptc-spacer></ptc-spacer>
|
|
38
|
+
|
|
39
|
+
<div class="ptc-container is-grid has-col-gap link-container ">
|
|
40
|
+
<div class="is-col-1"></div>
|
|
41
|
+
<div class="is-col-2 links"><ptc-link>Support</ptc-link>
|
|
42
|
+
<button class="btn" role="button" >
|
|
43
|
+
<span class="arrow">
|
|
44
|
+
<icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
|
|
45
|
+
</span>
|
|
46
|
+
</button>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="is-col-2 llinks"><ptc-link>Manage and monitor software</ptc-link>
|
|
49
|
+
<button class="btn" role="button" >
|
|
50
|
+
<span class="arrow">
|
|
51
|
+
<icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
|
|
52
|
+
</span>
|
|
53
|
+
</button>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="is-col-2 llinks"><ptc-link>Learn</ptc-link>
|
|
56
|
+
<button class="btn" role="button" >
|
|
57
|
+
<span class="arrow">
|
|
58
|
+
<icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
|
|
59
|
+
</span>
|
|
60
|
+
</button>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="is-col-2 llinks"><ptc-link>Service and Expertise</ptc-link>
|
|
63
|
+
<button class="btn" role="button" >
|
|
64
|
+
<span class="arrow">
|
|
65
|
+
<icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
|
|
66
|
+
</span>
|
|
67
|
+
</button>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="is-col-2 llinks"><ptc-link>PTC Partner Network</ptc-link>
|
|
70
|
+
<button class="btn" role="button" >
|
|
71
|
+
<span class="arrow">
|
|
72
|
+
<icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
|
|
73
|
+
</span>
|
|
74
|
+
</button>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="is-col-1 links"></div>
|
|
77
|
+
</div>
|
|
78
|
+
<style>
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
.btn {
|
|
82
|
+
display: none;
|
|
83
|
+
padding: 10px;
|
|
84
|
+
font-size: 16px;
|
|
85
|
+
font-weight: 500;
|
|
86
|
+
border: none;
|
|
87
|
+
background-color: transparent;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
align-items: center;
|
|
90
|
+
span {
|
|
91
|
+
margin-right: 8px;
|
|
92
|
+
align-items: center;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.llinks:hover .btn {
|
|
100
|
+
display: block;
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.links:hover .btn {
|
|
106
|
+
display: flex;
|
|
107
|
+
}
|
|
108
|
+
.green-container {
|
|
109
|
+
background-color:#b3dda4 ;
|
|
110
|
+
padding: 10px;
|
|
111
|
+
.search-container{
|
|
112
|
+
background-color: #00890B;
|
|
113
|
+
padding:10px;
|
|
114
|
+
align-items: center;
|
|
115
|
+
}
|
|
116
|
+
.form-section {
|
|
117
|
+
background-color: white;
|
|
118
|
+
padding: 10px;
|
|
119
|
+
|
|
120
|
+
ptc-link {
|
|
121
|
+
padding: 5px;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
.links {
|
|
126
|
+
align-content: center;
|
|
127
|
+
text-align: center;
|
|
128
|
+
padding-bottom: 16px;
|
|
129
|
+
align-items: center;
|
|
130
|
+
display: flex;
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
align-items: center;
|
|
133
|
+
justify-content: space-between;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.llinks {
|
|
137
|
+
align-content: center;
|
|
138
|
+
text-align: center;
|
|
139
|
+
padding-bottom: 16px;
|
|
140
|
+
border-left: solid 2px #b3dda4;
|
|
141
|
+
padding: 10px;
|
|
142
|
+
display: flex;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: space-between;
|
|
146
|
+
|
|
147
|
+
}
|
|
148
|
+
.link-container {
|
|
149
|
+
border-bottom: solid 2px #b3dda4;
|
|
150
|
+
/* margin: 15px; */
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
</style>
|
|
155
|
+
`;}
|
|
156
|
+
|
|
157
|
+
export const Preview = SupportPage.bind();
|
|
@@ -63,14 +63,14 @@ export class ElqLib {
|
|
|
63
63
|
else {
|
|
64
64
|
ElqLib._elqQ.push(['elqTrackPageView', url]);
|
|
65
65
|
}
|
|
66
|
-
|
|
66
|
+
console.log('TRACKING: Eloqua pageview fired for URL: ' + (url || 'current page'));
|
|
67
67
|
}
|
|
68
68
|
catch (e) {
|
|
69
69
|
console.log('TRACKING: Could not fire Eloqua pageview: ', e);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
find_eloqua_contact() {
|
|
73
|
-
|
|
73
|
+
console.log('CONTACT LOOKUP: Attempting to find Eloqua contact...');
|
|
74
74
|
// Queue callback action for the return of lookup
|
|
75
75
|
this.callback_queue.push(this.handle_contact_lookup.bind(this));
|
|
76
76
|
// Start with a recipient lookup if ID was supplied in URL
|
|
@@ -91,7 +91,7 @@ export class ElqLib {
|
|
|
91
91
|
//public function for preference center
|
|
92
92
|
//Fires a lookups to get membership info
|
|
93
93
|
find_eloqua_subscription_info() {
|
|
94
|
-
|
|
94
|
+
console.log('Subscription Lookup: running find_eloqua_subscription_info 1. push handle_visitor_lookup into callback queue, 2. push populateCheckboxes into callback queue...');
|
|
95
95
|
// Queue callback action for the return of lookup
|
|
96
96
|
this.callback_queue.push(this.handle_visitor_lookup.bind(this));
|
|
97
97
|
this.callback_queue.push(this.populateCheckboxes.bind(this));
|
|
@@ -123,16 +123,16 @@ export class ElqLib {
|
|
|
123
123
|
this.url_vars[key] = value;
|
|
124
124
|
});
|
|
125
125
|
// Optionally, log the stored URL variables
|
|
126
|
-
|
|
126
|
+
console.log('URL variables stored:', this.url_vars);
|
|
127
127
|
}
|
|
128
128
|
// A visitor elq id will be produced from the preference center link
|
|
129
129
|
store_visitor_elq_id() {
|
|
130
|
-
|
|
130
|
+
console.log("INIT: Looking for visitor's Eloqua ID in URL...");
|
|
131
131
|
const elqIdParam = this.url_vars['elq'];
|
|
132
132
|
if (elqIdParam) {
|
|
133
133
|
const elqId = elqIdParam.toUpperCase().replace(/(.{8})(.{4})(.{4})(.{4})(.{12})/, '$1-$2-$3-$4-$5');
|
|
134
134
|
this.visitor_elq_id = elqId;
|
|
135
|
-
|
|
135
|
+
console.log(`INIT: ...visitor Eloqua ID found in URL: ${elqId}`);
|
|
136
136
|
}
|
|
137
137
|
else {
|
|
138
138
|
this.visitor_elq_id = null;
|
|
@@ -156,10 +156,10 @@ export class ElqLib {
|
|
|
156
156
|
while (actionSucceeded && this.callback_queue.length > 0) {
|
|
157
157
|
const action = this.callback_queue.shift();
|
|
158
158
|
if (action) {
|
|
159
|
-
|
|
159
|
+
console.log(`QUEUE: Executing action`);
|
|
160
160
|
actionSucceeded = action(); // Execute the action. It must return a boolean indicating success.
|
|
161
161
|
if (actionSucceeded) {
|
|
162
|
-
|
|
162
|
+
console.log('QUEUE: Action executed successfully, removed from queue');
|
|
163
163
|
}
|
|
164
164
|
else {
|
|
165
165
|
console.log('QUEUE: Action failed, re-adding to queue');
|
|
@@ -184,7 +184,7 @@ export class ElqLib {
|
|
|
184
184
|
lookup_visitor_by_cookie() {
|
|
185
185
|
if (this.params.elq_visitor_lookup_key != '') {
|
|
186
186
|
ElqLib._elqQ.push(['elqDataLookup', escape(this.params.elq_visitor_lookup_key), '']);
|
|
187
|
-
|
|
187
|
+
console.log('LOOKUP: Visitor lookup sent using Eloqua cookie');
|
|
188
188
|
}
|
|
189
189
|
else {
|
|
190
190
|
console.log('LOOKUP: A visitor lookup cannot be performed as no lookup key was defined');
|
|
@@ -192,19 +192,19 @@ export class ElqLib {
|
|
|
192
192
|
}
|
|
193
193
|
retry_visitor_by_cookie(attempts = 3, delay = 500) {
|
|
194
194
|
let $timeoutId;
|
|
195
|
-
|
|
195
|
+
console.log('running retry_visitor_by_cookie');
|
|
196
196
|
if (attempts > 0) {
|
|
197
197
|
//sending V_Email_Address lookup
|
|
198
198
|
this.lookup_visitor_by_cookie();
|
|
199
199
|
if (typeof window.GetElqContentPersonalizationValue !== 'function') {
|
|
200
|
-
|
|
200
|
+
console.warn(`GetElqContentPersonalizationValue(V_Email_Address) is not available, retrying... (${attempts} attempts left)`);
|
|
201
201
|
// Retry after the specified delay
|
|
202
202
|
$timeoutId = setTimeout(() => {
|
|
203
203
|
this.retry_visitor_by_cookie(attempts - 1, delay);
|
|
204
204
|
}, delay);
|
|
205
205
|
}
|
|
206
206
|
else {
|
|
207
|
-
|
|
207
|
+
console.info('found V_Email_Address!');
|
|
208
208
|
clearTimeout($timeoutId);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -219,7 +219,7 @@ export class ElqLib {
|
|
|
219
219
|
escape(this.params.elq_recipient_id_lookup_key),
|
|
220
220
|
'<' + this.params.elq_field_email_rec_id + '>' + this.visitor_elq_id + '</' + this.params.elq_field_email_rec_id + '>',
|
|
221
221
|
]);
|
|
222
|
-
|
|
222
|
+
console.log('LOOKUP: Visitor lookup sent using email recipient id: ' + this.visitor_elq_id);
|
|
223
223
|
//console.log('find visitor email' + window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email));
|
|
224
224
|
}
|
|
225
225
|
else {
|
|
@@ -233,7 +233,7 @@ export class ElqLib {
|
|
|
233
233
|
escape(this.params.elq_contact_lookup_key),
|
|
234
234
|
'<' + this.params.elq_field_contact_email + '>' + this.user_elq_email + '</' + this.params.elq_field_contact_email + '>',
|
|
235
235
|
]);
|
|
236
|
-
|
|
236
|
+
console.log('LOOKUP: Contact lookup sent using email address: ' + this.user_elq_email);
|
|
237
237
|
}
|
|
238
238
|
else {
|
|
239
239
|
console.log('LOOKUP: A Contact lookup cannot be performed as no lookup key was defined');
|
|
@@ -247,7 +247,7 @@ export class ElqLib {
|
|
|
247
247
|
escape(this.params.elq_subscription_lookup_key),
|
|
248
248
|
`<${this.params.elq_field_contact_email}>${this.user_elq_email}</${this.params.elq_field_contact_email}>`,
|
|
249
249
|
]);
|
|
250
|
-
|
|
250
|
+
console.log('LOOKUP: Subscription lookup sent using email address: ' + this.user_elq_email);
|
|
251
251
|
}
|
|
252
252
|
else {
|
|
253
253
|
console.log('LOOKUP: A Subscription lookup cannot be performed as no subscription lookup key or email was defined');
|
|
@@ -258,7 +258,7 @@ export class ElqLib {
|
|
|
258
258
|
if (typeof window.GetElqContentPersonalizationValue == 'function') {
|
|
259
259
|
const email = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email); //V_Email_Address's value
|
|
260
260
|
if (email) {
|
|
261
|
-
|
|
261
|
+
console.log(`LOOKUP: Found contact email address: ${email}`);
|
|
262
262
|
this.user_elq_email = email.trim();
|
|
263
263
|
this.lookup_subscription_by_email();
|
|
264
264
|
var cookieValue = this.user_elq_email;
|
|
@@ -277,7 +277,7 @@ export class ElqLib {
|
|
|
277
277
|
}
|
|
278
278
|
handle_contact_lookup() {
|
|
279
279
|
if (window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email) != '') {
|
|
280
|
-
|
|
280
|
+
console.log('LOOKUP: Found contact email address: ' + window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email));
|
|
281
281
|
return true;
|
|
282
282
|
}
|
|
283
283
|
else {
|
|
@@ -285,14 +285,14 @@ export class ElqLib {
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
populate_mapped_fields() {
|
|
288
|
-
|
|
288
|
+
console.log('MAPPING: Starting field mapping');
|
|
289
289
|
//debugger;
|
|
290
290
|
this.field_mappings.forEach(({ elementId, elqFieldName }) => {
|
|
291
291
|
const fieldValue = window.GetElqContentPersonalizationValue(elqFieldName);
|
|
292
292
|
if (elementId !== 'contact-country') {
|
|
293
293
|
const element = document.getElementById(elementId);
|
|
294
294
|
//console.log('element ID of field mappings: ' + elementId);
|
|
295
|
-
|
|
295
|
+
console.log('fieldValue ID of field mappings: ' + fieldValue);
|
|
296
296
|
if (element && fieldValue) {
|
|
297
297
|
element.value = fieldValue;
|
|
298
298
|
//element.style.display = 'none'; // Hide the field.
|
|
@@ -322,13 +322,13 @@ export class ElqLib {
|
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
});
|
|
325
|
-
|
|
325
|
+
console.log('MAPPING: Finished ');
|
|
326
326
|
if (this.fields_populated) {
|
|
327
327
|
this.update_notme_link();
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
update_user_details() {
|
|
331
|
-
|
|
331
|
+
console.log('displaying user info...');
|
|
332
332
|
if (window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email) !== '') {
|
|
333
333
|
document
|
|
334
334
|
.querySelectorAll('input[type=text], input[type=tel], input[name="phonenumber"], input[name="phonenumbertwo"], input[type=email], select, textarea, span.mdc-select__selected-text')
|
|
@@ -387,7 +387,7 @@ export class ElqLib {
|
|
|
387
387
|
//preference center
|
|
388
388
|
populateCheckboxes() {
|
|
389
389
|
if (typeof window.GetElqGroupMembershipStatus === 'function') {
|
|
390
|
-
|
|
390
|
+
console.log('populating checkboxes...');
|
|
391
391
|
this.user_elq_email
|
|
392
392
|
? (document.querySelector('.cookie-email').innerHTML = this.user_elq_email)
|
|
393
393
|
: (document.querySelector('.cookie-email').innerHTML = 'email information is not available');
|
|
@@ -465,7 +465,7 @@ export class ElqLib {
|
|
|
465
465
|
if (elementId !== 'contact-country') {
|
|
466
466
|
const element = document.getElementById(elementId);
|
|
467
467
|
if (element) {
|
|
468
|
-
|
|
468
|
+
console.log('element: ' + element);
|
|
469
469
|
element.value = ''; // Reset the value
|
|
470
470
|
if (element.closest('ptc-textfield')) {
|
|
471
471
|
if (element.closest('ptc-textfield').getAttribute('ignore-blind-submit') != 'true') {
|
|
@@ -499,7 +499,7 @@ export class ElqLib {
|
|
|
499
499
|
}
|
|
500
500
|
clearEloquaCookie(name) {
|
|
501
501
|
document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
|
|
502
|
-
|
|
502
|
+
console.log('cookie cleared');
|
|
503
503
|
}
|
|
504
504
|
// Private Method to load Eloqua Scripts
|
|
505
505
|
async_load() {
|
|
@@ -520,7 +520,7 @@ export class ElqLib {
|
|
|
520
520
|
else {
|
|
521
521
|
document.head.appendChild(scriptElement);
|
|
522
522
|
}
|
|
523
|
-
|
|
523
|
+
console.log(`Async loading of script ${scriptUrl} initiated.`);
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
ElqLib._elqQ = window['_elqQ'] || [];
|