@ptcwebops/ptcw-design 6.2.23 → 6.2.24-beta

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 (517) hide show
  1. package/dist/cjs/{component-35540bfb.js → component-4dd13907.js} +2643 -832
  2. package/dist/cjs/event-jumbotron-example.cjs.entry.js +2 -4
  3. package/dist/cjs/event-podcast-slider-example.cjs.entry.js +7 -13
  4. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  5. package/dist/cjs/icon-asset_18.cjs.entry.js +1490 -0
  6. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  9. package/dist/cjs/ptc-announcement.cjs.entry.js +2 -2
  10. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  11. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +2 -3
  12. package/dist/cjs/ptc-card_2.cjs.entry.js +3 -8
  13. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +80 -27
  15. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  16. package/dist/cjs/ptc-date.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +0 -15
  20. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +786 -4
  21. package/dist/cjs/ptc-icon-component.cjs.entry.js +2 -45
  22. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +3 -50
  23. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +1 -2
  24. package/dist/cjs/ptc-news.cjs.entry.js +3 -2
  25. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  27. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-white-paper.cjs.entry.js +2 -2
  37. package/dist/cjs/ptcw-design.cjs.js +1 -1
  38. package/dist/collection/collection-manifest.json +1 -0
  39. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  40. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -13
  41. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +2 -9
  42. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +3 -25
  43. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +1 -3
  44. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +71 -23
  45. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +30 -12
  46. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  47. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  48. package/dist/collection/components/ptc-announcement/ptc-announcement.css +0 -6
  49. package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -1
  50. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -13
  51. package/dist/collection/components/ptc-card/ptc-card.css +0 -1
  52. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +0 -2
  53. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +1 -20
  54. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -13
  55. package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +1 -1
  56. package/dist/collection/components/ptc-date/ptc-date.css +0 -4
  57. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -13
  58. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -13
  59. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +0 -12
  60. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +1 -44
  61. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +0 -8
  62. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +2 -67
  63. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +8 -16
  64. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +1 -19
  65. package/dist/collection/components/ptc-modal/ptc-modal.css +6 -13
  66. package/dist/collection/components/ptc-modal/ptc-modal.js +99 -27
  67. package/dist/collection/components/ptc-news/ptc-news.css +0 -5
  68. package/dist/collection/components/ptc-news/ptc-news.js +19 -1
  69. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +0 -29
  70. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  71. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  72. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -13
  73. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +23 -174
  74. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +1 -6
  75. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  76. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  77. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +2 -3
  78. package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -13
  79. package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -13
  80. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -13
  81. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -13
  82. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -13
  83. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +1 -1
  84. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -13
  85. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -13
  86. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -13
  87. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +1 -1
  88. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +2 -9
  89. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +2 -2
  90. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +1 -1
  91. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  92. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  93. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  94. package/dist/custom-elements/index.d.ts +6 -0
  95. package/dist/custom-elements/index.js +238 -206
  96. package/dist/esm/academic-form-test.entry.js +1 -1
  97. package/dist/esm/author-listing-example.entry.js +1 -1
  98. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  99. package/dist/esm/blog-detail-layout.entry.js +2 -2
  100. package/dist/esm/blogs-search-section.entry.js +2 -2
  101. package/dist/esm/bundle-example.entry.js +1 -1
  102. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  103. package/dist/esm/{component-8c53e377.js → component-9c921cc6.js} +2592 -793
  104. package/dist/esm/dropdown-item.entry.js +1 -1
  105. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  106. package/dist/esm/embedded-form.entry.js +1 -1
  107. package/dist/esm/event-jumbotron-example.entry.js +3 -5
  108. package/dist/esm/event-podcast-slider-example.entry.js +8 -14
  109. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  110. package/dist/esm/featured-list.entry.js +2 -2
  111. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  112. package/dist/esm/footer-form.entry.js +1 -1
  113. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  114. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  115. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  116. package/dist/esm/icon-asset_18.entry.js +1469 -0
  117. package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
  118. package/dist/esm/innovator-toggle-container.entry.js +2 -2
  119. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  120. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  121. package/dist/esm/loader.js +3 -3
  122. package/dist/esm/modal-form-example.entry.js +90 -0
  123. package/dist/esm/most-popular-news.entry.js +2 -2
  124. package/dist/esm/my-component.entry.js +2 -2
  125. package/dist/esm/news-search-result.entry.js +1 -1
  126. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  127. package/dist/esm/ptc-accordion.entry.js +1 -1
  128. package/dist/esm/ptc-announcement.entry.js +3 -3
  129. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  130. package/dist/esm/ptc-badge.entry.js +1 -1
  131. package/dist/esm/ptc-bio-card.entry.js +2 -2
  132. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  133. package/dist/esm/ptc-card-bottom_2.entry.js +3 -4
  134. package/dist/esm/ptc-card-content.entry.js +1 -1
  135. package/dist/esm/ptc-card_2.entry.js +4 -9
  136. package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
  137. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  138. package/dist/esm/ptc-checkbox.entry.js +1 -1
  139. package/dist/esm/ptc-close-icon_2.entry.js +81 -28
  140. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  141. package/dist/esm/ptc-container.entry.js +1 -1
  142. package/dist/esm/ptc-countdown.entry.js +1 -1
  143. package/dist/esm/ptc-data-lookup.entry.js +2 -3
  144. package/dist/esm/ptc-date.entry.js +2 -2
  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-embedded-quiz.entry.js +1 -1
  149. package/dist/esm/ptc-featured-list.entry.js +2 -2
  150. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  151. package/dist/esm/ptc-filter-level-theater.entry.js +2 -2
  152. package/dist/esm/ptc-filter-tag_2.entry.js +1 -16
  153. package/dist/esm/ptc-footer.entry.js +1 -1
  154. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +785 -5
  155. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  156. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  157. package/dist/esm/ptc-form.entry.js +1 -1
  158. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  159. package/dist/esm/ptc-hero.entry.js +1 -1
  160. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  161. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  162. package/dist/esm/ptc-icon-card.entry.js +2 -2
  163. package/dist/esm/ptc-icon-component.entry.js +3 -46
  164. package/dist/esm/ptc-icon-list.entry.js +1 -1
  165. package/dist/esm/ptc-icon-minimize.entry.js +4 -51
  166. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  167. package/dist/esm/ptc-info-tile.entry.js +1 -1
  168. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  169. package/dist/esm/ptc-link.entry.js +2 -2
  170. package/dist/esm/ptc-list.entry.js +1 -1
  171. package/dist/esm/ptc-media-card.entry.js +2 -2
  172. package/dist/esm/ptc-minimized-nav.entry.js +2 -3
  173. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  174. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  175. package/dist/esm/ptc-nav-card.entry.js +1 -1
  176. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  177. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  178. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  179. package/dist/esm/ptc-news.entry.js +4 -3
  180. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  181. package/dist/esm/ptc-office-locations.entry.js +1 -1
  182. package/dist/esm/ptc-overlay.entry.js +1 -1
  183. package/dist/esm/ptc-podcast-card.entry.js +2 -2
  184. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  185. package/dist/esm/ptc-previous-url.entry.js +11 -3
  186. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  187. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  188. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  189. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  190. package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
  191. package/dist/esm/ptc-product-card.entry.js +2 -2
  192. package/dist/esm/ptc-product-category.entry.js +2 -2
  193. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  194. package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
  195. package/dist/esm/ptc-product-list.entry.js +1 -1
  196. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  197. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  198. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  199. package/dist/esm/ptc-quote.entry.js +1 -1
  200. package/dist/esm/ptc-readmore-char.entry.js +2 -2
  201. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  202. package/dist/esm/ptc-readmore-v3.entry.js +2 -2
  203. package/dist/esm/ptc-readmore.entry.js +1 -1
  204. package/dist/esm/ptc-related-card-rail.entry.js +2 -2
  205. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  206. package/dist/esm/ptc-scroll-button.entry.js +1 -1
  207. package/dist/esm/ptc-search-field.entry.js +1 -1
  208. package/dist/esm/ptc-seo-title.entry.js +1 -1
  209. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  210. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  211. package/dist/esm/ptc-skeleton.entry.js +1 -1
  212. package/dist/esm/ptc-slit-card.entry.js +1 -1
  213. package/dist/esm/ptc-social-icons-footer.entry.js +2 -2
  214. package/dist/esm/ptc-social-icons.entry.js +1 -1
  215. package/dist/esm/ptc-span.entry.js +1 -1
  216. package/dist/esm/ptc-square-card.entry.js +1 -1
  217. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  218. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  219. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  220. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  221. package/dist/esm/ptc-tab-list.entry.js +1 -1
  222. package/dist/esm/ptc-tab.entry.js +1 -1
  223. package/dist/esm/ptc-tabs.entry.js +1 -1
  224. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  225. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  226. package/dist/esm/ptc-tooltip-v2.entry.js +2 -2
  227. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  228. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  229. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  230. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  231. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  232. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  233. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  234. package/dist/esm/ptc-value-led-speed-bump.entry.js +2 -2
  235. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  236. package/dist/esm/ptc-video-embed.entry.js +1 -1
  237. package/dist/esm/ptc-white-paper.entry.js +3 -3
  238. package/dist/esm/ptcw-design.js +3 -3
  239. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  240. package/dist/esm/sequential-bundle.entry.js +1 -1
  241. package/dist/esm/tab-content.entry.js +1 -1
  242. package/dist/esm/tab-header.entry.js +1 -1
  243. package/dist/esm/{utils-63eab4bd.js → utils-ff65c75b.js} +1 -1
  244. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  245. package/dist/ptcw-design/p-01ad1cc2.entry.js +68 -0
  246. package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
  247. package/dist/ptcw-design/p-051ba8f9.entry.js +1 -0
  248. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-71360e29.entry.js → p-0b182300.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-28be539b.entry.js → p-0c862dbd.entry.js} +1 -1
  252. package/dist/ptcw-design/p-0eb9ea11.entry.js +1 -0
  253. package/dist/ptcw-design/{p-fb8584e4.entry.js → p-0ed4609e.entry.js} +1 -1
  254. package/dist/ptcw-design/p-11eb4dd1.entry.js +1 -0
  255. package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
  256. package/dist/ptcw-design/p-132f71c3.entry.js +1 -0
  257. package/dist/ptcw-design/{p-99b45d23.entry.js → p-139ca5d2.entry.js} +1 -1
  258. package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
  259. package/dist/ptcw-design/{p-7d29a418.entry.js → p-183ba1ca.entry.js} +1 -1
  260. package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
  261. package/dist/ptcw-design/{p-464d8e22.entry.js → p-1d48bad3.entry.js} +1 -1
  262. package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-6b32020a.entry.js → p-1ec32cbc.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-16e70f20.entry.js → p-20388467.entry.js} +1 -1
  265. package/dist/ptcw-design/p-20670bc5.entry.js +1 -0
  266. package/dist/ptcw-design/p-208ca9de.entry.js +1 -0
  267. package/dist/ptcw-design/{p-bf8fbba7.entry.js → p-208ec7f3.entry.js} +1 -1
  268. package/dist/ptcw-design/p-20d837a9.entry.js +1 -0
  269. package/dist/ptcw-design/p-20d84f63.entry.js +1 -0
  270. package/dist/ptcw-design/p-212cdacd.entry.js +1 -0
  271. package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-7fe4d383.entry.js → p-29ae44dd.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-6f5fecae.entry.js → p-2a255901.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
  277. package/dist/ptcw-design/p-2d0a9613.entry.js +1 -0
  278. package/dist/ptcw-design/p-2ee3a32b.entry.js +1 -0
  279. package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
  280. package/dist/ptcw-design/p-3218f54b.entry.js +1 -0
  281. package/dist/ptcw-design/p-330e1a36.entry.js +1 -0
  282. package/dist/ptcw-design/p-3342aada.entry.js +1 -0
  283. package/dist/ptcw-design/p-36c42aae.entry.js +1 -0
  284. package/dist/ptcw-design/p-3717a6e1.entry.js +1 -0
  285. package/dist/ptcw-design/{p-dc8c0a06.entry.js → p-37899461.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-6e8ed2ee.entry.js → p-379fcc72.entry.js} +1 -1
  287. package/dist/ptcw-design/p-39255f59.entry.js +1 -0
  288. package/dist/ptcw-design/{p-01075feb.entry.js → p-39ec04d4.entry.js} +1 -1
  289. package/dist/ptcw-design/p-3a7c5330.entry.js +1 -0
  290. package/dist/ptcw-design/p-3ada2482.entry.js +1 -0
  291. package/dist/ptcw-design/{p-867a808f.entry.js → p-3b6c2a79.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-f61a3476.entry.js → p-3b967df1.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-fe907670.entry.js → p-4335d7f3.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
  299. package/dist/ptcw-design/p-4e41c031.entry.js +1 -0
  300. package/dist/ptcw-design/p-4e8c87e1.entry.js +1 -0
  301. package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
  302. package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
  303. package/dist/ptcw-design/p-5ae21271.entry.js +1 -0
  304. package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-61d28206.entry.js → p-5fb671ee.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
  307. package/dist/ptcw-design/p-640d07b5.entry.js +1 -0
  308. package/dist/ptcw-design/{p-d089dc37.entry.js → p-6a79e68e.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-9de963f8.entry.js → p-6d628113.entry.js} +1 -1
  310. package/dist/ptcw-design/p-70a5f144.entry.js +1 -0
  311. package/dist/ptcw-design/p-72681e91.entry.js +1 -0
  312. package/dist/ptcw-design/{p-b651c1cb.entry.js → p-73a41148.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-04aae3f5.entry.js → p-74a845fd.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-8038bf31.entry.js → p-779c3f21.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-282b7d4e.entry.js → p-78252282.entry.js} +1 -1
  317. package/dist/ptcw-design/p-7853f1b5.entry.js +1 -0
  318. package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
  319. package/dist/ptcw-design/{p-4b192f5e.entry.js → p-7e19be10.entry.js} +1 -1
  320. package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-7cc9255e.entry.js → p-7fada7ae.entry.js} +1 -1
  322. package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
  323. package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
  324. package/dist/ptcw-design/{p-48815ee0.entry.js → p-88379d69.entry.js} +1 -1
  325. package/dist/ptcw-design/{p-77b1221e.js → p-8872161f.js} +1 -1
  326. package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
  327. package/dist/ptcw-design/p-907727fd.entry.js +1 -0
  328. package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
  329. package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
  330. package/dist/ptcw-design/p-986be938.entry.js +1 -0
  331. package/dist/ptcw-design/p-99e41dc4.entry.js +1 -0
  332. package/dist/ptcw-design/{p-bfacfe67.entry.js → p-9a28ded2.entry.js} +1 -1
  333. package/dist/ptcw-design/p-9ae901e2.entry.js +1 -0
  334. package/dist/ptcw-design/{p-eec2f3da.entry.js → p-9b60270e.entry.js} +1 -1
  335. package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
  336. package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
  337. package/dist/ptcw-design/p-9e6fb4ba.entry.js +1 -0
  338. package/dist/ptcw-design/p-a220ab2c.entry.js +1 -0
  339. package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
  340. package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
  341. package/dist/ptcw-design/{p-821f0ff9.entry.js → p-a560e839.entry.js} +1 -1
  342. package/dist/ptcw-design/{p-8191928d.entry.js → p-a974f98f.entry.js} +1 -1
  343. package/dist/ptcw-design/{p-d20cf3c5.entry.js → p-aaf8fb04.entry.js} +1 -1
  344. package/dist/ptcw-design/p-aba549b7.entry.js +1 -0
  345. package/dist/ptcw-design/{p-c01ea76f.entry.js → p-abdd3b8e.entry.js} +1 -1
  346. package/dist/ptcw-design/p-ac32267c.entry.js +1 -0
  347. package/dist/ptcw-design/p-ac33aa74.entry.js +1 -0
  348. package/dist/ptcw-design/{p-a25578e9.entry.js → p-ac78409e.entry.js} +1 -1
  349. package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
  350. package/dist/ptcw-design/{p-48c33817.entry.js → p-b1c1de30.entry.js} +1 -1
  351. package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
  352. package/dist/ptcw-design/{p-0e5932f0.entry.js → p-b3b63f67.entry.js} +1 -1
  353. package/dist/ptcw-design/{p-49e54079.entry.js → p-b4ba719a.entry.js} +1 -1
  354. package/dist/ptcw-design/p-b5d0e4a2.entry.js +1 -0
  355. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  356. package/dist/ptcw-design/{p-a7cb3851.entry.js → p-be00fb74.entry.js} +1 -1
  357. package/dist/ptcw-design/{p-a791c53a.entry.js → p-bf076b87.entry.js} +1 -1
  358. package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
  359. package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
  360. package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
  361. package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
  362. package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
  363. package/dist/ptcw-design/{p-97b9f41b.entry.js → p-c5886b7b.entry.js} +1 -1
  364. package/dist/ptcw-design/{p-4d8f6f46.entry.js → p-c9518684.entry.js} +1 -1
  365. package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
  366. package/dist/ptcw-design/p-ca268a17.entry.js +1 -0
  367. package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
  368. package/dist/ptcw-design/p-ce6d1c5f.entry.js +1 -0
  369. package/dist/ptcw-design/{p-1a6759a4.entry.js → p-d113403b.entry.js} +1 -1
  370. package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
  371. package/dist/ptcw-design/{p-72825cf6.entry.js → p-d21cf742.entry.js} +1 -1
  372. package/dist/ptcw-design/{p-e577ad62.entry.js → p-d871e7f7.entry.js} +1 -1
  373. package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
  374. package/dist/ptcw-design/{p-d361afd1.entry.js → p-dbb4e7f9.entry.js} +1 -1
  375. package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
  376. package/dist/ptcw-design/p-e1242dd4.entry.js +1 -0
  377. package/dist/ptcw-design/{p-a37c5209.entry.js → p-e2e33ddb.entry.js} +1 -1
  378. package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
  379. package/dist/ptcw-design/{p-89177041.entry.js → p-e75dff95.entry.js} +1 -1
  380. package/dist/ptcw-design/{p-95187918.entry.js → p-e77d2204.entry.js} +1 -1
  381. package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
  382. package/dist/ptcw-design/{p-0a9ee6c2.entry.js → p-e8b51e7d.entry.js} +1 -1
  383. package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
  384. package/dist/ptcw-design/{p-27a4ee73.entry.js → p-eef5d58b.entry.js} +1 -1
  385. package/dist/ptcw-design/{p-d3ac3758.entry.js → p-ef0079b0.entry.js} +1 -1
  386. package/dist/ptcw-design/p-ef55ab3c.entry.js +1 -0
  387. package/dist/ptcw-design/{p-da02913d.entry.js → p-f05be87f.entry.js} +1 -1
  388. package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
  389. package/dist/ptcw-design/p-fb2e4612.entry.js +1 -0
  390. package/dist/ptcw-design/{p-6a3caf2b.entry.js → p-fc0d9251.entry.js} +1 -1
  391. package/dist/ptcw-design/ptcw-design.css +2 -2
  392. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  393. package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +1 -0
  394. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  395. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +0 -2
  396. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +0 -5
  397. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +0 -2
  398. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +0 -1
  399. package/dist/types/components/ptc-mobile-select/mobile-select/dist/mobile-select.d.ts +209 -0
  400. package/dist/types/components/ptc-modal/ptc-modal.d.ts +10 -3
  401. package/dist/types/components/ptc-news/ptc-news.d.ts +4 -0
  402. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +0 -3
  403. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  404. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  405. package/dist/types/components.d.ts +31 -17
  406. package/dist/types/utils/eloqua.d.ts +9 -0
  407. package/package.json +1 -1
  408. package/readme.md +5 -1
  409. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  410. package/dist/cjs/icon-asset.cjs.entry.js +0 -65
  411. package/dist/cjs/interfaces-574e6df7.js +0 -15
  412. package/dist/cjs/list-item.cjs.entry.js +0 -48
  413. package/dist/cjs/max-width-container.cjs.entry.js +0 -54
  414. package/dist/cjs/ptc-background-video.cjs.entry.js +0 -102
  415. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -47
  416. package/dist/cjs/ptc-button.cjs.entry.js +0 -87
  417. package/dist/cjs/ptc-img.cjs.entry.js +0 -133
  418. package/dist/cjs/ptc-jumbotron.cjs.entry.js +0 -151
  419. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  420. package/dist/cjs/ptc-nav-link.cjs.entry.js +0 -48
  421. package/dist/cjs/ptc-nav-slider.cjs.entry.js +0 -106
  422. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +0 -51
  423. package/dist/cjs/ptc-para.cjs.entry.js +0 -127
  424. package/dist/cjs/ptc-picture.cjs.entry.js +0 -163
  425. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  426. package/dist/cjs/ptc-sticky-section.cjs.entry.js +0 -70
  427. package/dist/cjs/ptc-subnav.cjs.entry.js +0 -37
  428. package/dist/cjs/ptc-title.cjs.entry.js +0 -152
  429. package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
  430. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  431. package/dist/esm/component-9beac35b.js +0 -1802
  432. package/dist/esm/icon-asset.entry.js +0 -61
  433. package/dist/esm/interfaces-4caedd26.js +0 -12
  434. package/dist/esm/list-item.entry.js +0 -44
  435. package/dist/esm/max-width-container.entry.js +0 -50
  436. package/dist/esm/ptc-background-video.entry.js +0 -98
  437. package/dist/esm/ptc-breadcrumb.entry.js +0 -43
  438. package/dist/esm/ptc-button.entry.js +0 -83
  439. package/dist/esm/ptc-img.entry.js +0 -129
  440. package/dist/esm/ptc-jumbotron.entry.js +0 -147
  441. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  442. package/dist/esm/ptc-nav-link.entry.js +0 -44
  443. package/dist/esm/ptc-nav-slider.entry.js +0 -102
  444. package/dist/esm/ptc-nav-submenu.entry.js +0 -47
  445. package/dist/esm/ptc-para.entry.js +0 -123
  446. package/dist/esm/ptc-picture.entry.js +0 -159
  447. package/dist/esm/ptc-spacer.entry.js +0 -34
  448. package/dist/esm/ptc-sticky-section.entry.js +0 -66
  449. package/dist/esm/ptc-subnav.entry.js +0 -33
  450. package/dist/esm/ptc-title.entry.js +0 -148
  451. package/dist/esm/ptc-tooltip.entry.js +0 -103
  452. package/dist/esm/validation-messages-adbb6518.js +0 -124
  453. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  454. package/dist/ptcw-design/p-04ff81ef.entry.js +0 -1
  455. package/dist/ptcw-design/p-0a214a22.entry.js +0 -1
  456. package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
  457. package/dist/ptcw-design/p-15758793.entry.js +0 -1
  458. package/dist/ptcw-design/p-17f6e145.entry.js +0 -1
  459. package/dist/ptcw-design/p-18a5a338.js +0 -1
  460. package/dist/ptcw-design/p-18ac526f.entry.js +0 -1
  461. package/dist/ptcw-design/p-25a25451.entry.js +0 -1
  462. package/dist/ptcw-design/p-260ecfef.entry.js +0 -1
  463. package/dist/ptcw-design/p-2b32297b.entry.js +0 -1
  464. package/dist/ptcw-design/p-3738a01f.entry.js +0 -1
  465. package/dist/ptcw-design/p-38b782e8.entry.js +0 -1
  466. package/dist/ptcw-design/p-3ddb6c50.entry.js +0 -1
  467. package/dist/ptcw-design/p-4a7505ba.entry.js +0 -1
  468. package/dist/ptcw-design/p-4cee12b8.entry.js +0 -1
  469. package/dist/ptcw-design/p-4ee98a3e.entry.js +0 -1
  470. package/dist/ptcw-design/p-51a45b13.entry.js +0 -1
  471. package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
  472. package/dist/ptcw-design/p-5dae4f30.entry.js +0 -1
  473. package/dist/ptcw-design/p-627103d8.entry.js +0 -1
  474. package/dist/ptcw-design/p-6433c9d2.entry.js +0 -1
  475. package/dist/ptcw-design/p-711bcdad.js +0 -1
  476. package/dist/ptcw-design/p-71a20700.entry.js +0 -1
  477. package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
  478. package/dist/ptcw-design/p-759f6457.entry.js +0 -1
  479. package/dist/ptcw-design/p-7793babb.entry.js +0 -1
  480. package/dist/ptcw-design/p-77cad16c.entry.js +0 -1
  481. package/dist/ptcw-design/p-8c692bd6.entry.js +0 -1
  482. package/dist/ptcw-design/p-8e8c7a3a.entry.js +0 -1
  483. package/dist/ptcw-design/p-92d22c78.entry.js +0 -1
  484. package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
  485. package/dist/ptcw-design/p-98426799.js +0 -203
  486. package/dist/ptcw-design/p-98844b50.js +0 -134
  487. package/dist/ptcw-design/p-99355e65.entry.js +0 -1
  488. package/dist/ptcw-design/p-99daf693.entry.js +0 -1
  489. package/dist/ptcw-design/p-9d3a7f36.entry.js +0 -1
  490. package/dist/ptcw-design/p-9df7489b.entry.js +0 -1
  491. package/dist/ptcw-design/p-9f194554.entry.js +0 -1
  492. package/dist/ptcw-design/p-a412ff0a.entry.js +0 -1
  493. package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
  494. package/dist/ptcw-design/p-a54c6da5.entry.js +0 -1
  495. package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
  496. package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
  497. package/dist/ptcw-design/p-ad718ee1.entry.js +0 -1
  498. package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
  499. package/dist/ptcw-design/p-b209c116.entry.js +0 -1
  500. package/dist/ptcw-design/p-b436f56d.entry.js +0 -1
  501. package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
  502. package/dist/ptcw-design/p-b8ee8699.entry.js +0 -1
  503. package/dist/ptcw-design/p-bf18b622.entry.js +0 -1
  504. package/dist/ptcw-design/p-c89030e4.entry.js +0 -1
  505. package/dist/ptcw-design/p-cbee4653.entry.js +0 -1
  506. package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
  507. package/dist/ptcw-design/p-d2f37084.entry.js +0 -1
  508. package/dist/ptcw-design/p-d3229458.entry.js +0 -1
  509. package/dist/ptcw-design/p-d3e2a446.entry.js +0 -1
  510. package/dist/ptcw-design/p-d74ccb19.entry.js +0 -1
  511. package/dist/ptcw-design/p-dd02e4d6.entry.js +0 -68
  512. package/dist/ptcw-design/p-eddadb5a.entry.js +0 -1
  513. package/dist/ptcw-design/p-f3d54454.entry.js +0 -1
  514. package/dist/ptcw-design/p-f5c97ab2.entry.js +0 -1
  515. package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
  516. package/dist/ptcw-design/p-fd394e84.entry.js +0 -1
  517. package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-63ddc79c.js');
6
-
7
- const ptcNavLinkCss = "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;position:relative}@media only screen and (min-width: 1200px){:host{display:inline-block}}:host::before,:host::after{content:\" \";width:1600px;height:1px;background-color:var(--color-gray-08);position:absolute;right:0;bottom:0}@media only screen and (min-width: 1200px){:host::before,:host::after{display:none}}:host::after{left:0;right:auto}:host a{color:var(--color-gray-03);text-decoration:none;display:block;border-bottom:2px solid transparent;margin-left:34%;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-03);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold)}@media only screen and (min-width: 480px){:host a{margin-left:38%}}@media only screen and (min-width: 768px){:host a{margin-left:42%}}@media only screen and (min-width: 1200px){:host a{padding:14px var(--ptc-element-spacing-03) 22px;margin-top:6px;border-top:2px solid transparent;margin-left:0;display:flex;align-items:center;white-space:nowrap;position:relative}:host a::after{content:\"\";display:block;border-bottom:2px solid transparent;margin:auto;position:absolute;width:calc(100% - 20px);left:0;right:0;bottom:20px}}:host a svg{width:1rem;height:0.875rem;display:inline-block;background-size:cover;transition:margin-left 250ms ease-out;vertical-align:middle;margin-left:4px}:host a:hover,:host a:focus{color:var(--color-white)}@media only screen and (min-width: 1200px){:host a:hover::after,:host a:focus::after{border-color:var(--color-white)}}:host a:hover svg path,:host a:focus svg path{fill:var(--color-white)}:host a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);padding:14px 10px 16px}@media only screen and (min-width: 1200px){:host a:focus-visible{padding:14px 10px 20px}}:host ::slotted(icon-asset){margin-top:4px;margin-right:8px}:host .tracker-div{display:inline}";
8
-
9
- const PtcNavLink = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.navLinkClicked = index.createEvent(this, "navLinkClicked", 7);
13
- this.href = undefined;
14
- this.isOutsideLink = false;
15
- this.titleText = '';
16
- this.trackerId = undefined;
17
- }
18
- handleClick(event) {
19
- // Prevent the event from propagating to the underlying <a> element
20
- event.stopPropagation();
21
- // Check if the href starts with #
22
- if (this.href && this.href.startsWith('#')) {
23
- // Find the corresponding section
24
- const section = document.querySelector(this.href);
25
- section.scrollIntoView({
26
- behavior: 'smooth',
27
- });
28
- this.navLinkClicked.emit();
29
- }
30
- }
31
- trimString(inputString, maxLength) {
32
- if (inputString.length > maxLength) {
33
- return inputString.slice(0, maxLength) + '...';
34
- }
35
- else {
36
- return inputString;
37
- }
38
- }
39
- render() {
40
- return (index.h(index.Host, null, index.h("div", { class: "tracker-div", id: this.trackerId }, index.h("a", { href: this.href, target: this.isOutsideLink ? '_blank' : '_self', title: this.titleText, onClick: event => {
41
- this.handleClick(event);
42
- } }, index.h("slot", null), !this.href.startsWith('#') && (index.h("svg", { class: "icon-arrow-right", xmlns: "http://www.w3.org/2000/svg", width: "14", height: "10", viewBox: "0 0 14 10", fill: "none" }, index.h("path", { d: "M8.84921 0.77792L8.81313 3.41153L0.51545 3.55584L0.515449 6.5863L8.81313 6.44199L8.81313 9.40029L13.1424 5.07107L8.84921 0.77792Z", fill: "#AEB8BD" })))))));
43
- }
44
- get el() { return index.getElement(this); }
45
- };
46
- PtcNavLink.style = ptcNavLinkCss;
47
-
48
- exports.ptc_nav_link = PtcNavLink;
@@ -1,106 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-63ddc79c.js');
6
-
7
- const ptcNavSliderCss = "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}}@media only screen and (min-width: 1200px){:host{max-width:746px;padding:0px 0px;display:flex;align-items:center;margin-left:-23px}:host .box-wrap{width:100%;height:auto;display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host .box-wrap::-webkit-scrollbar{display:none}}@media only screen and (min-width: 1440px){:host{margin-left:-46px}}:host .navArrows{cursor:pointer;display:inline-block}:host .navArrows svg{vertical-align:middle}:host .btn-wrap-left,:host .btn-wrap-right{display:none}@media only screen and (min-width: 1200px){:host .btn-wrap-left,:host .btn-wrap-right{display:inline-block;width:32px;height:32px;position:relative}}@media (max-width: 1199px){:host .btn-wrap-left,:host .btn-wrap-right{display:none !important}}:host button#prevBtn,:host button#nextBtn{background:transparent;border-radius:var(--ptc-border-radius-standard);border:none;width:32px;height:32px}:host button#prevBtn:hover,:host button#nextBtn:hover{background:var(--color-gray-12)}:host button#prevBtn:focus-visible,:host button#prevBtn:focus,:host button#nextBtn:focus-visible,:host button#nextBtn:focus{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .btn-wrap-left{margin-right:0}@media (min-width: 1250px){:host .btn-wrap-left{margin-right:14px}}:host .btn-wrap-right{margin-left:14px}:host .tracker-div{display:inline}";
8
-
9
- const PtcNavSlider = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.sliderId = `ptc-nav-slider-${Math.floor(Math.random() * 1000000)}`;
13
- this.leftBtnTrackerId = undefined;
14
- this.rightBtnTrackerId = undefined;
15
- }
16
- componentDidLoad() {
17
- // use the ID to select elements within the component's shadow root
18
- this.updateSlider(this);
19
- const { shadowRoot } = document.querySelector(`#${this.sliderId}`);
20
- const boxWrap = shadowRoot.querySelector('.box-wrap');
21
- boxWrap.addEventListener('scroll', this.updateSlider.bind(this));
22
- setTimeout(() => {
23
- this.updateSlider(this);
24
- }, 3100);
25
- }
26
- handledropdownClickEvent(element) {
27
- const sliderId = element.target.querySelector('.nav-slider').id;
28
- const boxWrap = element.target.querySelector('.nav-slider').shadowRoot.querySelector('.box-wrap');
29
- const prevBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#prevBtn');
30
- const nextBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#nextBtn');
31
- let notDropdown = element.target.tagName.toLowerCase() != 'ptc-nav-submenu';
32
- //console.log(element.target.tagName)
33
- this.updateArrows(boxWrap, prevBtn, nextBtn, notDropdown);
34
- }
35
- updateArrows(boxWrap, prevBtn, nextBtn, isNotDropdown) {
36
- // let offsetWidth = boxWrap.offsetWidth;
37
- // let scrollWidth = boxWrap.scrollWidth;
38
- // let scrollLeft = boxWrap.scrollLeft;
39
- // let combine = offsetWidth + scrollLeft;
40
- // console.log("offsetWidth " + offsetWidth);
41
- // console.log("scrollWidth " + scrollWidth);
42
- // console.log("scrollLeft " + scrollLeft);
43
- // console.log("offsetWidth + scrollLeft " + combine);
44
- if ((boxWrap.offsetWidth) == boxWrap.scrollWidth) {
45
- prevBtn.style.visibility = "hidden";
46
- nextBtn.style.visibility = "hidden";
47
- if (isNotDropdown)
48
- prevBtn.closest('.btn-wrap-left').style.display = 'none';
49
- }
50
- else if ((boxWrap.scrollLeft + boxWrap.offsetWidth) <= boxWrap.scrollWidth) {
51
- if (isNotDropdown)
52
- prevBtn.closest('.btn-wrap-left').style.display = '';
53
- if (boxWrap.scrollLeft > 0) {
54
- if ((boxWrap.scrollLeft + boxWrap.offsetWidth) == boxWrap.scrollWidth) {
55
- nextBtn.style.visibility = "hidden";
56
- prevBtn.style.visibility = "visible";
57
- }
58
- else {
59
- prevBtn.style.visibility = "visible";
60
- nextBtn.style.visibility = "visible";
61
- }
62
- }
63
- else {
64
- prevBtn.style.visibility = "hidden";
65
- nextBtn.style.visibility = "visible";
66
- }
67
- }
68
- else {
69
- prevBtn.style.visibility = "visible";
70
- nextBtn.style.visibility = "hidden";
71
- }
72
- }
73
- updateSlider(event) {
74
- const boxWrap = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('.box-wrap');
75
- const prevBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#prevBtn');
76
- const nextBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#nextBtn');
77
- if (event !== undefined && event.target) {
78
- let notDropdown = !event.target.closest('.dropdown-content');
79
- this.updateArrows(event.target, prevBtn, nextBtn, notDropdown);
80
- }
81
- else {
82
- this.updateArrows(boxWrap, prevBtn, nextBtn, false);
83
- }
84
- }
85
- leftScroll(ele) {
86
- const sliderId = ele.sliderId;
87
- const left = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
88
- if (left.scrollLeft > 0) {
89
- left.scrollBy(-200, 0);
90
- }
91
- }
92
- rightScroll(ele) {
93
- const sliderId = ele.sliderId;
94
- const right = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
95
- if (right.scrollLeft + right.offsetWidth < right.scrollWidth) {
96
- right.scrollBy(200, 0);
97
- }
98
- }
99
- render() {
100
- return (index.h(index.Host, { class: `nav-slider`, id: this.sliderId }, index.h("div", { class: "btn-wrap-left tracker-div", id: this.leftBtnTrackerId }, index.h("button", { id: "prevBtn", class: "navArrows", onClick: () => this.leftScroll(this), "aria-label": "Left scroll button" }, index.h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.166 13.2375L4.39723 7.5L10.166 1.7625L8.39004 0L0.832683 7.5L8.39004 15L10.166 13.2375Z", fill: "white" })))), index.h("div", { class: "box-wrap" }, index.h("slot", null)), index.h("div", { class: "btn-wrap-right tracker-div", id: this.rightBtnTrackerId }, index.h("button", { id: "nextBtn", class: "navArrows ", onClick: () => this.rightScroll(this), "aria-label": "Right scroll button" }, index.h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.833984 1.7625L6.60277 7.5L0.833984 13.2375L2.60996 15L10.1673 7.5L2.60996 0L0.833984 1.7625Z", fill: "white" }))))));
101
- }
102
- get el() { return index.getElement(this); }
103
- };
104
- PtcNavSlider.style = ptcNavSliderCss;
105
-
106
- exports.ptc_nav_slider = PtcNavSlider;
@@ -1,51 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-63ddc79c.js');
6
-
7
- const ptcNavSubmenuCss = "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;position:relative;cursor:pointer}:host .back-btn{display:none;position:absolute;left:30px;top:22px;color:var(--color-white);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold)}:host .back-btn svg{margin-right:4px;vertical-align:middle;width:12px;height:12px}@media only screen and (min-width: 1200px){:host{display:inline-block;position:initial}}:host::before,:host::after{content:\" \";width:1600px;height:1px;background-color:var(--color-gray-08);position:absolute;right:0;bottom:0}@media only screen and (min-width: 1200px){:host::before,:host::after{display:none}}:host::after{left:0;right:auto}:host .submenu-toggle{display:inline-block;color:var(--color-gray-03);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold);white-space:nowrap;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-03);margin-left:34%;position:relative;border:2px solid transparent;margin:-2px}:host .submenu-toggle::after{content:\"\";display:block;border-bottom:2px solid transparent;margin:auto;position:absolute;width:calc(100% - 20px);left:0;right:0;bottom:14px}@media only screen and (min-width: 1200px){:host .submenu-toggle::after{bottom:20px}}@media only screen and (min-width: 480px){:host .submenu-toggle{margin-left:38%}}@media only screen and (min-width: 768px){:host .submenu-toggle{margin-left:42%}}@media only screen and (min-width: 1200px){:host .submenu-toggle{padding:22px var(--ptc-element-spacing-03);margin-left:0;display:flex;align-items:center}}:host .submenu-toggle svg{margin-left:5px;margin-top:2px;vertical-align:middle;width:12px;height:12px}:host .submenu-toggle svg path{fill:var(--color-gray-04)}:host .submenu-toggle:hover{color:var(--color-white)}:host .submenu-toggle:hover::after{border-color:var(--color-white)}:host .submenu-toggle:hover svg path{fill:var(--color-white)}:host .submenu-toggle icon-asset{margin-right:8px}:host .submenu-toggle icon-asset svg{margin:0}:host .submenu-toggle:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .submenu-container{background-color:var(--color-gray-12)}@media only screen and (min-width: 1200px){:host .submenu-container{position:absolute;width:100%;right:0;left:0;top:64px;z-index:10}}:host .submenu-container .submenu-container-lg{max-width:1200px;margin:auto}@media only screen and (min-width: 992px){:host .submenu-container .submenu-container-lg{padding:0 32px}}:host ::slotted(ptc-nav-link:last-child)::before,:host ::slotted(ptc-nav-link:last-child)::after{display:none}:host .tracker-div{display:inline}:host(.short-dropdown) .submenu-container{text-align:center}@media only screen and (min-width: 1200px){:host(.short-dropdown) .submenu-container{width:initial;right:3%;left:initial;top:56px;z-index:1000}}:host(.short-dropdown) .submenu-container .submenu-container-lg{padding:0;width:auto;min-width:348px;display:flex;justify-content:space-evenly}:host(.active){padding-bottom:0}:host(.active) .submenu-toggle{color:var(--color-white);border-color:var(--color-white)}:host(.active) .submenu-toggle svg path{fill:var(--color-white)}:host(.active)::before,:host(.active)::after{display:none}:host(.active.short-dropdown) .back-btn{display:inline-block}@media only screen and (min-width: 1200px){:host(.active.short-dropdown) .back-btn{display:none}}.custom-icon{object-fit:cover;width:1.5rem;height:1.5rem}.custom-icon:hover{filter:brightness(0) invert(1)}.menu-right *{color:transparent !important}";
8
-
9
- const PtcNavSubmenu = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.dropdownClickEvent = index.createEvent(this, "dropdownClickEvent", 7);
13
- this.label = undefined;
14
- this.iconAssetName = undefined;
15
- this.iconSrc = undefined;
16
- this.labelTrackerId = undefined;
17
- this.dropdownTrackerId = undefined;
18
- this.backBtnTrackerId = undefined;
19
- }
20
- calculateOffset() {
21
- var dropdown = this.el.shadowRoot.querySelector('.submenu-container');
22
- var container = this.el.closest('ptc-subnav');
23
- if (dropdown && container) {
24
- if (window.innerWidth >= 1200) {
25
- let height = container.clientHeight;
26
- if (height > 0) {
27
- dropdown.style.top = `${height}px`;
28
- }
29
- }
30
- else {
31
- dropdown.style.top = '';
32
- }
33
- }
34
- }
35
- handleClick(event) {
36
- this.calculateOffset();
37
- setTimeout(() => {
38
- this.dropdownClickEvent.emit(event);
39
- }, 100);
40
- }
41
- render() {
42
- return (index.h(index.Host, { class: `dropdown` }, index.h("div", { id: this.backBtnTrackerId, class: "tracker-div" }, index.h("span", { class: `back-btn` }, index.h("svg", { width: "10", height: "16", viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.97852 14.12L3.82515 8L9.97852 1.88L8.08414 -8.28059e-08L0.0229606 8L8.08414 16L9.97852 14.12Z", fill: "white" })), "Back")), index.h("span", { class: `submenu-toggle`, onClick: () => this.handleClick(this), onMouseOver: () => this.handleClick(this) }, this.iconAssetName &&
43
- index.h("icon-asset", { type: "ptc", size: "xx-small", name: this.iconAssetName, color: "white" }), index.h("div", { id: this.labelTrackerId, class: "tracker-div" }, this.label), index.h("div", { id: this.dropdownTrackerId, class: "tracker-div" }, this.iconSrc &&
44
- index.h("img", { src: this.iconSrc, alt: this.label, class: "custom-icon" }), !this.iconSrc &&
45
- index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "white", class: "" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.2375 2.83325L7.5 8.60203L1.7625 2.83325L-7.76305e-08 4.60923L7.5 12.1666L15 4.60923L13.2375 2.83325Z", fill: "white" })))), index.h("div", { class: `submenu-container` }, index.h("div", { class: "submenu-container-lg" }, index.h("slot", null)))));
46
- }
47
- get el() { return index.getElement(this); }
48
- };
49
- PtcNavSubmenu.style = ptcNavSubmenuCss;
50
-
51
- exports.ptc_nav_submenu = PtcNavSubmenu;
@@ -1,127 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-63ddc79c.js');
6
- const utils = require('./utils-ad441b07.js');
7
-
8
- 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.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}}";
9
-
10
- const PtcPara = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.fontSize = 'x-small';
14
- this.fontWeight = 'w-4';
15
- this.paraStyle = 'default';
16
- this.paraColor = 'primary-grey';
17
- this.paraLineH = 'line-height-normal';
18
- this.paraMargin = undefined;
19
- this.paraAlign = undefined;
20
- this.ellipsisLineCutoff = undefined;
21
- this.paraZIndex = undefined;
22
- this.styles = undefined;
23
- this.seoCompatibilityMode = false;
24
- this.tooltipZIndex = 'auto';
25
- this.tooltipPosition = 'bottom';
26
- this.tooltipTheme = 'standard';
27
- this.enableTooltip = false;
28
- this.maxChars = undefined;
29
- this.maxLines = undefined;
30
- this.hideTooltipOnMobile = false;
31
- this.ismob = undefined;
32
- this.noOverflow = false;
33
- this.tooltipWidth = 'default';
34
- }
35
- // Tooltip Properties ends
36
- render() {
37
- if (this.seoCompatibilityMode) {
38
- utils.seoSlotReset(this.el);
39
- }
40
- return this.standardRender();
41
- }
42
- //tooltip code
43
- getSortedText(content) {
44
- if (!this.enableTooltip)
45
- return;
46
- const trimmedContent = content.trim();
47
- const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
48
- return shouldTruncate ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026` : trimmedContent;
49
- }
50
- componentDidLoad() {
51
- if (this.hideTooltipOnMobile) {
52
- this.el.classList.add('hide-tooltip-on-mobile');
53
- }
54
- this.el.addEventListener('mouseenter', () => { this.toggleTitleTooltip(true); });
55
- this.el.addEventListener('mouseleave', () => { this.toggleTitleTooltip(false); });
56
- if (this.enableTooltip) {
57
- let paraContent = this.el.innerText || this.el.textContent;
58
- this.tooltipText = paraContent.trim();
59
- this.el.innerText = this.getSortedText(paraContent);
60
- }
61
- }
62
- toggleTitleTooltip(show) {
63
- const tooltipClass = 'tooltip-box';
64
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
65
- const text = this.el.shadowRoot.querySelectorAll('.line-clamp-title');
66
- let maxLinesShowCheck = false;
67
- if (text) {
68
- text.forEach(t => {
69
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
70
- });
71
- }
72
- const ifCharExceeds = this.maxChars ? (this.tooltipText.length > this.maxChars) && !this.maxLines : false;
73
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
74
- if (show && this.enableTooltip) {
75
- if (((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) && !this.noOverflow) {
76
- const tooltipMarkup = document.createElement('div');
77
- tooltipMarkup.className = tooltipClass;
78
- tooltipMarkup.innerText = this.tooltipText;
79
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
80
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
81
- if (this.hideTooltipOnMobile) {
82
- tooltipMarkup.classList.add('hide-tooltip-mobile');
83
- }
84
- this.el.appendChild(tooltipMarkup);
85
- }
86
- }
87
- else {
88
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
89
- }
90
- }
91
- //tooltip code ends
92
- standardRender() {
93
- const classMap = this.getCssClassMap();
94
- const colorClass = this.addWhiteClass();
95
- const cutOff = this.getLineCuttoff();
96
- return (index.h(index.Host, { class: `${colorClass} ${this.paraZIndex} trunc-text` }, this.styles && index.h("style", null, this.styles), index.h("p", { class: classMap, part: "part-para", style: cutOff }, index.h("slot", null))));
97
- }
98
- getCssClassMap() {
99
- return {
100
- [this.fontSize]: true,
101
- [this.fontWeight]: true,
102
- [this.paraStyle]: true,
103
- [this.paraMargin]: !!this.paraMargin ? true : false,
104
- [this.paraColor]: true,
105
- [this.paraLineH]: true,
106
- [this.paraAlign]: !!this.paraAlign ? true : false,
107
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
108
- ['line-clamp-title']: this.maxLines && this.maxLines > 0, //tooltip code,
109
- };
110
- }
111
- //WEB-2392
112
- addWhiteClass() {
113
- if (this.paraColor == 'white') {
114
- return {
115
- [this.paraColor]: true,
116
- };
117
- }
118
- }
119
- getLineCuttoff() {
120
- const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
121
- return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
122
- }
123
- get el() { return index.getElement(this); }
124
- };
125
- PtcPara.style = ptcParaCss;
126
-
127
- exports.ptc_para = PtcPara;
@@ -1,163 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-63ddc79c.js');
6
- const interfaces = require('./interfaces-574e6df7.js');
7
-
8
- 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}";
9
-
10
- const PtcPicture = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.src = undefined;
14
- this.alt = 'image';
15
- this.sizeXs = '510x340';
16
- this.sizeSm = '1240x496';
17
- this.sizeMd = '1366x500';
18
- this.sizeLg = '1920x1080';
19
- this.disableResize = false;
20
- this.oldSrc = undefined;
21
- this.imagePosition = 'static';
22
- this.borderRadius = undefined;
23
- this.height = undefined;
24
- this.width = undefined;
25
- this.objectFit = 'cover';
26
- this.isFullHeight = false;
27
- this.isFullWidth = false;
28
- this.styles = undefined;
29
- this.imageAlignment = 'left';
30
- this.maxWidth = undefined;
31
- this.displayImage = 'block';
32
- }
33
- WindowResize() {
34
- this.addIntersectionObserver();
35
- }
36
- componentWillLoad() {
37
- if (this.disableResize) {
38
- this.sizeXs = undefined;
39
- this.sizeSm = undefined;
40
- this.sizeMd = undefined;
41
- this.sizeLg = undefined;
42
- }
43
- }
44
- componentDidLoad() {
45
- this.addIntersectionObserver();
46
- }
47
- componentWillUpdate() {
48
- if (this.src !== this.oldSrc) {
49
- this.addIntersectionObserver();
50
- }
51
- this.oldSrc = this.src;
52
- }
53
- //lazy-loading
54
- addIntersectionObserver() {
55
- if (!this.src) {
56
- return;
57
- }
58
- if ('IntersectionObserver' in window) {
59
- let lazyLoadImages = new IntersectionObserver(entries => {
60
- entries.forEach(entry => {
61
- if (entry.isIntersecting) {
62
- const image = this.el.shadowRoot.querySelector('img');
63
- image.src = this.setResponsiveBg();
64
- lazyLoadImages.unobserve(image);
65
- }
66
- });
67
- });
68
- let tempImg = this.el.shadowRoot.querySelector('img');
69
- if (tempImg) {
70
- lazyLoadImages.observe(tempImg);
71
- }
72
- }
73
- else {
74
- // fall back to setTimeout for Safari and IE
75
- setTimeout(() => {
76
- const image = this.el.shadowRoot.querySelector('img');
77
- image.src = this.setResponsiveBg();
78
- image.onload = () => {
79
- image.removeAttribute('data-src');
80
- console.log('loaded fallback');
81
- };
82
- }, 5000);
83
- }
84
- }
85
- //responsive image
86
- setResponsiveBg() {
87
- // Define local variables
88
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
89
- for (var i = 0, len = backgrounds.length; i < len; i++) {
90
- // Set current variables
91
- el = backgrounds[i];
92
- elData = el.getAttribute('data-' + currentBreakpoint);
93
- if (elData !== null) {
94
- return elData;
95
- }
96
- else {
97
- if (typeof console == 'object') {
98
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
99
- }
100
- }
101
- }
102
- }
103
- render() {
104
- const classMap = this.getCssClassMap();
105
- const classMapHost = this.getCssClassMapHost();
106
- return (index.h(index.Host, { class: classMapHost }, this.styles && index.h("style", null, this.styles), index.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' } : {})) })), index.h("slot", null)));
107
- }
108
- getCurrentBreakPoints() {
109
- // Define local variables
110
- let doc = window.document, temp = doc.createElement('div'), env;
111
- // Append test node
112
- doc.body.appendChild(temp);
113
- // Loop through breakpoints
114
- for (let i = interfaces.ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
115
- env = interfaces.ResponsivePictureVariables.envs[i];
116
- // Add classes
117
- temp.className = 'hidden-' + env;
118
- // Found breakpoint
119
- if (temp.offsetParent === null) {
120
- // Remove our test node
121
- doc.body.removeChild(temp);
122
- // Return current breakpoint
123
- return env;
124
- }
125
- }
126
- // Breakpoint not found, try fallback
127
- doc.body.removeChild(temp);
128
- return this.getFallbackBreakpoint();
129
- }
130
- getFallbackBreakpoint() {
131
- if (window.matchMedia('(min-width: 992px)').matches) {
132
- return 'lg';
133
- }
134
- else if (window.matchMedia('(min-width: 768px)').matches) {
135
- return 'md';
136
- }
137
- else if (window.matchMedia('(min-width: 576px)').matches) {
138
- return 'sm';
139
- }
140
- else {
141
- return 'xs';
142
- }
143
- }
144
- getCssClassMap() {
145
- return {
146
- [this.borderRadius]: this.borderRadius ? true : false,
147
- [this.objectFit]: true,
148
- [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
149
- [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
150
- [this.displayImage]: true
151
- };
152
- }
153
- getCssClassMapHost() {
154
- return {
155
- [this.imagePosition]: true,
156
- [this.imageAlignment]: true,
157
- };
158
- }
159
- get el() { return index.getElement(this); }
160
- };
161
- PtcPicture.style = ptcPictureCss;
162
-
163
- exports.ptc_picture = PtcPicture;
@@ -1,38 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-63ddc79c.js');
6
-
7
- const ptcSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.99em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 75em){:host(.ptc-spacer-xx-large){display:block}}:host(.ptc-spacer-xxx-large){display:none}@media (min-width: 90em){:host(.ptc-spacer-xxx-large){display:block}}";
8
-
9
- const PtcSpacer = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.breakpoint = '';
13
- this.size = 'medium';
14
- this.direction = 'vertical';
15
- }
16
- render() {
17
- const classMap = this.getCssClassMap();
18
- return (index.h(index.Host, { class: classMap }));
19
- }
20
- getCssClassMap() {
21
- return {
22
- [this.size]: true,
23
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
24
- ['ptc-spacer-vertical']: this.direction === 'vertical',
25
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
26
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
27
- ['ptc-spacer-small']: this.breakpoint === 'small',
28
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
29
- ['ptc-spacer-large']: this.breakpoint === 'large',
30
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
31
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
32
- ['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
33
- };
34
- }
35
- };
36
- PtcSpacer.style = ptcSpacerCss;
37
-
38
- exports.ptc_spacer = PtcSpacer;
@@ -1,70 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-63ddc79c.js');
6
-
7
- const ptcStickySectionCss = "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 .stickyEl.sticky{top:0;position:fixed;width:100%;z-index:990;transition:top 0.5s}";
8
-
9
- const PtcStickySection = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.hasPreloader = false;
13
- }
14
- componentDidLoad() {
15
- if (document.querySelector('ptc-preloader-section')) {
16
- this.hasPreloader = true;
17
- this.el.setAttribute('has-preloader', 'true');
18
- }
19
- else {
20
- this.hasPreloader = false;
21
- this.el.setAttribute('has-preloader', 'false');
22
- }
23
- if (this.stickyEl.classList.contains('sticky')) {
24
- this.stickyEl.classList.remove('sticky');
25
- }
26
- let that = this;
27
- if (this.hasPreloader) {
28
- setTimeout(() => {
29
- that.stickyEl = that.el.shadowRoot.querySelector('.stickyEl');
30
- that.originalPosition = this.elPosition(that.stickyEl);
31
- window.addEventListener('scroll', that.handleScroll);
32
- }, 3100);
33
- }
34
- else {
35
- setTimeout(() => {
36
- that.stickyEl = that.el.shadowRoot.querySelector('.stickyEl');
37
- that.originalPosition = that.stickyEl.offsetTop;
38
- window.addEventListener('scroll', that.handleScroll);
39
- }, 1500);
40
- }
41
- }
42
- elPosition(element) {
43
- const rect = element.getBoundingClientRect();
44
- const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
45
- return rect.top + scrollTop;
46
- }
47
- disconnectedCallback() {
48
- window.removeEventListener('scroll', this.handleScroll);
49
- }
50
- handleScroll() {
51
- if (this.stickyEl) {
52
- if (window.scrollY > this.originalPosition) {
53
- this.stickyEl.classList.add('sticky');
54
- }
55
- else {
56
- this.stickyEl.classList.remove('sticky');
57
- }
58
- }
59
- }
60
- handleResize() {
61
- this.handleScroll();
62
- }
63
- render() {
64
- return (index.h(index.Host, null, index.h("div", { class: "stickyEl", ref: el => (this.stickyEl = el) }, index.h("slot", null))));
65
- }
66
- get el() { return index.getElement(this); }
67
- };
68
- PtcStickySection.style = ptcStickySectionCss;
69
-
70
- exports.ptc_sticky_section = PtcStickySection;