@ptcwebops/ptcw-design 3.2.4 → 3.2.6

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.
Files changed (605) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/author-listing-example.cjs.entry.js +232 -232
  3. package/dist/cjs/bundle-example.cjs.entry.js +43 -43
  4. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +39 -39
  5. package/dist/cjs/dropdown-item.cjs.entry.js +10 -10
  6. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +25 -25
  7. package/dist/cjs/embedded-form_9.cjs.entry.js +1468 -1467
  8. package/dist/cjs/featured-list.cjs.entry.js +90 -90
  9. package/dist/cjs/fl-tab-content_3.cjs.entry.js +44 -44
  10. package/dist/cjs/footer-form.cjs.entry.js +55 -55
  11. package/dist/cjs/icon-asset.cjs.entry.js +42 -42
  12. package/dist/cjs/innovator-toggle-container.cjs.entry.js +21 -21
  13. package/dist/cjs/{interfaces-0ecd8027.js → interfaces-574e6df7.js} +9 -9
  14. package/dist/cjs/list-item.cjs.entry.js +23 -23
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/my-component.cjs.entry.js +15 -15
  17. package/dist/cjs/ptc-accordion-item.cjs.entry.js +85 -84
  18. package/dist/cjs/ptc-accordion.cjs.entry.js +39 -39
  19. package/dist/cjs/ptc-announcement.cjs.entry.js +52 -52
  20. package/dist/cjs/ptc-back-to-top.cjs.entry.js +71 -71
  21. package/dist/cjs/ptc-background-video.cjs.entry.js +57 -57
  22. package/dist/cjs/ptc-bio-card.cjs.entry.js +24 -24
  23. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +132 -132
  24. package/dist/cjs/ptc-brightcov-video.cjs.entry.js +46 -46
  25. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +130 -130
  26. package/dist/cjs/ptc-card-content.cjs.entry.js +57 -57
  27. package/dist/cjs/ptc-card.cjs.entry.js +74 -74
  28. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +77 -77
  29. package/dist/cjs/ptc-checkbox.cjs.entry.js +50 -50
  30. package/dist/cjs/ptc-collapse-list.cjs.entry.js +397 -397
  31. package/dist/cjs/ptc-container.cjs.entry.js +33 -33
  32. package/dist/cjs/ptc-date.cjs.entry.js +50 -50
  33. package/dist/cjs/ptc-dropdown.cjs.entry.js +64 -64
  34. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +48 -48
  35. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +46 -46
  36. package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +89 -89
  37. package/dist/cjs/ptc-featured-list.cjs.entry.js +95 -95
  38. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +278 -278
  39. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +66 -66
  40. package/dist/cjs/ptc-filter-tag.cjs.entry.js +57 -57
  41. package/dist/cjs/ptc-form.cjs.entry.js +78 -78
  42. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +11 -11
  43. package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
  44. package/dist/cjs/ptc-icon-component.cjs.entry.js +60 -60
  45. package/dist/cjs/ptc-icon-list.cjs.entry.js +21 -21
  46. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +43 -43
  47. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +18 -18
  48. package/dist/cjs/ptc-img.cjs.entry.js +122 -122
  49. package/dist/cjs/ptc-link.cjs.entry.js +48 -48
  50. package/dist/cjs/ptc-list.cjs.entry.js +49 -49
  51. package/dist/cjs/ptc-media-card.cjs.entry.js +58 -58
  52. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +12 -12
  53. package/dist/cjs/ptc-mobile-select.cjs.entry.js +62 -62
  54. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +115 -115
  55. package/dist/cjs/ptc-modal.cjs.entry.js +158 -158
  56. package/dist/cjs/ptc-nav-card.cjs.entry.js +36 -36
  57. package/dist/cjs/ptc-nav-link.cjs.entry.js +36 -36
  58. package/dist/cjs/ptc-nav-pills.cjs.entry.js +8 -8
  59. package/dist/cjs/ptc-nav-slider.cjs.entry.js +90 -90
  60. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +37 -37
  61. package/dist/cjs/ptc-news.cjs.entry.js +24 -24
  62. package/dist/cjs/ptc-overlay.cjs.entry.js +23 -23
  63. package/dist/cjs/ptc-pagenation.cjs.entry.js +306 -306
  64. package/dist/cjs/ptc-para.cjs.entry.js +53 -51
  65. package/dist/cjs/ptc-picture.cjs.entry.js +152 -152
  66. package/dist/cjs/ptc-podcast-card.cjs.entry.js +11 -11
  67. package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -11
  68. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +17 -17
  69. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +38 -38
  70. package/dist/cjs/ptc-pricing-block.cjs.entry.js +20 -20
  71. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +359 -359
  72. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +124 -124
  73. package/dist/cjs/ptc-product-card.cjs.entry.js +22 -22
  74. package/dist/cjs/ptc-product-category.cjs.entry.js +10 -10
  75. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +69 -69
  76. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +12 -12
  77. package/dist/cjs/ptc-product-list.cjs.entry.js +140 -140
  78. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +128 -128
  79. package/dist/cjs/ptc-progress-bar.cjs.entry.js +16 -16
  80. package/dist/cjs/ptc-quote.cjs.entry.js +24 -24
  81. package/dist/cjs/ptc-readmore-char.cjs.entry.js +24 -24
  82. package/dist/cjs/ptc-readmore.cjs.entry.js +82 -82
  83. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +149 -149
  84. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
  85. package/dist/cjs/ptc-search-field.cjs.entry.js +71 -71
  86. package/dist/cjs/ptc-seo-title.cjs.entry.js +71 -71
  87. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +50 -50
  88. package/dist/cjs/ptc-slit-card.cjs.entry.js +25 -25
  89. package/dist/cjs/ptc-span.cjs.entry.js +20 -20
  90. package/dist/cjs/ptc-square-card.cjs.entry.js +10 -10
  91. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +32 -32
  92. package/dist/cjs/ptc-sticky-section.cjs.entry.js +30 -30
  93. package/dist/cjs/ptc-sticky-title.cjs.entry.js +23 -23
  94. package/dist/cjs/ptc-subnav-card.cjs.entry.js +16 -16
  95. package/dist/cjs/ptc-subnav.cjs.entry.js +24 -24
  96. package/dist/cjs/ptc-svg-btn.cjs.entry.js +95 -95
  97. package/dist/cjs/ptc-tab-list.cjs.entry.js +143 -143
  98. package/dist/cjs/ptc-tab.cjs.entry.js +20 -20
  99. package/dist/cjs/ptc-tabs.cjs.entry.js +47 -47
  100. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +44 -44
  101. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +81 -81
  102. package/dist/cjs/ptc-tooltip.cjs.entry.js +96 -96
  103. package/dist/cjs/ptc-two-column-media.cjs.entry.js +15 -15
  104. package/dist/cjs/ptc-value-led-card.cjs.entry.js +10 -10
  105. package/dist/cjs/ptc-value-led-content-highlight.cjs.entry.js +8 -8
  106. package/dist/cjs/ptc-value-led-content.cjs.entry.js +8 -8
  107. package/dist/cjs/ptc-value-led-intro.cjs.entry.js +9 -9
  108. package/dist/cjs/ptc-value-led-layout.cjs.entry.js +103 -103
  109. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +21 -21
  110. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +13 -13
  111. package/dist/cjs/ptc-white-paper.cjs.entry.js +333 -0
  112. package/dist/cjs/ptcw-design.cjs.js +1 -1
  113. package/dist/cjs/sequential-bundle-example.cjs.entry.js +108 -108
  114. package/dist/cjs/sequential-bundle.cjs.entry.js +88 -88
  115. package/dist/cjs/tab-content.cjs.entry.js +27 -27
  116. package/dist/cjs/tab-header.cjs.entry.js +65 -65
  117. package/dist/cjs/{utils-4e734752.js → utils-69557901.js} +105 -93
  118. package/dist/collection/collection-manifest.json +1 -0
  119. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  120. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
  121. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  122. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  123. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  124. package/dist/collection/components/icon-asset/media/designer.svg +489 -489
  125. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  126. package/dist/collection/components/icon-asset/media/solid.svg +3016 -3016
  127. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  128. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
  129. package/dist/collection/components/list-item/list-item.js +163 -163
  130. package/dist/collection/components/max-width-container/max-width-container.css +11 -11
  131. package/dist/collection/components/max-width-container/max-width-container.js +146 -146
  132. package/dist/collection/components/my-component/my-component.css +3 -3
  133. package/dist/collection/components/my-component/my-component.js +82 -82
  134. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +69 -69
  135. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +282 -282
  136. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
  137. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +79 -79
  138. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +219 -219
  139. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +122 -122
  140. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
  141. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
  142. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +120 -120
  143. package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +72 -72
  144. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.css +13 -13
  145. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +94 -94
  146. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
  147. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +90 -90
  148. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
  149. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +324 -306
  150. package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
  151. package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
  152. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +97 -97
  153. package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
  154. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
  155. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
  156. package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +79 -79
  157. package/dist/collection/components/ptc-button/ptc-button.js +323 -323
  158. package/dist/collection/components/ptc-card/ptc-card.js +439 -439
  159. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  160. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
  161. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +253 -253
  162. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
  163. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
  164. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
  165. package/dist/collection/components/ptc-container/ptc-container.js +138 -138
  166. package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +379 -379
  167. package/dist/collection/components/ptc-date/ptc-date.js +224 -224
  168. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  169. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  170. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +192 -192
  171. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
  172. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +146 -146
  173. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
  174. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +114 -114
  175. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
  176. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +128 -128
  177. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +5 -0
  178. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +143 -143
  179. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +124 -124
  180. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  181. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +266 -266
  182. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  183. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  184. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
  185. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  186. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
  187. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
  188. package/dist/collection/components/ptc-img/ptc-img.js +311 -311
  189. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +355 -355
  190. package/dist/collection/components/ptc-link/ptc-link.js +239 -239
  191. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  192. package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
  193. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
  194. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +199 -199
  195. package/dist/collection/components/ptc-modal/ptc-modal.js +433 -433
  196. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +191 -191
  197. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
  198. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
  199. package/dist/collection/components/ptc-news/ptc-news.js +176 -176
  200. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  201. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
  202. package/dist/collection/components/ptc-para/ptc-para.js +244 -242
  203. package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
  204. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
  205. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  206. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +139 -139
  207. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +75 -75
  208. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  209. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +501 -501
  210. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
  211. package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
  212. package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
  213. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
  214. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
  215. package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
  216. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
  217. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
  218. package/dist/collection/components/ptc-quote/ptc-quote.js +145 -145
  219. package/dist/collection/components/ptc-readmore/ptc-readmore.js +326 -326
  220. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
  221. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +190 -190
  222. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  223. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  224. package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
  225. package/dist/collection/components/ptc-select/ptc-select.js +555 -555
  226. package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +314 -314
  227. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  228. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  229. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
  230. package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
  231. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  232. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  233. package/dist/collection/components/ptc-span/ptc-span.js +107 -107
  234. package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
  235. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  236. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
  237. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
  238. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  239. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +214 -214
  240. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  241. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  242. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +218 -218
  243. package/dist/collection/components/ptc-textfield/ptc-textfield.js +524 -489
  244. package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +181 -181
  245. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +128 -128
  246. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +165 -165
  247. package/dist/collection/components/ptc-title/ptc-title.js +293 -310
  248. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +361 -361
  249. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  250. package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.js +60 -60
  251. package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +18 -18
  252. package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +18 -18
  253. package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.js +42 -42
  254. package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +156 -156
  255. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +97 -97
  256. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +117 -117
  257. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +5809 -0
  258. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +425 -0
  259. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +131 -131
  260. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
  261. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
  262. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +78 -78
  263. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +151 -151
  264. package/dist/collection/components/tab-content/tab-content.js +84 -84
  265. package/dist/collection/components/tab-header/tab-header.js +183 -183
  266. package/dist/collection/index.js +1 -1
  267. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  268. package/dist/collection/media/svg-imgs/close.svg +10 -10
  269. package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
  270. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  271. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  272. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  273. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  274. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  275. package/dist/collection/media/svg-imgs/union.svg +3 -3
  276. package/dist/collection/stories/Accordian.stories.js +205 -205
  277. package/dist/collection/stories/Announcement.stories.js +64 -64
  278. package/dist/collection/stories/BackgroundImage.stories.js +81 -81
  279. package/dist/collection/stories/Breadcrumb.stories.js +50 -50
  280. package/dist/collection/stories/Button.stories.js +119 -119
  281. package/dist/collection/stories/Card.stories.js +234 -234
  282. package/dist/collection/stories/CardWrapper.stories.js +270 -270
  283. package/dist/collection/stories/Checkbox.stories.js +52 -52
  284. package/dist/collection/stories/Date.stories.js +81 -81
  285. package/dist/collection/stories/Dropdown.stories.js +48 -48
  286. package/dist/collection/stories/DynamicCard.stories.js +68 -68
  287. package/dist/collection/stories/FilterTag.stories.js +73 -73
  288. package/dist/collection/stories/FormCheckbox.stories.js +57 -57
  289. package/dist/collection/stories/Hero.stories.js +119 -119
  290. package/dist/collection/stories/Icon.stories.js +71 -71
  291. package/dist/collection/stories/IconList.stories.js +114 -114
  292. package/dist/collection/stories/IconMinimize.stories.js +40 -40
  293. package/dist/collection/stories/Link.stories.js +107 -107
  294. package/dist/collection/stories/ListItem.stories.js +59 -59
  295. package/dist/collection/stories/MaxWidthContainer.stories.js +45 -45
  296. package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
  297. package/dist/collection/stories/MobileSelect.stories.js +79 -79
  298. package/dist/collection/stories/Modal.stories.js +105 -105
  299. package/dist/collection/stories/Overlay.stories.js +48 -48
  300. package/dist/collection/stories/Pagination.stories.js +101 -101
  301. package/dist/collection/stories/Paragraph.stories.js +95 -95
  302. package/dist/collection/stories/Picture.stories.js +139 -139
  303. package/dist/collection/stories/Quote.stories.js +107 -107
  304. package/dist/collection/stories/ReadMore.stories.js +100 -100
  305. package/dist/collection/stories/Select.stories.js +81 -81
  306. package/dist/collection/stories/SocialShare.stories.js +66 -66
  307. package/dist/collection/stories/Spacer.stories.js +48 -48
  308. package/dist/collection/stories/Span.stories.js +57 -57
  309. package/dist/collection/stories/SvgButton.stories.js +34 -34
  310. package/dist/collection/stories/Tabs.stories.js +213 -213
  311. package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
  312. package/dist/collection/stories/Textfield.stories.js +81 -81
  313. package/dist/collection/stories/Title.stories.js +115 -115
  314. package/dist/collection/stories/Tooltip.stories.js +112 -112
  315. package/dist/collection/utils/component.js +3 -3
  316. package/dist/collection/utils/elq-lib.js +417 -417
  317. package/dist/collection/utils/interfaces.js +11 -11
  318. package/dist/collection/utils/utils.js +105 -94
  319. package/dist/collection/utils/validation-messages.js +102 -102
  320. package/dist/custom-elements/index.d.ts +6 -0
  321. package/dist/custom-elements/index.js +9236 -8892
  322. package/dist/esm/author-listing-example.entry.js +232 -232
  323. package/dist/esm/bundle-example.entry.js +43 -43
  324. package/dist/esm/bundle-jumbotron-example.entry.js +39 -39
  325. package/dist/esm/dropdown-item.entry.js +10 -10
  326. package/dist/esm/dynamic-box-bundle.entry.js +25 -25
  327. package/dist/esm/embedded-form_9.entry.js +1468 -1467
  328. package/dist/esm/featured-list.entry.js +90 -90
  329. package/dist/esm/fl-tab-content_3.entry.js +44 -44
  330. package/dist/esm/footer-form.entry.js +55 -55
  331. package/dist/esm/icon-asset.entry.js +42 -42
  332. package/dist/esm/innovator-toggle-container.entry.js +21 -21
  333. package/dist/esm/{interfaces-3cb94654.js → interfaces-4caedd26.js} +9 -9
  334. package/dist/esm/list-item.entry.js +23 -23
  335. package/dist/esm/loader.js +1 -1
  336. package/dist/esm/my-component.entry.js +15 -15
  337. package/dist/esm/polyfills/core-js.js +0 -0
  338. package/dist/esm/polyfills/dom.js +0 -0
  339. package/dist/esm/polyfills/es5-html-element.js +0 -0
  340. package/dist/esm/polyfills/index.js +0 -0
  341. package/dist/esm/polyfills/system.js +0 -0
  342. package/dist/esm/ptc-accordion-item.entry.js +85 -84
  343. package/dist/esm/ptc-accordion.entry.js +39 -39
  344. package/dist/esm/ptc-announcement.entry.js +52 -52
  345. package/dist/esm/ptc-back-to-top.entry.js +71 -71
  346. package/dist/esm/ptc-background-video.entry.js +57 -57
  347. package/dist/esm/ptc-bio-card.entry.js +24 -24
  348. package/dist/esm/ptc-breadcrumb_2.entry.js +132 -132
  349. package/dist/esm/ptc-brightcov-video.entry.js +46 -46
  350. package/dist/esm/ptc-card-bottom_3.entry.js +130 -130
  351. package/dist/esm/ptc-card-content.entry.js +57 -57
  352. package/dist/esm/ptc-card.entry.js +74 -74
  353. package/dist/esm/ptc-case-studies-slider.entry.js +77 -77
  354. package/dist/esm/ptc-checkbox.entry.js +50 -50
  355. package/dist/esm/ptc-collapse-list.entry.js +397 -397
  356. package/dist/esm/ptc-container.entry.js +33 -33
  357. package/dist/esm/ptc-date.entry.js +50 -50
  358. package/dist/esm/ptc-dropdown.entry.js +64 -64
  359. package/dist/esm/ptc-dynamic-card.entry.js +48 -48
  360. package/dist/esm/ptc-ellipsis-dropdown.entry.js +46 -46
  361. package/dist/esm/ptc-embedded-quiz.entry.js +89 -89
  362. package/dist/esm/ptc-featured-list.entry.js +95 -95
  363. package/dist/esm/ptc-filter-dropdown_4.entry.js +278 -278
  364. package/dist/esm/ptc-filter-level-theater.entry.js +66 -66
  365. package/dist/esm/ptc-filter-tag.entry.js +57 -57
  366. package/dist/esm/ptc-form.entry.js +78 -78
  367. package/dist/esm/ptc-hero-footer-cta.entry.js +11 -11
  368. package/dist/esm/ptc-hero.entry.js +18 -18
  369. package/dist/esm/ptc-icon-component.entry.js +60 -60
  370. package/dist/esm/ptc-icon-list.entry.js +21 -21
  371. package/dist/esm/ptc-icon-minimize.entry.js +43 -43
  372. package/dist/esm/ptc-image-download-strip.entry.js +18 -18
  373. package/dist/esm/ptc-img.entry.js +122 -122
  374. package/dist/esm/ptc-link.entry.js +48 -48
  375. package/dist/esm/ptc-list.entry.js +49 -49
  376. package/dist/esm/ptc-media-card.entry.js +58 -58
  377. package/dist/esm/ptc-minimized-nav.entry.js +12 -12
  378. package/dist/esm/ptc-mobile-select.entry.js +62 -62
  379. package/dist/esm/ptc-modal-quiz.entry.js +115 -115
  380. package/dist/esm/ptc-modal.entry.js +158 -158
  381. package/dist/esm/ptc-nav-card.entry.js +36 -36
  382. package/dist/esm/ptc-nav-link.entry.js +36 -36
  383. package/dist/esm/ptc-nav-pills.entry.js +8 -8
  384. package/dist/esm/ptc-nav-slider.entry.js +90 -90
  385. package/dist/esm/ptc-nav-submenu.entry.js +37 -37
  386. package/dist/esm/ptc-news.entry.js +24 -24
  387. package/dist/esm/ptc-overlay.entry.js +23 -23
  388. package/dist/esm/ptc-pagenation.entry.js +306 -306
  389. package/dist/esm/ptc-para.entry.js +53 -51
  390. package/dist/esm/ptc-picture.entry.js +152 -152
  391. package/dist/esm/ptc-podcast-card.entry.js +11 -11
  392. package/dist/esm/ptc-previous-url.entry.js +11 -11
  393. package/dist/esm/ptc-pricing-add-on-card.entry.js +17 -17
  394. package/dist/esm/ptc-pricing-add-on-section.entry.js +38 -38
  395. package/dist/esm/ptc-pricing-block.entry.js +20 -20
  396. package/dist/esm/ptc-pricing-packaging-table.entry.js +359 -359
  397. package/dist/esm/ptc-pricing-tabs.entry.js +124 -124
  398. package/dist/esm/ptc-product-card.entry.js +22 -22
  399. package/dist/esm/ptc-product-category.entry.js +10 -10
  400. package/dist/esm/ptc-product-dropdown.entry.js +69 -69
  401. package/dist/esm/ptc-product-highlight-card.entry.js +12 -12
  402. package/dist/esm/ptc-product-list.entry.js +140 -140
  403. package/dist/esm/ptc-product-sidebar.entry.js +128 -128
  404. package/dist/esm/ptc-progress-bar.entry.js +16 -16
  405. package/dist/esm/ptc-quote.entry.js +24 -24
  406. package/dist/esm/ptc-readmore-char.entry.js +24 -24
  407. package/dist/esm/ptc-readmore.entry.js +82 -82
  408. package/dist/esm/ptc-related-card-rail.entry.js +149 -149
  409. package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
  410. package/dist/esm/ptc-search-field.entry.js +71 -71
  411. package/dist/esm/ptc-seo-title.entry.js +71 -71
  412. package/dist/esm/ptc-shopping-cart.entry.js +50 -50
  413. package/dist/esm/ptc-slit-card.entry.js +25 -25
  414. package/dist/esm/ptc-span.entry.js +20 -20
  415. package/dist/esm/ptc-square-card.entry.js +10 -10
  416. package/dist/esm/ptc-sticky-icons.entry.js +32 -32
  417. package/dist/esm/ptc-sticky-section.entry.js +30 -30
  418. package/dist/esm/ptc-sticky-title.entry.js +23 -23
  419. package/dist/esm/ptc-subnav-card.entry.js +16 -16
  420. package/dist/esm/ptc-subnav.entry.js +24 -24
  421. package/dist/esm/ptc-svg-btn.entry.js +95 -95
  422. package/dist/esm/ptc-tab-list.entry.js +143 -143
  423. package/dist/esm/ptc-tab.entry.js +20 -20
  424. package/dist/esm/ptc-tabs.entry.js +47 -47
  425. package/dist/esm/ptc-text-copy-with-background.entry.js +44 -44
  426. package/dist/esm/ptc-theater-video-modal.entry.js +81 -81
  427. package/dist/esm/ptc-tooltip.entry.js +96 -96
  428. package/dist/esm/ptc-two-column-media.entry.js +15 -15
  429. package/dist/esm/ptc-value-led-card.entry.js +10 -10
  430. package/dist/esm/ptc-value-led-content-highlight.entry.js +8 -8
  431. package/dist/esm/ptc-value-led-content.entry.js +8 -8
  432. package/dist/esm/ptc-value-led-intro.entry.js +9 -9
  433. package/dist/esm/ptc-value-led-layout.entry.js +103 -103
  434. package/dist/esm/ptc-value-led-speed-bump.entry.js +21 -21
  435. package/dist/esm/ptc-value-prop-card.entry.js +13 -13
  436. package/dist/esm/ptc-white-paper.entry.js +329 -0
  437. package/dist/esm/ptcw-design.js +1 -1
  438. package/dist/esm/sequential-bundle-example.entry.js +108 -108
  439. package/dist/esm/sequential-bundle.entry.js +88 -88
  440. package/dist/esm/tab-content.entry.js +27 -27
  441. package/dist/esm/tab-header.entry.js +65 -65
  442. package/dist/esm/{utils-4cafa40c.js → utils-063d1a12.js} +105 -94
  443. package/dist/ptcw-design/media/brands.svg +1381 -1381
  444. package/dist/ptcw-design/media/designer.svg +489 -489
  445. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  446. package/dist/ptcw-design/media/regular.svg +463 -463
  447. package/dist/ptcw-design/media/solid.svg +3016 -3016
  448. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  449. package/dist/ptcw-design/p-1cd21bb3.entry.js +1 -0
  450. package/dist/ptcw-design/{p-a5716559.entry.js → p-2c6cce6c.entry.js} +1 -1
  451. package/dist/ptcw-design/{p-6c32ca0e.entry.js → p-43433d99.entry.js} +1 -1
  452. package/dist/ptcw-design/{p-6ec80150.entry.js → p-46e3abad.entry.js} +1 -1
  453. package/dist/ptcw-design/{p-c382cb39.entry.js → p-4ca69fb3.entry.js} +16 -16
  454. package/dist/ptcw-design/{p-d82dc830.entry.js → p-57f477f7.entry.js} +1 -1
  455. package/dist/ptcw-design/{p-64052394.entry.js → p-5cf02899.entry.js} +1 -1
  456. package/dist/ptcw-design/p-6b659825.entry.js +1 -0
  457. package/dist/ptcw-design/p-76cfda92.entry.js +1 -0
  458. package/dist/ptcw-design/{p-af91e74f.entry.js → p-7a8726da.entry.js} +1 -1
  459. package/dist/ptcw-design/{p-028f77a5.entry.js → p-aef21138.entry.js} +1 -1
  460. package/dist/ptcw-design/p-e5486869.entry.js +1 -0
  461. package/dist/ptcw-design/p-f118b815.js +1 -0
  462. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  463. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  464. package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
  465. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  466. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
  467. package/dist/types/components/list-item/list-item.d.ts +17 -17
  468. package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
  469. package/dist/types/components/my-component/my-component.d.ts +16 -16
  470. package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -12
  471. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +14 -14
  472. package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
  473. package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
  474. package/dist/types/components/organism-bundles/form/embedded-form/embedded-form.d.ts +31 -31
  475. package/dist/types/components/organism-bundles/form/footer-form/footer-form.d.ts +14 -14
  476. package/dist/types/components/organism-bundles/form/ptc-form/ptc-form.d.ts +25 -25
  477. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
  478. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
  479. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +65 -63
  480. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
  481. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
  482. package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +10 -10
  483. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
  484. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
  485. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
  486. package/dist/types/components/ptc-brightcov-video/ptc-brightcov-video.d.ts +6 -6
  487. package/dist/types/components/ptc-button/ptc-button.d.ts +68 -68
  488. package/dist/types/components/ptc-card/ptc-card.d.ts +84 -84
  489. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  490. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
  491. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +30 -30
  492. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
  493. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
  494. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
  495. package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
  496. package/dist/types/components/ptc-data-lookup/ptc-data-lookup.d.ts +27 -27
  497. package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
  498. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  499. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +27 -27
  500. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
  501. package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +21 -21
  502. package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
  503. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +12 -12
  504. package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
  505. package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
  506. package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +26 -26
  507. package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +17 -17
  508. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  509. package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +25 -25
  510. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  511. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  512. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
  513. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  514. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
  515. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
  516. package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
  517. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +26 -26
  518. package/dist/types/components/ptc-link/ptc-link.d.ts +44 -44
  519. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  520. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
  521. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
  522. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  523. package/dist/types/components/ptc-modal/ptc-modal.d.ts +76 -76
  524. package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +36 -36
  525. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  526. package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
  527. package/dist/types/components/ptc-news/ptc-news.d.ts +36 -36
  528. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  529. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
  530. package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
  531. package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
  532. package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +15 -15
  533. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  534. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +31 -31
  535. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +22 -22
  536. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  537. package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +87 -87
  538. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
  539. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
  540. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
  541. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
  542. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
  543. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
  544. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
  545. package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
  546. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  547. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +58 -58
  548. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
  549. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +30 -30
  550. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  551. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
  552. package/dist/types/components/ptc-select/ptc-select.d.ts +29 -29
  553. package/dist/types/components/ptc-seo-title/ptc-seo-title.d.ts +55 -55
  554. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  555. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  556. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
  557. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
  558. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  559. package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
  560. package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
  561. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  562. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
  563. package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
  564. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  565. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +23 -23
  566. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  567. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  568. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +42 -42
  569. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +36 -35
  570. package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +14 -14
  571. package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +16 -16
  572. package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +26 -26
  573. package/dist/types/components/ptc-title/ptc-title.d.ts +55 -54
  574. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +63 -63
  575. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  576. package/dist/types/components/ptc-value-led-card/ptc-value-led-card.d.ts +5 -5
  577. package/dist/types/components/ptc-value-led-content/ptc-value-led-content.d.ts +3 -3
  578. package/dist/types/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.d.ts +3 -3
  579. package/dist/types/components/ptc-value-led-intro/ptc-value-led-intro.d.ts +4 -4
  580. package/dist/types/components/ptc-value-led-layout/ptc-value-led-layout.d.ts +16 -16
  581. package/dist/types/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.d.ts +10 -10
  582. package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +23 -23
  583. package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +41 -0
  584. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +26 -26
  585. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
  586. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
  587. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +11 -11
  588. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +31 -31
  589. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  590. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  591. package/dist/types/components.d.ts +266 -236
  592. package/dist/types/index.d.ts +1 -1
  593. package/dist/types/utils/component.d.ts +1 -1
  594. package/dist/types/utils/eloqua.d.ts +8 -8
  595. package/dist/types/utils/elq-lib.d.ts +55 -55
  596. package/dist/types/utils/interfaces.d.ts +32 -32
  597. package/dist/types/utils/utils.d.ts +7 -6
  598. package/dist/types/utils/validation-messages.d.ts +102 -102
  599. package/package.json +89 -89
  600. package/readme.md +19 -19
  601. package/dist/ptcw-design/p-568103b8.entry.js +0 -1
  602. package/dist/ptcw-design/p-5c1c23ad.js +0 -1
  603. package/dist/ptcw-design/p-ac566e05.entry.js +0 -1
  604. package/dist/ptcw-design/p-c3e21c68.entry.js +0 -1
  605. /package/dist/ptcw-design/{p-240733ce.js → p-711bcdad.js} +0 -0
@@ -2,95 +2,95 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement,
2
2
 
3
3
  const ptcEmbeddedQuizCss = ":host{display:block}:host .quiz-slide-container{position:relative;width:100%;border:1px solid var(--color-gray-12);background-color:white;z-index:1}:host .quiz-slide-container .quiz-slide-text-container{max-width:calc(24 * var(--ptc-element-spacing-07))}:host .quiz-slide-background{position:absolute;top:0;left:0;width:100%;height:100%;background:url(\"https://www.ptc.com/-/media/Development/Embedded-Vuforia-Quiz/vuforia-background-guide-01.svg\");background-size:cover;background-position:center;opacity:0.2;z-index:-1}:host .quiz-slide-initial{padding:var(--ptc-element-spacing-08);display:flex;justify-content:center}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-result .cta-container{display:flex;flex-direction:column;align-items:center}:host .quiz-slide-result .cta-container ptc-button{flex:1 0 100%;margin:0 0 var(--ptc-element-spacing-05) 0}:host .right-button-container{display:flex;justify-content:right}:host .right-button-container .restart-quiz-button{display:flex;margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) 0 0;transition:var(--ptc-transition-slow)}:host .right-button-container .restart-quiz-button #restart-arrow{display:flex;align-items:center}:host .right-button-container .restart-quiz-button #restart-arrow svg{z-index:2;margin-right:var(--ptc-element-spacing-03)}:host .right-button-container .restart-quiz-button:hover{cursor:pointer}:host .right-button-container .restart-quiz-button:hover #restart-arrow svg{transform:rotate(270deg)}:host .right-button-container .restart-quiz-button:hover ptc-para{opacity:0.7}:host .center-button-container{display:flex;justify-content:center}:host .previous-slide-button{display:flex;align-items:center;margin:0 0 var(--ptc-element-spacing-06) 0;transition:var(--ptc-transition-slow)}:host .previous-slide-button icon-asset{z-index:2;display:flex;align-items:center;margin-right:var(--ptc-element-spacing-03)}:host .previous-slide-button:hover{cursor:pointer}:host .previous-slide-button:hover icon-asset svg{transform:translateX(-8px)}:host .previous-slide-button:hover ptc-para{opacity:0.7}:host .quiz-slide-dual-layout .image-container{padding-top:var(--ptc-element-spacing-06);display:flex;justify-content:center;height:calc(4 * var(--ptc-element-spacing-08));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:100%}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .content-container .options-container{margin-top:var(--ptc-element-spacing-06);padding-left:var(--ptc-element-spacing-05);display:flex;flex-wrap:wrap;z-index:2}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 100%;margin-bottom:var(--ptc-element-spacing-06);display:flex;align-items:start;display:flex;align-items:flex-start}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio{width:16px;height:16px;border-radius:var(--ptc-border-radius-circle);border:var(--color-gray-10) solid 1px;z-index:2;padding:3px;box-sizing:border-box;flex-shrink:0;margin-top:var(--ptc-element-spacing-01);background-color:white}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio.clicked{border:var(--color-blue-08) solid 1px;background:var(--color-blue-08);background-clip:content-box, padding-box}:host .quiz-slide-dual-layout .content-container .options-container .radio-input ptc-para{padding:0 var(--ptc-element-spacing-02) 0 var(--ptc-element-spacing-03)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover{cursor:pointer}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover .radio{box-shadow:var(--ptc-shadow-x-small)}@media only screen and (min-width: 768px){:host .quiz-slide-container{min-height:calc(10 * var(--ptc-element-spacing-08));position:relative}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout{margin:0 var(--ptc-element-spacing-06) 0 var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .image-container{height:calc(9 * var(--ptc-element-spacing-06));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:auto}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 48%}}@media only screen and (min-width: 992px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout .image-container{height:calc(8 * var(--ptc-element-spacing-07));width:auto}}@media only screen and (min-width: 1200px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-01) + var(--ptc-element-spacing-06)) 0}:host .quiz-slide-result .cta-container{flex-direction:row}:host .quiz-slide-result .cta-container ptc-button{flex:none;margin:0 var(--ptc-element-spacing-05) 0 0}:host .quiz-slide-dual-layout{display:flex;margin-bottom:var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .image-container{flex-shrink:0;display:flex;align-items:center;height:calc(7 * var(--ptc-element-spacing-07));width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .image-container img{height:100%;max-height:calc(7 * var(--ptc-element-spacing-07));max-width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .content-container .options-container{padding-left:0}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:nth-of-type(odd){margin-right:4%}}@media only screen and (min-width: 1440px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 var(--ptc-element-spacing-07) 0}}";
4
4
 
5
- const PtcEmbeddedQuiz = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.optionClick = createEvent(this, "optionClick", 7);
9
- this.getQuizEndpoint = undefined;
10
- this.quiz = null;
11
- this.slide = null;
12
- this.traversal = [];
13
- }
14
- handleStartButtonClick() {
15
- this.slide = this.slide["next"];
16
- this.traversal.push("next");
17
- }
18
- handleRestartButtonClick() {
19
- this.slide = this.quiz;
20
- this.traversal = [];
21
- }
22
- handlePreviousButtonClick() {
23
- let previousSlide = this.quiz;
24
- for (let step of this.traversal.slice(0, this.traversal.length - 3)) {
25
- previousSlide = previousSlide[step];
26
- }
27
- this.slide = previousSlide;
28
- this.traversal = this.traversal.slice(0, this.traversal.length - 3);
29
- }
30
- handleQuestionOptionClick(dataModelId) {
31
- let selectedOptionRadio = this.el.shadowRoot.getElementById(`radio-${dataModelId}`);
32
- selectedOptionRadio.classList.add("clicked");
33
- setTimeout(() => {
34
- let [option, optionInd] = [null, null];
35
- let currentSlideOptions = this.slide["options"];
36
- for (let ind in currentSlideOptions) {
37
- if (currentSlideOptions[ind]["data-model-id"] === dataModelId) {
38
- option = currentSlideOptions[ind];
39
- optionInd = ind;
40
- break;
41
- }
42
- }
43
- this.optionClick.emit(option);
44
- if (option["next"] != null) {
45
- this.traversal = [...this.traversal, "options", optionInd, "next"];
46
- let nextImage = new Image();
47
- nextImage.src = option["next"]["image"];
48
- nextImage.onload = () => {
49
- this.slide = option["next"];
50
- selectedOptionRadio.classList.remove("clicked");
51
- };
52
- }
53
- }, 200);
54
- }
55
- componentWillLoad() {
56
- fetch(this.getQuizEndpoint)
57
- .then((response) => response.json())
58
- .then((responseJSON) => {
59
- this.quiz = responseJSON;
60
- this.slide = this.quiz;
61
- })
62
- .catch((err) => console.log("Quiz retireval error: ", err));
63
- }
64
- render() {
65
- const QuizSlideRestartButton = () => {
66
- return h("div", { class: "right-button-container" }, h("div", { class: "restart-quiz-button", onClick: () => this.handleRestartButtonClick() }, h("icon-asset", { id: "restart-arrow", type: "ptc", size: "small", name: "quiz-arrow-restart" }), h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, "Restart")));
67
- };
68
- const QuizSlidePreviousButton = props => {
69
- return h("div", { class: "center-button-container" }, h("div", { class: `previous-slide-button ${props.invisible ? "invisible" : ""}`, onClick: () => this.handlePreviousButtonClick() }, h("icon-asset", { id: "left-arrow", type: "ptc", size: "medium", name: "quiz-arrow-left", onClick: () => { } }), h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, "Previous")));
70
- };
71
- const QuizInitialSlide = () => {
72
- return (h("div", { class: "quiz-slide-initial" }, h("div", { class: "quiz-slide-content" }, h("div", { id: "initial-quiz-h2", class: "quiz-slide-text-container" }, h("ptc-title", { type: "h2", "text-align": "center", "title-size": "xx-large", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-8", "is-plm-hub": "false" }, this.slide["h2"])), h("ptc-spacer", { size: 'medium', breakpoint: 'small' }), h("ptc-spacer", { size: 'large', breakpoint: 'x-small' }), h("div", { id: "initial-quiz-h3", class: "quiz-slide-text-container" }, h("ptc-title", { type: "h3", "text-align": "center", "title-size": "large", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false" }, this.slide["h3"])), h("ptc-spacer", { size: 'x-large', breakpoint: 'small' }), h("ptc-spacer", { size: 'xx-large', breakpoint: 'x-small' }), h("div", { id: "initial-quiz-p", class: "quiz-slide-text-container" }, h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-4", "para-align": "center", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, this.slide["p"])), h("div", { class: "center-button-container" }, h("div", { id: "quiz-start-button", onClick: () => this.handleStartButtonClick() }, h("ptc-button", { type: "link", color: "ptc-tertiary", "link-href": "", target: "_blank" }, "Start"))))));
73
- };
74
- const QuizQuestionSlide = () => {
75
- return (h("div", { class: "quiz-slide-question" }, h("div", { class: "quiz-slide-content" }, h("div", { class: "quiz-slide-dual-layout" }, h("div", { class: "image-container" }, h("img", { alt: "", src: this.slide['image'] })), h("div", { class: "content-container" }, h("ptc-title", { type: "h4", "text-align": "left", "title-size": "medium", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false" }, this.slide["question"]), h("div", { class: "options-container" }, this.slide["options"].map(option => {
76
- return h("div", { class: "radio-input", onClick: () => this.handleQuestionOptionClick(option["data-model-id"]) }, h("span", { id: `radio-${option["data-model-id"]}`, class: "radio" }), h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, option["data-value"]));
77
- })))))));
78
- };
79
- const QuizResultSlide = () => {
80
- return (h("div", { class: "quiz-slide-result" }, h("div", { class: "quiz-slide-content" }, h("div", { class: "quiz-slide-dual-layout" }, h("div", { class: "image-container" }, h("img", { alt: "", src: this.slide["image"] })), h("div", { class: "content-container" }, h("ptc-title", { type: "h4", "text-align": "left", "title-size": "medium", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false" }, this.slide["title"]), h("ptc-spacer", { size: 'large', breakpoint: 'small' }), h("ptc-spacer", { size: 'x-large', breakpoint: 'x-small' }), h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-bottom-6", "para-style": "", "para-z-index": "z-1", styles: "" }, this.slide["description"]), h("div", { class: "cta-container" }, this.slide["cta-quaternary"] && h("ptc-button", { type: "link", color: "ptc-quaternary", "link-href": this.slide["cta-quaternary"]["href"], target: "_blank" }, this.slide["cta-quaternary"]["text"]), this.slide["cta-tertiary"] && h("ptc-button", { type: "link", color: "ptc-tertiary", "link-href": this.slide["cta-tertiary"]["href"], target: "_blank" }, this.slide["cta-tertiary"]["text"])))))));
81
- };
82
- const getQuizSlide = () => {
83
- switch (this.slide["slide-type"]) {
84
- case "initial": return h(QuizInitialSlide, null);
85
- case "question": return h(Fragment, null, h(QuizSlideRestartButton, null), h(QuizQuestionSlide, null), (this.traversal.length > 1) ? h(QuizSlidePreviousButton, null) : null);
86
- case "result": return h(Fragment, null, h(QuizSlideRestartButton, null), h(QuizResultSlide, null), h(QuizSlidePreviousButton, null));
87
- default: return null;
88
- }
89
- };
90
- return (h(Host, null, this.quiz && h("div", { class: "quiz-slide-container" }, h("div", { class: "quiz-slide-background" }), getQuizSlide())));
91
- }
92
- get el() { return getElement(this); }
93
- };
5
+ const PtcEmbeddedQuiz = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.optionClick = createEvent(this, "optionClick", 7);
9
+ this.getQuizEndpoint = undefined;
10
+ this.quiz = null;
11
+ this.slide = null;
12
+ this.traversal = [];
13
+ }
14
+ handleStartButtonClick() {
15
+ this.slide = this.slide["next"];
16
+ this.traversal.push("next");
17
+ }
18
+ handleRestartButtonClick() {
19
+ this.slide = this.quiz;
20
+ this.traversal = [];
21
+ }
22
+ handlePreviousButtonClick() {
23
+ let previousSlide = this.quiz;
24
+ for (let step of this.traversal.slice(0, this.traversal.length - 3)) {
25
+ previousSlide = previousSlide[step];
26
+ }
27
+ this.slide = previousSlide;
28
+ this.traversal = this.traversal.slice(0, this.traversal.length - 3);
29
+ }
30
+ handleQuestionOptionClick(dataModelId) {
31
+ let selectedOptionRadio = this.el.shadowRoot.getElementById(`radio-${dataModelId}`);
32
+ selectedOptionRadio.classList.add("clicked");
33
+ setTimeout(() => {
34
+ let [option, optionInd] = [null, null];
35
+ let currentSlideOptions = this.slide["options"];
36
+ for (let ind in currentSlideOptions) {
37
+ if (currentSlideOptions[ind]["data-model-id"] === dataModelId) {
38
+ option = currentSlideOptions[ind];
39
+ optionInd = ind;
40
+ break;
41
+ }
42
+ }
43
+ this.optionClick.emit(option);
44
+ if (option["next"] != null) {
45
+ this.traversal = [...this.traversal, "options", optionInd, "next"];
46
+ let nextImage = new Image();
47
+ nextImage.src = option["next"]["image"];
48
+ nextImage.onload = () => {
49
+ this.slide = option["next"];
50
+ selectedOptionRadio.classList.remove("clicked");
51
+ };
52
+ }
53
+ }, 200);
54
+ }
55
+ componentWillLoad() {
56
+ fetch(this.getQuizEndpoint)
57
+ .then((response) => response.json())
58
+ .then((responseJSON) => {
59
+ this.quiz = responseJSON;
60
+ this.slide = this.quiz;
61
+ })
62
+ .catch((err) => console.log("Quiz retireval error: ", err));
63
+ }
64
+ render() {
65
+ const QuizSlideRestartButton = () => {
66
+ return h("div", { class: "right-button-container" }, h("div", { class: "restart-quiz-button", onClick: () => this.handleRestartButtonClick() }, h("icon-asset", { id: "restart-arrow", type: "ptc", size: "small", name: "quiz-arrow-restart" }), h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, "Restart")));
67
+ };
68
+ const QuizSlidePreviousButton = props => {
69
+ return h("div", { class: "center-button-container" }, h("div", { class: `previous-slide-button ${props.invisible ? "invisible" : ""}`, onClick: () => this.handlePreviousButtonClick() }, h("icon-asset", { id: "left-arrow", type: "ptc", size: "medium", name: "quiz-arrow-left", onClick: () => { } }), h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, "Previous")));
70
+ };
71
+ const QuizInitialSlide = () => {
72
+ return (h("div", { class: "quiz-slide-initial" }, h("div", { class: "quiz-slide-content" }, h("div", { id: "initial-quiz-h2", class: "quiz-slide-text-container" }, h("ptc-title", { type: "h2", "text-align": "center", "title-size": "xx-large", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-8", "is-plm-hub": "false" }, this.slide["h2"])), h("ptc-spacer", { size: 'medium', breakpoint: 'small' }), h("ptc-spacer", { size: 'large', breakpoint: 'x-small' }), h("div", { id: "initial-quiz-h3", class: "quiz-slide-text-container" }, h("ptc-title", { type: "h3", "text-align": "center", "title-size": "large", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false" }, this.slide["h3"])), h("ptc-spacer", { size: 'x-large', breakpoint: 'small' }), h("ptc-spacer", { size: 'xx-large', breakpoint: 'x-small' }), h("div", { id: "initial-quiz-p", class: "quiz-slide-text-container" }, h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-4", "para-align": "center", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, this.slide["p"])), h("div", { class: "center-button-container" }, h("div", { id: "quiz-start-button", onClick: () => this.handleStartButtonClick() }, h("ptc-button", { type: "link", color: "ptc-tertiary", "link-href": "", target: "_blank" }, "Start"))))));
73
+ };
74
+ const QuizQuestionSlide = () => {
75
+ return (h("div", { class: "quiz-slide-question" }, h("div", { class: "quiz-slide-content" }, h("div", { class: "quiz-slide-dual-layout" }, h("div", { class: "image-container" }, h("img", { alt: "", src: this.slide['image'] })), h("div", { class: "content-container" }, h("ptc-title", { type: "h4", "text-align": "left", "title-size": "medium", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false" }, this.slide["question"]), h("div", { class: "options-container" }, this.slide["options"].map(option => {
76
+ return h("div", { class: "radio-input", onClick: () => this.handleQuestionOptionClick(option["data-model-id"]) }, h("span", { id: `radio-${option["data-model-id"]}`, class: "radio" }), h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush", "para-style": "", "para-z-index": "z-1", styles: "" }, option["data-value"]));
77
+ })))))));
78
+ };
79
+ const QuizResultSlide = () => {
80
+ return (h("div", { class: "quiz-slide-result" }, h("div", { class: "quiz-slide-content" }, h("div", { class: "quiz-slide-dual-layout" }, h("div", { class: "image-container" }, h("img", { alt: "", src: this.slide["image"] })), h("div", { class: "content-container" }, h("ptc-title", { type: "h4", "text-align": "left", "title-size": "medium", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-shadow": "", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false" }, this.slide["title"]), h("ptc-spacer", { size: 'large', breakpoint: 'small' }), h("ptc-spacer", { size: 'x-large', breakpoint: 'x-small' }), h("ptc-para", { "ellipsis-line-cutoff": "0", "font-size": "x-small", "font-weight": "w-4", "para-align": "left", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-bottom-6", "para-style": "", "para-z-index": "z-1", styles: "" }, this.slide["description"]), h("div", { class: "cta-container" }, this.slide["cta-quaternary"] && h("ptc-button", { type: "link", color: "ptc-quaternary", "link-href": this.slide["cta-quaternary"]["href"], target: "_blank" }, this.slide["cta-quaternary"]["text"]), this.slide["cta-tertiary"] && h("ptc-button", { type: "link", color: "ptc-tertiary", "link-href": this.slide["cta-tertiary"]["href"], target: "_blank" }, this.slide["cta-tertiary"]["text"])))))));
81
+ };
82
+ const getQuizSlide = () => {
83
+ switch (this.slide["slide-type"]) {
84
+ case "initial": return h(QuizInitialSlide, null);
85
+ case "question": return h(Fragment, null, h(QuizSlideRestartButton, null), h(QuizQuestionSlide, null), (this.traversal.length > 1) ? h(QuizSlidePreviousButton, null) : null);
86
+ case "result": return h(Fragment, null, h(QuizSlideRestartButton, null), h(QuizResultSlide, null), h(QuizSlidePreviousButton, null));
87
+ default: return null;
88
+ }
89
+ };
90
+ return (h(Host, null, this.quiz && h("div", { class: "quiz-slide-container" }, h("div", { class: "quiz-slide-background" }), getQuizSlide())));
91
+ }
92
+ get el() { return getElement(this); }
93
+ };
94
94
  PtcEmbeddedQuiz.style = ptcEmbeddedQuizCss;
95
95
 
96
96
  export { PtcEmbeddedQuiz as ptc_embedded_quiz };
@@ -2,101 +2,101 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-62
2
2
 
3
3
  const ptcFeaturedListCss = "a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-blue-07);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a),.background-plm-grey a.light-link{color:var(--color-blue-04)}.light-links a:not(.hero-footer-form-wrapper a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a):active,.light-links a:not(.hero-footer-form-wrapper a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a):hover,.light-links a:not(.hero-footer-form-wrapper a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}:host{display:block;box-sizing:border-box}:host ptc-background-video{height:240px}@media only screen and (min-width: 480px){:host ptc-background-video{height:320px}}@media only screen and (min-width: 768px){:host ptc-background-video{height:450px}}@media only screen and (min-width: 992px){:host ptc-background-video{height:500px}}:host .fl-header{cursor:pointer}:host .non-mobile-wrapper{box-sizing:border-box}@media only screen and (min-width: 992px){:host .non-mobile-wrapper{margin:-40px auto 0 auto;display:flex;align-items:center;width:100%;background:var(--color-white);box-shadow:var(--ptc-shadow-small);padding:24px 32px;z-index:1;position:relative;min-height:350px}}@media only screen and (min-width: 1200px){:host .non-mobile-wrapper{max-width:1136px}}@media (min-width: 1300px){:host .non-mobile-wrapper{margin:-75px auto 0 auto}}@media only screen and (min-width: 1440px){:host .non-mobile-wrapper{max-width:1200px}}@media only screen and (min-width: 992px){:host .non-mobile-wrapper .header-list-wrap{padding-right:16px;margin-right:64px;min-width:270px;max-width:270px;box-sizing:border-box;display:flex;flex-direction:column;align-items:baseline}:host .non-mobile-wrapper .header-list-wrap::after{content:\"\";width:1px;height:calc(100% - 48px);background-color:var(--color-gray-05);position:absolute;left:297px;top:24px;bottom:24px}}@media only screen and (min-width: 992px){:host .non-mobile-wrapper .content-wrap{padding-right:72px}}:host .non-mobile-wrapper .fl-header{margin:0;padding:12px 0;width:100%}:host .mobile-wrapper .acc-item{border-bottom:1px solid var(--color-gray-03);padding:14px 30px}:host .mobile-wrapper .acc-item fl-tab-header{padding-left:34px;position:relative}:host .mobile-wrapper .acc-item fl-tab-header::before{content:\"\";display:inline-block;width:16px;height:16px;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>');vertical-align:middle;position:absolute;left:0;top:4.5px}:host .mobile-wrapper .acc-item fl-tab-header.selected::before,:host .mobile-wrapper .acc-item fl-tab-header.init-active::before{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>')}:host .mobile-wrapper .acc-item fl-tab-content{padding-left:34px;padding-bottom:18px}";
4
4
 
5
- const PtcFeaturedList = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.isMobile = undefined;
9
- this.selectedTabGloble = 'tab-01';
10
- }
11
- handleResize() {
12
- this.isMobile = window.innerWidth < 992;
13
- this.holdTabOnResize(this.selectedTabGloble);
14
- }
15
- componentWillLoad() {
16
- this.isMobile = window.innerWidth < 992;
17
- }
18
- handleflTabClicked(event) {
19
- this.selectedTabGloble = event.detail.name;
20
- this.selectTab(this.selectedTabGloble);
21
- }
22
- holdTabOnResize(name) {
23
- const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
24
- const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
25
- contentBlocks.forEach(content => {
26
- if (content.classList.contains("init-active")) {
27
- content.classList.remove("init-active");
28
- }
29
- content.getAttribute('name-key') === name ? (content.setAttribute('selected', 'selected')) : (content.removeAttribute('selected'));
30
- });
31
- headerBlocks.forEach(header => {
32
- if (header.classList.contains("init-active")) {
33
- header.classList.remove("init-active");
34
- if (header.querySelector('p')) {
35
- header.querySelector('p').classList.remove('selected-p-init');
36
- }
37
- }
38
- header.getAttribute('name-key') === name ? (header.setAttribute('selected', 'selected')) : (header.removeAttribute('selected'));
39
- });
40
- }
41
- selectTab(name) {
42
- const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
43
- const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
44
- const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
45
- featuredImages.forEach(image => {
46
- if (image.classList.contains("init-active")) {
47
- image.classList.remove("init-active");
48
- }
49
- image.getAttribute('name-key') === name ? (image.setAttribute('selected', 'selected')) : (image.removeAttribute('selected'));
50
- });
51
- contentBlocks.forEach(content => {
52
- this.updateActiveTab(name, content);
53
- // Added code to recall readmore for hidden tabs
54
- if (content.getAttribute('name-key') === name) {
55
- const readMoreComp = content.querySelector('ptc-readmore');
56
- if (readMoreComp) {
57
- readMoreComp.updateReadmoreStatus();
58
- }
59
- }
60
- });
61
- headerBlocks.forEach(header => {
62
- this.updateActiveTab(name, header);
63
- });
64
- }
65
- updateActiveTab(name, tabName) {
66
- if (this.isMobile) {
67
- if (tabName.getAttribute('name-key') === name) {
68
- if (tabName.classList.contains("init-active")) {
69
- tabName.removeAttribute('selected');
70
- }
71
- else {
72
- tabName.getAttribute('selected') == 'selected' ? (tabName.removeAttribute('selected')) : (tabName.setAttribute('selected', 'selected'));
73
- }
74
- }
75
- else {
76
- tabName.removeAttribute('selected');
77
- }
78
- }
79
- else {
80
- tabName.getAttribute('name-key') === name ? (tabName.setAttribute('selected', 'selected')) : (tabName.removeAttribute('selected'));
81
- }
82
- if (tabName.classList.contains("init-active")) {
83
- tabName.classList.remove("init-active");
84
- if (tabName.querySelector('p')) {
85
- tabName.querySelector('p').classList.remove('selected-p-init');
86
- }
87
- }
88
- }
89
- render() {
90
- return (h(Host, null, h("div", { class: "featured-image-wrap" }, h("fl-tab-image", { "name-key": "tab-01", class: "init-active" }, h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), h("fl-tab-image", { "name-key": "tab-02" }, 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" })), h("fl-tab-image", { "name-key": "tab-03" }, 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" })), h("fl-tab-image", { "name-key": "tab-04" }, 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 ? (
91
- // Code for mobile only
92
- h("div", { class: "mobile-wrapper" }, h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "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. 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. 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. 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. 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.")), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), h("fl-tab-content", { "name-key": "tab-02" }, 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."), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h("fl-tab-content", { "name-key": "tab-03" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "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. 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. 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. 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. 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.")), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), h("fl-tab-content", { "name-key": "tab-04" }, 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."), h("a", { href: '#' }, "See More about Aerospace & Defense")))))
93
- :
94
- (
95
- // Code for Desktop only
96
- h("div", { class: "non-mobile-wrapper" }, h("div", { class: "header-list-wrap" }, h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), h("div", { class: "content-wrap" }, h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "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. 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. 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. 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. 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.")), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-02" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), 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."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-03" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), 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."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-04" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "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. 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. 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. 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. 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.")), h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
97
- }
98
- get hostElement() { return getElement(this); }
99
- };
5
+ const PtcFeaturedList = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.isMobile = undefined;
9
+ this.selectedTabGloble = 'tab-01';
10
+ }
11
+ handleResize() {
12
+ this.isMobile = window.innerWidth < 992;
13
+ this.holdTabOnResize(this.selectedTabGloble);
14
+ }
15
+ componentWillLoad() {
16
+ this.isMobile = window.innerWidth < 992;
17
+ }
18
+ handleflTabClicked(event) {
19
+ this.selectedTabGloble = event.detail.name;
20
+ this.selectTab(this.selectedTabGloble);
21
+ }
22
+ holdTabOnResize(name) {
23
+ const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
24
+ const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
25
+ contentBlocks.forEach(content => {
26
+ if (content.classList.contains("init-active")) {
27
+ content.classList.remove("init-active");
28
+ }
29
+ content.getAttribute('name-key') === name ? (content.setAttribute('selected', 'selected')) : (content.removeAttribute('selected'));
30
+ });
31
+ headerBlocks.forEach(header => {
32
+ if (header.classList.contains("init-active")) {
33
+ header.classList.remove("init-active");
34
+ if (header.querySelector('p')) {
35
+ header.querySelector('p').classList.remove('selected-p-init');
36
+ }
37
+ }
38
+ header.getAttribute('name-key') === name ? (header.setAttribute('selected', 'selected')) : (header.removeAttribute('selected'));
39
+ });
40
+ }
41
+ selectTab(name) {
42
+ const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
43
+ const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
44
+ const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
45
+ featuredImages.forEach(image => {
46
+ if (image.classList.contains("init-active")) {
47
+ image.classList.remove("init-active");
48
+ }
49
+ image.getAttribute('name-key') === name ? (image.setAttribute('selected', 'selected')) : (image.removeAttribute('selected'));
50
+ });
51
+ contentBlocks.forEach(content => {
52
+ this.updateActiveTab(name, content);
53
+ // Added code to recall readmore for hidden tabs
54
+ if (content.getAttribute('name-key') === name) {
55
+ const readMoreComp = content.querySelector('ptc-readmore');
56
+ if (readMoreComp) {
57
+ readMoreComp.updateReadmoreStatus();
58
+ }
59
+ }
60
+ });
61
+ headerBlocks.forEach(header => {
62
+ this.updateActiveTab(name, header);
63
+ });
64
+ }
65
+ updateActiveTab(name, tabName) {
66
+ if (this.isMobile) {
67
+ if (tabName.getAttribute('name-key') === name) {
68
+ if (tabName.classList.contains("init-active")) {
69
+ tabName.removeAttribute('selected');
70
+ }
71
+ else {
72
+ tabName.getAttribute('selected') == 'selected' ? (tabName.removeAttribute('selected')) : (tabName.setAttribute('selected', 'selected'));
73
+ }
74
+ }
75
+ else {
76
+ tabName.removeAttribute('selected');
77
+ }
78
+ }
79
+ else {
80
+ tabName.getAttribute('name-key') === name ? (tabName.setAttribute('selected', 'selected')) : (tabName.removeAttribute('selected'));
81
+ }
82
+ if (tabName.classList.contains("init-active")) {
83
+ tabName.classList.remove("init-active");
84
+ if (tabName.querySelector('p')) {
85
+ tabName.querySelector('p').classList.remove('selected-p-init');
86
+ }
87
+ }
88
+ }
89
+ render() {
90
+ return (h(Host, null, h("div", { class: "featured-image-wrap" }, h("fl-tab-image", { "name-key": "tab-01", class: "init-active" }, h("ptc-img", { "image-type": "smart-bg", "image-alignment": "center", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway" })), h("fl-tab-image", { "name-key": "tab-02" }, 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" })), h("fl-tab-image", { "name-key": "tab-03" }, 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" })), h("fl-tab-image", { "name-key": "tab-04" }, 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 ? (
91
+ // Code for mobile only
92
+ h("div", { class: "mobile-wrapper" }, h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "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. 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. 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. 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. 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.")), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), h("fl-tab-content", { "name-key": "tab-02" }, 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."), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h("fl-tab-content", { "name-key": "tab-03" }, h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "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. 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. 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. 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. 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.")), h("a", { href: '#' }, "See More about Aerospace & Defense"))), h("div", { class: 'acc-item' }, h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" }), h("fl-tab-content", { "name-key": "tab-04" }, 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."), h("a", { href: '#' }, "See More about Aerospace & Defense")))))
93
+ :
94
+ (
95
+ // Code for Desktop only
96
+ h("div", { class: "non-mobile-wrapper" }, h("div", { class: "header-list-wrap" }, h("fl-tab-header", { "name-key": "tab-01", "tab-title": "Aerospace & Defense", class: "init-active" }, " "), h("fl-tab-header", { "name-key": "tab-02", "tab-title": "Automotive" }), h("fl-tab-header", { "name-key": "tab-03", "tab-title": "Electronics & High-Tech" }), h("fl-tab-header", { "name-key": "tab-04", "tab-title": "Retail & Consumer Products" })), h("div", { class: "content-wrap" }, h("fl-tab-content", { "name-key": "tab-01", class: "init-active" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Aerospace & Defense"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "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. 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. 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. 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. 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.")), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-02" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Automotive"), 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."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-03" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Electronics & High-Tech"), 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."), h("a", { href: '#' }, "See More about Aerospace & Defense")), h("fl-tab-content", { "name-key": "tab-04" }, h("ptc-title", { type: 'h3', "title-size": 'large', upperline: "no-upperline", "title-margin": 'margin-flush' }, "Retail & Consumer Products"), h("ptc-para", { "para-line-h": 'line-height-p', "font-size": "small", "para-margin": "margin-3" }, h("ptc-readmore", { "visible-lines-custom": "7", "more-text": "Read More", "less-text": "Read Less", "read-more-position": "left", class: "inline" }, "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. 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. 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. 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. 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.")), h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
97
+ }
98
+ get hostElement() { return getElement(this); }
99
+ };
100
100
  PtcFeaturedList.style = ptcFeaturedListCss;
101
101
 
102
102
  export { PtcFeaturedList as ptc_featured_list };