@ptcwebops/ptcw-design 6.3.0 → 6.3.1-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/{component-06dda623.js → component-4dd13907.js} +2643 -832
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +1745 -0
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset_6.cjs.entry.js +347 -0
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/list-item.cjs.entry.js +48 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
- package/dist/cjs/ptc-button.cjs.entry.js +87 -0
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +156 -0
- package/dist/cjs/ptc-card-content.cjs.entry.js +76 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +8 -4
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +291 -0
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
- 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} +787 -5
- package/dist/cjs/ptc-img.cjs.entry.js +133 -0
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/ptc-link.cjs.entry.js +87 -0
- package/dist/cjs/ptc-para.cjs.entry.js +127 -0
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
- 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-scroll-button.cjs.entry.js +136 -0
- package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-title.cjs.entry.js +152 -0
- 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 +1 -1
- package/dist/cjs/ptcw-design.cjs.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/organism-bundles/bundle-featured-list/featured-list.css +3 -3
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +0 -5
- 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-bio-card/ptc-bio-card.css +6 -6
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
- 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-jumbotron/ptc-jumbotron.css +13 -6
- package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
- package/dist/collection/components/ptc-modal/ptc-modal.js +60 -2
- 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-preloader-section/ptc-preloader-section.css +265 -0
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +7 -3
- 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-tabs/ptc-pricing-tabs.css +7 -0
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -6
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
- 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-textfield/ptc-textfield.js +1 -1
- 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/subnav/ptc-nav-slider/ptc-nav-slider.css +1 -1
- 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/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +171 -35
- 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-274da230.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 +1 -1
- package/dist/esm/event-jumbotron-example.entry.js +1741 -0
- 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_6.entry.js +338 -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/list-item.entry.js +44 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/max-width-container.entry.js +1 -1
- 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 +1 -1
- 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 +2 -2
- package/dist/esm/ptc-breadcrumb.entry.js +43 -0
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +83 -0
- package/dist/esm/ptc-card-bottom_2.entry.js +151 -0
- package/dist/esm/ptc-card-content.entry.js +72 -0
- package/dist/esm/ptc-card_2.entry.js +9 -5
- 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 +286 -0
- 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 +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +2 -3
- 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.entry.js +2 -2
- 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-img.entry.js +129 -0
- 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 +83 -0
- 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-nav-card.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-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-para.entry.js +123 -0
- 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 +1 -1
- 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 +2 -2
- package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
- 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 +132 -0
- 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 +34 -0
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-square-card.entry.js +1 -1
- package/dist/esm/ptc-sticky-icons.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-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-title.entry.js +148 -0
- 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 +2 -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-ff65c75b.js → utils-63eab4bd.js} +1 -1
- package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
- package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
- package/dist/ptcw-design/p-05b950aa.entry.js +1 -0
- package/dist/ptcw-design/p-07b1afd5.entry.js +1 -0
- package/dist/ptcw-design/p-094f5dec.entry.js +1 -0
- package/dist/ptcw-design/{p-a412ff0a.entry.js → p-09def480.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-e235bf27.entry.js → p-0bb3ea9a.entry.js} +1 -1
- package/dist/ptcw-design/{p-c37a3bd2.entry.js → p-0cc79610.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-130e2278.entry.js +1 -0
- package/dist/ptcw-design/{p-04ff81ef.entry.js → p-135191ce.entry.js} +1 -1
- package/dist/ptcw-design/{p-99b45d23.entry.js → p-139ca5d2.entry.js} +1 -1
- package/dist/ptcw-design/{p-e4000363.entry.js → p-14565e90.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-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-1e85cb97.entry.js +1 -0
- 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-202b0d92.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-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
- package/dist/ptcw-design/p-29223a86.entry.js +1 -0
- 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-a791c53a.entry.js → p-2b583ae1.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-36c42aae.entry.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-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-3964837c.entry.js +11 -0
- package/dist/ptcw-design/p-39ec04d4.entry.js +1 -0
- package/dist/ptcw-design/p-3ada2482.entry.js +1 -0
- package/dist/ptcw-design/p-3ae14b03.entry.js +1 -0
- 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-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-18ac526f.entry.js → p-485cb0c8.entry.js} +1 -1
- package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
- package/dist/ptcw-design/p-4e8c87e1.entry.js +1 -0
- package/dist/ptcw-design/p-50582650.entry.js +1 -0
- package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
- package/dist/ptcw-design/{p-d9abe7e8.entry.js → p-5429a6c0.entry.js} +1 -1
- package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
- 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-808ec62a.entry.js → p-610b5620.entry.js} +1 -1
- package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
- package/dist/ptcw-design/p-67a32576.entry.js +1 -0
- package/dist/ptcw-design/{p-1b257420.entry.js → p-685f2375.entry.js} +1 -1
- package/dist/ptcw-design/{p-7a9611b4.entry.js → p-6a561285.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-8e8c7a3a.entry.js → p-73e5243f.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-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-8872161f.js → p-77b1221e.js} +1 -1
- package/dist/ptcw-design/{p-282b7d4e.entry.js → p-78252282.entry.js} +1 -1
- package/dist/ptcw-design/{p-3738a01f.entry.js → p-794eebdb.entry.js} +1 -1
- package/dist/ptcw-design/{p-b436f56d.entry.js → p-79762cf6.entry.js} +1 -1
- package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
- 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-815a1a62.entry.js +1 -0
- package/dist/ptcw-design/{p-da82dc93.entry.js → p-81700a7e.entry.js} +1 -1
- package/dist/ptcw-design/{p-48815ee0.entry.js → p-88379d69.entry.js} +1 -1
- package/dist/ptcw-design/p-88ff7bc5.entry.js +1 -0
- package/dist/ptcw-design/{p-e3f8e5d5.entry.js → p-8b37d3ac.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
- package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
- 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-c95f423e.entry.js → p-9b354870.entry.js} +1 -1
- package/dist/ptcw-design/p-9be9f585.entry.js +1 -0
- package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
- 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-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-38b782e8.entry.js → p-a4c78993.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-d20cf3c5.entry.js → p-aaf8fb04.entry.js} +1 -1
- package/dist/ptcw-design/{p-a25578e9.entry.js → p-ac78409e.entry.js} +1 -1
- package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
- package/dist/ptcw-design/p-b10baf43.entry.js +1 -0
- 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-e0b873d0.entry.js → p-b4015d90.entry.js} +1 -1
- package/dist/ptcw-design/p-b4f05597.entry.js +1 -0
- package/dist/ptcw-design/p-b789c2ee.entry.js +1 -0
- 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-beb29540.entry.js +1 -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-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-c73eb535.entry.js +1 -0
- package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.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-cadbf4a0.entry.js +1 -0
- package/dist/ptcw-design/{p-6d3326da.entry.js → p-cbc6661e.entry.js} +1 -1
- 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-72825cf6.entry.js → p-d21cf742.entry.js} +1 -1
- package/dist/ptcw-design/{p-eddadb5a.entry.js → p-d2523dce.entry.js} +1 -1
- package/dist/ptcw-design/{p-260ecfef.entry.js → p-d9ec506c.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-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-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-a5c2584e.entry.js → p-eafe37b0.entry.js} +1 -1
- package/dist/ptcw-design/p-ec22d0b8.entry.js +1 -0
- package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
- package/dist/ptcw-design/p-ed71521c.entry.js +1 -0
- package/dist/ptcw-design/{p-27a4ee73.entry.js → p-eef5d58b.entry.js} +1 -1
- 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-f26707a6.entry.js +68 -0
- package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
- package/dist/ptcw-design/p-f983f6cc.entry.js +1 -0
- package/dist/ptcw-design/p-ffd5c822.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +8 -1
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components.d.ts +21 -4
- package/package.json +1 -1
- package/readme.md +5 -1
- package/dist/cjs/component-5b5b6a98.js +0 -1819
- package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +0 -3012
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -67
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
- package/dist/cjs/ptc-nav-link.cjs.entry.js +0 -48
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +0 -106
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +0 -51
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +0 -70
- package/dist/cjs/ptc-subnav.cjs.entry.js +0 -37
- package/dist/cjs/validation-messages-33a4f26b.js +0 -126
- package/dist/esm/component-341e4eaa.js +0 -1802
- package/dist/esm/event-jumbotron-example_15.entry.js +0 -2994
- package/dist/esm/ptc-card-bottom.entry.js +0 -63
- package/dist/esm/ptc-multi-select_2.entry.js +0 -665
- package/dist/esm/ptc-nav-link.entry.js +0 -44
- package/dist/esm/ptc-nav-slider.entry.js +0 -102
- package/dist/esm/ptc-nav-submenu.entry.js +0 -47
- package/dist/esm/ptc-sticky-section.entry.js +0 -66
- package/dist/esm/ptc-subnav.entry.js +0 -33
- package/dist/esm/validation-messages-adbb6518.js +0 -124
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-0a214a22.entry.js +0 -1
- package/dist/ptcw-design/p-15758793.entry.js +0 -1
- package/dist/ptcw-design/p-18a5a338.js +0 -1
- package/dist/ptcw-design/p-1ca8a5bf.entry.js +0 -1
- package/dist/ptcw-design/p-2b32297b.entry.js +0 -1
- package/dist/ptcw-design/p-2c6fc745.entry.js +0 -1
- package/dist/ptcw-design/p-36007a57.entry.js +0 -1
- package/dist/ptcw-design/p-3ddb6c50.entry.js +0 -1
- package/dist/ptcw-design/p-4a7505ba.entry.js +0 -1
- package/dist/ptcw-design/p-4cee12b8.entry.js +0 -1
- package/dist/ptcw-design/p-51a45b13.entry.js +0 -1
- package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
- package/dist/ptcw-design/p-6e921844.entry.js +0 -11
- package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
- package/dist/ptcw-design/p-77cad16c.entry.js +0 -1
- package/dist/ptcw-design/p-8c692bd6.entry.js +0 -1
- package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
- package/dist/ptcw-design/p-9d3a7f36.entry.js +0 -1
- package/dist/ptcw-design/p-9df7489b.entry.js +0 -1
- package/dist/ptcw-design/p-9fe0c27d.entry.js +0 -1
- package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
- package/dist/ptcw-design/p-a54c6da5.entry.js +0 -1
- package/dist/ptcw-design/p-a58698ca.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-ae970a60.entry.js +0 -1
- package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
- package/dist/ptcw-design/p-be533f0d.js +0 -134
- package/dist/ptcw-design/p-bee09dd0.entry.js +0 -1
- package/dist/ptcw-design/p-c1513c3f.js +0 -203
- package/dist/ptcw-design/p-c66b8926.entry.js +0 -1
- package/dist/ptcw-design/p-c89030e4.entry.js +0 -1
- package/dist/ptcw-design/p-cfa6996d.entry.js +0 -68
- package/dist/ptcw-design/p-d10cb999.entry.js +0 -1
- package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
- package/dist/ptcw-design/p-d2f37084.entry.js +0 -1
- package/dist/ptcw-design/p-f5c97ab2.entry.js +0 -1
- package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
- package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
|
@@ -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 ptcNavLinkCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}@media only screen and (min-width: 1200px){:host{display:inline-block}}:host::before,:host::after{content:\" \";width:1600px;height:1px;background-color:var(--color-gray-08);position:absolute;right:0;bottom:0}@media only screen and (min-width: 1200px){:host::before,:host::after{display:none}}:host::after{left:0;right:auto}:host a{color:var(--color-gray-03);text-decoration:none;display:block;border-bottom:2px solid transparent;margin-left:34%;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-03);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold)}@media only screen and (min-width: 480px){:host a{margin-left:38%}}@media only screen and (min-width: 768px){:host a{margin-left:42%}}@media only screen and (min-width: 1200px){:host a{padding:14px var(--ptc-element-spacing-03) 22px;margin-top:6px;border-top:2px solid transparent;margin-left:0;display:flex;align-items:center;white-space:nowrap;position:relative}:host a::after{content:\"\";display:block;border-bottom:2px solid transparent;margin:auto;position:absolute;width:calc(100% - 20px);left:0;right:0;bottom:20px}}:host a svg{width:1rem;height:0.875rem;display:inline-block;background-size:cover;transition:margin-left 250ms ease-out;vertical-align:middle;margin-left:4px}:host a:hover,:host a:focus{color:var(--color-white)}@media only screen and (min-width: 1200px){:host a:hover::after,:host a:focus::after{border-color:var(--color-white)}}:host a:hover svg path,:host a:focus svg path{fill:var(--color-white)}:host a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);padding:14px 10px 16px}@media only screen and (min-width: 1200px){:host a:focus-visible{padding:14px 10px 20px}}:host ::slotted(icon-asset){margin-top:4px;margin-right:8px}:host .tracker-div{display:inline}";
|
|
8
|
-
|
|
9
|
-
const PtcNavLink = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.navLinkClicked = index.createEvent(this, "navLinkClicked", 7);
|
|
13
|
-
this.href = undefined;
|
|
14
|
-
this.isOutsideLink = false;
|
|
15
|
-
this.titleText = '';
|
|
16
|
-
this.trackerId = undefined;
|
|
17
|
-
}
|
|
18
|
-
handleClick(event) {
|
|
19
|
-
// Prevent the event from propagating to the underlying <a> element
|
|
20
|
-
event.stopPropagation();
|
|
21
|
-
// Check if the href starts with #
|
|
22
|
-
if (this.href && this.href.startsWith('#')) {
|
|
23
|
-
// Find the corresponding section
|
|
24
|
-
const section = document.querySelector(this.href);
|
|
25
|
-
section.scrollIntoView({
|
|
26
|
-
behavior: 'smooth',
|
|
27
|
-
});
|
|
28
|
-
this.navLinkClicked.emit();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
trimString(inputString, maxLength) {
|
|
32
|
-
if (inputString.length > maxLength) {
|
|
33
|
-
return inputString.slice(0, maxLength) + '...';
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
return inputString;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
render() {
|
|
40
|
-
return (index.h(index.Host, null, index.h("div", { class: "tracker-div", id: this.trackerId }, index.h("a", { href: this.href, target: this.isOutsideLink ? '_blank' : '_self', title: this.titleText, onClick: event => {
|
|
41
|
-
this.handleClick(event);
|
|
42
|
-
} }, index.h("slot", null), !this.href.startsWith('#') && (index.h("svg", { class: "icon-arrow-right", xmlns: "http://www.w3.org/2000/svg", width: "14", height: "10", viewBox: "0 0 14 10", fill: "none" }, index.h("path", { d: "M8.84921 0.77792L8.81313 3.41153L0.51545 3.55584L0.515449 6.5863L8.81313 6.44199L8.81313 9.40029L13.1424 5.07107L8.84921 0.77792Z", fill: "#AEB8BD" })))))));
|
|
43
|
-
}
|
|
44
|
-
get el() { return index.getElement(this); }
|
|
45
|
-
};
|
|
46
|
-
PtcNavLink.style = ptcNavLinkCss;
|
|
47
|
-
|
|
48
|
-
exports.ptc_nav_link = PtcNavLink;
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const ptcNavSliderCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}@media only screen and (min-width: 1200px){:host{max-width:746px;padding:0px 0px;display:flex;align-items:center;margin-left:-23px}:host .box-wrap{width:100%;height:auto;display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host .box-wrap::-webkit-scrollbar{display:none}}@media only screen and (min-width: 1440px){:host{margin-left:-46px}}:host .navArrows{cursor:pointer;display:inline-block}:host .navArrows svg{vertical-align:middle}:host .btn-wrap-left,:host .btn-wrap-right{display:none}@media only screen and (min-width: 1200px){:host .btn-wrap-left,:host .btn-wrap-right{display:inline-block;width:32px;height:32px;position:relative}}@media (max-width: 1199px){:host .btn-wrap-left,:host .btn-wrap-right{display:none !important}}:host button#prevBtn,:host button#nextBtn{background:transparent;border-radius:var(--ptc-border-radius-standard);border:none;width:32px;height:32px}:host button#prevBtn:hover,:host button#nextBtn:hover{background:var(--color-gray-12)}:host button#prevBtn:focus-visible,:host button#prevBtn:focus,:host button#nextBtn:focus-visible,:host button#nextBtn:focus{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .btn-wrap-left{margin-right:0}@media (min-width: 1250px){:host .btn-wrap-left{margin-right:14px}}:host .btn-wrap-right{margin-left:14px}:host .tracker-div{display:inline}";
|
|
8
|
-
|
|
9
|
-
const PtcNavSlider = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.sliderId = `ptc-nav-slider-${Math.floor(Math.random() * 1000000)}`;
|
|
13
|
-
this.leftBtnTrackerId = undefined;
|
|
14
|
-
this.rightBtnTrackerId = undefined;
|
|
15
|
-
}
|
|
16
|
-
componentDidLoad() {
|
|
17
|
-
// use the ID to select elements within the component's shadow root
|
|
18
|
-
this.updateSlider(this);
|
|
19
|
-
const { shadowRoot } = document.querySelector(`#${this.sliderId}`);
|
|
20
|
-
const boxWrap = shadowRoot.querySelector('.box-wrap');
|
|
21
|
-
boxWrap.addEventListener('scroll', this.updateSlider.bind(this));
|
|
22
|
-
setTimeout(() => {
|
|
23
|
-
this.updateSlider(this);
|
|
24
|
-
}, 3100);
|
|
25
|
-
}
|
|
26
|
-
handledropdownClickEvent(element) {
|
|
27
|
-
const sliderId = element.target.querySelector('.nav-slider').id;
|
|
28
|
-
const boxWrap = element.target.querySelector('.nav-slider').shadowRoot.querySelector('.box-wrap');
|
|
29
|
-
const prevBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#prevBtn');
|
|
30
|
-
const nextBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#nextBtn');
|
|
31
|
-
let notDropdown = element.target.tagName.toLowerCase() != 'ptc-nav-submenu';
|
|
32
|
-
//console.log(element.target.tagName)
|
|
33
|
-
this.updateArrows(boxWrap, prevBtn, nextBtn, notDropdown);
|
|
34
|
-
}
|
|
35
|
-
updateArrows(boxWrap, prevBtn, nextBtn, isNotDropdown) {
|
|
36
|
-
// let offsetWidth = boxWrap.offsetWidth;
|
|
37
|
-
// let scrollWidth = boxWrap.scrollWidth;
|
|
38
|
-
// let scrollLeft = boxWrap.scrollLeft;
|
|
39
|
-
// let combine = offsetWidth + scrollLeft;
|
|
40
|
-
// console.log("offsetWidth " + offsetWidth);
|
|
41
|
-
// console.log("scrollWidth " + scrollWidth);
|
|
42
|
-
// console.log("scrollLeft " + scrollLeft);
|
|
43
|
-
// console.log("offsetWidth + scrollLeft " + combine);
|
|
44
|
-
if ((boxWrap.offsetWidth) == boxWrap.scrollWidth) {
|
|
45
|
-
prevBtn.style.visibility = "hidden";
|
|
46
|
-
nextBtn.style.visibility = "hidden";
|
|
47
|
-
if (isNotDropdown)
|
|
48
|
-
prevBtn.closest('.btn-wrap-left').style.display = 'none';
|
|
49
|
-
}
|
|
50
|
-
else if ((boxWrap.scrollLeft + boxWrap.offsetWidth) <= boxWrap.scrollWidth) {
|
|
51
|
-
if (isNotDropdown)
|
|
52
|
-
prevBtn.closest('.btn-wrap-left').style.display = '';
|
|
53
|
-
if (boxWrap.scrollLeft > 0) {
|
|
54
|
-
if ((boxWrap.scrollLeft + boxWrap.offsetWidth) == boxWrap.scrollWidth) {
|
|
55
|
-
nextBtn.style.visibility = "hidden";
|
|
56
|
-
prevBtn.style.visibility = "visible";
|
|
57
|
-
}
|
|
58
|
-
else {
|
|
59
|
-
prevBtn.style.visibility = "visible";
|
|
60
|
-
nextBtn.style.visibility = "visible";
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
prevBtn.style.visibility = "hidden";
|
|
65
|
-
nextBtn.style.visibility = "visible";
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
else {
|
|
69
|
-
prevBtn.style.visibility = "visible";
|
|
70
|
-
nextBtn.style.visibility = "hidden";
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
updateSlider(event) {
|
|
74
|
-
const boxWrap = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('.box-wrap');
|
|
75
|
-
const prevBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#prevBtn');
|
|
76
|
-
const nextBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#nextBtn');
|
|
77
|
-
if (event !== undefined && event.target) {
|
|
78
|
-
let notDropdown = !event.target.closest('.dropdown-content');
|
|
79
|
-
this.updateArrows(event.target, prevBtn, nextBtn, notDropdown);
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
this.updateArrows(boxWrap, prevBtn, nextBtn, false);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
leftScroll(ele) {
|
|
86
|
-
const sliderId = ele.sliderId;
|
|
87
|
-
const left = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
|
|
88
|
-
if (left.scrollLeft > 0) {
|
|
89
|
-
left.scrollBy(-200, 0);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
rightScroll(ele) {
|
|
93
|
-
const sliderId = ele.sliderId;
|
|
94
|
-
const right = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
|
|
95
|
-
if (right.scrollLeft + right.offsetWidth < right.scrollWidth) {
|
|
96
|
-
right.scrollBy(200, 0);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
render() {
|
|
100
|
-
return (index.h(index.Host, { class: `nav-slider`, id: this.sliderId }, index.h("div", { class: "btn-wrap-left tracker-div", id: this.leftBtnTrackerId }, index.h("button", { id: "prevBtn", class: "navArrows", onClick: () => this.leftScroll(this), "aria-label": "Left scroll button" }, index.h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.166 13.2375L4.39723 7.5L10.166 1.7625L8.39004 0L0.832683 7.5L8.39004 15L10.166 13.2375Z", fill: "white" })))), index.h("div", { class: "box-wrap" }, index.h("slot", null)), index.h("div", { class: "btn-wrap-right tracker-div", id: this.rightBtnTrackerId }, index.h("button", { id: "nextBtn", class: "navArrows ", onClick: () => this.rightScroll(this), "aria-label": "Right scroll button" }, index.h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.833984 1.7625L6.60277 7.5L0.833984 13.2375L2.60996 15L10.1673 7.5L2.60996 0L0.833984 1.7625Z", fill: "white" }))))));
|
|
101
|
-
}
|
|
102
|
-
get el() { return index.getElement(this); }
|
|
103
|
-
};
|
|
104
|
-
PtcNavSlider.style = ptcNavSliderCss;
|
|
105
|
-
|
|
106
|
-
exports.ptc_nav_slider = PtcNavSlider;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const ptcNavSubmenuCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative;cursor:pointer}:host .back-btn{display:none;position:absolute;left:30px;top:22px;color:var(--color-white);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold)}:host .back-btn svg{margin-right:4px;vertical-align:middle;width:12px;height:12px}@media only screen and (min-width: 1200px){:host{display:inline-block;position:initial}}:host::before,:host::after{content:\" \";width:1600px;height:1px;background-color:var(--color-gray-08);position:absolute;right:0;bottom:0}@media only screen and (min-width: 1200px){:host::before,:host::after{display:none}}:host::after{left:0;right:auto}:host .submenu-toggle{display:inline-block;color:var(--color-gray-03);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold);white-space:nowrap;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-03);margin-left:34%;position:relative;border:2px solid transparent;margin:-2px}:host .submenu-toggle::after{content:\"\";display:block;border-bottom:2px solid transparent;margin:auto;position:absolute;width:calc(100% - 20px);left:0;right:0;bottom:14px}@media only screen and (min-width: 1200px){:host .submenu-toggle::after{bottom:20px}}@media only screen and (min-width: 480px){:host .submenu-toggle{margin-left:38%}}@media only screen and (min-width: 768px){:host .submenu-toggle{margin-left:42%}}@media only screen and (min-width: 1200px){:host .submenu-toggle{padding:22px var(--ptc-element-spacing-03);margin-left:0;display:flex;align-items:center}}:host .submenu-toggle svg{margin-left:5px;margin-top:2px;vertical-align:middle;width:12px;height:12px}:host .submenu-toggle svg path{fill:var(--color-gray-04)}:host .submenu-toggle:hover{color:var(--color-white)}:host .submenu-toggle:hover::after{border-color:var(--color-white)}:host .submenu-toggle:hover svg path{fill:var(--color-white)}:host .submenu-toggle icon-asset{margin-right:8px}:host .submenu-toggle icon-asset svg{margin:0}:host .submenu-toggle:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .submenu-container{background-color:var(--color-gray-12)}@media only screen and (min-width: 1200px){:host .submenu-container{position:absolute;width:100%;right:0;left:0;top:64px;z-index:10}}:host .submenu-container .submenu-container-lg{max-width:1200px;margin:auto}@media only screen and (min-width: 992px){:host .submenu-container .submenu-container-lg{padding:0 32px}}:host ::slotted(ptc-nav-link:last-child)::before,:host ::slotted(ptc-nav-link:last-child)::after{display:none}:host .tracker-div{display:inline}:host(.short-dropdown) .submenu-container{text-align:center}@media only screen and (min-width: 1200px){:host(.short-dropdown) .submenu-container{width:initial;right:3%;left:initial;top:56px;z-index:1000}}:host(.short-dropdown) .submenu-container .submenu-container-lg{padding:0;width:auto;min-width:348px;display:flex;justify-content:space-evenly}:host(.active){padding-bottom:0}:host(.active) .submenu-toggle{color:var(--color-white);border-color:var(--color-white)}:host(.active) .submenu-toggle svg path{fill:var(--color-white)}:host(.active)::before,:host(.active)::after{display:none}:host(.active.short-dropdown) .back-btn{display:inline-block}@media only screen and (min-width: 1200px){:host(.active.short-dropdown) .back-btn{display:none}}.custom-icon{object-fit:cover;width:1.5rem;height:1.5rem}.custom-icon:hover{filter:brightness(0) invert(1)}.menu-right *{color:transparent !important}";
|
|
8
|
-
|
|
9
|
-
const PtcNavSubmenu = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.dropdownClickEvent = index.createEvent(this, "dropdownClickEvent", 7);
|
|
13
|
-
this.label = undefined;
|
|
14
|
-
this.iconAssetName = undefined;
|
|
15
|
-
this.iconSrc = undefined;
|
|
16
|
-
this.labelTrackerId = undefined;
|
|
17
|
-
this.dropdownTrackerId = undefined;
|
|
18
|
-
this.backBtnTrackerId = undefined;
|
|
19
|
-
}
|
|
20
|
-
calculateOffset() {
|
|
21
|
-
var dropdown = this.el.shadowRoot.querySelector('.submenu-container');
|
|
22
|
-
var container = this.el.closest('ptc-subnav');
|
|
23
|
-
if (dropdown && container) {
|
|
24
|
-
if (window.innerWidth >= 1200) {
|
|
25
|
-
let height = container.clientHeight;
|
|
26
|
-
if (height > 0) {
|
|
27
|
-
dropdown.style.top = `${height}px`;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
dropdown.style.top = '';
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
handleClick(event) {
|
|
36
|
-
this.calculateOffset();
|
|
37
|
-
setTimeout(() => {
|
|
38
|
-
this.dropdownClickEvent.emit(event);
|
|
39
|
-
}, 100);
|
|
40
|
-
}
|
|
41
|
-
render() {
|
|
42
|
-
return (index.h(index.Host, { class: `dropdown` }, index.h("div", { id: this.backBtnTrackerId, class: "tracker-div" }, index.h("span", { class: `back-btn` }, index.h("svg", { width: "10", height: "16", viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.97852 14.12L3.82515 8L9.97852 1.88L8.08414 -8.28059e-08L0.0229606 8L8.08414 16L9.97852 14.12Z", fill: "white" })), "Back")), index.h("span", { class: `submenu-toggle`, onClick: () => this.handleClick(this), onMouseOver: () => this.handleClick(this) }, this.iconAssetName &&
|
|
43
|
-
index.h("icon-asset", { type: "ptc", size: "xx-small", name: this.iconAssetName, color: "white" }), index.h("div", { id: this.labelTrackerId, class: "tracker-div" }, this.label), index.h("div", { id: this.dropdownTrackerId, class: "tracker-div" }, this.iconSrc &&
|
|
44
|
-
index.h("img", { src: this.iconSrc, alt: this.label, class: "custom-icon" }), !this.iconSrc &&
|
|
45
|
-
index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "white", class: "" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.2375 2.83325L7.5 8.60203L1.7625 2.83325L-7.76305e-08 4.60923L7.5 12.1666L15 4.60923L13.2375 2.83325Z", fill: "white" })))), index.h("div", { class: `submenu-container` }, index.h("div", { class: "submenu-container-lg" }, index.h("slot", null)))));
|
|
46
|
-
}
|
|
47
|
-
get el() { return index.getElement(this); }
|
|
48
|
-
};
|
|
49
|
-
PtcNavSubmenu.style = ptcNavSubmenuCss;
|
|
50
|
-
|
|
51
|
-
exports.ptc_nav_submenu = PtcNavSubmenu;
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const ptcStickySectionCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .stickyEl.sticky{top:0;position:fixed;width:100%;z-index:990;transition:top 0.5s}";
|
|
8
|
-
|
|
9
|
-
const PtcStickySection = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.hasPreloader = false;
|
|
13
|
-
}
|
|
14
|
-
componentDidLoad() {
|
|
15
|
-
if (document.querySelector('ptc-preloader-section')) {
|
|
16
|
-
this.hasPreloader = true;
|
|
17
|
-
this.el.setAttribute('has-preloader', 'true');
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
this.hasPreloader = false;
|
|
21
|
-
this.el.setAttribute('has-preloader', 'false');
|
|
22
|
-
}
|
|
23
|
-
if (this.stickyEl.classList.contains('sticky')) {
|
|
24
|
-
this.stickyEl.classList.remove('sticky');
|
|
25
|
-
}
|
|
26
|
-
let that = this;
|
|
27
|
-
if (this.hasPreloader) {
|
|
28
|
-
setTimeout(() => {
|
|
29
|
-
that.stickyEl = that.el.shadowRoot.querySelector('.stickyEl');
|
|
30
|
-
that.originalPosition = this.elPosition(that.stickyEl);
|
|
31
|
-
window.addEventListener('scroll', that.handleScroll);
|
|
32
|
-
}, 3100);
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
setTimeout(() => {
|
|
36
|
-
that.stickyEl = that.el.shadowRoot.querySelector('.stickyEl');
|
|
37
|
-
that.originalPosition = that.stickyEl.offsetTop;
|
|
38
|
-
window.addEventListener('scroll', that.handleScroll);
|
|
39
|
-
}, 1500);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
elPosition(element) {
|
|
43
|
-
const rect = element.getBoundingClientRect();
|
|
44
|
-
const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
|
|
45
|
-
return rect.top + scrollTop;
|
|
46
|
-
}
|
|
47
|
-
disconnectedCallback() {
|
|
48
|
-
window.removeEventListener('scroll', this.handleScroll);
|
|
49
|
-
}
|
|
50
|
-
handleScroll() {
|
|
51
|
-
if (this.stickyEl) {
|
|
52
|
-
if (window.scrollY > this.originalPosition) {
|
|
53
|
-
this.stickyEl.classList.add('sticky');
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
this.stickyEl.classList.remove('sticky');
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
handleResize() {
|
|
61
|
-
this.handleScroll();
|
|
62
|
-
}
|
|
63
|
-
render() {
|
|
64
|
-
return (index.h(index.Host, null, index.h("div", { class: "stickyEl", ref: el => (this.stickyEl = el) }, index.h("slot", null))));
|
|
65
|
-
}
|
|
66
|
-
get el() { return index.getElement(this); }
|
|
67
|
-
};
|
|
68
|
-
PtcStickySection.style = ptcStickySectionCss;
|
|
69
|
-
|
|
70
|
-
exports.ptc_sticky_section = PtcStickySection;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-63ddc79c.js');
|
|
6
|
-
|
|
7
|
-
const ptcSubnavCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;width:100%;background-color:var(--color-gray-12);z-index:990;position:relative}@media only screen and (min-width: 1200px){:host{background-color:var(--color-gray-10)}}:host .stickyEl.sticky{top:0;position:fixed;width:100%;z-index:990;transition:top 0.5s}:host .navbar{overflow-x:hidden}@media only screen and (min-width: 1200px){:host .navbar{overflow-x:visible}}:host .navbar .navbar-inner{max-width:1150px;margin:auto;box-sizing:border-box;padding:0px;display:none}@media (min-width: 1250px){:host .navbar .navbar-inner{max-width:1200px}}@media only screen and (min-width: 1200px){:host .navbar .navbar-inner{padding:0px;height:auto;display:block}}:host .navbar .navbar-inner .nav-wrapper{width:auto;margin:auto 0;min-width:163px;max-height:calc(100vh - 53px)}@media only screen and (min-width: 1200px){:host .navbar .navbar-inner .nav-wrapper{width:auto;display:flex;justify-content:space-between;max-height:auto}}:host .navbar.navOpen .navbar-inner{display:block}:host .navbar .navbar-toggle{display:block;width:100%;text-align:center;color:var(--color-white);background-color:var(--color-gray-10);border:none;padding:16px;font-size:15px;line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold)}:host .navbar .navbar-toggle svg{vertical-align:middle;margin-left:4px}@media only screen and (min-width: 1200px){:host .navbar .navbar-toggle{display:none}}";
|
|
8
|
-
|
|
9
|
-
const PtcSubnav = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.mobileTitle = 'See page topics';
|
|
13
|
-
this.navOpen = false;
|
|
14
|
-
}
|
|
15
|
-
toggleNav() {
|
|
16
|
-
this.navOpen = !this.navOpen;
|
|
17
|
-
}
|
|
18
|
-
handleScroll() {
|
|
19
|
-
let elem = this.el.shadowRoot.querySelector('div.sticky-subnav');
|
|
20
|
-
if (elem) {
|
|
21
|
-
elem.classList.remove('sticky');
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
handleNavLinkClickedEvent() {
|
|
25
|
-
//console.log('link clicked');
|
|
26
|
-
this.toggleNav();
|
|
27
|
-
}
|
|
28
|
-
render() {
|
|
29
|
-
return (index.h(index.Host, null, index.h("div", { class: "sticky-subnav" }, index.h("nav", { class: `navbar ${this.navOpen ? 'navOpen' : ''}` }, index.h("button", { class: "navbar-toggle", onClick: () => {
|
|
30
|
-
this.toggleNav();
|
|
31
|
-
} }, this.mobileTitle, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "white", class: "" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.2375 2.83325L7.5 8.60203L1.7625 2.83325L-7.76305e-08 4.60923L7.5 12.1666L15 4.60923L13.2375 2.83325Z", fill: "white" }))), index.h("div", { class: "navbar-inner" }, index.h("div", { class: "nav-wrapper" }, index.h("slot", { name: "subnav-menu-left" }), index.h("slot", { name: "subnav-menu-right" })))))));
|
|
32
|
-
}
|
|
33
|
-
get el() { return index.getElement(this); }
|
|
34
|
-
};
|
|
35
|
-
PtcSubnav.style = ptcSubnavCss;
|
|
36
|
-
|
|
37
|
-
exports.ptc_subnav = PtcSubnav;
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const ValidationMessages = {
|
|
4
|
-
de: {
|
|
5
|
-
required: 'Dieses Feld ist erforderlich.',
|
|
6
|
-
select: 'Bitte wählen Sie einen Wert.',
|
|
7
|
-
firstname: 'Bitte überprüfen Sie Ihren Vornamen.',
|
|
8
|
-
lastname: 'Bitte überprüfen Sie Ihren Nachnamen.',
|
|
9
|
-
validemail: 'Bitte geben Sie eine gültige E-Mail-Adresse ein.',
|
|
10
|
-
email: 'Bitte geben Sie eine gültige E-Mail-Adresse ein.',
|
|
11
|
-
companyemail: 'Bitte geben Sie eine Firmen-E-Mail-Adresse ein.',
|
|
12
|
-
tel: 'Telefonnummer ist erforderlich.',
|
|
13
|
-
validtel: 'Bitte geben Sie eine gültige Telefonnummer ein.',
|
|
14
|
-
confirmemail: "E-Mail-Adressen müssen übereinstimmen."
|
|
15
|
-
},
|
|
16
|
-
en: {
|
|
17
|
-
required: 'This field is required.',
|
|
18
|
-
select: 'Please select a value.',
|
|
19
|
-
firstname: 'Please check your firstname.',
|
|
20
|
-
lastname: 'Please check your lastname.',
|
|
21
|
-
validemail: 'Please enter a valid email.',
|
|
22
|
-
email: 'Email is required.',
|
|
23
|
-
companyemail: 'Please enter a company email.',
|
|
24
|
-
tel: 'Telephone number is required.',
|
|
25
|
-
validtel: 'Please enter a valid telephone number',
|
|
26
|
-
confirmemail: 'Email addresses must match.'
|
|
27
|
-
},
|
|
28
|
-
fr: {
|
|
29
|
-
required: 'Ce champ est obligatoire.',
|
|
30
|
-
select: 'Veuillez sélectionner une valeur.',
|
|
31
|
-
firstname: 'Veuillez vérifier votre prénom.',
|
|
32
|
-
lastname: 'Veuillez vérifier votre nom de famille.',
|
|
33
|
-
validemail: 'Veuillez saisir une adresse e-mail valide.',
|
|
34
|
-
email: 'Adresse e-mail requise.',
|
|
35
|
-
companyemail: 'Veuillez saisir une adresse e-mail professionnelle.',
|
|
36
|
-
tel: 'Numéro de téléphone requis.',
|
|
37
|
-
validtel: 'Veuillez saisir un numéro de téléphone valide.',
|
|
38
|
-
confirmemail: 'Les adresses e-mail doivent correspondre.'
|
|
39
|
-
},
|
|
40
|
-
ko: {
|
|
41
|
-
required: '이 필드는 필수입니다.',
|
|
42
|
-
select: '값을 선택해 주세요.',
|
|
43
|
-
firstname: '이름을 확인해 주세요.',
|
|
44
|
-
lastname: '성을 확인해 주세요.',
|
|
45
|
-
validemail: '유효한 이메일 주소를 입력해 주세요.',
|
|
46
|
-
email: '이메일 주소가 필요합니다.',
|
|
47
|
-
companyemail: '회사 이메일을 입력해 주세요.',
|
|
48
|
-
tel: '전화번호가 필요합니다.',
|
|
49
|
-
validtel: '유효한 전화번호를 입력해 주세요.',
|
|
50
|
-
confirmemail: "이메일 주소가 일치해야 합니다"
|
|
51
|
-
},
|
|
52
|
-
pt: {
|
|
53
|
-
required: 'Este campo é obrigatório.',
|
|
54
|
-
select: 'Por favor, selecione um valor.',
|
|
55
|
-
firstname: 'Por favor, verifique seu primeiro nome.',
|
|
56
|
-
lastname: 'Por favor, verifique seu sobrenome.',
|
|
57
|
-
validemail: 'Por favor, insira um endereço de e-mail válido.',
|
|
58
|
-
email: 'Endereço de e-mail é obrigatório.',
|
|
59
|
-
companyemail: 'Por favor, insira um e-mail da empresa.',
|
|
60
|
-
tel: 'Número de telefone é obrigatório.',
|
|
61
|
-
validtel: 'Por favor, insira um número de telefone válido.',
|
|
62
|
-
confirmemail: 'Os endereços de e-mail devem corresponder.'
|
|
63
|
-
},
|
|
64
|
-
cn: {
|
|
65
|
-
required: '此字段为必填项。',
|
|
66
|
-
select: '请选择一个值。',
|
|
67
|
-
firstname: '请检查您的名字。',
|
|
68
|
-
lastname: '请检查您的姓氏。',
|
|
69
|
-
validemail: '请输入有效的电子邮件地址。',
|
|
70
|
-
email: '需要电子邮件地址。',
|
|
71
|
-
companyemail: '请输入公司电子邮件。',
|
|
72
|
-
tel: '需要电话号码。',
|
|
73
|
-
validtel: '请输入有效的电话号码。',
|
|
74
|
-
confirmemail: '电子邮件地址必须匹配。'
|
|
75
|
-
},
|
|
76
|
-
tw: {
|
|
77
|
-
required: '此欄位為必填。',
|
|
78
|
-
select: '請選擇一個值。',
|
|
79
|
-
firstname: '請檢查您的名字。',
|
|
80
|
-
lastname: '請檢查您的姓氏。',
|
|
81
|
-
validemail: '請輸入有效的電子郵件地址。',
|
|
82
|
-
email: '需要電子郵件地址。',
|
|
83
|
-
companyemail: '請輸入公司電子郵件。',
|
|
84
|
-
tel: '需要電話號碼。',
|
|
85
|
-
validtel: '請輸入有效的電話號碼。',
|
|
86
|
-
confirmemail: '電子郵件地址必須匹配。'
|
|
87
|
-
},
|
|
88
|
-
ja: {
|
|
89
|
-
required: 'このフィールドは必須です。',
|
|
90
|
-
select: '値を選択してください。',
|
|
91
|
-
firstname: '名前を確認してください。',
|
|
92
|
-
lastname: '苗字を確認してください。',
|
|
93
|
-
validemail: '有効なメールアドレスを入力してください。',
|
|
94
|
-
email: 'メールアドレスが必要です。',
|
|
95
|
-
companyemail: '会社のメールアドレスを入力してください。',
|
|
96
|
-
tel: '電話番号が必要です。',
|
|
97
|
-
validtel: '有効な電話番号を入力してください。',
|
|
98
|
-
confirmemail: 'メールアドレスが一致する必要があります。'
|
|
99
|
-
},
|
|
100
|
-
it: {
|
|
101
|
-
required: 'Questo campo è obbligatorio.',
|
|
102
|
-
select: 'Si prega di selezionare un valore.',
|
|
103
|
-
firstname: 'Si prega di controllare il proprio nome.',
|
|
104
|
-
lastname: 'Si prega di controllare il proprio cognome.',
|
|
105
|
-
validemail: 'Si prega di inserire un indirizzo email valido.',
|
|
106
|
-
email: "L'indirizzo email è richiesto.",
|
|
107
|
-
companyemail: "Si prega di inserire un'email aziendale.",
|
|
108
|
-
tel: 'È richiesto un numero di telefono.',
|
|
109
|
-
validtel: 'Si prega di inserire un numero di telefono valido.',
|
|
110
|
-
confirmemail: 'Gli indirizzi email devono corrispondere.'
|
|
111
|
-
},
|
|
112
|
-
es: {
|
|
113
|
-
required: 'Por favor introduce un valor.',
|
|
114
|
-
select: 'Por favor seleccione un valor.',
|
|
115
|
-
firstname: 'Por favor verifique su nombre.',
|
|
116
|
-
lastname: 'Por favor verifique su apellido.',
|
|
117
|
-
validemail: 'Por favor introduzca un correo válido.',
|
|
118
|
-
email: "Se requiere un correo electrónico.",
|
|
119
|
-
companyemail: "Por favor introduzca un correo de empresa.",
|
|
120
|
-
tel: 'Se requiere un número de teléfono.',
|
|
121
|
-
validtel: 'Por favor introduzca un número de teléfono válido.',
|
|
122
|
-
confirmemail: 'Los correos electrónicos deben coincidir.'
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
|
|
126
|
-
exports.ValidationMessages = ValidationMessages;
|