@ptcwebops/ptcw-design 2.5.7 → 2.6.0
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/author-listing-example.cjs.entry.js +1 -1
- package/dist/cjs/bundle-example.cjs.entry.js +1 -1
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +1 -1
- package/dist/cjs/{core-1951cc85.js → core-332e5461.js} +29 -91
- package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +1 -1
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +1 -1
- package/dist/cjs/{index-dddc2aea.js → index-1662de74.js} +1 -72
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/list-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/max-width-container.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/{pagination-d20b7968.js → pagination-8d9d474d.js} +6 -24
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/ptc-accordion.cjs.entry.js +1 -1
- package/dist/cjs/ptc-announcement.cjs.entry.js +1 -1
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-content.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +6 -15
- package/dist/cjs/ptc-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-container.cjs.entry.js +1 -1
- package/dist/cjs/ptc-date.cjs.entry.js +1 -1
- package/dist/cjs/ptc-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +1 -1
- package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +1 -1
- package/dist/cjs/ptc-hero.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-component.cjs.entry.js +3 -3
- package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +1 -1
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +1 -1
- package/dist/cjs/ptc-img.cjs.entry.js +1 -1
- package/dist/cjs/ptc-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +1 -1
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +86 -104
- package/dist/cjs/ptc-modal.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-link.cjs.entry.js +2 -2
- package/dist/cjs/ptc-nav-pills.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +3 -3
- package/dist/cjs/ptc-news.cjs.entry.js +1 -1
- package/dist/cjs/ptc-overlay.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pagenation.cjs.entry.js +1 -1
- package/dist/cjs/ptc-para.cjs.entry.js +1 -1
- package/dist/cjs/ptc-picture.cjs.entry.js +1 -1
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-table.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ptc-quiz.cjs.entry.js +17 -7
- package/dist/cjs/ptc-quote.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore.cjs.entry.js +1 -1
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +1 -1
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/ptc-search-field.cjs.entry.js +1 -1
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +1 -1
- package/dist/cjs/ptc-slit-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-social-share.cjs.entry.js +1 -1
- package/dist/cjs/ptc-spacer.cjs.entry.js +1 -1
- package/dist/cjs/ptc-span.cjs.entry.js +1 -1
- package/dist/cjs/ptc-square-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +1 -1
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +1 -1
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav.cjs.entry.js +2 -2
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tab-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tab.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-title.cjs.entry.js +1 -1
- package/dist/cjs/ptc-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +3 -3
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +2 -2
- package/dist/cjs/sequential-bundle.cjs.entry.js +2 -2
- package/dist/cjs/tab-content.cjs.entry.js +1 -1
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +2 -2
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +2 -2
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +2 -2
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +2 -7
- package/dist/collection/components/ptc-quiz/ptc-quiz.js +54 -7
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +19 -4
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +24 -49
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +1 -1
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +12 -28
- package/dist/custom-elements/index.js +143 -240
- package/dist/esm/author-listing-example.entry.js +1 -1
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/{core-209a2c67.js → core-73ab4867.js} +29 -91
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +1 -1
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/fl-tab-content_3.entry.js +1 -1
- package/dist/esm/icon-asset.entry.js +1 -1
- package/dist/esm/{index-8db28d54.js → index-22a84644.js} +1 -72
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/max-width-container.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/{pagination-3ddf3057.js → pagination-902de0b2.js} +6 -24
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +1 -1
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/ptc-breadcrumb_2.entry.js +1 -1
- package/dist/esm/ptc-button.entry.js +1 -1
- package/dist/esm/ptc-card-bottom_3.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/ptc-card.entry.js +1 -1
- package/dist/esm/ptc-case-studies-slider.entry.js +6 -15
- package/dist/esm/ptc-checkbox.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-container.entry.js +1 -1
- 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-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-tag.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-icon-component.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/ptc-link.entry.js +1 -1
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-minimized-nav.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +86 -104
- package/dist/esm/ptc-modal.entry.js +1 -1
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +2 -2
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +3 -3
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-pagenation.entry.js +1 -1
- package/dist/esm/ptc-para.entry.js +1 -1
- package/dist/esm/ptc-picture.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +1 -1
- 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-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- package/dist/esm/ptc-product-card.entry.js +1 -1
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-dropdown.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- 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-quiz.entry.js +17 -7
- package/dist/esm/ptc-quote.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- 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-search-field.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +1 -1
- package/dist/esm/ptc-slit-card.entry.js +1 -1
- package/dist/esm/ptc-social-share.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 +2 -2
- 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-title.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-prop-card.entry.js +1 -1
- package/dist/esm/ptcw-design.js +4 -4
- package/dist/esm/sequential-bundle-example.entry.js +2 -2
- package/dist/esm/sequential-bundle.entry.js +2 -2
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/ptcw-design/{p-75b447c8.entry.js → p-0074d97c.entry.js} +1 -1
- package/dist/ptcw-design/{p-5ad17a7a.entry.js → p-029f9072.entry.js} +1 -1
- package/dist/ptcw-design/{p-298fd719.entry.js → p-0532c37c.entry.js} +1 -1
- package/dist/ptcw-design/{p-af7e6116.entry.js → p-056b652a.entry.js} +1 -1
- package/dist/ptcw-design/{p-f5d52d72.entry.js → p-10254985.entry.js} +1 -1
- package/dist/ptcw-design/{p-c9dc2627.entry.js → p-102ee83c.entry.js} +1 -1
- package/dist/ptcw-design/{p-48ca3aae.entry.js → p-110cd4a4.entry.js} +1 -1
- package/dist/ptcw-design/{p-445c9b3d.entry.js → p-12acb46f.entry.js} +1 -1
- package/dist/ptcw-design/{p-019ee040.entry.js → p-15e08cba.entry.js} +1 -1
- package/dist/ptcw-design/{p-066dc775.entry.js → p-17fd5641.entry.js} +1 -1
- package/dist/ptcw-design/{p-9789d2c9.entry.js → p-189c7c5a.entry.js} +1 -1
- package/dist/ptcw-design/{p-06b9d7b1.entry.js → p-1b972064.entry.js} +1 -1
- package/dist/ptcw-design/{p-2dcdfa2e.entry.js → p-1fc3d43a.entry.js} +1 -1
- package/dist/ptcw-design/{p-d260581f.entry.js → p-2254e000.entry.js} +1 -1
- package/dist/ptcw-design/{p-bb3cc915.entry.js → p-26f31be6.entry.js} +1 -1
- package/dist/ptcw-design/{p-4feef7ca.entry.js → p-27807bb0.entry.js} +1 -1
- package/dist/ptcw-design/{p-38bee38d.entry.js → p-2893f405.entry.js} +1 -1
- package/dist/ptcw-design/{p-e54969bf.entry.js → p-2ba6bbbe.entry.js} +1 -1
- package/dist/ptcw-design/{p-f1b1f381.entry.js → p-2fed7a6f.entry.js} +1 -1
- package/dist/ptcw-design/{p-a9c8a262.entry.js → p-30feb059.entry.js} +1 -1
- package/dist/ptcw-design/{p-d67d6edd.entry.js → p-31c33a18.entry.js} +1 -1
- package/dist/ptcw-design/{p-fad09b46.entry.js → p-3b8731e6.entry.js} +1 -1
- package/dist/ptcw-design/{p-3fb0f45c.entry.js → p-3ed0384d.entry.js} +1 -1
- package/dist/ptcw-design/{p-a454efc5.entry.js → p-3f368d6d.entry.js} +1 -1
- package/dist/ptcw-design/{p-288cb98d.entry.js → p-4097a036.entry.js} +1 -1
- package/dist/ptcw-design/p-47910a67.entry.js +1 -0
- package/dist/ptcw-design/{p-fac62124.entry.js → p-507ab0b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-968bbb76.entry.js → p-515f4332.entry.js} +1 -1
- package/dist/ptcw-design/p-553d840a.js +1 -0
- package/dist/ptcw-design/{p-635dbbec.entry.js → p-56da9ecd.entry.js} +1 -1
- package/dist/ptcw-design/{p-4df60a5d.entry.js → p-57bb43ab.entry.js} +1 -1
- package/dist/ptcw-design/{p-62d3f225.entry.js → p-58291e3a.entry.js} +1 -1
- package/dist/ptcw-design/{p-f13fc300.entry.js → p-58edb316.entry.js} +1 -1
- package/dist/ptcw-design/{p-39bf1649.entry.js → p-59ac682d.entry.js} +1 -1
- package/dist/ptcw-design/{p-b9b30024.entry.js → p-5c47361e.entry.js} +1 -1
- package/dist/ptcw-design/{p-5c2c4b3e.entry.js → p-5f69e216.entry.js} +1 -1
- package/dist/ptcw-design/{p-bd3b4619.entry.js → p-63147b0a.entry.js} +1 -1
- package/dist/ptcw-design/{p-c20bea66.entry.js → p-63f811ec.entry.js} +1 -1
- package/dist/ptcw-design/{p-60618056.entry.js → p-6449418a.entry.js} +1 -1
- package/dist/ptcw-design/{p-10371e08.entry.js → p-689f0741.entry.js} +1 -1
- package/dist/ptcw-design/{p-f4b66bf5.entry.js → p-6a4bb3e8.entry.js} +1 -1
- package/dist/ptcw-design/{p-b4602b1d.entry.js → p-6a5bc275.entry.js} +1 -1
- package/dist/ptcw-design/{p-808544d7.entry.js → p-6aba5f8f.entry.js} +1 -1
- package/dist/ptcw-design/{p-dbb7b2a3.entry.js → p-6b1d18b1.entry.js} +1 -1
- package/dist/ptcw-design/{p-57085c86.entry.js → p-6e11536e.entry.js} +1 -1
- package/dist/ptcw-design/p-704456f9.entry.js +1 -0
- package/dist/ptcw-design/{p-f31d817a.entry.js → p-726a8b6f.entry.js} +1 -1
- package/dist/ptcw-design/{p-4eeafd49.entry.js → p-75b17a66.entry.js} +1 -1
- package/dist/ptcw-design/{p-dda9d065.entry.js → p-777fb495.entry.js} +1 -1
- package/dist/ptcw-design/{p-8a1a1bfb.entry.js → p-77f5cf02.entry.js} +1 -1
- package/dist/ptcw-design/{p-bdfc9555.entry.js → p-7ea29d34.entry.js} +1 -1
- package/dist/ptcw-design/{p-34764ee6.entry.js → p-804fa554.entry.js} +1 -1
- package/dist/ptcw-design/{p-75247100.entry.js → p-84d3f4fa.entry.js} +1 -1
- package/dist/ptcw-design/{p-7e9e0d37.entry.js → p-85145672.entry.js} +1 -1
- package/dist/ptcw-design/p-859a249e.entry.js +1 -0
- package/dist/ptcw-design/p-909d5ec8.entry.js +1 -0
- package/dist/ptcw-design/{p-674aef18.entry.js → p-95198d5f.entry.js} +1 -1
- package/dist/ptcw-design/{p-82b05238.entry.js → p-9817c40a.entry.js} +1 -1
- package/dist/ptcw-design/{p-6c09bbbc.entry.js → p-98b6cb94.entry.js} +1 -1
- package/dist/ptcw-design/{p-ec0873bd.entry.js → p-99457ebb.entry.js} +1 -1
- package/dist/ptcw-design/{p-868a420c.entry.js → p-9a71ca13.entry.js} +1 -1
- package/dist/ptcw-design/{p-6f8455b5.entry.js → p-9d681abc.entry.js} +1 -1
- package/dist/ptcw-design/{p-97384e6a.entry.js → p-9e3b390e.entry.js} +1 -1
- package/dist/ptcw-design/{p-a42f8bf2.entry.js → p-9efd9a5b.entry.js} +1 -1
- package/dist/ptcw-design/{p-5077de84.entry.js → p-a35d9668.entry.js} +1 -1
- package/dist/ptcw-design/{p-7192afeb.entry.js → p-a417df03.entry.js} +1 -1
- package/dist/ptcw-design/{p-3699e569.entry.js → p-a7f9aa80.entry.js} +1 -1
- package/dist/ptcw-design/{p-af95ae7e.entry.js → p-aa1cd855.entry.js} +1 -1
- package/dist/ptcw-design/{p-9ca64d6f.entry.js → p-ac63caae.entry.js} +1 -1
- package/dist/ptcw-design/{p-c1025cf9.entry.js → p-ad234f99.entry.js} +1 -1
- package/dist/ptcw-design/{p-97bf50a0.entry.js → p-ad401696.entry.js} +1 -1
- package/dist/ptcw-design/{p-1e4bc8b4.entry.js → p-bb5c0997.entry.js} +1 -1
- package/dist/ptcw-design/{p-079b6721.entry.js → p-bd470a7a.entry.js} +1 -1
- package/dist/ptcw-design/p-be8db2b7.entry.js +1 -0
- package/dist/ptcw-design/{p-3d14bf07.entry.js → p-bf47669c.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f82a06c.entry.js → p-bf808180.entry.js} +1 -1
- package/dist/ptcw-design/{p-e1b02d51.entry.js → p-c249785a.entry.js} +1 -1
- package/dist/ptcw-design/{p-0ae005de.entry.js → p-c49293f0.entry.js} +1 -1
- package/dist/ptcw-design/{p-06c13601.entry.js → p-c5df36ad.entry.js} +1 -1
- package/dist/ptcw-design/{p-69ab00c6.entry.js → p-c7ae0a57.entry.js} +1 -1
- package/dist/ptcw-design/{p-8a9d1f65.entry.js → p-cda3854b.entry.js} +1 -1
- package/dist/ptcw-design/{p-ce9fbcda.entry.js → p-cef9cf82.entry.js} +1 -1
- package/dist/ptcw-design/{p-3e5fb8c3.entry.js → p-cf1005f9.entry.js} +1 -1
- package/dist/ptcw-design/{p-22e77c7c.entry.js → p-d0bb26ab.entry.js} +1 -1
- package/dist/ptcw-design/p-d100f115.js +1 -0
- package/dist/ptcw-design/{p-2c7d84dd.entry.js → p-d3c22e96.entry.js} +1 -1
- package/dist/ptcw-design/{p-058a518e.entry.js → p-d72c0973.entry.js} +1 -1
- package/dist/ptcw-design/{p-736529b8.entry.js → p-dc10f54e.entry.js} +1 -1
- package/dist/ptcw-design/{p-25195807.entry.js → p-dc5e5116.entry.js} +1 -1
- package/dist/ptcw-design/{p-a6c1acb8.entry.js → p-dc748f00.entry.js} +1 -1
- package/dist/ptcw-design/{p-7ff45a5c.entry.js → p-df0aa310.entry.js} +1 -1
- package/dist/ptcw-design/{p-f8b1f507.entry.js → p-e1dd94a9.entry.js} +1 -1
- package/dist/ptcw-design/{p-e9635f81.entry.js → p-e312626a.entry.js} +1 -1
- package/dist/ptcw-design/{p-b4f034ff.entry.js → p-e8ba44ba.entry.js} +1 -1
- package/dist/ptcw-design/{p-38fb1625.entry.js → p-e8cd5994.entry.js} +1 -1
- package/dist/ptcw-design/{p-c07609da.entry.js → p-e8d9a19f.entry.js} +1 -1
- package/dist/ptcw-design/{p-9d477cbd.entry.js → p-eb65dacf.entry.js} +1 -1
- package/dist/ptcw-design/{p-bbc6cb14.entry.js → p-ee20170a.entry.js} +1 -1
- package/dist/ptcw-design/{p-5f4b2077.entry.js → p-f6cf3eea.entry.js} +1 -1
- package/dist/ptcw-design/{p-e24f0892.entry.js → p-f6dfc55e.entry.js} +1 -1
- package/dist/ptcw-design/{p-bae3e7df.entry.js → p-f97fc3fd.entry.js} +1 -1
- package/dist/ptcw-design/p-fd6d40c3.entry.js +1 -0
- package/dist/ptcw-design/{p-9f014fd3.entry.js → p-fe85ac05.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-quiz/ptc-quiz.d.ts +7 -7
- package/dist/types/components.d.ts +13 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -11
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/ptcw-design/p-0fc282f5.js +0 -1
- package/dist/ptcw-design/p-213cbb37.entry.js +0 -1
- package/dist/ptcw-design/p-6345e289.entry.js +0 -1
- package/dist/ptcw-design/p-658ad2de.entry.js +0 -1
- package/dist/ptcw-design/p-813a2a19.entry.js +0 -1
- package/dist/ptcw-design/p-8ae8454b.entry.js +0 -1
- package/dist/ptcw-design/p-8d3eca73.entry.js +0 -1
- package/dist/ptcw-design/p-e428e6d9.js +0 -1
- /package/dist/ptcw-design/{p-dc4da4a5.js → p-ce0e4c5c.js} +0 -0
|
@@ -1849,7 +1849,7 @@ function calcSupport() {
|
|
|
1849
1849
|
const window = getWindow();
|
|
1850
1850
|
const document = getDocument();
|
|
1851
1851
|
return {
|
|
1852
|
-
smoothScroll: document.documentElement &&
|
|
1852
|
+
smoothScroll: document.documentElement && 'scrollBehavior' in document.documentElement.style,
|
|
1853
1853
|
touch: !!('ontouchstart' in window || window.DocumentTouch && document instanceof window.DocumentTouch)
|
|
1854
1854
|
};
|
|
1855
1855
|
}
|
|
@@ -2257,8 +2257,6 @@ function updateSlides() {
|
|
|
2257
2257
|
}
|
|
2258
2258
|
if (typeof spaceBetween === 'string' && spaceBetween.indexOf('%') >= 0) {
|
|
2259
2259
|
spaceBetween = parseFloat(spaceBetween.replace('%', '')) / 100 * swiperSize;
|
|
2260
|
-
} else if (typeof spaceBetween === 'string') {
|
|
2261
|
-
spaceBetween = parseFloat(spaceBetween);
|
|
2262
2260
|
}
|
|
2263
2261
|
swiper.virtualSize = -spaceBetween;
|
|
2264
2262
|
|
|
@@ -2368,10 +2366,10 @@ function updateSlides() {
|
|
|
2368
2366
|
}
|
|
2369
2367
|
swiper.virtualSize = Math.max(swiper.virtualSize, swiperSize) + offsetAfter;
|
|
2370
2368
|
if (rtl && wrongRTL && (params.effect === 'slide' || params.effect === 'coverflow')) {
|
|
2371
|
-
wrapperEl.style.width = `${swiper.virtualSize + spaceBetween}px`;
|
|
2369
|
+
wrapperEl.style.width = `${swiper.virtualSize + params.spaceBetween}px`;
|
|
2372
2370
|
}
|
|
2373
2371
|
if (params.setWrapperSize) {
|
|
2374
|
-
wrapperEl.style[getDirectionLabel('width')] = `${swiper.virtualSize + spaceBetween}px`;
|
|
2372
|
+
wrapperEl.style[getDirectionLabel('width')] = `${swiper.virtualSize + params.spaceBetween}px`;
|
|
2375
2373
|
}
|
|
2376
2374
|
if (gridEnabled) {
|
|
2377
2375
|
swiper.grid.updateWrapperSize(slideSize, snapGrid, getDirectionLabel);
|
|
@@ -2410,7 +2408,7 @@ function updateSlides() {
|
|
|
2410
2408
|
}
|
|
2411
2409
|
}
|
|
2412
2410
|
if (snapGrid.length === 0) snapGrid = [0];
|
|
2413
|
-
if (spaceBetween !== 0) {
|
|
2411
|
+
if (params.spaceBetween !== 0) {
|
|
2414
2412
|
const key = swiper.isHorizontal() && rtl ? 'marginLeft' : getDirectionLabel('marginRight');
|
|
2415
2413
|
slides.filter((_, slideIndex) => {
|
|
2416
2414
|
if (!params.cssMode || params.loop) return true;
|
|
@@ -2425,9 +2423,9 @@ function updateSlides() {
|
|
|
2425
2423
|
if (params.centeredSlides && params.centeredSlidesBounds) {
|
|
2426
2424
|
let allSlidesSize = 0;
|
|
2427
2425
|
slidesSizesGrid.forEach(slideSizeValue => {
|
|
2428
|
-
allSlidesSize += slideSizeValue + (spaceBetween
|
|
2426
|
+
allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);
|
|
2429
2427
|
});
|
|
2430
|
-
allSlidesSize -= spaceBetween;
|
|
2428
|
+
allSlidesSize -= params.spaceBetween;
|
|
2431
2429
|
const maxSnap = allSlidesSize - swiperSize;
|
|
2432
2430
|
snapGrid = snapGrid.map(snap => {
|
|
2433
2431
|
if (snap < 0) return -offsetBefore;
|
|
@@ -2438,9 +2436,9 @@ function updateSlides() {
|
|
|
2438
2436
|
if (params.centerInsufficientSlides) {
|
|
2439
2437
|
let allSlidesSize = 0;
|
|
2440
2438
|
slidesSizesGrid.forEach(slideSizeValue => {
|
|
2441
|
-
allSlidesSize += slideSizeValue + (spaceBetween
|
|
2439
|
+
allSlidesSize += slideSizeValue + (params.spaceBetween ? params.spaceBetween : 0);
|
|
2442
2440
|
});
|
|
2443
|
-
allSlidesSize -= spaceBetween;
|
|
2441
|
+
allSlidesSize -= params.spaceBetween;
|
|
2444
2442
|
if (allSlidesSize < swiperSize) {
|
|
2445
2443
|
const allSlidesOffset = (swiperSize - allSlidesSize) / 2;
|
|
2446
2444
|
snapGrid.forEach((snap, snapIndex) => {
|
|
@@ -2502,7 +2500,7 @@ function updateAutoHeight(speed) {
|
|
|
2502
2500
|
}
|
|
2503
2501
|
const getSlideByIndex = index => {
|
|
2504
2502
|
if (isVirtual) {
|
|
2505
|
-
return swiper.
|
|
2503
|
+
return swiper.getSlideIndexByData(index);
|
|
2506
2504
|
}
|
|
2507
2505
|
return swiper.slides[index];
|
|
2508
2506
|
};
|
|
@@ -2541,7 +2539,7 @@ function updateSlidesOffset() {
|
|
|
2541
2539
|
// eslint-disable-next-line
|
|
2542
2540
|
const minusOffset = swiper.isElement ? swiper.isHorizontal() ? swiper.wrapperEl.offsetLeft : swiper.wrapperEl.offsetTop : 0;
|
|
2543
2541
|
for (let i = 0; i < slides.length; i += 1) {
|
|
2544
|
-
slides[i].swiperSlideOffset = (swiper.isHorizontal() ? slides[i].offsetLeft : slides[i].offsetTop) - minusOffset
|
|
2542
|
+
slides[i].swiperSlideOffset = (swiper.isHorizontal() ? slides[i].offsetLeft : slides[i].offsetTop) - minusOffset;
|
|
2545
2543
|
}
|
|
2546
2544
|
}
|
|
2547
2545
|
|
|
@@ -2564,20 +2562,14 @@ function updateSlidesProgress(translate = this && this.translate || 0) {
|
|
|
2564
2562
|
});
|
|
2565
2563
|
swiper.visibleSlidesIndexes = [];
|
|
2566
2564
|
swiper.visibleSlides = [];
|
|
2567
|
-
let spaceBetween = params.spaceBetween;
|
|
2568
|
-
if (typeof spaceBetween === 'string' && spaceBetween.indexOf('%') >= 0) {
|
|
2569
|
-
spaceBetween = parseFloat(spaceBetween.replace('%', '')) / 100 * swiper.size;
|
|
2570
|
-
} else if (typeof spaceBetween === 'string') {
|
|
2571
|
-
spaceBetween = parseFloat(spaceBetween);
|
|
2572
|
-
}
|
|
2573
2565
|
for (let i = 0; i < slides.length; i += 1) {
|
|
2574
2566
|
const slide = slides[i];
|
|
2575
2567
|
let slideOffset = slide.swiperSlideOffset;
|
|
2576
2568
|
if (params.cssMode && params.centeredSlides) {
|
|
2577
2569
|
slideOffset -= slides[0].swiperSlideOffset;
|
|
2578
2570
|
}
|
|
2579
|
-
const slideProgress = (offsetCenter + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + spaceBetween);
|
|
2580
|
-
const originalSlideProgress = (offsetCenter - snapGrid[0] + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + spaceBetween);
|
|
2571
|
+
const slideProgress = (offsetCenter + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);
|
|
2572
|
+
const originalSlideProgress = (offsetCenter - snapGrid[0] + (params.centeredSlides ? swiper.minTranslate() : 0) - slideOffset) / (slide.swiperSlideSize + params.spaceBetween);
|
|
2581
2573
|
const slideBefore = -(offsetCenter - slideOffset);
|
|
2582
2574
|
const slideAfter = slideBefore + swiper.slidesSizesGrid[i];
|
|
2583
2575
|
const isVisible = slideBefore >= 0 && slideBefore < swiper.size - 1 || slideAfter > 1 && slideAfter <= swiper.size || slideBefore <= 0 && slideAfter >= swiper.size;
|
|
@@ -2706,41 +2698,6 @@ function updateSlidesClasses() {
|
|
|
2706
2698
|
swiper.emitSlidesClasses();
|
|
2707
2699
|
}
|
|
2708
2700
|
|
|
2709
|
-
const processLazyPreloader = (swiper, imageEl) => {
|
|
2710
|
-
if (!swiper || swiper.destroyed || !swiper.params) return;
|
|
2711
|
-
const slideSelector = () => swiper.isElement ? `swiper-slide` : `.${swiper.params.slideClass}`;
|
|
2712
|
-
const slideEl = imageEl.closest(slideSelector());
|
|
2713
|
-
if (slideEl) {
|
|
2714
|
-
const lazyEl = slideEl.querySelector(`.${swiper.params.lazyPreloaderClass}`);
|
|
2715
|
-
if (lazyEl) lazyEl.remove();
|
|
2716
|
-
}
|
|
2717
|
-
};
|
|
2718
|
-
const unlazy = (swiper, index) => {
|
|
2719
|
-
if (!swiper.slides[index]) return;
|
|
2720
|
-
const imageEl = swiper.slides[index].querySelector('[loading="lazy"]');
|
|
2721
|
-
if (imageEl) imageEl.removeAttribute('loading');
|
|
2722
|
-
};
|
|
2723
|
-
const preload = swiper => {
|
|
2724
|
-
if (!swiper || swiper.destroyed || !swiper.params) return;
|
|
2725
|
-
let amount = swiper.params.lazyPreloadPrevNext;
|
|
2726
|
-
const len = swiper.slides.length;
|
|
2727
|
-
if (!len || !amount || amount < 0) return;
|
|
2728
|
-
amount = Math.min(amount, len);
|
|
2729
|
-
const slidesPerView = swiper.params.slidesPerView === 'auto' ? swiper.slidesPerViewDynamic() : Math.ceil(swiper.params.slidesPerView);
|
|
2730
|
-
const activeIndex = swiper.activeIndex;
|
|
2731
|
-
const slideIndexLastInView = activeIndex + slidesPerView - 1;
|
|
2732
|
-
if (swiper.params.rewind) {
|
|
2733
|
-
for (let i = activeIndex - amount; i <= slideIndexLastInView + amount; i += 1) {
|
|
2734
|
-
const realIndex = (i % len + len) % len;
|
|
2735
|
-
if (realIndex !== activeIndex && realIndex > slideIndexLastInView) unlazy(swiper, realIndex);
|
|
2736
|
-
}
|
|
2737
|
-
} else {
|
|
2738
|
-
for (let i = Math.max(slideIndexLastInView - amount, 0); i <= Math.min(slideIndexLastInView + amount, len - 1); i += 1) {
|
|
2739
|
-
if (i !== activeIndex && i > slideIndexLastInView) unlazy(swiper, i);
|
|
2740
|
-
}
|
|
2741
|
-
}
|
|
2742
|
-
};
|
|
2743
|
-
|
|
2744
2701
|
function getActiveIndexByTranslate(swiper) {
|
|
2745
2702
|
const {
|
|
2746
2703
|
slidesGrid,
|
|
@@ -2817,16 +2774,11 @@ function updateActiveIndex(newActiveIndex) {
|
|
|
2817
2774
|
realIndex = activeIndex;
|
|
2818
2775
|
}
|
|
2819
2776
|
Object.assign(swiper, {
|
|
2820
|
-
previousSnapIndex,
|
|
2821
2777
|
snapIndex,
|
|
2822
|
-
previousRealIndex,
|
|
2823
2778
|
realIndex,
|
|
2824
2779
|
previousIndex,
|
|
2825
2780
|
activeIndex
|
|
2826
2781
|
});
|
|
2827
|
-
if (swiper.initialized) {
|
|
2828
|
-
preload(swiper);
|
|
2829
|
-
}
|
|
2830
2782
|
swiper.emit('activeIndexChange');
|
|
2831
2783
|
swiper.emit('snapIndexChange');
|
|
2832
2784
|
if (previousRealIndex !== realIndex) {
|
|
@@ -2896,7 +2848,6 @@ function getSwiperTranslate(axis = this.isHorizontal() ? 'x' : 'y') {
|
|
|
2896
2848
|
return translate;
|
|
2897
2849
|
}
|
|
2898
2850
|
let currentTranslate = getTranslate(wrapperEl, axis);
|
|
2899
|
-
currentTranslate += swiper.cssOverflowAdjustment();
|
|
2900
2851
|
if (rtl) currentTranslate = -currentTranslate;
|
|
2901
2852
|
return currentTranslate || 0;
|
|
2902
2853
|
}
|
|
@@ -2921,18 +2872,13 @@ function setTranslate(translate, byController) {
|
|
|
2921
2872
|
x = Math.floor(x);
|
|
2922
2873
|
y = Math.floor(y);
|
|
2923
2874
|
}
|
|
2924
|
-
swiper.previousTranslate = swiper.translate;
|
|
2925
|
-
swiper.translate = swiper.isHorizontal() ? x : y;
|
|
2926
2875
|
if (params.cssMode) {
|
|
2927
2876
|
wrapperEl[swiper.isHorizontal() ? 'scrollLeft' : 'scrollTop'] = swiper.isHorizontal() ? -x : -y;
|
|
2928
2877
|
} else if (!params.virtualTranslate) {
|
|
2929
|
-
if (swiper.isHorizontal()) {
|
|
2930
|
-
x -= swiper.cssOverflowAdjustment();
|
|
2931
|
-
} else {
|
|
2932
|
-
y -= swiper.cssOverflowAdjustment();
|
|
2933
|
-
}
|
|
2934
2878
|
wrapperEl.style.transform = `translate3d(${x}px, ${y}px, ${z}px)`;
|
|
2935
2879
|
}
|
|
2880
|
+
swiper.previousTranslate = swiper.translate;
|
|
2881
|
+
swiper.translate = swiper.isHorizontal() ? x : y;
|
|
2936
2882
|
|
|
2937
2883
|
// Check if we need to update progress
|
|
2938
2884
|
let newProgress;
|
|
@@ -3525,22 +3471,15 @@ function loopFix({
|
|
|
3525
3471
|
}
|
|
3526
3472
|
if (isPrev) {
|
|
3527
3473
|
prependSlidesIndexes.forEach(index => {
|
|
3528
|
-
swiper.slides[index].swiperLoopMoveDOM = true;
|
|
3529
3474
|
slidesEl.prepend(swiper.slides[index]);
|
|
3530
|
-
swiper.slides[index].swiperLoopMoveDOM = false;
|
|
3531
3475
|
});
|
|
3532
3476
|
}
|
|
3533
3477
|
if (isNext) {
|
|
3534
3478
|
appendSlidesIndexes.forEach(index => {
|
|
3535
|
-
swiper.slides[index].swiperLoopMoveDOM = true;
|
|
3536
3479
|
slidesEl.append(swiper.slides[index]);
|
|
3537
|
-
swiper.slides[index].swiperLoopMoveDOM = false;
|
|
3538
3480
|
});
|
|
3539
3481
|
}
|
|
3540
3482
|
swiper.recalcSlides();
|
|
3541
|
-
if (params.slidesPerView === 'auto') {
|
|
3542
|
-
swiper.updateSlides();
|
|
3543
|
-
}
|
|
3544
3483
|
if (params.watchSlidesProgress) {
|
|
3545
3484
|
swiper.updateSlidesOffset();
|
|
3546
3485
|
}
|
|
@@ -4169,6 +4108,7 @@ function onTouchEnd(event) {
|
|
|
4169
4108
|
}
|
|
4170
4109
|
}
|
|
4171
4110
|
|
|
4111
|
+
let timeout;
|
|
4172
4112
|
function onResize() {
|
|
4173
4113
|
const swiper = this;
|
|
4174
4114
|
const {
|
|
@@ -4207,8 +4147,8 @@ function onResize() {
|
|
|
4207
4147
|
}
|
|
4208
4148
|
}
|
|
4209
4149
|
if (swiper.autoplay && swiper.autoplay.running && swiper.autoplay.paused) {
|
|
4210
|
-
clearTimeout(
|
|
4211
|
-
|
|
4150
|
+
clearTimeout(timeout);
|
|
4151
|
+
timeout = setTimeout(() => {
|
|
4212
4152
|
if (swiper.autoplay && swiper.autoplay.running && swiper.autoplay.paused) {
|
|
4213
4153
|
swiper.autoplay.resume();
|
|
4214
4154
|
}
|
|
@@ -4265,12 +4205,19 @@ function onScroll() {
|
|
|
4265
4205
|
swiper.emit('setTranslate', swiper.translate, false);
|
|
4266
4206
|
}
|
|
4267
4207
|
|
|
4208
|
+
const processLazyPreloader = (swiper, imageEl) => {
|
|
4209
|
+
if (!swiper || swiper.destroyed || !swiper.params) return;
|
|
4210
|
+
const slideSelector = () => swiper.isElement ? `swiper-slide` : `.${swiper.params.slideClass}`;
|
|
4211
|
+
const slideEl = imageEl.closest(slideSelector());
|
|
4212
|
+
if (slideEl) {
|
|
4213
|
+
const lazyEl = slideEl.querySelector(`.${swiper.params.lazyPreloaderClass}`);
|
|
4214
|
+
if (lazyEl) lazyEl.remove();
|
|
4215
|
+
}
|
|
4216
|
+
};
|
|
4217
|
+
|
|
4268
4218
|
function onLoad(e) {
|
|
4269
4219
|
const swiper = this;
|
|
4270
4220
|
processLazyPreloader(swiper, e.target);
|
|
4271
|
-
if (swiper.params.cssMode || swiper.params.slidesPerView !== 'auto' && !swiper.params.autoHeight) {
|
|
4272
|
-
return;
|
|
4273
|
-
}
|
|
4274
4221
|
swiper.update();
|
|
4275
4222
|
}
|
|
4276
4223
|
|
|
@@ -4680,7 +4627,6 @@ const defaults = {
|
|
|
4680
4627
|
slidePrevClass: 'swiper-slide-prev',
|
|
4681
4628
|
wrapperClass: 'swiper-wrapper',
|
|
4682
4629
|
lazyPreloaderClass: 'swiper-lazy-preloader',
|
|
4683
|
-
lazyPreloadPrevNext: 0,
|
|
4684
4630
|
// Callbacks
|
|
4685
4631
|
runCallbacksOnInit: true,
|
|
4686
4632
|
// Internals
|
|
@@ -4834,11 +4780,6 @@ class Swiper {
|
|
|
4834
4780
|
progress: 0,
|
|
4835
4781
|
velocity: 0,
|
|
4836
4782
|
animating: false,
|
|
4837
|
-
cssOverflowAdjustment() {
|
|
4838
|
-
// Returns 0 unless `translate` is > 2**23
|
|
4839
|
-
// Should be subtracted from css values to prevent overflow
|
|
4840
|
-
return Math.trunc(this.translate / 2 ** 23) * 2 ** 23;
|
|
4841
|
-
},
|
|
4842
4783
|
// Locks
|
|
4843
4784
|
allowSlideNext: swiper.params.allowSlideNext,
|
|
4844
4785
|
allowSlidePrev: swiper.params.allowSlidePrev,
|
|
@@ -4855,7 +4796,7 @@ class Swiper {
|
|
|
4855
4796
|
// Form elements to match
|
|
4856
4797
|
focusableElements: swiper.params.focusableElements,
|
|
4857
4798
|
// Last click time
|
|
4858
|
-
lastClickTime:
|
|
4799
|
+
lastClickTime: now(),
|
|
4859
4800
|
clickTimeout: undefined,
|
|
4860
4801
|
// Velocities
|
|
4861
4802
|
velocities: [],
|
|
@@ -5050,8 +4991,7 @@ class Swiper {
|
|
|
5050
4991
|
}
|
|
5051
4992
|
} else {
|
|
5052
4993
|
if ((swiper.params.slidesPerView === 'auto' || swiper.params.slidesPerView > 1) && swiper.isEnd && !swiper.params.centeredSlides) {
|
|
5053
|
-
|
|
5054
|
-
translated = swiper.slideTo(slides.length - 1, 0, false, true);
|
|
4994
|
+
translated = swiper.slideTo(swiper.slides.length - 1, 0, false, true);
|
|
5055
4995
|
} else {
|
|
5056
4996
|
translated = swiper.slideTo(swiper.activeIndex, 0, false, true);
|
|
5057
4997
|
}
|
|
@@ -5203,11 +5143,9 @@ class Swiper {
|
|
|
5203
5143
|
});
|
|
5204
5144
|
}
|
|
5205
5145
|
});
|
|
5206
|
-
preload(swiper);
|
|
5207
5146
|
|
|
5208
5147
|
// Init Flag
|
|
5209
5148
|
swiper.initialized = true;
|
|
5210
|
-
preload(swiper);
|
|
5211
5149
|
|
|
5212
5150
|
// Emit
|
|
5213
5151
|
swiper.emit('init');
|
|
@@ -5580,12 +5518,10 @@ function Pagination({
|
|
|
5580
5518
|
const index = elementIndex(bulletEl) * swiper.params.slidesPerGroup;
|
|
5581
5519
|
if (swiper.params.loop) {
|
|
5582
5520
|
if (swiper.realIndex === index) return;
|
|
5583
|
-
|
|
5584
|
-
const currentSlideIndex = swiper.getSlideIndexByData(swiper.realIndex);
|
|
5585
|
-
if (newSlideIndex > swiper.slides.length - swiper.loopedSlides) {
|
|
5521
|
+
if (index < swiper.loopedSlides || index > swiper.slides.length - swiper.loopedSlides) {
|
|
5586
5522
|
swiper.loopFix({
|
|
5587
|
-
direction:
|
|
5588
|
-
activeSlideIndex:
|
|
5523
|
+
direction: index < swiper.loopedSlides ? 'prev' : 'next',
|
|
5524
|
+
activeSlideIndex: index,
|
|
5589
5525
|
slideTo: false
|
|
5590
5526
|
});
|
|
5591
5527
|
}
|
|
@@ -5603,17 +5539,13 @@ function Pagination({
|
|
|
5603
5539
|
el = makeElementsArray(el);
|
|
5604
5540
|
// Current/Total
|
|
5605
5541
|
let current;
|
|
5606
|
-
let previousIndex;
|
|
5607
5542
|
const slidesLength = swiper.virtual && swiper.params.virtual.enabled ? swiper.virtual.slides.length : swiper.slides.length;
|
|
5608
5543
|
const total = swiper.params.loop ? Math.ceil(slidesLength / swiper.params.slidesPerGroup) : swiper.snapGrid.length;
|
|
5609
5544
|
if (swiper.params.loop) {
|
|
5610
|
-
previousIndex = swiper.previousRealIndex || 0;
|
|
5611
5545
|
current = swiper.params.slidesPerGroup > 1 ? Math.floor(swiper.realIndex / swiper.params.slidesPerGroup) : swiper.realIndex;
|
|
5612
5546
|
} else if (typeof swiper.snapIndex !== 'undefined') {
|
|
5613
5547
|
current = swiper.snapIndex;
|
|
5614
|
-
previousIndex = swiper.previousSnapIndex;
|
|
5615
5548
|
} else {
|
|
5616
|
-
previousIndex = swiper.previousIndex || 0;
|
|
5617
5549
|
current = swiper.activeIndex || 0;
|
|
5618
5550
|
}
|
|
5619
5551
|
// Types
|
|
@@ -5627,8 +5559,8 @@ function Pagination({
|
|
|
5627
5559
|
el.forEach(subEl => {
|
|
5628
5560
|
subEl.style[swiper.isHorizontal() ? 'width' : 'height'] = `${bulletSize * (params.dynamicMainBullets + 4)}px`;
|
|
5629
5561
|
});
|
|
5630
|
-
if (params.dynamicMainBullets > 1 && previousIndex !== undefined) {
|
|
5631
|
-
dynamicBulletIndex += current - (previousIndex || 0);
|
|
5562
|
+
if (params.dynamicMainBullets > 1 && swiper.previousIndex !== undefined) {
|
|
5563
|
+
dynamicBulletIndex += current - (swiper.previousIndex || 0);
|
|
5632
5564
|
if (dynamicBulletIndex > params.dynamicMainBullets - 1) {
|
|
5633
5565
|
dynamicBulletIndex = params.dynamicMainBullets - 1;
|
|
5634
5566
|
} else if (dynamicBulletIndex < 0) {
|
|
@@ -5849,18 +5781,6 @@ function Pagination({
|
|
|
5849
5781
|
}
|
|
5850
5782
|
if (swiper.pagination.bullets) swiper.pagination.bullets.forEach(subEl => subEl.classList.remove(...params.bulletActiveClass.split(' ')));
|
|
5851
5783
|
}
|
|
5852
|
-
on('changeDirection', () => {
|
|
5853
|
-
if (!swiper.pagination || !swiper.pagination.el) return;
|
|
5854
|
-
const params = swiper.params.pagination;
|
|
5855
|
-
let {
|
|
5856
|
-
el
|
|
5857
|
-
} = swiper.pagination;
|
|
5858
|
-
el = makeElementsArray(el);
|
|
5859
|
-
el.forEach(subEl => {
|
|
5860
|
-
subEl.classList.remove(params.horizontalClass, params.verticalClass);
|
|
5861
|
-
subEl.classList.add(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);
|
|
5862
|
-
});
|
|
5863
|
-
});
|
|
5864
5784
|
on('init', () => {
|
|
5865
5785
|
if (swiper.params.pagination.enabled === false) {
|
|
5866
5786
|
// eslint-disable-next-line
|
|
@@ -7001,15 +6921,6 @@ function Grid({
|
|
|
7001
6921
|
let slidesNumberEvenToRows;
|
|
7002
6922
|
let slidesPerRow;
|
|
7003
6923
|
let numFullColumns;
|
|
7004
|
-
const getSpaceBetween = () => {
|
|
7005
|
-
let spaceBetween = swiper.params.spaceBetween;
|
|
7006
|
-
if (typeof spaceBetween === 'string' && spaceBetween.indexOf('%') >= 0) {
|
|
7007
|
-
spaceBetween = parseFloat(spaceBetween.replace('%', '')) / 100 * swiper.size;
|
|
7008
|
-
} else if (typeof spaceBetween === 'string') {
|
|
7009
|
-
spaceBetween = parseFloat(spaceBetween);
|
|
7010
|
-
}
|
|
7011
|
-
return spaceBetween;
|
|
7012
|
-
};
|
|
7013
6924
|
const initSlides = slidesLength => {
|
|
7014
6925
|
const {
|
|
7015
6926
|
slidesPerView
|
|
@@ -7031,9 +6942,9 @@ function Grid({
|
|
|
7031
6942
|
};
|
|
7032
6943
|
const updateSlide = (i, slide, slidesLength, getDirectionLabel) => {
|
|
7033
6944
|
const {
|
|
7034
|
-
slidesPerGroup
|
|
6945
|
+
slidesPerGroup,
|
|
6946
|
+
spaceBetween
|
|
7035
6947
|
} = swiper.params;
|
|
7036
|
-
const spaceBetween = getSpaceBetween();
|
|
7037
6948
|
const {
|
|
7038
6949
|
rows,
|
|
7039
6950
|
fill
|
|
@@ -7068,10 +6979,10 @@ function Grid({
|
|
|
7068
6979
|
};
|
|
7069
6980
|
const updateWrapperSize = (slideSize, snapGrid, getDirectionLabel) => {
|
|
7070
6981
|
const {
|
|
6982
|
+
spaceBetween,
|
|
7071
6983
|
centeredSlides,
|
|
7072
6984
|
roundLengths
|
|
7073
6985
|
} = swiper.params;
|
|
7074
|
-
const spaceBetween = getSpaceBetween();
|
|
7075
6986
|
const {
|
|
7076
6987
|
rows
|
|
7077
6988
|
} = swiper.params.grid;
|
|
@@ -8889,18 +8800,15 @@ const PtcMinimizedNav$1 = class extends HTMLElement$1 {
|
|
|
8889
8800
|
};
|
|
8890
8801
|
|
|
8891
8802
|
/*
|
|
8892
|
-
* mobile-select v1.
|
|
8803
|
+
* mobile-select v1.3.2
|
|
8893
8804
|
* Homepage: https://github.com/onlyhom/mobile-select
|
|
8894
8805
|
* Released under the MIT License.
|
|
8895
8806
|
* (c) 2017-present
|
|
8896
8807
|
*/
|
|
8897
|
-
var
|
|
8898
|
-
var
|
|
8899
|
-
var h = (g, t, e) => (
|
|
8900
|
-
|
|
8901
|
-
return !navigator.userAgent.toLowerCase().match(/ipad|iphone os|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/);
|
|
8902
|
-
}
|
|
8903
|
-
const l = class {
|
|
8808
|
+
var D = Object.defineProperty;
|
|
8809
|
+
var w = (g, t, e) => t in g ? D(g, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : g[t] = e;
|
|
8810
|
+
var h = (g, t, e) => (w(g, typeof t != "symbol" ? t + "" : t, e), e);
|
|
8811
|
+
const r = class {
|
|
8904
8812
|
constructor(t) {
|
|
8905
8813
|
h(this, "mobileSelect");
|
|
8906
8814
|
h(this, "trigger");
|
|
@@ -8928,74 +8836,82 @@ const l = class {
|
|
|
8928
8836
|
h(this, "offsetSum");
|
|
8929
8837
|
h(this, "oversizeBorder");
|
|
8930
8838
|
h(this, "enableClickStatus");
|
|
8839
|
+
h(this, "isPC");
|
|
8931
8840
|
h(this, "optionHeight");
|
|
8932
8841
|
h(this, "curDistance");
|
|
8933
8842
|
h(this, "cascadeJsonData");
|
|
8934
8843
|
h(this, "eventHandleMap");
|
|
8935
8844
|
h(this, "initDeepCount");
|
|
8936
8845
|
h(this, "config");
|
|
8937
|
-
!
|
|
8846
|
+
!r.checkRequiredConfig(t) || (this.config = Object.assign({}, r.defaultConfig, t), this.wheelsData = t.wheels, this.isJsonType = !1, this.cascadeJsonData = [], this.displayJson = [], this.curValue = [], this.curIndexArr = [], this.isCascade = !1, this.offsetY = 0, this.offsetSum = 0, this.curDistance = [], this.enableClickStatus = !1, this.isPC = !0, this.optionHeight = 0, this.initPosition = t.position || [], this.initColWidth = t.colWidth || [], this.init());
|
|
8938
8847
|
}
|
|
8939
8848
|
init() {
|
|
8940
|
-
if (!this.checkTriggerAvailable())
|
|
8941
|
-
return;
|
|
8942
8849
|
const { config: t } = this;
|
|
8943
|
-
if (this.isJsonType =
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
this.isCascade ? this.initPosition.forEach((e, i) => {
|
|
8949
|
-
this.checkRange(i, this.initPosition);
|
|
8950
|
-
}) : this.setCurDistance(this.initPosition), this.eventHandleMap = {
|
|
8951
|
-
cancelBtn: {
|
|
8952
|
-
event: "click",
|
|
8953
|
-
fn: () => {
|
|
8954
|
-
var e, i, s, n;
|
|
8955
|
-
this.hide(), (i = (e = this.config).cancel) == null || i.call(e, this.curIndexArr, this.curValue, this), (n = (s = this.config).onCancel) == null || n.call(s, this.curValue, this.curIndexArr, this);
|
|
8956
|
-
}
|
|
8957
|
-
},
|
|
8958
|
-
ensureBtn: {
|
|
8959
|
-
event: "click",
|
|
8960
|
-
fn: () => {
|
|
8961
|
-
var e, i, s, n;
|
|
8962
|
-
this.hide(), this.optionHeight || (this.optionHeight = this.mobileSelect.querySelector("li").offsetHeight), this.setTriggerInnerText(this.getConnectedString()), this.curIndexArr = this.getIndexArr(), this.curValue = this.getCurValue(), (i = (e = this.config).callback) == null || i.call(e, this.curIndexArr, this.curValue, this), (n = (s = this.config).onChange) == null || n.call(s, this.curValue, this.curIndexArr, this);
|
|
8963
|
-
}
|
|
8964
|
-
},
|
|
8965
|
-
trigger: {
|
|
8966
|
-
event: "click",
|
|
8967
|
-
fn: () => {
|
|
8968
|
-
this.show();
|
|
8969
|
-
}
|
|
8970
|
-
},
|
|
8971
|
-
grayLayer: {
|
|
8972
|
-
event: "click",
|
|
8973
|
-
fn: () => this.hide()
|
|
8974
|
-
},
|
|
8975
|
-
popUp: {
|
|
8976
|
-
event: "click",
|
|
8977
|
-
fn: (e) => e.stopPropagation()
|
|
8978
|
-
},
|
|
8979
|
-
panel: {
|
|
8980
|
-
event: ["touchstart", "touchend", "touchmove"],
|
|
8981
|
-
fn: (e) => this.touch(e)
|
|
8850
|
+
if (this.isJsonType = r.checkDataType(this.wheelsData), this.renderComponent(this.wheelsData), !!this.checkTriggerAvailable()) {
|
|
8851
|
+
if (this.wheelList = this.mobileSelect.getElementsByClassName("ms-wheel"), this.sliderList = this.mobileSelect.getElementsByClassName("ms-select-container"), this.panel = this.mobileSelect.querySelector(".ms-panel"), this.wheelsContain = this.mobileSelect.querySelector(".ms-wheels"), this.ensureBtn = this.mobileSelect.querySelector(".ms-ensure"), this.cancelBtn = this.mobileSelect.querySelector(".ms-cancel"), this.grayLayer = this.mobileSelect.querySelector(".ms-gray-layer"), this.popUp = this.mobileSelect.querySelector(".ms-content"), this.optionHeight = this.mobileSelect.querySelector("li").offsetHeight, t.initValue && t.triggerDisplayValue && (this.trigger.innerText = t.initValue), this.setStyle(t), this.isPC = r.checkIsPC(), this.isCascade = this.checkCascade(), this.isCascade && this.initCascade(), t.initValue && (this.initPosition = this.getPositionByValue()), this.initPosition.length < this.sliderList.length) {
|
|
8852
|
+
const e = this.sliderList.length - this.initPosition.length;
|
|
8853
|
+
for (let i = 0; i < e; i++)
|
|
8854
|
+
this.initPosition.push(0);
|
|
8982
8855
|
}
|
|
8983
|
-
|
|
8856
|
+
this.isCascade ? this.initPosition.forEach((e, i) => {
|
|
8857
|
+
this.checkRange(i, this.initPosition);
|
|
8858
|
+
}) : this.setCurDistance(this.initPosition), this.eventHandleMap = {
|
|
8859
|
+
cancelBtn: {
|
|
8860
|
+
event: "click",
|
|
8861
|
+
fn: () => {
|
|
8862
|
+
var e, i, s, n;
|
|
8863
|
+
this.hide(), (i = (e = this.config).cancel) == null || i.call(e, this.curIndexArr, this.curValue, this), (n = (s = this.config).onCancel) == null || n.call(s, this.curValue, this.curIndexArr, this);
|
|
8864
|
+
}
|
|
8865
|
+
},
|
|
8866
|
+
ensureBtn: {
|
|
8867
|
+
event: "click",
|
|
8868
|
+
fn: () => {
|
|
8869
|
+
var i, s, n, l;
|
|
8870
|
+
this.hide(), this.optionHeight || (this.optionHeight = this.mobileSelect.querySelector("li").offsetHeight);
|
|
8871
|
+
let e = "";
|
|
8872
|
+
for (let o = 0; o < this.wheelList.length; o++)
|
|
8873
|
+
o == this.wheelList.length - 1 ? e += this.getInnerText(o) : e += this.getInnerText(o) + this.config.connector;
|
|
8874
|
+
t.triggerDisplayValue && (this.trigger.innerText = e), this.curIndexArr = this.getIndexArr(), this.curValue = this.getCurValue(), (s = (i = this.config).callback) == null || s.call(i, this.curIndexArr, this.curValue, this), (l = (n = this.config).onChange) == null || l.call(n, this.curValue, this.curIndexArr, this);
|
|
8875
|
+
}
|
|
8876
|
+
},
|
|
8877
|
+
trigger: {
|
|
8878
|
+
event: "click",
|
|
8879
|
+
fn: () => {
|
|
8880
|
+
this.show();
|
|
8881
|
+
}
|
|
8882
|
+
},
|
|
8883
|
+
grayLayer: {
|
|
8884
|
+
event: "click",
|
|
8885
|
+
fn: () => this.hide()
|
|
8886
|
+
},
|
|
8887
|
+
popUp: {
|
|
8888
|
+
event: "click",
|
|
8889
|
+
fn: (e) => e.stopPropagation()
|
|
8890
|
+
},
|
|
8891
|
+
panel: {
|
|
8892
|
+
event: ["touchstart", "touchend", "touchmove"],
|
|
8893
|
+
fn: (e) => this.touch(e)
|
|
8894
|
+
}
|
|
8895
|
+
}, this.isPC && (this.eventHandleMap.panel.event = ["mousedown", "mousemove", "mouseup"]), this.registerEvents("add"), this.fixRowStyle(), t.autoFocus && this.show();
|
|
8896
|
+
}
|
|
8897
|
+
}
|
|
8898
|
+
static checkIsPC() {
|
|
8899
|
+
return !navigator.userAgent.toLowerCase().match(/ipad|iphone os|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/);
|
|
8984
8900
|
}
|
|
8985
8901
|
static checkDataType(t) {
|
|
8986
8902
|
var e, i;
|
|
8987
8903
|
return typeof ((i = (e = t[0]) == null ? void 0 : e.data) == null ? void 0 : i[0]) == "object";
|
|
8988
8904
|
}
|
|
8989
8905
|
static checkRequiredConfig(t) {
|
|
8990
|
-
const e =
|
|
8906
|
+
const e = r.REQUIRED_PARAMS;
|
|
8991
8907
|
if (!t) {
|
|
8992
8908
|
const i = e.map((s) => `'${s}'`);
|
|
8993
|
-
return
|
|
8909
|
+
return r.log("error", `missing required param ${i.join(" and ")}.`), !1;
|
|
8994
8910
|
}
|
|
8995
8911
|
for (let i = 0; i < e.length; i++) {
|
|
8996
8912
|
const s = e[i];
|
|
8997
8913
|
if (!t[s])
|
|
8998
|
-
return
|
|
8914
|
+
return r.log("error", `missing required param '${s}'.`), !1;
|
|
8999
8915
|
}
|
|
9000
8916
|
return !0;
|
|
9001
8917
|
}
|
|
@@ -9005,48 +8921,25 @@ const l = class {
|
|
|
9005
8921
|
}
|
|
9006
8922
|
checkTriggerAvailable() {
|
|
9007
8923
|
const { config: t } = this;
|
|
9008
|
-
return this.trigger = t.trigger instanceof HTMLElement ? t.trigger : document.querySelector(t.trigger), this.trigger ? !0 : (
|
|
8924
|
+
return this.trigger = t.trigger instanceof HTMLElement ? t.trigger : document.querySelector(t.trigger), this.trigger ? !0 : (r.log("error", "trigger HTMLElement does not found on your document."), !1);
|
|
9009
8925
|
}
|
|
9010
|
-
|
|
8926
|
+
getPositionByValue() {
|
|
9011
8927
|
var n;
|
|
9012
8928
|
const { keyMap: t, connector: e, initValue: i } = this.config, s = (i == null ? void 0 : i.split(e)) || [];
|
|
9013
8929
|
if (this.isJsonType) {
|
|
9014
|
-
let
|
|
9015
|
-
return s.reduce((
|
|
9016
|
-
var
|
|
9017
|
-
const a =
|
|
9018
|
-
return
|
|
8930
|
+
let l = (n = this.wheelsData[0]) == null ? void 0 : n.data;
|
|
8931
|
+
return s.reduce((o, d) => {
|
|
8932
|
+
var c;
|
|
8933
|
+
const a = l == null ? void 0 : l.findIndex((u) => u[t.value] == d);
|
|
8934
|
+
return o.push(a < 0 ? 0 : a), l = (c = l[a]) == null ? void 0 : c[t.childs], o;
|
|
9019
8935
|
}, []);
|
|
9020
8936
|
}
|
|
9021
|
-
return s.reduce((
|
|
9022
|
-
var
|
|
9023
|
-
const a = (
|
|
9024
|
-
return
|
|
8937
|
+
return s.reduce((l, o, d) => {
|
|
8938
|
+
var c, u;
|
|
8939
|
+
const a = (u = (c = this.wheelsData[d]) == null ? void 0 : c.data) == null ? void 0 : u.findIndex((f) => f == o);
|
|
8940
|
+
return l.push(a < 0 ? 0 : a), l;
|
|
9025
8941
|
}, []);
|
|
9026
8942
|
}
|
|
9027
|
-
getConnectedString() {
|
|
9028
|
-
let t = "";
|
|
9029
|
-
for (let e = 0; e < this.wheelList.length; e++)
|
|
9030
|
-
e == this.wheelList.length - 1 ? t += this.getInnerText(e) : t += this.getInnerText(e) + this.config.connector;
|
|
9031
|
-
return t;
|
|
9032
|
-
}
|
|
9033
|
-
setTriggerInnerText(t) {
|
|
9034
|
-
this.config.triggerDisplayValue && (this.trigger.textContent = t);
|
|
9035
|
-
}
|
|
9036
|
-
setValue(t) {
|
|
9037
|
-
if (!t || !t.length)
|
|
9038
|
-
return;
|
|
9039
|
-
if (this.isJsonType && typeof t[0] != "object" || !this.isJsonType && typeof t[0] == "object") {
|
|
9040
|
-
l.log("error", `The setValue() input format should be same with getValue(), like: ${JSON.stringify(this.getValue())}`);
|
|
9041
|
-
return;
|
|
9042
|
-
}
|
|
9043
|
-
const { keyMap: e } = this.config;
|
|
9044
|
-
t.forEach((i, s) => {
|
|
9045
|
-
var r;
|
|
9046
|
-
const n = this.isCascade ? this.displayJson[s] : (r = this.wheelsData[s]) == null ? void 0 : r.data, o = n == null ? void 0 : n.findIndex((c) => this.isJsonType ? i[e.id] == c[e.id] || i[e.value] == c[e.value] : i == c);
|
|
9047
|
-
this.locatePosition(s, o);
|
|
9048
|
-
}), this.setTriggerInnerText(this.getConnectedString());
|
|
9049
|
-
}
|
|
9050
8943
|
setTitle(t) {
|
|
9051
8944
|
this.mobileSelect.querySelector(".ms-title").innerHTML = t;
|
|
9052
8945
|
}
|
|
@@ -9092,8 +8985,8 @@ const l = class {
|
|
|
9092
8985
|
let i = "";
|
|
9093
8986
|
if (this.isJsonType)
|
|
9094
8987
|
for (let s = 0; s < t.length; s++) {
|
|
9095
|
-
const n = t[s][e.id],
|
|
9096
|
-
i += `<li data-id="${n}">${
|
|
8988
|
+
const n = t[s][e.id], l = t[s][e.value];
|
|
8989
|
+
i += `<li data-id="${n}">${l}</li>`;
|
|
9097
8990
|
}
|
|
9098
8991
|
else
|
|
9099
8992
|
for (let s = 0; s < t.length; s++)
|
|
@@ -9166,13 +9059,13 @@ const l = class {
|
|
|
9166
9059
|
e.childs in t && t[e.childs].length > 0 && (this.displayJson.push(t[e.childs]), this.checkArrDeep(t[e.childs][0]));
|
|
9167
9060
|
}
|
|
9168
9061
|
checkRange(t, e) {
|
|
9169
|
-
var
|
|
9062
|
+
var l;
|
|
9170
9063
|
const i = this.displayJson.length - 1 - t, { keyMap: s } = this.config;
|
|
9171
|
-
for (let
|
|
9064
|
+
for (let o = 0; o < i; o++)
|
|
9172
9065
|
this.displayJson.pop();
|
|
9173
9066
|
let n;
|
|
9174
|
-
for (let
|
|
9175
|
-
n =
|
|
9067
|
+
for (let o = 0; o <= t; o++)
|
|
9068
|
+
n = o == 0 ? this.cascadeJsonData[e[0]] : (l = n == null ? void 0 : n[s.childs]) == null ? void 0 : l[e[o]];
|
|
9176
9069
|
this.checkArrDeep(n), this.reRenderWheels(), this.fixRowStyle(), this.setCurDistance(this.resetPosition(t, e));
|
|
9177
9070
|
}
|
|
9178
9071
|
resetPosition(t, e) {
|
|
@@ -9203,7 +9096,7 @@ const l = class {
|
|
|
9203
9096
|
}
|
|
9204
9097
|
updateWheel(t, e) {
|
|
9205
9098
|
if (this.isCascade) {
|
|
9206
|
-
|
|
9099
|
+
r.log("error", "'updateWheel()' not support cascade json data, please use 'updateWheels()' instead to update the whole data source");
|
|
9207
9100
|
return;
|
|
9208
9101
|
}
|
|
9209
9102
|
let i = "";
|
|
@@ -9249,7 +9142,7 @@ const l = class {
|
|
|
9249
9142
|
return t;
|
|
9250
9143
|
}
|
|
9251
9144
|
getValue() {
|
|
9252
|
-
return this.
|
|
9145
|
+
return this.curValue;
|
|
9253
9146
|
}
|
|
9254
9147
|
calcDistance(t) {
|
|
9255
9148
|
return 2 * this.optionHeight - t * this.optionHeight;
|
|
@@ -9267,7 +9160,7 @@ const l = class {
|
|
|
9267
9160
|
t.style.transform = "translate3d(0," + e + "px, 0)";
|
|
9268
9161
|
}
|
|
9269
9162
|
locatePosition(t, e) {
|
|
9270
|
-
|
|
9163
|
+
this.curDistance[t] = this.calcDistance(e), this.movePosition(this.sliderList[t], this.curDistance[t]), this.isCascade && this.checkRange(t, this.getIndexArr());
|
|
9271
9164
|
}
|
|
9272
9165
|
updateCurDistance(t, e) {
|
|
9273
9166
|
this.curDistance[e] = parseInt(t.style.transform.split(",")[1]);
|
|
@@ -9276,10 +9169,10 @@ const l = class {
|
|
|
9276
9169
|
var s;
|
|
9277
9170
|
const e = this.sliderList[t].getElementsByTagName("li").length;
|
|
9278
9171
|
let i = this.getIndex(this.curDistance[t]);
|
|
9279
|
-
return i >= e ? i = e - 1 : i < 0 && (i = 0), ((s = this.sliderList[t].getElementsByTagName("li")[i]) == null ? void 0 : s.
|
|
9172
|
+
return i >= e ? i = e - 1 : i < 0 && (i = 0), ((s = this.sliderList[t].getElementsByTagName("li")[i]) == null ? void 0 : s.innerText) || "";
|
|
9280
9173
|
}
|
|
9281
9174
|
touch(t) {
|
|
9282
|
-
var
|
|
9175
|
+
var l, o, d, a, c, u, f, v;
|
|
9283
9176
|
const i = (t.composedPath && t.composedPath()).find((m) => {
|
|
9284
9177
|
var p;
|
|
9285
9178
|
return (p = m.classList) == null ? void 0 : p.contains("ms-wheel");
|
|
@@ -9304,16 +9197,16 @@ const l = class {
|
|
|
9304
9197
|
const m = Math.floor((window.innerHeight - this.moveEndY) / 40);
|
|
9305
9198
|
if (m != 2) {
|
|
9306
9199
|
const p = m - 2, C = this.curDistance[n] + p * this.optionHeight;
|
|
9307
|
-
C <= 2 * this.optionHeight && C >= this.oversizeBorder && (this.curDistance[n] = C, this.movePosition(s, this.curDistance[n]), (
|
|
9200
|
+
C <= 2 * this.optionHeight && C >= this.oversizeBorder && (this.curDistance[n] = C, this.movePosition(s, this.curDistance[n]), (o = (l = this.config).transitionEnd) == null || o.call(l, this.getIndexArr(), this.getCurValue(), this), (a = (d = this.config).onTransitionEnd) == null || a.call(d, this.getCurValue(), this.getIndexArr(), this));
|
|
9308
9201
|
}
|
|
9309
9202
|
} else
|
|
9310
|
-
this.updateCurDistance(s, n), this.curDistance[n] = this.fixPosition(this.curDistance[n]), this.curDistance[n] > 2 * this.optionHeight ? this.curDistance[n] = 2 * this.optionHeight : this.curDistance[n] < this.oversizeBorder && (this.curDistance[n] = this.oversizeBorder), this.movePosition(s, this.curDistance[n]), (
|
|
9203
|
+
this.updateCurDistance(s, n), this.curDistance[n] = this.fixPosition(this.curDistance[n]), this.curDistance[n] > 2 * this.optionHeight ? this.curDistance[n] = 2 * this.optionHeight : this.curDistance[n] < this.oversizeBorder && (this.curDistance[n] = this.oversizeBorder), this.movePosition(s, this.curDistance[n]), (u = (c = this.config).transitionEnd) == null || u.call(c, this.getIndexArr(), this.getCurValue(), this), (v = (f = this.config).onTransitionEnd) == null || v.call(f, this.getCurValue(), this.getIndexArr(), this);
|
|
9311
9204
|
t.type === "mouseup" && (this.enableClickStatus = !1), this.isCascade && this.checkRange(n, this.getIndexArr());
|
|
9312
9205
|
break;
|
|
9313
9206
|
}
|
|
9314
9207
|
}
|
|
9315
9208
|
};
|
|
9316
|
-
let y =
|
|
9209
|
+
let y = r;
|
|
9317
9210
|
h(y, "defaultConfig", {
|
|
9318
9211
|
keyMap: { id: "id", value: "value", childs: "childs" },
|
|
9319
9212
|
position: [],
|
|
@@ -9326,7 +9219,7 @@ h(y, "defaultConfig", {
|
|
|
9326
9219
|
scrollSpeed: 1
|
|
9327
9220
|
}), h(y, "REQUIRED_PARAMS", ["trigger", "wheels"]);
|
|
9328
9221
|
|
|
9329
|
-
const ptcMobileSelectCss = ".ms-mobile-select{position:
|
|
9222
|
+
const ptcMobileSelectCss = ".ms-mobile-select{position:relative;z-index:0;opacity:0;visibility:hidden;-webkit-transition:opacity 0.4s, z-index 0.4s;transition:opacity 0.4s, z-index 0.4s}.ms-mobile-select *{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.ms-mobile-select .ms-gray-layer{position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0, 0, 0, 0.7);z-index:888;display:block}.ms-mobile-select .ms-content{width:100%;display:block;position:fixed;z-index:889;color:black;-webkit-transition:all 0.4s;transition:all 0.4s;bottom:-350px;left:0;background:white}.ms-mobile-select .ms-fix-width{width:90%;margin:0 auto;position:relative}.ms-mobile-select .ms-fix-width:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.ms-mobile-select .ms-btn-bar{border-bottom:1px solid #dcdcdc;font-size:15px;height:45px;position:relative;text-align:center;line-height:45px}.ms-mobile-select .ms-cancel,.ms-mobile-select .ms-ensure{height:45px;width:55px;cursor:pointer;position:absolute;top:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.ms-mobile-select .ms-cancel{left:0;color:#666}.ms-mobile-select .ms-ensure{right:0;color:#1e83d3}.ms-mobile-select .ms-title{font-size:15px;padding:0 15%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ms-mobile-select .ms-panel:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.ms-mobile-select .ms-wheels{width:100%;height:200px;overflow:hidden}.ms-mobile-select .ms-wheel{position:relative;z-index:0;float:left;width:50%;height:200px;overflow:hidden;-webkit-transition:width 0.3s ease;transition:width 0.3s ease}.ms-mobile-select .ms-select-container{display:block;text-align:center}.ms-mobile-select .ms-select-container li{font-size:15px;display:block;height:40px;line-height:40px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.ms-mobile-select .ms-select-line{height:40px;width:100%;position:absolute;top:80px;pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #dcdcdc;border-bottom:1px solid #dcdcdc}.ms-mobile-select .ms-shadow-mask{position:absolute;top:0;width:100%;height:200px;background:linear-gradient(to bottom, #fffffff5, #ffffffcc 25%, #ffffff00 49%, #ffffff00 51%, #ffffffcc 75%, #fffffff5);opacity:0.9;pointer-events:none}.ms-mobile-select.ms-show{opacity:1;z-index:10000;visibility:visible}.ms-mobile-select.ms-show .ms-content{bottom:0}.ms-default-trigger{min-height:1em;color:#888}body.ms-show{overflow-y:hidden}.mobile-select-wrapper{display:block}.mobile-select-wrapper div{display:inline;margin-right:var(--ptc-element-spacing-03);width:100%;font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);color:var(--color-white);height:18px}.mobileSelect .content{top:auto}.mobileSelect .content .btnBar{border-color:var(--color-gray-10)}.mobileSelect .content .btnBar .cancel,.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .title{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest)}.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .cancel{transform:translateY(12.5px);width:125px}.mobileSelect .content .panel .wheel .selectContainer li{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);height:45px}ptc-responsive-wrapper.xsmall .mobile-select-wrapper,ptc-responsive-wrapper.small .mobile-select-wrapper{display:block}ptc-responsive-wrapper.medium .mobile-select-wrapper,ptc-responsive-wrapper.large .mobile-select-wrapper,ptc-responsive-wrapper.xlarge .mobile-select-wrapper,ptc-responsive-wrapper.xxlarge .mobile-select-wrapper,ptc-responsive-wrapper.large2k .mobile-select-wrapper,ptc-responsive-wrapper.large4k .mobile-select-wrapper{display:none}";
|
|
9330
9223
|
|
|
9331
9224
|
const PtcMobileSelect$1 = class extends HTMLElement$1 {
|
|
9332
9225
|
constructor() {
|
|
@@ -9591,7 +9484,7 @@ const PtcNavCard$1 = class extends HTMLElement$1 {
|
|
|
9591
9484
|
static get style() { return ptcNavCardCss; }
|
|
9592
9485
|
};
|
|
9593
9486
|
|
|
9594
|
-
const ptcNavLinkCss = ":host{display:block;
|
|
9487
|
+
const ptcNavLinkCss = ":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:inline-block;border-bottom:2px solid transparent;margin-left:34%;padding:22px 12px;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{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 ::slotted(icon-asset){margin-top:4px;margin-right:8px}";
|
|
9595
9488
|
|
|
9596
9489
|
const PtcNavLink$1 = class extends HTMLElement$1 {
|
|
9597
9490
|
constructor() {
|
|
@@ -9743,7 +9636,7 @@ const PtcNavSlider$1 = class extends HTMLElement$1 {
|
|
|
9743
9636
|
static get style() { return ptcNavSliderCss; }
|
|
9744
9637
|
};
|
|
9745
9638
|
|
|
9746
|
-
const ptcNavSubmenuCss = ":host{display:block;position:relative;
|
|
9639
|
+
const ptcNavSubmenuCss = ":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:22px var(--ptc-element-spacing-03);margin-left:34%;position:relative}: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: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{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-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}}: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(.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}";
|
|
9747
9640
|
|
|
9748
9641
|
const PtcNavSubmenu$1 = class extends HTMLElement$1 {
|
|
9749
9642
|
constructor() {
|
|
@@ -9760,7 +9653,7 @@ const PtcNavSubmenu$1 = class extends HTMLElement$1 {
|
|
|
9760
9653
|
var container = this.el.closest('ptc-subnav');
|
|
9761
9654
|
if (dropdown && container) {
|
|
9762
9655
|
if (window.innerWidth >= 1200) {
|
|
9763
|
-
let height = container.clientHeight
|
|
9656
|
+
let height = container.clientHeight;
|
|
9764
9657
|
if (height > 0) {
|
|
9765
9658
|
dropdown.style.top = `${height}px`;
|
|
9766
9659
|
}
|
|
@@ -11587,9 +11480,10 @@ const PtcQuiz$1 = class extends HTMLElement$1 {
|
|
|
11587
11480
|
super();
|
|
11588
11481
|
this.__registerHost();
|
|
11589
11482
|
this.__attachShadow();
|
|
11590
|
-
this.
|
|
11591
|
-
this.
|
|
11592
|
-
this.
|
|
11483
|
+
this.optionClick = createEvent(this, "optionClick", 7);
|
|
11484
|
+
this.getQuizEndpoint = undefined;
|
|
11485
|
+
this.quiz = null;
|
|
11486
|
+
this.slide = null;
|
|
11593
11487
|
this.traversal = [];
|
|
11594
11488
|
}
|
|
11595
11489
|
handleStartButtonClick() {
|
|
@@ -11618,7 +11512,7 @@ const PtcQuiz$1 = class extends HTMLElement$1 {
|
|
|
11618
11512
|
break;
|
|
11619
11513
|
}
|
|
11620
11514
|
}
|
|
11621
|
-
this.
|
|
11515
|
+
this.optionClick.emit(option);
|
|
11622
11516
|
this.traversal = [...this.traversal, "options", optionInd, "next"];
|
|
11623
11517
|
let nextImage = new Image();
|
|
11624
11518
|
nextImage.src = option["next"]["image"];
|
|
@@ -11626,6 +11520,15 @@ const PtcQuiz$1 = class extends HTMLElement$1 {
|
|
|
11626
11520
|
this.slide = option["next"];
|
|
11627
11521
|
};
|
|
11628
11522
|
}
|
|
11523
|
+
componentWillLoad() {
|
|
11524
|
+
fetch(this.getQuizEndpoint)
|
|
11525
|
+
.then((response) => response.json())
|
|
11526
|
+
.then((responseJSON) => {
|
|
11527
|
+
this.quiz = responseJSON;
|
|
11528
|
+
this.slide = this.quiz;
|
|
11529
|
+
})
|
|
11530
|
+
.catch((err) => console.log("Quiz retireval error: ", err));
|
|
11531
|
+
}
|
|
11629
11532
|
render() {
|
|
11630
11533
|
const QuizSlideRestartButton = () => {
|
|
11631
11534
|
return h$1("div", { class: "right-button-container" }, h$1("div", { class: "restart-quiz-button", onClick: () => this.handleRestartButtonClick() }, h$1("icon-asset", { id: "restart-arrow", type: "ptc", size: "small", name: "quiz-arrow-restart" }), h$1("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-6", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, "Restart")));
|
|
@@ -11637,7 +11540,7 @@ const PtcQuiz$1 = class extends HTMLElement$1 {
|
|
|
11637
11540
|
return (h$1("div", { class: "quiz-slide-initial" }, h$1("div", { class: "quiz-slide-content" }, h$1("div", { id: "initial-quiz-h2", class: "quiz-slide-text-container" }, h$1("ptc-title", { type: "h2", "text-align": "center", "title-size": "x-large", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-8", "is-plm-hub": "false" }, this.slide["h2"])), h$1("ptc-spacer", { size: 'medium', breakpoint: 'small' }), h$1("ptc-spacer", { size: 'large', breakpoint: 'x-small' }), h$1("div", { id: "initial-quiz-h3", class: "quiz-slide-text-container" }, h$1("ptc-title", { type: "h3", "text-align": "center", "title-size": "medium", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false" }, this.slide["h3"])), h$1("ptc-spacer", { size: 'x-large', breakpoint: 'small' }), h$1("ptc-spacer", { size: 'xx-large', breakpoint: 'x-small' }), h$1("div", { id: "initial-quiz-p", class: "quiz-slide-text-container" }, h$1("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-5", "para-align": "center", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, this.slide["p"])), h$1("div", { class: "center-button-container" }, h$1("div", { id: "quiz-start-button", onClick: () => this.handleStartButtonClick() }, h$1("ptc-button", { type: "link", color: "ptc-tertiary", "link-href": "", target: "_blank" }, "Start"))))));
|
|
11638
11541
|
};
|
|
11639
11542
|
const QuizQuestionSlide = () => {
|
|
11640
|
-
return (h$1("div", { class: "quiz-slide-question" }, h$1("div", { class: "quiz-slide-content" }, h$1("div", { class: "quiz-slide-dual-layout" }, h$1("div", { class: "image-container" }, h$1("img", { alt: "", src: this.slide[
|
|
11543
|
+
return (h$1("div", { class: "quiz-slide-question" }, h$1("div", { class: "quiz-slide-content" }, h$1("div", { class: "quiz-slide-dual-layout" }, h$1("div", { class: "image-container" }, h$1("img", { alt: "", src: this.slide['image'] })), h$1("div", { class: "content-container" }, h$1("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "medium", "font-weight": "w-7", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-denser", "para-margin": "margin-bottom-6", "para-style": "", "para-z-index": "z-1", styles: "" }, this.slide["question"]), h$1("div", { class: "options-container" }, this.slide["options"].map(option => {
|
|
11641
11544
|
return h$1("div", { class: "radio-input" }, h$1("input", { type: "radio", name: "test", id: `${option["data-value"]}`, onClick: () => this.handleQuestionOptionClick(option["data-model-id"]), "data-model-id": `${option["data-model-id"]}` }), h$1("label", { class: "option-label", htmlFor: `${option["data-value"]}` }, h$1("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-6", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-densest", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, option["data-value"])));
|
|
11642
11545
|
})))))));
|
|
11643
11546
|
};
|
|
@@ -11652,7 +11555,7 @@ const PtcQuiz$1 = class extends HTMLElement$1 {
|
|
|
11652
11555
|
default: return null;
|
|
11653
11556
|
}
|
|
11654
11557
|
};
|
|
11655
|
-
return (h$1(Host, null, h$1("div", { class: "quiz-slide-container" }, h$1("div", { class: "quiz-slide-background" }), getQuizSlide())));
|
|
11558
|
+
return (h$1(Host, null, this.quiz && h$1("div", { class: "quiz-slide-container" }, h$1("div", { class: "quiz-slide-background" }), getQuizSlide())));
|
|
11656
11559
|
}
|
|
11657
11560
|
get el() { return this; }
|
|
11658
11561
|
static get style() { return ptcQuizCss; }
|
|
@@ -12460,7 +12363,7 @@ const PtcStickyTitle$1 = class extends HTMLElement$1 {
|
|
|
12460
12363
|
static get style() { return ptcStickyTitleCss; }
|
|
12461
12364
|
};
|
|
12462
12365
|
|
|
12463
|
-
const ptcSubnavCss = ":host{display:block;width:100%;background-color:var(--color-gray-10);position:relative}:host .stickyEl.sticky{top:0;position:fixed;width:100%;z-index:2000;transition:top 0.5s}:host .navbar
|
|
12366
|
+
const ptcSubnavCss = ":host{display:block;width:100%;background-color:var(--color-gray-10);position:relative}:host .stickyEl.sticky{top:0;position:fixed;width:100%;z-index:2000;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:1200px;margin:auto;box-sizing:border-box;padding:0px;display:none}@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}@media only screen and (min-width: 1200px){:host .navbar .navbar-inner .nav-wrapper{width:auto;display:flex;justify-content:space-between}}:host .navbar.navOpen .navbar-inner{background-color:var(--color-gray-12);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}}";
|
|
12464
12367
|
|
|
12465
12368
|
const PtcSubnav$1 = class extends HTMLElement$1 {
|
|
12466
12369
|
constructor() {
|
|
@@ -13518,7 +13421,7 @@ const PtcProductHighlightCard = /*@__PURE__*/proxyCustomElement(PtcProductHighli
|
|
|
13518
13421
|
const PtcProductList = /*@__PURE__*/proxyCustomElement(PtcProductList$1, [1,"ptc-product-list",null,[[4,"selectedResult","handleSearchResult"],[4,"clearsearch","handleSearchResult"],[4,"selectedValues","handleMultipleSearchResult"],[4,"emptyResult","handleEmptyResult"]]]);
|
|
13519
13422
|
const PtcProductSidebar = /*@__PURE__*/proxyCustomElement(PtcProductSidebar$1, [1,"ptc-product-sidebar",{"suggestionList":[16],"searchTerm":[32],"suggestions":[32]},[[4,"dropdownTouched","handleDropdownTouched"],[0,"click","handleClick"],[4,"clearCtaClicked","handleclearCtaClicked"],[4,"selectedValues","handleSelectedValues"]]]);
|
|
13520
13423
|
const PtcProgressBar = /*@__PURE__*/proxyCustomElement(PtcProgressBar$1, [1,"ptc-progress-bar",{"scrollPercentage":[32]},[[9,"scroll","handleScroll"]]]);
|
|
13521
|
-
const PtcQuiz = /*@__PURE__*/proxyCustomElement(PtcQuiz$1, [1,"ptc-quiz",{"
|
|
13424
|
+
const PtcQuiz = /*@__PURE__*/proxyCustomElement(PtcQuiz$1, [1,"ptc-quiz",{"getQuizEndpoint":[1,"get-quiz-endpoint"],"quiz":[32],"slide":[32],"traversal":[32]}]);
|
|
13522
13425
|
const PtcQuote = /*@__PURE__*/proxyCustomElement(PtcQuote$1, [1,"ptc-quote",{"quoteType":[1025,"quote-type"],"quoteName":[1025,"quote-name"],"ctaText":[1,"cta-text"],"ctaUrl":[1,"cta-url"],"imgSrc":[1,"img-src"],"imgTitle":[1,"img-title"]}]);
|
|
13523
13426
|
const PtcReadmore = /*@__PURE__*/proxyCustomElement(PtcReadmore$1, [1,"ptc-readmore",{"moreText":[1025,"more-text"],"lessText":[1025,"less-text"],"readMorePosition":[1,"read-more-position"],"display":[1],"visibleLines":[1,"visible-lines"],"visibleLinesCustom":[2,"visible-lines-custom"],"zIndex":[1,"z-index"],"checked":[1028],"size":[1],"isIcon":[4,"is-icon"],"color":[1]},[[9,"resize","addBtnTruncated"]]]);
|
|
13524
13427
|
const PtcReadmoreChar = /*@__PURE__*/proxyCustomElement(PtcReadmoreChar$1, [1,"ptc-readmore-char",{"maxCharacters":[2,"max-characters"],"description":[1],"readMoreText":[1,"read-more-text"],"readLessText":[1,"read-less-text"],"expanded":[32]}]);
|