@ptcwebops/ptcw-design 3.7.9 → 3.8.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/academic-form-test.cjs.entry.js +1 -1
- 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-332e5461.js → core-d64db970.js} +117 -39
- package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +1 -1
- package/dist/cjs/embedded-form.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/footer-form.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset_19.cjs.entry.js +142 -97
- package/dist/cjs/{index-cd9a1b1a.js → index-4b85b38a.js} +72 -1
- 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 +2 -2
- package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/news-search-result.cjs.entry.js +1 -1
- package/dist/cjs/{pagination-8d9d474d.js → pagination-468c8158.js} +33 -7
- 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-badge.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-brightcov-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-content.cjs.entry.js +1 -1
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +22 -8
- package/dist/cjs/ptc-checkbox-group.cjs.entry.js +1 -1
- 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-data-lookup.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-embedded-quiz.cjs.entry.js +1 -1
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +1 -1
- package/dist/cjs/ptc-form-checkbox_3.cjs.entry.js +185 -76
- package/dist/cjs/ptc-form.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 +4 -4
- 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-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-modal-quiz.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 +1 -1
- 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 +1 -1
- package/dist/cjs/ptc-nav-tile.cjs.entry.js +1 -1
- 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-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +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-packaging-table.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-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-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-seo-title.cjs.entry.js +1 -1
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +1 -1
- package/dist/cjs/ptc-showcase-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/ptc-slit-card.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-subnav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav.cjs.entry.js +1 -1
- 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-theater-video-modal.cjs.entry.js +1 -1
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-content-highlight.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-content.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-intro.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-layout.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -1
- package/dist/cjs/ptcw-design.cjs.js +2 -2
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +3 -3
- 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 +8 -2
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +8 -2
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +8 -2
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +7 -2
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +35 -11
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +51 -34
- package/dist/custom-elements/index.js +495 -223
- package/dist/esm/academic-form-test.entry.js +1 -1
- 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-73ab4867.js → core-ebde74a2.js} +117 -39
- 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/featured-list.entry.js +1 -1
- package/dist/esm/fl-tab-content_3.entry.js +1 -1
- package/dist/esm/footer-form.entry.js +1 -1
- package/dist/esm/icon-asset_19.entry.js +142 -97
- package/dist/esm/{index-4025d85a.js → index-3309fc22.js} +72 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/news-search-result.entry.js +1 -1
- package/dist/esm/{pagination-902de0b2.js → pagination-726fafd1.js} +33 -7
- 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-badge.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-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/ptc-case-studies-slider.entry.js +22 -8
- package/dist/esm/ptc-checkbox-group.entry.js +1 -1
- 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-data-lookup.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 +1 -1
- package/dist/esm/ptc-filter-dropdown_3.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/ptc-filter-tag.entry.js +1 -1
- package/dist/esm/ptc-form-checkbox_3.entry.js +185 -76
- 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-icon-component.entry.js +4 -4
- 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-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-modal-quiz.entry.js +1 -1
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +1 -1
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-nav-tile.entry.js +1 -1
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-pagenation.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +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-packaging-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-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-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-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-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav.entry.js +1 -1
- package/dist/esm/ptc-svg-btn.entry.js +1 -1
- package/dist/esm/ptc-tab-list.entry.js +1 -1
- package/dist/esm/ptc-tab.entry.js +1 -1
- package/dist/esm/ptc-tabs.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
- package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
- package/dist/esm/ptc-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 +1 -1
- package/dist/esm/ptc-value-prop-card.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +1 -1
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle-example.entry.js +3 -3
- 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-024293d8.entry.js → p-00ba09b4.entry.js} +1 -1
- package/dist/ptcw-design/{p-047bcae4.entry.js → p-00d74dc0.entry.js} +1 -1
- package/dist/ptcw-design/{p-6a547b9e.entry.js → p-054864e7.entry.js} +1 -1
- package/dist/ptcw-design/{p-6176aec8.entry.js → p-0723ba49.entry.js} +1 -1
- package/dist/ptcw-design/{p-c6d4f5e1.entry.js → p-0c8007ee.entry.js} +1 -1
- package/dist/ptcw-design/{p-1d2699cf.entry.js → p-1090544d.entry.js} +1 -1
- package/dist/ptcw-design/{p-d01e214b.entry.js → p-10f6e277.entry.js} +1 -1
- package/dist/ptcw-design/{p-4562a70a.entry.js → p-132c7242.entry.js} +1 -1
- package/dist/ptcw-design/{p-69752603.entry.js → p-175a70b6.entry.js} +1 -1
- package/dist/ptcw-design/{p-e72e9b92.entry.js → p-187101d8.entry.js} +1 -1
- package/dist/ptcw-design/{p-7e477c43.entry.js → p-1b4bae3c.entry.js} +1 -1
- package/dist/ptcw-design/{p-606621ad.entry.js → p-1ed67cc5.entry.js} +1 -1
- package/dist/ptcw-design/{p-2b9314b8.entry.js → p-1fccdca4.entry.js} +1 -1
- package/dist/ptcw-design/{p-0d446342.entry.js → p-24af9a13.entry.js} +1 -1
- package/dist/ptcw-design/{p-3cfc8d46.entry.js → p-26a1db5a.entry.js} +1 -1
- package/dist/ptcw-design/{p-f916136f.entry.js → p-2c47be9a.entry.js} +1 -1
- package/dist/ptcw-design/{p-d213c296.entry.js → p-2e63781e.entry.js} +1 -1
- package/dist/ptcw-design/{p-9d11566a.entry.js → p-320c9828.entry.js} +1 -1
- package/dist/ptcw-design/{p-e65478c0.entry.js → p-3295825a.entry.js} +1 -1
- package/dist/ptcw-design/{p-1999174b.entry.js → p-34b82cde.entry.js} +1 -1
- package/dist/ptcw-design/{p-cb98227f.entry.js → p-393368a4.entry.js} +1 -1
- package/dist/ptcw-design/{p-a2a0a548.entry.js → p-3b03642c.entry.js} +1 -1
- package/dist/ptcw-design/{p-a4a90b27.entry.js → p-3c307289.entry.js} +1 -1
- package/dist/ptcw-design/{p-d8b9dfb6.entry.js → p-3df13196.entry.js} +1 -1
- package/dist/ptcw-design/{p-b400cd38.entry.js → p-3ee5a50d.entry.js} +1 -1
- package/dist/ptcw-design/{p-35fc4059.entry.js → p-3f4bdd1a.entry.js} +1 -1
- package/dist/ptcw-design/{p-ea23e95c.entry.js → p-414c3b74.entry.js} +1 -1
- package/dist/ptcw-design/{p-22279b4a.entry.js → p-42d659e1.entry.js} +1 -1
- package/dist/ptcw-design/{p-9d0ff895.entry.js → p-42ea22b0.entry.js} +1 -1
- package/dist/ptcw-design/{p-51b4bcc8.entry.js → p-47f7b3a4.entry.js} +1 -1
- package/dist/ptcw-design/{p-0a923315.entry.js → p-4ae0e239.entry.js} +1 -1
- package/dist/ptcw-design/{p-235d7cb7.entry.js → p-50425210.entry.js} +1 -1
- package/dist/ptcw-design/{p-652bcc1e.entry.js → p-531619d4.entry.js} +1 -1
- package/dist/ptcw-design/{p-5682ab2e.entry.js → p-5596259e.entry.js} +1 -1
- package/dist/ptcw-design/{p-3dbcadd8.entry.js → p-55f20ac7.entry.js} +1 -1
- package/dist/ptcw-design/{p-0287832c.entry.js → p-5883f603.entry.js} +1 -1
- package/dist/ptcw-design/{p-aca960a9.entry.js → p-5e8a4cd8.entry.js} +1 -1
- package/dist/ptcw-design/{p-8f5f3cb4.entry.js → p-604178dc.entry.js} +1 -1
- package/dist/ptcw-design/{p-3f60ae3f.entry.js → p-60cfbce1.entry.js} +1 -1
- package/dist/ptcw-design/{p-47065dd4.entry.js → p-60d50f9d.entry.js} +1 -1
- package/dist/ptcw-design/{p-32c1f1c5.entry.js → p-66364007.entry.js} +1 -1
- package/dist/ptcw-design/p-6914b70c.js +1 -0
- package/dist/ptcw-design/{p-a37695dd.entry.js → p-69206755.entry.js} +1 -1
- package/dist/ptcw-design/{p-11d4c4cc.entry.js → p-6d4c5679.entry.js} +1 -1
- package/dist/ptcw-design/{p-404528e3.entry.js → p-715d1d8f.entry.js} +1 -1
- package/dist/ptcw-design/{p-230816f9.entry.js → p-71e0d64c.entry.js} +1 -1
- package/dist/ptcw-design/{p-f9085a4f.entry.js → p-7286b93b.entry.js} +1 -1
- package/dist/ptcw-design/{p-c9c7f5c2.entry.js → p-73fb1c63.entry.js} +1 -1
- package/dist/ptcw-design/{p-1254431a.entry.js → p-75cbe76e.entry.js} +1 -1
- package/dist/ptcw-design/{p-216baf71.entry.js → p-782442e6.entry.js} +1 -1
- package/dist/ptcw-design/{p-22b88ef0.entry.js → p-78828213.entry.js} +1 -1
- package/dist/ptcw-design/{p-62fb5647.entry.js → p-79f02292.entry.js} +1 -1
- package/dist/ptcw-design/{p-2045d953.entry.js → p-7ce8fb2a.entry.js} +1 -1
- package/dist/ptcw-design/{p-6569295e.entry.js → p-7dfe8589.entry.js} +1 -1
- package/dist/ptcw-design/{p-32e40eff.entry.js → p-82aca032.entry.js} +1 -1
- package/dist/ptcw-design/{p-b222d731.entry.js → p-854c9f75.entry.js} +1 -1
- package/dist/ptcw-design/{p-f89be437.entry.js → p-85c53242.entry.js} +1 -1
- package/dist/ptcw-design/p-8f6af405.js +1 -0
- package/dist/ptcw-design/{p-a981f734.entry.js → p-915cf7bd.entry.js} +1 -1
- package/dist/ptcw-design/{p-76068d1f.entry.js → p-93737897.entry.js} +1 -1
- package/dist/ptcw-design/{p-296ea702.entry.js → p-9603afb7.entry.js} +1 -1
- package/dist/ptcw-design/{p-cb31e9ae.entry.js → p-99d9433a.entry.js} +1 -1
- package/dist/ptcw-design/{p-5cc72d9b.entry.js → p-9d13225e.entry.js} +1 -1
- package/dist/ptcw-design/{p-06efad3f.entry.js → p-9d4f7574.entry.js} +1 -1
- package/dist/ptcw-design/{p-e89c6e69.entry.js → p-9e730840.entry.js} +1 -1
- package/dist/ptcw-design/{p-d8c2f135.entry.js → p-a2fdaff6.entry.js} +1 -1
- package/dist/ptcw-design/{p-60e4d7b4.entry.js → p-a60d6a4c.entry.js} +1 -1
- package/dist/ptcw-design/{p-d1701283.entry.js → p-ac8f446e.entry.js} +1 -1
- package/dist/ptcw-design/{p-de74af9e.entry.js → p-aeae9c92.entry.js} +1 -1
- package/dist/ptcw-design/{p-9858ccb6.entry.js → p-b102050c.entry.js} +1 -1
- package/dist/ptcw-design/{p-3ff0b2f6.entry.js → p-b4cd594a.entry.js} +1 -1
- package/dist/ptcw-design/{p-326fb331.entry.js → p-b5bdef1d.entry.js} +1 -1
- package/dist/ptcw-design/{p-6532393f.entry.js → p-b8f9e9b4.entry.js} +1 -1
- package/dist/ptcw-design/{p-b50948d4.entry.js → p-b9815e9e.entry.js} +1 -1
- package/dist/ptcw-design/{p-1a1ec388.entry.js → p-bb7ad437.entry.js} +1 -1
- package/dist/ptcw-design/{p-0340186c.entry.js → p-bdef56ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-70c2d947.entry.js → p-bf7f2d16.entry.js} +1 -1
- package/dist/ptcw-design/p-bf8a6f83.entry.js +1 -0
- package/dist/ptcw-design/{p-57ad0b45.entry.js → p-c5bea051.entry.js} +1 -1
- package/dist/ptcw-design/{p-bd2ae545.entry.js → p-c635f47d.entry.js} +1 -1
- package/dist/ptcw-design/{p-771092aa.entry.js → p-c6e882e1.entry.js} +1 -1
- package/dist/ptcw-design/{p-ea5bfecc.entry.js → p-c92d7efd.entry.js} +1 -1
- package/dist/ptcw-design/{p-951d59ad.entry.js → p-c9b9029b.entry.js} +1 -1
- package/dist/ptcw-design/{p-77e665d5.entry.js → p-cb77c7d2.entry.js} +1 -1
- package/dist/ptcw-design/{p-3dcdd623.entry.js → p-ce535ac6.entry.js} +1 -1
- package/dist/ptcw-design/{p-1d39f076.entry.js → p-d00720e3.entry.js} +4 -4
- package/dist/ptcw-design/p-d4031650.entry.js +1 -0
- package/dist/ptcw-design/{p-fb874acd.entry.js → p-d49ec51a.entry.js} +1 -1
- package/dist/ptcw-design/{p-3467ecc4.entry.js → p-d5e9a7f3.entry.js} +1 -1
- package/dist/ptcw-design/{p-4d259338.entry.js → p-d6863552.entry.js} +1 -1
- package/dist/ptcw-design/{p-8de145c1.entry.js → p-d7a69e1c.entry.js} +1 -1
- package/dist/ptcw-design/{p-60be89c0.entry.js → p-db3451b8.entry.js} +1 -1
- package/dist/ptcw-design/{p-de936b31.entry.js → p-dd4ab5a8.entry.js} +1 -1
- package/dist/ptcw-design/{p-7a5efec4.entry.js → p-e1a2421d.entry.js} +1 -1
- package/dist/ptcw-design/{p-d3853141.entry.js → p-e1da01e7.entry.js} +1 -1
- package/dist/ptcw-design/{p-68da2aaf.entry.js → p-e44ed276.entry.js} +1 -1
- package/dist/ptcw-design/p-e773bbc6.entry.js +1 -0
- package/dist/ptcw-design/{p-99fce6fd.entry.js → p-e84a52f6.entry.js} +1 -1
- package/dist/ptcw-design/{p-9070d904.entry.js → p-e86086c6.entry.js} +1 -1
- package/dist/ptcw-design/{p-f405c9ee.entry.js → p-e8a19cd0.entry.js} +1 -1
- package/dist/ptcw-design/{p-0a18233e.entry.js → p-ea1b6092.entry.js} +1 -1
- package/dist/ptcw-design/{p-fb4d4ced.entry.js → p-ec463060.entry.js} +1 -1
- package/dist/ptcw-design/{p-364c2b9e.entry.js → p-ecf78aae.entry.js} +1 -1
- package/dist/ptcw-design/{p-7dd3f52a.entry.js → p-ee02aea6.entry.js} +1 -1
- package/dist/ptcw-design/{p-7fd39202.entry.js → p-ef7a4f53.entry.js} +1 -1
- package/dist/ptcw-design/{p-fe7cfe1f.entry.js → p-ef94dcd5.entry.js} +1 -1
- package/dist/ptcw-design/{p-574b7ddd.entry.js → p-f191d650.entry.js} +1 -1
- package/dist/ptcw-design/{p-b18ac96c.entry.js → p-f2bc4f50.entry.js} +1 -1
- package/dist/ptcw-design/{p-8350e6e3.entry.js → p-f5b66bb4.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf0ad4e0.entry.js → p-f8a96b70.entry.js} +1 -1
- package/dist/ptcw-design/{p-f644108a.entry.js → p-fae44ada.entry.js} +1 -1
- package/dist/ptcw-design/{p-998635be.entry.js → p-fb1f969e.entry.js} +1 -1
- package/dist/ptcw-design/{p-7629c0b4.entry.js → p-ff392584.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +8 -0
- package/dist/types/stencil-public-runtime.d.ts +11 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/ptcw-design/p-470696a8.entry.js +0 -1
- package/dist/ptcw-design/p-553d840a.js +0 -1
- package/dist/ptcw-design/p-6145fc38.entry.js +0 -1
- package/dist/ptcw-design/p-d100f115.js +0 -1
- package/dist/ptcw-design/p-dadc02bc.entry.js +0 -1
- /package/dist/ptcw-design/{p-a7fdc2eb.js → p-9e0fd244.js} +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4b85b38a.js');
|
|
6
6
|
|
|
7
7
|
const dynamicBoxBundleCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link{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{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 .d-box{width:100%;height:550px;position:relative}:host .d-box.hovering .top-image{background-image:linear-gradient(0deg, rgba(242, 242, 242, 0), #f3f3f3)}:host .d-box.hovering .content{height:100%}:host .top-image{position:relative;display:flex;justify-content:center;align-items:center;height:50%;z-index:99}:host .top-image img{width:405px;height:40px;transform:translateY(-64px)}@media only screen and (min-width: 992px){:host .top-image img{height:35px;transform:translateY(-88px)}}:host .content{height:80%;box-shadow:0 0 0 1px #f3f3f3;width:100%;position:absolute;bottom:0px;left:0px}:host p{font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-p);margin:0px;padding:40px;box-sizing:border-box}@media only screen and (min-width: 1200px){:host p{padding:40px}}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4b85b38a.js');
|
|
6
6
|
|
|
7
7
|
const embeddedFormCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link{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{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}.flex-adjustments{display:flex;justify-content:center}@media only screen and (min-width: 768px){.flex-adjustments{justify-content:flex-end}}.embedded-form-container{background-color:#142D48}.ptc-embedded-form.form-wrapper{max-width:361px;display:flex;border-radius:3px;background:#FFF;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.16);flex-direction:column;align-items:center;padding:24px 0px;justify-content:center}@media only screen and (min-width: 480px){.ptc-embedded-form.form-wrapper{width:361px}}@keyframes rollUp{from{height:auto;opacity:1}to{height:0;opacity:0}}.ptc-form-roll-up{animation:rollUp 1s forwards;}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4b85b38a.js');
|
|
6
6
|
|
|
7
7
|
const featuredListCss = "a {\r\n font-family: var(--ptc-font-latin);\r\n font-style: var(--ptc-font-style-normal);\r\n text-decoration-line: underline;\r\n color: var(--color-hyperlink);\r\n transition: color var(--ptc-transition-medium) var(--ptc-ease-out);\r\n font-weight: var(--ptc-font-weight-bold);\r\n\r\n &:visited {\r\n color: var(--color-blue-10);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-blue-09);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-blue-08);\r\n }\r\n\r\n &.disabled {\r\n color: var(--color-gray-04) !important;\r\n cursor: not-allowed;\r\n }\r\n}\r\n\r\n.light-links,.background-grey-10,.background-plm-grey {\r\n a:not(.hero-footer-form-wrapper a, ptc-modal inline-form a), a.light-link {\r\n color: var(--color-blue-04);\r\n\r\n &:visited {\r\n color: var(--color-blue-06);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-blue-07);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-blue-05);\r\n }\r\n\r\n &.disabled {\r\n color: var(--color-gray-04) !important;\r\n cursor: not-allowed;\r\n }\r\n }\r\n}\r\n\r\n.ptc-link {\r\n color: var(--color-gray-10);\r\n text-decoration: underline;\r\n text-decoration-thickness: 2px;\r\n text-decoration-color: var(--color-green-06);\r\n text-underline-offset: 5px;\r\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\r\n\r\n &:hover {\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:visited {\r\n color: var(--color-gray-10);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-green-06);\r\n }\r\n}\r\n\r\n.ptc-link-dark {\r\n color: var(--color-white);\r\n text-decoration: underline;\r\n text-decoration-thickness: 2px;\r\n text-decoration-color: var(--color-green-06);\r\n text-underline-offset: 5px;\r\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\r\n\r\n &:hover {\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:visited {\r\n color: var(--color-white);\r\n }\r\n\r\n &:active,\r\n &:visited:active {\r\n // pressed\r\n color: var(--color-green-06);\r\n }\r\n\r\n &:hover,\r\n &:visited:hover {\r\n color: var(--color-green-06);\r\n }\r\n\r\n}\r\n\r\n :host {\r\n\t display: block;\r\n\t box-sizing: border-box;\r\n}\r\n :host ptc-background-video {\r\n\t height: 240px;\r\n}\r\n @media (min-width: 480px) {\r\n\t :host ptc-background-video {\r\n\t\t height: 320px;\r\n\t}\r\n}\r\n @media (min-width: 768px) {\r\n\t :host ptc-background-video {\r\n\t\t height: 450px;\r\n\t}\r\n}\r\n @media (min-width: 992px) {\r\n\t :host ptc-background-video {\r\n\t\t height: 500px;\r\n\t}\r\n}\r\n :host .fl-header {\r\n\t cursor: pointer;\r\n}\r\n :host .non-mobile-wrapper {\r\n\t box-sizing: border-box;\r\n}\r\n @media (min-width: 992px) {\r\n\t :host .non-mobile-wrapper {\r\n\t\t max-width: 1078px;\r\n\t\t margin: -75px auto 0 auto;\r\n\t\t display: flex;\r\n\t\t align-items: center;\r\n\t\t width: 100%;\r\n\t\t background: var(--color-white);\r\n\t\t box-shadow: var(--ptc-shadow-small);\r\n\t\t padding: 24px 32px;\r\n\t\t z-index: 1;\r\n\t\t position: relative;\r\n\t\t min-height: 350px;\r\n\t}\r\n}\r\n @media (min-width: 992px) {\r\n\t :host .non-mobile-wrapper .header-list-wrap {\r\n\t\t padding-right: 16px;\r\n\t\t margin-right: 64px;\r\n\t\t min-width: 270px;\r\n\t\t max-width: 270px;\r\n\t\t box-sizing: border-box;\r\n\t\t display: flex;\r\n\t\t flex-direction: column;\r\n\t\t align-items: baseline;\r\n\t}\r\n\t :host .non-mobile-wrapper .header-list-wrap::after {\r\n\t\t content: \"\";\r\n\t\t width: 1px;\r\n\t\t height: calc(100% - 48px);\r\n\t\t background-color: var(--color-gray-05);\r\n\t\t position: absolute;\r\n\t\t left: 297px;\r\n\t\t top: 24px;\r\n\t\t bottom: 24px;\r\n\t}\r\n}\r\n @media (min-width: 992px) {\r\n\t :host .non-mobile-wrapper .content-wrap {\r\n\t\t padding-right: 72px;\r\n\t}\r\n}\r\n :host .non-mobile-wrapper .fl-header {\r\n\t border-radius: 4px;\r\n\t margin: 12px 0;\r\n\t padding: 4px 8px;\r\n}\r\n :host .non-mobile-wrapper .fl-header:hover {\r\n\t background-color: var(--color-gray-02);\r\n}\r\n :host .non-mobile-wrapper .fl-header.selected, :host .non-mobile-wrapper .fl-header.init-active {\r\n\t background-color: var(--color-gray-03);\r\n}\r\n :host .mobile-wrapper .acc-item {\r\n\t border-bottom: 1px solid var(--color-gray-03);\r\n\t padding: 14px 30px;\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-header {\r\n\t padding-left: 34px;\r\n\t position: relative;\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-header::before {\r\n\t content: '';\r\n\t display: inline-block;\r\n\t width: 16px;\r\n\t height: 16px;\r\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_91_790)\"><path d=\"M15.9001 6.29998H9.7001V0.0999756H6.3001V6.29998H0.100098V9.69998H6.3001V15.9H9.7001V9.69998H15.9001V6.29998Z\" fill=\"%23006E09\"/></g><defs><clipPath id=\"clip0_91_790\"><rect width=\"16\" height=\"16\" fill=\"white\"/></clipPath></defs></svg>');\r\n\t vertical-align: middle;\r\n\t position: absolute;\r\n\t left: 0;\r\n\t top: 4.5px;\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-header.selected::before, :host .mobile-wrapper .acc-item fl-tab-header.init-active::before {\r\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_113_741)\"><path d=\"M0 7.05566V10.8637H13.913V7.05566H0Z\" fill=\"%23323B42\"/></g><defs><clipPath id=\"clip0_113_741\"><rect width=\"13.913\" height=\"17.92\" fill=\"white\"/></clipPath></defs></svg>');\r\n}\r\n :host .mobile-wrapper .acc-item fl-tab-content {\r\n\t padding-left: 34px;\r\n\t padding-bottom: 18px;\r\n}\r\n";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4b85b38a.js');
|
|
6
6
|
|
|
7
7
|
const flTabContentCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link{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{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:none}:host(.init-active){display:block}:host(.selected){display:block}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4b85b38a.js');
|
|
6
6
|
|
|
7
7
|
const footerFormCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link{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{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}.flex-adjustments{display:flex;justify-content:center}@media only screen and (min-width: 768px){.flex-adjustments{justify-content:flex-end}}.embedded-form-container{background-color:#142D48}.form-wrapper{width:433px;display:flex;border-radius:3px;background:#FFF;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.16);flex-direction:column;align-items:center;padding:24px 0px;justify-content:center}";
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-4b85b38a.js');
|
|
6
6
|
const utils = require('./utils-03d92070.js');
|
|
7
7
|
|
|
8
8
|
const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small) / 2);height:calc(var(--ptc-font-size-x-small) / 2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.primary-gray.sc-icon-asset{fill:var(--color-gray-10)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}";
|
|
@@ -517,15 +517,18 @@ const PtcLink = class {
|
|
|
517
517
|
PtcLink.style = ptcLinkCss;
|
|
518
518
|
|
|
519
519
|
/*
|
|
520
|
-
* mobile-select v1.
|
|
520
|
+
* mobile-select v1.4.0
|
|
521
521
|
* Homepage: https://github.com/onlyhom/mobile-select
|
|
522
522
|
* Released under the MIT License.
|
|
523
523
|
* (c) 2017-present
|
|
524
524
|
*/
|
|
525
|
-
var
|
|
526
|
-
var
|
|
527
|
-
var h = (g, t, e) => (
|
|
528
|
-
|
|
525
|
+
var S = Object.defineProperty;
|
|
526
|
+
var D = (g, t, e) => t in g ? S(g, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : g[t] = e;
|
|
527
|
+
var h = (g, t, e) => (D(g, typeof t != "symbol" ? t + "" : t, e), e);
|
|
528
|
+
function w() {
|
|
529
|
+
return !navigator.userAgent.toLowerCase().match(/ipad|iphone os|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/);
|
|
530
|
+
}
|
|
531
|
+
const l = class {
|
|
529
532
|
constructor(t) {
|
|
530
533
|
h(this, "mobileSelect");
|
|
531
534
|
h(this, "trigger");
|
|
@@ -553,82 +556,74 @@ const r = class {
|
|
|
553
556
|
h(this, "offsetSum");
|
|
554
557
|
h(this, "oversizeBorder");
|
|
555
558
|
h(this, "enableClickStatus");
|
|
556
|
-
h(this, "isPC");
|
|
557
559
|
h(this, "optionHeight");
|
|
558
560
|
h(this, "curDistance");
|
|
559
561
|
h(this, "cascadeJsonData");
|
|
560
562
|
h(this, "eventHandleMap");
|
|
561
563
|
h(this, "initDeepCount");
|
|
562
564
|
h(this, "config");
|
|
563
|
-
!
|
|
565
|
+
!l.checkRequiredConfig(t) || (this.config = Object.assign({}, l.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.optionHeight = 0, this.initPosition = t.position || [], this.initColWidth = t.colWidth || [], this.init());
|
|
564
566
|
}
|
|
565
567
|
init() {
|
|
568
|
+
if (!this.checkTriggerAvailable())
|
|
569
|
+
return;
|
|
566
570
|
const { config: t } = this;
|
|
567
|
-
if (this.isJsonType =
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
this.initPosition.push(0);
|
|
572
|
-
}
|
|
573
|
-
this.isCascade ? this.initPosition.forEach((e, i) => {
|
|
574
|
-
this.checkRange(i, this.initPosition);
|
|
575
|
-
}) : this.setCurDistance(this.initPosition), this.eventHandleMap = {
|
|
576
|
-
cancelBtn: {
|
|
577
|
-
event: "click",
|
|
578
|
-
fn: () => {
|
|
579
|
-
var e, i, s, n;
|
|
580
|
-
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);
|
|
581
|
-
}
|
|
582
|
-
},
|
|
583
|
-
ensureBtn: {
|
|
584
|
-
event: "click",
|
|
585
|
-
fn: () => {
|
|
586
|
-
var i, s, n, l;
|
|
587
|
-
this.hide(), this.optionHeight || (this.optionHeight = this.mobileSelect.querySelector("li").offsetHeight);
|
|
588
|
-
let e = "";
|
|
589
|
-
for (let o = 0; o < this.wheelList.length; o++)
|
|
590
|
-
o == this.wheelList.length - 1 ? e += this.getInnerText(o) : e += this.getInnerText(o) + this.config.connector;
|
|
591
|
-
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);
|
|
592
|
-
}
|
|
593
|
-
},
|
|
594
|
-
trigger: {
|
|
595
|
-
event: "click",
|
|
596
|
-
fn: () => {
|
|
597
|
-
this.show();
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
grayLayer: {
|
|
601
|
-
event: "click",
|
|
602
|
-
fn: () => this.hide()
|
|
603
|
-
},
|
|
604
|
-
popUp: {
|
|
605
|
-
event: "click",
|
|
606
|
-
fn: (e) => e.stopPropagation()
|
|
607
|
-
},
|
|
608
|
-
panel: {
|
|
609
|
-
event: ["touchstart", "touchend", "touchmove"],
|
|
610
|
-
fn: (e) => this.touch(e)
|
|
611
|
-
}
|
|
612
|
-
}, this.isPC && (this.eventHandleMap.panel.event = ["mousedown", "mousemove", "mouseup"]), this.registerEvents("add"), this.fixRowStyle(), t.autoFocus && this.show();
|
|
571
|
+
if (this.isJsonType = l.checkDataType(this.wheelsData), this.renderComponent(this.wheelsData), 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 && this.setTriggerInnerText(t.initValue), this.setStyle(t), this.isCascade = this.checkCascade(), this.isCascade && this.initCascade(), t.initValue && (this.initPosition = this.getPositionByInitValue()), this.initPosition.length < this.sliderList.length) {
|
|
572
|
+
const e = this.sliderList.length - this.initPosition.length;
|
|
573
|
+
for (let i = 0; i < e; i++)
|
|
574
|
+
this.initPosition.push(0);
|
|
613
575
|
}
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
576
|
+
this.isCascade ? this.initPosition.forEach((e, i) => {
|
|
577
|
+
this.checkRange(i, this.initPosition);
|
|
578
|
+
}) : this.setCurDistance(this.initPosition), this.eventHandleMap = {
|
|
579
|
+
cancelBtn: {
|
|
580
|
+
event: "click",
|
|
581
|
+
fn: () => {
|
|
582
|
+
var e, i, s, n;
|
|
583
|
+
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);
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
ensureBtn: {
|
|
587
|
+
event: "click",
|
|
588
|
+
fn: () => {
|
|
589
|
+
var e, i, s, n;
|
|
590
|
+
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);
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
trigger: {
|
|
594
|
+
event: "click",
|
|
595
|
+
fn: () => {
|
|
596
|
+
this.show();
|
|
597
|
+
}
|
|
598
|
+
},
|
|
599
|
+
grayLayer: {
|
|
600
|
+
event: "click",
|
|
601
|
+
fn: () => this.hide()
|
|
602
|
+
},
|
|
603
|
+
popUp: {
|
|
604
|
+
event: "click",
|
|
605
|
+
fn: (e) => e.stopPropagation()
|
|
606
|
+
},
|
|
607
|
+
panel: {
|
|
608
|
+
event: ["touchstart", "touchend", "touchmove"],
|
|
609
|
+
fn: (e) => this.touch(e)
|
|
610
|
+
}
|
|
611
|
+
}, w() && (this.eventHandleMap.panel.event = ["mousedown", "mousemove", "mouseup"]), this.registerEvents("add"), this.fixRowStyle(), t.autoFocus && this.show();
|
|
617
612
|
}
|
|
618
613
|
static checkDataType(t) {
|
|
619
614
|
var e, i;
|
|
620
615
|
return typeof ((i = (e = t[0]) == null ? void 0 : e.data) == null ? void 0 : i[0]) == "object";
|
|
621
616
|
}
|
|
622
617
|
static checkRequiredConfig(t) {
|
|
623
|
-
const e =
|
|
618
|
+
const e = l.REQUIRED_PARAMS;
|
|
624
619
|
if (!t) {
|
|
625
620
|
const i = e.map((s) => `'${s}'`);
|
|
626
|
-
return
|
|
621
|
+
return l.log("error", `missing required param ${i.join(" and ")}.`), !1;
|
|
627
622
|
}
|
|
628
623
|
for (let i = 0; i < e.length; i++) {
|
|
629
624
|
const s = e[i];
|
|
630
625
|
if (!t[s])
|
|
631
|
-
return
|
|
626
|
+
return l.log("error", `missing required param '${s}'.`), !1;
|
|
632
627
|
}
|
|
633
628
|
return !0;
|
|
634
629
|
}
|
|
@@ -638,25 +633,48 @@ const r = class {
|
|
|
638
633
|
}
|
|
639
634
|
checkTriggerAvailable() {
|
|
640
635
|
const { config: t } = this;
|
|
641
|
-
return this.trigger = t.trigger instanceof HTMLElement ? t.trigger : document.querySelector(t.trigger), this.trigger ? !0 : (
|
|
636
|
+
return this.trigger = t.trigger instanceof HTMLElement ? t.trigger : document.querySelector(t.trigger), this.trigger ? !0 : (l.log("error", "trigger HTMLElement does not found on your document."), !1);
|
|
642
637
|
}
|
|
643
|
-
|
|
638
|
+
getPositionByInitValue() {
|
|
644
639
|
var n;
|
|
645
640
|
const { keyMap: t, connector: e, initValue: i } = this.config, s = (i == null ? void 0 : i.split(e)) || [];
|
|
646
641
|
if (this.isJsonType) {
|
|
647
|
-
let
|
|
648
|
-
return s.reduce((
|
|
649
|
-
var
|
|
650
|
-
const a =
|
|
651
|
-
return
|
|
642
|
+
let o = (n = this.wheelsData[0]) == null ? void 0 : n.data;
|
|
643
|
+
return s.reduce((r, c) => {
|
|
644
|
+
var u;
|
|
645
|
+
const a = o == null ? void 0 : o.findIndex((d) => d[t.value] == c);
|
|
646
|
+
return r.push(a < 0 ? 0 : a), o = (u = o[a]) == null ? void 0 : u[t.childs], r;
|
|
652
647
|
}, []);
|
|
653
648
|
}
|
|
654
|
-
return s.reduce((
|
|
655
|
-
var
|
|
656
|
-
const a = (
|
|
657
|
-
return
|
|
649
|
+
return s.reduce((o, r, c) => {
|
|
650
|
+
var u, d;
|
|
651
|
+
const a = (d = (u = this.wheelsData[c]) == null ? void 0 : u.data) == null ? void 0 : d.findIndex((f) => f == r);
|
|
652
|
+
return o.push(a < 0 ? 0 : a), o;
|
|
658
653
|
}, []);
|
|
659
654
|
}
|
|
655
|
+
getConnectedString() {
|
|
656
|
+
let t = "";
|
|
657
|
+
for (let e = 0; e < this.wheelList.length; e++)
|
|
658
|
+
e == this.wheelList.length - 1 ? t += this.getInnerText(e) : t += this.getInnerText(e) + this.config.connector;
|
|
659
|
+
return t;
|
|
660
|
+
}
|
|
661
|
+
setTriggerInnerText(t) {
|
|
662
|
+
this.config.triggerDisplayValue && (this.trigger.textContent = t);
|
|
663
|
+
}
|
|
664
|
+
setValue(t) {
|
|
665
|
+
if (!t || !t.length)
|
|
666
|
+
return;
|
|
667
|
+
if (this.isJsonType && typeof t[0] != "object" || !this.isJsonType && typeof t[0] == "object") {
|
|
668
|
+
l.log("error", `The setValue() input format should be same with getValue(), like: ${JSON.stringify(this.getValue())}`);
|
|
669
|
+
return;
|
|
670
|
+
}
|
|
671
|
+
const { keyMap: e } = this.config;
|
|
672
|
+
t.forEach((i, s) => {
|
|
673
|
+
var r;
|
|
674
|
+
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);
|
|
675
|
+
this.locatePosition(s, o);
|
|
676
|
+
}), this.setTriggerInnerText(this.getConnectedString());
|
|
677
|
+
}
|
|
660
678
|
setTitle(t) {
|
|
661
679
|
this.mobileSelect.querySelector(".ms-title").innerHTML = t;
|
|
662
680
|
}
|
|
@@ -702,8 +720,8 @@ const r = class {
|
|
|
702
720
|
let i = "";
|
|
703
721
|
if (this.isJsonType)
|
|
704
722
|
for (let s = 0; s < t.length; s++) {
|
|
705
|
-
const n = t[s][e.id],
|
|
706
|
-
i += `<li data-id="${n}">${
|
|
723
|
+
const n = t[s][e.id], o = t[s][e.value];
|
|
724
|
+
i += `<li data-id="${n}">${o}</li>`;
|
|
707
725
|
}
|
|
708
726
|
else
|
|
709
727
|
for (let s = 0; s < t.length; s++)
|
|
@@ -776,13 +794,13 @@ const r = class {
|
|
|
776
794
|
e.childs in t && t[e.childs].length > 0 && (this.displayJson.push(t[e.childs]), this.checkArrDeep(t[e.childs][0]));
|
|
777
795
|
}
|
|
778
796
|
checkRange(t, e) {
|
|
779
|
-
var
|
|
797
|
+
var o;
|
|
780
798
|
const i = this.displayJson.length - 1 - t, { keyMap: s } = this.config;
|
|
781
|
-
for (let
|
|
799
|
+
for (let r = 0; r < i; r++)
|
|
782
800
|
this.displayJson.pop();
|
|
783
801
|
let n;
|
|
784
|
-
for (let
|
|
785
|
-
n =
|
|
802
|
+
for (let r = 0; r <= t; r++)
|
|
803
|
+
n = r == 0 ? this.cascadeJsonData[e[0]] : (o = n == null ? void 0 : n[s.childs]) == null ? void 0 : o[e[r]];
|
|
786
804
|
this.checkArrDeep(n), this.reRenderWheels(), this.fixRowStyle(), this.setCurDistance(this.resetPosition(t, e));
|
|
787
805
|
}
|
|
788
806
|
resetPosition(t, e) {
|
|
@@ -813,7 +831,7 @@ const r = class {
|
|
|
813
831
|
}
|
|
814
832
|
updateWheel(t, e) {
|
|
815
833
|
if (this.isCascade) {
|
|
816
|
-
|
|
834
|
+
l.log("error", "'updateWheel()' not support cascade json data, please use 'updateWheels()' instead to update the whole data source");
|
|
817
835
|
return;
|
|
818
836
|
}
|
|
819
837
|
let i = "";
|
|
@@ -859,7 +877,7 @@ const r = class {
|
|
|
859
877
|
return t;
|
|
860
878
|
}
|
|
861
879
|
getValue() {
|
|
862
|
-
return this.
|
|
880
|
+
return this.getCurValue();
|
|
863
881
|
}
|
|
864
882
|
calcDistance(t) {
|
|
865
883
|
return 2 * this.optionHeight - t * this.optionHeight;
|
|
@@ -877,7 +895,7 @@ const r = class {
|
|
|
877
895
|
t.style.transform = "translate3d(0," + e + "px, 0)";
|
|
878
896
|
}
|
|
879
897
|
locatePosition(t, e) {
|
|
880
|
-
this.curDistance[t] = this.calcDistance(e), this.movePosition(this.sliderList[t], this.curDistance[t]), this.isCascade && this.checkRange(t, this.getIndexArr());
|
|
898
|
+
t === void 0 || e === void 0 || e < 0 || (this.curDistance[t] = this.calcDistance(e), this.movePosition(this.sliderList[t], this.curDistance[t]), this.isCascade && this.checkRange(t, this.getIndexArr()));
|
|
881
899
|
}
|
|
882
900
|
updateCurDistance(t, e) {
|
|
883
901
|
this.curDistance[e] = parseInt(t.style.transform.split(",")[1]);
|
|
@@ -886,10 +904,10 @@ const r = class {
|
|
|
886
904
|
var s;
|
|
887
905
|
const e = this.sliderList[t].getElementsByTagName("li").length;
|
|
888
906
|
let i = this.getIndex(this.curDistance[t]);
|
|
889
|
-
return i >= e ? i = e - 1 : i < 0 && (i = 0), ((s = this.sliderList[t].getElementsByTagName("li")[i]) == null ? void 0 : s.
|
|
907
|
+
return i >= e ? i = e - 1 : i < 0 && (i = 0), ((s = this.sliderList[t].getElementsByTagName("li")[i]) == null ? void 0 : s.textContent) || "";
|
|
890
908
|
}
|
|
891
909
|
touch(t) {
|
|
892
|
-
var
|
|
910
|
+
var o, r, c, a, u, d, f, v;
|
|
893
911
|
const i = (t.composedPath && t.composedPath()).find((m) => {
|
|
894
912
|
var p;
|
|
895
913
|
return (p = m.classList) == null ? void 0 : p.contains("ms-wheel");
|
|
@@ -914,16 +932,16 @@ const r = class {
|
|
|
914
932
|
const m = Math.floor((window.innerHeight - this.moveEndY) / 40);
|
|
915
933
|
if (m != 2) {
|
|
916
934
|
const p = m - 2, C = this.curDistance[n] + p * this.optionHeight;
|
|
917
|
-
C <= 2 * this.optionHeight && C >= this.oversizeBorder && (this.curDistance[n] = C, this.movePosition(s, this.curDistance[n]), (
|
|
935
|
+
C <= 2 * this.optionHeight && C >= this.oversizeBorder && (this.curDistance[n] = C, this.movePosition(s, this.curDistance[n]), (r = (o = this.config).transitionEnd) == null || r.call(o, this.getIndexArr(), this.getCurValue(), this), (a = (c = this.config).onTransitionEnd) == null || a.call(c, this.getCurValue(), this.getIndexArr(), this));
|
|
918
936
|
}
|
|
919
937
|
} else
|
|
920
|
-
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]), (
|
|
938
|
+
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]), (d = (u = this.config).transitionEnd) == null || d.call(u, this.getIndexArr(), this.getCurValue(), this), (v = (f = this.config).onTransitionEnd) == null || v.call(f, this.getCurValue(), this.getIndexArr(), this);
|
|
921
939
|
t.type === "mouseup" && (this.enableClickStatus = !1), this.isCascade && this.checkRange(n, this.getIndexArr());
|
|
922
940
|
break;
|
|
923
941
|
}
|
|
924
942
|
}
|
|
925
943
|
};
|
|
926
|
-
let y =
|
|
944
|
+
let y = l;
|
|
927
945
|
h(y, "defaultConfig", {
|
|
928
946
|
keyMap: { id: "id", value: "value", childs: "childs" },
|
|
929
947
|
position: [],
|
|
@@ -936,8 +954,10 @@ h(y, "defaultConfig", {
|
|
|
936
954
|
scrollSpeed: 1
|
|
937
955
|
}), h(y, "REQUIRED_PARAMS", ["trigger", "wheels"]);
|
|
938
956
|
|
|
939
|
-
const ptcMobileSelectCss = ".ms-mobile-select{position:
|
|
957
|
+
const ptcMobileSelectCss = ".ms-mobile-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;opacity:0;visibility:hidden;-webkit-transition:opacity 0.4s, z-index 0.4s;transition:opacity 0.4s, z-index 0.4s;transform:translate(0, 0)}.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}h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link{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{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}}.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}";
|
|
940
958
|
|
|
959
|
+
class MobileSelectedItem {
|
|
960
|
+
}
|
|
941
961
|
const PtcMobileSelect = class {
|
|
942
962
|
constructor(hostRef) {
|
|
943
963
|
index.registerInstance(this, hostRef);
|
|
@@ -967,7 +987,7 @@ const PtcMobileSelect = class {
|
|
|
967
987
|
return (index.h("div", { class: "mobile-select-wrapper" }, index.h("div", { onClick: (e) => { this.wrapperClick(e); } }, index.h("span", { id: this.triggerName }, this.selectedText), index.h("icon-asset", { type: "ptc", size: "x-small", name: "chevron-down", color: "white", "is-mobile-select": "true", "injected-style": "svg.ismobileselect{transform:translateX(10px);}" }))));
|
|
968
988
|
}
|
|
969
989
|
componentDidRender() {
|
|
970
|
-
let
|
|
990
|
+
let that = this; //input current lang
|
|
971
991
|
let storeIndex = 0;
|
|
972
992
|
let mySelect = new y({
|
|
973
993
|
trigger: `#${this.triggerName}`,
|
|
@@ -979,17 +999,19 @@ const PtcMobileSelect = class {
|
|
|
979
999
|
ensureBtnColor: 'var(--color-gray-12)',
|
|
980
1000
|
cancelBtnColor: 'var(--color-gray-12)',
|
|
981
1001
|
titleColor: 'var(--color-gray-12)',
|
|
982
|
-
onShow: function (_1, _2,
|
|
983
|
-
if (
|
|
984
|
-
let liEle = document.querySelectorAll('.selectContainer li');
|
|
1002
|
+
onShow: function (_1, _2, context) {
|
|
1003
|
+
if (that.selectedId) {
|
|
1004
|
+
/*let liEle = context.mobileSelect.querySelectorAll('[data-id]'); // document.querySelectorAll('.selectContainer li');
|
|
985
1005
|
liEle.forEach((currentValue, currentIndex) => {
|
|
986
1006
|
if (currentValue.getAttribute('data-id') == currentId) {
|
|
987
1007
|
storeIndex = currentIndex;
|
|
988
1008
|
return;
|
|
989
1009
|
}
|
|
990
|
-
})
|
|
1010
|
+
});*/
|
|
991
1011
|
try {
|
|
992
|
-
|
|
1012
|
+
const item = that.getMobileSelectedItem(context);
|
|
1013
|
+
context.locatePosition(0, item.index);
|
|
1014
|
+
storeIndex = item.index;
|
|
993
1015
|
//console.log("storeIndex: "+ storeIndex)
|
|
994
1016
|
}
|
|
995
1017
|
catch (error) {
|
|
@@ -1002,19 +1024,42 @@ const PtcMobileSelect = class {
|
|
|
1002
1024
|
return;
|
|
1003
1025
|
}
|
|
1004
1026
|
},
|
|
1005
|
-
callback: function (indexArr, data) {
|
|
1027
|
+
callback: function (indexArr, data, context) {
|
|
1006
1028
|
this.selectionChanged.emit({
|
|
1007
|
-
sender:
|
|
1008
|
-
index: indexArr,
|
|
1009
|
-
data: data
|
|
1029
|
+
sender: context,
|
|
1030
|
+
index: indexArr && indexArr.length > 0 ? indexArr[0] : -1,
|
|
1031
|
+
data: data && data.length > 0 ? data[0] : undefined
|
|
1010
1032
|
});
|
|
1011
|
-
if (data[0]
|
|
1033
|
+
if (data && data[0] && data[0].id != '#') {
|
|
1012
1034
|
window.location.href = data[0].id;
|
|
1013
1035
|
}
|
|
1036
|
+
else {
|
|
1037
|
+
if (!indexArr || isNaN(indexArr[0])) {
|
|
1038
|
+
const selectedItem = that.getMobileSelectedItem(context);
|
|
1039
|
+
context.locatePosition(0, selectedItem.index);
|
|
1040
|
+
context.setValue(this.wheelData[selectedItem.index]);
|
|
1041
|
+
context.setTriggerInnerText(selectedItem.value);
|
|
1042
|
+
context.show();
|
|
1043
|
+
}
|
|
1044
|
+
//console.log('href: ' + data[0].id + '; indexArr: ' + indexArr);
|
|
1045
|
+
}
|
|
1014
1046
|
}.bind(this),
|
|
1015
1047
|
});
|
|
1016
1048
|
mySelect.locatePosition(0, storeIndex);
|
|
1017
1049
|
}
|
|
1050
|
+
getMobileSelectedItem(context) {
|
|
1051
|
+
let result = new MobileSelectedItem;
|
|
1052
|
+
result.id = this.selectedId;
|
|
1053
|
+
let liEle = context.mobileSelect.querySelectorAll('[data-id]');
|
|
1054
|
+
liEle.forEach((currentValue, currentIndex) => {
|
|
1055
|
+
if (currentValue.getAttribute('data-id') == result.id) {
|
|
1056
|
+
result.index = currentIndex;
|
|
1057
|
+
result.value = currentValue.textContent;
|
|
1058
|
+
return;
|
|
1059
|
+
}
|
|
1060
|
+
});
|
|
1061
|
+
return result;
|
|
1062
|
+
}
|
|
1018
1063
|
};
|
|
1019
1064
|
PtcMobileSelect.style = ptcMobileSelectCss;
|
|
1020
1065
|
|