@ptcwebops/ptcw-design 3.7.0 → 3.7.2
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/LICENSE +21 -21
- package/dist/cjs/academic-form-test.cjs.entry.js +80 -80
- package/dist/cjs/author-listing-example.cjs.entry.js +233 -233
- package/dist/cjs/bundle-example.cjs.entry.js +44 -44
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +40 -40
- package/dist/cjs/{core-332e5461.js → core-d64db970.js} +117 -39
- package/dist/cjs/dropdown-item.cjs.entry.js +12 -12
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +27 -27
- package/dist/cjs/embedded-form.cjs.entry.js +105 -105
- package/dist/cjs/featured-list.cjs.entry.js +91 -91
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +48 -48
- package/dist/cjs/footer-form.cjs.entry.js +57 -57
- package/dist/cjs/icon-asset_18.cjs.entry.js +1249 -1249
- package/dist/cjs/{index-cd9a1b1a.js → index-4b85b38a.js} +72 -1
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +23 -23
- package/dist/cjs/list-item.cjs.entry.js +37 -37
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/most-popular-news.cjs.entry.js +41 -41
- package/dist/cjs/my-component.cjs.entry.js +16 -16
- package/dist/cjs/news-search-result.cjs.entry.js +21 -21
- package/dist/cjs/{pagination-8d9d474d.js → pagination-468c8158.js} +33 -7
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +87 -87
- package/dist/cjs/ptc-accordion.cjs.entry.js +41 -41
- package/dist/cjs/ptc-announcement.cjs.entry.js +54 -54
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +73 -73
- package/dist/cjs/ptc-background-video.cjs.entry.js +59 -59
- package/dist/cjs/ptc-badge.cjs.entry.js +21 -21
- package/dist/cjs/ptc-bio-card.cjs.entry.js +31 -31
- package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +151 -151
- package/dist/cjs/ptc-brightcov-video.cjs.entry.js +48 -48
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +117 -117
- package/dist/cjs/ptc-card-content.cjs.entry.js +59 -59
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +99 -85
- package/dist/cjs/ptc-checkbox-group.cjs.entry.js +41 -41
- package/dist/cjs/ptc-checkbox.cjs.entry.js +52 -52
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +399 -399
- package/dist/cjs/ptc-container.cjs.entry.js +35 -35
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +524 -524
- package/dist/cjs/ptc-dropdown.cjs.entry.js +66 -66
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +50 -50
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +48 -48
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +91 -91
- package/dist/cjs/ptc-featured-list.cjs.entry.js +97 -97
- package/dist/cjs/ptc-filter-dropdown_3.cjs.entry.js +214 -214
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +68 -68
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +59 -59
- package/dist/cjs/ptc-form-checkbox_3.cjs.entry.js +920 -811
- package/dist/cjs/ptc-form.cjs.entry.js +79 -79
- package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +13 -13
- package/dist/cjs/ptc-hero.cjs.entry.js +20 -20
- package/dist/cjs/ptc-icon-component.cjs.entry.js +64 -64
- package/dist/cjs/ptc-icon-list.cjs.entry.js +23 -23
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +51 -51
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +20 -20
- package/dist/cjs/ptc-list.cjs.entry.js +51 -51
- package/dist/cjs/ptc-media-card.cjs.entry.js +53 -53
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +14 -14
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +166 -148
- package/dist/cjs/ptc-modal-quiz.cjs.entry.js +117 -117
- package/dist/cjs/ptc-nav-card.cjs.entry.js +38 -38
- package/dist/cjs/ptc-nav-link.cjs.entry.js +38 -38
- package/dist/cjs/ptc-nav-pills.cjs.entry.js +10 -10
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +92 -92
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +39 -39
- package/dist/cjs/ptc-nav-tile.cjs.entry.js +11 -11
- package/dist/cjs/ptc-news.cjs.entry.js +26 -26
- package/dist/cjs/ptc-overlay.cjs.entry.js +25 -25
- package/dist/cjs/ptc-pagenation.cjs.entry.js +308 -308
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +13 -13
- package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +19 -19
- package/dist/cjs/ptc-previous-url.cjs.entry.js +13 -13
- package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +19 -19
- package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +41 -41
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +22 -22
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +361 -361
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +126 -126
- package/dist/cjs/ptc-product-card.cjs.entry.js +24 -24
- package/dist/cjs/ptc-product-category.cjs.entry.js +12 -12
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +71 -71
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +14 -14
- package/dist/cjs/ptc-product-list.cjs.entry.js +142 -142
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +130 -130
- package/dist/cjs/ptc-quote.cjs.entry.js +27 -27
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +26 -26
- package/dist/cjs/ptc-readmore.cjs.entry.js +84 -84
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +151 -151
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +55 -55
- package/dist/cjs/ptc-search-field.cjs.entry.js +75 -75
- package/dist/cjs/ptc-seo-title.cjs.entry.js +73 -73
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +52 -52
- package/dist/cjs/ptc-showcase-card.cjs.entry.js +12 -12
- package/dist/cjs/ptc-skeleton.cjs.entry.js +18 -18
- package/dist/cjs/ptc-slit-card.cjs.entry.js +27 -27
- package/dist/cjs/ptc-square-card.cjs.entry.js +12 -12
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +34 -34
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +32 -32
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +18 -18
- package/dist/cjs/ptc-subnav.cjs.entry.js +26 -26
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +97 -97
- package/dist/cjs/ptc-tab-list.cjs.entry.js +145 -145
- package/dist/cjs/ptc-tab.cjs.entry.js +22 -22
- package/dist/cjs/ptc-tabs.cjs.entry.js +49 -49
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +47 -47
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +83 -83
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +17 -17
- package/dist/cjs/ptc-value-led-card.cjs.entry.js +12 -12
- package/dist/cjs/ptc-value-led-content-highlight.cjs.entry.js +10 -10
- package/dist/cjs/ptc-value-led-content.cjs.entry.js +12 -12
- package/dist/cjs/ptc-value-led-intro.cjs.entry.js +11 -11
- package/dist/cjs/ptc-value-led-layout.cjs.entry.js +221 -221
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +23 -23
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +15 -15
- package/dist/cjs/ptc-white-paper.cjs.entry.js +113 -113
- package/dist/cjs/ptcw-design.cjs.js +2 -2
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +111 -111
- package/dist/cjs/sequential-bundle.cjs.entry.js +91 -91
- package/dist/cjs/tab-content.cjs.entry.js +29 -29
- package/dist/cjs/tab-header.cjs.entry.js +67 -67
- package/dist/cjs/{utils-b8cf5ed2.js → utils-03d92070.js} +142 -142
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.css +8 -2
- package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.css +8 -2
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
- package/dist/collection/components/icon-asset/icon-asset.css +12 -6
- package/dist/collection/components/icon-asset/icon-asset.js +199 -199
- package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
- package/dist/collection/components/icon-asset/media/designer.svg +504 -504
- package/dist/collection/components/icon-asset/media/regular.svg +463 -463
- package/dist/collection/components/icon-asset/media/solid.svg +3016 -3016
- package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +8 -2
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
- package/dist/collection/components/list-item/list-item.css +8 -2
- package/dist/collection/components/list-item/list-item.js +193 -193
- package/dist/collection/components/max-width-container/max-width-container.css +11 -11
- package/dist/collection/components/max-width-container/max-width-container.js +146 -146
- package/dist/collection/components/my-component/my-component.css +3 -3
- package/dist/collection/components/my-component/my-component.js +82 -82
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +69 -69
- package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +282 -282
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
- package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +79 -79
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +219 -219
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +122 -122
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
- package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
- package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.css +8 -2
- package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.js +94 -94
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.css +8 -2
- package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +120 -120
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.css +8 -2
- package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +72 -72
- package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.css +13 -13
- package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +94 -94
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.css +8 -2
- package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +62 -62
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.css +8 -2
- package/dist/collection/components/organism-bundles/news-search-result/news-search-result.js +40 -40
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.css +8 -2
- package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +101 -95
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +8 -2
- package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +324 -324
- package/dist/collection/components/ptc-accordion/ptc-accordion.css +8 -2
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
- package/dist/collection/components/ptc-announcement/ptc-announcement.css +8 -2
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +8 -2
- package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +97 -97
- package/dist/collection/components/ptc-background-video/ptc-background-video.css +8 -2
- package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
- package/dist/collection/components/ptc-badge/ptc-badge.css +8 -2
- package/dist/collection/components/ptc-badge/ptc-badge.js +87 -87
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +8 -2
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +153 -153
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +8 -2
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +121 -121
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.css +8 -2
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +79 -79
- package/dist/collection/components/ptc-button/ptc-button.css +8 -2
- package/dist/collection/components/ptc-button/ptc-button.js +399 -399
- package/dist/collection/components/ptc-card/ptc-card.css +8 -2
- package/dist/collection/components/ptc-card/ptc-card.js +439 -439
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +8 -2
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
- package/dist/collection/components/ptc-card-content/ptc-card-content.css +8 -2
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +8 -2
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +253 -253
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +16 -4
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +8 -2
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.css +8 -2
- package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.js +90 -90
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +8 -2
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
- package/dist/collection/components/ptc-container/ptc-container.css +8 -2
- package/dist/collection/components/ptc-container/ptc-container.js +138 -138
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.css +11 -2
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +379 -379
- package/dist/collection/components/ptc-date/ptc-date.css +8 -2
- package/dist/collection/components/ptc-date/ptc-date.js +224 -224
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +8 -2
- package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
- package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +8 -2
- package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +192 -192
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +8 -2
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +8 -2
- package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +146 -146
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.css +8 -2
- package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +8 -2
- package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +114 -114
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.css +8 -2
- package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +8 -2
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +128 -128
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +8 -2
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +145 -145
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +8 -2
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +124 -124
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +8 -2
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +8 -2
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +303 -303
- package/dist/collection/components/ptc-hero/ptc-hero.css +8 -2
- package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.css +8 -2
- package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +16 -4
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +8 -2
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +8 -2
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +160 -160
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +8 -2
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
- package/dist/collection/components/ptc-img/ptc-img.css +8 -2
- package/dist/collection/components/ptc-img/ptc-img.js +311 -311
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +8 -2
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +355 -355
- package/dist/collection/components/ptc-link/ptc-link.css +8 -2
- package/dist/collection/components/ptc-link/ptc-link.js +289 -289
- package/dist/collection/components/ptc-list/ptc-list.css +8 -2
- package/dist/collection/components/ptc-list/ptc-list.js +99 -99
- package/dist/collection/components/ptc-media-card/ptc-media-card.css +8 -2
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +233 -233
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +8 -2
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +15 -4
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +199 -199
- package/dist/collection/components/ptc-modal/ptc-modal.css +8 -2
- package/dist/collection/components/ptc-modal/ptc-modal.js +524 -524
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +8 -2
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +191 -191
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +8 -2
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.css +8 -2
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
- package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.css +8 -2
- package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.js +40 -40
- package/dist/collection/components/ptc-news/ptc-news.css +8 -2
- package/dist/collection/components/ptc-news/ptc-news.js +176 -176
- package/dist/collection/components/ptc-overlay/ptc-overlay.css +8 -2
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +8 -2
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
- package/dist/collection/components/ptc-para/ptc-para.css +8 -2
- package/dist/collection/components/ptc-para/ptc-para.js +268 -268
- package/dist/collection/components/ptc-picture/ptc-picture.css +8 -2
- package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +8 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.css +8 -2
- package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.js +27 -27
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +8 -2
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +79 -79
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +8 -2
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +8 -2
- package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +139 -139
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.css +8 -2
- package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +94 -94
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +8 -2
- package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +8 -2
- package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +501 -501
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +8 -2
- package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +8 -2
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +8 -2
- package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +8 -2
- package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +8 -2
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
- package/dist/collection/components/ptc-product-list/ptc-product-list.css +8 -2
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +8 -2
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.css +8 -2
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
- package/dist/collection/components/ptc-quote/ptc-quote.css +8 -2
- package/dist/collection/components/ptc-quote/ptc-quote.js +163 -163
- package/dist/collection/components/ptc-readmore/ptc-readmore.css +8 -2
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +326 -326
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +8 -2
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +8 -2
- package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +190 -190
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
- package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
- package/dist/collection/components/ptc-search-field/ptc-search-field.css +8 -2
- package/dist/collection/components/ptc-search-field/ptc-search-field.js +266 -266
- package/dist/collection/components/ptc-select/ptc-select.css +8 -2
- package/dist/collection/components/ptc-select/ptc-select.js +555 -555
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.css +8 -2
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +314 -314
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +8 -2
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.css +8 -2
- package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.js +60 -60
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +8 -2
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +8 -2
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
- package/dist/collection/components/ptc-social-share/ptc-social-share.css +8 -2
- package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
- package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
- package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
- package/dist/collection/components/ptc-span/ptc-span.css +8 -2
- package/dist/collection/components/ptc-span/ptc-span.js +107 -107
- package/dist/collection/components/ptc-square-card/ptc-square-card.css +8 -2
- package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.css +8 -2
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.css +8 -2
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.css +8 -2
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +8 -2
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +8 -2
- package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +214 -214
- package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
- package/dist/collection/components/ptc-tabs/ptc-tabs.css +8 -2
- package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +8 -2
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +219 -219
- package/dist/collection/components/ptc-textfield/ptc-textfield.css +59 -36
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +602 -602
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +8 -2
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +181 -181
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +8 -2
- package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +128 -128
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.css +8 -2
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +165 -165
- package/dist/collection/components/ptc-title/ptc-title.css +8 -2
- package/dist/collection/components/ptc-title/ptc-title.js +349 -349
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +8 -2
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +361 -361
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.css +8 -2
- package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
- package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.css +8 -2
- package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.js +60 -60
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.css +8 -2
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +43 -43
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.css +8 -2
- package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +18 -18
- package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.css +8 -2
- package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.js +42 -42
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.css +8 -2
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +325 -325
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +8 -2
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +97 -97
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +8 -2
- package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +117 -117
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +16 -4
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +215 -215
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +8 -2
- package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +131 -131
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +8 -2
- package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +8 -2
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +8 -2
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +78 -78
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.css +8 -2
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +151 -151
- package/dist/collection/components/tab-content/tab-content.css +8 -2
- package/dist/collection/components/tab-content/tab-content.js +84 -84
- package/dist/collection/components/tab-header/tab-header.css +8 -2
- package/dist/collection/components/tab-header/tab-header.js +183 -183
- package/dist/collection/index.js +1 -1
- package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
- package/dist/collection/media/svg-imgs/NumberOneGreenBadge.svg +4 -4
- package/dist/collection/media/svg-imgs/NumberThreeGreenBadge.svg +4 -4
- package/dist/collection/media/svg-imgs/NumberTwoGreenBadge.svg +4 -4
- package/dist/collection/media/svg-imgs/close.svg +10 -10
- package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
- package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
- package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
- package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
- package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
- package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
- package/dist/collection/media/svg-imgs/union.svg +3 -3
- package/dist/collection/stories/Accordian.stories.js +205 -205
- package/dist/collection/stories/Announcement.stories.js +64 -64
- package/dist/collection/stories/BackgroundImage.stories.js +81 -81
- package/dist/collection/stories/Breadcrumb.stories.js +50 -50
- package/dist/collection/stories/Button.stories.js +119 -119
- package/dist/collection/stories/Card.stories.js +234 -234
- package/dist/collection/stories/CardWrapper.stories.js +270 -270
- package/dist/collection/stories/Checkbox.stories.js +52 -52
- package/dist/collection/stories/Date.stories.js +81 -81
- package/dist/collection/stories/Dropdown.stories.js +48 -48
- package/dist/collection/stories/DynamicCard.stories.js +68 -68
- package/dist/collection/stories/FilterTag.stories.js +73 -73
- package/dist/collection/stories/FormCheckbox.stories.js +57 -57
- package/dist/collection/stories/Hero.stories.js +119 -119
- package/dist/collection/stories/Icon.stories.js +71 -71
- package/dist/collection/stories/IconList.stories.js +114 -114
- package/dist/collection/stories/IconMinimize.stories.js +40 -40
- package/dist/collection/stories/Link.stories.js +107 -107
- package/dist/collection/stories/ListItem.stories.js +59 -59
- package/dist/collection/stories/MaxWidthContainer.stories.js +45 -45
- package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
- package/dist/collection/stories/MobileSelect.stories.js +79 -79
- package/dist/collection/stories/Modal.stories.js +105 -105
- package/dist/collection/stories/Overlay.stories.js +48 -48
- package/dist/collection/stories/Pagination.stories.js +101 -101
- package/dist/collection/stories/Paragraph.stories.js +95 -95
- package/dist/collection/stories/Picture.stories.js +139 -139
- package/dist/collection/stories/Quote.stories.js +107 -107
- package/dist/collection/stories/ReadMore.stories.js +100 -100
- package/dist/collection/stories/Select.stories.js +81 -81
- package/dist/collection/stories/SocialShare.stories.js +66 -66
- package/dist/collection/stories/Spacer.stories.js +48 -48
- package/dist/collection/stories/Span.stories.js +57 -57
- package/dist/collection/stories/SvgButton.stories.js +34 -34
- package/dist/collection/stories/Tabs.stories.js +213 -213
- package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
- package/dist/collection/stories/Textfield.stories.js +81 -81
- package/dist/collection/stories/Title.stories.js +115 -115
- package/dist/collection/stories/Tooltip.stories.js +112 -112
- package/dist/collection/utils/component.js +3 -3
- package/dist/collection/utils/elq-lib.js +431 -431
- package/dist/collection/utils/interfaces.js +11 -11
- package/dist/collection/utils/utils.js +161 -161
- package/dist/collection/utils/validation-messages.js +111 -111
- package/dist/custom-elements/index.js +10333 -10088
- package/dist/esm/academic-form-test.entry.js +80 -80
- package/dist/esm/author-listing-example.entry.js +233 -233
- package/dist/esm/bundle-example.entry.js +44 -44
- package/dist/esm/bundle-jumbotron-example.entry.js +40 -40
- package/dist/esm/{core-73ab4867.js → core-ebde74a2.js} +117 -39
- package/dist/esm/dropdown-item.entry.js +12 -12
- package/dist/esm/dynamic-box-bundle.entry.js +27 -27
- package/dist/esm/embedded-form.entry.js +105 -105
- package/dist/esm/featured-list.entry.js +91 -91
- package/dist/esm/fl-tab-content_3.entry.js +48 -48
- package/dist/esm/footer-form.entry.js +57 -57
- package/dist/esm/icon-asset_18.entry.js +1249 -1249
- package/dist/esm/{index-4025d85a.js → index-3309fc22.js} +72 -1
- package/dist/esm/innovator-toggle-container.entry.js +23 -23
- package/dist/esm/list-item.entry.js +37 -37
- package/dist/esm/loader.js +3 -3
- package/dist/esm/most-popular-news.entry.js +40 -40
- package/dist/esm/my-component.entry.js +16 -16
- package/dist/esm/news-search-result.entry.js +21 -21
- package/dist/esm/{pagination-902de0b2.js → pagination-726fafd1.js} +33 -7
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/ptc-accordion-item.entry.js +87 -87
- package/dist/esm/ptc-accordion.entry.js +41 -41
- package/dist/esm/ptc-announcement.entry.js +54 -54
- package/dist/esm/ptc-back-to-top.entry.js +73 -73
- package/dist/esm/ptc-background-video.entry.js +59 -59
- package/dist/esm/ptc-badge.entry.js +21 -21
- package/dist/esm/ptc-bio-card.entry.js +31 -31
- package/dist/esm/ptc-breadcrumb_2.entry.js +151 -151
- package/dist/esm/ptc-brightcov-video.entry.js +48 -48
- package/dist/esm/ptc-card-bottom_2.entry.js +117 -117
- package/dist/esm/ptc-card-content.entry.js +59 -59
- package/dist/esm/ptc-case-studies-slider.entry.js +99 -85
- package/dist/esm/ptc-checkbox-group.entry.js +41 -41
- package/dist/esm/ptc-checkbox.entry.js +52 -52
- package/dist/esm/ptc-collapse-list.entry.js +399 -399
- package/dist/esm/ptc-container.entry.js +35 -35
- package/dist/esm/ptc-data-lookup.entry.js +524 -524
- package/dist/esm/ptc-dropdown.entry.js +66 -66
- package/dist/esm/ptc-dynamic-card.entry.js +50 -50
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +48 -48
- package/dist/esm/ptc-embedded-quiz.entry.js +91 -91
- package/dist/esm/ptc-featured-list.entry.js +97 -97
- package/dist/esm/ptc-filter-dropdown_3.entry.js +214 -214
- package/dist/esm/ptc-filter-level-theater.entry.js +68 -68
- package/dist/esm/ptc-filter-tag.entry.js +59 -59
- package/dist/esm/ptc-form-checkbox_3.entry.js +920 -811
- package/dist/esm/ptc-form.entry.js +79 -79
- package/dist/esm/ptc-hero-footer-cta.entry.js +13 -13
- package/dist/esm/ptc-hero.entry.js +20 -20
- package/dist/esm/ptc-icon-component.entry.js +64 -64
- package/dist/esm/ptc-icon-list.entry.js +23 -23
- package/dist/esm/ptc-icon-minimize.entry.js +51 -51
- package/dist/esm/ptc-image-download-strip.entry.js +20 -20
- package/dist/esm/ptc-list.entry.js +51 -51
- package/dist/esm/ptc-media-card.entry.js +53 -53
- package/dist/esm/ptc-minimized-nav.entry.js +14 -14
- package/dist/esm/ptc-mobile-select.entry.js +166 -148
- package/dist/esm/ptc-modal-quiz.entry.js +117 -117
- package/dist/esm/ptc-nav-card.entry.js +38 -38
- package/dist/esm/ptc-nav-link.entry.js +38 -38
- package/dist/esm/ptc-nav-pills.entry.js +10 -10
- package/dist/esm/ptc-nav-slider.entry.js +92 -92
- package/dist/esm/ptc-nav-submenu.entry.js +39 -39
- package/dist/esm/ptc-nav-tile.entry.js +11 -11
- package/dist/esm/ptc-news.entry.js +26 -26
- package/dist/esm/ptc-overlay.entry.js +25 -25
- package/dist/esm/ptc-pagenation.entry.js +308 -308
- package/dist/esm/ptc-podcast-card.entry.js +13 -13
- package/dist/esm/ptc-preferance-center-form.entry.js +19 -19
- package/dist/esm/ptc-previous-url.entry.js +13 -13
- package/dist/esm/ptc-pricing-add-on-card.entry.js +19 -19
- package/dist/esm/ptc-pricing-add-on-section.entry.js +41 -41
- package/dist/esm/ptc-pricing-block.entry.js +22 -22
- package/dist/esm/ptc-pricing-packaging-table.entry.js +361 -361
- package/dist/esm/ptc-pricing-tabs.entry.js +126 -126
- package/dist/esm/ptc-product-card.entry.js +24 -24
- package/dist/esm/ptc-product-category.entry.js +12 -12
- package/dist/esm/ptc-product-dropdown.entry.js +71 -71
- package/dist/esm/ptc-product-highlight-card.entry.js +14 -14
- package/dist/esm/ptc-product-list.entry.js +142 -142
- package/dist/esm/ptc-product-sidebar.entry.js +130 -130
- package/dist/esm/ptc-quote.entry.js +27 -27
- package/dist/esm/ptc-readmore-char.entry.js +26 -26
- package/dist/esm/ptc-readmore.entry.js +84 -84
- package/dist/esm/ptc-related-card-rail.entry.js +151 -151
- package/dist/esm/ptc-responsive-wrapper.entry.js +55 -55
- package/dist/esm/ptc-search-field.entry.js +75 -75
- package/dist/esm/ptc-seo-title.entry.js +73 -73
- package/dist/esm/ptc-shopping-cart.entry.js +52 -52
- package/dist/esm/ptc-showcase-card.entry.js +12 -12
- package/dist/esm/ptc-skeleton.entry.js +18 -18
- package/dist/esm/ptc-slit-card.entry.js +27 -27
- package/dist/esm/ptc-square-card.entry.js +12 -12
- package/dist/esm/ptc-sticky-icons.entry.js +34 -34
- package/dist/esm/ptc-sticky-section.entry.js +32 -32
- package/dist/esm/ptc-subnav-card.entry.js +18 -18
- package/dist/esm/ptc-subnav.entry.js +26 -26
- package/dist/esm/ptc-svg-btn.entry.js +97 -97
- package/dist/esm/ptc-tab-list.entry.js +145 -145
- package/dist/esm/ptc-tab.entry.js +22 -22
- package/dist/esm/ptc-tabs.entry.js +49 -49
- package/dist/esm/ptc-text-copy-with-background.entry.js +47 -47
- package/dist/esm/ptc-theater-video-modal.entry.js +83 -83
- package/dist/esm/ptc-two-column-media.entry.js +17 -17
- package/dist/esm/ptc-value-led-card.entry.js +12 -12
- package/dist/esm/ptc-value-led-content-highlight.entry.js +10 -10
- package/dist/esm/ptc-value-led-content.entry.js +12 -12
- package/dist/esm/ptc-value-led-intro.entry.js +11 -11
- package/dist/esm/ptc-value-led-layout.entry.js +221 -221
- package/dist/esm/ptc-value-led-speed-bump.entry.js +23 -23
- package/dist/esm/ptc-value-prop-card.entry.js +15 -15
- package/dist/esm/ptc-white-paper.entry.js +113 -113
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle-example.entry.js +111 -111
- package/dist/esm/sequential-bundle.entry.js +91 -91
- package/dist/esm/tab-content.entry.js +29 -29
- package/dist/esm/tab-header.entry.js +67 -67
- package/dist/esm/{utils-1d586605.js → utils-2f4905df.js} +142 -142
- package/dist/ptcw-design/media/brands.svg +1381 -1381
- package/dist/ptcw-design/media/designer.svg +504 -504
- package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
- package/dist/ptcw-design/media/regular.svg +463 -463
- package/dist/ptcw-design/media/solid.svg +3016 -3016
- package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
- package/dist/ptcw-design/p-00ba09b4.entry.js +1 -0
- package/dist/ptcw-design/p-00d74dc0.entry.js +1 -0
- package/dist/ptcw-design/p-054864e7.entry.js +1 -0
- package/dist/ptcw-design/p-0723ba49.entry.js +1 -0
- package/dist/ptcw-design/p-0c8007ee.entry.js +1 -0
- package/dist/ptcw-design/p-1090544d.entry.js +1 -0
- package/dist/ptcw-design/{p-d6f2911e.entry.js → p-187101d8.entry.js} +1 -1
- package/dist/ptcw-design/p-1b4bae3c.entry.js +1 -0
- package/dist/ptcw-design/{p-0e6e5fca.entry.js → p-1ed67cc5.entry.js} +1 -1
- package/dist/ptcw-design/p-1fccdca4.entry.js +1 -0
- package/dist/ptcw-design/p-24af9a13.entry.js +1 -0
- package/dist/ptcw-design/{p-d02f6760.entry.js → p-26a1db5a.entry.js} +1 -1
- package/dist/ptcw-design/p-28c93a70.entry.js +1 -0
- package/dist/ptcw-design/p-2c47be9a.entry.js +1 -0
- package/dist/ptcw-design/p-2e63781e.entry.js +1 -0
- package/dist/ptcw-design/p-2f976047.entry.js +1 -0
- package/dist/ptcw-design/p-320c9828.entry.js +1 -0
- package/dist/ptcw-design/p-32114a6f.entry.js +1 -0
- package/dist/ptcw-design/p-3295825a.entry.js +1 -0
- package/dist/ptcw-design/{p-b90e324e.entry.js → p-34b82cde.entry.js} +1 -1
- package/dist/ptcw-design/p-34e13f1c.entry.js +1 -0
- package/dist/ptcw-design/p-393368a4.entry.js +1 -0
- package/dist/ptcw-design/{p-acd96d26.entry.js → p-3a2d08a1.entry.js} +1 -1
- package/dist/ptcw-design/p-3b03642c.entry.js +1 -0
- package/dist/ptcw-design/{p-bc90bb06.entry.js → p-3c307289.entry.js} +1 -1
- package/dist/ptcw-design/{p-83cc763f.entry.js → p-3df13196.entry.js} +1 -1
- package/dist/ptcw-design/{p-f87cfd1c.entry.js → p-3ed092d8.entry.js} +1 -1
- package/dist/ptcw-design/p-3f4bdd1a.entry.js +1 -0
- package/dist/ptcw-design/{p-ca22e0a4.entry.js → p-414c3b74.entry.js} +1 -1
- package/dist/ptcw-design/{p-ceb171a0.entry.js → p-42d659e1.entry.js} +1 -1
- package/dist/ptcw-design/p-42ea22b0.entry.js +1 -0
- package/dist/ptcw-design/p-47f7b3a4.entry.js +1 -0
- package/dist/ptcw-design/{p-0a923315.entry.js → p-4ae0e239.entry.js} +1 -1
- package/dist/ptcw-design/{p-cb96aad2.entry.js → p-4c10e237.entry.js} +1 -1
- package/dist/ptcw-design/p-50425210.entry.js +1 -0
- package/dist/ptcw-design/p-531619d4.entry.js +1 -0
- package/dist/ptcw-design/p-532dd7f0.entry.js +1 -0
- package/dist/ptcw-design/p-5596259e.entry.js +1 -0
- package/dist/ptcw-design/p-55f20ac7.entry.js +1 -0
- package/dist/ptcw-design/{p-062e8486.entry.js → p-5883f603.entry.js} +1 -1
- package/dist/ptcw-design/{p-aca960a9.entry.js → p-5e8a4cd8.entry.js} +1 -1
- package/dist/ptcw-design/{p-59d640d4.entry.js → p-604178dc.entry.js} +1 -1
- package/dist/ptcw-design/p-60cfbce1.entry.js +1 -0
- package/dist/ptcw-design/p-60d50f9d.entry.js +1 -0
- package/dist/ptcw-design/p-66364007.entry.js +1 -0
- package/dist/ptcw-design/{p-daab1426.entry.js → p-68276e72.entry.js} +1 -1
- package/dist/ptcw-design/p-6914b70c.js +1 -0
- package/dist/ptcw-design/p-69206755.entry.js +1 -0
- package/dist/ptcw-design/{p-35a3e726.entry.js → p-6d4c5679.entry.js} +1 -1
- package/dist/ptcw-design/p-715d1d8f.entry.js +1 -0
- package/dist/ptcw-design/p-71e0d64c.entry.js +1 -0
- package/dist/ptcw-design/{p-0c5258f1.entry.js → p-7286b93b.entry.js} +1 -1
- package/dist/ptcw-design/{p-739b380f.entry.js → p-75cbe76e.entry.js} +1 -1
- package/dist/ptcw-design/{p-68fa130e.entry.js → p-7621bd5a.entry.js} +1 -1
- package/dist/ptcw-design/p-782442e6.entry.js +1 -0
- package/dist/ptcw-design/p-78828213.entry.js +1 -0
- package/dist/ptcw-design/p-79f02292.entry.js +1 -0
- package/dist/ptcw-design/p-7ce8fb2a.entry.js +1 -0
- package/dist/ptcw-design/p-7dfe8589.entry.js +1 -0
- package/dist/ptcw-design/p-81270479.entry.js +1 -0
- package/dist/ptcw-design/p-820009a0.entry.js +1 -0
- package/dist/ptcw-design/p-82aca032.entry.js +1 -0
- package/dist/ptcw-design/p-84b50500.entry.js +1 -0
- package/dist/ptcw-design/{p-b222d731.entry.js → p-854c9f75.entry.js} +1 -1
- package/dist/ptcw-design/{p-fae9565e.entry.js → p-85c53242.entry.js} +1 -1
- package/dist/ptcw-design/p-8f6af405.js +1 -0
- package/dist/ptcw-design/p-93737897.entry.js +1 -0
- package/dist/ptcw-design/{p-53b7c1b2.entry.js → p-95e1c016.entry.js} +1 -1
- package/dist/ptcw-design/{p-9b84c9cc.entry.js → p-9603afb7.entry.js} +1 -1
- package/dist/ptcw-design/p-99d9433a.entry.js +1 -0
- package/dist/ptcw-design/{p-5cc72d9b.entry.js → p-9d13225e.entry.js} +1 -1
- package/dist/ptcw-design/p-9d4f7574.entry.js +1 -0
- package/dist/ptcw-design/p-9e730840.entry.js +1 -0
- package/dist/ptcw-design/p-a02e27e1.entry.js +68 -0
- package/dist/ptcw-design/p-a2fdaff6.entry.js +1 -0
- package/dist/ptcw-design/p-ae0ed303.entry.js +1 -0
- package/dist/ptcw-design/p-aeae9c92.entry.js +1 -0
- package/dist/ptcw-design/p-b102050c.entry.js +1 -0
- package/dist/ptcw-design/p-b4cd594a.entry.js +1 -0
- package/dist/ptcw-design/{p-6532393f.entry.js → p-b8f9e9b4.entry.js} +1 -1
- package/dist/ptcw-design/p-b9815e9e.entry.js +1 -0
- package/dist/ptcw-design/p-bdef56ed.entry.js +1 -0
- package/dist/ptcw-design/p-bf7f2d16.entry.js +1 -0
- package/dist/ptcw-design/p-bf8a6f83.entry.js +1 -0
- package/dist/ptcw-design/p-c42d9009.entry.js +1 -0
- package/dist/ptcw-design/p-c5bea051.entry.js +1 -0
- package/dist/ptcw-design/p-c635f47d.entry.js +1 -0
- package/dist/ptcw-design/p-c6e882e1.entry.js +1 -0
- package/dist/ptcw-design/p-c9b9029b.entry.js +1 -0
- package/dist/ptcw-design/p-cb77c7d2.entry.js +1 -0
- package/dist/ptcw-design/p-ce535ac6.entry.js +1 -0
- package/dist/ptcw-design/p-cef0c108.entry.js +1 -0
- package/dist/ptcw-design/p-d4031650.entry.js +1 -0
- package/dist/ptcw-design/p-d49ec51a.entry.js +1 -0
- package/dist/ptcw-design/{p-3b91b9de.entry.js → p-d5a3b353.entry.js} +1 -1
- package/dist/ptcw-design/{p-0cf85281.entry.js → p-d5e9a7f3.entry.js} +1 -1
- package/dist/ptcw-design/p-d6863552.entry.js +1 -0
- package/dist/ptcw-design/p-d7a69e1c.entry.js +1 -0
- package/dist/ptcw-design/p-db3451b8.entry.js +1 -0
- package/dist/ptcw-design/p-dd4ab5a8.entry.js +1 -0
- package/dist/ptcw-design/p-e1a2421d.entry.js +1 -0
- package/dist/ptcw-design/p-e1da01e7.entry.js +1 -0
- package/dist/ptcw-design/p-e44ed276.entry.js +1 -0
- package/dist/ptcw-design/p-e84a52f6.entry.js +1 -0
- package/dist/ptcw-design/p-e8a19cd0.entry.js +1 -0
- package/dist/ptcw-design/p-ea1b6092.entry.js +1 -0
- package/dist/ptcw-design/p-ec463060.entry.js +1 -0
- package/dist/ptcw-design/{p-d0151211.entry.js → p-ecf78aae.entry.js} +1 -1
- package/dist/ptcw-design/p-ee02aea6.entry.js +1 -0
- package/dist/ptcw-design/p-ef94dcd5.entry.js +1 -0
- package/dist/ptcw-design/p-f2bc4f50.entry.js +1 -0
- package/dist/ptcw-design/p-f5b66bb4.entry.js +1 -0
- package/dist/ptcw-design/{p-3bdf2bbf.entry.js → p-f8a96b70.entry.js} +1 -1
- package/dist/ptcw-design/p-fb1f969e.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/dropdown-item/dropdown-item.d.ts +5 -5
- package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
- package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
- package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
- package/dist/types/components/list-item/list-item.d.ts +19 -19
- package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
- package/dist/types/components/my-component/my-component.d.ts +16 -16
- package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -12
- package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +14 -14
- package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
- package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
- package/dist/types/components/organism-bundles/form/academic-form/academic-form-test.d.ts +25 -25
- package/dist/types/components/organism-bundles/form/embedded-form/embedded-form.d.ts +31 -31
- package/dist/types/components/organism-bundles/form/footer-form/footer-form.d.ts +14 -14
- package/dist/types/components/organism-bundles/form/ptc-form/ptc-form.d.ts +25 -25
- package/dist/types/components/organism-bundles/most-popular-news/most-popular-news.d.ts +6 -6
- package/dist/types/components/organism-bundles/news-search-result/news-search-result.d.ts +10 -10
- package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
- package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
- package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +65 -65
- package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
- package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
- package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +10 -10
- package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
- package/dist/types/components/ptc-badge/ptc-badge.d.ts +7 -7
- package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +28 -28
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +24 -24
- package/dist/types/components/ptc-brightcov-video/ptc-brightcov-video.d.ts +6 -6
- package/dist/types/components/ptc-button/ptc-button.d.ts +77 -77
- package/dist/types/components/ptc-card/ptc-card.d.ts +84 -84
- package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
- package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +30 -30
- package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
- package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
- package/dist/types/components/ptc-checkbox-group/ptc-checkbox-group.d.ts +10 -10
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
- package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
- package/dist/types/components/ptc-data-lookup/ptc-data-lookup.d.ts +27 -27
- package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
- package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
- package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +27 -27
- package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
- package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +21 -21
- package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
- package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +12 -12
- package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
- package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
- package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +26 -26
- package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +17 -17
- package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
- package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +27 -27
- package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
- package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
- package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
- package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
- package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +14 -14
- package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
- package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
- package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +26 -26
- package/dist/types/components/ptc-link/ptc-link.d.ts +51 -51
- package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
- package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
- package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
- package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +80 -80
- package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +36 -36
- package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
- package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
- package/dist/types/components/ptc-nav-tile/ptc-nav-tile.d.ts +7 -7
- package/dist/types/components/ptc-news/ptc-news.d.ts +36 -36
- package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
- package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
- package/dist/types/components/ptc-para/ptc-para.d.ts +52 -52
- package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
- package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +15 -15
- package/dist/types/components/ptc-preferance-center-form/ptc-preferance-center-form.d.ts +5 -5
- package/dist/types/components/ptc-preloader-section/ptc-preloader-section.d.ts +8 -8
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
- package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +31 -31
- package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +26 -26
- package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
- package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +87 -87
- package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
- package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
- package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
- package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
- package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
- package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
- package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
- package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
- package/dist/types/components/ptc-quote/ptc-quote.d.ts +33 -33
- package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +58 -58
- package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
- package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +30 -30
- package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
- package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +24 -24
- package/dist/types/components/ptc-select/ptc-select.d.ts +29 -29
- package/dist/types/components/ptc-seo-title/ptc-seo-title.d.ts +55 -55
- package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
- package/dist/types/components/ptc-showcase-card/ptc-showcase-card.d.ts +5 -5
- package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
- package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
- package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
- package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
- package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
- package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
- package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
- package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
- package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
- package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
- package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +23 -23
- package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
- package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
- package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +42 -42
- package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +40 -40
- package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +14 -14
- package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +16 -16
- package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +26 -26
- package/dist/types/components/ptc-title/ptc-title.d.ts +61 -61
- package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +63 -63
- package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
- package/dist/types/components/ptc-value-led-card/ptc-value-led-card.d.ts +5 -5
- package/dist/types/components/ptc-value-led-content/ptc-value-led-content.d.ts +4 -4
- package/dist/types/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.d.ts +3 -3
- package/dist/types/components/ptc-value-led-intro/ptc-value-led-intro.d.ts +4 -4
- package/dist/types/components/ptc-value-led-layout/ptc-value-led-layout.d.ts +31 -31
- package/dist/types/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.d.ts +10 -10
- package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +23 -23
- package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +41 -41
- package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +26 -26
- package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
- package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
- package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +11 -11
- package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +31 -31
- package/dist/types/components/tab-content/tab-content.d.ts +12 -12
- package/dist/types/components/tab-header/tab-header.d.ts +22 -22
- package/dist/types/components.d.ts +240 -240
- package/dist/types/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +11 -0
- package/dist/types/utils/component.d.ts +1 -1
- package/dist/types/utils/eloqua.d.ts +8 -8
- package/dist/types/utils/elq-lib.d.ts +55 -55
- package/dist/types/utils/interfaces.d.ts +32 -32
- package/dist/types/utils/utils.d.ts +10 -10
- package/dist/types/utils/validation-messages.d.ts +111 -111
- package/package.json +89 -89
- package/readme.md +19 -19
- package/dist/ptcw-design/p-03a3faf2.entry.js +0 -1
- package/dist/ptcw-design/p-063081df.entry.js +0 -1
- package/dist/ptcw-design/p-0a0b01fa.entry.js +0 -1
- package/dist/ptcw-design/p-0e575971.entry.js +0 -1
- package/dist/ptcw-design/p-0f2f31c0.entry.js +0 -1
- package/dist/ptcw-design/p-10b3bda0.entry.js +0 -1
- package/dist/ptcw-design/p-12707657.entry.js +0 -1
- package/dist/ptcw-design/p-1434eb6b.entry.js +0 -1
- package/dist/ptcw-design/p-14d4560b.entry.js +0 -1
- package/dist/ptcw-design/p-173adcf0.entry.js +0 -1
- package/dist/ptcw-design/p-1a8c7516.entry.js +0 -1
- package/dist/ptcw-design/p-1b764b97.entry.js +0 -1
- package/dist/ptcw-design/p-2457850d.entry.js +0 -1
- package/dist/ptcw-design/p-2af241e3.entry.js +0 -1
- package/dist/ptcw-design/p-2aff88e5.entry.js +0 -1
- package/dist/ptcw-design/p-2b6e71a3.entry.js +0 -1
- package/dist/ptcw-design/p-2e07082b.entry.js +0 -1
- package/dist/ptcw-design/p-3b9f1c3b.entry.js +0 -1
- package/dist/ptcw-design/p-3d44cf6d.entry.js +0 -1
- package/dist/ptcw-design/p-460a79d5.entry.js +0 -1
- package/dist/ptcw-design/p-464bd6de.entry.js +0 -1
- package/dist/ptcw-design/p-48d2667d.entry.js +0 -1
- package/dist/ptcw-design/p-4c0116a8.entry.js +0 -1
- package/dist/ptcw-design/p-4cdfcedc.entry.js +0 -1
- package/dist/ptcw-design/p-553d840a.js +0 -1
- package/dist/ptcw-design/p-5e408067.entry.js +0 -1
- package/dist/ptcw-design/p-5f2e3e4e.entry.js +0 -1
- package/dist/ptcw-design/p-6136e133.entry.js +0 -1
- package/dist/ptcw-design/p-620ec829.entry.js +0 -1
- package/dist/ptcw-design/p-639e29b5.entry.js +0 -1
- package/dist/ptcw-design/p-6933b129.entry.js +0 -1
- package/dist/ptcw-design/p-69978c2c.entry.js +0 -1
- package/dist/ptcw-design/p-6e806c72.entry.js +0 -1
- package/dist/ptcw-design/p-73f2be9b.entry.js +0 -68
- package/dist/ptcw-design/p-7b5fffaa.entry.js +0 -1
- package/dist/ptcw-design/p-7bd37b58.entry.js +0 -1
- package/dist/ptcw-design/p-800c2f7d.entry.js +0 -1
- package/dist/ptcw-design/p-80f30fab.entry.js +0 -1
- package/dist/ptcw-design/p-8645c151.entry.js +0 -1
- package/dist/ptcw-design/p-86cadc9d.entry.js +0 -1
- package/dist/ptcw-design/p-88205520.entry.js +0 -1
- package/dist/ptcw-design/p-8b406ad0.entry.js +0 -1
- package/dist/ptcw-design/p-949b9334.entry.js +0 -1
- package/dist/ptcw-design/p-98778c06.entry.js +0 -1
- package/dist/ptcw-design/p-9a43eb16.entry.js +0 -1
- package/dist/ptcw-design/p-9a51930f.entry.js +0 -1
- package/dist/ptcw-design/p-9a7e2b73.entry.js +0 -1
- package/dist/ptcw-design/p-9c431e60.entry.js +0 -1
- package/dist/ptcw-design/p-a08ab1a2.entry.js +0 -1
- package/dist/ptcw-design/p-a198860c.entry.js +0 -1
- package/dist/ptcw-design/p-a3701a87.entry.js +0 -1
- package/dist/ptcw-design/p-a480be0c.entry.js +0 -1
- package/dist/ptcw-design/p-a67c95e2.entry.js +0 -1
- package/dist/ptcw-design/p-a8484a25.entry.js +0 -1
- package/dist/ptcw-design/p-a8a9aa7a.entry.js +0 -1
- package/dist/ptcw-design/p-a9af2a2a.entry.js +0 -1
- package/dist/ptcw-design/p-acf40fea.entry.js +0 -1
- package/dist/ptcw-design/p-b2391d26.entry.js +0 -1
- package/dist/ptcw-design/p-b577f01c.entry.js +0 -1
- package/dist/ptcw-design/p-b6453c28.entry.js +0 -1
- package/dist/ptcw-design/p-b88b8d60.entry.js +0 -1
- package/dist/ptcw-design/p-bc63338e.entry.js +0 -1
- package/dist/ptcw-design/p-c28af48d.entry.js +0 -1
- package/dist/ptcw-design/p-c2a1410e.entry.js +0 -1
- package/dist/ptcw-design/p-c640003c.entry.js +0 -1
- package/dist/ptcw-design/p-c653e4d7.entry.js +0 -1
- package/dist/ptcw-design/p-c81504cd.entry.js +0 -1
- package/dist/ptcw-design/p-c9a0ea88.entry.js +0 -1
- package/dist/ptcw-design/p-ccf417e2.entry.js +0 -1
- package/dist/ptcw-design/p-cdfe9613.entry.js +0 -1
- package/dist/ptcw-design/p-ce7c2c9b.entry.js +0 -1
- package/dist/ptcw-design/p-cfc15e2f.entry.js +0 -1
- package/dist/ptcw-design/p-d100f115.js +0 -1
- package/dist/ptcw-design/p-d4af7409.entry.js +0 -1
- package/dist/ptcw-design/p-de4f3724.entry.js +0 -1
- package/dist/ptcw-design/p-e5a0c330.entry.js +0 -1
- package/dist/ptcw-design/p-e8f65c00.entry.js +0 -1
- package/dist/ptcw-design/p-ed3f6651.entry.js +0 -1
- package/dist/ptcw-design/p-efd45916.entry.js +0 -1
- package/dist/ptcw-design/p-f0c7b0dd.entry.js +0 -1
- package/dist/ptcw-design/p-f123ef82.entry.js +0 -1
- package/dist/ptcw-design/p-fc0d8785.entry.js +0 -1
- package/dist/ptcw-design/p-fd2a5b91.entry.js +0 -1
- package/dist/ptcw-design/p-ff1cbf5a.entry.js +0 -1
- /package/dist/ptcw-design/{p-a7fdc2eb.js → p-9e0fd244.js} +0 -0
- /package/dist/ptcw-design/{p-6bd403ad.js → p-b422900e.js} +0 -0
|
@@ -1,225 +1,225 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-3309fc22.js';
|
|
2
2
|
|
|
3
|
-
const ptcFilterDropdownCss = "h1,h2,h3,h4,h5,h6,p,ul,li{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{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;box-sizing:border-box}:host .hidden{display:none}:host .dropdown{position:relative;display:inline-block;font-size:16px;color:var(--color-gray-10)}:host .dropdown .dropdown-toggle{padding:0.5rem;border:1px solid var(--color-gray-05);background-color:var(--color-white);cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:34px;border-radius:4px}:host .dropdown .dropdown-toggle .dropdown-placeholder{display:flex}:host .dropdown .dropdown-toggle .dropdown-placeholder .dropdown-filter-name{padding-left:10px;padding-right:5px;word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){:host .dropdown .dropdown-toggle .dropdown-placeholder .dropdown-filter-name{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 .dropdown .caret{display:inline-block;vertical-align:middle;margin-left:5px}:host .dropdown .dropdown-menu{position:absolute;top:100%;left:0;left:0;border:1px solid var(--color-gray-03);background-color:var(--color-white);overflow-y:auto;width:100%;border-radius:4px;box-shadow:0 8px 24px rgba(0, 0, 0, 0.25);display:flex;flex-direction:column;margin-top:8px;min-width:278px;overflow:hidden;position:absolute;transition:max-height 0.25s ease-out;z-index:2000;max-height:1000px}:host .dropdown .dropdown-menu .filter-list{padding:24px 24px 16px 24px;margin:0;list-style:none;border-bottom:1px solid var(--color-gray-02)}:host .dropdown .dropdown-menu .filter-btns{display:flex;justify-content:space-between;align-items:center;padding:16px 24px}:host .dropdown .dropdown-menu .filter-btns .clear-btn{cursor:pointer}:host .dropdown .dropdown-menu .filter-btns .clear-btn:hover{text-decoration:underline}:host .dropdown::-webkit-scrollbar{width:5px}:host .dropdown::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3)}:host .dropdown::-webkit-scrollbar-thumb{background-color:var(--color-gray-05);outline:1px solid var(--color-gray-05)}:host .radio-label{margin-bottom:16px;font-size:16px;font-weight:500;cursor:pointer;display:block;font-weight:500;position:relative;user-select:none;line-height:1.5;display:flex;align-items:baseline;word-break:break-word;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual}:host .radio-label input{margin-right:10px}:host .radio-label .checkmark{width:20px;height:20px;background-color:#fff;border:1px solid #1f2024;border-radius:0.4rem;margin-right:8px;position:absolute;left:0;top:0}:host .radio-label .checkmark::after{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"10\" viewBox=\"0 0 14 10\" fill=\"none\"><path d=\"M1.5 4L5.5 8L12.5 1\" stroke=\"white\" stroke-width=\"2\"/></svg>');background-position:50%;background-repeat:no-repeat;background-size:75% 100%;content:\"\";height:20px;width:20px;position:absolute;left:0;top:0;display:none}";
|
|
3
|
+
const ptcFilterDropdownCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;box-sizing:border-box}:host .hidden{display:none}:host .dropdown{position:relative;display:inline-block;font-size:16px;color:var(--color-gray-10)}:host .dropdown .dropdown-toggle{padding:0.5rem;border:1px solid var(--color-gray-05);background-color:var(--color-white);cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:34px;border-radius:4px}:host .dropdown .dropdown-toggle .dropdown-placeholder{display:flex}:host .dropdown .dropdown-toggle .dropdown-placeholder .dropdown-filter-name{padding-left:10px;padding-right:5px;word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){:host .dropdown .dropdown-toggle .dropdown-placeholder .dropdown-filter-name{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 .dropdown .caret{display:inline-block;vertical-align:middle;margin-left:5px}:host .dropdown .dropdown-menu{position:absolute;top:100%;left:0;left:0;border:1px solid var(--color-gray-03);background-color:var(--color-white);overflow-y:auto;width:100%;border-radius:4px;box-shadow:0 8px 24px rgba(0, 0, 0, 0.25);display:flex;flex-direction:column;margin-top:8px;min-width:278px;overflow:hidden;position:absolute;transition:max-height 0.25s ease-out;z-index:2000;max-height:1000px}:host .dropdown .dropdown-menu .filter-list{padding:24px 24px 16px 24px;margin:0;list-style:none;border-bottom:1px solid var(--color-gray-02)}:host .dropdown .dropdown-menu .filter-btns{display:flex;justify-content:space-between;align-items:center;padding:16px 24px}:host .dropdown .dropdown-menu .filter-btns .clear-btn{cursor:pointer}:host .dropdown .dropdown-menu .filter-btns .clear-btn:hover{text-decoration:underline}:host .dropdown::-webkit-scrollbar{width:5px}:host .dropdown::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3)}:host .dropdown::-webkit-scrollbar-thumb{background-color:var(--color-gray-05);outline:1px solid var(--color-gray-05)}:host .radio-label{margin-bottom:16px;font-size:16px;font-weight:500;cursor:pointer;display:block;font-weight:500;position:relative;user-select:none;line-height:1.5;display:flex;align-items:baseline;word-break:break-word;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual;hyphens:manual}:host .radio-label input{margin-right:10px}:host .radio-label .checkmark{width:20px;height:20px;background-color:#fff;border:1px solid #1f2024;border-radius:0.4rem;margin-right:8px;position:absolute;left:0;top:0}:host .radio-label .checkmark::after{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"14\" height=\"10\" viewBox=\"0 0 14 10\" fill=\"none\"><path d=\"M1.5 4L5.5 8L12.5 1\" stroke=\"white\" stroke-width=\"2\"/></svg>');background-position:50%;background-repeat:no-repeat;background-size:75% 100%;content:\"\";height:20px;width:20px;position:absolute;left:0;top:0;display:none}";
|
|
4
4
|
|
|
5
|
-
const PtcFilterDropdown = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.selectedFilterValues = createEvent(this, "selectedFilterValues", 7);
|
|
9
|
-
this.internalOptions = [];
|
|
10
|
-
this.selectedOptions = [];
|
|
11
|
-
this.placeholder = undefined;
|
|
12
|
-
this.selectedTag = undefined;
|
|
13
|
-
this.isOpen = false;
|
|
14
|
-
}
|
|
15
|
-
componentDidLoad() {
|
|
16
|
-
this.dropdownPlaceholder = this.hostElement.shadowRoot.querySelector('.dropdown-placeholder .dropdown-filter-name');
|
|
17
|
-
}
|
|
18
|
-
parseOptions() {
|
|
19
|
-
let options = Array.from(this.hostElement.querySelectorAll('span'));
|
|
20
|
-
if (options) {
|
|
21
|
-
this.internalOptions = options.map((option) => ({
|
|
22
|
-
tabId: option.getAttribute('tab-id'),
|
|
23
|
-
value: option.textContent,
|
|
24
|
-
tagName: option.getAttribute('tag-name'), // Store tag name in the options
|
|
25
|
-
}));
|
|
26
|
-
}
|
|
27
|
-
//console.log(this.internalOptions);
|
|
28
|
-
}
|
|
29
|
-
toggleDropdown() {
|
|
30
|
-
this.isOpen = !this.isOpen;
|
|
31
|
-
}
|
|
32
|
-
clearFilter() {
|
|
33
|
-
this.selectedOptions = [];
|
|
34
|
-
const radioList = this.hostElement.shadowRoot.querySelectorAll('.filter-list input[type="radio"]');
|
|
35
|
-
radioList.forEach((radioItem) => {
|
|
36
|
-
if (radioItem instanceof HTMLInputElement) {
|
|
37
|
-
radioItem.checked = false;
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
if (this.dropdownPlaceholder) {
|
|
41
|
-
this.dropdownPlaceholder.textContent = this.placeholder;
|
|
42
|
-
}
|
|
43
|
-
this.emitSelectedOptions('clearButton');
|
|
44
|
-
}
|
|
45
|
-
emitSelectedOptions(clickedButton) {
|
|
46
|
-
// debugger
|
|
47
|
-
this.selectedOptions = this.internalOptions
|
|
48
|
-
.filter((option) => {
|
|
49
|
-
const id = option.tabId;
|
|
50
|
-
return this.hostElement.shadowRoot.querySelector(`input[tab-id="${id}"]:checked`) !== null;
|
|
51
|
-
})
|
|
52
|
-
.map((option) => ({
|
|
53
|
-
tabId: option.tabId,
|
|
54
|
-
value: option.value,
|
|
55
|
-
tagName: option.tagName
|
|
56
|
-
}));
|
|
57
|
-
this.selectedFilterValues.emit({
|
|
58
|
-
sender: this,
|
|
59
|
-
selectedOptions: this.selectedOptions,
|
|
60
|
-
});
|
|
61
|
-
if (clickedButton == 'applyButton') {
|
|
62
|
-
this.toggleDropdown();
|
|
63
|
-
}
|
|
64
|
-
if (this.dropdownPlaceholder) {
|
|
65
|
-
this.dropdownPlaceholder.textContent = this.selectedOptions[0].value;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
componentWillRender() {
|
|
69
|
-
this.parseOptions();
|
|
70
|
-
}
|
|
71
|
-
render() {
|
|
72
|
-
return (h(Host, null, h("div", { class: "dropdown" }, h("div", { class: "dropdown-toggle", onClick: () => this.toggleDropdown() }, h("span", { class: "dropdown-placeholder" }, h("strong", null, "Filter: "), h("span", { class: "dropdown-filter-name" }, this.placeholder)), h("span", { class: "caret" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "7", viewBox: "0 0 12 7", fill: "none" }, h("path", { d: "M10.2426 1.24264L6 5.48528L1.75736 1.24264", stroke: "#20262A", "stroke-width": "2", "stroke-linecap": "round" })))), this.isOpen && (h("div", { class: "dropdown-menu" }, h("ul", { class: "filter-list" }, this.internalOptions.map((option) => (h("li", { key: option.tabId }, h("label", { class: "radio-label", htmlFor: option.value.replace(/\s+/g, '') }, h("input", { type: "radio", id: option.value.replace(/\s+/g, ''), name: "theater-filter", value: option.value, checked: this.selectedOptions.some((item) => item.value === option.value), "tab-id": option.tabId, "tag-name": option.tagName }), option.value))))), h("div", { class: "filter-btns" }, h("span", { class: "clear-btn", onClick: () => this.clearFilter() }, "Clear"), h("ptc-button", { type: "link", color: "ptc-secondary", onClick: () => this.emitSelectedOptions('applyButton'), styles: ' a span { font-size: 16px !important; } a{ padding: 10px 16px !important; }' }, "Apply"))))), h("div", { class: "hidden" }, h("slot", null))));
|
|
73
|
-
}
|
|
74
|
-
get hostElement() { return getElement(this); }
|
|
75
|
-
};
|
|
5
|
+
const PtcFilterDropdown = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.selectedFilterValues = createEvent(this, "selectedFilterValues", 7);
|
|
9
|
+
this.internalOptions = [];
|
|
10
|
+
this.selectedOptions = [];
|
|
11
|
+
this.placeholder = undefined;
|
|
12
|
+
this.selectedTag = undefined;
|
|
13
|
+
this.isOpen = false;
|
|
14
|
+
}
|
|
15
|
+
componentDidLoad() {
|
|
16
|
+
this.dropdownPlaceholder = this.hostElement.shadowRoot.querySelector('.dropdown-placeholder .dropdown-filter-name');
|
|
17
|
+
}
|
|
18
|
+
parseOptions() {
|
|
19
|
+
let options = Array.from(this.hostElement.querySelectorAll('span'));
|
|
20
|
+
if (options) {
|
|
21
|
+
this.internalOptions = options.map((option) => ({
|
|
22
|
+
tabId: option.getAttribute('tab-id'),
|
|
23
|
+
value: option.textContent,
|
|
24
|
+
tagName: option.getAttribute('tag-name'), // Store tag name in the options
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
27
|
+
//console.log(this.internalOptions);
|
|
28
|
+
}
|
|
29
|
+
toggleDropdown() {
|
|
30
|
+
this.isOpen = !this.isOpen;
|
|
31
|
+
}
|
|
32
|
+
clearFilter() {
|
|
33
|
+
this.selectedOptions = [];
|
|
34
|
+
const radioList = this.hostElement.shadowRoot.querySelectorAll('.filter-list input[type="radio"]');
|
|
35
|
+
radioList.forEach((radioItem) => {
|
|
36
|
+
if (radioItem instanceof HTMLInputElement) {
|
|
37
|
+
radioItem.checked = false;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
if (this.dropdownPlaceholder) {
|
|
41
|
+
this.dropdownPlaceholder.textContent = this.placeholder;
|
|
42
|
+
}
|
|
43
|
+
this.emitSelectedOptions('clearButton');
|
|
44
|
+
}
|
|
45
|
+
emitSelectedOptions(clickedButton) {
|
|
46
|
+
// debugger
|
|
47
|
+
this.selectedOptions = this.internalOptions
|
|
48
|
+
.filter((option) => {
|
|
49
|
+
const id = option.tabId;
|
|
50
|
+
return this.hostElement.shadowRoot.querySelector(`input[tab-id="${id}"]:checked`) !== null;
|
|
51
|
+
})
|
|
52
|
+
.map((option) => ({
|
|
53
|
+
tabId: option.tabId,
|
|
54
|
+
value: option.value,
|
|
55
|
+
tagName: option.tagName
|
|
56
|
+
}));
|
|
57
|
+
this.selectedFilterValues.emit({
|
|
58
|
+
sender: this,
|
|
59
|
+
selectedOptions: this.selectedOptions,
|
|
60
|
+
});
|
|
61
|
+
if (clickedButton == 'applyButton') {
|
|
62
|
+
this.toggleDropdown();
|
|
63
|
+
}
|
|
64
|
+
if (this.dropdownPlaceholder) {
|
|
65
|
+
this.dropdownPlaceholder.textContent = this.selectedOptions[0].value;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
componentWillRender() {
|
|
69
|
+
this.parseOptions();
|
|
70
|
+
}
|
|
71
|
+
render() {
|
|
72
|
+
return (h(Host, null, h("div", { class: "dropdown" }, h("div", { class: "dropdown-toggle", onClick: () => this.toggleDropdown() }, h("span", { class: "dropdown-placeholder" }, h("strong", null, "Filter: "), h("span", { class: "dropdown-filter-name" }, this.placeholder)), h("span", { class: "caret" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "7", viewBox: "0 0 12 7", fill: "none" }, h("path", { d: "M10.2426 1.24264L6 5.48528L1.75736 1.24264", stroke: "#20262A", "stroke-width": "2", "stroke-linecap": "round" })))), this.isOpen && (h("div", { class: "dropdown-menu" }, h("ul", { class: "filter-list" }, this.internalOptions.map((option) => (h("li", { key: option.tabId }, h("label", { class: "radio-label", htmlFor: option.value.replace(/\s+/g, '') }, h("input", { type: "radio", id: option.value.replace(/\s+/g, ''), name: "theater-filter", value: option.value, checked: this.selectedOptions.some((item) => item.value === option.value), "tab-id": option.tabId, "tag-name": option.tagName }), option.value))))), h("div", { class: "filter-btns" }, h("span", { class: "clear-btn", onClick: () => this.clearFilter() }, "Clear"), h("ptc-button", { type: "link", color: "ptc-secondary", onClick: () => this.emitSelectedOptions('applyButton'), styles: ' a span { font-size: 16px !important; } a{ padding: 10px 16px !important; }' }, "Apply"))))), h("div", { class: "hidden" }, h("slot", null))));
|
|
73
|
+
}
|
|
74
|
+
get hostElement() { return getElement(this); }
|
|
75
|
+
};
|
|
76
76
|
PtcFilterDropdown.style = ptcFilterDropdownCss;
|
|
77
77
|
|
|
78
|
-
const ptcTheaterVideoCss = "h1.sc-ptc-theater-video,h2.sc-ptc-theater-video,h3.sc-ptc-theater-video,h4.sc-ptc-theater-video,h5.sc-ptc-theater-video,h6.sc-ptc-theater-video,p.sc-ptc-theater-video,ul.sc-ptc-theater-video,li.sc-ptc-theater-video{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-theater-video,h2.sc-ptc-theater-video,h3.sc-ptc-theater-video,h4.sc-ptc-theater-video,h5.sc-ptc-theater-video,h6.sc-ptc-theater-video,p.sc-ptc-theater-video,ul.sc-ptc-theater-video,li.sc-ptc-theater-video{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}}.sc-ptc-theater-video-h{display:block;max-width:205px;min-width:205px;color:var(--color-white)}.hide.sc-ptc-theater-video-h{display:none}.show.sc-ptc-theater-video-h{display:inline-block}@media only screen and (min-width: 768px){.sc-ptc-theater-video-h{min-width:auto;min-width:205px}}@media only screen and (min-width: 1200px){.sc-ptc-theater-video-h{max-width:260px;min-width:260px}}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video{position:relative;border-radius:12px;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.24);cursor:pointer}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video img.sc-ptc-theater-video{max-width:100%;border-radius:12px}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video svg.sc-ptc-theater-video{fill:#FFF;filter:drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.5));position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video .card-number.sc-ptc-theater-video{position:absolute;left:6px;top:6px;width:32px;height:32px;background-color:var(--color-gray-09);border-radius:50%;border:2px solid var(--color-green-05);text-align:center;color:#FFF;font-size:18px;font-weight:700;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding-bottom:3px}.sc-ptc-theater-video-h h3.sc-ptc-theater-video{margin:12px 0 0 0;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);color:var(--color-white)}.sc-ptc-theater-video-h .hidden.sc-ptc-theater-video{display:none}";
|
|
78
|
+
const ptcTheaterVideoCss = "h1.sc-ptc-theater-video,h2.sc-ptc-theater-video,h3.sc-ptc-theater-video,h4.sc-ptc-theater-video,h5.sc-ptc-theater-video,h6.sc-ptc-theater-video,p.sc-ptc-theater-video,ul.sc-ptc-theater-video,li.sc-ptc-theater-video,ptc-subnav.sc-ptc-theater-video,ptc-tab-list.sc-ptc-theater-video,ptc-link.sc-ptc-theater-video{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-theater-video,h2.sc-ptc-theater-video,h3.sc-ptc-theater-video,h4.sc-ptc-theater-video,h5.sc-ptc-theater-video,h6.sc-ptc-theater-video,p.sc-ptc-theater-video,ul.sc-ptc-theater-video,li.sc-ptc-theater-video,ptc-subnav.sc-ptc-theater-video,ptc-tab-list.sc-ptc-theater-video,ptc-link.sc-ptc-theater-video{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}}.sc-ptc-theater-video-h{display:block;max-width:205px;min-width:205px;color:var(--color-white)}.hide.sc-ptc-theater-video-h{display:none}.show.sc-ptc-theater-video-h{display:inline-block}@media only screen and (min-width: 768px){.sc-ptc-theater-video-h{min-width:auto;min-width:205px}}@media only screen and (min-width: 1200px){.sc-ptc-theater-video-h{max-width:260px;min-width:260px}}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video{position:relative;border-radius:12px;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.24);cursor:pointer}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video img.sc-ptc-theater-video{max-width:100%;border-radius:12px}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video svg.sc-ptc-theater-video{fill:#FFF;filter:drop-shadow(0px 8px 12px rgba(0, 0, 0, 0.5));position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.sc-ptc-theater-video-h .img-wrap.sc-ptc-theater-video .card-number.sc-ptc-theater-video{position:absolute;left:6px;top:6px;width:32px;height:32px;background-color:var(--color-gray-09);border-radius:50%;border:2px solid var(--color-green-05);text-align:center;color:#FFF;font-size:18px;font-weight:700;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding-bottom:3px}.sc-ptc-theater-video-h h3.sc-ptc-theater-video{margin:12px 0 0 0;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);color:var(--color-white)}.sc-ptc-theater-video-h .hidden.sc-ptc-theater-video{display:none}";
|
|
79
79
|
|
|
80
|
-
const PtcTheaterVideo = class {
|
|
81
|
-
constructor(hostRef) {
|
|
82
|
-
registerInstance(this, hostRef);
|
|
83
|
-
this.vCardClicked = createEvent(this, "vCardClicked", 7);
|
|
84
|
-
this.cardTitle = undefined;
|
|
85
|
-
this.cardDescription = undefined;
|
|
86
|
-
this.thumbImg = undefined;
|
|
87
|
-
this.cardNumber = undefined;
|
|
88
|
-
this.videoId = undefined;
|
|
89
|
-
this.vtagName = undefined;
|
|
90
|
-
this.modalType = 'video-with-description';
|
|
91
|
-
}
|
|
92
|
-
showCardDetails() {
|
|
93
|
-
// Emit a custom event to signal that the card was clicked
|
|
94
|
-
// const cardClickEvent = new CustomEvent('cardClicked', {
|
|
95
|
-
// detail: this.cardTitle,
|
|
96
|
-
// });
|
|
97
|
-
// this.ele.dispatchEvent(cardClickEvent);
|
|
98
|
-
this.vCardClicked.emit({
|
|
99
|
-
'sender': this,
|
|
100
|
-
'cardNumber': this.cardNumber
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
render() {
|
|
104
|
-
return (h(Host, { "video-id": this.videoId, "vtag-name": this.vtagName, "modal-type": this.modalType }, h("div", { class: "img-wrap", onClick: () => this.showCardDetails() }, h("img", { src: this.thumbImg, alt: "" }), h("span", { class: 'card-number' }, this.cardNumber + 1), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "54", height: "56", viewBox: "0 0 54 56", fill: "none" }, h("g", { filter: "url(#filter0_d_214_969)" }, h("path", { d: "M42 20L12 36V4L42 20Z", fill: "white" })), h("defs", null, h("filter", { id: "filter0_d_214_969", x: "0", y: "0", width: "54", height: "56", filterUnits: "userSpaceOnUse", "color-interpolation-filters": "s-rGB" }, h("feFlood", { "flood-opacity": "0", result: "BackgroundImageFix" }), h("feColorMatrix", { 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" }), h("feOffset", { dy: "8" }), h("feGaussianBlur", { stdDeviation: "6" }), h("feComposite", { in2: "hardAlpha", operator: "out" }), h("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" }), h("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_214_969" }), h("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_214_969", result: "shape" }))))), h("h3", { class: 'vcard-title' }, this.cardTitle), h("div", { class: "hidden description" }, h("slot", null))));
|
|
105
|
-
}
|
|
106
|
-
get ele() { return getElement(this); }
|
|
107
|
-
};
|
|
80
|
+
const PtcTheaterVideo = class {
|
|
81
|
+
constructor(hostRef) {
|
|
82
|
+
registerInstance(this, hostRef);
|
|
83
|
+
this.vCardClicked = createEvent(this, "vCardClicked", 7);
|
|
84
|
+
this.cardTitle = undefined;
|
|
85
|
+
this.cardDescription = undefined;
|
|
86
|
+
this.thumbImg = undefined;
|
|
87
|
+
this.cardNumber = undefined;
|
|
88
|
+
this.videoId = undefined;
|
|
89
|
+
this.vtagName = undefined;
|
|
90
|
+
this.modalType = 'video-with-description';
|
|
91
|
+
}
|
|
92
|
+
showCardDetails() {
|
|
93
|
+
// Emit a custom event to signal that the card was clicked
|
|
94
|
+
// const cardClickEvent = new CustomEvent('cardClicked', {
|
|
95
|
+
// detail: this.cardTitle,
|
|
96
|
+
// });
|
|
97
|
+
// this.ele.dispatchEvent(cardClickEvent);
|
|
98
|
+
this.vCardClicked.emit({
|
|
99
|
+
'sender': this,
|
|
100
|
+
'cardNumber': this.cardNumber
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
render() {
|
|
104
|
+
return (h(Host, { "video-id": this.videoId, "vtag-name": this.vtagName, "modal-type": this.modalType }, h("div", { class: "img-wrap", onClick: () => this.showCardDetails() }, h("img", { src: this.thumbImg, alt: "" }), h("span", { class: 'card-number' }, this.cardNumber + 1), h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "54", height: "56", viewBox: "0 0 54 56", fill: "none" }, h("g", { filter: "url(#filter0_d_214_969)" }, h("path", { d: "M42 20L12 36V4L42 20Z", fill: "white" })), h("defs", null, h("filter", { id: "filter0_d_214_969", x: "0", y: "0", width: "54", height: "56", filterUnits: "userSpaceOnUse", "color-interpolation-filters": "s-rGB" }, h("feFlood", { "flood-opacity": "0", result: "BackgroundImageFix" }), h("feColorMatrix", { 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" }), h("feOffset", { dy: "8" }), h("feGaussianBlur", { stdDeviation: "6" }), h("feComposite", { in2: "hardAlpha", operator: "out" }), h("feColorMatrix", { type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0" }), h("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow_214_969" }), h("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow_214_969", result: "shape" }))))), h("h3", { class: 'vcard-title' }, this.cardTitle), h("div", { class: "hidden description" }, h("slot", null))));
|
|
105
|
+
}
|
|
106
|
+
get ele() { return getElement(this); }
|
|
107
|
+
};
|
|
108
108
|
PtcTheaterVideo.style = ptcTheaterVideoCss;
|
|
109
109
|
|
|
110
|
-
const ptcTheaterVideoPlaylistCss = "h1,h2,h3,h4,h5,h6,p,ul,li{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{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-list{display:flex;overflow-x:auto}@media only screen and (min-width: 768px){:host .card-list{flex-wrap:wrap}}";
|
|
110
|
+
const ptcTheaterVideoPlaylistCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .card-list{display:flex;overflow-x:auto}@media only screen and (min-width: 768px){:host .card-list{flex-wrap:wrap}}";
|
|
111
111
|
|
|
112
|
-
const PtcTheaterVideoPlaylist = class {
|
|
113
|
-
constructor(hostRef) {
|
|
114
|
-
registerInstance(this, hostRef);
|
|
115
|
-
this.cards = [];
|
|
116
|
-
this.currentCardIndex = 0;
|
|
117
|
-
this.filteredTagName = undefined;
|
|
118
|
-
this.cardElements = undefined;
|
|
119
|
-
}
|
|
120
|
-
componentWillLoad() {
|
|
121
|
-
this.cardElements = this.host.querySelectorAll('ptc-theater-video');
|
|
122
|
-
}
|
|
123
|
-
componentDidLoad() {
|
|
124
|
-
this.setupCards();
|
|
125
|
-
this.sortCards('');
|
|
126
|
-
}
|
|
127
|
-
handleFilterClick(event) {
|
|
128
|
-
const filters = event.detail;
|
|
129
|
-
this.filteredTagName = filters['selected-tag'];
|
|
130
|
-
this.sortCards(this.filteredTagName);
|
|
131
|
-
//this.updateCardData(filters.cardNumber)
|
|
132
|
-
}
|
|
133
|
-
handleVCardClickedEvent(event) {
|
|
134
|
-
const filters = event.detail;
|
|
135
|
-
console.log(filters);
|
|
136
|
-
}
|
|
137
|
-
sortCards(filterVideo) {
|
|
138
|
-
//const cardElements = this.host.querySelectorAll('ptc-theater-video');
|
|
139
|
-
this.cardElements.forEach((cardElement) => {
|
|
140
|
-
let tagNames;
|
|
141
|
-
if (cardElement.getAttribute('vtag-name')) {
|
|
142
|
-
tagNames = cardElement.getAttribute('vtag-name').split(",").map((item) => {
|
|
143
|
-
return item.trim();
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
const trimFilterVideo = filterVideo.trim();
|
|
147
|
-
if (trimFilterVideo !== "" && trimFilterVideo !== 'reset') {
|
|
148
|
-
if (tagNames.includes(trimFilterVideo)) {
|
|
149
|
-
cardElement.classList.add('show');
|
|
150
|
-
cardElement.classList.remove('hide');
|
|
151
|
-
}
|
|
152
|
-
else {
|
|
153
|
-
cardElement.classList.add('hide');
|
|
154
|
-
cardElement.classList.remove('show');
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
else {
|
|
158
|
-
cardElement.classList.add('show');
|
|
159
|
-
cardElement.classList.remove('hide');
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
setupCards() {
|
|
164
|
-
console.log('Setup called');
|
|
165
|
-
// const cardElements = this.host.querySelectorAll('ptc-theater-video');
|
|
166
|
-
// console.log(this.cardElements);
|
|
167
|
-
this.cardElements.forEach((cardElement, index) => {
|
|
168
|
-
this.cards.push(this.setCardData(cardElement, index));
|
|
169
|
-
cardElement.addEventListener('click', () => {
|
|
170
|
-
this.showCardDetails(index);
|
|
171
|
-
});
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
updateCardData(cardNumber) {
|
|
175
|
-
console.log('updateCard called');
|
|
176
|
-
// debugger
|
|
177
|
-
this.cards = [];
|
|
178
|
-
// const cardElements = this.host.querySelectorAll('ptc-theater-video');
|
|
179
|
-
// console.log(this.cardElements);
|
|
180
|
-
this.cardElements.forEach((cardElement, index) => {
|
|
181
|
-
const tagNames = cardElement.getAttribute('vtag-name').split(",").map((item) => {
|
|
182
|
-
return item.trim();
|
|
183
|
-
});
|
|
184
|
-
// this.cards.push(this.setCardData(cardElement, index));
|
|
185
|
-
if (this.filteredTagName !== "" && this.filteredTagName !== 'reset' && this.filteredTagName !== undefined && tagNames.includes(this.filteredTagName)) {
|
|
186
|
-
this.cards.push(this.setCardData(cardElement, index));
|
|
187
|
-
// const cardNumber = parseInt(cardElement.getAttribute('card-number'));
|
|
188
|
-
cardElement.addEventListener('click', () => {
|
|
189
|
-
this.showCardDetails(cardNumber);
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
else if (this.filteredTagName === 'reset') {
|
|
193
|
-
this.cards.push(this.setCardData(cardElement, index));
|
|
194
|
-
}
|
|
195
|
-
});
|
|
196
|
-
}
|
|
197
|
-
setCardData(cardElement, index) {
|
|
198
|
-
const cardData = {
|
|
199
|
-
title: cardElement.querySelector('.vcard-title').textContent,
|
|
200
|
-
cardDescription: cardElement.cardDescription,
|
|
201
|
-
descriptionModal: cardElement.querySelector('.description').innerHTML,
|
|
202
|
-
videoId: cardElement.getAttribute('video-id'),
|
|
203
|
-
vtagName: cardElement.getAttribute('vtag-name'),
|
|
204
|
-
cardNumber: cardElement.getAttribute('card-number'),
|
|
205
|
-
index: index,
|
|
206
|
-
modalType: cardElement.getAttribute('modal-type')
|
|
207
|
-
};
|
|
208
|
-
return cardData;
|
|
209
|
-
}
|
|
210
|
-
showCardDetails(index) {
|
|
211
|
-
this.currentCardIndex = index;
|
|
212
|
-
// this.showModal = true;
|
|
213
|
-
const modalElement = document.querySelector('ptc-theater-video-modal');
|
|
214
|
-
if (modalElement) {
|
|
215
|
-
modalElement.updateData(this.cards, this.currentCardIndex);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
render() {
|
|
219
|
-
return (h("div", { class: "card-list" }, h("slot", null)));
|
|
220
|
-
}
|
|
221
|
-
get host() { return getElement(this); }
|
|
222
|
-
};
|
|
112
|
+
const PtcTheaterVideoPlaylist = class {
|
|
113
|
+
constructor(hostRef) {
|
|
114
|
+
registerInstance(this, hostRef);
|
|
115
|
+
this.cards = [];
|
|
116
|
+
this.currentCardIndex = 0;
|
|
117
|
+
this.filteredTagName = undefined;
|
|
118
|
+
this.cardElements = undefined;
|
|
119
|
+
}
|
|
120
|
+
componentWillLoad() {
|
|
121
|
+
this.cardElements = this.host.querySelectorAll('ptc-theater-video');
|
|
122
|
+
}
|
|
123
|
+
componentDidLoad() {
|
|
124
|
+
this.setupCards();
|
|
125
|
+
this.sortCards('');
|
|
126
|
+
}
|
|
127
|
+
handleFilterClick(event) {
|
|
128
|
+
const filters = event.detail;
|
|
129
|
+
this.filteredTagName = filters['selected-tag'];
|
|
130
|
+
this.sortCards(this.filteredTagName);
|
|
131
|
+
//this.updateCardData(filters.cardNumber)
|
|
132
|
+
}
|
|
133
|
+
handleVCardClickedEvent(event) {
|
|
134
|
+
const filters = event.detail;
|
|
135
|
+
console.log(filters);
|
|
136
|
+
}
|
|
137
|
+
sortCards(filterVideo) {
|
|
138
|
+
//const cardElements = this.host.querySelectorAll('ptc-theater-video');
|
|
139
|
+
this.cardElements.forEach((cardElement) => {
|
|
140
|
+
let tagNames;
|
|
141
|
+
if (cardElement.getAttribute('vtag-name')) {
|
|
142
|
+
tagNames = cardElement.getAttribute('vtag-name').split(",").map((item) => {
|
|
143
|
+
return item.trim();
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
const trimFilterVideo = filterVideo.trim();
|
|
147
|
+
if (trimFilterVideo !== "" && trimFilterVideo !== 'reset') {
|
|
148
|
+
if (tagNames.includes(trimFilterVideo)) {
|
|
149
|
+
cardElement.classList.add('show');
|
|
150
|
+
cardElement.classList.remove('hide');
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
cardElement.classList.add('hide');
|
|
154
|
+
cardElement.classList.remove('show');
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
cardElement.classList.add('show');
|
|
159
|
+
cardElement.classList.remove('hide');
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
}
|
|
163
|
+
setupCards() {
|
|
164
|
+
console.log('Setup called');
|
|
165
|
+
// const cardElements = this.host.querySelectorAll('ptc-theater-video');
|
|
166
|
+
// console.log(this.cardElements);
|
|
167
|
+
this.cardElements.forEach((cardElement, index) => {
|
|
168
|
+
this.cards.push(this.setCardData(cardElement, index));
|
|
169
|
+
cardElement.addEventListener('click', () => {
|
|
170
|
+
this.showCardDetails(index);
|
|
171
|
+
});
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
updateCardData(cardNumber) {
|
|
175
|
+
console.log('updateCard called');
|
|
176
|
+
// debugger
|
|
177
|
+
this.cards = [];
|
|
178
|
+
// const cardElements = this.host.querySelectorAll('ptc-theater-video');
|
|
179
|
+
// console.log(this.cardElements);
|
|
180
|
+
this.cardElements.forEach((cardElement, index) => {
|
|
181
|
+
const tagNames = cardElement.getAttribute('vtag-name').split(",").map((item) => {
|
|
182
|
+
return item.trim();
|
|
183
|
+
});
|
|
184
|
+
// this.cards.push(this.setCardData(cardElement, index));
|
|
185
|
+
if (this.filteredTagName !== "" && this.filteredTagName !== 'reset' && this.filteredTagName !== undefined && tagNames.includes(this.filteredTagName)) {
|
|
186
|
+
this.cards.push(this.setCardData(cardElement, index));
|
|
187
|
+
// const cardNumber = parseInt(cardElement.getAttribute('card-number'));
|
|
188
|
+
cardElement.addEventListener('click', () => {
|
|
189
|
+
this.showCardDetails(cardNumber);
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
else if (this.filteredTagName === 'reset') {
|
|
193
|
+
this.cards.push(this.setCardData(cardElement, index));
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
setCardData(cardElement, index) {
|
|
198
|
+
const cardData = {
|
|
199
|
+
title: cardElement.querySelector('.vcard-title').textContent,
|
|
200
|
+
cardDescription: cardElement.cardDescription,
|
|
201
|
+
descriptionModal: cardElement.querySelector('.description').innerHTML,
|
|
202
|
+
videoId: cardElement.getAttribute('video-id'),
|
|
203
|
+
vtagName: cardElement.getAttribute('vtag-name'),
|
|
204
|
+
cardNumber: cardElement.getAttribute('card-number'),
|
|
205
|
+
index: index,
|
|
206
|
+
modalType: cardElement.getAttribute('modal-type')
|
|
207
|
+
};
|
|
208
|
+
return cardData;
|
|
209
|
+
}
|
|
210
|
+
showCardDetails(index) {
|
|
211
|
+
this.currentCardIndex = index;
|
|
212
|
+
// this.showModal = true;
|
|
213
|
+
const modalElement = document.querySelector('ptc-theater-video-modal');
|
|
214
|
+
if (modalElement) {
|
|
215
|
+
modalElement.updateData(this.cards, this.currentCardIndex);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
render() {
|
|
219
|
+
return (h("div", { class: "card-list" }, h("slot", null)));
|
|
220
|
+
}
|
|
221
|
+
get host() { return getElement(this); }
|
|
222
|
+
};
|
|
223
223
|
PtcTheaterVideoPlaylist.style = ptcTheaterVideoPlaylistCss;
|
|
224
224
|
|
|
225
225
|
export { PtcFilterDropdown as ptc_filter_dropdown, PtcTheaterVideo as ptc_theater_video, PtcTheaterVideoPlaylist as ptc_theater_video_playlist };
|