@ptcwebops/ptcw-design 0.6.5 → 0.6.7

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 (263) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/dropdown-item.cjs.entry.js +10 -10
  3. package/dist/cjs/icon-asset_13.cjs.entry.js +725 -697
  4. package/dist/cjs/{interfaces-574e6df7.js → interfaces-0ecd8027.js} +9 -9
  5. package/dist/cjs/list-item.cjs.entry.js +20 -20
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/lottie-player.cjs.entry.js +354 -354
  8. package/dist/cjs/my-component.cjs.entry.js +12 -12
  9. package/dist/cjs/ptc-accordion-item.cjs.entry.js +97 -97
  10. package/dist/cjs/ptc-accordion.cjs.entry.js +38 -38
  11. package/dist/cjs/ptc-announcement.cjs.entry.js +37 -37
  12. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +12 -12
  13. package/dist/cjs/ptc-card-bottom.cjs.entry.js +31 -31
  14. package/dist/cjs/ptc-card-content_2.cjs.entry.js +204 -204
  15. package/dist/cjs/ptc-card-plm.cjs.entry.js +16 -16
  16. package/dist/cjs/ptc-card.cjs.entry.js +68 -68
  17. package/dist/cjs/ptc-collapse-list.cjs.entry.js +336 -192
  18. package/dist/cjs/ptc-date.cjs.entry.js +48 -48
  19. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +40 -40
  20. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +37 -37
  21. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +8 -8
  22. package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
  23. package/dist/cjs/ptc-icon-list.cjs.entry.js +32 -32
  24. package/dist/cjs/ptc-img.cjs.entry.js +149 -149
  25. package/dist/cjs/ptc-list.cjs.entry.js +50 -50
  26. package/dist/cjs/ptc-lottie.cjs.entry.js +12 -12
  27. package/dist/cjs/ptc-minimized-footer.cjs.entry.js +8 -8
  28. package/dist/cjs/ptc-minimized-header.cjs.entry.js +11 -11
  29. package/dist/cjs/ptc-mobile-select.cjs.entry.js +69 -69
  30. package/dist/cjs/ptc-nav-item.cjs.entry.js +83 -83
  31. package/dist/cjs/ptc-nav.cjs.entry.js +8 -8
  32. package/dist/cjs/ptc-overlay.cjs.entry.js +20 -20
  33. package/dist/cjs/ptc-pagenation.cjs.entry.js +105 -105
  34. package/dist/cjs/ptc-previous-url.cjs.entry.js +8 -8
  35. package/dist/cjs/ptc-pricing-block.cjs.entry.js +16 -15
  36. package/dist/cjs/ptc-quote.cjs.entry.js +25 -25
  37. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
  38. package/dist/cjs/ptc-social-share.cjs.entry.js +64 -64
  39. package/dist/cjs/ptc-span.cjs.entry.js +23 -23
  40. package/dist/cjs/ptc-svg-btn.cjs.entry.js +75 -75
  41. package/dist/cjs/ptc-tab-list.cjs.entry.js +119 -119
  42. package/dist/cjs/ptc-two-column-media.cjs.entry.js +14 -14
  43. package/dist/cjs/ptcw-design.cjs.js +1 -1
  44. package/dist/cjs/tab-content.cjs.entry.js +27 -27
  45. package/dist/cjs/tab-header.cjs.entry.js +44 -44
  46. package/dist/cjs/{utils-1c17977e.js → utils-2ac2a528.js} +80 -64
  47. package/dist/collection/components/dropdown-item/dropdown-item.js +56 -56
  48. package/dist/collection/components/icon-asset/icon-asset.css +29 -4
  49. package/dist/collection/components/icon-asset/icon-asset.js +217 -217
  50. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  51. package/dist/collection/components/icon-asset/media/designer.svg +368 -365
  52. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  53. package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
  54. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  55. package/dist/collection/components/list-item/list-item.js +104 -104
  56. package/dist/collection/components/my-component/my-component.css +3 -3
  57. package/dist/collection/components/my-component/my-component.js +73 -73
  58. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +296 -296
  59. package/dist/collection/components/ptc-accordion/ptc-accordion.js +74 -74
  60. package/dist/collection/components/ptc-announcement/ptc-announcement.js +210 -210
  61. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +21 -21
  62. package/dist/collection/components/ptc-button/ptc-button.js +293 -293
  63. package/dist/collection/components/ptc-card/ptc-card.js +301 -301
  64. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +105 -105
  65. package/dist/collection/components/ptc-card-content/ptc-card-content.js +109 -109
  66. package/dist/collection/components/ptc-card-plm/ptc-card-plm.js +97 -97
  67. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +114 -114
  68. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +130 -57
  69. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +556 -288
  70. package/dist/collection/components/ptc-container/ptc-container.js +119 -119
  71. package/dist/collection/components/ptc-date/ptc-date.js +201 -201
  72. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +156 -156
  73. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +156 -156
  74. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +115 -115
  75. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +15 -0
  76. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +105 -70
  77. package/dist/collection/components/ptc-hero/ptc-hero.js +67 -67
  78. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +77 -77
  79. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +145 -145
  80. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +86 -86
  81. package/dist/collection/components/ptc-img/ptc-img.js +314 -314
  82. package/dist/collection/components/ptc-link/ptc-link.js +198 -198
  83. package/dist/collection/components/ptc-list/ptc-list.js +95 -95
  84. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
  85. package/dist/collection/components/ptc-lottie/ptc-lottie.js +58 -58
  86. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +17 -17
  87. package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +80 -80
  88. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +221 -221
  89. package/dist/collection/components/ptc-modal/ptc-modal.js +337 -337
  90. package/dist/collection/components/ptc-nav/ptc-nav.js +21 -21
  91. package/dist/collection/components/ptc-nav-item/ptc-nav-item.js +252 -252
  92. package/dist/collection/components/ptc-overlay/ptc-overlay.js +99 -99
  93. package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +2 -2
  94. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +317 -317
  95. package/dist/collection/components/ptc-para/ptc-para.js +167 -167
  96. package/dist/collection/components/ptc-picture/ptc-picture.js +474 -474
  97. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +54 -54
  98. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +6 -1
  99. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +45 -25
  100. package/dist/collection/components/ptc-quote/ptc-quote.js +154 -154
  101. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  102. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +62 -62
  103. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +91 -91
  104. package/dist/collection/components/ptc-social-share/ptc-social-share.js +206 -206
  105. package/dist/collection/components/ptc-spacer/ptc-spacer.css +322 -322
  106. package/dist/collection/components/ptc-spacer/ptc-spacer.js +99 -99
  107. package/dist/collection/components/ptc-span/ptc-span.js +89 -89
  108. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +71 -71
  109. package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +1 -1
  110. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +145 -145
  111. package/dist/collection/components/ptc-title/ptc-title.js +245 -245
  112. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +40 -40
  113. package/dist/collection/components/tab-content/tab-content.css +10 -0
  114. package/dist/collection/components/tab-content/tab-content.js +74 -74
  115. package/dist/collection/components/tab-header/tab-header.css +1 -1
  116. package/dist/collection/components/tab-header/tab-header.js +106 -107
  117. package/dist/collection/index.js +1 -1
  118. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  119. package/dist/collection/media/svg-imgs/close.svg +10 -10
  120. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  121. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  122. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  123. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  124. package/dist/collection/media/svg-imgs/union.svg +3 -3
  125. package/dist/collection/utils/component.js +3 -3
  126. package/dist/collection/utils/interfaces.js +11 -11
  127. package/dist/collection/utils/utils.js +81 -65
  128. package/dist/custom-elements/index.js +3324 -3137
  129. package/dist/esm/dropdown-item.entry.js +10 -10
  130. package/dist/esm/icon-asset_13.entry.js +723 -695
  131. package/dist/esm/{interfaces-7c0243be.js → interfaces-c1c73092.js} +9 -9
  132. package/dist/esm/list-item.entry.js +20 -20
  133. package/dist/esm/loader.js +1 -1
  134. package/dist/esm/lottie-player.entry.js +354 -354
  135. package/dist/esm/my-component.entry.js +12 -12
  136. package/dist/esm/polyfills/core-js.js +0 -0
  137. package/dist/esm/polyfills/dom.js +0 -0
  138. package/dist/esm/polyfills/es5-html-element.js +0 -0
  139. package/dist/esm/polyfills/index.js +0 -0
  140. package/dist/esm/polyfills/system.js +0 -0
  141. package/dist/esm/ptc-accordion-item.entry.js +97 -97
  142. package/dist/esm/ptc-accordion.entry.js +38 -38
  143. package/dist/esm/ptc-announcement.entry.js +37 -37
  144. package/dist/esm/ptc-breadcrumb.entry.js +12 -12
  145. package/dist/esm/ptc-card-bottom.entry.js +31 -31
  146. package/dist/esm/ptc-card-content_2.entry.js +204 -204
  147. package/dist/esm/ptc-card-plm.entry.js +16 -16
  148. package/dist/esm/ptc-card.entry.js +68 -68
  149. package/dist/esm/ptc-collapse-list.entry.js +336 -192
  150. package/dist/esm/ptc-date.entry.js +48 -48
  151. package/dist/esm/ptc-dynamic-card.entry.js +40 -40
  152. package/dist/esm/ptc-ellipsis-dropdown.entry.js +37 -37
  153. package/dist/esm/ptc-hero-footer-cta.entry.js +8 -8
  154. package/dist/esm/ptc-hero.entry.js +18 -18
  155. package/dist/esm/ptc-icon-list.entry.js +32 -32
  156. package/dist/esm/ptc-img.entry.js +149 -149
  157. package/dist/esm/ptc-list.entry.js +50 -50
  158. package/dist/esm/ptc-lottie.entry.js +12 -12
  159. package/dist/esm/ptc-minimized-footer.entry.js +8 -8
  160. package/dist/esm/ptc-minimized-header.entry.js +11 -11
  161. package/dist/esm/ptc-mobile-select.entry.js +69 -69
  162. package/dist/esm/ptc-nav-item.entry.js +83 -83
  163. package/dist/esm/ptc-nav.entry.js +8 -8
  164. package/dist/esm/ptc-overlay.entry.js +20 -20
  165. package/dist/esm/ptc-pagenation.entry.js +105 -105
  166. package/dist/esm/ptc-previous-url.entry.js +8 -8
  167. package/dist/esm/ptc-pricing-block.entry.js +16 -15
  168. package/dist/esm/ptc-quote.entry.js +25 -25
  169. package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
  170. package/dist/esm/ptc-social-share.entry.js +64 -64
  171. package/dist/esm/ptc-span.entry.js +23 -23
  172. package/dist/esm/ptc-svg-btn.entry.js +75 -75
  173. package/dist/esm/ptc-tab-list.entry.js +119 -119
  174. package/dist/esm/ptc-two-column-media.entry.js +14 -14
  175. package/dist/esm/ptcw-design.js +1 -1
  176. package/dist/esm/tab-content.entry.js +27 -27
  177. package/dist/esm/tab-header.entry.js +44 -44
  178. package/dist/esm/{utils-4b79ffaf.js → utils-2dbb41dc.js} +80 -65
  179. package/dist/ptcw-design/media/brands.svg +1381 -1381
  180. package/dist/ptcw-design/media/designer.svg +368 -365
  181. package/dist/ptcw-design/media/regular.svg +463 -463
  182. package/dist/ptcw-design/media/solid.svg +3013 -3013
  183. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  184. package/dist/ptcw-design/p-14f55c38.entry.js +1 -0
  185. package/dist/ptcw-design/{p-a53873e9.entry.js → p-2469a843.entry.js} +1 -1
  186. package/dist/ptcw-design/{p-57f553f0.entry.js → p-3f2c3e47.entry.js} +1 -1
  187. package/dist/ptcw-design/p-53deea18.entry.js +1 -0
  188. package/dist/ptcw-design/p-5e98555a.js +1 -0
  189. package/dist/ptcw-design/{p-b8dff289.entry.js → p-6956e9cf.entry.js} +1 -1
  190. package/dist/ptcw-design/p-ab716377.entry.js +1 -0
  191. package/dist/ptcw-design/{p-c4372a9e.entry.js → p-b2527cde.entry.js} +1 -1
  192. package/dist/ptcw-design/{p-7c112bdc.entry.js → p-b30ba340.entry.js} +1 -1
  193. package/dist/ptcw-design/p-da709b70.entry.js +1 -0
  194. package/dist/ptcw-design/{p-1783481c.entry.js → p-e7e07b91.entry.js} +1 -1
  195. package/dist/ptcw-design/ptcw-design.css +1 -1
  196. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  197. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  198. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  199. package/dist/types/components/list-item/list-item.d.ts +8 -8
  200. package/dist/types/components/my-component/my-component.d.ts +16 -16
  201. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +59 -59
  202. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +13 -13
  203. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +43 -43
  204. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -4
  205. package/dist/types/components/ptc-button/ptc-button.d.ts +56 -56
  206. package/dist/types/components/ptc-card/ptc-card.d.ts +54 -54
  207. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  208. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +15 -15
  209. package/dist/types/components/ptc-card-plm/ptc-card-plm.d.ts +8 -8
  210. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +11 -11
  211. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +55 -39
  212. package/dist/types/components/ptc-container/ptc-container.d.ts +12 -12
  213. package/dist/types/components/ptc-date/ptc-date.d.ts +41 -41
  214. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  215. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +16 -16
  216. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +12 -12
  217. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -11
  218. package/dist/types/components/ptc-hero/ptc-hero.d.ts +12 -12
  219. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  220. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  221. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +9 -9
  222. package/dist/types/components/ptc-img/ptc-img.d.ts +51 -51
  223. package/dist/types/components/ptc-link/ptc-link.d.ts +36 -36
  224. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  225. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
  226. package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +3 -3
  227. package/dist/types/components/ptc-minimized-header/ptc-minimized-header.d.ts +6 -6
  228. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +40 -40
  229. package/dist/types/components/ptc-modal/ptc-modal.d.ts +55 -55
  230. package/dist/types/components/ptc-nav/ptc-nav.d.ts +3 -3
  231. package/dist/types/components/ptc-nav-item/ptc-nav-item.d.ts +53 -53
  232. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +20 -20
  233. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +27 -27
  234. package/dist/types/components/ptc-para/ptc-para.d.ts +29 -29
  235. package/dist/types/components/ptc-picture/ptc-picture.d.ts +93 -93
  236. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +5 -5
  237. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +5 -4
  238. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  239. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  240. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  241. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +25 -25
  242. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  243. package/dist/types/components/ptc-span/ptc-span.d.ts +16 -16
  244. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +12 -12
  245. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +15 -15
  246. package/dist/types/components/ptc-title/ptc-title.d.ts +41 -41
  247. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  248. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  249. package/dist/types/components/tab-header/tab-header.d.ts +13 -13
  250. package/dist/types/components.d.ts +42 -37
  251. package/dist/types/global.d.ts +1072 -1072
  252. package/dist/types/index.d.ts +1 -1
  253. package/dist/types/utils/component.d.ts +1 -1
  254. package/dist/types/utils/interfaces.d.ts +28 -28
  255. package/dist/types/utils/utils.d.ts +4 -3
  256. package/package.json +59 -59
  257. package/readme.md +11 -11
  258. package/dist/ptcw-design/p-2173493c.entry.js +0 -1
  259. package/dist/ptcw-design/p-62f4a655.js +0 -1
  260. package/dist/ptcw-design/p-8466b65b.entry.js +0 -1
  261. package/dist/ptcw-design/p-df43f569.entry.js +0 -1
  262. package/dist/ptcw-design/p-e6558b61.entry.js +0 -1
  263. /package/dist/ptcw-design/{p-ee1183b2.js → p-50e52c88.js} +0 -0
@@ -4,753 +4,781 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b3fabe79.js');
6
6
 
7
- const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.inherit.sc-icon-asset{fill:inherit}";
8
-
9
- let IconAsset = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- /**
13
- * Icon Size
14
- */
15
- this.size = 'xx-small';
16
- /**
17
- * Icon Type
18
- */
19
- this.type = 'regular';
20
- /**
21
- * Icon Spin Animation (not valid for ptc type)
22
- */
23
- this.spin = '';
24
- /**
25
- * Icon Pulse Animation (not valid for ptc type)
26
- */
27
- this.pulse = '';
28
- /**
29
- * Icon Color
30
- */
31
- this.color = 'default';
32
- this.regularSprite = index.getAssetPath('./media/regular.svg');
33
- this.solidSprite = index.getAssetPath('./media/solid.svg');
34
- this.brandSprite = index.getAssetPath('./media/brands.svg');
35
- this.ptcSprite = index.getAssetPath('./media/designer.svg');
36
- }
37
- render() {
38
- const classMap = this.getCssClassMap();
39
- if (this.type == 'brands') {
40
- return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.brandSprite}#${this.name}` }))));
41
- }
42
- else if (this.type == 'solid') {
43
- return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.solidSprite}#${this.name}` }))));
44
- }
45
- else if (this.type == 'ptc') {
46
- return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
47
- }
48
- else {
49
- return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.regularSprite}#${this.name}` }))));
50
- }
51
- }
52
- getCssClassMap() {
53
- return {
54
- [this.size]: true,
55
- [this.spin]: true,
56
- [this.pulse]: true,
57
- [this.color]: true,
58
- ['ismobileselect']: this.isMobileSelect ? true : false
59
- };
60
- }
61
- static get assetsDirs() { return ["media"]; }
62
- };
7
+ const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small)/2);height:calc(var(--ptc-font-size-x-small)/2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}";
8
+
9
+ let IconAsset = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ /**
13
+ * Icon Size
14
+ */
15
+ this.size = 'xx-small';
16
+ /**
17
+ * Icon Type
18
+ */
19
+ this.type = 'regular';
20
+ /**
21
+ * Icon Spin Animation (not valid for ptc type)
22
+ */
23
+ this.spin = '';
24
+ /**
25
+ * Icon Pulse Animation (not valid for ptc type)
26
+ */
27
+ this.pulse = '';
28
+ /**
29
+ * Icon Color
30
+ */
31
+ this.color = 'default';
32
+ this.regularSprite = index.getAssetPath('./media/regular.svg');
33
+ this.solidSprite = index.getAssetPath('./media/solid.svg');
34
+ this.brandSprite = index.getAssetPath('./media/brands.svg');
35
+ this.ptcSprite = index.getAssetPath('./media/designer.svg');
36
+ }
37
+ render() {
38
+ const classMap = this.getCssClassMap();
39
+ if (this.type == 'brands') {
40
+ return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.brandSprite}#${this.name}` }))));
41
+ }
42
+ else if (this.type == 'solid') {
43
+ return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.solidSprite}#${this.name}` }))));
44
+ }
45
+ else if (this.type == 'ptc') {
46
+ return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
47
+ }
48
+ else {
49
+ return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap }, index.h("use", { href: `${this.regularSprite}#${this.name}` }))));
50
+ }
51
+ }
52
+ getCssClassMap() {
53
+ return {
54
+ [this.size]: true,
55
+ [this.spin]: true,
56
+ [this.pulse]: true,
57
+ [this.color]: true,
58
+ ['ismobileselect']: this.isMobileSelect ? true : false
59
+ };
60
+ }
61
+ static get assetsDirs() { return ["media"]; }
62
+ };
63
63
  IconAsset.style = iconAssetCss;
64
64
 
65
65
  const ptcButtonCss = "button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-gray-10);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard)}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:var(--ptc-line-height-densest)}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(285deg, var(--color-gray-10) 155%, var(--color-gray-07) 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-green-07);background-image:linear-gradient(285deg, var(--color-green-07) 155%, var(--color-green-07) 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(to right, var(--color-white), var(--color-gray-02), var(--color-gray-01))}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-gray-10)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:var(--ptc-element-spacing-01);margin-top:var(--ptc-element-spacing-01);box-shadow:var(--ptc-shadow-large);border:solid 2.5px var(--color-green-08);background-image:linear-gradient(to right, var(--color-green-06), var(--color-green-08))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-green-08), var(--color-green-06));opacity:0;transition:opacity var(--ptc-transition-x-slow) var(--ptc-ease-inout);border-radius:2px}.legacy-green:hover{box-shadow:var(--ptc-shadow-x-large)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-x-small)}@media only screen and (min-width: 768px){.legacy-green span{font-size:var(--ptc-font-size-small);letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard);display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all var(--ptc-ease-inout) var(--ptc-transition-medium);position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}.nav{font-family:var(--ptc-font-latin);background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-xx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-loose);list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.nav:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav:hover{background-color:var(--color-gray-12)}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary{padding:var(--ptc-font-size-xx-small) var(--ptc-font-size-medium);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled{pointer-events:none;border-color:var(--color-gray-03);background:var(--color-gray-02)}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span{color:var(--color-gray-03)}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus,.ptc-quaternary:focus,.ptc-secondary:focus,.ptc-tertiary:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);letter-spacing:normal}.ptc-primary{background:var(--color-gray-10);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-12)}.ptc-primary:active{background-color:var(--color-black)}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:var(--color-gray-10);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-12)}.ptc-secondary:active{background-color:var(--color-black)}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard)}.ptc-tertiary:hover{background-color:var(--color-gray-02)}.ptc-tertiary:active{background-color:var(--color-gray-03)}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09)}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}";
66
66
 
67
- let PtcButton = class {
68
- constructor(hostRef) {
69
- index.registerInstance(this, hostRef);
70
- this.clickEvent = index.createEvent(this, "clickEvent", 7);
71
- /**
72
- * Disabled button
73
- */
74
- this.disabled = false;
75
- /**
76
- * Button type
77
- */
78
- this.type = 'button';
79
- /**
80
- * Button theme color
81
- */
82
- this.color = 'ptc-primary';
83
- /**
84
- * Icon Animation
85
- */
86
- this.iconAnimation = '';
87
- /**
88
- * Icon Position
89
- */
90
- this.iconPosition = 'icon-right';
91
- /**
92
- * Link URL
93
- */
94
- this.linkHref = undefined;
95
- /**
96
- * link Title
97
- */
98
- this.linkTitle = undefined;
99
- /**
100
- * Link target
101
- * */
102
- this.target = '_self';
103
- /**
104
- * Link rel
105
- * */
106
- this.rel = undefined;
107
- /**
108
- * (optional) tab-nav.
109
- * indicates that its element can be focused, and where it participates in sequential keyboard navigation.
110
- * A negative value (usually tabindex="-1") means that the element is not reachable via sequential keyboard navigation
111
- */
112
- this.tabNav = 0;
113
- }
114
- clickEventHandler() {
115
- this.clickEvent.emit();
116
- //console.log('click!');
117
- }
118
- render() {
119
- const classMap = this.getCssClassMap();
120
- const Tag = !!this.linkHref ? 'a' : 'button';
121
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), index.h("span", null, index.h("slot", { name: "slot-before-text" }), index.h("slot", null), index.h("slot", { name: "slot-after-text" })))));
122
- }
123
- getCssClassMap() {
124
- return {
125
- [this.color]: true,
126
- [this.iconAnimation]: true,
127
- [this.iconPosition]: true,
128
- ['disabled']: this.disabled ? true : false,
129
- };
130
- }
131
- };
67
+ let PtcButton = class {
68
+ constructor(hostRef) {
69
+ index.registerInstance(this, hostRef);
70
+ this.clickEvent = index.createEvent(this, "clickEvent", 7);
71
+ /**
72
+ * Disabled button
73
+ */
74
+ this.disabled = false;
75
+ /**
76
+ * Button type
77
+ */
78
+ this.type = 'button';
79
+ /**
80
+ * Button theme color
81
+ */
82
+ this.color = 'ptc-primary';
83
+ /**
84
+ * Icon Animation
85
+ */
86
+ this.iconAnimation = '';
87
+ /**
88
+ * Icon Position
89
+ */
90
+ this.iconPosition = 'icon-right';
91
+ /**
92
+ * Link URL
93
+ */
94
+ this.linkHref = undefined;
95
+ /**
96
+ * link Title
97
+ */
98
+ this.linkTitle = undefined;
99
+ /**
100
+ * Link target
101
+ * */
102
+ this.target = '_self';
103
+ /**
104
+ * Link rel
105
+ * */
106
+ this.rel = undefined;
107
+ /**
108
+ * (optional) tab-nav.
109
+ * indicates that its element can be focused, and where it participates in sequential keyboard navigation.
110
+ * A negative value (usually tabindex="-1") means that the element is not reachable via sequential keyboard navigation
111
+ */
112
+ this.tabNav = 0;
113
+ }
114
+ clickEventHandler() {
115
+ this.clickEvent.emit();
116
+ //console.log('click!');
117
+ }
118
+ render() {
119
+ const classMap = this.getCssClassMap();
120
+ const Tag = !!this.linkHref ? 'a' : 'button';
121
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), index.h("span", null, index.h("slot", { name: "slot-before-text" }), index.h("slot", null), index.h("slot", { name: "slot-after-text" })))));
122
+ }
123
+ getCssClassMap() {
124
+ return {
125
+ [this.color]: true,
126
+ [this.iconAnimation]: true,
127
+ [this.iconPosition]: true,
128
+ ['disabled']: this.disabled ? true : false,
129
+ };
130
+ }
131
+ };
132
132
  PtcButton.style = ptcButtonCss;
133
133
 
134
134
  const ptcCheckboxCss = ":host{display:block}:host .ptc-checkbox{display:block;position:relative;user-select:none;cursor:pointer;font-family:\"Raleway\";font-style:normal;color:var(--color-gray-10);padding-left:var(--spacing-lg);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest)}:host .ptc-checkbox input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}:host .ptc-checkbox .check{position:absolute;top:0;left:0;height:1.375rem;width:1.375rem;background-color:var(--color-white);border:1px solid var(--color-gray-07);box-sizing:border-box;border-radius:0.4rem}:host .ptc-checkbox .check .mark{position:absolute;transition:opacity ease-out 250ms;opacity:0;left:3px;top:2px;width:1.375rem;height:1.375rem}:host .ptc-checkbox input:checked~.check{background-color:#1F2024}:host .ptc-checkbox input:checked~.check .mark{opacity:1}:host .ptc-checkbox:hover input~.check{background-color:#E4E7E9}:host .ptc-checkbox:hover input:checked~.check{background-color:#33353A}";
135
135
 
136
- let PtcCheckbox = class {
137
- constructor(hostRef) {
138
- index.registerInstance(this, hostRef);
139
- this.checkedChanged = index.createEvent(this, "checkedChanged", 7);
140
- this.checked = 'unchecked';
141
- this.handleClick = (e) => {
142
- let input = this.host.shadowRoot.querySelector('input');
143
- if (this.checked == 'unchecked') {
144
- this.checked = 'checked';
145
- }
146
- else {
147
- this.checked = 'unchecked';
148
- }
149
- let parameter = {
150
- event: e,
151
- sender: input,
152
- value: this.value,
153
- checked: this.checked
154
- };
155
- this.checkedChanged.emit(parameter);
156
- };
157
- }
158
- componentDidLoad() {
159
- let input = this.host.shadowRoot.querySelector('input');
160
- input.checked = this.checked == 'checked';
161
- }
162
- render() {
163
- return (index.h(index.Host, null, index.h("label", { class: "ptc-checkbox" }, index.h("slot", null), index.h("input", { type: "checkbox", checked: this.checked == "checked", name: this.inputName, value: this.value, onChange: (e) => this.handleClick(e) }), index.h("span", { class: "check" }, index.h("span", { class: "mark" }, index.h("icon-asset", { type: "ptc", size: "xx-small", name: "checkmark" }))))));
164
- }
165
- get host() { return index.getElement(this); }
166
- };
136
+ let PtcCheckbox = class {
137
+ constructor(hostRef) {
138
+ index.registerInstance(this, hostRef);
139
+ this.checkedChanged = index.createEvent(this, "checkedChanged", 7);
140
+ this.checked = 'unchecked';
141
+ this.handleClick = (e) => {
142
+ let input = this.host.shadowRoot.querySelector('input');
143
+ if (this.checked == 'unchecked') {
144
+ this.checked = 'checked';
145
+ }
146
+ else {
147
+ this.checked = 'unchecked';
148
+ }
149
+ let parameter = {
150
+ event: e,
151
+ sender: input,
152
+ value: this.value,
153
+ checked: this.checked
154
+ };
155
+ this.checkedChanged.emit(parameter);
156
+ };
157
+ }
158
+ componentDidLoad() {
159
+ let input = this.host.shadowRoot.querySelector('input');
160
+ input.checked = this.checked == 'checked';
161
+ }
162
+ render() {
163
+ return (index.h(index.Host, null, index.h("label", { class: "ptc-checkbox" }, index.h("slot", null), index.h("input", { type: "checkbox", checked: this.checked == "checked", name: this.inputName, value: this.value, onChange: (e) => this.handleClick(e) }), index.h("span", { class: "check" }, index.h("span", { class: "mark" }, index.h("icon-asset", { type: "ptc", color: "white", size: "xx-small", name: "checkmark" }))))));
164
+ }
165
+ get host() { return index.getElement(this); }
166
+ };
167
167
  PtcCheckbox.style = ptcCheckboxCss;
168
168
 
169
169
  const ptcContainerCss = ":host{display:block;position:relative}.white{border-radius:4px;background-color:var(--color-white)}.gray{border-radius:4px;background-color:var(--color-white-gray)}.content-wrapper{font-family:Raleway;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0;text-align:left}.content-wrapper.x-small{box-shadow:var(--ptc-shadow-x-small)}.content-wrapper.small{box-shadow:var(--ptc-shadow-small)}.content-wrapper.medium{box-shadow:var(--ptc-shadow-medium)}.content-wrapper.large{box-shadow:var(--ptc-shadow-large)}.content-wrapper.x-large{box-shadow:var(--ptc-shadow-x-large)}.content-wrapper.spacing-xx-small{padding:var(--ptc-element-spacing-01)}.content-wrapper.spacing-x-small{padding:var(--ptc-element-spacing-02)}.content-wrapper.spacing-small{padding:var(--ptc-element-spacing-03)}.content-wrapper.spacing-medium{padding:var(--ptc-element-spacing-04)}.content-wrapper.spacing-large{padding:var(--ptc-element-spacing-05)}.content-wrapper.spacing-x-large{padding:var(--ptc-element-spacing-06)}.content-wrapper.spacing-xx-large{padding:var(--ptc-element-spacing-07)}.content-wrapper.spacing-xxx-large{padding:var(--ptc-element-spacing-08)}";
170
170
 
171
- let PtcContainer = class {
172
- constructor(hostRef) {
173
- index.registerInstance(this, hostRef);
174
- /**
175
- * Theme
176
- */
177
- this.backgroundColor = 'white';
178
- this.elevation = 'small';
179
- this.containerType = 'normal';
180
- this.spacing = 'xxx-large';
181
- }
182
- render() {
183
- const classMap = this.getCssClassMap();
184
- return (index.h(index.Host, { class: this.getContainerClass() }, index.h("div", { class: classMap }, index.h("slot", null))));
185
- }
186
- getContainerClass() {
187
- switch (this.containerType) {
188
- case 'large':
189
- return 'ptc-container-lg';
190
- case 'none':
191
- return undefined;
192
- default:
193
- return 'ptc-container';
194
- }
195
- }
196
- getCssClassMap() {
197
- const spacing = `spacing-${this.spacing}`;
198
- return {
199
- ['content-wrapper']: true,
200
- [this.backgroundColor]: true,
201
- [this.elevation]: true,
202
- [spacing]: true
203
- };
204
- }
205
- };
171
+ let PtcContainer = class {
172
+ constructor(hostRef) {
173
+ index.registerInstance(this, hostRef);
174
+ /**
175
+ * Theme
176
+ */
177
+ this.backgroundColor = 'white';
178
+ this.elevation = 'small';
179
+ this.containerType = 'normal';
180
+ this.spacing = 'xxx-large';
181
+ }
182
+ render() {
183
+ const classMap = this.getCssClassMap();
184
+ return (index.h(index.Host, { class: this.getContainerClass() }, index.h("div", { class: classMap }, index.h("slot", null))));
185
+ }
186
+ getContainerClass() {
187
+ switch (this.containerType) {
188
+ case 'large':
189
+ return 'ptc-container-lg';
190
+ case 'none':
191
+ return undefined;
192
+ default:
193
+ return 'ptc-container';
194
+ }
195
+ }
196
+ getCssClassMap() {
197
+ const spacing = `spacing-${this.spacing}`;
198
+ return {
199
+ ['content-wrapper']: true,
200
+ [this.backgroundColor]: true,
201
+ [this.elevation]: true,
202
+ [spacing]: true
203
+ };
204
+ }
205
+ };
206
206
  PtcContainer.style = ptcContainerCss;
207
207
 
208
208
  const ptcDropdownCss = "@charset \"UTF-8\";:host{position:relative}:host .dropdown__header{cursor:pointer;transition:background-color ease-out 250ms, border-color ease-out 250ms;background-color:var(--color-white);display:flex;align-items:center;align-content:center;border:1px solid var(--color-gray-05);padding:0.25rem 0.75rem 0.25rem 0.75rem;border-radius:4px;font-family:Raleway;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0em;text-align:left}:host .dropdown__header b{font-weight:600}:host .dropdown__header icon-asset{width:1rem;height:1rem;margin-left:0.5rem}:host .dropdown__header:hover{background-color:var(--color-gray-02)}:host .dropdown__list{display:table;border:1px solid rgba(0, 0, 0, 0.24);border-radius:8px}:host ul{display:block;top:0.2rem;right:0.2rem;margin:0;list-style-type:none;padding-inline-start:0;padding:0.25rem 0.25rem;background-color:var(--color-gray-02);cursor:pointer;position:absolute;z-index:500}:host ul li{white-space:nowrap;padding:3px 1rem;font-weight:500}:host ul li.selected:before{content:\"✓\";display:block;position:absolute;left:0.4rem}:host ul li:hover{color:#fff;background-color:#699af8;border-radius:4px}.ptc-dropdown{position:relative}";
209
209
 
210
- let PtcDropdown = class {
211
- constructor(hostRef) {
212
- index.registerInstance(this, hostRef);
213
- this.clickedItem = index.createEvent(this, "clickedItem", 7);
214
- /**
215
- * Theme
216
- */
217
- this.theme = 'sort';
218
- this.toggle = false;
219
- this.handleClick = (item) => {
220
- this.listItems.forEach((item) => item.selected = undefined);
221
- item.selected = true;
222
- this.selectedItem = item;
223
- this.toggle = !this.toggle;
224
- this.clickedItem.emit(item);
225
- };
226
- this.toggleList = () => {
227
- this.toggle = !this.toggle;
228
- };
229
- }
230
- offClick(e) {
231
- if (e && !this.host.contains(e.target) && this.toggle) {
232
- this.toggle = false;
233
- }
234
- }
235
- componentWillLoad() {
236
- let items = this.host.querySelectorAll('item');
237
- if (!this.listItems) {
238
- this.listItems = [];
239
- }
240
- items.forEach(item => {
241
- if (item && item.getAttribute('label')) {
242
- let listItem = {
243
- element: item,
244
- label: item.getAttribute('label'),
245
- selected: item.hasAttribute('selected')
246
- };
247
- this.listItems.push(listItem);
248
- if (item.hasAttribute('selected')) {
249
- this.selectedItem = listItem;
250
- }
251
- }
252
- });
253
- }
254
- render() {
255
- const classMap = this.getCssClassMap();
256
- return (index.h("div", { class: classMap }, index.h("header", { class: "dropdown__header", onClick: this.toggleList }, index.h("label", null, index.h("b", null, this.label), " ", this.selectedItem ? this.selectedItem.label : "Select Option"), index.h("icon-asset", { type: "solid", size: "x-small", name: "chevron-down" })), this.toggle &&
257
- index.h("ul", { tabIndex: -1, class: "dropdown__list", onBlur: () => { this.toggle = false; } }, this.listItems.map((item) => {
258
- let cssClass = "dropdown__item";
259
- if (item.selected) {
260
- cssClass += " selected";
261
- }
262
- return (index.h("li", { class: cssClass, onClick: () => this.handleClick(item) }, item.label));
263
- }))));
264
- }
265
- getCssClassMap() {
266
- return {
267
- ['ptc-dropdown']: true,
268
- [this.theme]: true
269
- };
270
- }
271
- get host() { return index.getElement(this); }
272
- };
210
+ let PtcDropdown = class {
211
+ constructor(hostRef) {
212
+ index.registerInstance(this, hostRef);
213
+ this.clickedItem = index.createEvent(this, "clickedItem", 7);
214
+ /**
215
+ * Theme
216
+ */
217
+ this.theme = 'sort';
218
+ this.toggle = false;
219
+ this.handleClick = (item) => {
220
+ this.listItems.forEach((item) => item.selected = undefined);
221
+ item.selected = true;
222
+ this.selectedItem = item;
223
+ this.toggle = !this.toggle;
224
+ this.clickedItem.emit(item);
225
+ };
226
+ this.toggleList = () => {
227
+ this.toggle = !this.toggle;
228
+ };
229
+ }
230
+ offClick(e) {
231
+ if (e && !this.host.contains(e.target) && this.toggle) {
232
+ this.toggle = false;
233
+ }
234
+ }
235
+ componentWillLoad() {
236
+ let items = this.host.querySelectorAll('item');
237
+ if (!this.listItems) {
238
+ this.listItems = [];
239
+ }
240
+ items.forEach(item => {
241
+ if (item && item.getAttribute('label')) {
242
+ let listItem = {
243
+ element: item,
244
+ label: item.getAttribute('label'),
245
+ selected: item.hasAttribute('selected')
246
+ };
247
+ this.listItems.push(listItem);
248
+ if (item.hasAttribute('selected')) {
249
+ this.selectedItem = listItem;
250
+ }
251
+ }
252
+ });
253
+ }
254
+ render() {
255
+ const classMap = this.getCssClassMap();
256
+ return (index.h("div", { class: classMap }, index.h("header", { class: "dropdown__header", onClick: this.toggleList }, index.h("label", null, index.h("b", null, this.label), " ", this.selectedItem ? this.selectedItem.label : "Select Option"), index.h("icon-asset", { type: "solid", size: "x-small", name: "chevron-down" })), this.toggle &&
257
+ index.h("ul", { tabIndex: -1, class: "dropdown__list", onBlur: () => { this.toggle = false; } }, this.listItems.map((item) => {
258
+ let cssClass = "dropdown__item";
259
+ if (item.selected) {
260
+ cssClass += " selected";
261
+ }
262
+ return (index.h("li", { class: cssClass, onClick: () => this.handleClick(item) }, item.label));
263
+ }))));
264
+ }
265
+ getCssClassMap() {
266
+ return {
267
+ ['ptc-dropdown']: true,
268
+ [this.theme]: true
269
+ };
270
+ }
271
+ get host() { return index.getElement(this); }
272
+ };
273
273
  PtcDropdown.style = ptcDropdownCss;
274
274
 
275
- const CloseIcon = `<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
276
- <path fill-rule="evenodd" clip-rule="evenodd" d="M4.88956 3.99986L8.00002 0.888695L7.11135 -0.000183105L4.00089 3.11099L0.890644 2.34688e-05L0.00197005 0.888902L3.11222 3.99986L0.00195312 7.11084L0.890627 7.99972L4.00089 4.88874L7.11136 7.99993L8.00003 7.11105L4.88956 3.99986Z" fill="#9AA6AD"/>
277
- </svg>
278
- `;
279
-
280
- const ptcFilterTagCss = ".ptc-filter-tag{display:block;cursor:pointer;position:relative;margin:0.25rem}.ptc-filter-tag.bubble{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;align-items:center;transition:border-color ease-out 250ms;border:1px solid var(--color-gray-05);border-radius:999px;padding:0.375rem 1.875rem 0.375rem 0.875rem;background:var(--color-white)}.ptc-filter-tag.bubble:hover{border:1px solid var(--color-gray-12)}.ptc-filter-tag.bubble .cls{display:block;position:absolute;top:0.35rem;right:0.8rem}.ptc-filter-tag.link,.ptc-filter-tag.link-lg{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:right;border-bottom:1px solid transparent;background:var(--color-white)}.ptc-filter-tag.link:hover,.ptc-filter-tag.link-lg:hover{text-decoration:underline}.ptc-filter-tag.link .cls,.ptc-filter-tag.link-lg .cls{display:none}.ptc-filter-tag.link-lg{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold)}.ptc-filter-tag.button{background:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0.625rem 1rem;font-family:\"Raleway\";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);color:var(--color-white)}.ptc-filter-tag.button:hover{background-color:var(--color-gray-12)}.ptc-filter-tag.button:active{background-color:var(--color-black)}.ptc-filter-tag.button .cls{display:none}";
281
-
282
- let PtcFilterTag = class {
283
- constructor(hostRef) {
284
- index.registerInstance(this, hostRef);
285
- this.clicked = index.createEvent(this, "clicked", 7);
286
- /**
287
- * Theme
288
- */
289
- this.theme = 'bubble';
290
- this.handleClick = () => {
291
- this.clicked.emit(this);
292
- };
293
- }
294
- render() {
295
- const classMap = this.getCssClassMap();
296
- return (index.h(index.Host, null, index.h("span", { class: classMap, onClick: () => this.handleClick() }, index.h("slot", null), index.h("span", { class: "cls", innerHTML: CloseIcon }))));
297
- }
298
- getCssClassMap() {
299
- return {
300
- ['ptc-filter-tag']: true,
301
- [this.theme]: true
302
- };
303
- }
304
- };
275
+ const ptcFilterTagCss = ".ptc-filter-tag{display:block;cursor:pointer;position:relative;margin:0.25rem}.ptc-filter-tag.bubble{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;align-items:center;transition:border-color ease-out 250ms;border:1px solid var(--color-gray-05);border-radius:999px;padding:0.375rem 1.875rem 0.375rem 0.875rem;background:var(--color-white)}.ptc-filter-tag.bubble:hover{border:1px solid var(--color-gray-12)}.ptc-filter-tag.bubble .cls{display:block;position:absolute;top:0.35rem;right:0.8rem}.ptc-filter-tag.link,.ptc-filter-tag.link-lg{display:inline-block;font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:right;border-bottom:1px solid transparent;background:var(--color-white)}.ptc-filter-tag.link:hover,.ptc-filter-tag.link-lg:hover{text-decoration:underline}.ptc-filter-tag.link .cls,.ptc-filter-tag.link-lg .cls{display:none}.ptc-filter-tag.link-lg{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold)}.ptc-filter-tag.button{background:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0.625rem 1rem;font-family:\"Raleway\";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);color:var(--color-white)}.ptc-filter-tag.button:hover{background-color:var(--color-gray-12)}.ptc-filter-tag.button:active{background-color:var(--color-black)}.ptc-filter-tag.button .cls{display:none}.ptc-filter-tag.standard{display:inline-flex;background:var(--color-gray-10);font-family:\"Raleway\";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-denser);color:var(--color-green-07);background-color:transparent}.ptc-filter-tag.standard .cls{display:block;margin-left:0.25rem}";
276
+
277
+ let PtcFilterTag = class {
278
+ constructor(hostRef) {
279
+ index.registerInstance(this, hostRef);
280
+ this.clicked = index.createEvent(this, "clicked", 7);
281
+ this.theme = 'bubble';
282
+ this.handleClick = () => {
283
+ this.clicked.emit(this);
284
+ };
285
+ }
286
+ componentWillLoad() {
287
+ this.iconColorMap = {
288
+ 'bubble': {
289
+ 'hover': 'black',
290
+ 'standard': 'light-gray'
291
+ },
292
+ 'standard': {
293
+ 'hover': 'ptc-green',
294
+ 'standard': 'black'
295
+ },
296
+ };
297
+ }
298
+ handleMouseEnter() {
299
+ this.updateIconColor('hover');
300
+ }
301
+ handleMouseLeave() {
302
+ this.updateIconColor('standard');
303
+ }
304
+ updateIconColor(state) {
305
+ let icon = this.el.shadowRoot.querySelector('icon-asset');
306
+ if (icon) {
307
+ if (this.iconColorMap[this.theme]) {
308
+ icon.setAttribute('color', this.iconColorMap[this.theme][state]);
309
+ }
310
+ }
311
+ }
312
+ render() {
313
+ const classMap = this.getCssClassMap();
314
+ let icon;
315
+ switch (this.theme) {
316
+ case 'bubble':
317
+ icon = (index.h("icon-asset", { class: "cls", type: "ptc", color: "light-gray", name: "times", size: "micro" }));
318
+ break;
319
+ case 'standard':
320
+ icon = (index.h("icon-asset", { class: "cls", type: "ptc", color: "black", name: "times", size: "xxx-small" }));
321
+ break;
322
+ }
323
+ return (index.h(index.Host, null, index.h("span", { class: classMap, onClick: () => this.handleClick(), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, index.h("slot", null), icon)));
324
+ }
325
+ getCssClassMap() {
326
+ return {
327
+ ['ptc-filter-tag']: true,
328
+ [this.theme]: true
329
+ };
330
+ }
331
+ get el() { return index.getElement(this); }
332
+ };
305
333
  PtcFilterTag.style = ptcFilterTagCss;
306
334
 
307
335
  const ptcIconMinimizeCss = ".content{transition:max-height ease-out 250ms;overflow:hidden;max-height:0}.ptc-icon-minimize .header{display:flex;justify-content:space-between;align-items:center;align-content:center}.ptc-icon-minimize .header .title{color:var(--color-gray-10);font-family:\"Raleway\";font-style:normal;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-normal)}.ptc-icon-minimize .header .icon{cursor:pointer;border:1px solid var(--color-gray-10);border-radius:2px;transition:background-color ease-out 250ms;background-color:transparent;height:1.25rem;width:1.25rem;text-align:center;display:flex;align-items:center;justify-content:center}.ptc-icon-minimize .header .icon:hover{background-color:var(--color-gray-02)}.ptc-icon-minimize .header .icon icon-asset{position:relative;width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small);display:flex}";
308
336
 
309
- let PtcIconMinimize = class {
310
- constructor(hostRef) {
311
- index.registerInstance(this, hostRef);
312
- this.opened = true;
313
- }
314
- componentDidLoad() {
315
- let content = this.host.shadowRoot.querySelector('.content');
316
- if (this.opened && !content.style.maxHeight) {
317
- content.style.maxHeight = content.scrollHeight + "px";
318
- }
319
- }
320
- dropdownToggle() {
321
- this.opened = !this.opened;
322
- }
323
- getScrollHeight() {
324
- let result = undefined;
325
- let content = this.host.shadowRoot.querySelector('.content');
326
- if (this.opened && content) {
327
- result = { 'max-height': content.scrollHeight + "px" };
328
- }
329
- else if (this.opened) {
330
- result = { 'max-height': 350 + "px" };
331
- }
332
- else if (content && content.style.maxHeight) {
333
- content.style.removeProperty('max-height');
334
- }
335
- return result;
336
- }
337
- render() {
338
- let scrollHeight = this.getScrollHeight();
339
- let icon = this.opened ? 'minus' : 'plus';
340
- return (index.h("div", { class: "ptc-icon-minimize" }, index.h("div", { class: "header" }, index.h("div", { class: "title" }, this.heading), index.h("div", { class: "icon", onClick: () => this.dropdownToggle() }, index.h("icon-asset", { type: "ptc", size: "xxx-small", name: icon }))), index.h("div", { class: "content", style: scrollHeight }, index.h("slot", null))));
341
- }
342
- get host() { return index.getElement(this); }
343
- };
337
+ let PtcIconMinimize = class {
338
+ constructor(hostRef) {
339
+ index.registerInstance(this, hostRef);
340
+ this.opened = true;
341
+ }
342
+ componentDidLoad() {
343
+ let content = this.host.shadowRoot.querySelector('.content');
344
+ if (this.opened && !content.style.maxHeight) {
345
+ content.style.maxHeight = content.scrollHeight + "px";
346
+ }
347
+ }
348
+ dropdownToggle() {
349
+ this.opened = !this.opened;
350
+ }
351
+ getScrollHeight() {
352
+ let result = undefined;
353
+ let content = this.host.shadowRoot.querySelector('.content');
354
+ if (this.opened && content) {
355
+ result = { 'max-height': content.scrollHeight + "px" };
356
+ }
357
+ else if (this.opened) {
358
+ result = { 'max-height': 350 + "px" };
359
+ }
360
+ else if (content && content.style.maxHeight) {
361
+ content.style.removeProperty('max-height');
362
+ }
363
+ return result;
364
+ }
365
+ render() {
366
+ let scrollHeight = this.getScrollHeight();
367
+ let icon = this.opened ? 'minus' : 'plus';
368
+ return (index.h("div", { class: "ptc-icon-minimize" }, index.h("div", { class: "header" }, index.h("div", { class: "title" }, this.heading), index.h("div", { class: "icon", onClick: () => this.dropdownToggle() }, index.h("icon-asset", { type: "ptc", color: "black", size: "xxx-small", name: icon }))), index.h("div", { class: "content", style: scrollHeight }, index.h("slot", null))));
369
+ }
370
+ get host() { return index.getElement(this); }
371
+ };
344
372
  PtcIconMinimize.style = ptcIconMinimizeCss;
345
373
 
346
374
  const ptcLinkCss = ":host{display:block}.disabled{pointer-events:none;cursor:default;text-decoration:none}.ptc-link{display:inline-block;color:var(--color-gray-10);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal);outline:none;text-decoration:none}.simple::after{content:\"\";position:absolute;width:100%;left:0px;bottom:2px;transition:opacity var(--ptc-transition-fast) var(--ptc-ease-inout);border-bottom:2px solid var(--color-green-07);opacity:0}.simple:hover.simple::after{opacity:1}.product-link{font-weight:var(--ptc-font-weight-extrabold);margin-top:var(--ptc-element-spacing-04)}.product-link::after{content:\"\";position:absolute;width:100%;left:0px;bottom:2px;transition:opacity var(--ptc-transition-fast) var(--ptc-ease-inout);border-bottom:2px solid var(--color-green-07);opacity:1;color:var(--color-green-07)}.product-link:hover.product-link{color:var(--color-green-07)}.product-link:hover.product-link::after{opacity:1}.arrow{margin-right:var(--ptc-element-spacing-01)}.arrow::after{position:absolute;display:block;content:\"\";width:var(--ptc-element-spacing-07);border-bottom:2px solid var(--color-green-07);bottom:1px;transition:width var(--ptc-transition-fast) var(--ptc-ease-inout)}.arrow:hover.arrow::after{width:100%}.underline{border-bottom:2px solid var(--color-green-07)}.underline:hover{color:#00890B;border-bottom:2px solid #00890B}.uppercase{text-transform:uppercase}.small{font-size:var(--ptc-font-size-xx-small)}.medium{font-size:var(--ptc-font-size-x-small)}.large{font-size:var(--ptc-font-size-medium)}.ptc-link.arrow icon-asset{position:absolute;right:-25px;transition:transform var(--ptc-transition-fast) var(--ptc-ease-inout);transform:translateY(2px)}.ptc-link.arrow icon-asset svg{fill:var(--color-green-07) !important}.ptc-link.arrow-plm icon-asset{position:absolute;right:-6.75px;transform:translate(100%, 3%)}.ptc-link.arrow-plm svg{fill:var(--color-green-07) !important}.ptc-link:hover.arrow icon-asset{transform:translate(var(--ptc-element-spacing-04), 2px)}.nav-title:focus,.nav-title-link:focus,.primary-nav-link:focus,.secondary-nav-link:focus,.footer-nav-link:focus,.copyright-link:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav-title{box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin-bottom:var(--ptc-element-spacing-02);text-align:left}.primary-nav-link{background-color:transparent;box-sizing:border-box;color:var(--color-gray-01);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin:var(--ptc-element-spacing-01) var(--ptc-element-spacing-03);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-06);position:relative;text-decoration:none;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.primary-nav-link:hover{border-radius:var(--ptc-border-radius-standard);background-color:var(--color-gray-12);text-decoration:none;outline:none}.nav-title-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration-color:var(--color-white);text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;display:inline-block}.nav-title-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06)}.secondary-nav-link{display:inline-block;background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-style:normal;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);list-style:none;margin-bottom:var(--ptc-element-spacing-03);text-align:left;text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;white-space:nowrap}.secondary-nav-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06);border-radius:0;text-decoration:none}.footer-nav-link{color:var(--color-white);transition:border var(--ptc-transition-medium) var(--ptc-ease-inout), color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1px solid transparent;outline:none;text-decoration:none;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);text-align:left;font-size:var(--ptc-font-size-x-small)}.footer-nav-link:hover{outline:none;text-decoration:none;border-bottom:0.1rem solid var(--color-green-06);color:var(--color-green-06)}.copyright-link{color:var(--color-white);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-normal);line-height:var(--ptc-line-height-loose);display:inline-block}.arrow-plm{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:transparent;text-underline-offset:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.arrow-plm:hover{text-decoration-color:var(--color-green-07)}";
347
375
 
348
- let PtcLink = class {
349
- constructor(hostRef) {
350
- index.registerInstance(this, hostRef);
351
- /**
352
- * Disabled link
353
- */
354
- this.disabled = false;
355
- /**
356
- * Rxternal link
357
- * */
358
- this.external = false;
359
- /**
360
- * Target
361
- */
362
- this.target = '_self';
363
- /**
364
- * Theme
365
- */
366
- this.theme = 'simple';
367
- /**
368
- * Uppercase
369
- */
370
- this.uppercase = false;
371
- /**
372
- * Font Size
373
- */
374
- this.fontSize = 'medium';
375
- }
376
- render() {
377
- const classMap = this.getCssClassMap();
378
- return (index.h(index.Host, null, index.h("a", { class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, this.theme == 'arrow' ? index.h("icon-asset", { type: "solid", size: "x-small", name: "arrow-right" }) : '', this.theme == 'arrow-plm' ? index.h("icon-asset", { type: "ptc", size: "xxx-small", name: "button-arrow-right" }) : '', index.h("slot", null))));
379
- }
380
- getCssClassMap() {
381
- return {
382
- ['ptc-link']: true,
383
- [this.theme]: true,
384
- ['uppercase']: this.uppercase,
385
- ['disabled']: this.disabled,
386
- [this.fontSize]: true,
387
- };
388
- }
389
- };
376
+ let PtcLink = class {
377
+ constructor(hostRef) {
378
+ index.registerInstance(this, hostRef);
379
+ /**
380
+ * Disabled link
381
+ */
382
+ this.disabled = false;
383
+ /**
384
+ * Rxternal link
385
+ * */
386
+ this.external = false;
387
+ /**
388
+ * Target
389
+ */
390
+ this.target = '_self';
391
+ /**
392
+ * Theme
393
+ */
394
+ this.theme = 'simple';
395
+ /**
396
+ * Uppercase
397
+ */
398
+ this.uppercase = false;
399
+ /**
400
+ * Font Size
401
+ */
402
+ this.fontSize = 'medium';
403
+ }
404
+ render() {
405
+ const classMap = this.getCssClassMap();
406
+ return (index.h(index.Host, null, index.h("a", { class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, this.theme == 'arrow' ? index.h("icon-asset", { type: "solid", size: "x-small", name: "arrow-right" }) : '', this.theme == 'arrow-plm' ? index.h("icon-asset", { type: "ptc", size: "xxx-small", name: "button-arrow-right" }) : '', index.h("slot", null))));
407
+ }
408
+ getCssClassMap() {
409
+ return {
410
+ ['ptc-link']: true,
411
+ [this.theme]: true,
412
+ ['uppercase']: this.uppercase,
413
+ ['disabled']: this.disabled,
414
+ [this.fontSize]: true,
415
+ };
416
+ }
417
+ };
390
418
  PtcLink.style = ptcLinkCss;
391
419
 
392
420
  const ptcModalCss = ":host{display:block}.wrapper{position:fixed;width:100vw;height:100%;top:0;left:0;z-index:3000;display:none}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:3020;transform:translateY(-100%)}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup .close{margin-right:var(--ptc-element-spacing-03);margin-top:var(--ptc-element-spacing-03)}.wrapper .modal-popup.shadow-scroller{max-height:756px}.wrapper .modal-popup.shadow-scroller .modal-header{transition:box-shadow ease-in-out 250ms;position:relative;min-height:57px;border-bottom:1px solid var(--color-gray-02);width:100%}.wrapper .modal-popup.shadow-scroller .modal-header .close{position:absolute;top:var(--spacing-md);right:var(--spacing-md);margin:0}.wrapper .modal-popup.shadow-scroller .modal-body{min-height:200px;overflow-x:hidden;overflow-y:auto}.wrapper .modal-popup.shadow-scroller .modal-footer{transition:box-shadow ease-in-out 250ms;width:100%;min-height:72px;border-top:1px solid var(--color-gray-02);padding-top:1rem}.wrapper .modal-popup.shadow-scroller.scroll-top .modal-header{box-shadow:0px 4px 12px rgba(0, 0, 0, 0.12)}.wrapper .modal-popup.shadow-scroller.scroll-bottom .modal-footer{box-shadow:0px -8px 12px rgba(0, 0, 0, 0.12)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.wrapper.show .modal-popup.rounded{border-radius:var(--ptc-border-radius-standard)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:3010;display:block;background-color:rgba(0, 0, 0, 0.6)}";
393
421
 
394
- let PtcModal = class {
395
- constructor(hostRef) {
396
- index.registerInstance(this, hostRef);
397
- this.closed = index.createEvent(this, "closed", 7);
398
- this.opened = index.createEvent(this, "opened", 7);
399
- /**
400
- * Sets if popup should close if click on outside
401
- */
402
- this.size = 'sm';
403
- /**
404
- * Set whether or not to display modal
405
- */
406
- this.show = false;
407
- /**
408
- * Sets if popup should overlay
409
- */
410
- this.overlay = true;
411
- /**
412
- * Sets if popup should close if click on outside
413
- */
414
- this.closeOnBlur = false;
415
- /**
416
- * Sets if popup should have rounded corners
417
- */
418
- this.rounded = false;
419
- /**
420
- * Sets if popup should have header footer sections
421
- */
422
- this.showHeaderFooter = false;
423
- }
424
- fireOnClosed(modal) {
425
- this.closed.emit(modal);
426
- }
427
- fireOnOpened(modal) {
428
- this.opened.emit(modal);
429
- }
430
- componentWillLoad() {
431
- let body = document.querySelector('body');
432
- this.bodyOverflowSetting = {
433
- //overflow: body.style['overflow'],
434
- overflowY: body.style['overflowY'],
435
- overflowX: body.style['overflowX'],
436
- };
437
- }
438
- componentWillRender() {
439
- let body = document.querySelector('body');
440
- if (body) {
441
- if (this.show) {
442
- //body.style['overflow'] = 'hidden';
443
- body.style['overflowY'] = 'scroll';
444
- body.style['overflowX'] = 'hidden';
445
- }
446
- else {
447
- //body.style['overflow'] = this.bodyOverflowSetting.overflow;
448
- body.style['overflowY'] = this.bodyOverflowSetting.overflowY;
449
- body.style['overflowX'] = this.bodyOverflowSetting.overflowX;
450
- }
451
- }
452
- }
453
- componentDidLoad() {
454
- if (this.show) {
455
- this.fireOnOpened(this);
456
- }
457
- if (this.showHeaderFooter) {
458
- this.handleScroll();
459
- }
460
- }
461
- componentDidUpdate() {
462
- if (this.show) {
463
- this.fireOnOpened(this);
464
- }
465
- else {
466
- this.fireOnClosed(this);
467
- }
468
- }
469
- resizeIframe(e) {
470
- let iFrame = e.target;
471
- setTimeout(() => {
472
- try {
473
- iFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;
474
- }
475
- catch (error) {
476
- console.log(error);
477
- iFrame.height = '616px'; //default
478
- iFrame.removeAttribute('scrolling');
479
- }
480
- iFrame.classList.add('ready');
481
- }, 50);
482
- }
483
- handleScroll() {
484
- let modal = this.el.shadowRoot.querySelector('.shadow-scroller');
485
- if (modal) {
486
- let body = modal.querySelector('.modal-body');
487
- var height = body.clientHeight;
488
- var scrollHeight = body.scrollHeight;
489
- var scrollTop = body.scrollTop;
490
- var offset = body.offsetHeight;
491
- if (height < scrollHeight) { //has scrollbar
492
- if (scrollTop > 0) { //can scroll up
493
- modal.classList.add('scroll-top');
494
- }
495
- else {
496
- modal.classList.remove('scroll-top');
497
- }
498
- if (offset + scrollTop < scrollHeight) { //can scroll down
499
- modal.classList.add('scroll-bottom');
500
- }
501
- else {
502
- modal.classList.remove('scroll-bottom');
503
- }
504
- }
505
- }
506
- }
507
- close() {
508
- this.show = false;
509
- }
510
- render() {
511
- let content;
512
- let overlay;
513
- let type = this.iframeUrl ? 'frame' : 'html';
514
- let closebtn = (index.h("div", { class: "close" }, index.h("a", { href: "#", onClick: (e) => { e.preventDefault(); this.close(); } }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, index.h("path", { d: "M1 1L13 13", stroke: "black" }), index.h("path", { d: "M13 1L1 13", stroke: "black" })))));
515
- if (this.iframeUrl) {
516
- content = (index.h("iframe", { src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: "100%", width: "100%", scrolling: "no", onLoad: this.resizeIframe }));
517
- }
518
- else {
519
- if (this.showHeaderFooter) {
520
- content = (index.h("slot", { name: "body" }));
521
- }
522
- else {
523
- content = (index.h("slot", null));
524
- }
525
- }
526
- if (this.overlay) {
527
- if (this.closeOnBlur) {
528
- overlay = index.h("div", { class: "overlay", onClick: (_) => this.close() });
529
- }
530
- else {
531
- overlay = index.h("div", { class: "overlay" });
532
- }
533
- }
534
- return (index.h(index.Host, null, index.h("div", { class: `wrapper ${this.show ? "show" : "hide"}` }, overlay, index.h("div", { class: `modal-popup ${this.size} ${type} ${this.rounded ? 'rounded' : ''} ${this.showHeaderFooter ? 'shadow-scroller' : ''} ` }, this.showHeaderFooter ? [
535
- index.h("div", { class: "modal-header" }, index.h("slot", { name: "header" }), closebtn),
536
- index.h("div", { class: "modal-body", onScroll: () => this.handleScroll() }, content),
537
- index.h("div", { class: "modal-footer" }, index.h("slot", { name: "footer" }))
538
- ] : [
539
- closebtn,
540
- index.h("div", { class: "modal-body" }, content)
541
- ]))));
542
- }
543
- get el() { return index.getElement(this); }
544
- };
422
+ let PtcModal = class {
423
+ constructor(hostRef) {
424
+ index.registerInstance(this, hostRef);
425
+ this.closed = index.createEvent(this, "closed", 7);
426
+ this.opened = index.createEvent(this, "opened", 7);
427
+ /**
428
+ * Sets if popup should close if click on outside
429
+ */
430
+ this.size = 'sm';
431
+ /**
432
+ * Set whether or not to display modal
433
+ */
434
+ this.show = false;
435
+ /**
436
+ * Sets if popup should overlay
437
+ */
438
+ this.overlay = true;
439
+ /**
440
+ * Sets if popup should close if click on outside
441
+ */
442
+ this.closeOnBlur = false;
443
+ /**
444
+ * Sets if popup should have rounded corners
445
+ */
446
+ this.rounded = false;
447
+ /**
448
+ * Sets if popup should have header footer sections
449
+ */
450
+ this.showHeaderFooter = false;
451
+ }
452
+ fireOnClosed(modal) {
453
+ this.closed.emit(modal);
454
+ }
455
+ fireOnOpened(modal) {
456
+ this.opened.emit(modal);
457
+ }
458
+ componentWillLoad() {
459
+ let body = document.querySelector('body');
460
+ this.bodyOverflowSetting = {
461
+ //overflow: body.style['overflow'],
462
+ overflowY: body.style['overflowY'],
463
+ overflowX: body.style['overflowX'],
464
+ };
465
+ }
466
+ componentWillRender() {
467
+ let body = document.querySelector('body');
468
+ if (body) {
469
+ if (this.show) {
470
+ //body.style['overflow'] = 'hidden';
471
+ body.style['overflowY'] = 'scroll';
472
+ body.style['overflowX'] = 'hidden';
473
+ }
474
+ else {
475
+ //body.style['overflow'] = this.bodyOverflowSetting.overflow;
476
+ body.style['overflowY'] = this.bodyOverflowSetting.overflowY;
477
+ body.style['overflowX'] = this.bodyOverflowSetting.overflowX;
478
+ }
479
+ }
480
+ }
481
+ componentDidLoad() {
482
+ if (this.show) {
483
+ this.fireOnOpened(this);
484
+ }
485
+ if (this.showHeaderFooter) {
486
+ this.handleScroll();
487
+ }
488
+ }
489
+ componentDidUpdate() {
490
+ if (this.show) {
491
+ this.fireOnOpened(this);
492
+ }
493
+ else {
494
+ this.fireOnClosed(this);
495
+ }
496
+ }
497
+ resizeIframe(e) {
498
+ let iFrame = e.target;
499
+ setTimeout(() => {
500
+ try {
501
+ iFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;
502
+ }
503
+ catch (error) {
504
+ console.log(error);
505
+ iFrame.height = '616px'; //default
506
+ iFrame.removeAttribute('scrolling');
507
+ }
508
+ iFrame.classList.add('ready');
509
+ }, 50);
510
+ }
511
+ handleScroll() {
512
+ let modal = this.el.shadowRoot.querySelector('.shadow-scroller');
513
+ if (modal) {
514
+ let body = modal.querySelector('.modal-body');
515
+ var height = body.clientHeight;
516
+ var scrollHeight = body.scrollHeight;
517
+ var scrollTop = body.scrollTop;
518
+ var offset = body.offsetHeight;
519
+ if (height < scrollHeight) { //has scrollbar
520
+ if (scrollTop > 0) { //can scroll up
521
+ modal.classList.add('scroll-top');
522
+ }
523
+ else {
524
+ modal.classList.remove('scroll-top');
525
+ }
526
+ if (offset + scrollTop < scrollHeight) { //can scroll down
527
+ modal.classList.add('scroll-bottom');
528
+ }
529
+ else {
530
+ modal.classList.remove('scroll-bottom');
531
+ }
532
+ }
533
+ }
534
+ }
535
+ close() {
536
+ this.show = false;
537
+ }
538
+ render() {
539
+ let content;
540
+ let overlay;
541
+ let type = this.iframeUrl ? 'frame' : 'html';
542
+ let closebtn = (index.h("div", { class: "close" }, index.h("a", { href: "#", onClick: (e) => { e.preventDefault(); this.close(); } }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, index.h("path", { d: "M1 1L13 13", stroke: "black" }), index.h("path", { d: "M13 1L1 13", stroke: "black" })))));
543
+ if (this.iframeUrl) {
544
+ content = (index.h("iframe", { src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: "100%", width: "100%", scrolling: "no", onLoad: this.resizeIframe }));
545
+ }
546
+ else {
547
+ if (this.showHeaderFooter) {
548
+ content = (index.h("slot", { name: "body" }));
549
+ }
550
+ else {
551
+ content = (index.h("slot", null));
552
+ }
553
+ }
554
+ if (this.overlay) {
555
+ if (this.closeOnBlur) {
556
+ overlay = index.h("div", { class: "overlay", onClick: (_) => this.close() });
557
+ }
558
+ else {
559
+ overlay = index.h("div", { class: "overlay" });
560
+ }
561
+ }
562
+ return (index.h(index.Host, null, index.h("div", { class: `wrapper ${this.show ? "show" : "hide"}` }, overlay, index.h("div", { class: `modal-popup ${this.size} ${type} ${this.rounded ? 'rounded' : ''} ${this.showHeaderFooter ? 'shadow-scroller' : ''} ` }, this.showHeaderFooter ? [
563
+ index.h("div", { class: "modal-header" }, index.h("slot", { name: "header" }), closebtn),
564
+ index.h("div", { class: "modal-body", onScroll: () => this.handleScroll() }, content),
565
+ index.h("div", { class: "modal-footer" }, index.h("slot", { name: "footer" }))
566
+ ] : [
567
+ closebtn,
568
+ index.h("div", { class: "modal-body" }, content)
569
+ ]))));
570
+ }
571
+ get el() { return index.getElement(this); }
572
+ };
545
573
  PtcModal.style = ptcModalCss;
546
574
 
547
575
  const ptcParaCss = ":host{z-index:1}:host(.white){color:var(--color-white)}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.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.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.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)}";
548
576
 
549
- let PtcPara = class {
550
- constructor(hostRef) {
551
- index.registerInstance(this, hostRef);
552
- /**
553
- * Paragraph font size
554
- **/
555
- this.fontSize = "x-small";
556
- /**
557
- * Paragraph font weight
558
- **/
559
- this.fontWeight = 'w-4';
560
- /**
561
- * Paragraph Style
562
- **/
563
- this.paraStyle = 'default';
564
- /**
565
- * Paragraph Color
566
- */
567
- this.paraColor = 'primary-grey';
568
- /**
569
- * line height
570
- */
571
- this.paraLineH = 'line-height-normal';
572
- }
573
- render() {
574
- const classMap = this.getCssClassMap();
575
- const colorClass = this.addWhiteClass();
576
- return (index.h(index.Host, { class: colorClass }, index.h("p", { class: classMap, part: "part-para" }, index.h("slot", null))));
577
- }
578
- getCssClassMap() {
579
- return {
580
- [this.fontSize]: true,
581
- [this.fontWeight]: true,
582
- [this.paraStyle]: true,
583
- [this.paraMargin]: !!this.paraMargin ? true : false,
584
- [this.paraColor]: true,
585
- [this.paraLineH]: true
586
- };
587
- }
588
- //WEB-2392
589
- addWhiteClass() {
590
- if (this.paraColor == "white") {
591
- return {
592
- [this.paraColor]: true,
593
- };
594
- }
595
- }
596
- };
577
+ let PtcPara = class {
578
+ constructor(hostRef) {
579
+ index.registerInstance(this, hostRef);
580
+ /**
581
+ * Paragraph font size
582
+ **/
583
+ this.fontSize = "x-small";
584
+ /**
585
+ * Paragraph font weight
586
+ **/
587
+ this.fontWeight = 'w-4';
588
+ /**
589
+ * Paragraph Style
590
+ **/
591
+ this.paraStyle = 'default';
592
+ /**
593
+ * Paragraph Color
594
+ */
595
+ this.paraColor = 'primary-grey';
596
+ /**
597
+ * line height
598
+ */
599
+ this.paraLineH = 'line-height-normal';
600
+ }
601
+ render() {
602
+ const classMap = this.getCssClassMap();
603
+ const colorClass = this.addWhiteClass();
604
+ return (index.h(index.Host, { class: colorClass }, index.h("p", { class: classMap, part: "part-para" }, index.h("slot", null))));
605
+ }
606
+ getCssClassMap() {
607
+ return {
608
+ [this.fontSize]: true,
609
+ [this.fontWeight]: true,
610
+ [this.paraStyle]: true,
611
+ [this.paraMargin]: !!this.paraMargin ? true : false,
612
+ [this.paraColor]: true,
613
+ [this.paraLineH]: true
614
+ };
615
+ }
616
+ //WEB-2392
617
+ addWhiteClass() {
618
+ if (this.paraColor == "white") {
619
+ return {
620
+ [this.paraColor]: true,
621
+ };
622
+ }
623
+ }
624
+ };
597
625
  PtcPara.style = ptcParaCss;
598
626
 
599
- const ShoppingCartBlack = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
600
- <path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="#20262A"/>
601
- </svg>
627
+ const ShoppingCartBlack = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
628
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="#20262A"/>
629
+ </svg>
602
630
  `;
603
631
 
604
- const ShoppingCartWhite = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
605
- <path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="white"/>
606
- </svg>
632
+ const ShoppingCartWhite = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
633
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="white"/>
634
+ </svg>
607
635
  `;
608
636
 
609
637
  const ptcShoppingCartCss = ":host .cart{border-radius:4px;display:inline-block;padding:0.45rem;max-height:28px}:host .cart .cart__count{position:relative;background:#D33E3E;height:20px;width:20px;text-align:center;border-radius:50%;color:white;left:18px;bottom:38px;vertical-align:middle;display:flex;justify-content:center;align-items:center;text-align:center;font-family:Raleway;font-size:14px;font-weight:600;line-height:21px;letter-spacing:0em}:host .cart.black-background{background:rgba(0, 0, 0, 0.54)}:host .cart.clear-background{background:rgba(0, 0, 0, 0)}";
610
638
 
611
- let PtcShoppingCart = class {
612
- constructor(hostRef) {
613
- index.registerInstance(this, hostRef);
614
- this.color = 'white';
615
- }
616
- render() {
617
- const classMap = this.getCssClassMap();
618
- const svg = this.color == 'black' ? ShoppingCartBlack : ShoppingCartWhite;
619
- const svgClass = this.color == 'black' ? "cart clear-background" : "cart black-background";
620
- return (index.h(index.Host, { class: classMap }, this.cartCount ? (index.h("div", { class: svgClass, innerHTML: svg }, index.h("div", { class: "cart__count" }, this.cartCount))) : (index.h("div", { class: svgClass, innerHTML: svg }))));
621
- /*
622
- if(this.color == 'black'){
623
- return (
624
- <Host class={classMap}>
625
- {this.cartCount ? (
626
- <div class="cart" innerHTML={ShoppingCartBlack}>
627
- <div class="cart__count">{this.cartCount}</div>
628
- </div>
629
- ) : (
630
- <div innerHTML={ShoppingCartBlack}></div>)
631
- }
632
- </Host>
633
- );
634
- } else if(this.color == 'white'){
635
- return(
636
- <Host class={classMap}>
637
- {this.cartCount ? (
638
- <div class="cart black-background" innerHTML={ShoppingCartWhite}>
639
- <div class="cart__count">{this.cartCount}</div>
640
- </div>
641
- ) : (
642
- <div innerHTML={ShoppingCartWhite} class="black-background"></div>)
643
- }
644
- </Host>
645
- );
646
- }*/
647
- }
648
- getCssClassMap() {
649
- return {
650
- ['ptc-shopping-cart']: true,
651
- };
652
- }
653
- };
639
+ let PtcShoppingCart = class {
640
+ constructor(hostRef) {
641
+ index.registerInstance(this, hostRef);
642
+ this.color = 'white';
643
+ }
644
+ render() {
645
+ const classMap = this.getCssClassMap();
646
+ const svg = this.color == 'black' ? ShoppingCartBlack : ShoppingCartWhite;
647
+ const svgClass = this.color == 'black' ? "cart clear-background" : "cart black-background";
648
+ return (index.h(index.Host, { class: classMap }, this.cartCount ? (index.h("div", { class: svgClass, innerHTML: svg }, index.h("div", { class: "cart__count" }, this.cartCount))) : (index.h("div", { class: svgClass, innerHTML: svg }))));
649
+ /*
650
+ if(this.color == 'black'){
651
+ return (
652
+ <Host class={classMap}>
653
+ {this.cartCount ? (
654
+ <div class="cart" innerHTML={ShoppingCartBlack}>
655
+ <div class="cart__count">{this.cartCount}</div>
656
+ </div>
657
+ ) : (
658
+ <div innerHTML={ShoppingCartBlack}></div>)
659
+ }
660
+ </Host>
661
+ );
662
+ } else if(this.color == 'white'){
663
+ return(
664
+ <Host class={classMap}>
665
+ {this.cartCount ? (
666
+ <div class="cart black-background" innerHTML={ShoppingCartWhite}>
667
+ <div class="cart__count">{this.cartCount}</div>
668
+ </div>
669
+ ) : (
670
+ <div innerHTML={ShoppingCartWhite} class="black-background"></div>)
671
+ }
672
+ </Host>
673
+ );
674
+ }*/
675
+ }
676
+ getCssClassMap() {
677
+ return {
678
+ ['ptc-shopping-cart']: true,
679
+ };
680
+ }
681
+ };
654
682
  PtcShoppingCart.style = ptcShoppingCartCss;
655
683
 
656
684
  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.9375em){: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: 76.25em){:host(.ptc-spacer-xx-large){display:block}}";
657
685
 
658
- let PtcSpacer = class {
659
- constructor(hostRef) {
660
- index.registerInstance(this, hostRef);
661
- /**
662
- * Breakpoint
663
- */
664
- this.breakpoint = '';
665
- /**
666
- * Spacing Size
667
- */
668
- this.size = 'medium';
669
- /**
670
- * Direction
671
- */
672
- this.direction = 'vertical';
673
- }
674
- render() {
675
- const classMap = this.getCssClassMap();
676
- return (index.h(index.Host, { class: classMap }));
677
- }
678
- getCssClassMap() {
679
- return {
680
- [this.size]: true,
681
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
682
- ['ptc-spacer-vertical']: this.direction === 'vertical',
683
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
684
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
685
- ['ptc-spacer-small']: this.breakpoint === 'small',
686
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
687
- ['ptc-spacer-large']: this.breakpoint === 'large',
688
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
689
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
690
- };
691
- }
692
- };
686
+ let PtcSpacer = class {
687
+ constructor(hostRef) {
688
+ index.registerInstance(this, hostRef);
689
+ /**
690
+ * Breakpoint
691
+ */
692
+ this.breakpoint = '';
693
+ /**
694
+ * Spacing Size
695
+ */
696
+ this.size = 'medium';
697
+ /**
698
+ * Direction
699
+ */
700
+ this.direction = 'vertical';
701
+ }
702
+ render() {
703
+ const classMap = this.getCssClassMap();
704
+ return (index.h(index.Host, { class: classMap }));
705
+ }
706
+ getCssClassMap() {
707
+ return {
708
+ [this.size]: true,
709
+ ['ptc-spacer-horizontal']: this.direction === 'horizontal',
710
+ ['ptc-spacer-vertical']: this.direction === 'vertical',
711
+ ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
712
+ ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
713
+ ['ptc-spacer-small']: this.breakpoint === 'small',
714
+ ['ptc-spacer-medium']: this.breakpoint === 'medium',
715
+ ['ptc-spacer-large']: this.breakpoint === 'large',
716
+ ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
717
+ ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
718
+ };
719
+ }
720
+ };
693
721
  PtcSpacer.style = ptcSpacerCss;
694
722
 
695
723
  const ptcTitleCss = "div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before,div.center.dotted.sc-ptc-title h4.sc-ptc-title::before,div.center.dotted.sc-ptc-title h5.sc-ptc-title::before,div.center.dotted.sc-ptc-title h6.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before,div.left.dotted.sc-ptc-title h4.sc-ptc-title::before,div.left.dotted.sc-ptc-title h5.sc-ptc-title::before,div.left.dotted.sc-ptc-title h6.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before,div.right.dotted.sc-ptc-title h4.sc-ptc-title::before,div.right.dotted.sc-ptc-title h5.sc-ptc-title::before,div.right.dotted.sc-ptc-title h6.sc-ptc-title::before{right:0%}div.inherit.sc-ptc-title{text-align:inherit}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before,div.dotted.sc-ptc-title h4.sc-ptc-title::before,div.dotted.sc-ptc-title h5.sc-ptc-title::before,div.dotted.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed var(--color-green-07)}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before,div.solid.sc-ptc-title h4.sc-ptc-title::before,div.solid.sc-ptc-title h5.sc-ptc-title::before,div.solid.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-gray-07);opacity:0.9;left:0px}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after,div.solid.sc-ptc-title h4.sc-ptc-title::after,div.solid.sc-ptc-title h5.sc-ptc-title::after,div.solid.sc-ptc-title h6.sc-ptc-title::after{content:\"\";position:absolute;width:20%;height:2px;background-color:var(--color-green-07);top:-2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title,div.is-standard.sc-ptc-title h4.sc-ptc-title,div.is-standard.sc-ptc-title h5.sc-ptc-title,div.is-standard.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0px;color:var(--color-gray-10)}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-10)}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title,div.is-plm-hub.sc-ptc-title h2.sc-ptc-title,div.is-plm-hub.sc-ptc-title h3.sc-ptc-title,div.is-plm-hub.sc-ptc-title h4.sc-ptc-title,div.is-plm-hub.sc-ptc-title h5.sc-ptc-title,div.is-plm-hub.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;color:var(--color-white)}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-flush.sc-ptc-title h1.sc-ptc-title,div.margin-flush.sc-ptc-title h2.sc-ptc-title,div.margin-flush.sc-ptc-title h3.sc-ptc-title,div.margin-flush.sc-ptc-title h4.sc-ptc-title,div.margin-flush.sc-ptc-title h5.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-5.sc-ptc-title h4.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}div.green.sc-ptc-title h1.sc-ptc-title,div.green.sc-ptc-title h2.sc-ptc-title,div.green.sc-ptc-title h3.sc-ptc-title,div.green.sc-ptc-title h4.sc-ptc-title,div.green.sc-ptc-title h5.sc-ptc-title,div.green.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-green-07)}div.blue.sc-ptc-title h1.sc-ptc-title,div.blue.sc-ptc-title h2.sc-ptc-title,div.blue.sc-ptc-title h3.sc-ptc-title,div.blue.sc-ptc-title h4.sc-ptc-title,div.blue.sc-ptc-title h5.sc-ptc-title,div.blue.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-blue-07)}div.red.sc-ptc-title h1.sc-ptc-title,div.red.sc-ptc-title h2.sc-ptc-title,div.red.sc-ptc-title h3.sc-ptc-title,div.red.sc-ptc-title h4.sc-ptc-title,div.red.sc-ptc-title h5.sc-ptc-title,div.red.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-red-07)}div.orange.sc-ptc-title h1.sc-ptc-title,div.orange.sc-ptc-title h2.sc-ptc-title,div.orange.sc-ptc-title h3.sc-ptc-title,div.orange.sc-ptc-title h4.sc-ptc-title,div.orange.sc-ptc-title h5.sc-ptc-title,div.orange.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-orange-07)}div.slate-grey.sc-ptc-title h1.sc-ptc-title,div.slate-grey.sc-ptc-title h2.sc-ptc-title,div.slate-grey.sc-ptc-title h3.sc-ptc-title,div.slate-grey.sc-ptc-title h4.sc-ptc-title,div.slate-grey.sc-ptc-title h5.sc-ptc-title,div.slate-grey.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-grey-07)}div.w-3.sc-ptc-title h1.sc-ptc-title,div.w-3.sc-ptc-title h2.sc-ptc-title,div.w-3.sc-ptc-title h3.sc-ptc-title,div.w-3.sc-ptc-title h4.sc-ptc-title,div.w-3.sc-ptc-title h5.sc-ptc-title,div.w-3.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-thin)}div.w-4.sc-ptc-title h1.sc-ptc-title,div.w-4.sc-ptc-title h2.sc-ptc-title,div.w-4.sc-ptc-title h3.sc-ptc-title,div.w-4.sc-ptc-title h4.sc-ptc-title,div.w-4.sc-ptc-title h5.sc-ptc-title,div.w-4.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-regular)}div.w-5.sc-ptc-title h1.sc-ptc-title,div.w-5.sc-ptc-title h2.sc-ptc-title,div.w-5.sc-ptc-title h3.sc-ptc-title,div.w-5.sc-ptc-title h4.sc-ptc-title,div.w-5.sc-ptc-title h5.sc-ptc-title,div.w-5.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-medium)}div.w-6.sc-ptc-title h1.sc-ptc-title,div.w-6.sc-ptc-title h2.sc-ptc-title,div.w-6.sc-ptc-title h3.sc-ptc-title,div.w-6.sc-ptc-title h4.sc-ptc-title,div.w-6.sc-ptc-title h5.sc-ptc-title,div.w-6.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-semibold)}div.w-7.sc-ptc-title h1.sc-ptc-title,div.w-7.sc-ptc-title h2.sc-ptc-title,div.w-7.sc-ptc-title h3.sc-ptc-title,div.w-7.sc-ptc-title h4.sc-ptc-title,div.w-7.sc-ptc-title h5.sc-ptc-title,div.w-7.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-bold)}div.w-8.sc-ptc-title h1.sc-ptc-title,div.w-8.sc-ptc-title h2.sc-ptc-title,div.w-8.sc-ptc-title h3.sc-ptc-title,div.w-8.sc-ptc-title h4.sc-ptc-title,div.w-8.sc-ptc-title h5.sc-ptc-title,div.w-8.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-extrabold)}div.w-9.sc-ptc-title h1.sc-ptc-title,div.w-9.sc-ptc-title h2.sc-ptc-title,div.w-9.sc-ptc-title h3.sc-ptc-title,div.w-9.sc-ptc-title h4.sc-ptc-title,div.w-9.sc-ptc-title h5.sc-ptc-title,div.w-9.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-black)}div.xx-small.sc-ptc-title h1.sc-ptc-title,div.xx-small.sc-ptc-title h2.sc-ptc-title,div.xx-small.sc-ptc-title h3.sc-ptc-title,div.xx-small.sc-ptc-title h4.sc-ptc-title,div.xx-small.sc-ptc-title h5.sc-ptc-title,div.xx-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-small)}div.x-small.sc-ptc-title h1.sc-ptc-title,div.x-small.sc-ptc-title h2.sc-ptc-title,div.x-small.sc-ptc-title h3.sc-ptc-title,div.x-small.sc-ptc-title h4.sc-ptc-title,div.x-small.sc-ptc-title h5.sc-ptc-title,div.x-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-small)}div.small.sc-ptc-title h1.sc-ptc-title,div.small.sc-ptc-title h2.sc-ptc-title,div.small.sc-ptc-title h3.sc-ptc-title,div.small.sc-ptc-title h4.sc-ptc-title,div.small.sc-ptc-title h5.sc-ptc-title,div.small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-small)}div.medium.sc-ptc-title h1.sc-ptc-title,div.medium.sc-ptc-title h2.sc-ptc-title,div.medium.sc-ptc-title h3.sc-ptc-title,div.medium.sc-ptc-title h4.sc-ptc-title,div.medium.sc-ptc-title h5.sc-ptc-title,div.medium.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-medium)}div.large.sc-ptc-title h1.sc-ptc-title,div.large.sc-ptc-title h2.sc-ptc-title,div.large.sc-ptc-title h3.sc-ptc-title,div.large.sc-ptc-title h4.sc-ptc-title,div.large.sc-ptc-title h5.sc-ptc-title,div.large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-large)}div.x-large.sc-ptc-title h1.sc-ptc-title,div.x-large.sc-ptc-title h2.sc-ptc-title,div.x-large.sc-ptc-title h3.sc-ptc-title,div.x-large.sc-ptc-title h4.sc-ptc-title,div.x-large.sc-ptc-title h5.sc-ptc-title,div.x-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}div.densest.sc-ptc-title h1.sc-ptc-title,div.densest.sc-ptc-title h2.sc-ptc-title,div.densest.sc-ptc-title h3.sc-ptc-title,div.densest.sc-ptc-title h4.sc-ptc-title,div.densest.sc-ptc-title h5.sc-ptc-title,div.densest.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-densest)}div.denser.sc-ptc-title h1.sc-ptc-title,div.denser.sc-ptc-title h2.sc-ptc-title,div.denser.sc-ptc-title h3.sc-ptc-title,div.denser.sc-ptc-title h4.sc-ptc-title,div.denser.sc-ptc-title h5.sc-ptc-title,div.denser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-denser)}div.dense.sc-ptc-title h1.sc-ptc-title,div.dense.sc-ptc-title h2.sc-ptc-title,div.dense.sc-ptc-title h3.sc-ptc-title,div.dense.sc-ptc-title h4.sc-ptc-title,div.dense.sc-ptc-title h5.sc-ptc-title,div.dense.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-dense)}div.normal.sc-ptc-title h1.sc-ptc-title,div.normal.sc-ptc-title h2.sc-ptc-title,div.normal.sc-ptc-title h3.sc-ptc-title,div.normal.sc-ptc-title h4.sc-ptc-title,div.normal.sc-ptc-title h5.sc-ptc-title,div.normal.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-normal)}div.loose.sc-ptc-title h1.sc-ptc-title,div.loose.sc-ptc-title h2.sc-ptc-title,div.loose.sc-ptc-title h3.sc-ptc-title,div.loose.sc-ptc-title h4.sc-ptc-title,div.loose.sc-ptc-title h5.sc-ptc-title,div.loose.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-loose)}div.looser.sc-ptc-title h1.sc-ptc-title,div.looser.sc-ptc-title h2.sc-ptc-title,div.looser.sc-ptc-title h3.sc-ptc-title,div.looser.sc-ptc-title h4.sc-ptc-title,div.looser.sc-ptc-title h5.sc-ptc-title,div.looser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-looser)}div.paragraph.sc-ptc-title h1.sc-ptc-title,div.paragraph.sc-ptc-title h2.sc-ptc-title,div.paragraph.sc-ptc-title h3.sc-ptc-title,div.paragraph.sc-ptc-title h4.sc-ptc-title,div.paragraph.sc-ptc-title h5.sc-ptc-title,div.paragraph.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-paragraph)}";
696
724
 
697
- let PtcTitle = class {
698
- constructor(hostRef) {
699
- index.registerInstance(this, hostRef);
700
- /**
701
- * Is this title using on the PLM Hub page
702
- */
703
- this.isPlmHub = false;
704
- /**
705
- * Title Tag Type
706
- */
707
- this.type = 'h2';
708
- /**
709
- * Upperline Style
710
- */
711
- this.upperline = 'dotted';
712
- /**
713
- * Title line height
714
- */
715
- this.titleHeight = 'paragraph';
716
- }
717
- render() {
718
- const classMap = this.getCssClassMap();
719
- let TagType;
720
- switch (this.type) {
721
- case 'h1':
722
- TagType = 'h1';
723
- break;
724
- case 'h3':
725
- TagType = 'h3';
726
- break;
727
- case 'h4':
728
- TagType = 'h4';
729
- break;
730
- case 'h5':
731
- TagType = 'h5';
732
- break;
733
- case 'h6':
734
- TagType = 'h6';
735
- break;
736
- default:
737
- TagType = 'h2';
738
- }
739
- return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, null, index.h("slot", null)))));
740
- }
741
- getCssClassMap() {
742
- return {
743
- [this.textAlign]: !!this.textAlign ? true : false,
744
- [this.upperline]: true,
745
- [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
746
- [this.titleMargin]: !!this.titleMargin ? true : false,
747
- [this.titleShadow]: !!this.titleShadow ? true : false,
748
- [this.titleWeight]: !!this.titleWeight ? true : false,
749
- [this.titleSize]: !!this.titleSize ? true : false,
750
- [this.titleHeight]: !!this.titleHeight ? true : false
751
- };
752
- }
753
- };
725
+ let PtcTitle = class {
726
+ constructor(hostRef) {
727
+ index.registerInstance(this, hostRef);
728
+ /**
729
+ * Is this title using on the PLM Hub page
730
+ */
731
+ this.isPlmHub = false;
732
+ /**
733
+ * Title Tag Type
734
+ */
735
+ this.type = 'h2';
736
+ /**
737
+ * Upperline Style
738
+ */
739
+ this.upperline = 'dotted';
740
+ /**
741
+ * Title line height
742
+ */
743
+ this.titleHeight = 'paragraph';
744
+ }
745
+ render() {
746
+ const classMap = this.getCssClassMap();
747
+ let TagType;
748
+ switch (this.type) {
749
+ case 'h1':
750
+ TagType = 'h1';
751
+ break;
752
+ case 'h3':
753
+ TagType = 'h3';
754
+ break;
755
+ case 'h4':
756
+ TagType = 'h4';
757
+ break;
758
+ case 'h5':
759
+ TagType = 'h5';
760
+ break;
761
+ case 'h6':
762
+ TagType = 'h6';
763
+ break;
764
+ default:
765
+ TagType = 'h2';
766
+ }
767
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, null, index.h("slot", null)))));
768
+ }
769
+ getCssClassMap() {
770
+ return {
771
+ [this.textAlign]: !!this.textAlign ? true : false,
772
+ [this.upperline]: true,
773
+ [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
774
+ [this.titleMargin]: !!this.titleMargin ? true : false,
775
+ [this.titleShadow]: !!this.titleShadow ? true : false,
776
+ [this.titleWeight]: !!this.titleWeight ? true : false,
777
+ [this.titleSize]: !!this.titleSize ? true : false,
778
+ [this.titleHeight]: !!this.titleHeight ? true : false
779
+ };
780
+ }
781
+ };
754
782
  PtcTitle.style = ptcTitleCss;
755
783
 
756
784
  exports.icon_asset = IconAsset;