@ptcwebops/ptcw-design 6.2.23-beta → 6.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/component-1b8ad4d2.js +1819 -0
- package/dist/cjs/{component-4dd13907.js → component-35540bfb.js} +1494 -3305
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +148 -0
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +13 -7
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +65 -0
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/list-item.cjs.entry.js +48 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-announcement.cjs.entry.js +2 -2
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
- package/dist/cjs/ptc-button.cjs.entry.js +87 -0
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +156 -0
- package/dist/cjs/ptc-card-content.cjs.entry.js +76 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +9 -4
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +222 -0
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
- package/dist/cjs/ptc-date.cjs.entry.js +1 -1
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +15 -0
- package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +4 -786
- package/dist/cjs/ptc-icon-component.cjs.entry.js +45 -2
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +50 -3
- package/dist/cjs/ptc-img.cjs.entry.js +133 -0
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/ptc-link.cjs.entry.js +87 -0
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +2 -1
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +670 -0
- package/dist/cjs/ptc-nav-link.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +2 -2
- package/dist/cjs/ptc-news.cjs.entry.js +2 -3
- package/dist/cjs/ptc-para.cjs.entry.js +127 -0
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -10
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +1 -1
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +136 -0
- package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
- package/dist/cjs/ptc-title.cjs.entry.js +152 -0
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +2 -2
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/validation-messages-33a4f26b.js +126 -0
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/icon-asset/icon-asset.css +6 -0
- package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +2 -30
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +13 -6
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +9 -2
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +25 -3
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +3 -1
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +23 -71
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +12 -30
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +6 -0
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -1
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +13 -6
- package/dist/collection/components/ptc-card/ptc-card.css +1 -0
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +2 -0
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +20 -1
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +13 -6
- package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +1 -1
- package/dist/collection/components/ptc-date/ptc-date.css +4 -0
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +13 -6
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +13 -6
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +12 -0
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +44 -1
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +8 -0
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +67 -2
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +26 -6
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +19 -1
- package/dist/collection/components/ptc-modal/ptc-modal.css +13 -6
- package/dist/collection/components/ptc-modal/ptc-modal.js +27 -99
- package/dist/collection/components/ptc-news/ptc-news.css +5 -0
- package/dist/collection/components/ptc-news/ptc-news.js +1 -19
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +29 -0
- package/dist/collection/components/ptc-para/ptc-para.css +0 -3
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +13 -6
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +220 -47
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +7 -2
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +0 -16
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +1 -27
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +13 -0
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +13 -6
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +13 -6
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +13 -6
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +13 -6
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +13 -6
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +1 -1
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +13 -6
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +13 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +13 -6
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +1 -1
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +14 -1
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +8 -0
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +1 -1
- package/dist/custom-elements/index.d.ts +0 -6
- package/dist/custom-elements/index.js +208 -240
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/{component-9c921cc6.js → component-8c53e377.js} +1482 -3281
- package/dist/esm/component-9beac35b.js +1802 -0
- package/dist/esm/event-jumbotron-example.entry.js +144 -0
- package/dist/esm/event-podcast-slider-example.entry.js +13 -7
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +1 -1
- package/dist/esm/homepage-toggled-content.entry.js +1 -1
- package/dist/esm/icon-asset.entry.js +61 -0
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/list-item.entry.js +44 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +2 -2
- 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.entry.js +43 -0
- package/dist/esm/ptc-button.entry.js +83 -0
- package/dist/esm/ptc-card-bottom_2.entry.js +151 -0
- package/dist/esm/ptc-card-content.entry.js +72 -0
- package/dist/esm/ptc-card_2.entry.js +9 -4
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +217 -0
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.entry.js +2 -1
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/ptc-filter-tag_2.entry.js +15 -0
- package/dist/esm/{ptc-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +4 -784
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +1 -1
- package/dist/esm/ptc-icon-component.entry.js +45 -2
- package/dist/esm/ptc-icon-minimize.entry.js +50 -3
- package/dist/esm/ptc-img.entry.js +129 -0
- package/dist/esm/ptc-jumbotron.entry.js +1 -1
- package/dist/esm/ptc-link.entry.js +83 -0
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-minimized-nav.entry.js +2 -1
- package/dist/esm/ptc-multi-select_2.entry.js +665 -0
- package/dist/esm/ptc-nav-link.entry.js +1 -1
- package/dist/esm/ptc-nav-slider.entry.js +2 -2
- package/dist/esm/ptc-news.entry.js +2 -3
- package/dist/esm/ptc-para.entry.js +123 -0
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +2 -10
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
- 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-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +1 -1
- package/dist/esm/ptc-related-card-rail.entry.js +1 -1
- package/dist/esm/ptc-scroll-button.entry.js +132 -0
- package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
- package/dist/esm/ptc-spacer.entry.js +34 -0
- package/dist/esm/ptc-title.entry.js +148 -0
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +2 -2
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/{utils-ff65c75b.js → utils-63eab4bd.js} +1 -1
- package/dist/esm/validation-messages-adbb6518.js +124 -0
- package/dist/ptcw-design/media/designer-v6.0.6.svg +2 -30
- package/dist/ptcw-design/p-00e21489.entry.js +1 -0
- package/dist/ptcw-design/p-01075feb.entry.js +1 -0
- package/dist/ptcw-design/p-04ff81ef.entry.js +1 -0
- package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
- package/dist/ptcw-design/p-15758793.entry.js +1 -0
- package/dist/ptcw-design/{p-e0b873d0.entry.js → p-16e70f20.entry.js} +1 -1
- package/dist/ptcw-design/{p-ae970a60.entry.js → p-17f6e145.entry.js} +1 -1
- package/dist/ptcw-design/p-18a5a338.js +1 -0
- package/dist/ptcw-design/{p-d756db27.entry.js → p-18ac526f.entry.js} +1 -1
- package/dist/ptcw-design/p-25a25451.entry.js +1 -0
- package/dist/ptcw-design/{p-e4000363.entry.js → p-28be539b.entry.js} +1 -1
- package/dist/ptcw-design/p-2b32297b.entry.js +1 -0
- package/dist/ptcw-design/p-38b782e8.entry.js +1 -0
- package/dist/ptcw-design/{p-e89ce54f.entry.js → p-3ddb6c50.entry.js} +1 -1
- package/dist/ptcw-design/{p-d9abe7e8.entry.js → p-48c33817.entry.js} +1 -1
- package/dist/ptcw-design/{p-e3f8e5d5.entry.js → p-49e54079.entry.js} +1 -1
- package/dist/ptcw-design/p-4a7505ba.entry.js +1 -0
- package/dist/ptcw-design/{p-2749c178.entry.js → p-4d8f6f46.entry.js} +1 -1
- package/dist/ptcw-design/{p-2c6fc745.entry.js → p-4ee98a3e.entry.js} +1 -1
- package/dist/ptcw-design/p-51a45b13.entry.js +1 -0
- package/dist/ptcw-design/p-593b8eff.entry.js +1 -0
- package/dist/ptcw-design/p-5dae4f30.entry.js +1 -0
- package/dist/ptcw-design/{p-d10cb999.entry.js → p-627103d8.entry.js} +1 -1
- package/dist/ptcw-design/p-6433c9d2.entry.js +1 -0
- package/dist/ptcw-design/{p-c95f423e.entry.js → p-6a3caf2b.entry.js} +1 -1
- package/dist/ptcw-design/{p-7a9611b4.entry.js → p-6f5fecae.entry.js} +1 -1
- package/dist/ptcw-design/p-71a20700.entry.js +1 -0
- package/dist/ptcw-design/p-73a853fc.entry.js +1 -0
- package/dist/ptcw-design/p-759f6457.entry.js +1 -0
- package/dist/ptcw-design/p-7793babb.entry.js +1 -0
- package/dist/ptcw-design/{p-8872161f.js → p-77b1221e.js} +1 -1
- package/dist/ptcw-design/p-7fe4d383.entry.js +1 -0
- package/dist/ptcw-design/{p-c37a3bd2.entry.js → p-821f0ff9.entry.js} +1 -1
- package/dist/ptcw-design/p-8e8c7a3a.entry.js +1 -0
- package/dist/ptcw-design/p-92d22c78.entry.js +1 -0
- package/dist/ptcw-design/p-98426799.js +203 -0
- package/dist/ptcw-design/p-98844b50.js +134 -0
- package/dist/ptcw-design/p-99355e65.entry.js +1 -0
- package/dist/ptcw-design/{p-0ee01112.entry.js → p-9df7489b.entry.js} +1 -1
- package/dist/ptcw-design/p-9f194554.entry.js +1 -0
- package/dist/ptcw-design/p-a412ff0a.entry.js +1 -0
- package/dist/ptcw-design/p-a58698ca.entry.js +1 -0
- package/dist/ptcw-design/{p-ea7369e9.entry.js → p-a791c53a.entry.js} +1 -1
- package/dist/ptcw-design/p-acdd9a1d.entry.js +1 -0
- package/dist/ptcw-design/p-ad718ee1.entry.js +1 -0
- package/dist/ptcw-design/p-ad821a01.entry.js +1 -0
- package/dist/ptcw-design/p-b209c116.entry.js +1 -0
- package/dist/ptcw-design/p-b436f56d.entry.js +1 -0
- package/dist/ptcw-design/p-b651c1cb.entry.js +1 -0
- package/dist/ptcw-design/p-b8ee8699.entry.js +1 -0
- package/dist/ptcw-design/p-bf18b622.entry.js +1 -0
- package/dist/ptcw-design/{p-1b257420.entry.js → p-c01ea76f.entry.js} +1 -1
- package/dist/ptcw-design/{p-6d3326da.entry.js → p-cbee4653.entry.js} +1 -1
- package/dist/ptcw-design/{p-34c50b3e.entry.js → p-d089dc37.entry.js} +1 -1
- package/dist/ptcw-design/p-d2f37084.entry.js +1 -0
- package/dist/ptcw-design/{p-c66b8926.entry.js → p-d3229458.entry.js} +1 -1
- package/dist/ptcw-design/{p-11e0edaf.entry.js → p-d361afd1.entry.js} +1 -1
- package/dist/ptcw-design/{p-071a6109.entry.js → p-d3ac3758.entry.js} +1 -1
- package/dist/ptcw-design/p-d3e2a446.entry.js +1 -0
- package/dist/ptcw-design/p-d74ccb19.entry.js +1 -0
- package/dist/ptcw-design/p-dd02e4d6.entry.js +68 -0
- package/dist/ptcw-design/{p-da82dc93.entry.js → p-e577ad62.entry.js} +1 -1
- package/dist/ptcw-design/{p-0d806031.entry.js → p-eddadb5a.entry.js} +1 -1
- package/dist/ptcw-design/{p-808ec62a.entry.js → p-eec2f3da.entry.js} +1 -1
- package/dist/ptcw-design/p-f3d54454.entry.js +1 -0
- package/dist/ptcw-design/p-f9256e3d.entry.js +1 -0
- package/dist/ptcw-design/{p-36007a57.entry.js → p-fd394e84.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +0 -1
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -0
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +5 -0
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +2 -0
- package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +1 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +3 -10
- package/dist/types/components/ptc-news/ptc-news.d.ts +0 -4
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +3 -0
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -2
- package/dist/types/components.d.ts +17 -31
- package/package.json +1 -1
- package/readme.md +1 -5
- package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +0 -1430
- package/dist/cjs/modal-form-example.cjs.entry.js +0 -94
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -67
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -99
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
- package/dist/esm/event-jumbotron-example_15.entry.js +0 -1412
- package/dist/esm/modal-form-example.entry.js +0 -90
- package/dist/esm/ptc-card-bottom.entry.js +0 -63
- package/dist/ptcw-design/p-0fdfd4ad.entry.js +0 -68
- package/dist/ptcw-design/p-21ee77ab.entry.js +0 -1
- package/dist/ptcw-design/p-246df0d6.entry.js +0 -1
- package/dist/ptcw-design/p-257deac0.entry.js +0 -1
- package/dist/ptcw-design/p-2657df50.entry.js +0 -1
- package/dist/ptcw-design/p-2ac5ed9c.entry.js +0 -1
- package/dist/ptcw-design/p-40b8c884.entry.js +0 -1
- package/dist/ptcw-design/p-50d68602.entry.js +0 -1
- package/dist/ptcw-design/p-5ef23b5c.entry.js +0 -1
- package/dist/ptcw-design/p-69686408.entry.js +0 -1
- package/dist/ptcw-design/p-799afee5.entry.js +0 -1
- package/dist/ptcw-design/p-85c29073.entry.js +0 -1
- package/dist/ptcw-design/p-90c4f08b.entry.js +0 -1
- package/dist/ptcw-design/p-9c1057ce.entry.js +0 -1
- package/dist/ptcw-design/p-9fe0c27d.entry.js +0 -1
- package/dist/ptcw-design/p-a3b57ede.entry.js +0 -1
- package/dist/ptcw-design/p-b0be7066.entry.js +0 -1
- package/dist/ptcw-design/p-b1ebac6f.entry.js +0 -1
- package/dist/ptcw-design/p-ba8c58a7.entry.js +0 -1
- package/dist/ptcw-design/p-bb902570.entry.js +0 -1
- package/dist/ptcw-design/p-bcab66bf.js +0 -336
- package/dist/ptcw-design/p-d2e26642.entry.js +0 -1
- package/dist/ptcw-design/p-d7275289.entry.js +0 -1
- package/dist/ptcw-design/p-de960790.entry.js +0 -1
- package/dist/ptcw-design/p-e9f12e0d.entry.js +0 -1
- package/dist/ptcw-design/p-f4699d4e.entry.js +0 -1
- package/dist/ptcw-design/p-f8512dc9.entry.js +0 -1
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
- package/dist/types/components/ptc-mobile-select/mobile-select/dist/mobile-select.d.ts +0 -209
- package/dist/types/utils/eloqua.d.ts +0 -9
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as n}from"./p-ac75c7ad.js";const a=class{constructor(i){t(this,i),this.close=e(this,"close",7),this.handleKeyClick=t=>{t instanceof KeyboardEvent&&"Enter"===t.key&&this.closeClick()},this.closeClick=()=>{this.visible=!1,this.close.emit()},this.getIconSize=()=>"mobile"===this.windowSize?"xxx-large":"small",this.isMaxWidthTitle=()=>this.description?"":" max-title",this.barTitle="",this.description="",this.linkText=void 0,this.linkTitle=void 0,this.visible=void 0,this.linkUrl="#",this.insideContainer=void 0,this.target="_self",this.customMaxLines=4,this.windowSize="mobile",this.moreText=void 0}handleResize(){this.windowSize=window.innerWidth<992?"mobile":"desktop"}componentWillLoad(){this.handleResize()}render(){var t,e;const a=this.getCssClassMap();return i(n,null,i("div",{class:a,part:"part-announcement"},i("div",{class:"content-wrapper ptc-container"},i("div",{class:"left-content",part:"part-left-content"},i("slot",{name:"seo-content"}),this.barTitle?i("div",{class:`title${this.isMaxWidthTitle()}`},"mobile"===this.windowSize?this.barTitle:i("ptc-tooltip-v2",{"max-length":"60","z-index":"2"},this.barTitle)):null,"mobile"===this.windowSize?Object.assign({},this.description||this.linkUrl?i("ptc-readmore",{"visible-lines-custom":this.customMaxLines,"z-index":"z-3","more-text":this.moreText},i("div",{style:{display:"inline"}},this.description?this.description+" ":null,this.linkText?i("a",{class:"cta-link mf-listen",href:this.linkUrl,title:null!==(t=this.linkTitle)&&void 0!==t?t:this.linkText,target:this.target,tabIndex:0,id:"announcement-bar-cta"},this.linkText):null)):null):i("div",{class:"description"},this.description?i("ptc-tooltip-v2",{"element-display":"inline","max-length":"165","z-index":"3",class:"after-space"},this.description+" "):null,this.linkText?i("a",{class:"cta-link mf-listen",href:this.linkUrl,title:null!==(e=this.linkTitle)&&void 0!==e?e:this.linkText,target:this.target,tabIndex:0,id:"announcement-bar-cta"},i("ptc-tooltip-v2",{"element-display":"inline-block","max-length":"25","z-index":"2",position:"bottom",styles:".tooltip-content.bottom{transform:translate(-20%, 12px)}.tooltip-text{text-decoration:underline;}"},this.linkText)):null)),i("icon-asset",{id:"announcement-bar-close",color:"inherit",name:"close-button-flat",type:"ptc",size:this.getIconSize(),onClick:this.closeClick,class:"bar-close mf-listen",focusOn:!0,trackerId:"announcement-bar-close",onKeyDown:this.handleKeyClick}))))}getCssClassMap(){return{announcement:!0,[this.visible?"visible":""]:!0}}};a.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 1200px){.ptc-container{padding-left:0;padding-right:0;max-width:1136px}}@media only screen and (min-width: 1440px){.ptc-container{padding-left:0;padding-right:0;max-width:1200px}}.ptc-container-lg{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 480px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-03);padding-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 768px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-04);padding-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 992px){.ptc-container-lg{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}@media only screen and (min-width: 1980px){.ptc-container-lg{padding-left:0;padding-right:0;max-width:1900px}}.ptc-container-fluid{width:100%}:host{display:block}.announcement{width:100%;position:relative;background-color:var(--color-gray-02);z-index:860;background-size:cover;background-repeat:repeat-x;border-top:3px solid var(--color-green-07);box-shadow:var(--ptc-shadow-medium);z-index:999;display:none}.visible{display:block}::slotted([slot=seo-content]){display:none}.content-wrapper{display:flex;padding-top:var(--ptc-element-spacing-03);padding-bottom:var(--ptc-element-spacing-03);margin:0 auto;align-items:center;justify-content:space-between}@media only screen and (min-width: 768px){.content-wrapper{padding-top:var(--ptc-element-spacing-03);padding-bottom:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 1200px){.content-wrapper{padding-top:var(--ptc-element-spacing-03);padding-bottom:var(--ptc-element-spacing-03);box-sizing:border-box}}@media screen and (min-width: 1400px){.content-wrapper{padding-top:var(--ptc-element-spacing-03);padding-bottom:var(--ptc-element-spacing-03)}}.left-content{max-width:calc(100% - 76px);display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;position:relative;word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){.left-content{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}}.title{font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);letter-spacing:var(--ptc-letter-spacing-dense);text-align:left;color:var(--color-gray-10);margin-bottom:var(--ptc-element-spacing-02);max-width:100%}.description{font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-regular);line-height:normal;letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;color:var(--color-gray-10);max-width:100%}.cta-link{color:var(--color-hyperlink);font-size:var(--ptc-font-size-x-small);-webkit-transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);-o-transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);font-weight:var(--ptc-font-weight-bold);text-decoration:underline;display:inline-block;vertical-align:middle;cursor:pointer;margin:5px 5px 5px 0}.cta-link::before{content:"";position:absolute;width:100%;height:100%;left:50%;top:50%;transform:translate(-50%, -50%);z-index:1}.cta-link:link{color:var(--color-hyperlink)}.cta-link:hover{color:var(--color-blue-08)}.cta-link:active{transition:none;color:var(--color-gray-09)}.cta-link:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.bar-close{max-width:36px;cursor:pointer;margin-left:var(--ptc-element-spacing-08);position:relative}.bar-close::before{content:"";position:absolute;width:44px;height:44px;left:50%;top:50%;transform:translate(-50%, -50%);z-index:1}ptc-tooltip-v2.after-space::after{content:" "}@media only screen and (min-width: 992px){.cta-link{margin:0}.left-content{flex-direction:row;max-width:calc(100% - 58px);flex:1 1 1032px}.bar-close{max-width:18px}.bar-close::before{width:34px;height:34px}.title{margin-right:var(--ptc-element-spacing-04);margin-bottom:0;flex:0 1 auto;max-width:248px}.title.max-title{max-width:unset !important;flex:2 1 560px}.description{flex:1 1 768px}}';export{a as ptc_announcement}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as t,H as a}from"./p-ac75c7ad.js";const r=class{constructor(t){o(this,t),this.categoryDescription=void 0}render(){return t(a,null,t("div",{class:"category-header"},t("slot",{name:"title"}),t("ptc-spacer",{size:"x-small"}),t("ptc-spacer",{size:"x-small",breakpoint:"x-small"}),t("ptc-para",{"para-margin":"margin-flush","font-size":"small","para-line-h":"line-height-p","font-weight":"w-5","para-z-index":"z-auto","enable-tooltip":!0,"max-lines":"9","tooltip-z-index":"999","tooltip-width":"full-width","seo-compatibility-mode":!0},this.categoryDescription)),t("slot",null))}};r.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003DD6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}:host{display:block;padding-bottom:var(--ptc-layout-spacing-03)}:host .category-header{margin-bottom:var(--ptc-layout-spacing-03)}:host .tooltip-box{visibility:visible;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background-color:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:var(--ptc-border-radius-standard);width:auto;height:auto;text-align:left;text-shadow:none;white-space:normal;position:absolute;z-index:999;line-height:1.5}@media only screen and (min-width: 480px){:host .tooltip-box{width:273px}}:host .tooltip-box.hide-tooltip-mobile{display:none !important}@media only screen and (min-width: 768px){:host .tooltip-box.hide-tooltip-mobile{display:block !important}}:host .tooltip-box.full-width{width:100%}:host .tooltip-box::after{content:"";position:absolute}:host .tooltip-box.bottom{bottom:-12px;transform:translateY(100%)}:host .tooltip-box.bottom::after{top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.left{bottom:-12px;transform:translate(-80%, 100%)}:host .tooltip-box.left::after{top:1px;right:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.right{bottom:-12px;transform:translateY(100%);right:0px}@-moz-document url-prefix(){:host .tooltip-box.right{right:unset !important;bottom:unset !important;transform:translate(60%, 8px) !important}@media screen and (min-width: 992px){:host .tooltip-box.right{transform:translate(100%, 8px) !important}}}:host .tooltip-box.right::after{top:1px;left:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.top{top:-8px;transform:translateY(-100%)}:host .tooltip-box.top::after{left:50%;bottom:1px;transform:translate(-50%, 100%);border:8px solid transparent;border-top:8px solid var(--color-gray-09)}:host .tooltip-box.bottom-right{bottom:-12px;transform:translate(100%, 100%)}:host .tooltip-box.bottom-right::after{top:1px;left:10%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.danger{color:var(--color-red-07);font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-p);border:2px solid var(--color-red-07);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);padding:var(--ptc-element-spacing-06)}:host .tooltip-box.danger a{color:var(--color-hyperlink)}@media (max-width: 768px){:host .hide-tooltip-on-mobile h1,:host .hide-tooltip-on-mobile h2,:host .hide-tooltip-on-mobile h3,:host .hide-tooltip-on-mobile h4,:host .hide-tooltip-on-mobile h5,:host .hide-tooltip-on-mobile h6{-webkit-line-clamp:initial !important}}';export{r as ptc_product_category}
|
package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare class PtcForm {
|
|
2
|
-
el: HTMLElement;
|
|
3
|
-
formData: {
|
|
4
|
-
email: string;
|
|
5
|
-
firstName: string;
|
|
6
|
-
lastName: string;
|
|
7
|
-
company: string;
|
|
8
|
-
country: string;
|
|
9
|
-
phone: string;
|
|
10
|
-
inquiryReason: string;
|
|
11
|
-
howhearselfreport: string;
|
|
12
|
-
policyChecked: boolean;
|
|
13
|
-
};
|
|
14
|
-
private formButton;
|
|
15
|
-
private emailEle;
|
|
16
|
-
private firstNameEle;
|
|
17
|
-
private lastNameEle;
|
|
18
|
-
private companyEle;
|
|
19
|
-
private phoneEle;
|
|
20
|
-
componentDidLoad(): void;
|
|
21
|
-
handleInputChange(field: string, value: string): void;
|
|
22
|
-
handleSubmit(event: Event): void;
|
|
23
|
-
isValid(): boolean;
|
|
24
|
-
render(): any;
|
|
25
|
-
}
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* mobile-select v1.4.0
|
|
3
|
-
* Homepage: https://github.com/onlyhom/mobile-select
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
* (c) 2017-present
|
|
6
|
-
*/
|
|
7
|
-
// Generated by dts-bundle-generator v6.12.0
|
|
8
|
-
|
|
9
|
-
export type CascadeData = {
|
|
10
|
-
[k: string]: any;
|
|
11
|
-
};
|
|
12
|
-
export interface CallbackFn {
|
|
13
|
-
(curValue: string[] | number[] | CascadeData[], indexArr: number[], context: MobileSelect): void;
|
|
14
|
-
}
|
|
15
|
-
export interface OldCallbackFn {
|
|
16
|
-
(indexArr: number[], curValue: string[] | number[] | CascadeData[], context: MobileSelect): void;
|
|
17
|
-
}
|
|
18
|
-
export type KeyMap = {
|
|
19
|
-
id: string;
|
|
20
|
-
value: string;
|
|
21
|
-
childs: string;
|
|
22
|
-
};
|
|
23
|
-
export type OptionData = CascadeData | string | number;
|
|
24
|
-
export type CustomConfig = {
|
|
25
|
-
/** 触发面板弹出的元素 */
|
|
26
|
-
trigger: string | HTMLElement;
|
|
27
|
-
/** 数据源 */
|
|
28
|
-
wheels: CascadeData[];
|
|
29
|
-
/** 选择完毕的回调函数 */
|
|
30
|
-
onChange?: CallbackFn;
|
|
31
|
-
/** 取消面板的回调函数 */
|
|
32
|
-
onCancel?: CallbackFn;
|
|
33
|
-
/** 滚动滚动完毕的回调函数 */
|
|
34
|
-
onTransitionEnd?: CallbackFn;
|
|
35
|
-
/** 显示面板 回调函数 */
|
|
36
|
-
onShow?: CallbackFn;
|
|
37
|
-
/** 隐藏面板 回调函数 */
|
|
38
|
-
onHide?: CallbackFn;
|
|
39
|
-
/** 初始值 传入后会自动计算出初始化滚动位置 */
|
|
40
|
-
initValue?: string;
|
|
41
|
-
/** 初始化滚动位置 */
|
|
42
|
-
position?: number[];
|
|
43
|
-
/** 轮子宽度比例 */
|
|
44
|
-
colWidth?: number[];
|
|
45
|
-
/** 组件标题 */
|
|
46
|
-
title?: string;
|
|
47
|
-
/** 拼接值的连接符 默认是空格 */
|
|
48
|
-
connector?: string;
|
|
49
|
-
/** 确认按钮 文案 */
|
|
50
|
-
ensureBtnText?: string;
|
|
51
|
-
/** 取消按钮 文案 */
|
|
52
|
-
cancelBtnText?: string;
|
|
53
|
-
/** 确认按钮 文字颜色 */
|
|
54
|
-
ensureBtnColor?: string;
|
|
55
|
-
/** 取消按钮 文字颜色 */
|
|
56
|
-
cancelBtnColor?: string;
|
|
57
|
-
/** 组件标题 文字颜色 */
|
|
58
|
-
titleColor?: string;
|
|
59
|
-
/** 组件标题 背景颜色 */
|
|
60
|
-
titleBgColor?: string;
|
|
61
|
-
/** 选项文字颜色 */
|
|
62
|
-
textColor?: string;
|
|
63
|
-
/** 遮罩背景色 */
|
|
64
|
-
bgColor?: string;
|
|
65
|
-
/** 遮罩层透明度 */
|
|
66
|
-
maskOpacity?: number;
|
|
67
|
-
/** 数据源, 用户自定义key */
|
|
68
|
-
keyMap?: KeyMap;
|
|
69
|
-
/** onChange后 是否修改trigger的innerText */
|
|
70
|
-
triggerDisplayValue?: boolean;
|
|
71
|
-
/** 是否自动拉起面板 */
|
|
72
|
-
autoFocus?: boolean;
|
|
73
|
-
/** 轮子滚动速度 默认为1 */
|
|
74
|
-
scrollSpeed?: number;
|
|
75
|
-
/** (即将废弃) 选择完毕的回调函数 */
|
|
76
|
-
callback?: OldCallbackFn;
|
|
77
|
-
/** (即将废弃) 取消面板的回调函数 */
|
|
78
|
-
cancel?: OldCallbackFn;
|
|
79
|
-
/** (即将废弃) 滚动滚动完毕的回调函数 */
|
|
80
|
-
transitionEnd?: OldCallbackFn;
|
|
81
|
-
/** (即将废弃) onChange后 是否修改trigger的innerText */
|
|
82
|
-
triggerDisplayData?: boolean;
|
|
83
|
-
};
|
|
84
|
-
export type MobileSelectConfig = CustomConfig & Required<Pick<CustomConfig, "keyMap" | "position" | "colWidth" | "title" | "connector" | "ensureBtnText" | "cancelBtnText" | "triggerDisplayValue" | "scrollSpeed">>;
|
|
85
|
-
declare class MobileSelect {
|
|
86
|
-
mobileSelect: HTMLDivElement;
|
|
87
|
-
trigger: HTMLElement;
|
|
88
|
-
wheelList: HTMLCollectionOf<HTMLElement>;
|
|
89
|
-
sliderList: HTMLCollectionOf<HTMLElement>;
|
|
90
|
-
wheelsContain: HTMLDivElement;
|
|
91
|
-
panel: HTMLDivElement;
|
|
92
|
-
ensureBtn: HTMLDivElement;
|
|
93
|
-
cancelBtn: HTMLDivElement;
|
|
94
|
-
grayLayer: HTMLDivElement;
|
|
95
|
-
popUp: HTMLDivElement;
|
|
96
|
-
/** 初始化滚动位置 由position 或 initValue计算决定 */
|
|
97
|
-
initPosition: number[];
|
|
98
|
-
/** 轮子宽度比例 */
|
|
99
|
-
initColWidth: number[];
|
|
100
|
-
/** 数据源 */
|
|
101
|
-
wheelsData: CascadeData[];
|
|
102
|
-
/** 显示json */
|
|
103
|
-
displayJson: CascadeData[];
|
|
104
|
-
/** 当前数值 */
|
|
105
|
-
curValue: string[] | number[] | CascadeData[];
|
|
106
|
-
/** 当前索引位置 */
|
|
107
|
-
curIndexArr: number[];
|
|
108
|
-
/** 是否级联 */
|
|
109
|
-
isCascade: boolean;
|
|
110
|
-
/** 是否JSON格式 */
|
|
111
|
-
isJsonType: boolean;
|
|
112
|
-
/** 开始 Y轴位置 */
|
|
113
|
-
startY: number;
|
|
114
|
-
/** 结束 Y轴位置 */
|
|
115
|
-
moveEndY: number;
|
|
116
|
-
/** 当前 Y轴位置 */
|
|
117
|
-
moveY: number;
|
|
118
|
-
/** 上一次 Y轴位置 */
|
|
119
|
-
preMoveY: number;
|
|
120
|
-
/** Y轴新旧位移差值 */
|
|
121
|
-
offsetY: number;
|
|
122
|
-
/** 差值总和? */
|
|
123
|
-
offsetSum: number;
|
|
124
|
-
/** 最大Border? */
|
|
125
|
-
oversizeBorder: number;
|
|
126
|
-
/** 是否启用点击状态 */
|
|
127
|
-
enableClickStatus: boolean;
|
|
128
|
-
/** 选项高度(li元素的高度) */
|
|
129
|
-
optionHeight: number;
|
|
130
|
-
/** 存放滚动距离的数组 */
|
|
131
|
-
curDistance: number[];
|
|
132
|
-
/** 级联数据 相当于wheels[0].data的别名 */
|
|
133
|
-
cascadeJsonData: CascadeData[];
|
|
134
|
-
/** 事件监听 */
|
|
135
|
-
eventHandleMap: {
|
|
136
|
-
[x: string]: {
|
|
137
|
-
event: string | string[];
|
|
138
|
-
fn: Function;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
/** 级联数据 级联深度 */
|
|
142
|
-
initDeepCount: number;
|
|
143
|
-
/** 用户配置项 */
|
|
144
|
-
config: MobileSelectConfig;
|
|
145
|
-
/** 默认配置 */
|
|
146
|
-
static defaultConfig: {
|
|
147
|
-
keyMap: {
|
|
148
|
-
id: string;
|
|
149
|
-
value: string;
|
|
150
|
-
childs: string;
|
|
151
|
-
};
|
|
152
|
-
position: never[];
|
|
153
|
-
colWidth: never[];
|
|
154
|
-
title: string;
|
|
155
|
-
connector: string;
|
|
156
|
-
ensureBtnText: string;
|
|
157
|
-
cancelBtnText: string;
|
|
158
|
-
triggerDisplayValue: boolean;
|
|
159
|
-
scrollSpeed: number;
|
|
160
|
-
};
|
|
161
|
-
constructor(config: CustomConfig);
|
|
162
|
-
init(): void;
|
|
163
|
-
static checkDataType(wheelsData: CascadeData): boolean;
|
|
164
|
-
static REQUIRED_PARAMS: (keyof CustomConfig)[];
|
|
165
|
-
static checkRequiredConfig(config: CustomConfig): boolean;
|
|
166
|
-
static log(type: "error" | "info", tips: string): void;
|
|
167
|
-
checkTriggerAvailable(): boolean;
|
|
168
|
-
/** 根据initValue 获取initPostion 需要区分级联和非级联情况 注意此时displayJson还没生成 */
|
|
169
|
-
getPositionByInitValue(): number[];
|
|
170
|
-
getConnectedString(): string;
|
|
171
|
-
setTriggerInnerText(value: string): void;
|
|
172
|
-
setValue(valList: string[] | number[] | CascadeData[]): void;
|
|
173
|
-
setTitle(title: string): void;
|
|
174
|
-
setStyle(config: MobileSelectConfig): void;
|
|
175
|
-
show(): void;
|
|
176
|
-
hide(): void;
|
|
177
|
-
registerEvents(type: "add" | "remove"): void;
|
|
178
|
-
destroy(): void;
|
|
179
|
-
getOptionsHtmlStr(childs: CascadeData): string;
|
|
180
|
-
renderComponent(wheelsData: CascadeData[]): void;
|
|
181
|
-
reRenderWheels(): void;
|
|
182
|
-
checkCascade(): boolean;
|
|
183
|
-
initCascade(): void;
|
|
184
|
-
initCheckArrDeep(parent: CascadeData): void;
|
|
185
|
-
checkArrDeep(parent: CascadeData): void;
|
|
186
|
-
checkRange(index: number, posIndexArr: number[]): void;
|
|
187
|
-
resetPosition(index: number, posIndexArr: number[]): number[];
|
|
188
|
-
updateWheels(data: CascadeData[]): void;
|
|
189
|
-
updateWheel(sliderIndex: number, data: Omit<OptionData, "CascadeData">[]): void;
|
|
190
|
-
fixRowStyle(): void;
|
|
191
|
-
getIndex(distance: number): number;
|
|
192
|
-
getIndexArr(): number[];
|
|
193
|
-
getCurValue(): string[] | number[] | CascadeData[];
|
|
194
|
-
getValue(): string[] | number[] | CascadeData[];
|
|
195
|
-
calcDistance(index: number): number;
|
|
196
|
-
setCurDistance(indexArr: number[]): void;
|
|
197
|
-
fixPosition(distance: number): number;
|
|
198
|
-
movePosition(theSlider: HTMLElement, distance: number): void;
|
|
199
|
-
locatePosition(sliderIndex: number, posIndex: number): void;
|
|
200
|
-
updateCurDistance(theSlider: HTMLElement, index: number): void;
|
|
201
|
-
getInnerText(sliderIndex: number): string;
|
|
202
|
-
touch(event: TouchEvent | MouseEvent): void;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
export {
|
|
206
|
-
MobileSelect as default,
|
|
207
|
-
};
|
|
208
|
-
|
|
209
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// Extend the global Window interface to include the Eloqua function
|
|
2
|
-
declare global {
|
|
3
|
-
interface Window {
|
|
4
|
-
GetElqContentPersonalizationValue: (fieldName: string) => string;
|
|
5
|
-
GetElqGroupMembershipStatus: (fieldName: string) => string;
|
|
6
|
-
SetElqContent: () => void;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export {};
|