@ptcwebops/ptcw-design 6.2.22-beta → 6.2.22

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 (298) hide show
  1. package/dist/cjs/{component-4dd13907.js → component-06dda623.js} +1494 -3305
  2. package/dist/cjs/component-5b5b6a98.js +1819 -0
  3. package/dist/cjs/event-jumbotron-example.cjs.entry.js +4 -2
  4. package/dist/cjs/event-podcast-slider-example.cjs.entry.js +13 -7
  5. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  6. package/dist/cjs/icon-asset_4.cjs.entry.js +817 -0
  7. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  8. package/dist/cjs/interfaces-574e6df7.js +15 -0
  9. package/dist/cjs/list-item.cjs.entry.js +48 -0
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/max-width-container.cjs.entry.js +54 -0
  12. package/dist/cjs/ptc-announcement.cjs.entry.js +2 -2
  13. package/dist/cjs/ptc-background-video.cjs.entry.js +102 -0
  14. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
  16. package/dist/cjs/ptc-button.cjs.entry.js +87 -0
  17. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +3 -2
  18. package/dist/cjs/ptc-card_2.cjs.entry.js +11 -3
  19. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +2 -19
  21. package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
  22. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +15 -0
  25. package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +4 -786
  26. package/dist/cjs/ptc-icon-component.cjs.entry.js +45 -2
  27. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +50 -3
  28. package/dist/cjs/ptc-img.cjs.entry.js +133 -0
  29. package/dist/cjs/ptc-jumbotron.cjs.entry.js +151 -0
  30. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +2 -1
  31. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +670 -0
  32. package/dist/cjs/ptc-nav-link.cjs.entry.js +48 -0
  33. package/dist/cjs/ptc-nav-slider.cjs.entry.js +106 -0
  34. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +51 -0
  35. package/dist/cjs/ptc-para.cjs.entry.js +127 -0
  36. package/dist/cjs/ptc-picture.cjs.entry.js +163 -0
  37. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -10
  39. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  41. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  42. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  46. package/dist/cjs/ptc-sticky-section.cjs.entry.js +70 -0
  47. package/dist/cjs/ptc-sticky-title.cjs.entry.js +2 -2
  48. package/dist/cjs/ptc-subnav.cjs.entry.js +37 -0
  49. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  50. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  51. package/dist/cjs/ptc-white-paper.cjs.entry.js +2 -2
  52. package/dist/cjs/ptcw-design.cjs.js +1 -1
  53. package/dist/cjs/validation-messages-33a4f26b.js +126 -0
  54. package/dist/collection/collection-manifest.json +0 -1
  55. package/dist/collection/components/icon-asset/icon-asset.css +6 -0
  56. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +2 -30
  57. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +13 -6
  58. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +9 -2
  59. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +25 -3
  60. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +3 -1
  61. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +23 -71
  62. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +12 -30
  63. package/dist/collection/components/ptc-announcement/ptc-announcement.css +6 -0
  64. package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -1
  65. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +13 -6
  66. package/dist/collection/components/ptc-card/ptc-card.css +1 -0
  67. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +2 -0
  68. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +20 -1
  69. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +13 -6
  70. package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +1 -1
  71. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +13 -6
  72. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +13 -6
  73. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +12 -0
  74. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +44 -1
  75. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +8 -0
  76. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +67 -2
  77. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +16 -8
  78. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +19 -1
  79. package/dist/collection/components/ptc-modal/ptc-modal.css +13 -6
  80. package/dist/collection/components/ptc-modal/ptc-modal.js +2 -19
  81. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +29 -0
  82. package/dist/collection/components/ptc-para/ptc-para.css +0 -3
  83. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  84. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +13 -6
  85. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +264 -26
  86. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +9 -1
  87. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +0 -16
  88. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +1 -27
  89. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +3 -2
  90. package/dist/collection/components/ptc-product-card/ptc-product-card.css +13 -6
  91. package/dist/collection/components/ptc-product-category/ptc-product-category.css +13 -6
  92. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +13 -6
  93. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +13 -6
  94. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +13 -6
  95. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +2 -2
  96. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +13 -6
  97. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +13 -6
  98. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +13 -6
  99. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +1 -1
  100. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +9 -2
  101. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +1 -4
  102. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +1 -9
  103. package/dist/custom-elements/index.d.ts +0 -6
  104. package/dist/custom-elements/index.js +180 -183
  105. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  106. package/dist/esm/blog-detail-layout.entry.js +1 -1
  107. package/dist/esm/blogs-search-section.entry.js +1 -1
  108. package/dist/esm/{component-9c921cc6.js → component-274da230.js} +1482 -3281
  109. package/dist/esm/component-341e4eaa.js +1802 -0
  110. package/dist/esm/event-jumbotron-example.entry.js +4 -2
  111. package/dist/esm/event-podcast-slider-example.entry.js +13 -7
  112. package/dist/esm/featured-list.entry.js +1 -1
  113. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  114. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  115. package/dist/esm/icon-asset_4.entry.js +810 -0
  116. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  117. package/dist/esm/interfaces-4caedd26.js +12 -0
  118. package/dist/esm/list-item.entry.js +44 -0
  119. package/dist/esm/loader.js +1 -1
  120. package/dist/esm/max-width-container.entry.js +50 -0
  121. package/dist/esm/most-popular-news.entry.js +1 -1
  122. package/dist/esm/my-component.entry.js +1 -1
  123. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  124. package/dist/esm/ptc-announcement.entry.js +2 -2
  125. package/dist/esm/ptc-background-video.entry.js +98 -0
  126. package/dist/esm/ptc-bio-card.entry.js +1 -1
  127. package/dist/esm/ptc-breadcrumb.entry.js +43 -0
  128. package/dist/esm/ptc-button.entry.js +83 -0
  129. package/dist/esm/ptc-card-bottom_2.entry.js +3 -2
  130. package/dist/esm/ptc-card_2.entry.js +11 -3
  131. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  132. package/dist/esm/ptc-close-icon_2.entry.js +2 -19
  133. package/dist/esm/ptc-data-lookup.entry.js +2 -1
  134. package/dist/esm/ptc-featured-list.entry.js +1 -1
  135. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  136. package/dist/esm/ptc-filter-tag_2.entry.js +15 -0
  137. package/dist/esm/{ptc-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +4 -784
  138. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  139. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  140. package/dist/esm/ptc-icon-card.entry.js +1 -1
  141. package/dist/esm/ptc-icon-component.entry.js +45 -2
  142. package/dist/esm/ptc-icon-minimize.entry.js +50 -3
  143. package/dist/esm/ptc-img.entry.js +129 -0
  144. package/dist/esm/ptc-jumbotron.entry.js +147 -0
  145. package/dist/esm/ptc-link.entry.js +1 -1
  146. package/dist/esm/ptc-media-card.entry.js +1 -1
  147. package/dist/esm/ptc-minimized-nav.entry.js +2 -1
  148. package/dist/esm/ptc-multi-select_2.entry.js +665 -0
  149. package/dist/esm/ptc-nav-link.entry.js +44 -0
  150. package/dist/esm/ptc-nav-slider.entry.js +102 -0
  151. package/dist/esm/ptc-nav-submenu.entry.js +47 -0
  152. package/dist/esm/ptc-para.entry.js +123 -0
  153. package/dist/esm/ptc-picture.entry.js +159 -0
  154. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  155. package/dist/esm/ptc-previous-url.entry.js +2 -10
  156. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  157. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  158. package/dist/esm/ptc-product-card.entry.js +1 -1
  159. package/dist/esm/ptc-product-category.entry.js +1 -1
  160. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  161. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  162. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  163. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  164. package/dist/esm/ptc-spacer.entry.js +34 -0
  165. package/dist/esm/ptc-sticky-section.entry.js +66 -0
  166. package/dist/esm/ptc-sticky-title.entry.js +2 -2
  167. package/dist/esm/ptc-subnav.entry.js +33 -0
  168. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  169. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  170. package/dist/esm/ptc-white-paper.entry.js +2 -2
  171. package/dist/esm/ptcw-design.js +1 -1
  172. package/dist/esm/{utils-ff65c75b.js → utils-355f1d70.js} +1 -1
  173. package/dist/esm/validation-messages-adbb6518.js +124 -0
  174. package/dist/ptcw-design/media/designer-v6.0.6.svg +2 -30
  175. package/dist/ptcw-design/{p-6a79e68e.entry.js → p-00ccc051.entry.js} +1 -1
  176. package/dist/ptcw-design/p-07b1afd5.entry.js +1 -0
  177. package/dist/ptcw-design/p-09def480.entry.js +1 -0
  178. package/dist/ptcw-design/p-0f32883f.entry.js +1 -0
  179. package/dist/ptcw-design/{p-abdd3b8e.entry.js → p-1056fdc7.entry.js} +1 -1
  180. package/dist/ptcw-design/p-18a5a338.js +1 -0
  181. package/dist/ptcw-design/p-1adea6a5.entry.js +1 -0
  182. package/dist/ptcw-design/p-235149b5.entry.js +1 -0
  183. package/dist/ptcw-design/p-2ab0f25c.entry.js +1 -0
  184. package/dist/ptcw-design/{p-dbb4e7f9.entry.js → p-30ec0036.entry.js} +1 -1
  185. package/dist/ptcw-design/{p-a560e839.entry.js → p-3815217a.entry.js} +1 -1
  186. package/dist/ptcw-design/p-39255f59.entry.js +1 -0
  187. package/dist/ptcw-design/p-3b6826c3.entry.js +1 -0
  188. package/dist/ptcw-design/{p-051ba8f9.entry.js → p-3d3328f9.entry.js} +1 -1
  189. package/dist/ptcw-design/p-3f935e06.entry.js +1 -0
  190. package/dist/ptcw-design/{p-9b60270e.entry.js → p-455bdea0.entry.js} +1 -1
  191. package/dist/ptcw-design/p-483e20af.entry.js +1 -0
  192. package/dist/ptcw-design/p-4ee29b78.entry.js +1 -0
  193. package/dist/ptcw-design/p-4f523245.entry.js +1 -0
  194. package/dist/ptcw-design/p-520542e2.entry.js +1 -0
  195. package/dist/ptcw-design/p-53d15f85.entry.js +1 -0
  196. package/dist/ptcw-design/{p-b1c1de30.entry.js → p-57360be3.entry.js} +1 -1
  197. package/dist/ptcw-design/p-57d86f12.entry.js +1 -0
  198. package/dist/ptcw-design/p-647dee4f.entry.js +1 -0
  199. package/dist/ptcw-design/p-66ddc281.entry.js +1 -0
  200. package/dist/ptcw-design/p-66f319f0.entry.js +1 -0
  201. package/dist/ptcw-design/p-69ef15d4.entry.js +1 -0
  202. package/dist/ptcw-design/{p-c9518684.entry.js → p-6b7d2579.entry.js} +1 -1
  203. package/dist/ptcw-design/p-6d0f7580.entry.js +1 -0
  204. package/dist/ptcw-design/p-6f8858c3.entry.js +1 -0
  205. package/dist/ptcw-design/p-711bcdad.js +1 -0
  206. package/dist/ptcw-design/p-770b269c.entry.js +1 -0
  207. package/dist/ptcw-design/p-788c2859.entry.js +1 -0
  208. package/dist/ptcw-design/p-794eebdb.entry.js +1 -0
  209. package/dist/ptcw-design/p-79762cf6.entry.js +1 -0
  210. package/dist/ptcw-design/{p-a220ab2c.entry.js → p-7a5c0d47.entry.js} +1 -1
  211. package/dist/ptcw-design/p-88ff7bc5.entry.js +1 -0
  212. package/dist/ptcw-design/{p-208ca9de.entry.js → p-8da51d65.entry.js} +1 -1
  213. package/dist/ptcw-design/p-9d8a9a72.entry.js +1 -0
  214. package/dist/ptcw-design/p-a4c68b6d.entry.js +1 -0
  215. package/dist/ptcw-design/p-ad4f4f33.entry.js +1 -0
  216. package/dist/ptcw-design/p-b0c99e8e.entry.js +1 -0
  217. package/dist/ptcw-design/{p-b4ba719a.entry.js → p-b1d85ece.entry.js} +1 -1
  218. package/dist/ptcw-design/p-b29e43cf.entry.js +1 -0
  219. package/dist/ptcw-design/{p-9e6fb4ba.entry.js → p-b9dd37cc.entry.js} +1 -1
  220. package/dist/ptcw-design/p-be533f0d.js +134 -0
  221. package/dist/ptcw-design/p-bf04c250.entry.js +1 -0
  222. package/dist/ptcw-design/p-c1513c3f.js +203 -0
  223. package/dist/ptcw-design/p-c2ab3f44.entry.js +68 -0
  224. package/dist/ptcw-design/{p-d871e7f7.entry.js → p-c5631974.entry.js} +1 -1
  225. package/dist/ptcw-design/{p-fc0d9251.entry.js → p-c811bca6.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-2a255901.entry.js → p-cb2b87bb.entry.js} +1 -1
  227. package/dist/ptcw-design/p-d4207d86.entry.js +1 -0
  228. package/dist/ptcw-design/p-d9ec506c.entry.js +1 -0
  229. package/dist/ptcw-design/p-dabb1b70.entry.js +1 -0
  230. package/dist/ptcw-design/{p-73a41148.entry.js → p-e05b1f0e.entry.js} +1 -1
  231. package/dist/ptcw-design/p-e487b592.entry.js +1 -0
  232. package/dist/ptcw-design/{p-bf076b87.entry.js → p-e6cb2dce.entry.js} +1 -1
  233. package/dist/ptcw-design/{p-0c862dbd.entry.js → p-e78596eb.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-8872161f.js → p-ead9ebbc.js} +1 -1
  235. package/dist/ptcw-design/p-ec22d0b8.entry.js +1 -0
  236. package/dist/ptcw-design/p-edcad0f1.entry.js +1 -0
  237. package/dist/ptcw-design/p-f093f6f8.entry.js +1 -0
  238. package/dist/ptcw-design/p-f2006b03.entry.js +1 -0
  239. package/dist/ptcw-design/p-f31e17d9.entry.js +1 -0
  240. package/dist/ptcw-design/{p-2ee3a32b.entry.js → p-f6bfbe18.entry.js} +1 -1
  241. package/dist/ptcw-design/p-ffd5c822.entry.js +1 -0
  242. package/dist/ptcw-design/ptcw-design.css +2 -2
  243. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  244. package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +0 -1
  245. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -0
  246. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +5 -0
  247. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +2 -0
  248. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +1 -0
  249. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -2
  250. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +3 -0
  251. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  252. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -2
  253. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +0 -1
  254. package/dist/types/components.d.ts +17 -21
  255. package/package.json +1 -1
  256. package/readme.md +1 -5
  257. package/dist/cjs/icon-asset_18.cjs.entry.js +0 -1501
  258. package/dist/cjs/modal-form-example.cjs.entry.js +0 -94
  259. package/dist/cjs/ptc-collapse-list.cjs.entry.js +0 -512
  260. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
  261. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -99
  262. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
  263. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
  264. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
  265. package/dist/esm/icon-asset_18.entry.js +0 -1480
  266. package/dist/esm/modal-form-example.entry.js +0 -90
  267. package/dist/esm/ptc-collapse-list.entry.js +0 -508
  268. package/dist/ptcw-design/p-01ad1cc2.entry.js +0 -68
  269. package/dist/ptcw-design/p-0eb9ea11.entry.js +0 -1
  270. package/dist/ptcw-design/p-20388467.entry.js +0 -1
  271. package/dist/ptcw-design/p-20670bc5.entry.js +0 -1
  272. package/dist/ptcw-design/p-20d837a9.entry.js +0 -1
  273. package/dist/ptcw-design/p-20d84f63.entry.js +0 -1
  274. package/dist/ptcw-design/p-286e048c.entry.js +0 -1
  275. package/dist/ptcw-design/p-2d0a9613.entry.js +0 -1
  276. package/dist/ptcw-design/p-330e1a36.entry.js +0 -1
  277. package/dist/ptcw-design/p-3a7c5330.entry.js +0 -1
  278. package/dist/ptcw-design/p-3ada2482.entry.js +0 -1
  279. package/dist/ptcw-design/p-4e41c031.entry.js +0 -1
  280. package/dist/ptcw-design/p-4e8c87e1.entry.js +0 -1
  281. package/dist/ptcw-design/p-5ae21271.entry.js +0 -1
  282. package/dist/ptcw-design/p-640d07b5.entry.js +0 -1
  283. package/dist/ptcw-design/p-66d50b46.entry.js +0 -1
  284. package/dist/ptcw-design/p-6af8c192.entry.js +0 -1
  285. package/dist/ptcw-design/p-70a5f144.entry.js +0 -1
  286. package/dist/ptcw-design/p-7853f1b5.entry.js +0 -1
  287. package/dist/ptcw-design/p-907727fd.entry.js +0 -1
  288. package/dist/ptcw-design/p-98083315.entry.js +0 -1
  289. package/dist/ptcw-design/p-986be938.entry.js +0 -1
  290. package/dist/ptcw-design/p-aba549b7.entry.js +0 -1
  291. package/dist/ptcw-design/p-ac32267c.entry.js +0 -1
  292. package/dist/ptcw-design/p-b5d0e4a2.entry.js +0 -1
  293. package/dist/ptcw-design/p-bcab66bf.js +0 -336
  294. package/dist/ptcw-design/p-ca268a17.entry.js +0 -1
  295. package/dist/ptcw-design/p-ce6d1c5f.entry.js +0 -1
  296. package/dist/ptcw-design/p-ef55ab3c.entry.js +0 -1
  297. package/dist/ptcw-design/p-fb2e4612.entry.js +0 -1
  298. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
@@ -0,0 +1,44 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-0bf594c4.js';
2
+
3
+ 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}";
4
+
5
+ const PtcNavLink = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.navLinkClicked = createEvent(this, "navLinkClicked", 7);
9
+ this.href = undefined;
10
+ this.isOutsideLink = false;
11
+ this.titleText = '';
12
+ this.trackerId = undefined;
13
+ }
14
+ handleClick(event) {
15
+ // Prevent the event from propagating to the underlying <a> element
16
+ event.stopPropagation();
17
+ // Check if the href starts with #
18
+ if (this.href && this.href.startsWith('#')) {
19
+ // Find the corresponding section
20
+ const section = document.querySelector(this.href);
21
+ section.scrollIntoView({
22
+ behavior: 'smooth',
23
+ });
24
+ this.navLinkClicked.emit();
25
+ }
26
+ }
27
+ trimString(inputString, maxLength) {
28
+ if (inputString.length > maxLength) {
29
+ return inputString.slice(0, maxLength) + '...';
30
+ }
31
+ else {
32
+ return inputString;
33
+ }
34
+ }
35
+ render() {
36
+ return (h(Host, null, h("div", { class: "tracker-div", id: this.trackerId }, h("a", { href: this.href, target: this.isOutsideLink ? '_blank' : '_self', title: this.titleText, onClick: event => {
37
+ this.handleClick(event);
38
+ } }, h("slot", null), !this.href.startsWith('#') && (h("svg", { class: "icon-arrow-right", xmlns: "http://www.w3.org/2000/svg", width: "14", height: "10", viewBox: "0 0 14 10", fill: "none" }, 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" })))))));
39
+ }
40
+ get el() { return getElement(this); }
41
+ };
42
+ PtcNavLink.style = ptcNavLinkCss;
43
+
44
+ export { PtcNavLink as ptc_nav_link };
@@ -0,0 +1,102 @@
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-0bf594c4.js';
2
+
3
+ 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}";
4
+
5
+ const PtcNavSlider = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.sliderId = `ptc-nav-slider-${Math.floor(Math.random() * 1000000)}`;
9
+ this.leftBtnTrackerId = undefined;
10
+ this.rightBtnTrackerId = undefined;
11
+ }
12
+ componentDidLoad() {
13
+ // use the ID to select elements within the component's shadow root
14
+ this.updateSlider(this);
15
+ const { shadowRoot } = document.querySelector(`#${this.sliderId}`);
16
+ const boxWrap = shadowRoot.querySelector('.box-wrap');
17
+ boxWrap.addEventListener('scroll', this.updateSlider.bind(this));
18
+ setTimeout(() => {
19
+ this.updateSlider(this);
20
+ }, 3100);
21
+ }
22
+ handledropdownClickEvent(element) {
23
+ const sliderId = element.target.querySelector('.nav-slider').id;
24
+ const boxWrap = element.target.querySelector('.nav-slider').shadowRoot.querySelector('.box-wrap');
25
+ const prevBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#prevBtn');
26
+ const nextBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#nextBtn');
27
+ let notDropdown = element.target.tagName.toLowerCase() != 'ptc-nav-submenu';
28
+ //console.log(element.target.tagName)
29
+ this.updateArrows(boxWrap, prevBtn, nextBtn, notDropdown);
30
+ }
31
+ updateArrows(boxWrap, prevBtn, nextBtn, isNotDropdown) {
32
+ // let offsetWidth = boxWrap.offsetWidth;
33
+ // let scrollWidth = boxWrap.scrollWidth;
34
+ // let scrollLeft = boxWrap.scrollLeft;
35
+ // let combine = offsetWidth + scrollLeft;
36
+ // console.log("offsetWidth " + offsetWidth);
37
+ // console.log("scrollWidth " + scrollWidth);
38
+ // console.log("scrollLeft " + scrollLeft);
39
+ // console.log("offsetWidth + scrollLeft " + combine);
40
+ if ((boxWrap.offsetWidth) == boxWrap.scrollWidth) {
41
+ prevBtn.style.visibility = "hidden";
42
+ nextBtn.style.visibility = "hidden";
43
+ if (isNotDropdown)
44
+ prevBtn.closest('.btn-wrap-left').style.display = 'none';
45
+ }
46
+ else if ((boxWrap.scrollLeft + boxWrap.offsetWidth) <= boxWrap.scrollWidth) {
47
+ if (isNotDropdown)
48
+ prevBtn.closest('.btn-wrap-left').style.display = '';
49
+ if (boxWrap.scrollLeft > 0) {
50
+ if ((boxWrap.scrollLeft + boxWrap.offsetWidth) == boxWrap.scrollWidth) {
51
+ nextBtn.style.visibility = "hidden";
52
+ prevBtn.style.visibility = "visible";
53
+ }
54
+ else {
55
+ prevBtn.style.visibility = "visible";
56
+ nextBtn.style.visibility = "visible";
57
+ }
58
+ }
59
+ else {
60
+ prevBtn.style.visibility = "hidden";
61
+ nextBtn.style.visibility = "visible";
62
+ }
63
+ }
64
+ else {
65
+ prevBtn.style.visibility = "visible";
66
+ nextBtn.style.visibility = "hidden";
67
+ }
68
+ }
69
+ updateSlider(event) {
70
+ const boxWrap = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('.box-wrap');
71
+ const prevBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#prevBtn');
72
+ const nextBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#nextBtn');
73
+ if (event !== undefined && event.target) {
74
+ let notDropdown = !event.target.closest('.dropdown-content');
75
+ this.updateArrows(event.target, prevBtn, nextBtn, notDropdown);
76
+ }
77
+ else {
78
+ this.updateArrows(boxWrap, prevBtn, nextBtn, false);
79
+ }
80
+ }
81
+ leftScroll(ele) {
82
+ const sliderId = ele.sliderId;
83
+ const left = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
84
+ if (left.scrollLeft > 0) {
85
+ left.scrollBy(-200, 0);
86
+ }
87
+ }
88
+ rightScroll(ele) {
89
+ const sliderId = ele.sliderId;
90
+ const right = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
91
+ if (right.scrollLeft + right.offsetWidth < right.scrollWidth) {
92
+ right.scrollBy(200, 0);
93
+ }
94
+ }
95
+ render() {
96
+ return (h(Host, { class: `nav-slider`, id: this.sliderId }, h("div", { class: "btn-wrap-left tracker-div", id: this.leftBtnTrackerId }, h("button", { id: "prevBtn", class: "navArrows", onClick: () => this.leftScroll(this), "aria-label": "Left scroll button" }, h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" })))), h("div", { class: "box-wrap" }, h("slot", null)), h("div", { class: "btn-wrap-right tracker-div", id: this.rightBtnTrackerId }, h("button", { id: "nextBtn", class: "navArrows ", onClick: () => this.rightScroll(this), "aria-label": "Right scroll button" }, h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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" }))))));
97
+ }
98
+ get el() { return getElement(this); }
99
+ };
100
+ PtcNavSlider.style = ptcNavSliderCss;
101
+
102
+ export { PtcNavSlider as ptc_nav_slider };
@@ -0,0 +1,47 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-0bf594c4.js';
2
+
3
+ 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}";
4
+
5
+ const PtcNavSubmenu = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.dropdownClickEvent = createEvent(this, "dropdownClickEvent", 7);
9
+ this.label = undefined;
10
+ this.iconAssetName = undefined;
11
+ this.iconSrc = undefined;
12
+ this.labelTrackerId = undefined;
13
+ this.dropdownTrackerId = undefined;
14
+ this.backBtnTrackerId = undefined;
15
+ }
16
+ calculateOffset() {
17
+ var dropdown = this.el.shadowRoot.querySelector('.submenu-container');
18
+ var container = this.el.closest('ptc-subnav');
19
+ if (dropdown && container) {
20
+ if (window.innerWidth >= 1200) {
21
+ let height = container.clientHeight;
22
+ if (height > 0) {
23
+ dropdown.style.top = `${height}px`;
24
+ }
25
+ }
26
+ else {
27
+ dropdown.style.top = '';
28
+ }
29
+ }
30
+ }
31
+ handleClick(event) {
32
+ this.calculateOffset();
33
+ setTimeout(() => {
34
+ this.dropdownClickEvent.emit(event);
35
+ }, 100);
36
+ }
37
+ render() {
38
+ return (h(Host, { class: `dropdown` }, h("div", { id: this.backBtnTrackerId, class: "tracker-div" }, h("span", { class: `back-btn` }, h("svg", { width: "10", height: "16", viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, 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")), h("span", { class: `submenu-toggle`, onClick: () => this.handleClick(this), onMouseOver: () => this.handleClick(this) }, this.iconAssetName &&
39
+ h("icon-asset", { type: "ptc", size: "xx-small", name: this.iconAssetName, color: "white" }), h("div", { id: this.labelTrackerId, class: "tracker-div" }, this.label), h("div", { id: this.dropdownTrackerId, class: "tracker-div" }, this.iconSrc &&
40
+ h("img", { src: this.iconSrc, alt: this.label, class: "custom-icon" }), !this.iconSrc &&
41
+ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "white", class: "" }, 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" })))), h("div", { class: `submenu-container` }, h("div", { class: "submenu-container-lg" }, h("slot", null)))));
42
+ }
43
+ get el() { return getElement(this); }
44
+ };
45
+ PtcNavSubmenu.style = ptcNavSubmenuCss;
46
+
47
+ export { PtcNavSubmenu as ptc_nav_submenu };
@@ -0,0 +1,123 @@
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-0bf594c4.js';
2
+ import { s as seoSlotReset } from './utils-355f1d70.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.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 };
@@ -0,0 +1,159 @@
1
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-0bf594c4.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
+ console.log('loaded fallback');
77
+ };
78
+ }, 5000);
79
+ }
80
+ }
81
+ //responsive image
82
+ setResponsiveBg() {
83
+ // Define local variables
84
+ let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
85
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
86
+ // Set current variables
87
+ el = backgrounds[i];
88
+ elData = el.getAttribute('data-' + currentBreakpoint);
89
+ if (elData !== null) {
90
+ return elData;
91
+ }
92
+ else {
93
+ if (typeof console == 'object') {
94
+ console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
95
+ }
96
+ }
97
+ }
98
+ }
99
+ render() {
100
+ const classMap = this.getCssClassMap();
101
+ const classMapHost = this.getCssClassMapHost();
102
+ 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)));
103
+ }
104
+ getCurrentBreakPoints() {
105
+ // Define local variables
106
+ let doc = window.document, temp = doc.createElement('div'), env;
107
+ // Append test node
108
+ doc.body.appendChild(temp);
109
+ // Loop through breakpoints
110
+ for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
111
+ env = ResponsivePictureVariables.envs[i];
112
+ // Add classes
113
+ temp.className = 'hidden-' + env;
114
+ // Found breakpoint
115
+ if (temp.offsetParent === null) {
116
+ // Remove our test node
117
+ doc.body.removeChild(temp);
118
+ // Return current breakpoint
119
+ return env;
120
+ }
121
+ }
122
+ // Breakpoint not found, try fallback
123
+ doc.body.removeChild(temp);
124
+ return this.getFallbackBreakpoint();
125
+ }
126
+ getFallbackBreakpoint() {
127
+ if (window.matchMedia('(min-width: 992px)').matches) {
128
+ return 'lg';
129
+ }
130
+ else if (window.matchMedia('(min-width: 768px)').matches) {
131
+ return 'md';
132
+ }
133
+ else if (window.matchMedia('(min-width: 576px)').matches) {
134
+ return 'sm';
135
+ }
136
+ else {
137
+ return 'xs';
138
+ }
139
+ }
140
+ getCssClassMap() {
141
+ return {
142
+ [this.borderRadius]: this.borderRadius ? true : false,
143
+ [this.objectFit]: true,
144
+ [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
145
+ [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
146
+ [this.displayImage]: true
147
+ };
148
+ }
149
+ getCssClassMapHost() {
150
+ return {
151
+ [this.imagePosition]: true,
152
+ [this.imageAlignment]: true,
153
+ };
154
+ }
155
+ get el() { return getElement(this); }
156
+ };
157
+ PtcPicture.style = ptcPictureCss;
158
+
159
+ export { PtcPicture as ptc_picture };