@ptcwebops/ptcw-design 3.4.6 → 3.4.8
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/bundle-example.cjs.entry.js +1 -1
- 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/fl-tab-content_3.cjs.entry.js +3 -3
- package/dist/cjs/footer-form.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +53 -0
- 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 +1 -1
- package/dist/cjs/most-popular-news_9.cjs.entry.js +569 -0
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/news-search-result.cjs.entry.js +55 -0
- 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 +63 -0
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ptc-brightcov-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-button.cjs.entry.js +2 -2
- package/dist/cjs/ptc-card_2.cjs.entry.js +140 -0
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +2 -2
- package/dist/cjs/ptc-container.cjs.entry.js +1 -1
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +5 -2
- 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_4.cjs.entry.js +4 -4
- 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 +4 -4
- 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 +1 -1
- package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +1 -1
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +1 -1
- package/dist/cjs/ptc-img.cjs.entry.js +1 -1
- package/dist/cjs/ptc-link.cjs.entry.js +3 -2
- package/dist/cjs/ptc-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-media-card.cjs.entry.js +2 -2
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +1 -1
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +1 -1
- package/dist/cjs/ptc-modal-quiz.cjs.entry.js +1 -1
- package/dist/cjs/ptc-modal.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-link.cjs.entry.js +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-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-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 +2 -2
- package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ptc-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 +93 -0
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +1 -1
- package/dist/cjs/ptc-search-field.cjs.entry.js +4 -2
- 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-skeleton.cjs.entry.js +27 -0
- package/dist/cjs/ptc-slit-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-span.cjs.entry.js +1 -1
- package/dist/cjs/ptc-square-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +1 -1
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +1 -1
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-subnav.cjs.entry.js +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-tooltip.cjs.entry.js +107 -0
- 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 +3 -3
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/sequential-bundle.cjs.entry.js +1 -1
- package/dist/cjs/tab-content.cjs.entry.js +1 -1
- package/dist/cjs/tab-header.cjs.entry.js +1 -1
- package/dist/cjs/{utils-83c6d7a7.js → utils-03d92070.js} +28 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/dropdown-item/dropdown-item.css +50 -0
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.css +50 -0
- package/dist/collection/components/icon-asset/icon-asset.css +50 -0
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +50 -0
- package/dist/collection/components/list-item/list-item.css +50 -0
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +1 -1
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.css +50 -0
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.css +50 -0
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.css +101 -0
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +47 -0
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.css +74 -0
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.js +80 -0
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.css +50 -0
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +50 -0
- package/dist/collection/components/ptc-accordion/ptc-accordion.css +50 -0
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +50 -0
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +50 -0
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +50 -0
- package/dist/collection/components/ptc-badge/ptc-badge.css +65 -0
- package/dist/collection/components/ptc-badge/ptc-badge.js +42 -0
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +50 -0
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +50 -0
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.css +50 -0
- package/dist/collection/components/ptc-button/ptc-button.css +50 -0
- package/dist/collection/components/ptc-card/ptc-card.css +255 -0
- package/dist/collection/components/ptc-card/ptc-card.js +2 -2
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +54 -0
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +2 -2
- package/dist/collection/components/ptc-card-content/ptc-card-content.css +50 -0
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +62 -0
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +2 -2
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +50 -0
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +50 -0
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +50 -0
- package/dist/collection/components/ptc-container/ptc-container.css +50 -0
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.css +50 -0
- package/dist/collection/components/ptc-date/ptc-date.css +50 -0
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +50 -0
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +50 -0
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +50 -0
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +50 -0
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.css +50 -0
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +50 -0
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.css +50 -0
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +50 -0
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +50 -0
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +50 -0
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +50 -0
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +50 -0
- package/dist/collection/components/ptc-hero/ptc-hero.css +50 -0
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.css +50 -0
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +50 -0
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +50 -0
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +50 -0
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +50 -0
- package/dist/collection/components/ptc-img/ptc-img.css +50 -0
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +74 -0
- package/dist/collection/components/ptc-link/ptc-link.css +73 -0
- package/dist/collection/components/ptc-link/ptc-link.js +3 -2
- package/dist/collection/components/ptc-list/ptc-list.css +50 -0
- package/dist/collection/components/ptc-media-card/ptc-media-card.css +50 -0
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +50 -0
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +50 -0
- package/dist/collection/components/ptc-modal/ptc-modal.css +50 -0
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +50 -0
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +50 -0
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.css +50 -0
- package/dist/collection/components/ptc-news/ptc-news.css +50 -0
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +50 -0
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +50 -0
- package/dist/collection/components/ptc-para/ptc-para.css +50 -0
- package/dist/collection/components/ptc-picture/ptc-picture.css +50 -0
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +50 -0
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +50 -0
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +50 -0
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.css +50 -0
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +50 -0
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +51 -1
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +74 -0
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +50 -0
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +50 -0
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +50 -0
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +50 -0
- package/dist/collection/components/ptc-product-list/ptc-product-list.css +50 -0
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +50 -0
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.css +50 -0
- package/dist/collection/components/ptc-quote/ptc-quote.css +50 -0
- package/dist/collection/components/ptc-readmore/ptc-readmore.css +50 -0
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +50 -0
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +50 -0
- package/dist/collection/components/ptc-search-field/ptc-search-field.css +73 -0
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +20 -1
- package/dist/collection/components/ptc-select/ptc-select.css +50 -0
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.css +50 -0
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +50 -0
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +50 -0
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +50 -0
- package/dist/collection/components/ptc-social-share/ptc-social-share.css +50 -0
- package/dist/collection/components/ptc-span/ptc-span.css +50 -0
- package/dist/collection/components/ptc-square-card/ptc-square-card.css +50 -0
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.css +50 -0
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.css +50 -0
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.css +50 -0
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +50 -0
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +50 -0
- package/dist/collection/components/ptc-tabs/ptc-tabs.css +50 -0
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +50 -0
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +50 -0
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +50 -0
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +50 -0
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.css +50 -0
- package/dist/collection/components/ptc-title/ptc-title.css +50 -8
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +50 -0
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.css +50 -0
- package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.css +50 -0
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.css +50 -0
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.css +50 -0
- package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.css +50 -0
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.css +50 -0
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +50 -0
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +50 -0
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +100 -13
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +2 -2
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +50 -0
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +50 -0
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +50 -0
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +50 -0
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.css +50 -0
- package/dist/collection/components/tab-content/tab-content.css +50 -0
- package/dist/collection/components/tab-header/tab-header.css +50 -0
- package/dist/collection/utils/elq-lib.js +4 -1
- package/dist/collection/utils/utils.js +45 -0
- package/dist/custom-elements/index.d.ts +18 -0
- package/dist/custom-elements/index.js +248 -125
- package/dist/esm/author-listing-example.entry.js +1 -1
- package/dist/esm/bundle-example.entry.js +2 -2
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/dropdown-item.entry.js +2 -2
- package/dist/esm/dynamic-box-bundle.entry.js +2 -2
- package/dist/esm/embedded-form.entry.js +2 -2
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/fl-tab-content_3.entry.js +4 -4
- package/dist/esm/footer-form.entry.js +2 -2
- package/dist/esm/icon-asset.entry.js +49 -0
- package/dist/esm/{index-4025d85a.js → index-62587d0b.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +2 -2
- package/dist/esm/list-item.entry.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/max-width-container.entry.js +1 -1
- package/dist/esm/most-popular-news_9.entry.js +557 -0
- package/dist/esm/my-component.entry.js +2 -2
- package/dist/esm/news-search-result.entry.js +51 -0
- package/dist/esm/ptc-accordion-item.entry.js +2 -2
- package/dist/esm/ptc-accordion.entry.js +2 -2
- package/dist/esm/ptc-announcement.entry.js +59 -0
- package/dist/esm/ptc-back-to-top.entry.js +2 -2
- package/dist/esm/ptc-background-video.entry.js +2 -2
- package/dist/esm/ptc-bio-card.entry.js +2 -2
- package/dist/esm/ptc-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ptc-brightcov-video.entry.js +2 -2
- package/dist/esm/ptc-button.entry.js +3 -3
- package/dist/esm/ptc-card_2.entry.js +135 -0
- package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
- package/dist/esm/ptc-checkbox.entry.js +2 -2
- package/dist/esm/ptc-collapse-list.entry.js +3 -3
- package/dist/esm/ptc-container.entry.js +2 -2
- package/dist/esm/ptc-data-lookup.entry.js +6 -3
- package/dist/esm/ptc-dropdown.entry.js +2 -2
- package/dist/esm/ptc-dynamic-card.entry.js +2 -2
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +2 -2
- package/dist/esm/ptc-embedded-quiz.entry.js +2 -2
- package/dist/esm/ptc-featured-list.entry.js +2 -2
- package/dist/esm/ptc-filter-dropdown_4.entry.js +5 -5
- package/dist/esm/ptc-filter-level-theater.entry.js +2 -2
- package/dist/esm/ptc-filter-tag.entry.js +2 -2
- package/dist/esm/ptc-form-checkbox_3.entry.js +5 -5
- package/dist/esm/ptc-form.entry.js +1 -1
- package/dist/esm/ptc-hero-footer-cta.entry.js +2 -2
- package/dist/esm/ptc-hero.entry.js +2 -2
- package/dist/esm/ptc-icon-component.entry.js +2 -2
- package/dist/esm/ptc-icon-list.entry.js +2 -2
- package/dist/esm/ptc-icon-minimize.entry.js +2 -2
- package/dist/esm/ptc-image-download-strip.entry.js +2 -2
- package/dist/esm/ptc-img.entry.js +2 -2
- package/dist/esm/ptc-link.entry.js +4 -3
- package/dist/esm/ptc-list.entry.js +2 -2
- package/dist/esm/ptc-media-card.entry.js +3 -3
- package/dist/esm/ptc-minimized-nav.entry.js +2 -2
- package/dist/esm/ptc-mobile-select.entry.js +2 -2
- package/dist/esm/ptc-modal-quiz.entry.js +2 -2
- package/dist/esm/ptc-modal.entry.js +2 -2
- package/dist/esm/ptc-nav-card.entry.js +2 -2
- package/dist/esm/ptc-nav-link.entry.js +2 -2
- package/dist/esm/ptc-nav-pills.entry.js +2 -2
- package/dist/esm/ptc-nav-slider.entry.js +2 -2
- package/dist/esm/ptc-nav-submenu.entry.js +2 -2
- package/dist/esm/ptc-news.entry.js +2 -2
- package/dist/esm/ptc-overlay.entry.js +2 -2
- package/dist/esm/ptc-pagenation.entry.js +2 -2
- package/dist/esm/ptc-podcast-card.entry.js +2 -2
- package/dist/esm/ptc-previous-url.entry.js +2 -2
- package/dist/esm/ptc-pricing-add-on-card.entry.js +2 -2
- package/dist/esm/ptc-pricing-add-on-section.entry.js +2 -2
- package/dist/esm/ptc-pricing-block.entry.js +2 -2
- package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
- package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
- package/dist/esm/ptc-product-card.entry.js +2 -2
- package/dist/esm/ptc-product-category.entry.js +2 -2
- package/dist/esm/ptc-product-dropdown.entry.js +2 -2
- package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
- package/dist/esm/ptc-product-list.entry.js +2 -2
- package/dist/esm/ptc-product-sidebar.entry.js +2 -2
- package/dist/esm/ptc-progress-bar.entry.js +2 -2
- package/dist/esm/ptc-quote.entry.js +2 -2
- package/dist/esm/ptc-readmore-char.entry.js +2 -2
- package/dist/esm/ptc-readmore.entry.js +89 -0
- package/dist/esm/ptc-related-card-rail.entry.js +2 -2
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +5 -3
- package/dist/esm/ptc-seo-title.entry.js +2 -2
- package/dist/esm/ptc-shopping-cart.entry.js +2 -2
- package/dist/esm/ptc-skeleton.entry.js +23 -0
- package/dist/esm/ptc-slit-card.entry.js +2 -2
- package/dist/esm/ptc-span.entry.js +2 -2
- package/dist/esm/ptc-square-card.entry.js +2 -2
- package/dist/esm/ptc-sticky-icons.entry.js +2 -2
- package/dist/esm/ptc-sticky-section.entry.js +2 -2
- package/dist/esm/ptc-sticky-title.entry.js +2 -2
- package/dist/esm/ptc-subnav-card.entry.js +2 -2
- package/dist/esm/ptc-subnav.entry.js +2 -2
- package/dist/esm/ptc-svg-btn.entry.js +2 -2
- package/dist/esm/ptc-tab-list.entry.js +2 -2
- package/dist/esm/ptc-tab.entry.js +2 -2
- package/dist/esm/ptc-tabs.entry.js +2 -2
- package/dist/esm/ptc-text-copy-with-background.entry.js +2 -2
- package/dist/esm/ptc-theater-video-modal.entry.js +2 -2
- package/dist/esm/ptc-tooltip.entry.js +103 -0
- package/dist/esm/ptc-two-column-media.entry.js +2 -2
- package/dist/esm/ptc-value-led-card.entry.js +2 -2
- package/dist/esm/ptc-value-led-content-highlight.entry.js +2 -2
- package/dist/esm/ptc-value-led-content.entry.js +2 -2
- package/dist/esm/ptc-value-led-intro.entry.js +2 -2
- package/dist/esm/ptc-value-led-layout.entry.js +2 -2
- package/dist/esm/ptc-value-led-speed-bump.entry.js +2 -2
- package/dist/esm/ptc-value-prop-card.entry.js +2 -2
- package/dist/esm/ptc-white-paper.entry.js +4 -4
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle-example.entry.js +1 -1
- package/dist/esm/sequential-bundle.entry.js +2 -2
- package/dist/esm/tab-content.entry.js +2 -2
- package/dist/esm/tab-header.entry.js +2 -2
- package/dist/esm/{utils-ec03e51e.js → utils-2f4905df.js} +28 -1
- package/dist/ptcw-design/{p-a7fdc2eb.js → p-00a1336a.js} +1 -1
- package/dist/ptcw-design/{p-1e82f492.entry.js → p-0131dbe5.entry.js} +1 -1
- package/dist/ptcw-design/p-06e0f43c.entry.js +1 -0
- package/dist/ptcw-design/{p-f3feb0d1.entry.js → p-06e6d202.entry.js} +1 -1
- package/dist/ptcw-design/p-081402fe.entry.js +1 -0
- package/dist/ptcw-design/p-0c4c295a.entry.js +1 -0
- package/dist/ptcw-design/p-0e5bce9e.entry.js +1 -0
- package/dist/ptcw-design/p-0e8f1054.entry.js +1 -0
- package/dist/ptcw-design/p-112caa58.entry.js +1 -0
- package/dist/ptcw-design/p-1343f17f.entry.js +1 -0
- package/dist/ptcw-design/p-15966484.entry.js +1 -0
- package/dist/ptcw-design/{p-2c9ee799.entry.js → p-16e5c94c.entry.js} +3 -3
- package/dist/ptcw-design/p-1f9652a4.entry.js +1 -0
- package/dist/ptcw-design/p-21ee1954.entry.js +1 -0
- package/dist/ptcw-design/p-241b10a8.entry.js +1 -0
- package/dist/ptcw-design/{p-fa05e374.entry.js → p-2426be1b.entry.js} +1 -1
- package/dist/ptcw-design/p-259ac58f.entry.js +1 -0
- package/dist/ptcw-design/p-290e18e3.entry.js +1 -0
- package/dist/ptcw-design/p-31823a88.entry.js +1 -0
- package/dist/ptcw-design/p-320fe922.entry.js +1 -0
- package/dist/ptcw-design/p-3358b900.entry.js +1 -0
- package/dist/ptcw-design/{p-6532393f.entry.js → p-33db658c.entry.js} +1 -1
- package/dist/ptcw-design/{p-abf4e9d7.entry.js → p-353993f4.entry.js} +1 -1
- package/dist/ptcw-design/p-3969b923.entry.js +1 -0
- package/dist/ptcw-design/p-3a9395df.entry.js +1 -0
- package/dist/ptcw-design/p-3b10553f.entry.js +1 -0
- package/dist/ptcw-design/p-3beb1556.entry.js +1 -0
- package/dist/ptcw-design/p-4784f2b9.entry.js +1 -0
- package/dist/ptcw-design/p-490f27df.entry.js +1 -0
- package/dist/ptcw-design/p-4b25269c.entry.js +1 -0
- package/dist/ptcw-design/p-4c770348.entry.js +1 -0
- package/dist/ptcw-design/p-4d17c53e.entry.js +1 -0
- package/dist/ptcw-design/p-4e265ba3.entry.js +1 -0
- package/dist/ptcw-design/{p-0af76a07.entry.js → p-540ae4db.entry.js} +1 -1
- package/dist/ptcw-design/p-589c433e.entry.js +1 -0
- package/dist/ptcw-design/p-5bc4943e.entry.js +1 -0
- package/dist/ptcw-design/p-62b678bc.entry.js +1 -0
- package/dist/ptcw-design/p-68ccff26.entry.js +1 -0
- package/dist/ptcw-design/{p-aca960a9.entry.js → p-6aa14f70.entry.js} +1 -1
- package/dist/ptcw-design/p-6e9b640a.entry.js +1 -0
- package/dist/ptcw-design/p-713c9ec8.entry.js +1 -0
- package/dist/ptcw-design/p-752f779c.entry.js +1 -0
- package/dist/ptcw-design/p-762b0a1b.entry.js +1 -0
- package/dist/ptcw-design/p-77620e62.entry.js +1 -0
- package/dist/ptcw-design/p-781638be.entry.js +1 -0
- package/dist/ptcw-design/{p-c25ea76a.entry.js → p-7845b816.entry.js} +1 -1
- package/dist/ptcw-design/p-7a41c279.entry.js +1 -0
- package/dist/ptcw-design/{p-3a291b61.entry.js → p-7a8726da.entry.js} +1 -1
- package/dist/ptcw-design/p-7b44822e.entry.js +1 -0
- package/dist/ptcw-design/p-7bc096cb.entry.js +1 -0
- package/dist/ptcw-design/p-7bf13244.entry.js +1 -0
- package/dist/ptcw-design/{p-291501ac.entry.js → p-7dad6d4f.entry.js} +1 -1
- package/dist/ptcw-design/p-811b7f39.entry.js +1 -0
- package/dist/ptcw-design/p-81d02e5b.entry.js +1 -0
- package/dist/ptcw-design/p-822cfdfd.entry.js +1 -0
- package/dist/ptcw-design/p-859052b5.entry.js +1 -0
- package/dist/ptcw-design/p-88289c34.entry.js +1 -0
- package/dist/ptcw-design/p-89aaac3d.entry.js +1 -0
- package/dist/ptcw-design/p-8a2e164e.entry.js +1 -0
- package/dist/ptcw-design/p-8d1fce01.entry.js +1 -0
- package/dist/ptcw-design/p-8edf7345.entry.js +1 -0
- package/dist/ptcw-design/p-90389608.entry.js +1 -0
- package/dist/ptcw-design/p-920e3bcb.entry.js +1 -0
- package/dist/ptcw-design/p-94f8fa7a.entry.js +1 -0
- package/dist/ptcw-design/p-97379f64.entry.js +1 -0
- package/dist/ptcw-design/p-99b1cd09.entry.js +1 -0
- package/dist/ptcw-design/p-9baef10e.entry.js +1 -0
- package/dist/ptcw-design/p-9cd7f3cc.entry.js +1 -0
- package/dist/ptcw-design/p-9f7ae86c.entry.js +1 -0
- package/dist/ptcw-design/p-9fe33c48.entry.js +1 -0
- package/dist/ptcw-design/p-a100759f.entry.js +1 -0
- package/dist/ptcw-design/p-a33e8446.entry.js +1 -0
- package/dist/ptcw-design/p-a7d7d41c.entry.js +1 -0
- package/dist/ptcw-design/p-a7fc52d4.entry.js +1 -0
- package/dist/ptcw-design/{p-96761597.entry.js → p-abc85ec4.entry.js} +1 -1
- package/dist/ptcw-design/p-abf8f9c8.entry.js +1 -0
- package/dist/ptcw-design/p-ad220132.entry.js +1 -0
- package/dist/ptcw-design/p-afbb565c.entry.js +1 -0
- package/dist/ptcw-design/p-b07b2180.entry.js +1 -0
- package/dist/ptcw-design/p-b125ace0.entry.js +1 -0
- package/dist/ptcw-design/p-b422900e.js +1 -0
- package/dist/ptcw-design/{p-016abee7.entry.js → p-b5e6a194.entry.js} +1 -1
- package/dist/ptcw-design/{p-b222d731.entry.js → p-b80358ed.entry.js} +1 -1
- package/dist/ptcw-design/p-b9609f2e.entry.js +1 -0
- package/dist/ptcw-design/p-bb2a4668.entry.js +1 -0
- package/dist/ptcw-design/p-c4c2fbfc.entry.js +1 -0
- package/dist/ptcw-design/p-c78761c0.entry.js +1 -0
- package/dist/ptcw-design/p-c7aacddb.entry.js +1 -0
- package/dist/ptcw-design/p-c89d2767.entry.js +1 -0
- package/dist/ptcw-design/p-d27260a1.entry.js +1 -0
- package/dist/ptcw-design/p-d47ac26b.entry.js +1 -0
- package/dist/ptcw-design/p-d6fd48ae.entry.js +1 -0
- package/dist/ptcw-design/p-ddae06e0.entry.js +1 -0
- package/dist/ptcw-design/p-ddc14b7e.entry.js +1 -0
- package/dist/ptcw-design/{p-3b91b9de.entry.js → p-dfedd9b0.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f34e6c8.entry.js → p-dff4d08e.entry.js} +1 -1
- package/dist/ptcw-design/p-e36b9672.entry.js +1 -0
- package/dist/ptcw-design/p-e3c29ccb.entry.js +1 -0
- package/dist/ptcw-design/p-e4607ae1.entry.js +1 -0
- package/dist/ptcw-design/p-e716392e.entry.js +1 -0
- package/dist/ptcw-design/{p-159cefeb.entry.js → p-e93ce6ce.entry.js} +1 -1
- package/dist/ptcw-design/p-ea6fd5b5.entry.js +1 -0
- package/dist/ptcw-design/p-eb3b40a4.entry.js +1 -0
- package/dist/ptcw-design/p-ebe198ae.entry.js +1 -0
- package/dist/ptcw-design/p-eee2bb6e.entry.js +1 -0
- package/dist/ptcw-design/{p-73429b0c.entry.js → p-eefabee7.entry.js} +1 -1
- package/dist/ptcw-design/p-f13ac5e0.entry.js +1 -0
- package/dist/ptcw-design/p-f1a7042a.entry.js +1 -0
- package/dist/ptcw-design/{p-ea9762a2.entry.js → p-f1c77113.entry.js} +1 -1
- package/dist/ptcw-design/p-f35ee10e.entry.js +1 -0
- package/dist/ptcw-design/p-f491b735.entry.js +1 -0
- package/dist/ptcw-design/{p-4cf2d9ba.entry.js → p-f4e6dfc6.entry.js} +1 -1
- package/dist/ptcw-design/{p-f1a31099.entry.js → p-f718af69.entry.js} +1 -1
- package/dist/ptcw-design/p-f83879cf.entry.js +1 -0
- package/dist/ptcw-design/p-f9fc8e3c.entry.js +1 -0
- package/dist/ptcw-design/p-fa2a05a3.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/most-popular-news/most-popular-news.d.ts +6 -0
- package/dist/types/components/organism-bundles/news-search-result/news-search-result.d.ts +14 -0
- package/dist/types/components/ptc-badge/ptc-badge.d.ts +4 -0
- package/dist/types/components/ptc-card/ptc-card.d.ts +1 -1
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +1 -1
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +1 -1
- package/dist/types/components/ptc-link/ptc-link.d.ts +1 -1
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +1 -0
- package/dist/types/components.d.ts +53 -4
- package/dist/types/utils/utils.d.ts +2 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/icon-asset_7.cjs.entry.js +0 -589
- package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +0 -151
- package/dist/cjs/ptc-card-content.cjs.entry.js +0 -68
- package/dist/cjs/ptc-para.cjs.entry.js +0 -70
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/cjs/ptc-title.cjs.entry.js +0 -99
- package/dist/esm/icon-asset_7.entry.js +0 -579
- package/dist/esm/ptc-card-bottom_3.entry.js +0 -145
- package/dist/esm/ptc-card-content.entry.js +0 -64
- package/dist/esm/ptc-para.entry.js +0 -66
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/esm/ptc-title.entry.js +0 -95
- package/dist/ptcw-design/p-027bdb8f.entry.js +0 -1
- package/dist/ptcw-design/p-041beaf4.entry.js +0 -1
- package/dist/ptcw-design/p-047a8a1a.entry.js +0 -1
- package/dist/ptcw-design/p-052601d9.entry.js +0 -1
- package/dist/ptcw-design/p-06b1b637.entry.js +0 -1
- package/dist/ptcw-design/p-06c6ea4c.entry.js +0 -1
- package/dist/ptcw-design/p-084ee207.entry.js +0 -1
- package/dist/ptcw-design/p-097e7844.entry.js +0 -1
- package/dist/ptcw-design/p-0a923315.entry.js +0 -1
- package/dist/ptcw-design/p-11accaff.entry.js +0 -1
- package/dist/ptcw-design/p-149b36d8.entry.js +0 -1
- package/dist/ptcw-design/p-14d5bf99.entry.js +0 -1
- package/dist/ptcw-design/p-179c53ad.entry.js +0 -1
- package/dist/ptcw-design/p-1c93ee68.entry.js +0 -1
- package/dist/ptcw-design/p-1e333fa3.entry.js +0 -1
- package/dist/ptcw-design/p-24260cad.entry.js +0 -1
- package/dist/ptcw-design/p-25ce65a9.entry.js +0 -1
- package/dist/ptcw-design/p-27282ed2.entry.js +0 -1
- package/dist/ptcw-design/p-27eaab9c.entry.js +0 -1
- package/dist/ptcw-design/p-29761cca.entry.js +0 -1
- package/dist/ptcw-design/p-2ca10131.entry.js +0 -1
- package/dist/ptcw-design/p-35156762.entry.js +0 -1
- package/dist/ptcw-design/p-37d1bcdc.entry.js +0 -1
- package/dist/ptcw-design/p-3ebbc544.entry.js +0 -1
- package/dist/ptcw-design/p-40bd4f0a.js +0 -1
- package/dist/ptcw-design/p-4586bc60.entry.js +0 -1
- package/dist/ptcw-design/p-473d9d45.entry.js +0 -1
- package/dist/ptcw-design/p-4a9f5417.entry.js +0 -1
- package/dist/ptcw-design/p-4d6d18f2.entry.js +0 -1
- package/dist/ptcw-design/p-4da72c00.entry.js +0 -1
- package/dist/ptcw-design/p-5423eae8.entry.js +0 -1
- package/dist/ptcw-design/p-56531155.entry.js +0 -1
- package/dist/ptcw-design/p-570147ae.entry.js +0 -1
- package/dist/ptcw-design/p-595f8dee.entry.js +0 -1
- package/dist/ptcw-design/p-5af8beda.entry.js +0 -1
- package/dist/ptcw-design/p-5f66ed1f.entry.js +0 -1
- package/dist/ptcw-design/p-61feb9c3.entry.js +0 -1
- package/dist/ptcw-design/p-66d12557.entry.js +0 -1
- package/dist/ptcw-design/p-68507582.entry.js +0 -1
- package/dist/ptcw-design/p-6bddd3c0.entry.js +0 -1
- package/dist/ptcw-design/p-6c56f83f.entry.js +0 -1
- package/dist/ptcw-design/p-6e81553e.entry.js +0 -1
- package/dist/ptcw-design/p-6ea40776.entry.js +0 -1
- package/dist/ptcw-design/p-71d15f4f.entry.js +0 -1
- package/dist/ptcw-design/p-77cf5877.entry.js +0 -1
- package/dist/ptcw-design/p-783b278d.entry.js +0 -1
- package/dist/ptcw-design/p-7899f28e.entry.js +0 -1
- package/dist/ptcw-design/p-7b2c82bf.entry.js +0 -1
- package/dist/ptcw-design/p-7bd287e6.entry.js +0 -1
- package/dist/ptcw-design/p-7ed2372b.entry.js +0 -1
- package/dist/ptcw-design/p-804dfccf.entry.js +0 -1
- package/dist/ptcw-design/p-80e3f081.entry.js +0 -1
- package/dist/ptcw-design/p-818ef281.entry.js +0 -1
- package/dist/ptcw-design/p-853148c3.entry.js +0 -1
- package/dist/ptcw-design/p-94efc642.entry.js +0 -1
- package/dist/ptcw-design/p-9a908785.entry.js +0 -1
- package/dist/ptcw-design/p-9b5bac71.entry.js +0 -1
- package/dist/ptcw-design/p-a5e7d4a7.entry.js +0 -1
- package/dist/ptcw-design/p-a6c31305.entry.js +0 -1
- package/dist/ptcw-design/p-acc71f4b.entry.js +0 -1
- package/dist/ptcw-design/p-ad78b94d.entry.js +0 -1
- package/dist/ptcw-design/p-b0810037.entry.js +0 -1
- package/dist/ptcw-design/p-b995b462.entry.js +0 -1
- package/dist/ptcw-design/p-b9c64260.entry.js +0 -1
- package/dist/ptcw-design/p-b9fbc293.entry.js +0 -1
- package/dist/ptcw-design/p-bce9a8a2.entry.js +0 -1
- package/dist/ptcw-design/p-be78874a.entry.js +0 -1
- package/dist/ptcw-design/p-bf26e676.entry.js +0 -1
- package/dist/ptcw-design/p-c1bd1b09.entry.js +0 -1
- package/dist/ptcw-design/p-c1cf0516.entry.js +0 -1
- package/dist/ptcw-design/p-c8dba698.entry.js +0 -1
- package/dist/ptcw-design/p-c9eeb679.entry.js +0 -1
- package/dist/ptcw-design/p-cea9dade.entry.js +0 -1
- package/dist/ptcw-design/p-dbc8e0df.entry.js +0 -1
- package/dist/ptcw-design/p-dfe7c182.entry.js +0 -1
- package/dist/ptcw-design/p-e13362bd.entry.js +0 -1
- package/dist/ptcw-design/p-e3addf1b.entry.js +0 -1
- package/dist/ptcw-design/p-ebadbd24.entry.js +0 -1
- package/dist/ptcw-design/p-ecb42fea.entry.js +0 -1
- package/dist/ptcw-design/p-f2049ba8.entry.js +0 -1
- package/dist/ptcw-design/p-f2db5807.entry.js +0 -1
- package/dist/ptcw-design/p-f2e2cf72.entry.js +0 -1
- package/dist/ptcw-design/p-f5051648.entry.js +0 -1
- package/dist/ptcw-design/p-f52952e9.entry.js +0 -1
- package/dist/ptcw-design/p-f7e6f676.entry.js +0 -1
- package/dist/ptcw-design/p-f823cf51.entry.js +0 -1
- package/dist/ptcw-design/p-f892bcd3.entry.js +0 -1
- package/dist/ptcw-design/p-f8a26f4b.entry.js +0 -1
- package/dist/ptcw-design/p-fa2f71c3.entry.js +0 -1
- package/dist/ptcw-design/p-fade4060.entry.js +0 -1
- package/dist/ptcw-design/p-fb937570.entry.js +0 -1
- package/dist/ptcw-design/p-ff2fd535.entry.js +0 -1
|
@@ -0,0 +1,569 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-cd9a1b1a.js');
|
|
6
|
+
const utils = require('./utils-03d92070.js');
|
|
7
|
+
const interfaces = require('./interfaces-574e6df7.js');
|
|
8
|
+
|
|
9
|
+
const mostPopularNewsCss = "h1,h2,h3,h4,h5,h6,p,ul,li,span{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,span{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}}.most-popular-wrapper{border:1px solid #eee;display:flex;flex-flow:column nowrap;background-color:var(--color-gray-02)}::slotted([slot=seo-content]){display:none}.most-popular-title{border-radius:4px 4px 0px 0px;background-color:var(--color-gray-12);padding:var(--ptc-element-spacing-05) 0px}.most-popular-cards{display:flex;flex-flow:column nowrap;padding:12px}.most-popular-card ptc-card-wrapper{border-radius:4px;background:#FFF;box-shadow:0px 1px 4px 0px rgba(0, 0, 0, 0.24)}@media screen and (min-width: 768px){.most-popular-title{display:none}.most-popular-cards{display:flex;flex-flow:row nowrap}}@media screen and (min-width: 992px){.most-popular-title{display:block}.most-popular-cards{display:flex;flex-flow:column nowrap}}";
|
|
10
|
+
|
|
11
|
+
const MostPopularNews = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.topTitle = undefined;
|
|
15
|
+
}
|
|
16
|
+
componentDidRender() {
|
|
17
|
+
utils.equalizeHeightsWithinShadow('.js-card-bottom', this.el);
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
return (index.h(index.Host, null, index.h("div", { class: "most-popular-wrapper" }, index.h("slot", { name: "seo-content" }), index.h("ptc-title", { type: "h2", "text-align": "center", "title-size": "large", "title-color": "white", upperline: "no-upperline", "title-display": "block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", class: "most-popular-title" }, this.topTitle), index.h("div", { class: "most-popular-cards" }, index.h("div", { class: "most-popular-card" }, index.h("ptc-card-wrapper", { "card-type": "most-popular", "card-link": "https://www.ptc.com/", "is-loading": "false", "link-target": "_blank", "link-title": "Link title on hover", class: "most-pupular-card" }, index.h("ptc-badge", { number: 1 }), index.h("ptc-card-content", null, index.h("ptc-picture", { alt: "image-test", "is-full-height": true, "is-full-width": true, src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" })), index.h("ptc-card-bottom", { "card-type": "most-popular", class: "js-card-bottom" }, index.h("ptc-para", { "para-line-h": "--ptc-line-height-denser", "font-size": "x-small", "font-weight": "w-7", "para-color": "primary-grey", "para-margin": "margin-top-3", "seo-compatibility-mode": true }, index.h("p", null, "PTC Q2 FY\u201923 Earnings Presentation"))))), index.h("div", { class: "most-popular-card" }, index.h("ptc-card-wrapper", { "card-type": "most-popular", "card-link": "https://www.ptc.com/", "is-loading": "false", "link-target": "_blank", "link-title": "Link title on hover", class: "most-pupular-card" }, index.h("ptc-badge", { number: 2 }), index.h("ptc-card-content", null, index.h("ptc-picture", { alt: "image-test", "is-full-height": true, "is-full-width": true, src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" })), index.h("ptc-card-bottom", { "card-type": "most-popular", class: "js-card-bottom" }, index.h("ptc-para", { "para-line-h": "--ptc-line-height-denser", "font-size": "x-small", "font-weight": "w-7", "para-color": "primary-grey", "para-margin": "margin-top-3", "seo-compatibility-mode": true }, index.h("p", null, "PTC Announces Availability of Creo 9"))))), index.h("div", { class: "most-popular-card" }, index.h("ptc-card-wrapper", { "card-type": "most-popular", "card-link": "https://www.ptc.com/", "is-loading": "false", "link-target": "_blank", "link-title": "Link title on hover", class: "most-pupular-card" }, index.h("ptc-badge", { number: 3 }), index.h("ptc-card-content", null, index.h("ptc-picture", { alt: "image-test", "is-full-height": true, "is-full-width": true, src: "https://s7d1.scene7.com/is/image/ptcinc//dpm-male-worker-laptop-factory-data" })), index.h("ptc-card-bottom", { "card-type": "most-popular", class: "js-card-bottom" }, index.h("ptc-para", { "para-line-h": "--ptc-line-height-denser", "font-size": "x-small", "font-weight": "w-7", "para-color": "primary-grey", "para-margin": "margin-top-3", "seo-compatibility-mode": true }, index.h("p", null, "PTC Completes Acquisition of Intland Software")))))))));
|
|
21
|
+
}
|
|
22
|
+
get el() { return index.getElement(this); }
|
|
23
|
+
};
|
|
24
|
+
MostPopularNews.style = mostPopularNewsCss;
|
|
25
|
+
|
|
26
|
+
const ptcBadgeCss = "h1,h2,h3,h4,h5,h6,p,ul,li,span{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,span{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}}.badge{background-color:var(--color-green-08);color:white;border-radius:50%;padding:0.5em;min-width:1.18em;text-align:center;position:absolute;top:0;left:0;transform:translate(-50%, -50%);z-index:2;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small)}";
|
|
27
|
+
|
|
28
|
+
const PtcBadge = class {
|
|
29
|
+
constructor(hostRef) {
|
|
30
|
+
index.registerInstance(this, hostRef);
|
|
31
|
+
this.number = undefined;
|
|
32
|
+
}
|
|
33
|
+
render() {
|
|
34
|
+
return (index.h(index.Host, null, index.h("div", { class: "badge" }, this.number)));
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
PtcBadge.style = ptcBadgeCss;
|
|
38
|
+
|
|
39
|
+
const ptcCardBottomCss = "h1,h2,h3,h4,h5,h6,p,ul,li,span{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,span{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 ::slotted([slot=seo-content]){display:none}:host(.card-tall) .ptc-card-bottom-wrapper,:host(.card-wide) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0 var(--ptc-element-spacing-07) var(--ptc-element-spacing-07) var(--ptc-element-spacing-06);z-index:2}:host(.card-2up) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0px 24px 24px 16px}:host(.card-playlist){flex:72% 2 1;align-self:center}:host(.mouse-hover-card-bottom) .ptc-card-bottom-wrapper{z-index:5;cursor:pointer}:host(.extra-tall){position:absolute;top:0;left:0}:host(.extra-tall) .ptc-card-bottom-wrapper{position:relative;top:0px;left:0px;bottom:0px;right:0px;display:flex;flex-direction:column;align-items:center;width:calc(100% - 64px);padding:var(--ptc-layout-spacing-05) var(--ptc-element-spacing-07);padding-bottom:calc(var(--ptc-layout-spacing-03) + var(--ptc-layout-spacing-05));z-index:2}@media only screen and (min-width: 768px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-bottom:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-04) + var(--ptc-layout-spacing-05))}}@media only screen and (min-width: 1440px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-05) * 2)}}:host(.color-outlined) .ptc-card-bottom-wrapper{position:absolute;top:50%;transform:translateY(-50%);display:flex;justify-content:center;flex-direction:column;align-items:center;width:calc(100% - 80px);height:100%;padding:0px var(--ptc-element-spacing-08)}:host(.most-popular){padding:0 16px 14px 16px}@media only screen and (min-width: 768px){:host(.card-2up) .ptc-card-bottom-wrapper{padding:0 32px 32px 24px}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:20% 2 1;justify-content:flex-end}:host(.card-video-intro) .ptc-card-bottom-wrapper{display:flex;justify-content:flex-end}}@media only screen and (min-width: 1440px){:host(.card-2up) .ptc-card-bottom-wrapper{width:70%}}@media only screen and (min-width: 1980px){:host(.card-2up) .ptc-card-bottom-wrapper{width:60%}}";
|
|
40
|
+
|
|
41
|
+
const PtcCardBottom = class {
|
|
42
|
+
constructor(hostRef) {
|
|
43
|
+
index.registerInstance(this, hostRef);
|
|
44
|
+
this.hoverEvent = index.createEvent(this, "hoverEvent", 7);
|
|
45
|
+
this.leaveEvent = index.createEvent(this, "leaveEvent", 7);
|
|
46
|
+
this.cardType = undefined;
|
|
47
|
+
this.styles = undefined;
|
|
48
|
+
}
|
|
49
|
+
hoverEventHandler() {
|
|
50
|
+
this.hoverEvent.emit();
|
|
51
|
+
//if statement: the card type that doesn't need a hover event
|
|
52
|
+
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
|
|
53
|
+
this.el.previousElementSibling.classList.add('mouse-hover');
|
|
54
|
+
this.el.classList.add('mouse-hover-card-bottom');
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
leaveEventHandler() {
|
|
58
|
+
this.hoverEvent.emit();
|
|
59
|
+
//if statement: the card type that doesn't need a hover event
|
|
60
|
+
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
|
|
61
|
+
this.el.previousElementSibling.classList.remove('mouse-hover');
|
|
62
|
+
this.el.classList.remove('mouse-hover-card-bottom');
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
render() {
|
|
66
|
+
const classMap = this.getCssClassMap();
|
|
67
|
+
return (index.h(index.Host, { part: "card-bottom", class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && index.h("style", null, this.styles), index.h("slot", { name: "slot-content" }), index.h("div", { class: "ptc-card-bottom-wrapper" }, index.h("slot", null))));
|
|
68
|
+
}
|
|
69
|
+
getCssClassMap() {
|
|
70
|
+
return {
|
|
71
|
+
[this.cardType]: this.cardType ? true : false,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
get el() { return index.getElement(this); }
|
|
75
|
+
};
|
|
76
|
+
PtcCardBottom.style = ptcCardBottomCss;
|
|
77
|
+
|
|
78
|
+
const ptcCardContentCss = "h1,h2,h3,h4,h5,h6,p,ul,li,span{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,span{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;height:100%}:host ::slotted([slot=seo-content]){display:none}:host(.speed-bump){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-06) 28px var(--ptc-element-spacing-06) 28px;text-align:center}:host(.speed-bump-2){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-07) var(--ptc-element-spacing-05);text-align:center}@media only screen and (min-width: 768px){:host(.speed-bump){text-align:left}}@media only screen and (min-width: 768px){:host(.speed-bump-2){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper,:host(.card-playlist) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-playlist) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after,:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.extra-tall) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.card-2up) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-2up) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-2up) .ptc-card-content-wrapper::after{content:\"\";position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='46' height='48' viewBox='0 0 46 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10337)'%3E%3Cpath d='M34 16L12 28V4L34 16Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10337' x='0' y='0' width='46' height='48' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10337'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10337' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");width:40px;height:30px;top:50%}:host(.thumbnail-video-preview) .ptc-card-content-wrapper{cursor:pointer;position:relative}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:1;top:60%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-video) .ptc-card-content-wrapper::after{top:59.5%}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-2up) .ptc-card-content-wrapper::before{height:100%}:host(.card-playlist){flex:1 2 0%;margin-right:var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-playlist) .ptc-card-content-wrapper{width:88px;height:88px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:88px;height:88px}}@media only screen and (min-width: 768px){:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}}@media screen and (min-width: 1981px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:80% 8 1}}:host(.card-video) .ptc-card-content-wrapper{padding-bottom:56.25%}:host(.card-video) .ptc-card-content-wrapper ::slotted(*){position:absolute;width:100%;height:100%;top:0;left:0}:host(.card-tall) .ptc-card-content-wrapper{height:322px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:322px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.extra-tall) .ptc-card-content-wrapper{height:auto}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:auto}:host(.color-outlined){border-radius:var(--ptc-border-radius-large);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.color-outlined) .ptc-card-content-wrapper{height:235px}:host(.color-outlined) .ptc-card-content-wrapper ::slotted(*){height:235px}@media only screen and (min-width: 480px){:host(.extra-tall) .ptc-card-content-wrapper{height:435px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:435px}}@media only screen and (min-width: 768px){:host(.card-tall) .ptc-card-content-wrapper{height:325px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:325px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:268px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.extra-tall) .ptc-card-content-wrapper{height:507px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:507px}}@media only screen and (min-width: 992px){:host(.card-tall) .ptc-card-content-wrapper{height:380px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:380px}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-content-wrapper{height:663px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:663px}}@media only screen and (min-width: 1980px){:host(.card-tall) .ptc-card-content-wrapper{height:546px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:546px}:host(.card-wide) .ptc-card-content-wrapper{height:376px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:376px}:host(.card-2up) .ptc-card-content-wrapper{height:376px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:376px}}:host(.o-red){border:2px solid var(--color-red-07)}:host(.o-green){border:2px solid var(--color-green-07)}:host(.o-slate-grey){border:2px solid var(--color-gray-07)}:host(.o-orange){border:2px solid var(--color-orange-07)}:host(.o-blue){border:2px solid var(--color-blue-07)}";
|
|
79
|
+
|
|
80
|
+
const PtcCardContent = class {
|
|
81
|
+
constructor(hostRef) {
|
|
82
|
+
index.registerInstance(this, hostRef);
|
|
83
|
+
this.hoverEvent = index.createEvent(this, "hoverEvent", 7);
|
|
84
|
+
this.leaveEvent = index.createEvent(this, "leaveEvent", 7);
|
|
85
|
+
this.cardType = undefined;
|
|
86
|
+
this.outlineColor = undefined;
|
|
87
|
+
this.styles = undefined;
|
|
88
|
+
this.isLoading = false;
|
|
89
|
+
}
|
|
90
|
+
hoverEventHandler() {
|
|
91
|
+
if (!this.el.classList.contains('speed-bump') &&
|
|
92
|
+
!this.el.classList.contains('card-video-intro') &&
|
|
93
|
+
!this.el.classList.contains('card-dynamic') &&
|
|
94
|
+
!this.el.classList.contains('extra-tall')) {
|
|
95
|
+
this.hoverEvent.emit();
|
|
96
|
+
this.el.classList.add('mouse-hover');
|
|
97
|
+
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
|
|
98
|
+
this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
leaveEventHandler() {
|
|
103
|
+
if (!this.el.classList.contains('speed-bump') &&
|
|
104
|
+
!this.el.classList.contains('card-video-intro') &&
|
|
105
|
+
!this.el.classList.contains('card-dynamic') &&
|
|
106
|
+
!this.el.classList.contains('extra-tall')) {
|
|
107
|
+
this.hoverEvent.emit();
|
|
108
|
+
this.el.classList.remove('mouse-hover');
|
|
109
|
+
if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && this.el.nextElementSibling) {
|
|
110
|
+
this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
async setHeight(height) {
|
|
115
|
+
this.el.style.height = height + 'px';
|
|
116
|
+
const image = this.el.querySelector('ptc-picture');
|
|
117
|
+
image.style.height = height + 'px';
|
|
118
|
+
}
|
|
119
|
+
async removeInlineHeight() {
|
|
120
|
+
this.el.style.removeProperty('height');
|
|
121
|
+
const image = this.el.querySelector('ptc-picture');
|
|
122
|
+
if (image)
|
|
123
|
+
image.style.removeProperty('height');
|
|
124
|
+
}
|
|
125
|
+
render() {
|
|
126
|
+
const classMap = this.getCssClassMap();
|
|
127
|
+
return (index.h(index.Host, Object.assign({ part: "card-content", class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && index.h("style", null, this.styles), index.h("slot", { name: "slot-content" }), index.h("div", { class: "ptc-card-content-wrapper" }, index.h("slot", null))));
|
|
128
|
+
}
|
|
129
|
+
getCssClassMap() {
|
|
130
|
+
return {
|
|
131
|
+
[this.cardType]: !!this.cardType ? true : false,
|
|
132
|
+
[this.outlineColor]: !!this.outlineColor ? true : false,
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
get el() { return index.getElement(this); }
|
|
136
|
+
};
|
|
137
|
+
PtcCardContent.style = ptcCardContentCss;
|
|
138
|
+
|
|
139
|
+
const ptcCardWrapperCss = "h1,h2,h3,h4,h5,h6,p,ul,li,span{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,span{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(.card-tall),:host(.card-wide),:host(.card-video),:host(.card-playlist),:host(.card-2up){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a,:host(.card-playlist) a,:host(.card-2up) a{text-decoration:none !important}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover,:host(.card-playlist) a:hover,:host(.card-2up) a:hover{text-decoration:none}:host(.card-tall) a:focus,:host(.card-wide) a:focus,:host(.card-video) a:focus,:host(.card-playlist) a:focus,:host(.card-2up) a:focus{outline:none;text-decoration:none}:host(.card-tall) a:focus-visible,:host(.card-wide) a:focus-visible,:host(.card-video) a:focus-visible,:host(.card-playlist) a:focus-visible,:host(.card-2up) a:focus-visible{outline:none;text-decoration:none}:host(.card-playlist) div,:host(.card-playlist) a{display:flex;text-decoration:none;outline:none}:host(.card-playlist) div:hover,:host(.card-playlist) a:hover{text-decoration:none;outline:none}:host(.card-video-intro){border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host(.card-video-intro) div{display:block}:host(.card-video-shadow){box-shadow:var(--ptc-shadow-x-small)}:host(.extra-tall){position:relative}:host(.extra-tall) a{position:relative;display:block;width:100%;height:100%;inset:0px}:host(.extra-tall) a::after{content:\"\";position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0);bottom:0;left:0;border-radius:var(--ptc-border-radius-large);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.color-outlined){position:relative;border-radius:var(--ptc-border-radius-large)}:host(.card-video-p){padding:var(--ptc-element-spacing-05);padding-bottom:var(--ptc-element-spacing-06)}:host(.card-m-right){margin-right:var(--ptc-element-spacing-02)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-02)}:host(.extraT-overlay) a::after{background:rgba(0, 0, 0, 0.6)}@media only screen and (min-width: 768px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-03)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-04)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro) div{display:flex}}:host(.result-box){width:505px;border:1px solid #6A6A6A;padding-top:56px;padding-bottom:56px;border-radius:var(--ptc-border-radius-large)}:host(.result-box) div{display:flex;justify-content:center;align-items:center;flex-direction:column}:host(.simple-card){border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);box-shadow:var(--ptc-shadow-small);padding:var(--ptc-layout-spacing-03)}:host(.simple-card) a{text-decoration:none}:host(.simple-card) a:hover{text-decoration:none}:host(.most-popular){position:relative;margin:12px;background-color:var(--color-white)}:host(.most-popular) a{text-decoration:none}:host(.most-popular) a:hover{text-decoration:none}";
|
|
140
|
+
|
|
141
|
+
const PtcCardPlm = class {
|
|
142
|
+
constructor(hostRef) {
|
|
143
|
+
index.registerInstance(this, hostRef);
|
|
144
|
+
this.hoverEvent = index.createEvent(this, "hoverEvent", 7);
|
|
145
|
+
this.leaveEvent = index.createEvent(this, "leaveEvent", 7);
|
|
146
|
+
this.squareHeightChanged = index.createEvent(this, "squareHeightChanged", 7);
|
|
147
|
+
this.cardType = undefined;
|
|
148
|
+
this.cardLink = undefined;
|
|
149
|
+
this.linkTitle = undefined;
|
|
150
|
+
this.linkTarget = '_self';
|
|
151
|
+
this.isLoading = false;
|
|
152
|
+
this.styles = undefined;
|
|
153
|
+
}
|
|
154
|
+
handleResize() {
|
|
155
|
+
this.checkScreenSize();
|
|
156
|
+
this.emitHeight();
|
|
157
|
+
}
|
|
158
|
+
hoverEventHandler() {
|
|
159
|
+
if (this.el.classList.contains('extra-tall')) {
|
|
160
|
+
this.hoverEvent.emit();
|
|
161
|
+
this.el.classList.add('extraT-overlay');
|
|
162
|
+
}
|
|
163
|
+
if (this.el.classList.contains('color-outlined')) {
|
|
164
|
+
this.hoverEvent.emit();
|
|
165
|
+
const cardOverlay = this.el.querySelector('ptc-overlay');
|
|
166
|
+
cardOverlay.setOverlay('black-5');
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
leaveEventHandler() {
|
|
170
|
+
if (this.el.classList.contains('extra-tall')) {
|
|
171
|
+
this.hoverEvent.emit();
|
|
172
|
+
this.el.classList.remove('extraT-overlay');
|
|
173
|
+
}
|
|
174
|
+
if (this.el.classList.contains('color-outlined')) {
|
|
175
|
+
this.hoverEvent.emit();
|
|
176
|
+
const cardOverlay = this.el.querySelector('ptc-overlay');
|
|
177
|
+
cardOverlay.setOverlay('black-4');
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
componentDidLoad() {
|
|
181
|
+
this.checkScreenSize();
|
|
182
|
+
this.emitHeight();
|
|
183
|
+
}
|
|
184
|
+
render() {
|
|
185
|
+
const classMap = this.getCssClassMap();
|
|
186
|
+
const Tag = !!this.cardLink ? 'a' : 'div';
|
|
187
|
+
return (index.h(index.Host, Object.assign({ class: classMap }, (!this.isLoading ? { onMouseEnter: this.hoverEventHandler.bind(this) } : {}), (!this.isLoading ? { onMouseLeave: this.leaveEventHandler.bind(this) } : {})), this.styles && index.h("style", null, this.styles), index.h(Tag, Object.assign({}, (!!this.cardLink && !this.isLoading ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink && !this.isLoading ? { target: this.linkTarget } : {}), (!!this.cardLink && !this.isLoading ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), index.h("slot", null))));
|
|
188
|
+
}
|
|
189
|
+
getCssClassMap() {
|
|
190
|
+
return {
|
|
191
|
+
[this.cardType]: this.cardType ? true : false,
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
emitHeight() {
|
|
195
|
+
const height = this.el.offsetHeight;
|
|
196
|
+
this.squareHeightChanged.emit(height);
|
|
197
|
+
}
|
|
198
|
+
getBtmContentHeight() {
|
|
199
|
+
const bottomContent = this.el.querySelector('ptc-card-bottom');
|
|
200
|
+
return bottomContent.offsetHeight;
|
|
201
|
+
}
|
|
202
|
+
checkScreenSize() {
|
|
203
|
+
if (this.cardType === 'extra-tall') {
|
|
204
|
+
if (window.innerWidth < 768) {
|
|
205
|
+
const cardContent = this.el.querySelector('ptc-card-content');
|
|
206
|
+
if (cardContent) {
|
|
207
|
+
cardContent.setHeight(this.getBtmContentHeight());
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
const cardContent = this.el.querySelector('ptc-card-content');
|
|
212
|
+
if (cardContent) {
|
|
213
|
+
cardContent.removeInlineHeight();
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
get el() { return index.getElement(this); }
|
|
219
|
+
};
|
|
220
|
+
PtcCardPlm.style = ptcCardWrapperCss;
|
|
221
|
+
|
|
222
|
+
const ptcParaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,span{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,span{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{position:relative;z-index:1}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.gray-darker{color:var(--color-gray-11)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.htmlquote-para{font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 992px){p.htmlquote-para{font-size:var(--ptc-font-size-large)}}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}";
|
|
223
|
+
|
|
224
|
+
const PtcPara = class {
|
|
225
|
+
constructor(hostRef) {
|
|
226
|
+
index.registerInstance(this, hostRef);
|
|
227
|
+
this.fontSize = 'x-small';
|
|
228
|
+
this.fontWeight = 'w-4';
|
|
229
|
+
this.paraStyle = 'default';
|
|
230
|
+
this.paraColor = 'primary-grey';
|
|
231
|
+
this.paraLineH = 'line-height-normal';
|
|
232
|
+
this.paraMargin = undefined;
|
|
233
|
+
this.paraAlign = undefined;
|
|
234
|
+
this.ellipsisLineCutoff = undefined;
|
|
235
|
+
this.paraZIndex = undefined;
|
|
236
|
+
this.styles = undefined;
|
|
237
|
+
this.seoCompatibilityMode = false;
|
|
238
|
+
}
|
|
239
|
+
render() {
|
|
240
|
+
if (this.seoCompatibilityMode) {
|
|
241
|
+
utils.seoSlotReset(this.el);
|
|
242
|
+
}
|
|
243
|
+
return this.standardRender();
|
|
244
|
+
}
|
|
245
|
+
standardRender() {
|
|
246
|
+
const classMap = this.getCssClassMap();
|
|
247
|
+
const colorClass = this.addWhiteClass();
|
|
248
|
+
const cutOff = this.getLineCuttoff();
|
|
249
|
+
return (index.h(index.Host, { class: `${colorClass} ${this.paraZIndex}` }, this.styles && index.h("style", null, this.styles), index.h("p", { class: classMap, part: "part-para", style: cutOff }, index.h("slot", null))));
|
|
250
|
+
}
|
|
251
|
+
getCssClassMap() {
|
|
252
|
+
return {
|
|
253
|
+
[this.fontSize]: true,
|
|
254
|
+
[this.fontWeight]: true,
|
|
255
|
+
[this.paraStyle]: true,
|
|
256
|
+
[this.paraMargin]: !!this.paraMargin ? true : false,
|
|
257
|
+
[this.paraColor]: true,
|
|
258
|
+
[this.paraLineH]: true,
|
|
259
|
+
[this.paraAlign]: !!this.paraAlign ? true : false,
|
|
260
|
+
['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
|
|
261
|
+
};
|
|
262
|
+
}
|
|
263
|
+
//WEB-2392
|
|
264
|
+
addWhiteClass() {
|
|
265
|
+
if (this.paraColor == 'white') {
|
|
266
|
+
return {
|
|
267
|
+
[this.paraColor]: true,
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
getLineCuttoff() {
|
|
272
|
+
let result;
|
|
273
|
+
if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
|
|
274
|
+
result = {
|
|
275
|
+
['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
return result;
|
|
279
|
+
}
|
|
280
|
+
get el() { return index.getElement(this); }
|
|
281
|
+
};
|
|
282
|
+
PtcPara.style = ptcParaCss;
|
|
283
|
+
|
|
284
|
+
const ptcPictureCss = "h1,h2,h3,h4,h5,h6,p,ul,li,span{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,span{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;overflow:hidden}:host .inline{display:inline}:host .inline-block{display:inline-block}:host .block{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
|
|
285
|
+
|
|
286
|
+
const PtcPicture = class {
|
|
287
|
+
constructor(hostRef) {
|
|
288
|
+
index.registerInstance(this, hostRef);
|
|
289
|
+
this.src = undefined;
|
|
290
|
+
this.alt = 'image';
|
|
291
|
+
this.sizeXs = '510x340';
|
|
292
|
+
this.sizeSm = '1240x496';
|
|
293
|
+
this.sizeMd = '1366x500';
|
|
294
|
+
this.sizeLg = '1920x1080';
|
|
295
|
+
this.disableResize = false;
|
|
296
|
+
this.oldSrc = undefined;
|
|
297
|
+
this.imagePosition = 'static';
|
|
298
|
+
this.borderRadius = undefined;
|
|
299
|
+
this.height = undefined;
|
|
300
|
+
this.width = undefined;
|
|
301
|
+
this.objectFit = 'cover';
|
|
302
|
+
this.isFullHeight = false;
|
|
303
|
+
this.isFullWidth = false;
|
|
304
|
+
this.styles = undefined;
|
|
305
|
+
this.imageAlignment = 'left';
|
|
306
|
+
this.maxWidth = undefined;
|
|
307
|
+
this.displayImage = 'block';
|
|
308
|
+
}
|
|
309
|
+
WindowResize() {
|
|
310
|
+
this.addIntersectionObserver();
|
|
311
|
+
}
|
|
312
|
+
componentWillLoad() {
|
|
313
|
+
if (this.disableResize) {
|
|
314
|
+
this.sizeXs = undefined;
|
|
315
|
+
this.sizeSm = undefined;
|
|
316
|
+
this.sizeMd = undefined;
|
|
317
|
+
this.sizeLg = undefined;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
componentDidLoad() {
|
|
321
|
+
this.addIntersectionObserver();
|
|
322
|
+
}
|
|
323
|
+
componentWillUpdate() {
|
|
324
|
+
if (this.src !== this.oldSrc) {
|
|
325
|
+
this.addIntersectionObserver();
|
|
326
|
+
}
|
|
327
|
+
this.oldSrc = this.src;
|
|
328
|
+
}
|
|
329
|
+
//lazy-loading
|
|
330
|
+
addIntersectionObserver() {
|
|
331
|
+
if (!this.src) {
|
|
332
|
+
return;
|
|
333
|
+
}
|
|
334
|
+
if ('IntersectionObserver' in window) {
|
|
335
|
+
let lazyLoadImages = new IntersectionObserver(entries => {
|
|
336
|
+
entries.forEach(entry => {
|
|
337
|
+
if (entry.isIntersecting) {
|
|
338
|
+
const image = this.el.shadowRoot.querySelector('img');
|
|
339
|
+
image.src = this.setResponsiveBg();
|
|
340
|
+
lazyLoadImages.unobserve(image);
|
|
341
|
+
}
|
|
342
|
+
});
|
|
343
|
+
});
|
|
344
|
+
let tempImg = this.el.shadowRoot.querySelector('img');
|
|
345
|
+
if (tempImg) {
|
|
346
|
+
lazyLoadImages.observe(tempImg);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
else {
|
|
350
|
+
// fall back to setTimeout for Safari and IE
|
|
351
|
+
setTimeout(() => {
|
|
352
|
+
const image = this.el.shadowRoot.querySelector('img');
|
|
353
|
+
image.src = this.setResponsiveBg();
|
|
354
|
+
image.onload = () => {
|
|
355
|
+
image.removeAttribute('data-src');
|
|
356
|
+
console.log('loaded fallback');
|
|
357
|
+
};
|
|
358
|
+
}, 5000);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
//responsive image
|
|
362
|
+
setResponsiveBg() {
|
|
363
|
+
// Define local variables
|
|
364
|
+
let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
|
|
365
|
+
for (var i = 0, len = backgrounds.length; i < len; i++) {
|
|
366
|
+
// Set current variables
|
|
367
|
+
el = backgrounds[i];
|
|
368
|
+
elData = el.getAttribute('data-' + currentBreakpoint);
|
|
369
|
+
if (elData !== null) {
|
|
370
|
+
return elData;
|
|
371
|
+
}
|
|
372
|
+
else {
|
|
373
|
+
if (typeof console == 'object') {
|
|
374
|
+
console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
render() {
|
|
380
|
+
const classMap = this.getCssClassMap();
|
|
381
|
+
const classMapHost = this.getCssClassMapHost();
|
|
382
|
+
return (index.h(index.Host, { class: classMapHost }, this.styles && index.h("style", null, this.styles), index.h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth ? { maxWidth: this.maxWidth + 'px' } : {})) })), index.h("slot", null)));
|
|
383
|
+
}
|
|
384
|
+
getCurrentBreakPoints() {
|
|
385
|
+
// Define local variables
|
|
386
|
+
let doc = window.document, temp = doc.createElement('div'), env;
|
|
387
|
+
// Append test node
|
|
388
|
+
doc.body.appendChild(temp);
|
|
389
|
+
// Loop through breakpoints
|
|
390
|
+
for (let i = interfaces.ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
|
|
391
|
+
env = interfaces.ResponsivePictureVariables.envs[i];
|
|
392
|
+
// Add classes
|
|
393
|
+
temp.className = 'hidden-' + env;
|
|
394
|
+
// Found breakpoint
|
|
395
|
+
if (temp.offsetParent === null) {
|
|
396
|
+
// Remove our test node
|
|
397
|
+
doc.body.removeChild(temp);
|
|
398
|
+
// Return current breakpoint
|
|
399
|
+
return env;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
// Breakpoint not found, try fallback
|
|
403
|
+
doc.body.removeChild(temp);
|
|
404
|
+
return this.getFallbackBreakpoint();
|
|
405
|
+
}
|
|
406
|
+
getFallbackBreakpoint() {
|
|
407
|
+
if (window.matchMedia('(min-width: 992px)').matches) {
|
|
408
|
+
return 'lg';
|
|
409
|
+
}
|
|
410
|
+
else if (window.matchMedia('(min-width: 768px)').matches) {
|
|
411
|
+
return 'md';
|
|
412
|
+
}
|
|
413
|
+
else if (window.matchMedia('(min-width: 576px)').matches) {
|
|
414
|
+
return 'sm';
|
|
415
|
+
}
|
|
416
|
+
else {
|
|
417
|
+
return 'xs';
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
getCssClassMap() {
|
|
421
|
+
return {
|
|
422
|
+
[this.borderRadius]: this.borderRadius ? true : false,
|
|
423
|
+
[this.objectFit]: true,
|
|
424
|
+
[this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
|
|
425
|
+
[this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
|
|
426
|
+
[this.displayImage]: true
|
|
427
|
+
};
|
|
428
|
+
}
|
|
429
|
+
getCssClassMapHost() {
|
|
430
|
+
return {
|
|
431
|
+
[this.imagePosition]: true,
|
|
432
|
+
[this.imageAlignment]: true,
|
|
433
|
+
};
|
|
434
|
+
}
|
|
435
|
+
get el() { return index.getElement(this); }
|
|
436
|
+
};
|
|
437
|
+
PtcPicture.style = ptcPictureCss;
|
|
438
|
+
|
|
439
|
+
const ptcSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.99em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 75em){:host(.ptc-spacer-xx-large){display:block}}:host(.ptc-spacer-xxx-large){display:none}@media (min-width: 90em){:host(.ptc-spacer-xxx-large){display:block}}";
|
|
440
|
+
|
|
441
|
+
const PtcSpacer = class {
|
|
442
|
+
constructor(hostRef) {
|
|
443
|
+
index.registerInstance(this, hostRef);
|
|
444
|
+
this.breakpoint = '';
|
|
445
|
+
this.size = 'medium';
|
|
446
|
+
this.direction = 'vertical';
|
|
447
|
+
}
|
|
448
|
+
render() {
|
|
449
|
+
const classMap = this.getCssClassMap();
|
|
450
|
+
return (index.h(index.Host, { class: classMap }));
|
|
451
|
+
}
|
|
452
|
+
getCssClassMap() {
|
|
453
|
+
return {
|
|
454
|
+
[this.size]: true,
|
|
455
|
+
['ptc-spacer-horizontal']: this.direction === 'horizontal',
|
|
456
|
+
['ptc-spacer-vertical']: this.direction === 'vertical',
|
|
457
|
+
['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
|
|
458
|
+
['ptc-spacer-x-small']: this.breakpoint === 'x-small',
|
|
459
|
+
['ptc-spacer-small']: this.breakpoint === 'small',
|
|
460
|
+
['ptc-spacer-medium']: this.breakpoint === 'medium',
|
|
461
|
+
['ptc-spacer-large']: this.breakpoint === 'large',
|
|
462
|
+
['ptc-spacer-x-large']: this.breakpoint === 'x-large',
|
|
463
|
+
['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
|
|
464
|
+
['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
PtcSpacer.style = ptcSpacerCss;
|
|
469
|
+
|
|
470
|
+
const ptcTitleCss = "h1.sc-ptc-title,h2.sc-ptc-title,h3.sc-ptc-title,h4.sc-ptc-title,h5.sc-ptc-title,h6.sc-ptc-title,p.sc-ptc-title,ul.sc-ptc-title,li.sc-ptc-title,span.sc-ptc-title{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-title,h2.sc-ptc-title,h3.sc-ptc-title,h4.sc-ptc-title,h5.sc-ptc-title,h6.sc-ptc-title,p.sc-ptc-title,ul.sc-ptc-title,li.sc-ptc-title,span.sc-ptc-title{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}}div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before,div.center.dotted.sc-ptc-title h4.sc-ptc-title::before,div.center.dotted.sc-ptc-title h5.sc-ptc-title::before,div.center.dotted.sc-ptc-title h6.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before,div.left.dotted.sc-ptc-title h4.sc-ptc-title::before,div.left.dotted.sc-ptc-title h5.sc-ptc-title::before,div.left.dotted.sc-ptc-title h6.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before,div.right.dotted.sc-ptc-title h4.sc-ptc-title::before,div.right.dotted.sc-ptc-title h5.sc-ptc-title::before,div.right.dotted.sc-ptc-title h6.sc-ptc-title::before{right:0%}div.inherit.sc-ptc-title{text-align:inherit}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before,div.dotted.sc-ptc-title h4.sc-ptc-title::before,div.dotted.sc-ptc-title h5.sc-ptc-title::before,div.dotted.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed var(--color-green-07)}div.solid.sc-ptc-title h1.sc-ptc-title,div.solid.sc-ptc-title h2.sc-ptc-title,div.solid.sc-ptc-title h3.sc-ptc-title,div.solid.sc-ptc-title h4.sc-ptc-title,div.solid.sc-ptc-title h5.sc-ptc-title,div.solid.sc-ptc-title h6.sc-ptc-title{padding-top:12px}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before,div.solid.sc-ptc-title h4.sc-ptc-title::before,div.solid.sc-ptc-title h5.sc-ptc-title::before,div.solid.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-gray-03);opacity:0.9;left:0px;top:0}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after,div.solid.sc-ptc-title h4.sc-ptc-title::after,div.solid.sc-ptc-title h5.sc-ptc-title::after,div.solid.sc-ptc-title h6.sc-ptc-title::after{content:\"\";position:absolute;width:56px;height:2px;background-color:var(--color-green-07);top:-2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title,div.is-standard.sc-ptc-title h4.sc-ptc-title,div.is-standard.sc-ptc-title h5.sc-ptc-title,div.is-standard.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0px;color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title,div.is-plm-hub.sc-ptc-title h2.sc-ptc-title,div.is-plm-hub.sc-ptc-title h3.sc-ptc-title,div.is-plm-hub.sc-ptc-title h4.sc-ptc-title,div.is-plm-hub.sc-ptc-title h5.sc-ptc-title,div.is-plm-hub.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;color:var(--color-white) !important}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-flush.sc-ptc-title h1.sc-ptc-title,div.margin-flush.sc-ptc-title h2.sc-ptc-title,div.margin-flush.sc-ptc-title h3.sc-ptc-title,div.margin-flush.sc-ptc-title h4.sc-ptc-title,div.margin-flush.sc-ptc-title h5.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-5.sc-ptc-title h4.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}div.margin-9.sc-ptc-title{margin-top:var(--ptc-element-spacing-09);margin-bottom:var(--ptc-element-spacing-09)}div.green.sc-ptc-title h1.sc-ptc-title,div.green.sc-ptc-title h2.sc-ptc-title,div.green.sc-ptc-title h3.sc-ptc-title,div.green.sc-ptc-title h4.sc-ptc-title,div.green.sc-ptc-title h5.sc-ptc-title,div.green.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-green-07)}div.blue.sc-ptc-title h1.sc-ptc-title,div.blue.sc-ptc-title h2.sc-ptc-title,div.blue.sc-ptc-title h3.sc-ptc-title,div.blue.sc-ptc-title h4.sc-ptc-title,div.blue.sc-ptc-title h5.sc-ptc-title,div.blue.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-blue-07)}div.red.sc-ptc-title h1.sc-ptc-title,div.red.sc-ptc-title h2.sc-ptc-title,div.red.sc-ptc-title h3.sc-ptc-title,div.red.sc-ptc-title h4.sc-ptc-title,div.red.sc-ptc-title h5.sc-ptc-title,div.red.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-red-07)}div.orange.sc-ptc-title h1.sc-ptc-title,div.orange.sc-ptc-title h2.sc-ptc-title,div.orange.sc-ptc-title h3.sc-ptc-title,div.orange.sc-ptc-title h4.sc-ptc-title,div.orange.sc-ptc-title h5.sc-ptc-title,div.orange.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-orange-07)}div.slate-grey.sc-ptc-title h1.sc-ptc-title,div.slate-grey.sc-ptc-title h2.sc-ptc-title,div.slate-grey.sc-ptc-title h3.sc-ptc-title,div.slate-grey.sc-ptc-title h4.sc-ptc-title,div.slate-grey.sc-ptc-title h5.sc-ptc-title,div.slate-grey.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-gray-07)}div.w-3.sc-ptc-title h1.sc-ptc-title,div.w-3.sc-ptc-title h2.sc-ptc-title,div.w-3.sc-ptc-title h3.sc-ptc-title,div.w-3.sc-ptc-title h4.sc-ptc-title,div.w-3.sc-ptc-title h5.sc-ptc-title,div.w-3.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-thin)}div.w-4.sc-ptc-title h1.sc-ptc-title,div.w-4.sc-ptc-title h2.sc-ptc-title,div.w-4.sc-ptc-title h3.sc-ptc-title,div.w-4.sc-ptc-title h4.sc-ptc-title,div.w-4.sc-ptc-title h5.sc-ptc-title,div.w-4.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-regular)}div.w-5.sc-ptc-title h1.sc-ptc-title,div.w-5.sc-ptc-title h2.sc-ptc-title,div.w-5.sc-ptc-title h3.sc-ptc-title,div.w-5.sc-ptc-title h4.sc-ptc-title,div.w-5.sc-ptc-title h5.sc-ptc-title,div.w-5.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-medium)}div.w-6.sc-ptc-title h1.sc-ptc-title,div.w-6.sc-ptc-title h2.sc-ptc-title,div.w-6.sc-ptc-title h3.sc-ptc-title,div.w-6.sc-ptc-title h4.sc-ptc-title,div.w-6.sc-ptc-title h5.sc-ptc-title,div.w-6.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-semibold)}div.w-7.sc-ptc-title h1.sc-ptc-title,div.w-7.sc-ptc-title h2.sc-ptc-title,div.w-7.sc-ptc-title h3.sc-ptc-title,div.w-7.sc-ptc-title h4.sc-ptc-title,div.w-7.sc-ptc-title h5.sc-ptc-title,div.w-7.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-bold)}div.w-8.sc-ptc-title h1.sc-ptc-title,div.w-8.sc-ptc-title h2.sc-ptc-title,div.w-8.sc-ptc-title h3.sc-ptc-title,div.w-8.sc-ptc-title h4.sc-ptc-title,div.w-8.sc-ptc-title h5.sc-ptc-title,div.w-8.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-extrabold)}div.w-9.sc-ptc-title h1.sc-ptc-title,div.w-9.sc-ptc-title h2.sc-ptc-title,div.w-9.sc-ptc-title h3.sc-ptc-title,div.w-9.sc-ptc-title h4.sc-ptc-title,div.w-9.sc-ptc-title h5.sc-ptc-title,div.w-9.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-black)}div.xx-small.sc-ptc-title h1.sc-ptc-title,div.xx-small.sc-ptc-title h2.sc-ptc-title,div.xx-small.sc-ptc-title h3.sc-ptc-title,div.xx-small.sc-ptc-title h4.sc-ptc-title,div.xx-small.sc-ptc-title h5.sc-ptc-title,div.xx-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-small)}div.x-small.sc-ptc-title h1.sc-ptc-title,div.x-small.sc-ptc-title h2.sc-ptc-title,div.x-small.sc-ptc-title h3.sc-ptc-title,div.x-small.sc-ptc-title h4.sc-ptc-title,div.x-small.sc-ptc-title h5.sc-ptc-title,div.x-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-small)}div.small.sc-ptc-title h1.sc-ptc-title,div.small.sc-ptc-title h2.sc-ptc-title,div.small.sc-ptc-title h3.sc-ptc-title,div.small.sc-ptc-title h4.sc-ptc-title,div.small.sc-ptc-title h5.sc-ptc-title,div.small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-small)}div.medium.sc-ptc-title h1.sc-ptc-title,div.medium.sc-ptc-title h2.sc-ptc-title,div.medium.sc-ptc-title h3.sc-ptc-title,div.medium.sc-ptc-title h4.sc-ptc-title,div.medium.sc-ptc-title h5.sc-ptc-title,div.medium.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-medium)}div.large.sc-ptc-title h1.sc-ptc-title,div.large.sc-ptc-title h2.sc-ptc-title,div.large.sc-ptc-title h3.sc-ptc-title,div.large.sc-ptc-title h4.sc-ptc-title,div.large.sc-ptc-title h5.sc-ptc-title,div.large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-large)}div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-medium)}@media only screen and (min-width: 768px){div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-large)}}div.x-large.sc-ptc-title h1.sc-ptc-title,div.x-large.sc-ptc-title h2.sc-ptc-title,div.x-large.sc-ptc-title h3.sc-ptc-title,div.x-large.sc-ptc-title h4.sc-ptc-title,div.x-large.sc-ptc-title h5.sc-ptc-title,div.x-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}@media only screen and (min-width: 768px){div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}@media only screen and (min-width: 768px){div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}}div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media screen and (min-width: 769px){div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}div.xxxx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.densest.sc-ptc-title h1.sc-ptc-title,div.densest.sc-ptc-title h2.sc-ptc-title,div.densest.sc-ptc-title h3.sc-ptc-title,div.densest.sc-ptc-title h4.sc-ptc-title,div.densest.sc-ptc-title h5.sc-ptc-title,div.densest.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-densest)}div.denser.sc-ptc-title h1.sc-ptc-title,div.denser.sc-ptc-title h2.sc-ptc-title,div.denser.sc-ptc-title h3.sc-ptc-title,div.denser.sc-ptc-title h4.sc-ptc-title,div.denser.sc-ptc-title h5.sc-ptc-title,div.denser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-denser)}div.dense.sc-ptc-title h1.sc-ptc-title,div.dense.sc-ptc-title h2.sc-ptc-title,div.dense.sc-ptc-title h3.sc-ptc-title,div.dense.sc-ptc-title h4.sc-ptc-title,div.dense.sc-ptc-title h5.sc-ptc-title,div.dense.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-dense)}div.normal.sc-ptc-title h1.sc-ptc-title,div.normal.sc-ptc-title h2.sc-ptc-title,div.normal.sc-ptc-title h3.sc-ptc-title,div.normal.sc-ptc-title h4.sc-ptc-title,div.normal.sc-ptc-title h5.sc-ptc-title,div.normal.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-normal)}div.loose.sc-ptc-title h1.sc-ptc-title,div.loose.sc-ptc-title h2.sc-ptc-title,div.loose.sc-ptc-title h3.sc-ptc-title,div.loose.sc-ptc-title h4.sc-ptc-title,div.loose.sc-ptc-title h5.sc-ptc-title,div.loose.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-loose)}div.looser.sc-ptc-title h1.sc-ptc-title,div.looser.sc-ptc-title h2.sc-ptc-title,div.looser.sc-ptc-title h3.sc-ptc-title,div.looser.sc-ptc-title h4.sc-ptc-title,div.looser.sc-ptc-title h5.sc-ptc-title,div.looser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-looser)}div.paragraph.sc-ptc-title h1.sc-ptc-title,div.paragraph.sc-ptc-title h2.sc-ptc-title,div.paragraph.sc-ptc-title h3.sc-ptc-title,div.paragraph.sc-ptc-title h4.sc-ptc-title,div.paragraph.sc-ptc-title h5.sc-ptc-title,div.paragraph.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-paragraph)}div.black.sc-ptc-title h1.sc-ptc-title,div.black.sc-ptc-title h2.sc-ptc-title,div.black.sc-ptc-title h3.sc-ptc-title,div.black.sc-ptc-title h4.sc-ptc-title,div.black.sc-ptc-title h5.sc-ptc-title,div.black.sc-ptc-title h6.sc-ptc-title{color:var(--color-black)}div.white.sc-ptc-title h1.sc-ptc-title,div.white.sc-ptc-title h2.sc-ptc-title,div.white.sc-ptc-title h3.sc-ptc-title,div.white.sc-ptc-title h4.sc-ptc-title,div.white.sc-ptc-title h5.sc-ptc-title,div.white.sc-ptc-title h6.sc-ptc-title{color:var(--color-white)}div.gray-1.sc-ptc-title h1.sc-ptc-title,div.gray-1.sc-ptc-title h2.sc-ptc-title,div.gray-1.sc-ptc-title h3.sc-ptc-title,div.gray-1.sc-ptc-title h4.sc-ptc-title,div.gray-1.sc-ptc-title h5.sc-ptc-title,div.gray-1.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-01)}div.gray.sc-ptc-title h1.sc-ptc-title,div.gray.sc-ptc-title h2.sc-ptc-title,div.gray.sc-ptc-title h3.sc-ptc-title,div.gray.sc-ptc-title h4.sc-ptc-title,div.gray.sc-ptc-title h5.sc-ptc-title,div.gray.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-10)}div.gray-darker.sc-ptc-title h1.sc-ptc-title,div.gray-darker.sc-ptc-title h2.sc-ptc-title,div.gray-darker.sc-ptc-title h3.sc-ptc-title,div.gray-darker.sc-ptc-title h4.sc-ptc-title,div.gray-darker.sc-ptc-title h5.sc-ptc-title,div.gray-darker.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-11)}div.ellipsis-boxing.sc-ptc-title h1.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h2.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h3.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h4.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h5.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h6.sc-ptc-title{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}div.block.sc-ptc-title h1.sc-ptc-title,div.block.sc-ptc-title h2.sc-ptc-title,div.block.sc-ptc-title h3.sc-ptc-title,div.block.sc-ptc-title h4.sc-ptc-title,div.block.sc-ptc-title h5.sc-ptc-title,div.block.sc-ptc-title h6.sc-ptc-title{display:block}";
|
|
471
|
+
|
|
472
|
+
const PtcTitle = class {
|
|
473
|
+
constructor(hostRef) {
|
|
474
|
+
index.registerInstance(this, hostRef);
|
|
475
|
+
this.isPlmHub = false;
|
|
476
|
+
this.type = 'h2';
|
|
477
|
+
this.textAlign = undefined;
|
|
478
|
+
this.upperline = 'dotted';
|
|
479
|
+
this.titleShadow = undefined;
|
|
480
|
+
this.titleColor = 'gray';
|
|
481
|
+
this.titleMargin = undefined;
|
|
482
|
+
this.titleWeight = undefined;
|
|
483
|
+
this.titleSize = undefined;
|
|
484
|
+
this.titleHeight = 'densest';
|
|
485
|
+
this.styles = undefined;
|
|
486
|
+
this.ellipsisLineCutoff = undefined;
|
|
487
|
+
this.titleDisplay = 'inline-block';
|
|
488
|
+
this.seoCompatibilityMode = false;
|
|
489
|
+
}
|
|
490
|
+
render() {
|
|
491
|
+
if (this.seoCompatibilityMode) {
|
|
492
|
+
return this.seoCompRender();
|
|
493
|
+
}
|
|
494
|
+
else {
|
|
495
|
+
return this.standardRender();
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
seoCompRender() {
|
|
499
|
+
const classMap = this.getCssClassMap();
|
|
500
|
+
const cutOff = this.getLineCuttoff();
|
|
501
|
+
const [TagType, firstChild] = utils.getSeoTagType(this.el, this.type);
|
|
502
|
+
const html = firstChild && firstChild.innerHTML;
|
|
503
|
+
if (this.el == firstChild) {
|
|
504
|
+
this.el.innerHTML = '';
|
|
505
|
+
}
|
|
506
|
+
return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, { innerHTML: html, style: cutOff }))));
|
|
507
|
+
}
|
|
508
|
+
standardRender() {
|
|
509
|
+
const classMap = this.getCssClassMap();
|
|
510
|
+
const cutOff = this.getLineCuttoff();
|
|
511
|
+
let TagType;
|
|
512
|
+
switch (this.type) {
|
|
513
|
+
case 'h1':
|
|
514
|
+
TagType = 'h1';
|
|
515
|
+
break;
|
|
516
|
+
case 'h3':
|
|
517
|
+
TagType = 'h3';
|
|
518
|
+
break;
|
|
519
|
+
case 'h4':
|
|
520
|
+
TagType = 'h4';
|
|
521
|
+
break;
|
|
522
|
+
case 'h5':
|
|
523
|
+
TagType = 'h5';
|
|
524
|
+
break;
|
|
525
|
+
case 'h6':
|
|
526
|
+
TagType = 'h6';
|
|
527
|
+
break;
|
|
528
|
+
default:
|
|
529
|
+
TagType = 'h2';
|
|
530
|
+
}
|
|
531
|
+
return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, { style: cutOff }, index.h("slot", null)))));
|
|
532
|
+
}
|
|
533
|
+
getCssClassMap() {
|
|
534
|
+
return {
|
|
535
|
+
[this.textAlign]: !!this.textAlign ? true : false,
|
|
536
|
+
[this.upperline]: true,
|
|
537
|
+
[this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
|
|
538
|
+
[this.titleMargin]: !!this.titleMargin ? true : false,
|
|
539
|
+
[this.titleShadow]: !!this.titleShadow ? true : false,
|
|
540
|
+
[this.titleWeight]: !!this.titleWeight ? true : false,
|
|
541
|
+
[this.titleSize]: !!this.titleSize ? true : false,
|
|
542
|
+
[this.titleHeight]: !!this.titleHeight ? true : false,
|
|
543
|
+
[this.titleColor]: !!this.titleColor ? true : false,
|
|
544
|
+
['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
|
|
545
|
+
[this.titleDisplay]: !!this.titleDisplay ? true : false,
|
|
546
|
+
};
|
|
547
|
+
}
|
|
548
|
+
getLineCuttoff() {
|
|
549
|
+
let result;
|
|
550
|
+
if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
|
|
551
|
+
result = {
|
|
552
|
+
['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
return result;
|
|
556
|
+
}
|
|
557
|
+
get el() { return index.getElement(this); }
|
|
558
|
+
};
|
|
559
|
+
PtcTitle.style = ptcTitleCss;
|
|
560
|
+
|
|
561
|
+
exports.most_popular_news = MostPopularNews;
|
|
562
|
+
exports.ptc_badge = PtcBadge;
|
|
563
|
+
exports.ptc_card_bottom = PtcCardBottom;
|
|
564
|
+
exports.ptc_card_content = PtcCardContent;
|
|
565
|
+
exports.ptc_card_wrapper = PtcCardPlm;
|
|
566
|
+
exports.ptc_para = PtcPara;
|
|
567
|
+
exports.ptc_picture = PtcPicture;
|
|
568
|
+
exports.ptc_spacer = PtcSpacer;
|
|
569
|
+
exports.ptc_title = PtcTitle;
|