@ptcwebops/ptcw-design 6.3.16 → 6.3.17

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 (405) hide show
  1. package/dist/cjs/{component-35540bfb.js → component-06dda623.js} +1 -1
  2. package/dist/cjs/{component-1b8ad4d2.js → component-5b5b6a98.js} +1 -1
  3. package/dist/cjs/icon-asset_18.cjs.entry.js +1602 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -2
  6. package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +1 -1
  7. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +2 -2
  8. package/dist/cjs/ptcw-design.cjs.js +1 -1
  9. package/dist/collection/components/list-item/list-item.css +4 -0
  10. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +4 -0
  11. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +15 -0
  12. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +7 -0
  13. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +78 -2
  14. package/dist/collection/components/ptc-product-card/ptc-product-card.css +4 -0
  15. package/dist/collection/components/ptc-product-card/ptc-product-card.js +1 -1
  16. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +8 -0
  17. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +1 -1
  18. package/dist/collection/components/ptc-product-list/ptc-product-list.js +7 -1
  19. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +12 -0
  20. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +37 -5
  21. package/dist/custom-elements/index.js +96 -18
  22. package/dist/esm/academic-form-test.entry.js +1 -1
  23. package/dist/esm/author-listing-example.entry.js +1 -1
  24. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  25. package/dist/esm/blog-detail-layout.entry.js +2 -2
  26. package/dist/esm/blogs-search-section.entry.js +2 -2
  27. package/dist/esm/bundle-example.entry.js +1 -1
  28. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  29. package/dist/esm/{component-8c53e377.js → component-274da230.js} +1 -1
  30. package/dist/esm/{component-9beac35b.js → component-341e4eaa.js} +1 -1
  31. package/dist/esm/dropdown-item.entry.js +1 -1
  32. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  33. package/dist/esm/embedded-form.entry.js +1 -1
  34. package/dist/esm/event-jumbotron-example.entry.js +1 -1
  35. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  36. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  37. package/dist/esm/featured-list.entry.js +1 -1
  38. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  39. package/dist/esm/footer-form.entry.js +1 -1
  40. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  41. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  42. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  43. package/dist/esm/icon-asset_18.entry.js +1581 -0
  44. package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
  45. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  46. package/dist/esm/{interfaces-4caedd26.js → interfaces-7c0243be.js} +1 -1
  47. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  48. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  49. package/dist/esm/loader.js +3 -3
  50. package/dist/esm/max-width-container.entry.js +1 -1
  51. package/dist/esm/most-popular-news.entry.js +2 -2
  52. package/dist/esm/my-component.entry.js +2 -2
  53. package/dist/esm/news-search-result.entry.js +1 -1
  54. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  55. package/dist/esm/ptc-accordion.entry.js +1 -1
  56. package/dist/esm/ptc-announcement.entry.js +1 -1
  57. package/dist/esm/ptc-background-video.entry.js +2 -2
  58. package/dist/esm/ptc-badge.entry.js +1 -1
  59. package/dist/esm/ptc-bio-card.entry.js +1 -1
  60. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  61. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  62. package/dist/esm/ptc-card-content.entry.js +1 -1
  63. package/dist/esm/ptc-card_2.entry.js +1 -1
  64. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  65. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  66. package/dist/esm/ptc-checkbox.entry.js +1 -1
  67. package/dist/esm/ptc-close-icon_2.entry.js +1 -1
  68. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  69. package/dist/esm/ptc-container.entry.js +1 -1
  70. package/dist/esm/ptc-countdown.entry.js +1 -1
  71. package/dist/esm/ptc-data-lookup.entry.js +3 -3
  72. package/dist/esm/ptc-date.entry.js +1 -1
  73. package/dist/esm/ptc-dropdown.entry.js +1 -1
  74. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  75. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  76. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  77. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +1 -1
  78. package/dist/esm/ptc-featured-list.entry.js +1 -1
  79. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  80. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  81. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  82. package/dist/esm/ptc-footer.entry.js +1 -1
  83. package/dist/esm/ptc-form-checkbox_2.entry.js +3 -3
  84. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  85. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  86. package/dist/esm/ptc-form.entry.js +1 -1
  87. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  88. package/dist/esm/ptc-hero.entry.js +1 -1
  89. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  90. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  91. package/dist/esm/ptc-icon-card-slider-example.entry.js +1 -1
  92. package/dist/esm/ptc-icon-card.entry.js +2 -2
  93. package/dist/esm/ptc-icon-component.entry.js +1 -1
  94. package/dist/esm/ptc-icon-list.entry.js +1 -1
  95. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  96. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  97. package/dist/esm/ptc-img.entry.js +2 -2
  98. package/dist/esm/ptc-info-tile.entry.js +1 -1
  99. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  100. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  101. package/dist/esm/ptc-link.entry.js +2 -2
  102. package/dist/esm/ptc-list.entry.js +1 -1
  103. package/dist/esm/ptc-media-card.entry.js +2 -2
  104. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  105. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  106. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  107. package/dist/esm/ptc-multi-select_2.entry.js +4 -4
  108. package/dist/esm/ptc-nav-card.entry.js +1 -1
  109. package/dist/esm/ptc-nav-link.entry.js +1 -1
  110. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  111. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  112. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  113. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  114. package/dist/esm/ptc-news.entry.js +1 -1
  115. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  116. package/dist/esm/ptc-office-locations.entry.js +1 -1
  117. package/dist/esm/ptc-overlay.entry.js +1 -1
  118. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  119. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  120. package/dist/esm/ptc-previous-url.entry.js +1 -1
  121. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  122. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  123. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  124. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  125. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  126. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  127. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  128. package/dist/esm/ptc-quote.entry.js +1 -1
  129. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  130. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  131. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  132. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  133. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  134. package/dist/esm/ptc-scroll-button.entry.js +1 -1
  135. package/dist/esm/ptc-search-field.entry.js +1 -1
  136. package/dist/esm/ptc-seo-title.entry.js +1 -1
  137. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  138. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  139. package/dist/esm/ptc-skeleton.entry.js +1 -1
  140. package/dist/esm/ptc-slit-card.entry.js +1 -1
  141. package/dist/esm/ptc-social-icons-footer.entry.js +2 -2
  142. package/dist/esm/ptc-social-icons.entry.js +1 -1
  143. package/dist/esm/ptc-span.entry.js +1 -1
  144. package/dist/esm/ptc-square-card.entry.js +1 -1
  145. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  146. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  147. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  148. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  149. package/dist/esm/ptc-subnav.entry.js +1 -1
  150. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  151. package/dist/esm/ptc-tab-list.entry.js +1 -1
  152. package/dist/esm/ptc-tab.entry.js +1 -1
  153. package/dist/esm/ptc-tabs.entry.js +1 -1
  154. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  155. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  156. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  157. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  158. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  159. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  160. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  161. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  162. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  163. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  164. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  165. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  166. package/dist/esm/ptc-video-embed.entry.js +1 -1
  167. package/dist/esm/ptc-white-paper.entry.js +1 -1
  168. package/dist/esm/ptcw-design.js +3 -3
  169. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  170. package/dist/esm/sequential-bundle.entry.js +1 -1
  171. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +1 -1
  172. package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
  173. package/dist/esm/tab-content.entry.js +1 -1
  174. package/dist/esm/tab-header.entry.js +1 -1
  175. package/dist/esm/{utils-2f12c081.js → utils-7c68b88a.js} +1 -1
  176. package/dist/ptcw-design/{p-38e5e590.entry.js → p-00c6d967.entry.js} +1 -1
  177. package/dist/ptcw-design/{p-d089dc37.entry.js → p-00ccc051.entry.js} +1 -1
  178. package/dist/ptcw-design/{p-36abe396.entry.js → p-0261e249.entry.js} +1 -1
  179. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
  180. package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
  181. package/dist/ptcw-design/{p-71360e29.entry.js → p-0b182300.entry.js} +1 -1
  182. package/dist/ptcw-design/{p-e235bf27.entry.js → p-0bb3ea9a.entry.js} +1 -1
  183. package/dist/ptcw-design/{p-dfb400ed.entry.js → p-0d2f10cf.entry.js} +1 -1
  184. package/dist/ptcw-design/{p-14b7693f.entry.js → p-0e6b14a6.entry.js} +1 -1
  185. package/dist/ptcw-design/{p-fb8584e4.entry.js → p-0ed4609e.entry.js} +1 -1
  186. package/dist/ptcw-design/p-10413689.entry.js +1 -0
  187. package/dist/ptcw-design/p-11eb4dd1.entry.js +1 -0
  188. package/dist/ptcw-design/{p-04ff81ef.entry.js → p-135191ce.entry.js} +1 -1
  189. package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
  190. package/dist/ptcw-design/{p-68ed2afe.entry.js → p-17a4d9d0.entry.js} +1 -1
  191. package/dist/ptcw-design/{p-8521fdd4.entry.js → p-1948b914.entry.js} +1 -1
  192. package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
  193. package/dist/ptcw-design/{p-77cad16c.entry.js → p-1adea6a5.entry.js} +1 -1
  194. package/dist/ptcw-design/{p-d3ac3758.entry.js → p-1b2ff400.entry.js} +1 -1
  195. package/dist/ptcw-design/{p-464d8e22.entry.js → p-1d48bad3.entry.js} +1 -1
  196. package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
  197. package/dist/ptcw-design/{p-bf8fbba7.entry.js → p-208ec7f3.entry.js} +1 -1
  198. package/dist/ptcw-design/p-212cdacd.entry.js +1 -0
  199. package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
  200. package/dist/ptcw-design/{p-f9256e3d.entry.js → p-235149b5.entry.js} +1 -1
  201. package/dist/ptcw-design/{p-7bdf1e64.entry.js → p-25dd15af.entry.js} +1 -1
  202. package/dist/ptcw-design/{p-b647f7a1.entry.js → p-27b8457b.entry.js} +1 -1
  203. package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
  204. package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-7fe4d383.entry.js → p-29ae44dd.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
  207. package/dist/ptcw-design/{p-18ac526f.entry.js → p-2ab0f25c.entry.js} +1 -1
  208. package/dist/ptcw-design/{p-e5369c4d.entry.js → p-2fa28be9.entry.js} +1 -1
  209. package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
  210. package/dist/ptcw-design/{p-a59c9cdc.entry.js → p-3411ac77.entry.js} +1 -1
  211. package/dist/ptcw-design/p-36c42aae.entry.js +1 -0
  212. package/dist/ptcw-design/p-3717a6e1.entry.js +1 -0
  213. package/dist/ptcw-design/{p-6e8ed2ee.entry.js → p-379fcc72.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-257267e3.entry.js → p-38e43284.entry.js} +1 -1
  215. package/dist/ptcw-design/p-39255f59.entry.js +1 -0
  216. package/dist/ptcw-design/{p-f61a3476.entry.js → p-3b967df1.entry.js} +1 -1
  217. package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
  218. package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
  220. package/dist/ptcw-design/p-3f669e89.entry.js +1 -0
  221. package/dist/ptcw-design/{p-fe907670.entry.js → p-4335d7f3.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
  223. package/dist/ptcw-design/{p-f867ebe6.entry.js → p-44e72b9d.entry.js} +1 -1
  224. package/dist/ptcw-design/{p-89f0cf12.entry.js → p-472579ea.entry.js} +1 -1
  225. package/dist/ptcw-design/{p-9f194554.entry.js → p-483e20af.entry.js} +1 -1
  226. package/dist/ptcw-design/p-4c1451df.entry.js +1 -0
  227. package/dist/ptcw-design/{p-757954b2.entry.js → p-522cb451.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-6aa9ed95.entry.js → p-575c7fc0.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-8c121480.entry.js → p-5f2a4384.entry.js} +1 -1
  232. package/dist/ptcw-design/p-5f98dec1.entry.js +1 -0
  233. package/dist/ptcw-design/{p-61d28206.entry.js → p-5fb671ee.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-acdd9a1d.entry.js → p-647dee4f.entry.js} +1 -1
  236. package/dist/ptcw-design/{p-bab5bb88.entry.js → p-666cdec9.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-76dab076.entry.js → p-68955802.entry.js} +1 -1
  238. package/dist/ptcw-design/{p-593b8eff.entry.js → p-69ef15d4.entry.js} +1 -1
  239. package/dist/ptcw-design/{p-4d8f6f46.entry.js → p-6b7d2579.entry.js} +1 -1
  240. package/dist/ptcw-design/{p-9de963f8.entry.js → p-6d628113.entry.js} +1 -1
  241. package/dist/ptcw-design/{p-b209c116.entry.js → p-6f8858c3.entry.js} +1 -1
  242. package/dist/ptcw-design/p-6ffcd96c.entry.js +1 -0
  243. package/dist/ptcw-design/{p-8e42a22d.entry.js → p-726dab37.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-04aae3f5.entry.js → p-74a845fd.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-d74ccb19.entry.js → p-75d8b6ec.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-282b7d4e.entry.js → p-78252282.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-b436f56d.entry.js → p-79762cf6.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-4ca956c1.entry.js → p-79c2e0fb.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-b7fa9f2c.entry.js → p-79f7a925.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-7cc9255e.entry.js → p-7fada7ae.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
  252. package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
  253. package/dist/ptcw-design/{p-80122e26.js → p-826c17e8.js} +1 -1
  254. package/dist/ptcw-design/{p-d51438de.entry.js → p-8771d448.entry.js} +1 -1
  255. package/dist/ptcw-design/p-88c3ffb0.entry.js +1 -0
  256. package/dist/ptcw-design/{p-352e87c0.entry.js → p-891a265b.entry.js} +1 -1
  257. package/dist/ptcw-design/{p-7a3e9ecd.entry.js → p-8a452c0b.entry.js} +1 -1
  258. package/dist/ptcw-design/p-8c25a821.entry.js +1 -0
  259. package/dist/ptcw-design/{p-15e36f30.entry.js → p-8cdcfb51.entry.js} +1 -1
  260. package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
  261. package/dist/ptcw-design/{p-75431fa1.entry.js → p-8f588e8c.entry.js} +1 -1
  262. package/dist/ptcw-design/{p-761a31f8.entry.js → p-8ffdd794.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-2aa19c11.entry.js → p-9292844e.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
  265. package/dist/ptcw-design/{p-cc677723.entry.js → p-958e1559.entry.js} +1 -1
  266. package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
  267. package/dist/ptcw-design/{p-fbd9c8fc.entry.js → p-973c69d8.entry.js} +1 -1
  268. package/dist/ptcw-design/p-99e41dc4.entry.js +1 -0
  269. package/dist/ptcw-design/{p-bfacfe67.entry.js → p-9a28ded2.entry.js} +1 -1
  270. package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
  271. package/dist/ptcw-design/p-9d8a9a72.entry.js +1 -0
  272. package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-8cea8943.entry.js → p-9ea0d71c.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-4f3dea53.entry.js → p-a1dc7ae5.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-c8f68292.entry.js → p-a2f25add.entry.js} +1 -1
  278. package/dist/ptcw-design/p-a3f9e4ba.entry.js +1 -0
  279. package/dist/ptcw-design/{p-8191928d.entry.js → p-a974f98f.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-4737a0f6.entry.js → p-ac94b5d2.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-00e21489.entry.js → p-ad4f4f33.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-d6845e91.entry.js → p-af6ffbab.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
  284. package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-ad821a01.entry.js → p-b29e43cf.entry.js} +1 -1
  286. package/dist/ptcw-design/p-b3a27df6.entry.js +1 -0
  287. package/dist/ptcw-design/{p-0e5932f0.entry.js → p-b3b63f67.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-560b05a5.entry.js → p-bca81995.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-52e17d34.entry.js → p-bd9705c4.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-a7cb3851.entry.js → p-be00fb74.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-98844b50.js → p-be533f0d.js} +1 -1
  292. package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-baeee2b4.entry.js → p-ca039722.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-d66debb3.entry.js → p-ca5763d0.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-9dbcfcee.entry.js → p-cc691b14.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-98610430.entry.js → p-ce125ef2.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-9df7489b.entry.js → p-d4207d86.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-260ecfef.entry.js → p-d9ec506c.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-a54c6da5.entry.js → p-dabb1b70.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-b963ec8c.entry.js → p-de277bc1.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-a8504f11.entry.js → p-de663192.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-092e50c9.entry.js → p-e0c44285.entry.js} +1 -1
  310. package/dist/ptcw-design/p-e1692ed6.entry.js +1 -0
  311. package/dist/ptcw-design/{p-a37c5209.entry.js → p-e2e33ddb.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-cad4b517.entry.js → p-e51bb274.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-a791c53a.entry.js → p-e6cb2dce.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-89177041.entry.js → p-e75dff95.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-95187918.entry.js → p-e77d2204.entry.js} +1 -1
  317. package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
  318. package/dist/ptcw-design/{p-0a9ee6c2.entry.js → p-e8b51e7d.entry.js} +1 -1
  319. package/dist/ptcw-design/{p-752bba1c.entry.js → p-ea065091.entry.js} +1 -1
  320. package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-711bcdad.js → p-ee1183b2.js} +1 -1
  322. package/dist/ptcw-design/{p-da02913d.entry.js → p-f05be87f.entry.js} +1 -1
  323. package/dist/ptcw-design/{p-f5c97ab2.entry.js → p-f2006b03.entry.js} +1 -1
  324. package/dist/ptcw-design/{p-e43c30c9.entry.js → p-f3db0dc6.entry.js} +1 -1
  325. package/dist/ptcw-design/{p-008307a6.entry.js → p-f69df077.entry.js} +1 -1
  326. package/dist/ptcw-design/{p-4702c233.entry.js → p-fa99b158.entry.js} +1 -1
  327. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  328. package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +6 -0
  329. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
  330. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +6 -3
  331. package/dist/types/components.d.ts +6 -0
  332. package/package.json +1 -1
  333. package/readme.md +1 -1
  334. package/dist/cjs/icon-asset.cjs.entry.js +0 -65
  335. package/dist/cjs/list-item.cjs.entry.js +0 -48
  336. package/dist/cjs/ptc-back-to-top.cjs.entry.js +0 -83
  337. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -47
  338. package/dist/cjs/ptc-button.cjs.entry.js +0 -87
  339. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +0 -45
  340. package/dist/cjs/ptc-para.cjs.entry.js +0 -127
  341. package/dist/cjs/ptc-picture.cjs.entry.js +0 -162
  342. package/dist/cjs/ptc-product-card.cjs.entry.js +0 -62
  343. package/dist/cjs/ptc-product-category.cjs.entry.js +0 -20
  344. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +0 -78
  345. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +0 -28
  346. package/dist/cjs/ptc-product-list.cjs.entry.js +0 -154
  347. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +0 -145
  348. package/dist/cjs/ptc-readmore.cjs.entry.js +0 -180
  349. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  350. package/dist/cjs/ptc-title.cjs.entry.js +0 -152
  351. package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
  352. package/dist/esm/icon-asset.entry.js +0 -61
  353. package/dist/esm/list-item.entry.js +0 -44
  354. package/dist/esm/ptc-back-to-top.entry.js +0 -79
  355. package/dist/esm/ptc-breadcrumb.entry.js +0 -43
  356. package/dist/esm/ptc-button.entry.js +0 -83
  357. package/dist/esm/ptc-nav-skip-to-content.entry.js +0 -41
  358. package/dist/esm/ptc-para.entry.js +0 -123
  359. package/dist/esm/ptc-picture.entry.js +0 -158
  360. package/dist/esm/ptc-product-card.entry.js +0 -58
  361. package/dist/esm/ptc-product-category.entry.js +0 -16
  362. package/dist/esm/ptc-product-dropdown.entry.js +0 -74
  363. package/dist/esm/ptc-product-highlight-card.entry.js +0 -24
  364. package/dist/esm/ptc-product-list.entry.js +0 -150
  365. package/dist/esm/ptc-product-sidebar.entry.js +0 -141
  366. package/dist/esm/ptc-readmore.entry.js +0 -176
  367. package/dist/esm/ptc-spacer.entry.js +0 -34
  368. package/dist/esm/ptc-title.entry.js +0 -148
  369. package/dist/esm/ptc-tooltip.entry.js +0 -103
  370. package/dist/ptcw-design/p-077839d5.entry.js +0 -1
  371. package/dist/ptcw-design/p-0a214a22.entry.js +0 -1
  372. package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
  373. package/dist/ptcw-design/p-1454ba84.entry.js +0 -1
  374. package/dist/ptcw-design/p-15758793.entry.js +0 -1
  375. package/dist/ptcw-design/p-1eb40265.entry.js +0 -1
  376. package/dist/ptcw-design/p-24776ca2.entry.js +0 -1
  377. package/dist/ptcw-design/p-297a14cb.entry.js +0 -1
  378. package/dist/ptcw-design/p-3ddb6c50.entry.js +0 -1
  379. package/dist/ptcw-design/p-3ed4a7ed.entry.js +0 -1
  380. package/dist/ptcw-design/p-45b1f3fc.entry.js +0 -1
  381. package/dist/ptcw-design/p-4b192f5e.entry.js +0 -1
  382. package/dist/ptcw-design/p-4cee12b8.entry.js +0 -1
  383. package/dist/ptcw-design/p-4f93c631.entry.js +0 -1
  384. package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
  385. package/dist/ptcw-design/p-7793babb.entry.js +0 -1
  386. package/dist/ptcw-design/p-7d29a418.entry.js +0 -1
  387. package/dist/ptcw-design/p-901c31b3.entry.js +0 -1
  388. package/dist/ptcw-design/p-97b9f41b.entry.js +0 -1
  389. package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
  390. package/dist/ptcw-design/p-99355e65.entry.js +0 -1
  391. package/dist/ptcw-design/p-99daf693.entry.js +0 -1
  392. package/dist/ptcw-design/p-99ee8a0e.entry.js +0 -1
  393. package/dist/ptcw-design/p-9d3a7f36.entry.js +0 -1
  394. package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
  395. package/dist/ptcw-design/p-a5fc048f.entry.js +0 -1
  396. package/dist/ptcw-design/p-a8872ce3.entry.js +0 -1
  397. package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
  398. package/dist/ptcw-design/p-b8ee8699.entry.js +0 -1
  399. package/dist/ptcw-design/p-bf56d5a3.entry.js +0 -1
  400. package/dist/ptcw-design/p-c89030e4.entry.js +0 -1
  401. package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
  402. package/dist/ptcw-design/p-e4eb925f.entry.js +0 -1
  403. package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
  404. package/dist/ptcw-design/p-fd87fcd5.entry.js +0 -1
  405. /package/dist/ptcw-design/{p-98426799.js → p-c1513c3f.js} +0 -0
@@ -1,44 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const listItemCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host(.list-primary){display:block}:host(.flush-before) li::before{content:\"\" !important}:host(.breadcrumb){display:inline-block}:host(.breadcrumb) li{position:relative;display:inline-block;color:var(--color-white);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);display:flex;align-items:baseline}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0;margin-left:2px}:host(.breadcrumb) li a.item-link{color:var(--color-white);font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}:host(.breadcrumb) li a.item-link:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);padding-bottom:5px;padding-right:5px}:host(.breadcrumb-center) li{display:inline}:host(.list-green){display:block;margin-bottom:16px}:host(.list-green) li a{font-size:var(--ptc-font-size-xx-small);color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:var(--color-green-04);font-weight:var(--ptc-font-weight-bold);transition:color var(--ptc-transition-medium) var(--ptc-ease-inout);line-height:var(--ptc-line-height-p);text-underline-offset:4px}:host(.list-green) li a:hover{color:var(--color-green-04)}:host(:not(.flush-before)) li::before{margin-right:2px}:host(.list-footer) li{display:inline-block;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-regular);font-style:normal;font-stretch:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;color:var(--color-white);margin:0 0.5rem}:host(.list-footer) li a{color:var(--color-white-grey);border-bottom:1px solid transparent;display:inline-block;text-decoration:none}:host(.list-footer) li a:hover,:host(.list-footer) li a:focus{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey);transition:border var(--ptc-ease-inout) var(--ptc-transition-medium)}:host(.list-footer) li a:active{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey)}:host(.list-footer) li a:focus{outline:3px solid var(--color-blue-07);outline-offset:2px;border-radius:var(--ptc-border-radius-standard);text-decoration:none;border-color:transparent !important}:host(.list-footer) li a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none !important;border-color:white !important}:host(.white) li{color:var(--color-white)}:host(.white) li a.item-link{color:var(--color-white)}:host(.light-gray) li{color:var(--color-gray-01)}:host(.light-gray) li a.item-link{color:var(--color-gray-01)}:host(.primary-gray) li{color:var(--color-gray-10)}:host(.primary-gray) li a.item-link{color:var(--color-gray-10)}:host(.list-underline) li{color:var(--color-gray-10);list-style:none;text-decoration:underline 1px solid;text-underline-offset:2px;line-height:var(--ptc-line-height-p)}:host(.list-underline) li a{display:inline-block;padding:4px 0}:host(.list-underline) li a.item-link{color:var(--color-gray-10)}:host li .has-before-home-icon{display:block}@media only screen and (min-width: 480px){:host li .has-before-home-icon{display:none}}";
4
-
5
- const ListItem = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.listType = 'list-primary';
9
- this.linkHref = undefined;
10
- this.flushBefore = false;
11
- this.linkTarget = '_self';
12
- this.hasBeforeHomeIcon = false;
13
- this.trackerId = undefined;
14
- this.color = undefined;
15
- this.styles = undefined;
16
- this.ariaLabel = '';
17
- }
18
- render() {
19
- const classMap = this.getCssClassMap();
20
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("li", { id: this.trackerId }, this.linkHref ? (h("a", Object.assign({ class: "item-link", target: this.linkTarget }, (this.linkHref ? { href: this.linkHref } : {}), (this.ariaLabel !== '' ? { 'aria-label': this.ariaLabel } : {}), { tabindex: "0" }), h("slot", null))) : (h("slot", null)))));
21
- }
22
- getCssClassMap() {
23
- let bcEnable = false;
24
- if (this.hostElement && this.hostElement.parentElement) {
25
- try {
26
- bcEnable = (this.hostElement.parentElement.classList.contains('center') && this.hostElement.parentElement.tagName === 'PTC-BREADCRUMB');
27
- }
28
- catch (err) {
29
- console.log(err);
30
- }
31
- }
32
- return {
33
- [this.listType]: true,
34
- ['flush-before']: this.flushBefore ? true : false,
35
- [this.color]: !!this.color ? true : false,
36
- ['breadcrumb-center']: bcEnable,
37
- ['mf-listen']: true
38
- };
39
- }
40
- get hostElement() { return getElement(this); }
41
- };
42
- ListItem.style = listItemCss;
43
-
44
- export { ListItem as list_item };
@@ -1,79 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const ptcBackToTopCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .back-to-top-button{right:24px;width:64px;height:auto;border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);color:var(--color-gray-10);font-size:12px;font-weight:var(--ptc-font-weight-semibold);outline:none;cursor:pointer;transition:opacity 0.3s ease-in-out;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:var(--ptc-shadow-small);padding-top:4px;padding-bottom:4px}:host .back-to-top-button:hover{opacity:1}:host .back-to-top-button-fixed{position:fixed;bottom:140px}:host .back-to-top-button-absolute{position:absolute;bottom:150px}:host .arrow{margin-bottom:5px}";
4
-
5
- const PtcBackToTop = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.handleScroll = () => {
9
- const scrollY = window.pageYOffset || document.documentElement.scrollTop;
10
- const containerHeight = document.querySelector('.ptc-container-relative');
11
- this.showButton = scrollY > window.innerHeight * 1;
12
- if (containerHeight) {
13
- if (this.showButton && scrollY <= (containerHeight.clientHeight - window.innerHeight)) {
14
- const btnelement = this.el.shadowRoot.querySelector('.back-to-top-button');
15
- if (btnelement) {
16
- if (!btnelement.classList.contains('back-to-top-button-fixed')) {
17
- btnelement.classList.add('back-to-top-button-fixed');
18
- }
19
- if (btnelement.classList.contains('back-to-top-button-absolute')) {
20
- btnelement.classList.remove('back-to-top-button-absolute');
21
- }
22
- }
23
- }
24
- else if (this.showButton && scrollY > (containerHeight.clientHeight - window.innerHeight)) {
25
- const btnelement = this.el.shadowRoot.querySelector('.back-to-top-button');
26
- if (btnelement) {
27
- if (btnelement.classList.contains('back-to-top-button-fixed')) {
28
- btnelement.classList.remove('back-to-top-button-fixed');
29
- }
30
- if (!btnelement.classList.contains('back-to-top-button-absolute')) {
31
- btnelement.classList.add('back-to-top-button-absolute');
32
- }
33
- }
34
- }
35
- }
36
- else {
37
- if (this.showButton) {
38
- const btnelement = this.el.shadowRoot.querySelector('.back-to-top-button');
39
- if (btnelement) {
40
- if (!btnelement.classList.contains('back-to-top-button-fixed')) {
41
- btnelement.classList.add('back-to-top-button-fixed');
42
- }
43
- }
44
- }
45
- }
46
- };
47
- this.showButton = false;
48
- this.backToTop = "Back to Top";
49
- }
50
- componentDidLoad() {
51
- window.addEventListener('scroll', this.handleScroll);
52
- }
53
- disconnectedCallback() {
54
- window.removeEventListener('scroll', this.handleScroll);
55
- }
56
- handleClick() {
57
- this.scrollToTop();
58
- }
59
- scrollToTop() {
60
- if ('scrollBehavior' in document.documentElement.style) {
61
- // Smooth scrolling is supported
62
- window.scrollTo({
63
- top: 0,
64
- behavior: 'smooth',
65
- });
66
- }
67
- else {
68
- // Fallback for browsers that do not support smooth scrolling
69
- window.scrollTo(0, 0);
70
- }
71
- }
72
- render() {
73
- return (h(Host, null, this.showButton && (h("button", { class: 'back-to-top-button hyphenate-text', title: this.backToTop }, h("span", { class: 'arrow' }, h("svg", { width: "18", height: "12", viewBox: "0 0 18 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M15.5248 11.625L8.9998 5.1L2.4748 11.625L0.112305 9.2625L8.9998 0.375L17.8873 9.2625L15.5248 11.625Z", fill: "#323B42" }))), h("span", { class: 'text' }, this.backToTop)))));
74
- }
75
- get el() { return getElement(this); }
76
- };
77
- PtcBackToTop.style = ptcBackToTopCss;
78
-
79
- export { PtcBackToTop as ptc_back_to_top };
@@ -1,43 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const ptcBreadcrumbCss = "h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-ptc-breadcrumb-h{margin-top:var(--ptc-element-spacing-05);display:flex;align-items:flex-start}.sc-ptc-breadcrumb-h .visually-hidden.sc-ptc-breadcrumb{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{position:relative;list-style:none;margin:0;padding:0 0 0 22px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{position:relative;display:inline;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);word-break:initial;color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb::before{content:\"/\";margin:0 3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:absolute;left:0;margin-top:-3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb::before{display:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:active{transition:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.breadcrumb-item-link.sc-ptc-breadcrumb:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);display:inline-block}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.breadcrumb-item-link.sc-ptc-breadcrumb:focus-visible.dark-mode-link:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-white)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-white)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-black)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-black)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-green-07)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-green-07)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-06)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-06)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-05)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-05)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-10)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-10)}.left.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-start;align-items:flex-end}.center.sc-ptc-breadcrumb-h{display:flex;justify-content:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{padding:0;text-align:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{display:inline-block}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:relative;left:auto;margin-top:0;vertical-align:text-bottom;margin-bottom:-1px}.right.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-end}.remove-top-margin.sc-ptc-breadcrumb-h{margin-top:0px !important}";
4
-
5
- const PtcBreadcrumb = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.position = undefined;
9
- this.removeTopMargin = false;
10
- this.color = 'white';
11
- this.isDarkMode = false;
12
- this.styles = undefined;
13
- }
14
- componentWillLoad() {
15
- this.listItems = this.hostElement.querySelectorAll('list-item');
16
- }
17
- componentDidLoad() {
18
- if (this.listItems) {
19
- this.hostElement.querySelectorAll('list-item').forEach((item) => {
20
- item.remove();
21
- });
22
- }
23
- }
24
- render() {
25
- const classMap = this.getCssClassMap();
26
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("nav", { "aria-label": "Breadcrumb" }, h("ol", { class: "ptc-breadcrumb-ol" }, h("li", { class: 'home-link mf-listen', id: "homeLinkID" }, h("a", { href: "/", "aria-label": "Home Link", class: { ['breadcrumb-item-link']: true, ['dark-mode-link']: this.isDarkMode } }, h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color }))), Array.from(this.listItems).map((item, index, array) => {
27
- const textContent = item.textContent.trim();
28
- const href = item.getAttribute('link-href');
29
- return (h("li", { key: index, class: "mf-listen", id: `breadcrumb` + index + `ID` }, index < array.length - 1 ? (h("a", { href: href, target: '_self', class: { ['breadcrumb-item-link']: true, ['dark-mode-link']: this.isDarkMode } }, textContent)) : (textContent), h("span", { class: "visually-hidden" }, "/")));
30
- })))));
31
- }
32
- getCssClassMap() {
33
- return {
34
- [this.position]: !!this.position && this.position !== undefined ? true : false,
35
- ['remove-top-margin']: this.removeTopMargin ? true : false,
36
- [this.color]: true
37
- };
38
- }
39
- get hostElement() { return getElement(this); }
40
- };
41
- PtcBreadcrumb.style = ptcBreadcrumbCss;
42
-
43
- export { PtcBreadcrumb as ptc_breadcrumb };
@@ -1,83 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { C as CheckDarkFocusState, c as getSeoTagType } from './utils-2f12c081.js';
3
-
4
- const ptcButtonCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}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.reveal-down .content{transition:opacity var(--ptc-transition-medium) var(--ptc-ease-out);opacity:0;font-size:var(--ptc-font-size-xx-small)}button.reveal-down .icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;align-content:center;height:16px}button.reveal-down .icon-wrapper .icon{transition:top var(--ptc-transition-fast) var(--ptc-ease-out);position:absolute;display:inline-block;top:-12px}button:hover.reveal-down .content{opacity:1}button:hover.reveal-down .icon-wrapper .icon{top:4px}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-visible{border-radius:4px !important;border:2px solid #FFF !important;outline:5px solid #003DD6 !important;background-color:transparent !important;outline-offset:0px !important}.nav:focus{text-decoration:none;border:solid 2px transparent;outline:none}.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-visible,.ptc-quaternary:focus-visible,.ptc-secondary:focus-visible,.ptc-tertiary:focus-visible,.icon-toggle:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.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.small,.ptc-quaternary.small,.ptc-secondary.small,.ptc-tertiary.small,.icon-toggle.small{padding:var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}.ptc-primary.small span,.ptc-quaternary.small span,.ptc-secondary.small span,.ptc-tertiary.small span,.icon-toggle.small span{font-size:var(--ptc-font-size-xx-small)}.ptc-primary.medium,.ptc-quaternary.medium,.ptc-secondary.medium,.ptc-tertiary.medium,.icon-toggle.medium{padding:14px 20px}.ptc-primary.medium span,.ptc-quaternary.medium span,.ptc-secondary.medium span,.ptc-tertiary.medium span,.icon-toggle.medium span{font-size:var(--ptc-font-size-small)}.ptc-primary.large,.ptc-quaternary.large,.ptc-secondary.large,.ptc-tertiary.large,.icon-toggle.large{padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}.ptc-primary.large span,.ptc-quaternary.large span,.ptc-secondary.large span,.ptc-tertiary.large span,.icon-toggle.large span{font-size:var(--ptc-font-size-large)}.ptc-primary.acc-alt-style:focus-visible,.ptc-quaternary.acc-alt-style:focus-visible,.ptc-secondary.acc-alt-style:focus-visible,.ptc-tertiary.acc-alt-style:focus-visible,.icon-toggle.acc-alt-style:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.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);transition:none}.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);transition:none}.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);transition:none}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-tertiary ::slotted(a){color:var(--color-gray-10) !important;text-decoration-line:none !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard);cursor:pointer}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09);transition:none}.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{transition:none;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{transition:none;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}.tracker-div{display:inline;display:inline-block}.focus-state-dark-background:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}";
5
-
6
- const PtcButton = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.clickEvent = createEvent(this, "clickEvent", 7);
10
- this.disabled = false;
11
- this.active = false;
12
- this.type = 'button';
13
- this.color = 'ptc-primary';
14
- this.iconAnimation = '';
15
- this.iconPosition = 'icon-right';
16
- this.linkHref = undefined;
17
- this.linkTitle = undefined;
18
- this.target = '_self';
19
- this.rel = undefined;
20
- this.tabNav = 0;
21
- this.styles = undefined;
22
- this.textAlign = undefined;
23
- this.enableAccessibilityAltStyle = false;
24
- this.size = undefined;
25
- this.buttonTitle = undefined;
26
- this.ariaLabel = '';
27
- this.seoCompatibilityMode = false;
28
- this.maintainContent = false;
29
- this.trackerId = undefined;
30
- this.darkFocusState = false;
31
- }
32
- clickEventHandler() {
33
- this.clickEvent.emit();
34
- }
35
- componentWillLoad() {
36
- CheckDarkFocusState(this, this.el);
37
- }
38
- seoCompRender() {
39
- const classMap = this.getCssClassMap();
40
- const Tag = !!this.linkHref ? 'a' : 'button';
41
- const [TagType, firstChild] = getSeoTagType(this.el, Tag);
42
- const html = firstChild && firstChild.innerHTML;
43
- if (this.el == firstChild) {
44
- this.el.innerHTML = '';
45
- }
46
- if (this.maintainContent) {
47
- this.el.innerHTML = html;
48
- }
49
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h(TagType, 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 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), h("span", { innerHTML: html }, h("slot", { name: "slot-before-text" }), h("slot", { name: "slot-after-text" }))))));
50
- }
51
- standardRender() {
52
- const classMap = this.getCssClassMap();
53
- const Tag = !!this.linkHref ? 'a' : 'button';
54
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, 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 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), this.iconAnimation == 'reveal-down' ?
55
- h("span", null, h("div", { class: "content" }, h("slot", null)), h("div", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("slot", { name: "slot-after-text" })))) :
56
- h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" }))))));
57
- }
58
- render() {
59
- if (this.seoCompatibilityMode) {
60
- return this.seoCompRender();
61
- }
62
- else {
63
- return this.standardRender();
64
- }
65
- }
66
- getCssClassMap() {
67
- return {
68
- [this.color]: true,
69
- [this.iconAnimation]: true,
70
- [this.iconPosition]: true,
71
- ['disabled']: this.disabled ? true : false,
72
- ['active']: this.active ? true : false,
73
- [this.textAlign]: true,
74
- [this.size]: true,
75
- ['acc-alt-style']: this.enableAccessibilityAltStyle,
76
- ['focus-state-dark-background']: this.darkFocusState
77
- };
78
- }
79
- get el() { return getElement(this); }
80
- };
81
- PtcButton.style = ptcButtonCss;
82
-
83
- export { PtcButton as ptc_button };
@@ -1,41 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const ptcNavSkipToContentCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .skip-link{position:fixed;top:-200px}:host .skip-link:focus{top:0;display:block;padding:8px 12px;text-align:center;margin:8px;border-radius:var(--ptc-border-radius-standard);outline:5px solid #003DD6;background:#FFF;z-index:99999;box-shadow:var(--ptc-shadow-medium);text-decoration:none;color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-small);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p)}";
4
-
5
- const PtcNavSkipToContent = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.hideOnScroll = () => {
9
- var _a, _b;
10
- let skipLink = (_b = (_a = this.hostEle) === null || _a === void 0 ? void 0 : _a.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('a.skip-link');
11
- skipLink === null || skipLink === void 0 ? void 0 : skipLink.blur();
12
- };
13
- this.escalateOnDom = () => {
14
- const body = document.querySelector('body');
15
- body.insertAdjacentElement('afterbegin', this.hostEle);
16
- };
17
- this.componentWillLoad = () => {
18
- this.escalateOnDom();
19
- window.addEventListener('scroll', this.hideOnScroll);
20
- };
21
- this.disconnectedCallback = () => {
22
- window.removeEventListener('scroll', this.hideOnScroll);
23
- };
24
- this.buttonText = "Skip To Main Content";
25
- this.sectionId = "";
26
- }
27
- scrollToSection(e) {
28
- e.preventDefault();
29
- const section = document.getElementById(this.sectionId);
30
- if (section) {
31
- section.scrollIntoView({ behavior: 'smooth' });
32
- }
33
- }
34
- render() {
35
- return (h(Host, null, h("slot", null), h("a", { tabindex: 0, class: "skip-link", href: "", "aria-label": "Skip to main content", onClick: (e) => this.scrollToSection(e) }, this.buttonText)));
36
- }
37
- get hostEle() { return getElement(this); }
38
- };
39
- PtcNavSkipToContent.style = ptcNavSkipToContentCss;
40
-
41
- export { PtcNavSkipToContent as ptc_nav_skip_to_content };
@@ -1,123 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { s as seoSlotReset } from './utils-2f12c081.js';
3
-
4
- const ptcParaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{position:relative;z-index:1}:host .tooltip-enabled{position:relative}: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-8 ::slotted(a){font-weight:var(--ptc-font-weight-extrabold) !important}p.w-9{font-weight:var(--ptc-font-weight-black)}p.w-9 ::slotted(a){font-weight:var(--ptc-font-weight-black) !important}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.right-768above{text-align:left}@media (min-width: 768px){p.right-768above{text-align:right}}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}p.line-clamp-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 768px){:host(.hide-tooltip-on-mobile) .line-clamp-title{-webkit-line-clamp:initial !important}}";
5
-
6
- const PtcPara = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.fontSize = 'x-small';
10
- this.fontWeight = 'w-4';
11
- this.paraStyle = 'default';
12
- this.paraColor = 'primary-grey';
13
- this.paraLineH = 'line-height-normal';
14
- this.paraMargin = undefined;
15
- this.paraAlign = undefined;
16
- this.ellipsisLineCutoff = undefined;
17
- this.paraZIndex = undefined;
18
- this.styles = undefined;
19
- this.seoCompatibilityMode = false;
20
- this.tooltipZIndex = 'auto';
21
- this.tooltipPosition = 'bottom';
22
- this.tooltipTheme = 'standard';
23
- this.enableTooltip = false;
24
- this.maxChars = undefined;
25
- this.maxLines = undefined;
26
- this.hideTooltipOnMobile = false;
27
- this.ismob = undefined;
28
- this.noOverflow = false;
29
- this.tooltipWidth = 'default';
30
- }
31
- // Tooltip Properties ends
32
- render() {
33
- if (this.seoCompatibilityMode) {
34
- seoSlotReset(this.el);
35
- }
36
- return this.standardRender();
37
- }
38
- //tooltip code
39
- getSortedText(content) {
40
- if (!this.enableTooltip)
41
- return;
42
- const trimmedContent = content.trim();
43
- const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
44
- return shouldTruncate ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026` : trimmedContent;
45
- }
46
- componentDidLoad() {
47
- if (this.hideTooltipOnMobile) {
48
- this.el.classList.add('hide-tooltip-on-mobile');
49
- }
50
- this.el.addEventListener('mouseenter', () => { this.toggleTitleTooltip(true); });
51
- this.el.addEventListener('mouseleave', () => { this.toggleTitleTooltip(false); });
52
- if (this.enableTooltip) {
53
- let paraContent = this.el.innerText || this.el.textContent;
54
- this.tooltipText = paraContent.trim();
55
- this.el.innerText = this.getSortedText(paraContent);
56
- }
57
- }
58
- toggleTitleTooltip(show) {
59
- const tooltipClass = 'tooltip-box';
60
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
61
- const text = this.el.shadowRoot.querySelectorAll('.line-clamp-title');
62
- let maxLinesShowCheck = false;
63
- if (text) {
64
- text.forEach(t => {
65
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
66
- });
67
- }
68
- const ifCharExceeds = this.maxChars ? (this.tooltipText.length > this.maxChars) && !this.maxLines : false;
69
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
70
- if (show && this.enableTooltip) {
71
- if (((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) && !this.noOverflow) {
72
- const tooltipMarkup = document.createElement('div');
73
- tooltipMarkup.className = tooltipClass;
74
- tooltipMarkup.innerText = this.tooltipText;
75
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
76
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
77
- if (this.hideTooltipOnMobile) {
78
- tooltipMarkup.classList.add('hide-tooltip-mobile');
79
- }
80
- this.el.appendChild(tooltipMarkup);
81
- }
82
- }
83
- else {
84
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
85
- }
86
- }
87
- //tooltip code ends
88
- standardRender() {
89
- const classMap = this.getCssClassMap();
90
- const colorClass = this.addWhiteClass();
91
- const cutOff = this.getLineCuttoff();
92
- return (h(Host, { class: `${colorClass} ${this.paraZIndex} trunc-text` }, this.styles && h("style", null, this.styles), h("p", { class: classMap, part: "part-para", style: cutOff }, h("slot", null))));
93
- }
94
- getCssClassMap() {
95
- return {
96
- [this.fontSize]: true,
97
- [this.fontWeight]: true,
98
- [this.paraStyle]: true,
99
- [this.paraMargin]: !!this.paraMargin ? true : false,
100
- [this.paraColor]: true,
101
- [this.paraLineH]: true,
102
- [this.paraAlign]: !!this.paraAlign ? true : false,
103
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
104
- ['line-clamp-title']: this.maxLines && this.maxLines > 0, //tooltip code,
105
- };
106
- }
107
- //WEB-2392
108
- addWhiteClass() {
109
- if (this.paraColor == 'white') {
110
- return {
111
- [this.paraColor]: true,
112
- };
113
- }
114
- }
115
- getLineCuttoff() {
116
- const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
117
- return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
118
- }
119
- get el() { return getElement(this); }
120
- };
121
- PtcPara.style = ptcParaCss;
122
-
123
- export { PtcPara as ptc_para };
@@ -1,158 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { a as ResponsivePictureVariables } from './interfaces-4caedd26.js';
3
-
4
- const ptcPictureCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;overflow:hidden}:host .inline{display:inline}:host .inline-block{display:inline-block}:host .block{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-pill{border-radius:var(--ptc-border-radius-pill)}.radius-circle{border-radius:var(--ptc-border-radius-circle)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
5
-
6
- const PtcPicture = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.src = undefined;
10
- this.alt = 'image';
11
- this.sizeXs = '510x340';
12
- this.sizeSm = '1240x496';
13
- this.sizeMd = '1366x500';
14
- this.sizeLg = '1920x1080';
15
- this.disableResize = false;
16
- this.oldSrc = undefined;
17
- this.imagePosition = 'static';
18
- this.borderRadius = undefined;
19
- this.height = undefined;
20
- this.width = undefined;
21
- this.objectFit = 'cover';
22
- this.isFullHeight = false;
23
- this.isFullWidth = false;
24
- this.styles = undefined;
25
- this.imageAlignment = 'left';
26
- this.maxWidth = undefined;
27
- this.displayImage = 'block';
28
- }
29
- WindowResize() {
30
- this.addIntersectionObserver();
31
- }
32
- componentWillLoad() {
33
- if (this.disableResize) {
34
- this.sizeXs = undefined;
35
- this.sizeSm = undefined;
36
- this.sizeMd = undefined;
37
- this.sizeLg = undefined;
38
- }
39
- }
40
- componentDidLoad() {
41
- this.addIntersectionObserver();
42
- }
43
- componentWillUpdate() {
44
- if (this.src !== this.oldSrc) {
45
- this.addIntersectionObserver();
46
- }
47
- this.oldSrc = this.src;
48
- }
49
- //lazy-loading
50
- addIntersectionObserver() {
51
- if (!this.src) {
52
- return;
53
- }
54
- if ('IntersectionObserver' in window) {
55
- let lazyLoadImages = new IntersectionObserver(entries => {
56
- entries.forEach(entry => {
57
- if (entry.isIntersecting) {
58
- const image = this.el.shadowRoot.querySelector('img');
59
- image.src = this.setResponsiveBg();
60
- lazyLoadImages.unobserve(image);
61
- }
62
- });
63
- });
64
- let tempImg = this.el.shadowRoot.querySelector('img');
65
- if (tempImg) {
66
- lazyLoadImages.observe(tempImg);
67
- }
68
- }
69
- else {
70
- // fall back to setTimeout for Safari and IE
71
- setTimeout(() => {
72
- const image = this.el.shadowRoot.querySelector('img');
73
- image.src = this.setResponsiveBg();
74
- image.onload = () => {
75
- image.removeAttribute('data-src');
76
- };
77
- }, 5000);
78
- }
79
- }
80
- //responsive image
81
- setResponsiveBg() {
82
- // Define local variables
83
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
84
- for (var i = 0, len = backgrounds.length; i < len; i++) {
85
- // Set current variables
86
- el = backgrounds[i];
87
- elData = el.getAttribute('data-' + currentBreakpoint);
88
- if (elData !== null) {
89
- return elData;
90
- }
91
- else {
92
- if (typeof console == 'object') {
93
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
94
- }
95
- }
96
- }
97
- }
98
- render() {
99
- const classMap = this.getCssClassMap();
100
- const classMapHost = this.getCssClassMapHost();
101
- return (h(Host, { class: classMapHost }, this.styles && h("style", null, this.styles), h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth ? { maxWidth: this.maxWidth + 'px' } : {})) })), h("slot", null)));
102
- }
103
- getCurrentBreakPoints() {
104
- // Define local variables
105
- let doc = window.document, temp = doc.createElement('div'), env;
106
- // Append test node
107
- doc.body.appendChild(temp);
108
- // Loop through breakpoints
109
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
110
- env = ResponsivePictureVariables.envs[i];
111
- // Add classes
112
- temp.className = 'hidden-' + env;
113
- // Found breakpoint
114
- if (temp.offsetParent === null) {
115
- // Remove our test node
116
- doc.body.removeChild(temp);
117
- // Return current breakpoint
118
- return env;
119
- }
120
- }
121
- // Breakpoint not found, try fallback
122
- doc.body.removeChild(temp);
123
- return this.getFallbackBreakpoint();
124
- }
125
- getFallbackBreakpoint() {
126
- if (window.matchMedia('(min-width: 992px)').matches) {
127
- return 'lg';
128
- }
129
- else if (window.matchMedia('(min-width: 768px)').matches) {
130
- return 'md';
131
- }
132
- else if (window.matchMedia('(min-width: 576px)').matches) {
133
- return 'sm';
134
- }
135
- else {
136
- return 'xs';
137
- }
138
- }
139
- getCssClassMap() {
140
- return {
141
- [this.borderRadius]: this.borderRadius ? true : false,
142
- [this.objectFit]: true,
143
- [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
144
- [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
145
- [this.displayImage]: true
146
- };
147
- }
148
- getCssClassMapHost() {
149
- return {
150
- [this.imagePosition]: true,
151
- [this.imageAlignment]: true,
152
- };
153
- }
154
- get el() { return getElement(this); }
155
- };
156
- PtcPicture.style = ptcPictureCss;
157
-
158
- export { PtcPicture as ptc_picture };