@ptcwebops/ptcw-design 3.4.0 → 3.4.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/author-listing-example.cjs.entry.js +232 -232
- package/dist/cjs/bundle-example.cjs.entry.js +43 -43
- package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +39 -39
- package/dist/cjs/dropdown-item.cjs.entry.js +10 -10
- package/dist/cjs/dynamic-box-bundle.cjs.entry.js +25 -25
- package/dist/cjs/embedded-form.cjs.entry.js +103 -103
- package/dist/cjs/featured-list.cjs.entry.js +90 -90
- package/dist/cjs/fl-tab-content_3.cjs.entry.js +44 -44
- package/dist/cjs/footer-form.cjs.entry.js +55 -55
- package/dist/cjs/icon-asset_4.cjs.entry.js +272 -272
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +21 -21
- package/dist/cjs/{interfaces-574e6df7.js → interfaces-0ecd8027.js} +9 -9
- package/dist/cjs/list-item.cjs.entry.js +24 -24
- package/dist/cjs/max-width-container.cjs.entry.js +43 -43
- package/dist/cjs/my-component.cjs.entry.js +15 -15
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +85 -85
- package/dist/cjs/ptc-accordion.cjs.entry.js +39 -39
- package/dist/cjs/ptc-back-to-top.cjs.entry.js +71 -71
- package/dist/cjs/ptc-background-video.cjs.entry.js +57 -57
- package/dist/cjs/ptc-bio-card.cjs.entry.js +24 -24
- package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +132 -132
- package/dist/cjs/ptc-brightcov-video.cjs.entry.js +46 -46
- package/dist/cjs/ptc-button.cjs.entry.js +64 -64
- package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +130 -130
- package/dist/cjs/ptc-card-content.cjs.entry.js +57 -57
- package/dist/cjs/ptc-card.cjs.entry.js +75 -75
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +77 -77
- package/dist/cjs/ptc-checkbox.cjs.entry.js +50 -50
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +397 -397
- package/dist/cjs/ptc-container.cjs.entry.js +33 -33
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +509 -509
- package/dist/cjs/ptc-date.cjs.entry.js +50 -50
- package/dist/cjs/ptc-dropdown.cjs.entry.js +64 -64
- package/dist/cjs/ptc-dynamic-card.cjs.entry.js +48 -48
- package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +46 -46
- package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +89 -89
- package/dist/cjs/ptc-featured-list.cjs.entry.js +95 -95
- package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +281 -281
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +66 -66
- package/dist/cjs/ptc-filter-tag.cjs.entry.js +57 -57
- package/dist/cjs/ptc-form-checkbox_3.cjs.entry.js +698 -698
- package/dist/cjs/ptc-form.cjs.entry.js +78 -78
- package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +11 -11
- package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
- package/dist/cjs/ptc-icon-component.cjs.entry.js +60 -60
- package/dist/cjs/ptc-icon-list.cjs.entry.js +21 -21
- package/dist/cjs/ptc-icon-minimize.cjs.entry.js +43 -43
- package/dist/cjs/ptc-image-download-strip.cjs.entry.js +18 -18
- package/dist/cjs/ptc-img.cjs.entry.js +122 -122
- package/dist/cjs/ptc-link.cjs.entry.js +79 -79
- package/dist/cjs/ptc-list.cjs.entry.js +49 -49
- package/dist/cjs/ptc-media-card.cjs.entry.js +51 -51
- package/dist/cjs/ptc-minimized-nav.cjs.entry.js +12 -12
- package/dist/cjs/ptc-mobile-select.cjs.entry.js +62 -62
- package/dist/cjs/ptc-modal-quiz.cjs.entry.js +115 -115
- package/dist/cjs/ptc-modal.cjs.entry.js +158 -158
- package/dist/cjs/ptc-nav-card.cjs.entry.js +36 -36
- package/dist/cjs/ptc-nav-link.cjs.entry.js +36 -36
- package/dist/cjs/ptc-nav-pills.cjs.entry.js +8 -8
- package/dist/cjs/ptc-nav-slider.cjs.entry.js +90 -90
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +37 -37
- package/dist/cjs/ptc-news.cjs.entry.js +24 -24
- package/dist/cjs/ptc-overlay.cjs.entry.js +23 -23
- package/dist/cjs/ptc-pagenation.cjs.entry.js +306 -306
- package/dist/cjs/ptc-para.cjs.entry.js +59 -59
- package/dist/cjs/ptc-picture.cjs.entry.js +152 -152
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +11 -11
- package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -11
- package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +17 -17
- package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +39 -39
- package/dist/cjs/ptc-pricing-block.cjs.entry.js +20 -20
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +359 -359
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +124 -124
- package/dist/cjs/ptc-product-card.cjs.entry.js +22 -22
- package/dist/cjs/ptc-product-category.cjs.entry.js +10 -10
- package/dist/cjs/ptc-product-dropdown.cjs.entry.js +69 -69
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +12 -12
- package/dist/cjs/ptc-product-list.cjs.entry.js +140 -140
- package/dist/cjs/ptc-product-sidebar.cjs.entry.js +128 -128
- package/dist/cjs/ptc-progress-bar.cjs.entry.js +16 -16
- package/dist/cjs/ptc-quote.cjs.entry.js +24 -24
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +24 -24
- package/dist/cjs/ptc-related-card-rail.cjs.entry.js +149 -149
- package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
- package/dist/cjs/ptc-search-field.cjs.entry.js +71 -71
- package/dist/cjs/ptc-seo-title.cjs.entry.js +71 -71
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +50 -50
- package/dist/cjs/ptc-slit-card.cjs.entry.js +25 -25
- package/dist/cjs/ptc-spacer.cjs.entry.js +27 -27
- package/dist/cjs/ptc-span.cjs.entry.js +20 -20
- package/dist/cjs/ptc-square-card.cjs.entry.js +10 -10
- package/dist/cjs/ptc-sticky-icons.cjs.entry.js +32 -32
- package/dist/cjs/ptc-sticky-section.cjs.entry.js +30 -30
- package/dist/cjs/ptc-sticky-title.cjs.entry.js +23 -23
- package/dist/cjs/ptc-subnav-card.cjs.entry.js +16 -16
- package/dist/cjs/ptc-subnav.cjs.entry.js +24 -24
- package/dist/cjs/ptc-svg-btn.cjs.entry.js +95 -95
- package/dist/cjs/ptc-tab-list.cjs.entry.js +143 -143
- package/dist/cjs/ptc-tab.cjs.entry.js +20 -20
- package/dist/cjs/ptc-tabs.cjs.entry.js +47 -47
- package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +44 -44
- package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +81 -81
- package/dist/cjs/ptc-title.cjs.entry.js +88 -88
- package/dist/cjs/ptc-two-column-media.cjs.entry.js +15 -15
- package/dist/cjs/ptc-value-led-card.cjs.entry.js +10 -10
- package/dist/cjs/ptc-value-led-content-highlight.cjs.entry.js +8 -8
- package/dist/cjs/ptc-value-led-content.cjs.entry.js +8 -8
- package/dist/cjs/ptc-value-led-intro.cjs.entry.js +10 -10
- package/dist/cjs/ptc-value-led-layout.cjs.entry.js +195 -195
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +21 -21
- package/dist/cjs/ptc-value-prop-card.cjs.entry.js +13 -13
- package/dist/cjs/ptc-white-paper.cjs.entry.js +102 -102
- package/dist/cjs/sequential-bundle-example.cjs.entry.js +108 -108
- package/dist/cjs/sequential-bundle.cjs.entry.js +88 -88
- package/dist/cjs/tab-content.cjs.entry.js +27 -27
- package/dist/cjs/tab-header.cjs.entry.js +65 -65
- package/dist/cjs/{utils-83c6d7a7.js → utils-e5a5f1bb.js} +115 -115
- package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
- package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
- package/dist/collection/components/icon-asset/icon-asset.css +4 -4
- 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 +489 -489
- 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.js +89 -89
- package/dist/collection/components/list-item/list-item.js +182 -182
- 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/embedded-form/embedded-form.js +120 -120
- 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/sequential-bundle/sequential-bundle.js +116 -116
- package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +93 -93
- 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.js +324 -324
- package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
- package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
- 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.js +200 -200
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
- package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
- package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +79 -79
- package/dist/collection/components/ptc-button/ptc-button.js +399 -399
- package/dist/collection/components/ptc-card/ptc-card.css +5 -5
- package/dist/collection/components/ptc-card/ptc-card.js +439 -439
- package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
- package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
- 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.js +91 -91
- package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
- package/dist/collection/components/ptc-container/ptc-container.js +138 -138
- package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +379 -379
- package/dist/collection/components/ptc-date/ptc-date.js +224 -224
- 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.js +192 -192
- package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
- 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.js +61 -61
- 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.js +61 -61
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +128 -128
- package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +4 -4
- 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.js +124 -124
- package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
- package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +284 -284
- package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
- 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.js +87 -87
- package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
- package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
- package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
- package/dist/collection/components/ptc-img/ptc-img.js +311 -311
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +355 -355
- package/dist/collection/components/ptc-link/ptc-link.js +288 -288
- package/dist/collection/components/ptc-list/ptc-list.js +99 -99
- package/dist/collection/components/ptc-media-card/ptc-media-card.js +233 -233
- package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
- package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +199 -199
- package/dist/collection/components/ptc-modal/ptc-modal.js +433 -433
- package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +191 -191
- package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
- package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
- package/dist/collection/components/ptc-news/ptc-news.js +176 -176
- package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
- package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
- package/dist/collection/components/ptc-para/ptc-para.js +268 -268
- package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
- 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.js +139 -139
- 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.js +70 -70
- 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.js +272 -272
- package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
- package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
- 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.js +96 -96
- package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
- package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
- package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
- package/dist/collection/components/ptc-quote/ptc-quote.js +145 -145
- package/dist/collection/components/ptc-readmore/ptc-readmore.js +326 -326
- 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.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.js +247 -247
- package/dist/collection/components/ptc-select/ptc-select.js +555 -555
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +314 -314
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
- package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
- package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
- 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.js +107 -107
- package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
- package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
- package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
- package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
- package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
- 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.js +104 -104
- package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +218 -218
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +525 -525
- package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +4 -4
- 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.js +128 -128
- package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +165 -165
- package/dist/collection/components/ptc-title/ptc-title.js +349 -349
- package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +361 -361
- 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.js +60 -60
- package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +18 -18
- 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 +2 -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 +1 -1
- package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +270 -270
- 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.js +117 -117
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +206 -206
- 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.js +133 -133
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
- package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +78 -78
- package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +151 -151
- package/dist/collection/components/tab-content/tab-content.js +84 -84
- 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/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 +417 -417
- package/dist/collection/utils/interfaces.js +11 -11
- package/dist/collection/utils/utils.js +116 -116
- package/dist/collection/utils/validation-messages.js +102 -102
- package/dist/custom-elements/index.js +9211 -9211
- package/dist/esm/author-listing-example.entry.js +232 -232
- package/dist/esm/bundle-example.entry.js +43 -43
- package/dist/esm/bundle-jumbotron-example.entry.js +39 -39
- package/dist/esm/dropdown-item.entry.js +10 -10
- package/dist/esm/dynamic-box-bundle.entry.js +25 -25
- package/dist/esm/embedded-form.entry.js +103 -103
- package/dist/esm/featured-list.entry.js +90 -90
- package/dist/esm/fl-tab-content_3.entry.js +44 -44
- package/dist/esm/footer-form.entry.js +55 -55
- package/dist/esm/icon-asset_4.entry.js +272 -272
- package/dist/esm/innovator-toggle-container.entry.js +21 -21
- package/dist/esm/{interfaces-4caedd26.js → interfaces-3cb94654.js} +9 -9
- package/dist/esm/list-item.entry.js +24 -24
- package/dist/esm/max-width-container.entry.js +43 -43
- package/dist/esm/my-component.entry.js +15 -15
- 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 +85 -85
- package/dist/esm/ptc-accordion.entry.js +39 -39
- package/dist/esm/ptc-back-to-top.entry.js +71 -71
- package/dist/esm/ptc-background-video.entry.js +57 -57
- package/dist/esm/ptc-bio-card.entry.js +24 -24
- package/dist/esm/ptc-breadcrumb_2.entry.js +132 -132
- package/dist/esm/ptc-brightcov-video.entry.js +46 -46
- package/dist/esm/ptc-button.entry.js +64 -64
- package/dist/esm/ptc-card-bottom_3.entry.js +130 -130
- package/dist/esm/ptc-card-content.entry.js +57 -57
- package/dist/esm/ptc-card.entry.js +75 -75
- package/dist/esm/ptc-case-studies-slider.entry.js +77 -77
- package/dist/esm/ptc-checkbox.entry.js +50 -50
- package/dist/esm/ptc-collapse-list.entry.js +397 -397
- package/dist/esm/ptc-container.entry.js +33 -33
- package/dist/esm/ptc-data-lookup.entry.js +509 -509
- package/dist/esm/ptc-date.entry.js +50 -50
- package/dist/esm/ptc-dropdown.entry.js +64 -64
- package/dist/esm/ptc-dynamic-card.entry.js +48 -48
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +46 -46
- package/dist/esm/ptc-embedded-quiz.entry.js +89 -89
- package/dist/esm/ptc-featured-list.entry.js +95 -95
- package/dist/esm/ptc-filter-dropdown_4.entry.js +281 -281
- package/dist/esm/ptc-filter-level-theater.entry.js +66 -66
- package/dist/esm/ptc-filter-tag.entry.js +57 -57
- package/dist/esm/ptc-form-checkbox_3.entry.js +698 -698
- package/dist/esm/ptc-form.entry.js +78 -78
- package/dist/esm/ptc-hero-footer-cta.entry.js +11 -11
- package/dist/esm/ptc-hero.entry.js +18 -18
- package/dist/esm/ptc-icon-component.entry.js +60 -60
- package/dist/esm/ptc-icon-list.entry.js +21 -21
- package/dist/esm/ptc-icon-minimize.entry.js +43 -43
- package/dist/esm/ptc-image-download-strip.entry.js +18 -18
- package/dist/esm/ptc-img.entry.js +122 -122
- package/dist/esm/ptc-link.entry.js +79 -79
- package/dist/esm/ptc-list.entry.js +49 -49
- package/dist/esm/ptc-media-card.entry.js +51 -51
- package/dist/esm/ptc-minimized-nav.entry.js +12 -12
- package/dist/esm/ptc-mobile-select.entry.js +62 -62
- package/dist/esm/ptc-modal-quiz.entry.js +115 -115
- package/dist/esm/ptc-modal.entry.js +158 -158
- package/dist/esm/ptc-nav-card.entry.js +36 -36
- package/dist/esm/ptc-nav-link.entry.js +36 -36
- package/dist/esm/ptc-nav-pills.entry.js +8 -8
- package/dist/esm/ptc-nav-slider.entry.js +90 -90
- package/dist/esm/ptc-nav-submenu.entry.js +37 -37
- package/dist/esm/ptc-news.entry.js +24 -24
- package/dist/esm/ptc-overlay.entry.js +23 -23
- package/dist/esm/ptc-pagenation.entry.js +306 -306
- package/dist/esm/ptc-para.entry.js +59 -59
- package/dist/esm/ptc-picture.entry.js +152 -152
- package/dist/esm/ptc-podcast-card.entry.js +11 -11
- package/dist/esm/ptc-previous-url.entry.js +11 -11
- package/dist/esm/ptc-pricing-add-on-card.entry.js +17 -17
- package/dist/esm/ptc-pricing-add-on-section.entry.js +39 -39
- package/dist/esm/ptc-pricing-block.entry.js +20 -20
- package/dist/esm/ptc-pricing-packaging-table.entry.js +359 -359
- package/dist/esm/ptc-pricing-tabs.entry.js +124 -124
- package/dist/esm/ptc-product-card.entry.js +22 -22
- package/dist/esm/ptc-product-category.entry.js +10 -10
- package/dist/esm/ptc-product-dropdown.entry.js +69 -69
- package/dist/esm/ptc-product-highlight-card.entry.js +12 -12
- package/dist/esm/ptc-product-list.entry.js +140 -140
- package/dist/esm/ptc-product-sidebar.entry.js +128 -128
- package/dist/esm/ptc-progress-bar.entry.js +16 -16
- package/dist/esm/ptc-quote.entry.js +24 -24
- package/dist/esm/ptc-readmore-char.entry.js +24 -24
- package/dist/esm/ptc-related-card-rail.entry.js +149 -149
- package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
- package/dist/esm/ptc-search-field.entry.js +71 -71
- package/dist/esm/ptc-seo-title.entry.js +71 -71
- package/dist/esm/ptc-shopping-cart.entry.js +50 -50
- package/dist/esm/ptc-slit-card.entry.js +25 -25
- package/dist/esm/ptc-spacer.entry.js +27 -27
- package/dist/esm/ptc-span.entry.js +20 -20
- package/dist/esm/ptc-square-card.entry.js +10 -10
- package/dist/esm/ptc-sticky-icons.entry.js +32 -32
- package/dist/esm/ptc-sticky-section.entry.js +30 -30
- package/dist/esm/ptc-sticky-title.entry.js +23 -23
- package/dist/esm/ptc-subnav-card.entry.js +16 -16
- package/dist/esm/ptc-subnav.entry.js +24 -24
- package/dist/esm/ptc-svg-btn.entry.js +95 -95
- package/dist/esm/ptc-tab-list.entry.js +143 -143
- package/dist/esm/ptc-tab.entry.js +20 -20
- package/dist/esm/ptc-tabs.entry.js +47 -47
- package/dist/esm/ptc-text-copy-with-background.entry.js +44 -44
- package/dist/esm/ptc-theater-video-modal.entry.js +81 -81
- package/dist/esm/ptc-title.entry.js +88 -88
- package/dist/esm/ptc-two-column-media.entry.js +15 -15
- package/dist/esm/ptc-value-led-card.entry.js +10 -10
- package/dist/esm/ptc-value-led-content-highlight.entry.js +8 -8
- package/dist/esm/ptc-value-led-content.entry.js +8 -8
- package/dist/esm/ptc-value-led-intro.entry.js +10 -10
- package/dist/esm/ptc-value-led-layout.entry.js +195 -195
- package/dist/esm/ptc-value-led-speed-bump.entry.js +21 -21
- package/dist/esm/ptc-value-prop-card.entry.js +13 -13
- package/dist/esm/ptc-white-paper.entry.js +102 -102
- package/dist/esm/sequential-bundle-example.entry.js +108 -108
- package/dist/esm/sequential-bundle.entry.js +88 -88
- package/dist/esm/tab-content.entry.js +27 -27
- package/dist/esm/tab-header.entry.js +65 -65
- package/dist/esm/{utils-ec03e51e.js → utils-984415da.js} +115 -115
- package/dist/ptcw-design/media/brands.svg +1381 -1381
- package/dist/ptcw-design/media/designer.svg +489 -489
- 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-3a291b61.entry.js → p-017d2640.entry.js} +1 -1
- package/dist/ptcw-design/{p-f5051648.entry.js → p-188bb3ee.entry.js} +1 -1
- package/dist/ptcw-design/{p-499565e9.entry.js → p-1d0a3a8c.entry.js} +1 -1
- package/dist/ptcw-design/p-27eaab9c.entry.js +1 -0
- package/dist/ptcw-design/{p-f3feb0d1.entry.js → p-2b6e3b8e.entry.js} +1 -1
- package/dist/ptcw-design/{p-93643ffd.entry.js → p-3b449f73.entry.js} +1 -1
- package/dist/ptcw-design/{p-73429b0c.entry.js → p-3ddcc5d9.entry.js} +1 -1
- package/dist/ptcw-design/p-54b4f87f.entry.js +1 -0
- package/dist/ptcw-design/p-570147ae.entry.js +1 -0
- package/dist/ptcw-design/{p-9a908785.entry.js → p-60b7ec2e.entry.js} +1 -1
- package/dist/ptcw-design/{p-c1bd1b09.entry.js → p-7a7d5274.entry.js} +1 -1
- package/dist/ptcw-design/{p-f2e2cf72.entry.js → p-a260fcb8.entry.js} +1 -1
- package/dist/ptcw-design/{p-f3f647db.entry.js → p-ac1af1bf.entry.js} +1 -1
- package/dist/ptcw-design/{p-874f8abe.entry.js → p-b9c64260.entry.js} +1 -1
- package/dist/ptcw-design/{p-50972a48.entry.js → p-cbe2a6b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-7da8c09a.entry.js → p-db6f16d0.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f34e6c8.entry.js → p-ef886da0.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.css +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/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 +18 -18
- 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/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/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-bio-card/ptc-bio-card.d.ts +27 -27
- package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
- 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-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 +26 -26
- 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 +12 -12
- 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 +76 -76
- 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-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-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 +29 -29
- 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 +23 -23
- 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-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 +36 -36
- 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 +3 -3
- 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 +25 -25
- 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 +236 -236
- package/dist/types/index.d.ts +1 -1
- 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 +8 -8
- package/dist/types/utils/validation-messages.d.ts +102 -102
- package/package.json +89 -89
- package/readme.md +19 -19
- package/dist/ptcw-design/p-4986e194.entry.js +0 -1
- package/dist/ptcw-design/p-9fdc5250.entry.js +0 -1
- package/dist/ptcw-design/p-acc71f4b.entry.js +0 -1
- /package/dist/ptcw-design/{p-711bcdad.js → p-240733ce.js} +0 -0
- /package/dist/ptcw-design/{p-40bd4f0a.js → p-9f7ced2b.js} +0 -0
|
@@ -6,109 +6,109 @@ const index = require('./index-cd9a1b1a.js');
|
|
|
6
6
|
|
|
7
7
|
const embeddedFormCss = ":host{display:block}.flex-adjustments{display:flex;justify-content:center}@media only screen and (min-width: 768px){.flex-adjustments{justify-content:flex-end}}.embedded-form-container{background-color:#142D48}.ptc-embedded-form.form-wrapper{max-width:361px;display:flex;border-radius:3px;background:#FFF;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.16);flex-direction:column;align-items:center;padding:24px 0px;justify-content:center}@media only screen and (min-width: 480px){.ptc-embedded-form.form-wrapper{width:361px}}@keyframes rollUp{from{height:auto;opacity:1}to{height:0;opacity:0}}.ptc-form-roll-up{animation:rollUp 1s forwards;}";
|
|
8
8
|
|
|
9
|
-
const EmbeddedForm = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.formData = {
|
|
13
|
-
email: '',
|
|
14
|
-
firstName: '',
|
|
15
|
-
lastName: '',
|
|
16
|
-
company: '',
|
|
17
|
-
country: '',
|
|
18
|
-
phone: '',
|
|
19
|
-
inquiryReason: '',
|
|
20
|
-
howhearselfreport: '',
|
|
21
|
-
policyChecked: false,
|
|
22
|
-
};
|
|
23
|
-
this.isSubmitted = false;
|
|
24
|
-
}
|
|
25
|
-
componentDidLoad() {
|
|
26
|
-
this.onDataLookup();
|
|
27
|
-
this.formButton = this.el.querySelector('.form-submit');
|
|
28
|
-
this.formButton.addEventListener('click', this.handleSubmit.bind(this));
|
|
29
|
-
//get Email
|
|
30
|
-
this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
|
|
31
|
-
this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
|
|
32
|
-
this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
|
|
33
|
-
this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
|
|
34
|
-
this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
|
|
35
|
-
this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]');
|
|
36
|
-
this.inquiryreasonEle = this.el.querySelector('ptc-select[field-id="contact-inquiry"]');
|
|
37
|
-
this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]');
|
|
38
|
-
this.policy1 = this.el.querySelector('ptc-form-checkbox[checkbox-id="policy1"]');
|
|
39
|
-
}
|
|
40
|
-
//handle dataLookup
|
|
41
|
-
onDataLookup() {
|
|
42
|
-
const dataLookupElement = this.el.closest('ptc-data-lookup');
|
|
43
|
-
if (dataLookupElement) {
|
|
44
|
-
console.log('Perform Data Lookup...');
|
|
45
|
-
dataLookupElement.performDataLookup();
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
console.log('No Data Lookup...');
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
// private init_notme(): void{
|
|
52
|
-
// const topAdditional = document.getElementById('not-me-additional-top');
|
|
53
|
-
// const bottomAdditional = document.getElementById('not-me-additional-bottom');
|
|
54
|
-
// console.log("top: " + topAdditional)
|
|
55
|
-
// if(topAdditional) topAdditional.style.display = 'none';
|
|
56
|
-
// if(bottomAdditional) bottomAdditional.style.display = 'none';
|
|
57
|
-
// }
|
|
58
|
-
handleInputChange(field, value) {
|
|
59
|
-
this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
|
|
60
|
-
}
|
|
61
|
-
handleSubmit(event) {
|
|
62
|
-
event.preventDefault();
|
|
63
|
-
this.formData.email = this.emailEle.inputValue;
|
|
64
|
-
this.formData.firstName = this.firstNameEle.inputValue;
|
|
65
|
-
this.formData.lastName = this.lastNameEle.inputValue;
|
|
66
|
-
this.formData.company = this.companyEle.inputValue;
|
|
67
|
-
this.formData.phone = this.phoneEle.inputValue;
|
|
68
|
-
this.formData.country = this.countryEle.selectedValue;
|
|
69
|
-
this.formData.inquiryReason = this.inquiryreasonEle.selectedValue;
|
|
70
|
-
this.formData.howhearselfreport = this.howhearselfreport.inputValue;
|
|
71
|
-
this.formData.policyChecked = this.policy1.isChecked;
|
|
72
|
-
if (this.formData.policyChecked) {
|
|
73
|
-
if (this.isValid()) {
|
|
74
|
-
const formSubmitEvent = new CustomEvent('formSubmit', {
|
|
75
|
-
detail: this.formData,
|
|
76
|
-
bubbles: true,
|
|
77
|
-
});
|
|
78
|
-
this.el.dispatchEvent(formSubmitEvent);
|
|
79
|
-
this.isSubmitted = true;
|
|
80
|
-
console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone, this.formData.country, this.formData.inquiryReason, this.formData.howhearselfreport, this.formData.policyChecked);
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
console.log('Form validation failed');
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
this.policy1.validateCheckbox();
|
|
88
|
-
console.log('Warning: Checkbox is not checked. This field is required');
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
isValid() {
|
|
92
|
-
const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
|
|
93
|
-
const invalidLength = document.querySelectorAll('.invalid-field').length;
|
|
94
|
-
// console.log('invalid fields length: ' + invalidLength), check the select field
|
|
95
|
-
return (email !== '' &&
|
|
96
|
-
phone !== '' &&
|
|
97
|
-
firstName !== '' &&
|
|
98
|
-
lastName !== '' &&
|
|
99
|
-
company !== '' &&
|
|
100
|
-
country !== '' &&
|
|
101
|
-
inquiryReason !== '' &&
|
|
102
|
-
howhearselfreport != '' &&
|
|
103
|
-
policyChecked &&
|
|
104
|
-
invalidLength === 0);
|
|
105
|
-
}
|
|
106
|
-
render() {
|
|
107
|
-
const formClass = this.isSubmitted ? "ptc-form-roll-up" : "";
|
|
108
|
-
return (index.h(index.Host, null, index.h("div", { class: "ptc-container ptc-section-standard flex-adjustments" }, index.h("div", { class: "form-wrapper ptc-embedded-form" }, index.h("max-width-container", { "max-width": "277", breakpoint: 480 }, index.h("ptc-title", { type: "h2", "text-align": "center", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" })), index.h("form", { onSubmit: event => this.handleSubmit(event), class: formClass }, index.h("div", { id: "not-me-link-id" }), index.h("div", { id: "not-me-additional-top", class: "not-me-additional-text" }), index.h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), index.h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), index.h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), index.h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email", "info-text": "Please include @ in the email address" }), index.h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country", "default-value": "USA" }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item", "data-value": "" }, index.h("span", { class: "mdc-list-item__ripple" })), index.h("li", { class: "mdc-list-item", "data-value": "USA" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "USA")), index.h("li", { class: "mdc-list-item", "data-value": "Canada" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Canada")), index.h("li", { class: "mdc-list-item", "data-value": "China" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "China")))), index.h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), index.h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry", "info-text": "info text example." }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item", "data-value": "" }, index.h("span", { class: "mdc-list-item__ripple" })), index.h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), index.h("li", { class: "mdc-list-item", "data-value": "CAD" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), index.h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), index.h("ptc-textfield", { "field-id": "self-reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), index.h("ptc-textfield", { type: "hidden", "ptc-data-eloqua-name": "test", "input-value": "test" }), index.h("ptc-form-checkbox", { label: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent nec ultricies risus. Praesent suscipit mauris vel augue facilisis, nec consequat ipsum placerat. Curabitur nisi elit, dignissim tincidunt tincidunt at, vehicula sit amet nisl. Maecenas sodales est vulputate ex feugiat tincidunt.", "checkbox-id": "policy1" }), index.h("div", { id: "not-me-additional-bottom", class: "not-me-additional-text" }), index.h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; margin-top: 12px; display:block; text-align:right;}" }, "Submit"))))));
|
|
109
|
-
}
|
|
110
|
-
get el() { return index.getElement(this); }
|
|
111
|
-
};
|
|
9
|
+
const EmbeddedForm = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.formData = {
|
|
13
|
+
email: '',
|
|
14
|
+
firstName: '',
|
|
15
|
+
lastName: '',
|
|
16
|
+
company: '',
|
|
17
|
+
country: '',
|
|
18
|
+
phone: '',
|
|
19
|
+
inquiryReason: '',
|
|
20
|
+
howhearselfreport: '',
|
|
21
|
+
policyChecked: false,
|
|
22
|
+
};
|
|
23
|
+
this.isSubmitted = false;
|
|
24
|
+
}
|
|
25
|
+
componentDidLoad() {
|
|
26
|
+
this.onDataLookup();
|
|
27
|
+
this.formButton = this.el.querySelector('.form-submit');
|
|
28
|
+
this.formButton.addEventListener('click', this.handleSubmit.bind(this));
|
|
29
|
+
//get Email
|
|
30
|
+
this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
|
|
31
|
+
this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
|
|
32
|
+
this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
|
|
33
|
+
this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
|
|
34
|
+
this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
|
|
35
|
+
this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]');
|
|
36
|
+
this.inquiryreasonEle = this.el.querySelector('ptc-select[field-id="contact-inquiry"]');
|
|
37
|
+
this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]');
|
|
38
|
+
this.policy1 = this.el.querySelector('ptc-form-checkbox[checkbox-id="policy1"]');
|
|
39
|
+
}
|
|
40
|
+
//handle dataLookup
|
|
41
|
+
onDataLookup() {
|
|
42
|
+
const dataLookupElement = this.el.closest('ptc-data-lookup');
|
|
43
|
+
if (dataLookupElement) {
|
|
44
|
+
console.log('Perform Data Lookup...');
|
|
45
|
+
dataLookupElement.performDataLookup();
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
console.log('No Data Lookup...');
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
// private init_notme(): void{
|
|
52
|
+
// const topAdditional = document.getElementById('not-me-additional-top');
|
|
53
|
+
// const bottomAdditional = document.getElementById('not-me-additional-bottom');
|
|
54
|
+
// console.log("top: " + topAdditional)
|
|
55
|
+
// if(topAdditional) topAdditional.style.display = 'none';
|
|
56
|
+
// if(bottomAdditional) bottomAdditional.style.display = 'none';
|
|
57
|
+
// }
|
|
58
|
+
handleInputChange(field, value) {
|
|
59
|
+
this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
|
|
60
|
+
}
|
|
61
|
+
handleSubmit(event) {
|
|
62
|
+
event.preventDefault();
|
|
63
|
+
this.formData.email = this.emailEle.inputValue;
|
|
64
|
+
this.formData.firstName = this.firstNameEle.inputValue;
|
|
65
|
+
this.formData.lastName = this.lastNameEle.inputValue;
|
|
66
|
+
this.formData.company = this.companyEle.inputValue;
|
|
67
|
+
this.formData.phone = this.phoneEle.inputValue;
|
|
68
|
+
this.formData.country = this.countryEle.selectedValue;
|
|
69
|
+
this.formData.inquiryReason = this.inquiryreasonEle.selectedValue;
|
|
70
|
+
this.formData.howhearselfreport = this.howhearselfreport.inputValue;
|
|
71
|
+
this.formData.policyChecked = this.policy1.isChecked;
|
|
72
|
+
if (this.formData.policyChecked) {
|
|
73
|
+
if (this.isValid()) {
|
|
74
|
+
const formSubmitEvent = new CustomEvent('formSubmit', {
|
|
75
|
+
detail: this.formData,
|
|
76
|
+
bubbles: true,
|
|
77
|
+
});
|
|
78
|
+
this.el.dispatchEvent(formSubmitEvent);
|
|
79
|
+
this.isSubmitted = true;
|
|
80
|
+
console.log('Form Submitted: ' + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone, this.formData.country, this.formData.inquiryReason, this.formData.howhearselfreport, this.formData.policyChecked);
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
console.log('Form validation failed');
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
this.policy1.validateCheckbox();
|
|
88
|
+
console.log('Warning: Checkbox is not checked. This field is required');
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
isValid() {
|
|
92
|
+
const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked } = this.formData;
|
|
93
|
+
const invalidLength = document.querySelectorAll('.invalid-field').length;
|
|
94
|
+
// console.log('invalid fields length: ' + invalidLength), check the select field
|
|
95
|
+
return (email !== '' &&
|
|
96
|
+
phone !== '' &&
|
|
97
|
+
firstName !== '' &&
|
|
98
|
+
lastName !== '' &&
|
|
99
|
+
company !== '' &&
|
|
100
|
+
country !== '' &&
|
|
101
|
+
inquiryReason !== '' &&
|
|
102
|
+
howhearselfreport != '' &&
|
|
103
|
+
policyChecked &&
|
|
104
|
+
invalidLength === 0);
|
|
105
|
+
}
|
|
106
|
+
render() {
|
|
107
|
+
const formClass = this.isSubmitted ? "ptc-form-roll-up" : "";
|
|
108
|
+
return (index.h(index.Host, null, index.h("div", { class: "ptc-container ptc-section-standard flex-adjustments" }, index.h("div", { class: "form-wrapper ptc-embedded-form" }, index.h("max-width-container", { "max-width": "277", breakpoint: 480 }, index.h("ptc-title", { type: "h2", "text-align": "center", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" })), index.h("form", { onSubmit: event => this.handleSubmit(event), class: formClass }, index.h("div", { id: "not-me-link-id" }), index.h("div", { id: "not-me-additional-top", class: "not-me-additional-text" }), index.h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), index.h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), index.h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), index.h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email", "info-text": "Please include @ in the email address" }), index.h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country", "default-value": "USA" }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item", "data-value": "" }, index.h("span", { class: "mdc-list-item__ripple" })), index.h("li", { class: "mdc-list-item", "data-value": "USA" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "USA")), index.h("li", { class: "mdc-list-item", "data-value": "Canada" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Canada")), index.h("li", { class: "mdc-list-item", "data-value": "China" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "China")))), index.h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), index.h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry", "info-text": "info text example." }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item", "data-value": "" }, index.h("span", { class: "mdc-list-item__ripple" })), index.h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), index.h("li", { class: "mdc-list-item", "data-value": "CAD" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), index.h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), index.h("ptc-textfield", { "field-id": "self-reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), index.h("ptc-textfield", { type: "hidden", "ptc-data-eloqua-name": "test", "input-value": "test" }), index.h("ptc-form-checkbox", { label: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent nec ultricies risus. Praesent suscipit mauris vel augue facilisis, nec consequat ipsum placerat. Curabitur nisi elit, dignissim tincidunt tincidunt at, vehicula sit amet nisl. Maecenas sodales est vulputate ex feugiat tincidunt.", "checkbox-id": "policy1" }), index.h("div", { id: "not-me-additional-bottom", class: "not-me-additional-text" }), index.h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; margin-top: 12px; display:block; text-align:right;}" }, "Submit"))))));
|
|
109
|
+
}
|
|
110
|
+
get el() { return index.getElement(this); }
|
|
111
|
+
};
|
|
112
112
|
EmbeddedForm.style = embeddedFormCss;
|
|
113
113
|
|
|
114
114
|
exports.embedded_form = EmbeddedForm;
|
|
@@ -4,97 +4,97 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-cd9a1b1a.js');
|
|
6
6
|
|
|
7
|
-
const featuredListCss = "a {\
|
|
7
|
+
const featuredListCss = "a {\n font-family: var(--ptc-font-latin);\n font-style: var(--ptc-font-style-normal);\n text-decoration-line: underline;\n color: var(--color-blue-07);\n transition: color var(--ptc-transition-medium) var(--ptc-ease-out);\n font-weight: var(--ptc-font-weight-bold);\n\n &:visited {\n color: var(--color-blue-10);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-blue-09);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-blue-08);\n }\n\n &.disabled {\n color: var(--color-gray-04) !important;\n cursor: not-allowed;\n }\n}\n\n.light-links,.background-grey-10,.background-plm-grey {\n a:not(.hero-footer-form-wrapper a), a.light-link {\n color: var(--color-blue-04);\n\n &:visited {\n color: var(--color-blue-06);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-blue-07);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-blue-05);\n }\n\n &.disabled {\n color: var(--color-gray-04) !important;\n cursor: not-allowed;\n }\n }\n}\n\n.ptc-link {\n color: var(--color-gray-10);\n text-decoration: underline;\n text-decoration-thickness: 2px;\n text-decoration-color: var(--color-green-06);\n text-underline-offset: 5px;\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\n\n &:hover {\n color: var(--color-green-06);\n }\n\n &:visited {\n color: var(--color-gray-10);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-green-06);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-green-06);\n }\n}\n\n.ptc-link-dark {\n color: var(--color-white);\n text-decoration: underline;\n text-decoration-thickness: 2px;\n text-decoration-color: var(--color-green-06);\n text-underline-offset: 5px;\n transition: text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);\n\n &:hover {\n color: var(--color-green-06);\n }\n\n &:visited {\n color: var(--color-white);\n }\n\n &:active,\n &:visited:active {\n // pressed\n color: var(--color-green-06);\n }\n\n &:hover,\n &:visited:hover {\n color: var(--color-green-06);\n }\n\n}\n\n :host {\n\t display: block;\n\t box-sizing: border-box;\n}\n :host ptc-background-video {\n\t height: 240px;\n}\n @media (min-width: 480px) {\n\t :host ptc-background-video {\n\t\t height: 320px;\n\t}\n}\n @media (min-width: 768px) {\n\t :host ptc-background-video {\n\t\t height: 450px;\n\t}\n}\n @media (min-width: 992px) {\n\t :host ptc-background-video {\n\t\t height: 500px;\n\t}\n}\n :host .fl-header {\n\t cursor: pointer;\n}\n :host .non-mobile-wrapper {\n\t box-sizing: border-box;\n}\n @media (min-width: 992px) {\n\t :host .non-mobile-wrapper {\n\t\t max-width: 1078px;\n\t\t margin: -75px auto 0 auto;\n\t\t display: flex;\n\t\t align-items: center;\n\t\t width: 100%;\n\t\t background: var(--color-white);\n\t\t box-shadow: var(--ptc-shadow-small);\n\t\t padding: 24px 32px;\n\t\t z-index: 1;\n\t\t position: relative;\n\t\t min-height: 350px;\n\t}\n}\n @media (min-width: 992px) {\n\t :host .non-mobile-wrapper .header-list-wrap {\n\t\t padding-right: 16px;\n\t\t margin-right: 64px;\n\t\t min-width: 270px;\n\t\t max-width: 270px;\n\t\t box-sizing: border-box;\n\t\t display: flex;\n\t\t flex-direction: column;\n\t\t align-items: baseline;\n\t}\n\t :host .non-mobile-wrapper .header-list-wrap::after {\n\t\t content: \"\";\n\t\t width: 1px;\n\t\t height: calc(100% - 48px);\n\t\t background-color: var(--color-gray-05);\n\t\t position: absolute;\n\t\t left: 297px;\n\t\t top: 24px;\n\t\t bottom: 24px;\n\t}\n}\n @media (min-width: 992px) {\n\t :host .non-mobile-wrapper .content-wrap {\n\t\t padding-right: 72px;\n\t}\n}\n :host .non-mobile-wrapper .fl-header {\n\t border-radius: 4px;\n\t margin: 12px 0;\n\t padding: 4px 8px;\n}\n :host .non-mobile-wrapper .fl-header:hover {\n\t background-color: var(--color-gray-02);\n}\n :host .non-mobile-wrapper .fl-header.selected, :host .non-mobile-wrapper .fl-header.init-active {\n\t background-color: var(--color-gray-03);\n}\n :host .mobile-wrapper .acc-item {\n\t border-bottom: 1px solid var(--color-gray-03);\n\t padding: 14px 30px;\n}\n :host .mobile-wrapper .acc-item fl-tab-header {\n\t padding-left: 34px;\n\t position: relative;\n}\n :host .mobile-wrapper .acc-item fl-tab-header::before {\n\t content: '';\n\t display: inline-block;\n\t width: 16px;\n\t height: 16px;\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_91_790)\"><path d=\"M15.9001 6.29998H9.7001V0.0999756H6.3001V6.29998H0.100098V9.69998H6.3001V15.9H9.7001V9.69998H15.9001V6.29998Z\" fill=\"%23006E09\"/></g><defs><clipPath id=\"clip0_91_790\"><rect width=\"16\" height=\"16\" fill=\"white\"/></clipPath></defs></svg>');\n\t vertical-align: middle;\n\t position: absolute;\n\t left: 0;\n\t top: 4.5px;\n}\n :host .mobile-wrapper .acc-item fl-tab-header.selected::before, :host .mobile-wrapper .acc-item fl-tab-header.init-active::before {\n\t background-image: url('data:image/svg+xml,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><g clip-path=\"url(%23clip0_113_741)\"><path d=\"M0 7.05566V10.8637H13.913V7.05566H0Z\" fill=\"%23323B42\"/></g><defs><clipPath id=\"clip0_113_741\"><rect width=\"13.913\" height=\"17.92\" fill=\"white\"/></clipPath></defs></svg>');\n}\n :host .mobile-wrapper .acc-item fl-tab-content {\n\t padding-left: 34px;\n\t padding-bottom: 18px;\n}\n";
|
|
8
8
|
|
|
9
|
-
const FeaturedList = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.isMobile = undefined;
|
|
13
|
-
this.selectedTabGloble = 'tab-01';
|
|
14
|
-
}
|
|
15
|
-
handleResize() {
|
|
16
|
-
this.isMobile = window.innerWidth < 992;
|
|
17
|
-
this.holdTabOnResize(this.selectedTabGloble);
|
|
18
|
-
}
|
|
19
|
-
componentWillLoad() {
|
|
20
|
-
this.isMobile = window.innerWidth < 992;
|
|
21
|
-
}
|
|
22
|
-
handleflTabClicked(event) {
|
|
23
|
-
this.selectedTabGloble = event.detail.name;
|
|
24
|
-
this.selectTab(this.selectedTabGloble);
|
|
25
|
-
}
|
|
26
|
-
holdTabOnResize(name) {
|
|
27
|
-
const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
|
|
28
|
-
const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
|
|
29
|
-
contentBlocks.forEach(content => {
|
|
30
|
-
if (content.classList.contains("init-active")) {
|
|
31
|
-
content.classList.remove("init-active");
|
|
32
|
-
}
|
|
33
|
-
content.getAttribute('name-key') === name ? (content.setAttribute('selected', 'selected')) : (content.removeAttribute('selected'));
|
|
34
|
-
});
|
|
35
|
-
headerBlocks.forEach(header => {
|
|
36
|
-
if (header.classList.contains("init-active")) {
|
|
37
|
-
header.classList.remove("init-active");
|
|
38
|
-
}
|
|
39
|
-
header.getAttribute('name-key') === name ? (header.setAttribute('selected', 'selected')) : (header.removeAttribute('selected'));
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
selectTab(name) {
|
|
43
|
-
const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
|
|
44
|
-
const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
|
|
45
|
-
const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
|
|
46
|
-
featuredImages.forEach(image => {
|
|
47
|
-
if (image.classList.contains("init-active")) {
|
|
48
|
-
image.classList.remove("init-active");
|
|
49
|
-
}
|
|
50
|
-
image.getAttribute('name-key') === name ? (image.setAttribute('selected', 'selected')) : (image.removeAttribute('selected'));
|
|
51
|
-
});
|
|
52
|
-
contentBlocks.forEach(content => {
|
|
53
|
-
this.updateActiveTab(name, content);
|
|
54
|
-
// Added code to recall readmore for hidden tabs
|
|
55
|
-
if (content.getAttribute('name-key') === name) {
|
|
56
|
-
const readMoreComp = content.querySelector('ptc-readmore');
|
|
57
|
-
if (readMoreComp) {
|
|
58
|
-
readMoreComp.updateReadmoreStatus();
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
headerBlocks.forEach(header => {
|
|
63
|
-
this.updateActiveTab(name, header);
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
updateActiveTab(name, tabName) {
|
|
67
|
-
if (this.isMobile) {
|
|
68
|
-
if (tabName.getAttribute('name-key') === name) {
|
|
69
|
-
if (tabName.classList.contains("init-active")) {
|
|
70
|
-
tabName.removeAttribute('selected');
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
tabName.getAttribute('selected') == 'selected' ? (tabName.removeAttribute('selected')) : (tabName.setAttribute('selected', 'selected'));
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
tabName.removeAttribute('selected');
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
tabName.getAttribute('name-key') === name ? (tabName.setAttribute('selected', 'selected')) : (tabName.removeAttribute('selected'));
|
|
82
|
-
}
|
|
83
|
-
if (tabName.classList.contains("init-active")) {
|
|
84
|
-
tabName.classList.remove("init-active");
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
render() {
|
|
88
|
-
return (index.h(index.Host, null, index.h("div", { class: "featured-image-wrap" }, index.h("fl-tab-image", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), index.h("fl-tab-image", { "name-key": "tab-02" }, index.h("ptc-background-video", { overlay: false, "play-button-title": "Play", "pause-button-title": "Pause", "video-src": "https://www.ptc.com/en/www.ptc.com//-/media/Videos/BRAND-FILM-CAR-SECTION-short-1mb.mp4", "poster-src": "https://www.ptc.com/-/media/Images/new-org/misc/W232501-LWX23-Hero-Banner-Video-FINAL-jebyrne-110922-screenshot.jpg" })), index.h("fl-tab-image", { "name-key": "tab-03" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/CIMC-1366x542.jpg?h=542&w=1366&la=en&hash=56AE14F73CFB62C24276D08E556B0949" })), index.h("fl-tab-image", { "name-key": "tab-04" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/ThingWorx_IIOT_CaterpillarCS_Img_1366x542.jpg?h=542&w=1366&la=en&hash=627ED00C1F58E3677A06F50C0F3009D6" }))), this.isMobile ? (
|
|
89
|
-
// Code for mobile only
|
|
90
|
-
index.h("div", { class: "mobile-wrapper" }, index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-content", { "name-key": "tab-02" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-content", { "name-key": "tab-03" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), index.h("fl-tab-content", { "name-key": "tab-04" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))
|
|
91
|
-
:
|
|
92
|
-
(
|
|
93
|
-
// Code for Desktop only
|
|
94
|
-
index.h("div", { class: "non-mobile-wrapper" }, index.h("div", { class: "header-list-wrap" }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), index.h("div", { class: "content-wrap" }, index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-02" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-03" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Deliver the future of transportation and mobility and gain competitive advantage. Explore automotive solutions for OEMs and suppliers so your team can help drive the future of transportation."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-04" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Navigate supply chain disruption while maximizing revenue growth and sustainability. Explore how PTC\u2019s digital solutions can accelerate product innovation, supply chain collaboration, and more."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
|
|
95
|
-
}
|
|
96
|
-
get hostElement() { return index.getElement(this); }
|
|
97
|
-
};
|
|
9
|
+
const FeaturedList = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.isMobile = undefined;
|
|
13
|
+
this.selectedTabGloble = 'tab-01';
|
|
14
|
+
}
|
|
15
|
+
handleResize() {
|
|
16
|
+
this.isMobile = window.innerWidth < 992;
|
|
17
|
+
this.holdTabOnResize(this.selectedTabGloble);
|
|
18
|
+
}
|
|
19
|
+
componentWillLoad() {
|
|
20
|
+
this.isMobile = window.innerWidth < 992;
|
|
21
|
+
}
|
|
22
|
+
handleflTabClicked(event) {
|
|
23
|
+
this.selectedTabGloble = event.detail.name;
|
|
24
|
+
this.selectTab(this.selectedTabGloble);
|
|
25
|
+
}
|
|
26
|
+
holdTabOnResize(name) {
|
|
27
|
+
const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
|
|
28
|
+
const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
|
|
29
|
+
contentBlocks.forEach(content => {
|
|
30
|
+
if (content.classList.contains("init-active")) {
|
|
31
|
+
content.classList.remove("init-active");
|
|
32
|
+
}
|
|
33
|
+
content.getAttribute('name-key') === name ? (content.setAttribute('selected', 'selected')) : (content.removeAttribute('selected'));
|
|
34
|
+
});
|
|
35
|
+
headerBlocks.forEach(header => {
|
|
36
|
+
if (header.classList.contains("init-active")) {
|
|
37
|
+
header.classList.remove("init-active");
|
|
38
|
+
}
|
|
39
|
+
header.getAttribute('name-key') === name ? (header.setAttribute('selected', 'selected')) : (header.removeAttribute('selected'));
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
selectTab(name) {
|
|
43
|
+
const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
|
|
44
|
+
const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
|
|
45
|
+
const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
|
|
46
|
+
featuredImages.forEach(image => {
|
|
47
|
+
if (image.classList.contains("init-active")) {
|
|
48
|
+
image.classList.remove("init-active");
|
|
49
|
+
}
|
|
50
|
+
image.getAttribute('name-key') === name ? (image.setAttribute('selected', 'selected')) : (image.removeAttribute('selected'));
|
|
51
|
+
});
|
|
52
|
+
contentBlocks.forEach(content => {
|
|
53
|
+
this.updateActiveTab(name, content);
|
|
54
|
+
// Added code to recall readmore for hidden tabs
|
|
55
|
+
if (content.getAttribute('name-key') === name) {
|
|
56
|
+
const readMoreComp = content.querySelector('ptc-readmore');
|
|
57
|
+
if (readMoreComp) {
|
|
58
|
+
readMoreComp.updateReadmoreStatus();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
headerBlocks.forEach(header => {
|
|
63
|
+
this.updateActiveTab(name, header);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
updateActiveTab(name, tabName) {
|
|
67
|
+
if (this.isMobile) {
|
|
68
|
+
if (tabName.getAttribute('name-key') === name) {
|
|
69
|
+
if (tabName.classList.contains("init-active")) {
|
|
70
|
+
tabName.removeAttribute('selected');
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
tabName.getAttribute('selected') == 'selected' ? (tabName.removeAttribute('selected')) : (tabName.setAttribute('selected', 'selected'));
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
tabName.removeAttribute('selected');
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
tabName.getAttribute('name-key') === name ? (tabName.setAttribute('selected', 'selected')) : (tabName.removeAttribute('selected'));
|
|
82
|
+
}
|
|
83
|
+
if (tabName.classList.contains("init-active")) {
|
|
84
|
+
tabName.classList.remove("init-active");
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
render() {
|
|
88
|
+
return (index.h(index.Host, null, index.h("div", { class: "featured-image-wrap" }, index.h("fl-tab-image", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), index.h("fl-tab-image", { "name-key": "tab-02" }, index.h("ptc-background-video", { overlay: false, "play-button-title": "Play", "pause-button-title": "Pause", "video-src": "https://www.ptc.com/en/www.ptc.com//-/media/Videos/BRAND-FILM-CAR-SECTION-short-1mb.mp4", "poster-src": "https://www.ptc.com/-/media/Images/new-org/misc/W232501-LWX23-Hero-Banner-Video-FINAL-jebyrne-110922-screenshot.jpg" })), index.h("fl-tab-image", { "name-key": "tab-03" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/CIMC-1366x542.jpg?h=542&w=1366&la=en&hash=56AE14F73CFB62C24276D08E556B0949" })), index.h("fl-tab-image", { "name-key": "tab-04" }, index.h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "https://www.ptc.com/-/media/Images/new-org/1366x542/ThingWorx_IIOT_CaterpillarCS_Img_1366x542.jpg?h=542&w=1366&la=en&hash=627ED00C1F58E3677A06F50C0F3009D6" }))), this.isMobile ? (
|
|
89
|
+
// Code for mobile only
|
|
90
|
+
index.h("div", { class: "mobile-wrapper" }, index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-content", { "name-key": "tab-02" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-content", { "name-key": "tab-03" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense"))), index.h("div", { class: 'acc-item' }, index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), index.h("fl-tab-content", { "name-key": "tab-04" }, index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))
|
|
91
|
+
:
|
|
92
|
+
(
|
|
93
|
+
// Code for Desktop only
|
|
94
|
+
index.h("div", { class: "non-mobile-wrapper" }, index.h("div", { class: "header-list-wrap" }, index.h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), index.h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), index.h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), index.h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), index.h("div", { class: "content-wrap" }, index.h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-02" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Adapt to ever-changing customer demands and increasing cost and competitive pressure. Explore digital solutions for driving engineering excellence, manufacturing efficiency, product innovation, and service optimization."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-03" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Deliver the future of transportation and mobility and gain competitive advantage. Explore automotive solutions for OEMs and suppliers so your team can help drive the future of transportation."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")), index.h("fl-tab-content", { "name-key": "tab-04" }, index.h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), index.h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, "Navigate supply chain disruption while maximizing revenue growth and sustainability. Explore how PTC\u2019s digital solutions can accelerate product innovation, supply chain collaboration, and more."), index.h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
|
|
95
|
+
}
|
|
96
|
+
get hostElement() { return index.getElement(this); }
|
|
97
|
+
};
|
|
98
98
|
FeaturedList.style = featuredListCss;
|
|
99
99
|
|
|
100
100
|
exports.featured_list = FeaturedList;
|
|
@@ -6,58 +6,58 @@ const index = require('./index-cd9a1b1a.js');
|
|
|
6
6
|
|
|
7
7
|
const flTabContentCss = ":host{display:none}:host(.init-active){display:block}:host(.selected){display:block}";
|
|
8
8
|
|
|
9
|
-
const FlTabContent = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
index.registerInstance(this, hostRef);
|
|
12
|
-
this.nameKey = undefined;
|
|
13
|
-
this.selected = false;
|
|
14
|
-
}
|
|
15
|
-
render() {
|
|
16
|
-
return (index.h(index.Host, { class: `featured-content ${this.selected ? 'selected' : ''}` }, index.h("div", { class: "fl-content-wrap" }, index.h("slot", null))));
|
|
17
|
-
}
|
|
18
|
-
};
|
|
9
|
+
const FlTabContent = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
this.nameKey = undefined;
|
|
13
|
+
this.selected = false;
|
|
14
|
+
}
|
|
15
|
+
render() {
|
|
16
|
+
return (index.h(index.Host, { class: `featured-content ${this.selected ? 'selected' : ''}` }, index.h("div", { class: "fl-content-wrap" }, index.h("slot", null))));
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
19
|
FlTabContent.style = flTabContentCss;
|
|
20
20
|
|
|
21
21
|
const flTabHeaderCss = ".sc-fl-tab-header-h{display:block}.sc-fl-tab-header-h p.sc-fl-tab-header{color:var(--color-gray-10);font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin:0;padding:0}@media only screen and (min-width: 992px){.sc-fl-tab-header-h p.sc-fl-tab-header{font-size:var(--ptc-font-size-small);padding:4px 8px;border-radius:var(--ptc-border-radius-standard);display:inline-block}.sc-fl-tab-header-h p.sc-fl-tab-header:hover{background-color:var(--color-gray-02)}.sc-fl-tab-header-h p.selected-p.sc-fl-tab-header,.sc-fl-tab-header-h p.selected-p-init.sc-fl-tab-header{background-color:var(--color-gray-03)}}";
|
|
22
22
|
|
|
23
|
-
const FlTabHeader = class {
|
|
24
|
-
constructor(hostRef) {
|
|
25
|
-
index.registerInstance(this, hostRef);
|
|
26
|
-
this.flTabClicked = index.createEvent(this, "flTabClicked", 7);
|
|
27
|
-
this.tabTitle = undefined;
|
|
28
|
-
this.nameKey = undefined;
|
|
29
|
-
this.selected = false;
|
|
30
|
-
this.initialHeader = false;
|
|
31
|
-
}
|
|
32
|
-
handleClick(event) {
|
|
33
|
-
this.flTabClicked.emit({
|
|
34
|
-
'sender': this,
|
|
35
|
-
'event': event,
|
|
36
|
-
'name': this.nameKey
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
componentWillLoad() {
|
|
40
|
-
this.initialHeader = this.el.classList.contains('init-active');
|
|
41
|
-
}
|
|
42
|
-
render() {
|
|
43
|
-
return (index.h(index.Host, { class: `fl-header ${this.selected ? 'selected' : ''}`, onClick: this.handleClick.bind(this) }, index.h("slot", null), index.h("p", { class: `${this.selected ? 'selected-p' : ''} ${this.initialHeader ? 'selected-p-init' : ''}` }, index.h("ptc-tooltip", { "text-display": "inline", "text-lines": "2", description: this.tabTitle, position: "bottom", width: "full-width", theme: "standard", "hide-on-mobile": "false" }))));
|
|
44
|
-
}
|
|
45
|
-
get el() { return index.getElement(this); }
|
|
46
|
-
};
|
|
23
|
+
const FlTabHeader = class {
|
|
24
|
+
constructor(hostRef) {
|
|
25
|
+
index.registerInstance(this, hostRef);
|
|
26
|
+
this.flTabClicked = index.createEvent(this, "flTabClicked", 7);
|
|
27
|
+
this.tabTitle = undefined;
|
|
28
|
+
this.nameKey = undefined;
|
|
29
|
+
this.selected = false;
|
|
30
|
+
this.initialHeader = false;
|
|
31
|
+
}
|
|
32
|
+
handleClick(event) {
|
|
33
|
+
this.flTabClicked.emit({
|
|
34
|
+
'sender': this,
|
|
35
|
+
'event': event,
|
|
36
|
+
'name': this.nameKey
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
componentWillLoad() {
|
|
40
|
+
this.initialHeader = this.el.classList.contains('init-active');
|
|
41
|
+
}
|
|
42
|
+
render() {
|
|
43
|
+
return (index.h(index.Host, { class: `fl-header ${this.selected ? 'selected' : ''}`, onClick: this.handleClick.bind(this) }, index.h("slot", null), index.h("p", { class: `${this.selected ? 'selected-p' : ''} ${this.initialHeader ? 'selected-p-init' : ''}` }, index.h("ptc-tooltip", { "text-display": "inline", "text-lines": "2", description: this.tabTitle, position: "bottom", width: "full-width", theme: "standard", "hide-on-mobile": "false" }))));
|
|
44
|
+
}
|
|
45
|
+
get el() { return index.getElement(this); }
|
|
46
|
+
};
|
|
47
47
|
FlTabHeader.style = flTabHeaderCss;
|
|
48
48
|
|
|
49
49
|
const flTabImageCss = ":host{display:none;height:240px}@media only screen and (min-width: 480px){:host{height:320px}}@media only screen and (min-width: 768px){:host{height:450px}}@media only screen and (min-width: 992px){:host{height:500px}}:host(.init-active){display:block}:host(.selected){display:block}";
|
|
50
50
|
|
|
51
|
-
const FlTabImage = class {
|
|
52
|
-
constructor(hostRef) {
|
|
53
|
-
index.registerInstance(this, hostRef);
|
|
54
|
-
this.nameKey = undefined;
|
|
55
|
-
this.selected = false;
|
|
56
|
-
}
|
|
57
|
-
render() {
|
|
58
|
-
return (index.h(index.Host, { class: `featured-img ${this.selected ? 'selected' : ''}` }, index.h("slot", null)));
|
|
59
|
-
}
|
|
60
|
-
};
|
|
51
|
+
const FlTabImage = class {
|
|
52
|
+
constructor(hostRef) {
|
|
53
|
+
index.registerInstance(this, hostRef);
|
|
54
|
+
this.nameKey = undefined;
|
|
55
|
+
this.selected = false;
|
|
56
|
+
}
|
|
57
|
+
render() {
|
|
58
|
+
return (index.h(index.Host, { class: `featured-img ${this.selected ? 'selected' : ''}` }, index.h("slot", null)));
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
61
|
FlTabImage.style = flTabImageCss;
|
|
62
62
|
|
|
63
63
|
exports.fl_tab_content = FlTabContent;
|