@ptcwebops/ptcw-design 2.1.6 → 2.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (327) hide show
  1. package/dist/cjs/bundle-example.cjs.entry.js +1 -1
  2. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +1 -1
  3. package/dist/cjs/dropdown-item.cjs.entry.js +1 -1
  4. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +1 -1
  5. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  6. package/dist/cjs/fl-tab-content_3.cjs.entry.js +61 -0
  7. package/dist/cjs/icon-asset.cjs.entry.js +53 -0
  8. package/dist/cjs/{index-88135a6b.js → index-1662de74.js} +2 -0
  9. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  10. package/dist/cjs/list-item.cjs.entry.js +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/lottie-player.cjs.entry.js +1 -1
  13. package/dist/cjs/max-width-container.cjs.entry.js +8 -2
  14. package/dist/cjs/my-component.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
  16. package/dist/cjs/ptc-accordion.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-announcement.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-background-video_2.cjs.entry.js +195 -0
  20. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  21. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +2 -2
  22. package/dist/cjs/ptc-button.cjs.entry.js +48 -0
  23. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-card-content.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-card.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-checkbox.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-container.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-date.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-dropdown.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-featured-list.cjs.entry.js +93 -0
  35. package/dist/cjs/ptc-filter-tag.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-hero.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-icon-component.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-icon-list.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +1 -1
  41. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +1 -1
  42. package/dist/cjs/ptc-link.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-list.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-lottie.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +1 -1
  47. package/dist/cjs/ptc-mobile-select.cjs.entry.js +1 -1
  48. package/dist/cjs/ptc-modal.cjs.entry.js +1 -1
  49. package/dist/cjs/ptc-nav-card.cjs.entry.js +1 -1
  50. package/dist/cjs/ptc-nav-link.cjs.entry.js +1 -1
  51. package/dist/cjs/ptc-nav-pills.cjs.entry.js +1 -1
  52. package/dist/cjs/ptc-nav-slider.cjs.entry.js +1 -1
  53. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
  54. package/dist/cjs/ptc-news.cjs.entry.js +1 -1
  55. package/dist/cjs/ptc-overlay.cjs.entry.js +1 -1
  56. package/dist/cjs/ptc-pagenation.cjs.entry.js +1 -1
  57. package/dist/cjs/ptc-para.cjs.entry.js +62 -0
  58. package/dist/cjs/ptc-picture.cjs.entry.js +1 -1
  59. package/dist/cjs/ptc-previous-url.cjs.entry.js +1 -1
  60. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +27 -0
  61. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +50 -0
  62. package/dist/cjs/ptc-pricing-block.cjs.entry.js +1 -1
  63. package/dist/cjs/ptc-pricing-table.cjs.entry.js +437 -0
  64. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  65. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  66. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  67. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +1 -1
  68. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  69. package/dist/cjs/ptc-product-list.cjs.entry.js +1 -1
  70. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +1 -1
  71. package/dist/cjs/ptc-progress-bar.cjs.entry.js +1 -1
  72. package/dist/cjs/ptc-quote.cjs.entry.js +1 -1
  73. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  74. package/dist/cjs/ptc-readmore.cjs.entry.js +1 -1
  75. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +1 -1
  76. package/dist/cjs/ptc-search-field.cjs.entry.js +1 -1
  77. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +1 -1
  78. package/dist/cjs/ptc-slit-card.cjs.entry.js +1 -1
  79. package/dist/cjs/ptc-social-share.cjs.entry.js +1 -1
  80. package/dist/cjs/ptc-spacer.cjs.entry.js +1 -1
  81. package/dist/cjs/ptc-span.cjs.entry.js +1 -1
  82. package/dist/cjs/ptc-square-card.cjs.entry.js +2 -2
  83. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +1 -1
  84. package/dist/cjs/ptc-sticky-section.cjs.entry.js +1 -1
  85. package/dist/cjs/ptc-sticky-title.cjs.entry.js +1 -1
  86. package/dist/cjs/ptc-subnav-card.cjs.entry.js +1 -1
  87. package/dist/cjs/ptc-subnav.cjs.entry.js +1 -1
  88. package/dist/cjs/ptc-svg-btn.cjs.entry.js +1 -1
  89. package/dist/cjs/ptc-tab-list.cjs.entry.js +2 -2
  90. package/dist/cjs/ptc-tab.cjs.entry.js +1 -1
  91. package/dist/cjs/ptc-tabs.cjs.entry.js +1 -1
  92. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
  93. package/dist/cjs/ptc-title.cjs.entry.js +78 -0
  94. package/dist/cjs/ptc-tooltip.cjs.entry.js +106 -0
  95. package/dist/cjs/ptc-two-column-media.cjs.entry.js +1 -1
  96. package/dist/cjs/ptcw-design.cjs.js +2 -2
  97. package/dist/cjs/sequential-bundle-example.cjs.entry.js +1 -1
  98. package/dist/cjs/sequential-bundle.cjs.entry.js +1 -1
  99. package/dist/cjs/tab-content.cjs.entry.js +1 -1
  100. package/dist/cjs/tab-header.cjs.entry.js +1 -1
  101. package/dist/collection/collection-manifest.json +3 -0
  102. package/dist/collection/components/max-width-container/max-width-container.js +24 -1
  103. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +1 -1
  104. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +14 -0
  105. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +120 -0
  106. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.css +3 -0
  107. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +76 -0
  108. package/dist/collection/components/ptc-pricing-table/ptc-pricing-table.css +292 -0
  109. package/dist/collection/components/ptc-pricing-table/ptc-pricing-table.js +581 -0
  110. package/dist/collection/components/ptc-square-card/ptc-square-card.css +19 -1
  111. package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +11 -1
  112. package/dist/collection/stories/Button.stories.js +68 -24
  113. package/dist/custom-elements/index.d.ts +18 -0
  114. package/dist/custom-elements/index.js +517 -7
  115. package/dist/esm/bundle-example.entry.js +1 -1
  116. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  117. package/dist/esm/dropdown-item.entry.js +1 -1
  118. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  119. package/dist/esm/featured-list.entry.js +1 -1
  120. package/dist/esm/fl-tab-content_3.entry.js +55 -0
  121. package/dist/esm/icon-asset.entry.js +49 -0
  122. package/dist/esm/{index-4afc9d28.js → index-22a84644.js} +2 -1
  123. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  124. package/dist/esm/list-item.entry.js +1 -1
  125. package/dist/esm/loader.js +3 -3
  126. package/dist/esm/lottie-player.entry.js +1 -1
  127. package/dist/esm/max-width-container.entry.js +8 -2
  128. package/dist/esm/my-component.entry.js +1 -1
  129. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  130. package/dist/esm/ptc-accordion.entry.js +1 -1
  131. package/dist/esm/ptc-announcement.entry.js +1 -1
  132. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  133. package/dist/esm/ptc-background-video_2.entry.js +190 -0
  134. package/dist/esm/ptc-bio-card.entry.js +1 -1
  135. package/dist/esm/ptc-breadcrumb_2.entry.js +2 -2
  136. package/dist/esm/ptc-button.entry.js +44 -0
  137. package/dist/esm/ptc-card-bottom_3.entry.js +1 -1
  138. package/dist/esm/ptc-card-content.entry.js +1 -1
  139. package/dist/esm/ptc-card.entry.js +1 -1
  140. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  141. package/dist/esm/ptc-checkbox.entry.js +1 -1
  142. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  143. package/dist/esm/ptc-container.entry.js +1 -1
  144. package/dist/esm/ptc-date.entry.js +1 -1
  145. package/dist/esm/ptc-dropdown.entry.js +1 -1
  146. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  147. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  148. package/dist/esm/ptc-featured-list.entry.js +89 -0
  149. package/dist/esm/ptc-filter-tag.entry.js +1 -1
  150. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  151. package/dist/esm/ptc-hero.entry.js +1 -1
  152. package/dist/esm/ptc-icon-component.entry.js +1 -1
  153. package/dist/esm/ptc-icon-list.entry.js +1 -1
  154. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  155. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  156. package/dist/esm/ptc-link.entry.js +1 -1
  157. package/dist/esm/ptc-list.entry.js +1 -1
  158. package/dist/esm/ptc-lottie.entry.js +1 -1
  159. package/dist/esm/ptc-media-card.entry.js +1 -1
  160. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  161. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  162. package/dist/esm/ptc-modal.entry.js +1 -1
  163. package/dist/esm/ptc-nav-card.entry.js +1 -1
  164. package/dist/esm/ptc-nav-link.entry.js +1 -1
  165. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  166. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  167. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  168. package/dist/esm/ptc-news.entry.js +1 -1
  169. package/dist/esm/ptc-overlay.entry.js +1 -1
  170. package/dist/esm/ptc-pagenation.entry.js +1 -1
  171. package/dist/esm/ptc-para.entry.js +58 -0
  172. package/dist/esm/ptc-picture.entry.js +1 -1
  173. package/dist/esm/ptc-previous-url.entry.js +1 -1
  174. package/dist/esm/ptc-pricing-add-on-card.entry.js +23 -0
  175. package/dist/esm/ptc-pricing-add-on-section.entry.js +46 -0
  176. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  177. package/dist/esm/ptc-pricing-table.entry.js +433 -0
  178. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  179. package/dist/esm/ptc-product-card.entry.js +1 -1
  180. package/dist/esm/ptc-product-category.entry.js +1 -1
  181. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  182. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  183. package/dist/esm/ptc-product-list.entry.js +1 -1
  184. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  185. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  186. package/dist/esm/ptc-quote.entry.js +1 -1
  187. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  188. package/dist/esm/ptc-readmore.entry.js +1 -1
  189. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  190. package/dist/esm/ptc-search-field.entry.js +1 -1
  191. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  192. package/dist/esm/ptc-slit-card.entry.js +1 -1
  193. package/dist/esm/ptc-social-share.entry.js +1 -1
  194. package/dist/esm/ptc-spacer.entry.js +1 -1
  195. package/dist/esm/ptc-span.entry.js +1 -1
  196. package/dist/esm/ptc-square-card.entry.js +2 -2
  197. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  198. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  199. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  200. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  201. package/dist/esm/ptc-subnav.entry.js +1 -1
  202. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  203. package/dist/esm/ptc-tab-list.entry.js +2 -2
  204. package/dist/esm/ptc-tab.entry.js +1 -1
  205. package/dist/esm/ptc-tabs.entry.js +1 -1
  206. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  207. package/dist/esm/ptc-title.entry.js +74 -0
  208. package/dist/esm/ptc-tooltip.entry.js +102 -0
  209. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  210. package/dist/esm/ptcw-design.js +3 -3
  211. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  212. package/dist/esm/sequential-bundle.entry.js +1 -1
  213. package/dist/esm/tab-content.entry.js +1 -1
  214. package/dist/esm/tab-header.entry.js +1 -1
  215. package/dist/ptcw-design/{p-c6f0e262.entry.js → p-000ed892.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-a532ea92.entry.js → p-0074d97c.entry.js} +1 -1
  217. package/dist/ptcw-design/{p-1aaaefc2.entry.js → p-0290031e.entry.js} +1 -1
  218. package/dist/ptcw-design/{p-799bbd3a.entry.js → p-0532c37c.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-7097ec55.entry.js → p-056b652a.entry.js} +1 -1
  220. package/dist/ptcw-design/p-05cc800d.entry.js +1 -0
  221. package/dist/ptcw-design/{p-7c49a1f7.entry.js → p-06f99e11.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-edc34ad7.entry.js → p-072887b7.entry.js} +1 -1
  223. package/dist/ptcw-design/{p-64691ccb.entry.js → p-0f3f83d3.entry.js} +1 -1
  224. package/dist/ptcw-design/p-10254985.entry.js +1 -0
  225. package/dist/ptcw-design/{p-cff0b2b0.entry.js → p-15e08cba.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-c326164f.entry.js → p-17fd5641.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-7698cc75.entry.js → p-1b972064.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-ad924207.entry.js → p-1c631848.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-908b08d5.entry.js → p-1c743207.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-5c9d254c.entry.js → p-2254e000.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-5854b9b4.entry.js → p-26f31be6.entry.js} +1 -1
  232. package/dist/ptcw-design/p-27f44b04.entry.js +1 -0
  233. package/dist/ptcw-design/{p-b41677ec.entry.js → p-2893f405.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-e2be8313.entry.js → p-2ba6bbbe.entry.js} +1 -1
  235. package/dist/ptcw-design/p-2fed7a6f.entry.js +1 -0
  236. package/dist/ptcw-design/{p-42424ba0.entry.js → p-317573b7.entry.js} +1 -1
  237. package/dist/ptcw-design/p-3192a7e8.entry.js +1 -0
  238. package/dist/ptcw-design/{p-c9ded71b.entry.js → p-31c33a18.entry.js} +1 -1
  239. package/dist/ptcw-design/{p-ddf7819e.entry.js → p-362ec391.entry.js} +1 -1
  240. package/dist/ptcw-design/{p-c05218ed.entry.js → p-3b8731e6.entry.js} +1 -1
  241. package/dist/ptcw-design/{p-009f76ac.entry.js → p-3ed0384d.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-deed8ef6.entry.js → p-3f368d6d.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-7e978dd7.entry.js → p-4097a036.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-6acd380a.entry.js → p-4aaa6290.entry.js} +1 -1
  245. package/dist/ptcw-design/p-4e13bc2e.entry.js +1 -0
  246. package/dist/ptcw-design/{p-effa1f41.entry.js → p-507ab0b3.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-8116452c.entry.js → p-515f4332.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-e329399d.entry.js → p-582022a5.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-68543211.entry.js → p-58291e3a.entry.js} +1 -1
  250. package/dist/ptcw-design/p-58e7da4a.entry.js +1 -0
  251. package/dist/ptcw-design/{p-6a0b0d0e.entry.js → p-59ac682d.entry.js} +1 -1
  252. package/dist/ptcw-design/p-5c47361e.entry.js +1 -0
  253. package/dist/ptcw-design/p-6392bd90.entry.js +1 -0
  254. package/dist/ptcw-design/{p-b2afe3a3.entry.js → p-63f811ec.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-00b2c937.entry.js → p-6449418a.entry.js} +1 -1
  256. package/dist/ptcw-design/{p-0fec8647.entry.js → p-66fcd7b2.entry.js} +1 -1
  257. package/dist/ptcw-design/{p-9805a542.entry.js → p-6a4bb3e8.entry.js} +1 -1
  258. package/dist/ptcw-design/{p-07059441.entry.js → p-6a5bc275.entry.js} +1 -1
  259. package/dist/ptcw-design/{p-c1d75020.entry.js → p-6aba5f8f.entry.js} +1 -1
  260. package/dist/ptcw-design/{p-77d3b816.entry.js → p-6b1d18b1.entry.js} +1 -1
  261. package/dist/ptcw-design/p-6e11536e.entry.js +1 -0
  262. package/dist/ptcw-design/{p-c43f4e1a.entry.js → p-75b17a66.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-bdfd42d2.entry.js → p-777fb495.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-08f40716.entry.js → p-77f5cf02.entry.js} +1 -1
  265. package/dist/ptcw-design/{p-d7e11aad.entry.js → p-7a3cf557.entry.js} +1 -1
  266. package/dist/ptcw-design/p-7a87be28.entry.js +1 -0
  267. package/dist/ptcw-design/{p-a49ba579.entry.js → p-7aa8af29.entry.js} +1 -1
  268. package/dist/ptcw-design/{p-1a346da4.entry.js → p-7b34bb69.entry.js} +1 -1
  269. package/dist/ptcw-design/{p-e8127819.entry.js → p-7ea29d34.entry.js} +1 -1
  270. package/dist/ptcw-design/{p-4f76722f.entry.js → p-81253f39.entry.js} +1 -1
  271. package/dist/ptcw-design/{p-a4c49997.entry.js → p-84d3f4fa.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-c9342bd2.entry.js → p-8b34f2db.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-c83efab5.entry.js → p-95198d5f.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-b64cd689.entry.js → p-9817c40a.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-8c212875.entry.js → p-98b6cb94.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-1905e99d.entry.js → p-99457ebb.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-4f93dac7.entry.js → p-9d681abc.entry.js} +1 -1
  278. package/dist/ptcw-design/{p-da15fae5.entry.js → p-9e4260bc.entry.js} +1 -1
  279. package/dist/ptcw-design/{p-4e822c95.entry.js → p-9efd9a5b.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-a1f30323.entry.js → p-a04e0ded.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-c852499f.entry.js → p-a417df03.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-10555016.entry.js → p-a42feab1.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-d94d1fa5.entry.js → p-ac63caae.entry.js} +1 -1
  284. package/dist/ptcw-design/{p-7650e042.entry.js → p-ad234f99.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-f4479b50.entry.js → p-ad401696.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-09a6b0a7.entry.js → p-bd470a7a.entry.js} +1 -1
  287. package/dist/ptcw-design/p-be8db2b7.entry.js +1 -0
  288. package/dist/ptcw-design/{p-2d138e91.entry.js → p-bf47669c.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-b73ea53a.entry.js → p-bf808180.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-2a959ce3.entry.js → p-c1c229f8.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-04549d19.entry.js → p-c5df36ad.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-e282af3d.entry.js → p-c7d5bfe3.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-f67dc72c.entry.js → p-ca877fea.entry.js} +1 -1
  294. package/dist/ptcw-design/p-ca9b1705.entry.js +1 -0
  295. package/dist/ptcw-design/{p-fbf6f66c.entry.js → p-cda3854b.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-9dd25c18.js → p-ce0e4c5c.js} +2 -2
  297. package/dist/ptcw-design/{p-35b3d9a8.entry.js → p-cf1005f9.entry.js} +1 -1
  298. package/dist/ptcw-design/p-d6d25fa7.entry.js +1 -0
  299. package/dist/ptcw-design/{p-08f17ab6.entry.js → p-dc5e5116.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-f927e1f9.entry.js → p-dc748f00.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-dc64e2d4.entry.js → p-dee888f5.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-a924d029.entry.js → p-df0aa310.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-47ee06af.entry.js → p-e1dd94a9.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-a5e92df6.entry.js → p-e312626a.entry.js} +1 -1
  305. package/dist/ptcw-design/p-e8ba44ba.entry.js +1 -0
  306. package/dist/ptcw-design/{p-90143d7c.entry.js → p-e8cd5994.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-9bbfeec6.entry.js → p-eb65dacf.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-372a6bb1.entry.js → p-ee20170a.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-dea73da3.entry.js → p-f6dfc55e.entry.js} +1 -1
  310. package/dist/ptcw-design/{p-a7eb1503.entry.js → p-f865c4cd.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-1659ad95.entry.js → p-f8eacbd8.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-ab2a2d1a.entry.js → p-f97fc3fd.entry.js} +1 -1
  313. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  314. package/dist/types/components/max-width-container/max-width-container.d.ts +1 -0
  315. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +27 -0
  316. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +21 -0
  317. package/dist/types/components/ptc-pricing-table/ptc-pricing-table.d.ts +101 -0
  318. package/dist/types/components.d.ts +145 -0
  319. package/package.json +1 -1
  320. package/readme.md +1 -1
  321. package/dist/cjs/fl-tab-content_11.cjs.entry.js +0 -654
  322. package/dist/esm/fl-tab-content_11.entry.js +0 -640
  323. package/dist/ptcw-design/p-07b6676a.entry.js +0 -1
  324. package/dist/ptcw-design/p-2ac4eb02.entry.js +0 -1
  325. package/dist/ptcw-design/p-82295854.entry.js +0 -1
  326. package/dist/ptcw-design/p-a6ebedfd.entry.js +0 -1
  327. package/dist/ptcw-design/p-b7f0d1bf.entry.js +0 -1
@@ -1,640 +0,0 @@
1
- import { r as registerInstance, h, H as Host, c as createEvent, g as getElement, a as getAssetPath } from './index-4afc9d28.js';
2
- import { R as ResponsiveBgVariables } from './interfaces-4caedd26.js';
3
-
4
- const flTabContentCss = ":host{display:none}:host(.init-active){display:block}:host(.selected){display:block}";
5
-
6
- const FlTabContent = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.nameKey = undefined;
10
- this.selected = false;
11
- }
12
- render() {
13
- return (h(Host, { class: `featured-content ${this.selected ? 'selected' : ''}` }, h("div", { class: "fl-content-wrap" }, h("slot", null))));
14
- }
15
- };
16
- FlTabContent.style = flTabContentCss;
17
-
18
- const flTabHeaderCss = ":host{display:block}:host p{color:var(--color-gray-10);font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);margin:0;padding:0}@media only screen and (min-width: 992px){:host p{font-size:var(--ptc-font-size-small)}}";
19
-
20
- const FlTabHeader = class {
21
- constructor(hostRef) {
22
- registerInstance(this, hostRef);
23
- this.flTabClicked = createEvent(this, "flTabClicked", 7);
24
- this.tabTitle = undefined;
25
- this.nameKey = undefined;
26
- this.selected = false;
27
- }
28
- handleClick(event) {
29
- this.flTabClicked.emit({
30
- 'sender': this,
31
- 'event': event,
32
- 'name': this.nameKey
33
- });
34
- }
35
- render() {
36
- return (h(Host, { class: `fl-header ${this.selected ? 'selected' : ''}`, onClick: this.handleClick.bind(this) }, h("slot", null), h("p", null, this.tabTitle)));
37
- }
38
- get el() { return getElement(this); }
39
- };
40
- FlTabHeader.style = flTabHeaderCss;
41
-
42
- const flTabImageCss = ":host{display:none;height:240px}@media only screen and (min-width: 480px){:host{height:320px}}@media only screen and (min-width: 768px){:host{height:450px}}@media only screen and (min-width: 992px){:host{height:500px}}:host(.init-active){display:block}:host(.selected){display:block}";
43
-
44
- const FlTabImage = class {
45
- constructor(hostRef) {
46
- registerInstance(this, hostRef);
47
- this.nameKey = undefined;
48
- this.selected = false;
49
- }
50
- render() {
51
- return (h(Host, { class: `featured-img ${this.selected ? 'selected' : ''}` }, h("slot", null)));
52
- }
53
- };
54
- FlTabImage.style = flTabImageCss;
55
-
56
- const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small) / 2);height:calc(var(--ptc-font-size-x-small) / 2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.primary-gray.sc-icon-asset{fill:var(--color-gray-10)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}";
57
-
58
- const IconAsset = class {
59
- constructor(hostRef) {
60
- registerInstance(this, hostRef);
61
- this.regularSprite = getAssetPath('./media/regular.svg');
62
- this.solidSprite = getAssetPath('./media/solid.svg');
63
- this.brandSprite = getAssetPath('./media/brands.svg');
64
- this.ptcSprite = getAssetPath('./media/designer.svg');
65
- this.name = undefined;
66
- this.size = 'xx-small';
67
- this.type = 'regular';
68
- this.spin = '';
69
- this.pulse = '';
70
- this.color = 'default';
71
- this.isMobileSelect = undefined;
72
- this.injectedStyle = undefined;
73
- }
74
- render() {
75
- const classMap = this.getCssClassMap();
76
- if (this.type == 'brands') {
77
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.brandSprite}#${this.name}` }))));
78
- }
79
- else if (this.type == 'solid') {
80
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.solidSprite}#${this.name}` }))));
81
- }
82
- else if (this.type == 'ptc') {
83
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.ptcSprite}#${this.name}` }))));
84
- }
85
- else {
86
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.regularSprite}#${this.name}` }))));
87
- }
88
- }
89
- getCssClassMap() {
90
- return {
91
- [this.size]: true,
92
- [this.spin]: true,
93
- [this.pulse]: true,
94
- [this.color]: true,
95
- ['ismobileselect']: this.isMobileSelect ? true : false
96
- };
97
- }
98
- static get assetsDirs() { return ["media"]; }
99
- };
100
- IconAsset.style = iconAssetCss;
101
-
102
- const ptcBackgroundVideoCss = ":host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button{top:unset;bottom:3.75rem;right:2rem}}";
103
-
104
- const PtcBackgroundVideo = class {
105
- constructor(hostRef) {
106
- registerInstance(this, hostRef);
107
- this.videoSrc = undefined;
108
- this.posterSrc = undefined;
109
- this.overlay = true;
110
- this.playButtonTitle = undefined;
111
- this.pauseButtonTitle = undefined;
112
- this.paused = undefined;
113
- this.type = 'default';
114
- this.isIframe = false;
115
- }
116
- // componentDidLoad() {
117
- // if(this.isIframe){
118
- // const iframe:HTMLIFrameElement = this.el.shadowRoot.querySelector('iframe');
119
- // const iframeDoc = iframe.contentDocument
120
- // const iframeVideo = iframeDoc.querySelector('video');
121
- // console.log("iframe ele: " + iframeDoc.querySelectorAll('video'));
122
- // iframeVideo.style.objectFit = 'cover';
123
- // }
124
- // }
125
- // @Method()
126
- // async toggleVideo() {
127
- // // show a prompt
128
- // this.paused = !this.paused;
129
- // let video = this.el.shadowRoot.querySelector('video') as HTMLVideoElement;
130
- // if (video) {
131
- // if (this.paused) {
132
- // video.pause();
133
- // } else {
134
- // video.play().catch(z => console.error(z));
135
- // }
136
- // }
137
- // console.log('Hello, I am a publish method from ptc-background-video!');
138
- // }
139
- componentWillLoad() {
140
- this.paused = false;
141
- }
142
- render() {
143
- const videoContent = this.isIframe ? (h("div", { class: "iframe-wrapper" }, h("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed" }))) : (h("video", { src: this.videoSrc, poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }));
144
- return (h(Host, { class: this.type }, videoContent, !!this.videoSrc && this.playButtonTitle && (h("div", { class: "play-button" }, this.paused && (h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important;}" }, h("ptc-button", { type: "button", color: "icon-toggle", onClick: e => this.toggleVideoPlay(e), styles: "button.icon-toggle { padding :0px 8px; }" }, h("icon-asset", { name: "play", size: "small", type: "ptc", color: "black" })))), !this.paused && !!this.pauseButtonTitle && (h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important;}" }, h("ptc-button", { type: "button", color: "icon-toggle", onClick: e => this.toggleVideoPlay(e) }, h("icon-asset", { name: "pause", size: "small", type: "ptc", color: "black" })))))), this.overlay ? h("div", { class: "video-overlay" }) : '', this.type == 'default' ? h("slot", null) : ''));
145
- }
146
- toggleVideoPlay(e) {
147
- e.preventDefault();
148
- this.paused = !this.paused;
149
- let video = this.el.shadowRoot.querySelector('video');
150
- if (video) {
151
- if (this.paused) {
152
- video.pause();
153
- }
154
- else {
155
- video.play().catch(z => console.error(z));
156
- }
157
- }
158
- }
159
- get el() { return getElement(this); }
160
- };
161
- PtcBackgroundVideo.style = ptcBackgroundVideoCss;
162
-
163
- const ptcButtonCss = "button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-gray-10);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard)}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:var(--ptc-line-height-densest)}button.left{text-align:left}button.right{text-align:right}button.center{text-align:center}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(285deg, var(--color-gray-10) 155%, var(--color-gray-07) 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-green-07);background-image:linear-gradient(285deg, var(--color-green-07) 155%, var(--color-green-07) 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(to right, var(--color-white), var(--color-gray-02), var(--color-gray-01))}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-gray-10)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:var(--ptc-element-spacing-01);margin-top:var(--ptc-element-spacing-01);box-shadow:var(--ptc-shadow-large);border:solid 2.5px var(--color-green-08);background-image:linear-gradient(to right, var(--color-green-06), var(--color-green-08))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-green-08), var(--color-green-06));opacity:0;transition:opacity var(--ptc-transition-x-slow) var(--ptc-ease-inout);border-radius:2px}.legacy-green:hover{box-shadow:var(--ptc-shadow-x-large)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-x-small)}@media only screen and (min-width: 768px){.legacy-green span{font-size:var(--ptc-font-size-small);letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard);display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all var(--ptc-ease-inout) var(--ptc-transition-medium);position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}a.left{text-align:left}a.right{text-align:right}a.center{text-align:center}.nav{font-family:var(--ptc-font-latin);background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-xx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-loose);list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.nav:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav:hover{background-color:var(--color-gray-12)}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary,.icon-toggle{padding:var(--ptc-font-size-xx-small) var(--ptc-font-size-medium);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled,.icon-toggle.disabled{pointer-events:none;border-color:var(--color-gray-03);background:var(--color-gray-02)}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span,.icon-toggle.disabled span{color:var(--color-gray-03)}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]),.icon-toggle.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus,.ptc-quaternary:focus,.ptc-secondary:focus,.ptc-tertiary:focus,.icon-toggle:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span,.icon-toggle span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);letter-spacing:normal}.ptc-primary{background:var(--color-gray-12);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-10)}.ptc-primary:active{background-color:var(--color-black)}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:var(--color-gray-12);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-10)}.ptc-secondary:active{background-color:var(--color-black)}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard)}.ptc-tertiary:hover{background-color:var(--color-gray-02)}.ptc-tertiary:active{background-color:var(--color-gray-03)}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09)}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.icon-toggle{background:var(--color-white);border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0;height:2.125rem;width:2.125rem;box-shadow:var(--ptc-shadow-medium)}.icon-toggle:hover{background-color:var(--color-gray-02)}.icon-toggle:active{background-color:var(--color-gray-03)}.icon-toggle.active{background-color:var(--color-gray-04)}.icon-toggle.active:hover{background-color:var(--color-gray-05)}.icon-toggle.active:active{background-color:var(--color-gray-03)}.icon-toggle:focus{outline:2px solid var(--color-blue-07);outline-offset:1px}.icon-toggle span{color:var(--color-gray-10);padding:0}.icon-toggle ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.icon-toggle ::slotted(icon-asset){display:block;margin:auto;height:18px;width:18px}.clear-search{border:none;padding:0px;line-height:var(----ptc-line-height-densest);background-color:transparent}.clear-search:hover{text-decoration:underline;text-decoration-color:var(--color-white)}.clear-search span{color:var(--color-white);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}";
164
-
165
- const PtcButton = class {
166
- constructor(hostRef) {
167
- registerInstance(this, hostRef);
168
- this.clickEvent = createEvent(this, "clickEvent", 7);
169
- this.disabled = false;
170
- this.active = false;
171
- this.type = 'button';
172
- this.color = 'ptc-primary';
173
- this.iconAnimation = '';
174
- this.iconPosition = 'icon-right';
175
- this.linkHref = undefined;
176
- this.linkTitle = undefined;
177
- this.target = '_self';
178
- this.rel = undefined;
179
- this.tabNav = 0;
180
- this.styles = undefined;
181
- this.textAlign = undefined;
182
- }
183
- clickEventHandler() {
184
- this.clickEvent.emit();
185
- }
186
- render() {
187
- const classMap = this.getCssClassMap();
188
- const Tag = !!this.linkHref ? 'a' : 'button';
189
- return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
190
- }
191
- getCssClassMap() {
192
- return {
193
- [this.color]: true,
194
- [this.iconAnimation]: true,
195
- [this.iconPosition]: true,
196
- ['disabled']: this.disabled ? true : false,
197
- ['active']: this.active ? true : false,
198
- [this.textAlign]: true
199
- };
200
- }
201
- };
202
- PtcButton.style = ptcButtonCss;
203
-
204
- 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,.light-links a.light-link,.background-grey-10 a,.background-grey-10 a.light-link,.background-plm-grey a,.background-plm-grey a.light-link{color:var(--color-blue-04)}.light-links a:visited,.light-links a.light-link:visited,.background-grey-10 a:visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:active,.light-links a:visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:active,.background-grey-10 a:visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:active,.background-plm-grey 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:hover,.light-links a:visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:hover,.background-grey-10 a:visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:hover,.background-plm-grey 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.disabled,.light-links a.light-link.disabled,.background-grey-10 a.disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey 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{max-width:1078px;margin:-75px 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: 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{border-radius:4px;margin:12px 0;padding:4px 8px}:host .non-mobile-wrapper .fl-header:hover{background-color:var(--color-gray-02)}:host .non-mobile-wrapper .fl-header.selected,:host .non-mobile-wrapper .fl-header.init-active{background-color:var(--color-gray-03)}: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}";
205
-
206
- const PtcFeaturedList = class {
207
- constructor(hostRef) {
208
- registerInstance(this, hostRef);
209
- this.isMobile = undefined;
210
- this.selectedTabGloble = 'tab-01';
211
- }
212
- handleResize() {
213
- this.isMobile = window.innerWidth < 992;
214
- this.holdTabOnResize(this.selectedTabGloble);
215
- }
216
- componentWillLoad() {
217
- this.isMobile = window.innerWidth < 992;
218
- }
219
- handleflTabClicked(event) {
220
- this.selectedTabGloble = event.detail.name;
221
- this.selectTab(this.selectedTabGloble);
222
- }
223
- holdTabOnResize(name) {
224
- const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
225
- const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
226
- contentBlocks.forEach(content => {
227
- if (content.classList.contains("init-active")) {
228
- content.classList.remove("init-active");
229
- }
230
- content.getAttribute('name-key') === name ? (content.setAttribute('selected', 'selected')) : (content.removeAttribute('selected'));
231
- });
232
- headerBlocks.forEach(header => {
233
- if (header.classList.contains("init-active")) {
234
- header.classList.remove("init-active");
235
- }
236
- header.getAttribute('name-key') === name ? (header.setAttribute('selected', 'selected')) : (header.removeAttribute('selected'));
237
- });
238
- }
239
- selectTab(name) {
240
- const featuredImages = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-image`);
241
- const contentBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-content`);
242
- const headerBlocks = this.hostElement.shadowRoot.querySelectorAll(`fl-tab-header`);
243
- featuredImages.forEach(image => {
244
- if (image.classList.contains("init-active")) {
245
- image.classList.remove("init-active");
246
- }
247
- image.getAttribute('name-key') === name ? (image.setAttribute('selected', 'selected')) : (image.removeAttribute('selected'));
248
- });
249
- contentBlocks.forEach(content => {
250
- this.updateActiveTab(name, content);
251
- });
252
- headerBlocks.forEach(header => {
253
- this.updateActiveTab(name, header);
254
- });
255
- }
256
- updateActiveTab(name, tabName) {
257
- if (this.isMobile) {
258
- if (tabName.getAttribute('name-key') === name) {
259
- if (tabName.classList.contains("init-active")) {
260
- tabName.removeAttribute('selected');
261
- }
262
- else {
263
- tabName.getAttribute('selected') == 'selected' ? (tabName.removeAttribute('selected')) : (tabName.setAttribute('selected', 'selected'));
264
- }
265
- }
266
- else {
267
- tabName.removeAttribute('selected');
268
- }
269
- }
270
- else {
271
- tabName.getAttribute('name-key') === name ? (tabName.setAttribute('selected', 'selected')) : (tabName.removeAttribute('selected'));
272
- }
273
- if (tabName.classList.contains("init-active")) {
274
- tabName.classList.remove("init-active");
275
- }
276
- }
277
- render() {
278
- 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 ? (
279
- // Code for mobile only
280
- 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" }, "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" }, "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")))))
281
- :
282
- (
283
- // Code for Desktop only
284
- 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" }, "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" }, "Navigate supply chain disruption while maximizing revenue growth and sustainability. Explore how PTC\u2019s digital solutions can accelerate product innovation, supply chain collaboration, and more."), h("a", { href: '#' }, "See More about Aerospace & Defense")))))));
285
- }
286
- get hostElement() { return getElement(this); }
287
- };
288
- PtcFeaturedList.style = ptcFeaturedListCss;
289
-
290
- const ptcImgCss = ".smart-bg{width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.smart-img{position:absolute;display:block;width:100%;height:100%;top:0;left:0;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-standard-top{border-top-left-radius:var(--ptc-border-radius-standard);border-top-right-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-large-top{border-top-left-radius:var(--ptc-border-radius-large);border-top-right-radius:var(--ptc-border-radius-large)}.lazy-bg{background-image:none !important;background-color:var(--color-gray-03)}@media only screen and (min-width: 768px){.hidden-xs{display:none !important}}@media (min-width: 768px) and (max-width: 991px){.hidden-sm{display:none !important}}@media (min-width: 992px) and (max-width: 1199px){.hidden-md{display:none !important}}@media only screen and (min-width: 768px){.hidden-lg{display:none !important}}";
291
-
292
- const PtcImg = class {
293
- constructor(hostRef) {
294
- registerInstance(this, hostRef);
295
- this.sizeXs = '510x340';
296
- this.sizeSm = '1240x496';
297
- this.sizeMd = '1366x500';
298
- this.sizeLg = '1920x1080';
299
- this.imgUrl = undefined;
300
- this.imageType = 'smart-bg';
301
- this.borderRadius = '';
302
- this.loadMode = 'lazy-bg';
303
- this.styles = undefined;
304
- }
305
- /**
306
- * Image Z Index
307
- */
308
- // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
309
- WindowResize() {
310
- this.setResponsiveBg();
311
- }
312
- render() {
313
- const classMap = this.getCssClassMap();
314
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap, "data-xs": `${this.imgUrl}:${this.sizeXs}`, "data-sm": `${this.imgUrl}:${this.sizeSm}`, "data-md": `${this.imgUrl}:${this.sizeMd}`, "data-lg": `${this.imgUrl}:${this.sizeLg}` }, this.imageType == 'smart-bg' ? h("slot", null) : null)));
315
- }
316
- componentDidLoad() {
317
- this.addIntersectionObserver();
318
- this.setResponsiveBg();
319
- }
320
- componentWillUpdate() {
321
- this.addIntersectionObserver();
322
- this.setResponsiveBg();
323
- }
324
- //responsive image
325
- setResponsiveBg() {
326
- // Define local variables
327
- let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
328
- // Loop through all target elements
329
- for (var i = 0, len = backgrounds.length; i < len; i++) {
330
- // Set current variables
331
- el = backgrounds[i];
332
- elData = el.getAttribute('data-' + currentBreakpoint);
333
- // If the data attribute exists, set the background
334
- if (elData !== null) {
335
- el.style.backgroundImage = "url('" + elData + "')";
336
- }
337
- else {
338
- if (typeof console == 'object') {
339
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
340
- }
341
- }
342
- }
343
- }
344
- //lazy loading
345
- addIntersectionObserver() {
346
- if (!this.imgUrl) {
347
- console.log('no image!');
348
- return;
349
- }
350
- if ('IntersectionObserver' in window) {
351
- let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
352
- let bgObserver = new IntersectionObserver(entries => {
353
- entries.forEach(entry => {
354
- if (entry.isIntersecting) {
355
- const image = entry.target;
356
- image.classList.remove('lazy-bg');
357
- bgObserver.unobserve(image);
358
- }
359
- });
360
- });
361
- lazyLoadBgs.forEach(image => {
362
- bgObserver.observe(image);
363
- });
364
- }
365
- }
366
- getCssClassMap() {
367
- return {
368
- [this.imageType]: true,
369
- 'ptc-img': true,
370
- [this.borderRadius]: true,
371
- [this.loadMode]: true,
372
- // [this.imageZIndex] : true
373
- };
374
- }
375
- getCurrentBreakPoints() {
376
- // Define local variables
377
- let doc = window.document, temp = doc.createElement('div'), env;
378
- // Append test node
379
- doc.body.appendChild(temp);
380
- // Loop through breakpoints
381
- for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
382
- env = ResponsiveBgVariables.envs[i];
383
- // Add classes
384
- temp.className = 'hidden-' + env;
385
- // Found breakpoint
386
- if (temp.offsetParent === null) {
387
- // Remove our test node
388
- doc.body.removeChild(temp);
389
- // Return current breakpoint
390
- return env;
391
- }
392
- }
393
- // Breakpoint not found, try fallback
394
- doc.body.removeChild(temp);
395
- return this.getFallbackBreakpoint();
396
- }
397
- getFallbackBreakpoint() {
398
- if (window.matchMedia('(min-width: 992px)').matches) {
399
- return 'lg';
400
- }
401
- else if (window.matchMedia('(min-width: 768px)').matches) {
402
- return 'md';
403
- }
404
- else if (window.matchMedia('(min-width: 576px)').matches) {
405
- return 'sm';
406
- }
407
- else {
408
- return 'xs';
409
- }
410
- }
411
- get el() { return getElement(this); }
412
- };
413
- PtcImg.style = ptcImgCss;
414
-
415
- const ptcParaCss = ":host{position:relative;z-index:1}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.gray-darker{color:var(--color-gray-11)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.htmlquote-para{font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 992px){p.htmlquote-para{font-size:var(--ptc-font-size-large)}}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}";
416
-
417
- const PtcPara = class {
418
- constructor(hostRef) {
419
- registerInstance(this, hostRef);
420
- this.fontSize = 'x-small';
421
- this.fontWeight = 'w-4';
422
- this.paraStyle = 'default';
423
- this.paraColor = 'primary-grey';
424
- this.paraLineH = 'line-height-normal';
425
- this.paraMargin = undefined;
426
- this.paraAlign = undefined;
427
- this.ellipsisLineCutoff = undefined;
428
- this.paraZIndex = undefined;
429
- this.styles = undefined;
430
- }
431
- render() {
432
- const classMap = this.getCssClassMap();
433
- const colorClass = this.addWhiteClass();
434
- const cutOff = this.getLineCuttoff();
435
- return (h(Host, { class: `${colorClass} ${this.paraZIndex}` }, this.styles && h("style", null, this.styles), h("p", { class: classMap, part: "part-para", style: cutOff }, h("slot", null))));
436
- }
437
- getCssClassMap() {
438
- return {
439
- [this.fontSize]: true,
440
- [this.fontWeight]: true,
441
- [this.paraStyle]: true,
442
- [this.paraMargin]: !!this.paraMargin ? true : false,
443
- [this.paraColor]: true,
444
- [this.paraLineH]: true,
445
- [this.paraAlign]: !!this.paraAlign ? true : false,
446
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
447
- };
448
- }
449
- //WEB-2392
450
- addWhiteClass() {
451
- if (this.paraColor == 'white') {
452
- return {
453
- [this.paraColor]: true,
454
- };
455
- }
456
- }
457
- getLineCuttoff() {
458
- let result;
459
- if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
460
- result = {
461
- ['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
462
- };
463
- }
464
- return result;
465
- }
466
- get el() { return getElement(this); }
467
- };
468
- PtcPara.style = ptcParaCss;
469
-
470
- const ptcTitleCss = "div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before,div.center.dotted.sc-ptc-title h4.sc-ptc-title::before,div.center.dotted.sc-ptc-title h5.sc-ptc-title::before,div.center.dotted.sc-ptc-title h6.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before,div.left.dotted.sc-ptc-title h4.sc-ptc-title::before,div.left.dotted.sc-ptc-title h5.sc-ptc-title::before,div.left.dotted.sc-ptc-title h6.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before,div.right.dotted.sc-ptc-title h4.sc-ptc-title::before,div.right.dotted.sc-ptc-title h5.sc-ptc-title::before,div.right.dotted.sc-ptc-title h6.sc-ptc-title::before{right:0%}div.inherit.sc-ptc-title{text-align:inherit}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before,div.dotted.sc-ptc-title h4.sc-ptc-title::before,div.dotted.sc-ptc-title h5.sc-ptc-title::before,div.dotted.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed var(--color-green-07)}div.solid.sc-ptc-title h1.sc-ptc-title,div.solid.sc-ptc-title h2.sc-ptc-title,div.solid.sc-ptc-title h3.sc-ptc-title,div.solid.sc-ptc-title h4.sc-ptc-title,div.solid.sc-ptc-title h5.sc-ptc-title,div.solid.sc-ptc-title h6.sc-ptc-title{padding-top:12px}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before,div.solid.sc-ptc-title h4.sc-ptc-title::before,div.solid.sc-ptc-title h5.sc-ptc-title::before,div.solid.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-gray-03);opacity:0.9;left:0px;top:0}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after,div.solid.sc-ptc-title h4.sc-ptc-title::after,div.solid.sc-ptc-title h5.sc-ptc-title::after,div.solid.sc-ptc-title h6.sc-ptc-title::after{content:\"\";position:absolute;width:56px;height:2px;background-color:var(--color-green-07);top:-2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title,div.is-standard.sc-ptc-title h4.sc-ptc-title,div.is-standard.sc-ptc-title h5.sc-ptc-title,div.is-standard.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0px;color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title,div.is-plm-hub.sc-ptc-title h2.sc-ptc-title,div.is-plm-hub.sc-ptc-title h3.sc-ptc-title,div.is-plm-hub.sc-ptc-title h4.sc-ptc-title,div.is-plm-hub.sc-ptc-title h5.sc-ptc-title,div.is-plm-hub.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;color:var(--color-white) !important}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-flush.sc-ptc-title h1.sc-ptc-title,div.margin-flush.sc-ptc-title h2.sc-ptc-title,div.margin-flush.sc-ptc-title h3.sc-ptc-title,div.margin-flush.sc-ptc-title h4.sc-ptc-title,div.margin-flush.sc-ptc-title h5.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-5.sc-ptc-title h4.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}div.green.sc-ptc-title h1.sc-ptc-title,div.green.sc-ptc-title h2.sc-ptc-title,div.green.sc-ptc-title h3.sc-ptc-title,div.green.sc-ptc-title h4.sc-ptc-title,div.green.sc-ptc-title h5.sc-ptc-title,div.green.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-green-07)}div.blue.sc-ptc-title h1.sc-ptc-title,div.blue.sc-ptc-title h2.sc-ptc-title,div.blue.sc-ptc-title h3.sc-ptc-title,div.blue.sc-ptc-title h4.sc-ptc-title,div.blue.sc-ptc-title h5.sc-ptc-title,div.blue.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-blue-07)}div.red.sc-ptc-title h1.sc-ptc-title,div.red.sc-ptc-title h2.sc-ptc-title,div.red.sc-ptc-title h3.sc-ptc-title,div.red.sc-ptc-title h4.sc-ptc-title,div.red.sc-ptc-title h5.sc-ptc-title,div.red.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-red-07)}div.orange.sc-ptc-title h1.sc-ptc-title,div.orange.sc-ptc-title h2.sc-ptc-title,div.orange.sc-ptc-title h3.sc-ptc-title,div.orange.sc-ptc-title h4.sc-ptc-title,div.orange.sc-ptc-title h5.sc-ptc-title,div.orange.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-orange-07)}div.slate-grey.sc-ptc-title h1.sc-ptc-title,div.slate-grey.sc-ptc-title h2.sc-ptc-title,div.slate-grey.sc-ptc-title h3.sc-ptc-title,div.slate-grey.sc-ptc-title h4.sc-ptc-title,div.slate-grey.sc-ptc-title h5.sc-ptc-title,div.slate-grey.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-gray-07)}div.w-3.sc-ptc-title h1.sc-ptc-title,div.w-3.sc-ptc-title h2.sc-ptc-title,div.w-3.sc-ptc-title h3.sc-ptc-title,div.w-3.sc-ptc-title h4.sc-ptc-title,div.w-3.sc-ptc-title h5.sc-ptc-title,div.w-3.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-thin)}div.w-4.sc-ptc-title h1.sc-ptc-title,div.w-4.sc-ptc-title h2.sc-ptc-title,div.w-4.sc-ptc-title h3.sc-ptc-title,div.w-4.sc-ptc-title h4.sc-ptc-title,div.w-4.sc-ptc-title h5.sc-ptc-title,div.w-4.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-regular)}div.w-5.sc-ptc-title h1.sc-ptc-title,div.w-5.sc-ptc-title h2.sc-ptc-title,div.w-5.sc-ptc-title h3.sc-ptc-title,div.w-5.sc-ptc-title h4.sc-ptc-title,div.w-5.sc-ptc-title h5.sc-ptc-title,div.w-5.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-medium)}div.w-6.sc-ptc-title h1.sc-ptc-title,div.w-6.sc-ptc-title h2.sc-ptc-title,div.w-6.sc-ptc-title h3.sc-ptc-title,div.w-6.sc-ptc-title h4.sc-ptc-title,div.w-6.sc-ptc-title h5.sc-ptc-title,div.w-6.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-semibold)}div.w-7.sc-ptc-title h1.sc-ptc-title,div.w-7.sc-ptc-title h2.sc-ptc-title,div.w-7.sc-ptc-title h3.sc-ptc-title,div.w-7.sc-ptc-title h4.sc-ptc-title,div.w-7.sc-ptc-title h5.sc-ptc-title,div.w-7.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-bold)}div.w-8.sc-ptc-title h1.sc-ptc-title,div.w-8.sc-ptc-title h2.sc-ptc-title,div.w-8.sc-ptc-title h3.sc-ptc-title,div.w-8.sc-ptc-title h4.sc-ptc-title,div.w-8.sc-ptc-title h5.sc-ptc-title,div.w-8.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-extrabold)}div.w-9.sc-ptc-title h1.sc-ptc-title,div.w-9.sc-ptc-title h2.sc-ptc-title,div.w-9.sc-ptc-title h3.sc-ptc-title,div.w-9.sc-ptc-title h4.sc-ptc-title,div.w-9.sc-ptc-title h5.sc-ptc-title,div.w-9.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-black)}div.xx-small.sc-ptc-title h1.sc-ptc-title,div.xx-small.sc-ptc-title h2.sc-ptc-title,div.xx-small.sc-ptc-title h3.sc-ptc-title,div.xx-small.sc-ptc-title h4.sc-ptc-title,div.xx-small.sc-ptc-title h5.sc-ptc-title,div.xx-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-small)}div.x-small.sc-ptc-title h1.sc-ptc-title,div.x-small.sc-ptc-title h2.sc-ptc-title,div.x-small.sc-ptc-title h3.sc-ptc-title,div.x-small.sc-ptc-title h4.sc-ptc-title,div.x-small.sc-ptc-title h5.sc-ptc-title,div.x-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-small)}div.small.sc-ptc-title h1.sc-ptc-title,div.small.sc-ptc-title h2.sc-ptc-title,div.small.sc-ptc-title h3.sc-ptc-title,div.small.sc-ptc-title h4.sc-ptc-title,div.small.sc-ptc-title h5.sc-ptc-title,div.small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-small)}div.medium.sc-ptc-title h1.sc-ptc-title,div.medium.sc-ptc-title h2.sc-ptc-title,div.medium.sc-ptc-title h3.sc-ptc-title,div.medium.sc-ptc-title h4.sc-ptc-title,div.medium.sc-ptc-title h5.sc-ptc-title,div.medium.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-medium)}div.large.sc-ptc-title h1.sc-ptc-title,div.large.sc-ptc-title h2.sc-ptc-title,div.large.sc-ptc-title h3.sc-ptc-title,div.large.sc-ptc-title h4.sc-ptc-title,div.large.sc-ptc-title h5.sc-ptc-title,div.large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-large)}div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-medium)}@media only screen and (min-width: 768px){div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-large)}}div.x-large.sc-ptc-title h1.sc-ptc-title,div.x-large.sc-ptc-title h2.sc-ptc-title,div.x-large.sc-ptc-title h3.sc-ptc-title,div.x-large.sc-ptc-title h4.sc-ptc-title,div.x-large.sc-ptc-title h5.sc-ptc-title,div.x-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}@media only screen and (min-width: 768px){div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}@media only screen and (min-width: 768px){div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}}div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media screen and (min-width: 769px){div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}div.xxxx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.densest.sc-ptc-title h1.sc-ptc-title,div.densest.sc-ptc-title h2.sc-ptc-title,div.densest.sc-ptc-title h3.sc-ptc-title,div.densest.sc-ptc-title h4.sc-ptc-title,div.densest.sc-ptc-title h5.sc-ptc-title,div.densest.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-densest)}div.denser.sc-ptc-title h1.sc-ptc-title,div.denser.sc-ptc-title h2.sc-ptc-title,div.denser.sc-ptc-title h3.sc-ptc-title,div.denser.sc-ptc-title h4.sc-ptc-title,div.denser.sc-ptc-title h5.sc-ptc-title,div.denser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-denser)}div.dense.sc-ptc-title h1.sc-ptc-title,div.dense.sc-ptc-title h2.sc-ptc-title,div.dense.sc-ptc-title h3.sc-ptc-title,div.dense.sc-ptc-title h4.sc-ptc-title,div.dense.sc-ptc-title h5.sc-ptc-title,div.dense.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-dense)}div.normal.sc-ptc-title h1.sc-ptc-title,div.normal.sc-ptc-title h2.sc-ptc-title,div.normal.sc-ptc-title h3.sc-ptc-title,div.normal.sc-ptc-title h4.sc-ptc-title,div.normal.sc-ptc-title h5.sc-ptc-title,div.normal.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-normal)}div.loose.sc-ptc-title h1.sc-ptc-title,div.loose.sc-ptc-title h2.sc-ptc-title,div.loose.sc-ptc-title h3.sc-ptc-title,div.loose.sc-ptc-title h4.sc-ptc-title,div.loose.sc-ptc-title h5.sc-ptc-title,div.loose.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-loose)}div.looser.sc-ptc-title h1.sc-ptc-title,div.looser.sc-ptc-title h2.sc-ptc-title,div.looser.sc-ptc-title h3.sc-ptc-title,div.looser.sc-ptc-title h4.sc-ptc-title,div.looser.sc-ptc-title h5.sc-ptc-title,div.looser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-looser)}div.paragraph.sc-ptc-title h1.sc-ptc-title,div.paragraph.sc-ptc-title h2.sc-ptc-title,div.paragraph.sc-ptc-title h3.sc-ptc-title,div.paragraph.sc-ptc-title h4.sc-ptc-title,div.paragraph.sc-ptc-title h5.sc-ptc-title,div.paragraph.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-paragraph)}div.black.sc-ptc-title h1.sc-ptc-title,div.black.sc-ptc-title h2.sc-ptc-title,div.black.sc-ptc-title h3.sc-ptc-title,div.black.sc-ptc-title h4.sc-ptc-title,div.black.sc-ptc-title h5.sc-ptc-title,div.black.sc-ptc-title h6.sc-ptc-title{color:var(--color-black)}div.white.sc-ptc-title h1.sc-ptc-title,div.white.sc-ptc-title h2.sc-ptc-title,div.white.sc-ptc-title h3.sc-ptc-title,div.white.sc-ptc-title h4.sc-ptc-title,div.white.sc-ptc-title h5.sc-ptc-title,div.white.sc-ptc-title h6.sc-ptc-title{color:var(--color-white)}div.gray-1.sc-ptc-title h1.sc-ptc-title,div.gray-1.sc-ptc-title h2.sc-ptc-title,div.gray-1.sc-ptc-title h3.sc-ptc-title,div.gray-1.sc-ptc-title h4.sc-ptc-title,div.gray-1.sc-ptc-title h5.sc-ptc-title,div.gray-1.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-01)}div.gray.sc-ptc-title h1.sc-ptc-title,div.gray.sc-ptc-title h2.sc-ptc-title,div.gray.sc-ptc-title h3.sc-ptc-title,div.gray.sc-ptc-title h4.sc-ptc-title,div.gray.sc-ptc-title h5.sc-ptc-title,div.gray.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-10)}div.gray-darker.sc-ptc-title h1.sc-ptc-title,div.gray-darker.sc-ptc-title h2.sc-ptc-title,div.gray-darker.sc-ptc-title h3.sc-ptc-title,div.gray-darker.sc-ptc-title h4.sc-ptc-title,div.gray-darker.sc-ptc-title h5.sc-ptc-title,div.gray-darker.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-11)}div.ellipsis-boxing.sc-ptc-title h1.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h2.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h3.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h4.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h5.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h6.sc-ptc-title{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}div.block.sc-ptc-title h1.sc-ptc-title,div.block.sc-ptc-title h2.sc-ptc-title,div.block.sc-ptc-title h3.sc-ptc-title,div.block.sc-ptc-title h4.sc-ptc-title,div.block.sc-ptc-title h5.sc-ptc-title,div.block.sc-ptc-title h6.sc-ptc-title{display:block}";
471
-
472
- const PtcTitle = class {
473
- constructor(hostRef) {
474
- registerInstance(this, hostRef);
475
- this.isPlmHub = false;
476
- this.type = 'h2';
477
- this.textAlign = undefined;
478
- this.upperline = 'dotted';
479
- this.titleShadow = undefined;
480
- this.titleColor = 'gray';
481
- this.titleMargin = undefined;
482
- this.titleWeight = undefined;
483
- this.titleSize = undefined;
484
- this.titleHeight = 'densest';
485
- this.styles = undefined;
486
- this.ellipsisLineCutoff = undefined;
487
- this.titleDisplay = 'inline-block';
488
- }
489
- render() {
490
- const classMap = this.getCssClassMap();
491
- const cutOff = this.getLineCuttoff();
492
- let TagType;
493
- switch (this.type) {
494
- case 'h1':
495
- TagType = 'h1';
496
- break;
497
- case 'h3':
498
- TagType = 'h3';
499
- break;
500
- case 'h4':
501
- TagType = 'h4';
502
- break;
503
- case 'h5':
504
- TagType = 'h5';
505
- break;
506
- case 'h6':
507
- TagType = 'h6';
508
- break;
509
- default:
510
- TagType = 'h2';
511
- }
512
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, { style: cutOff }, h("slot", null)))));
513
- }
514
- getCssClassMap() {
515
- return {
516
- [this.textAlign]: !!this.textAlign ? true : false,
517
- [this.upperline]: true,
518
- [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
519
- [this.titleMargin]: !!this.titleMargin ? true : false,
520
- [this.titleShadow]: !!this.titleShadow ? true : false,
521
- [this.titleWeight]: !!this.titleWeight ? true : false,
522
- [this.titleSize]: !!this.titleSize ? true : false,
523
- [this.titleHeight]: !!this.titleHeight ? true : false,
524
- [this.titleColor]: !!this.titleColor ? true : false,
525
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
526
- [this.titleDisplay]: !!this.titleDisplay ? true : false,
527
- };
528
- }
529
- getLineCuttoff() {
530
- let result;
531
- if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
532
- result = {
533
- ['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
534
- };
535
- }
536
- return result;
537
- }
538
- };
539
- PtcTitle.style = ptcTitleCss;
540
-
541
- const ptcTooltipCss = ".sc-ptc-tooltip-h{position:relative}.inline.sc-ptc-tooltip-h{display:inline}.inline.sc-ptc-tooltip-h .text-content.sc-ptc-tooltip{display:inline}.block.sc-ptc-tooltip-h{display:block}.text-ellipsis.sc-ptc-tooltip{position:relative;display:inline}.text-ellipsis.sc-ptc-tooltip:not(.truncated){z-index:auto !important}.z-auto.sc-ptc-tooltip{z-index:auto}.z-1.sc-ptc-tooltip{z-index:1}.z-2.sc-ptc-tooltip{z-index:2}.z-3.sc-ptc-tooltip{z-index:3}.z-999.sc-ptc-tooltip{z-index:999}.tooltip.sc-ptc-tooltip{position:absolute;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:auto;height:auto;visibility:hidden;text-align:left;text-shadow:none;white-space:normal}@media only screen and (min-width: 480px){.tooltip.sc-ptc-tooltip{width:273px}}.tooltip.danger.sc-ptc-tooltip{color:var(--color-red-07);font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-p);border:2px solid var(--color-red-07);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);padding:var(--ptc-element-spacing-06)}.tooltip.danger.sc-ptc-tooltip a.sc-ptc-tooltip{color:var(--color-blue-07)}.tooltip.bottom.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%)}.tooltip.bottom.sc-ptc-tooltip::after{top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.left.sc-ptc-tooltip{bottom:-12px;transform:translate(-80%, 100%)}.tooltip.left.sc-ptc-tooltip::after{top:1px;right:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.right.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%);right:0px}@-moz-document url-prefix(){.tooltip.right{right:unset !important;bottom:unset !important;transform:translate(60%, 8px) !important}@media screen and (min-width: 992px){.tooltip.right{transform:translate(100%, 8px) !important}}}.tooltip.right.sc-ptc-tooltip::after{top:1px;left:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.top.sc-ptc-tooltip{top:-8px;transform:translateY(-100%)}.tooltip.top.sc-ptc-tooltip::after{left:50%;bottom:1px;transform:translate(-50%, 100%);border:8px solid transparent;border-top:8px solid var(--color-gray-09)}.tooltip.bottom-right.sc-ptc-tooltip{bottom:-12px;transform:translate(-60%, 100%)}.tooltip.bottom-right.sc-ptc-tooltip::after{top:1px;left:75%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.danger.sc-ptc-tooltip::after{top:0;border-bottom:8px solid var(--color-red-07)}.truncated.sc-ptc-tooltip{cursor:help}.truncated.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.wrapper-content.sc-ptc-tooltip{display:inline-block;position:relative}.wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{width:auto;min-width:72px;max-width:273px}.wrapper-content.sc-ptc-tooltip .slot-content.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.tooltip.sc-ptc-tooltip::after{content:\"\";position:absolute}.ellipsis-by-line-boxing.sc-ptc-tooltip{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}@media only screen and (min-width: 480px){.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}}";
542
-
543
- const PtcTooltip = class {
544
- constructor(hostRef) {
545
- registerInstance(this, hostRef);
546
- this.textDisplay = 'inline';
547
- this.maxLength = 45;
548
- this.textLines = undefined;
549
- this.description = 'This is a tooltip text placeholder';
550
- this.zIndex = 'z-auto';
551
- this.position = 'bottom';
552
- this.styles = undefined;
553
- this.mode = 'text-only';
554
- this.theme = 'standard';
555
- this.width = 'default';
556
- this.hideOnMobile = false;
557
- this.isSmallScreen = undefined;
558
- }
559
- addTruncatedClass() {
560
- const appRoot = this.el;
561
- const text = appRoot.querySelectorAll('.ellipsis-by-line-boxing');
562
- text.forEach(t => {
563
- t.classList[t.scrollHeight > t.clientHeight ? 'add' : 'remove']('truncated');
564
- });
565
- }
566
- windowResize() {
567
- this.verifiyScreenSize();
568
- }
569
- verifiyScreenSize() {
570
- this.isSmallScreen = window.innerWidth < 768;
571
- }
572
- // Created this function to initialize the truncate function on specific elements like tabs
573
- enableAddTruncatedClass(element) {
574
- const allTabHeaders = document.querySelectorAll(element);
575
- for (const element of Array.from(allTabHeaders)) {
576
- let tabHeader = element;
577
- if (tabHeader) {
578
- tabHeader.addEventListener('click', () => {
579
- setTimeout(() => {
580
- this.addTruncatedClass();
581
- }, 100);
582
- });
583
- }
584
- }
585
- }
586
- componentWillLoad() {
587
- this.verifiyScreenSize();
588
- }
589
- componentDidLoad() {
590
- //this.addTruncatedClass();
591
- setTimeout(() => {
592
- this.addTruncatedClass();
593
- }, 1000);
594
- this.enableAddTruncatedClass('tab-header');
595
- this.enableAddTruncatedClass('ptc-ellipsis-dropdown');
596
- this.enableAddTruncatedClass('ptc-product-card');
597
- document.addEventListener('readystatechange', () => {
598
- if (document.readyState === 'complete') {
599
- this.addTruncatedClass();
600
- }
601
- });
602
- }
603
- render() {
604
- if (this.mode == 'wrapper') {
605
- return (h(Host, { class: this.textDisplay }, this.styles && h("style", null, this.styles), h("div", { class: "wrapper-content" }, h("div", { class: "slot-content" }, h("slot", null)), h("div", { class: `tooltip ${this.position} ${this.theme}` }, h("slot", { name: "description" }), this.description))));
606
- }
607
- else {
608
- const classMap = this.getCssClassMap();
609
- const cutOff = this.getLineCuttoff();
610
- let truncatedText = this.description.substring(0, this.maxLength);
611
- if (this.description.length > this.maxLength) {
612
- const lastSpace = truncatedText.lastIndexOf(' ');
613
- truncatedText = truncatedText.substring(0, lastSpace);
614
- truncatedText += '... ';
615
- }
616
- return (h(Host, { class: this.textDisplay + " " + this.width }, this.styles && h("style", null, this.styles), (this.hideOnMobile && this.isSmallScreen) ? (h("div", null, this.description)) : (h("div", { class: "text-content" }, this.textLines > 0 && !!this.textLines ? (h("div", { class: "ellipsis-by-line-boxing", style: cutOff }, this.description)) : (h("div", { class: classMap }, truncatedText)), h("div", { class: `tooltip ${this.position} ${this.theme}` }, this.description)))));
617
- }
618
- }
619
- getCssClassMap() {
620
- return {
621
- // ['ellipsis-by-line-boxing']: this.textLines && this.textLines > 0,
622
- ['text-ellipsis']: true,
623
- [this.zIndex]: this.description.length > this.maxLength ? true : false,
624
- ['truncated']: this.description.length > this.maxLength && !this.textLines ? true : false,
625
- };
626
- }
627
- getLineCuttoff() {
628
- let result;
629
- if (this.textLines && this.textLines > 0) {
630
- result = {
631
- ['-webkit-line-clamp']: `${this.textLines}`,
632
- };
633
- }
634
- return result;
635
- }
636
- get el() { return getElement(this); }
637
- };
638
- PtcTooltip.style = ptcTooltipCss;
639
-
640
- export { FlTabContent as fl_tab_content, FlTabHeader as fl_tab_header, FlTabImage as fl_tab_image, IconAsset as icon_asset, PtcBackgroundVideo as ptc_background_video, PtcButton as ptc_button, PtcFeaturedList as ptc_featured_list, PtcImg as ptc_img, PtcPara as ptc_para, PtcTitle as ptc_title, PtcTooltip as ptc_tooltip };