@ptcwebops/ptcw-design 3.1.1 → 3.1.2

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 (590) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/author-listing-example.cjs.entry.js +232 -232
  3. package/dist/cjs/bundle-example.cjs.entry.js +43 -43
  4. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +39 -39
  5. package/dist/cjs/dropdown-item.cjs.entry.js +10 -10
  6. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +25 -25
  7. package/dist/cjs/embedded-form_9.cjs.entry.js +1307 -1307
  8. package/dist/cjs/featured-list.cjs.entry.js +90 -90
  9. package/dist/cjs/fl-tab-content_3.cjs.entry.js +44 -44
  10. package/dist/cjs/footer-form.cjs.entry.js +55 -55
  11. package/dist/cjs/icon-asset.cjs.entry.js +42 -42
  12. package/dist/cjs/innovator-toggle-container.cjs.entry.js +21 -21
  13. package/dist/cjs/{interfaces-574e6df7.js → interfaces-0ecd8027.js} +9 -9
  14. package/dist/cjs/list-item.cjs.entry.js +23 -23
  15. package/dist/cjs/loader.cjs.js +1 -1
  16. package/dist/cjs/my-component.cjs.entry.js +15 -15
  17. package/dist/cjs/ptc-accordion-item.cjs.entry.js +84 -84
  18. package/dist/cjs/ptc-accordion.cjs.entry.js +39 -39
  19. package/dist/cjs/ptc-announcement.cjs.entry.js +52 -52
  20. package/dist/cjs/ptc-back-to-top.cjs.entry.js +71 -71
  21. package/dist/cjs/ptc-background-video.cjs.entry.js +57 -57
  22. package/dist/cjs/ptc-bio-card.cjs.entry.js +24 -24
  23. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +132 -132
  24. package/dist/cjs/ptc-brightcov-video.cjs.entry.js +46 -46
  25. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +130 -130
  26. package/dist/cjs/ptc-card-content.cjs.entry.js +57 -57
  27. package/dist/cjs/ptc-card.cjs.entry.js +74 -74
  28. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +77 -77
  29. package/dist/cjs/ptc-checkbox.cjs.entry.js +50 -50
  30. package/dist/cjs/ptc-collapse-list.cjs.entry.js +397 -397
  31. package/dist/cjs/ptc-container.cjs.entry.js +33 -33
  32. package/dist/cjs/ptc-date.cjs.entry.js +50 -50
  33. package/dist/cjs/ptc-dropdown.cjs.entry.js +64 -64
  34. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +48 -48
  35. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +46 -46
  36. package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +89 -89
  37. package/dist/cjs/ptc-featured-list.cjs.entry.js +95 -95
  38. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +268 -268
  39. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +66 -66
  40. package/dist/cjs/ptc-filter-tag.cjs.entry.js +57 -57
  41. package/dist/cjs/ptc-form.cjs.entry.js +78 -78
  42. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +11 -11
  43. package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
  44. package/dist/cjs/ptc-icon-component.cjs.entry.js +60 -60
  45. package/dist/cjs/ptc-icon-list.cjs.entry.js +21 -21
  46. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +43 -43
  47. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +18 -18
  48. package/dist/cjs/ptc-img.cjs.entry.js +122 -122
  49. package/dist/cjs/ptc-link.cjs.entry.js +48 -48
  50. package/dist/cjs/ptc-list.cjs.entry.js +49 -49
  51. package/dist/cjs/ptc-media-card.cjs.entry.js +58 -58
  52. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +12 -12
  53. package/dist/cjs/ptc-mobile-select.cjs.entry.js +62 -62
  54. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +115 -115
  55. package/dist/cjs/ptc-modal.cjs.entry.js +159 -151
  56. package/dist/cjs/ptc-nav-card.cjs.entry.js +36 -36
  57. package/dist/cjs/ptc-nav-link.cjs.entry.js +36 -36
  58. package/dist/cjs/ptc-nav-pills.cjs.entry.js +8 -8
  59. package/dist/cjs/ptc-nav-slider.cjs.entry.js +90 -90
  60. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +37 -37
  61. package/dist/cjs/ptc-news.cjs.entry.js +24 -24
  62. package/dist/cjs/ptc-overlay.cjs.entry.js +23 -23
  63. package/dist/cjs/ptc-pagenation.cjs.entry.js +306 -306
  64. package/dist/cjs/ptc-para.cjs.entry.js +51 -51
  65. package/dist/cjs/ptc-picture.cjs.entry.js +152 -152
  66. package/dist/cjs/ptc-podcast-card.cjs.entry.js +11 -11
  67. package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -11
  68. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +17 -17
  69. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +38 -38
  70. package/dist/cjs/ptc-pricing-block.cjs.entry.js +20 -20
  71. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +359 -359
  72. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +124 -124
  73. package/dist/cjs/ptc-product-card.cjs.entry.js +22 -22
  74. package/dist/cjs/ptc-product-category.cjs.entry.js +10 -10
  75. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +69 -69
  76. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +12 -12
  77. package/dist/cjs/ptc-product-list.cjs.entry.js +140 -140
  78. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +128 -128
  79. package/dist/cjs/ptc-progress-bar.cjs.entry.js +16 -16
  80. package/dist/cjs/ptc-quote.cjs.entry.js +24 -24
  81. package/dist/cjs/ptc-readmore-char.cjs.entry.js +24 -24
  82. package/dist/cjs/ptc-readmore.cjs.entry.js +82 -82
  83. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +149 -149
  84. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
  85. package/dist/cjs/ptc-search-field.cjs.entry.js +71 -71
  86. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +50 -50
  87. package/dist/cjs/ptc-slit-card.cjs.entry.js +25 -25
  88. package/dist/cjs/ptc-span.cjs.entry.js +20 -20
  89. package/dist/cjs/ptc-square-card.cjs.entry.js +10 -10
  90. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +32 -32
  91. package/dist/cjs/ptc-sticky-section.cjs.entry.js +30 -30
  92. package/dist/cjs/ptc-sticky-title.cjs.entry.js +23 -23
  93. package/dist/cjs/ptc-subnav-card.cjs.entry.js +16 -16
  94. package/dist/cjs/ptc-subnav.cjs.entry.js +25 -25
  95. package/dist/cjs/ptc-svg-btn.cjs.entry.js +95 -95
  96. package/dist/cjs/ptc-tab-list.cjs.entry.js +143 -143
  97. package/dist/cjs/ptc-tab.cjs.entry.js +20 -20
  98. package/dist/cjs/ptc-tabs.cjs.entry.js +47 -47
  99. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +43 -43
  100. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +81 -81
  101. package/dist/cjs/ptc-tooltip.cjs.entry.js +95 -95
  102. package/dist/cjs/ptc-two-column-media.cjs.entry.js +15 -15
  103. package/dist/cjs/ptc-value-led-card.cjs.entry.js +10 -10
  104. package/dist/cjs/ptc-value-led-content-highlight.cjs.entry.js +8 -8
  105. package/dist/cjs/ptc-value-led-content.cjs.entry.js +8 -8
  106. package/dist/cjs/ptc-value-led-intro.cjs.entry.js +9 -9
  107. package/dist/cjs/ptc-value-led-layout.cjs.entry.js +104 -104
  108. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +21 -21
  109. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +13 -13
  110. package/dist/cjs/ptcw-design.cjs.js +1 -1
  111. package/dist/cjs/sequential-bundle-example.cjs.entry.js +108 -108
  112. package/dist/cjs/sequential-bundle.cjs.entry.js +88 -88
  113. package/dist/cjs/tab-content.cjs.entry.js +27 -27
  114. package/dist/cjs/tab-header.cjs.entry.js +65 -65
  115. package/dist/cjs/{utils-303ff81a.js → utils-9fb37c6b.js} +88 -88
  116. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  117. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
  118. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  119. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  120. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  121. package/dist/collection/components/icon-asset/media/designer.svg +489 -489
  122. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  123. package/dist/collection/components/icon-asset/media/solid.svg +3016 -3016
  124. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  125. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
  126. package/dist/collection/components/list-item/list-item.js +163 -163
  127. package/dist/collection/components/max-width-container/max-width-container.css +11 -11
  128. package/dist/collection/components/max-width-container/max-width-container.js +146 -146
  129. package/dist/collection/components/my-component/my-component.css +3 -3
  130. package/dist/collection/components/my-component/my-component.js +82 -82
  131. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +69 -69
  132. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +282 -282
  133. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
  134. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +79 -79
  135. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +219 -219
  136. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +122 -122
  137. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
  138. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
  139. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +120 -120
  140. package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +72 -72
  141. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.css +13 -13
  142. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +94 -94
  143. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
  144. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +90 -90
  145. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
  146. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +306 -306
  147. package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
  148. package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
  149. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +97 -97
  150. package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
  151. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +130 -130
  152. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +105 -105
  153. package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +79 -79
  154. package/dist/collection/components/ptc-button/ptc-button.js +323 -323
  155. package/dist/collection/components/ptc-card/ptc-card.js +439 -439
  156. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  157. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
  158. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +253 -253
  159. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
  160. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
  161. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
  162. package/dist/collection/components/ptc-container/ptc-container.js +138 -138
  163. package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +381 -381
  164. package/dist/collection/components/ptc-date/ptc-date.js +224 -224
  165. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  166. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  167. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +192 -192
  168. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
  169. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +146 -146
  170. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
  171. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +114 -114
  172. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
  173. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +128 -128
  174. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +134 -134
  175. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +124 -124
  176. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  177. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +230 -230
  178. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  179. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  180. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
  181. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  182. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +119 -119
  183. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
  184. package/dist/collection/components/ptc-img/ptc-img.js +311 -311
  185. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +355 -355
  186. package/dist/collection/components/ptc-link/ptc-link.js +239 -239
  187. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  188. package/dist/collection/components/ptc-media-card/ptc-media-card.js +240 -240
  189. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
  190. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +199 -199
  191. package/dist/collection/components/ptc-modal/ptc-modal.css +5 -0
  192. package/dist/collection/components/ptc-modal/ptc-modal.js +433 -407
  193. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +191 -191
  194. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
  195. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
  196. package/dist/collection/components/ptc-news/ptc-news.js +176 -176
  197. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  198. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
  199. package/dist/collection/components/ptc-para/ptc-para.js +242 -242
  200. package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
  201. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
  202. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  203. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +139 -139
  204. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +75 -75
  205. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  206. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +501 -501
  207. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
  208. package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
  209. package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
  210. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
  211. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
  212. package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
  213. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
  214. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
  215. package/dist/collection/components/ptc-quote/ptc-quote.js +145 -145
  216. package/dist/collection/components/ptc-readmore/ptc-readmore.js +326 -326
  217. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
  218. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +190 -190
  219. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  220. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  221. package/dist/collection/components/ptc-search-field/ptc-search-field.js +247 -247
  222. package/dist/collection/components/ptc-select/ptc-select.js +519 -519
  223. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  224. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  225. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
  226. package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
  227. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  228. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  229. package/dist/collection/components/ptc-span/ptc-span.js +107 -107
  230. package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
  231. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  232. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
  233. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
  234. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  235. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +214 -214
  236. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  237. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  238. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +199 -199
  239. package/dist/collection/components/ptc-textfield/ptc-textfield.js +438 -438
  240. package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +181 -181
  241. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +128 -128
  242. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +165 -165
  243. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  244. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +342 -342
  245. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  246. package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.js +60 -60
  247. package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +18 -18
  248. package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +18 -18
  249. package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.js +42 -42
  250. package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +157 -157
  251. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +97 -97
  252. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +117 -117
  253. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +131 -131
  254. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
  255. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
  256. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +2 -2
  257. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +78 -78
  258. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +151 -151
  259. package/dist/collection/components/tab-content/tab-content.js +84 -84
  260. package/dist/collection/components/tab-header/tab-header.js +183 -183
  261. package/dist/collection/index.js +1 -1
  262. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  263. package/dist/collection/media/svg-imgs/close.svg +10 -10
  264. package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
  265. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  266. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  267. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  268. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  269. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  270. package/dist/collection/media/svg-imgs/union.svg +3 -3
  271. package/dist/collection/stories/Accordian.stories.js +205 -205
  272. package/dist/collection/stories/Announcement.stories.js +64 -64
  273. package/dist/collection/stories/BackgroundImage.stories.js +81 -81
  274. package/dist/collection/stories/Breadcrumb.stories.js +50 -50
  275. package/dist/collection/stories/Button.stories.js +119 -119
  276. package/dist/collection/stories/Card.stories.js +234 -234
  277. package/dist/collection/stories/CardWrapper.stories.js +270 -270
  278. package/dist/collection/stories/Checkbox.stories.js +52 -52
  279. package/dist/collection/stories/Date.stories.js +81 -81
  280. package/dist/collection/stories/Dropdown.stories.js +48 -48
  281. package/dist/collection/stories/DynamicCard.stories.js +68 -68
  282. package/dist/collection/stories/FilterTag.stories.js +73 -73
  283. package/dist/collection/stories/FormCheckbox.stories.js +57 -57
  284. package/dist/collection/stories/Hero.stories.js +119 -119
  285. package/dist/collection/stories/Icon.stories.js +71 -71
  286. package/dist/collection/stories/IconList.stories.js +114 -114
  287. package/dist/collection/stories/IconMinimize.stories.js +40 -40
  288. package/dist/collection/stories/Link.stories.js +101 -101
  289. package/dist/collection/stories/ListItem.stories.js +59 -59
  290. package/dist/collection/stories/MaxWidthContainer.stories.js +45 -45
  291. package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
  292. package/dist/collection/stories/MobileSelect.stories.js +79 -79
  293. package/dist/collection/stories/Modal.stories.js +105 -105
  294. package/dist/collection/stories/Overlay.stories.js +48 -48
  295. package/dist/collection/stories/Pagination.stories.js +101 -101
  296. package/dist/collection/stories/Paragraph.stories.js +95 -95
  297. package/dist/collection/stories/Picture.stories.js +139 -139
  298. package/dist/collection/stories/Quote.stories.js +107 -107
  299. package/dist/collection/stories/ReadMore.stories.js +100 -100
  300. package/dist/collection/stories/Select.stories.js +81 -81
  301. package/dist/collection/stories/SocialShare.stories.js +66 -66
  302. package/dist/collection/stories/Spacer.stories.js +48 -48
  303. package/dist/collection/stories/Span.stories.js +57 -57
  304. package/dist/collection/stories/SvgButton.stories.js +34 -34
  305. package/dist/collection/stories/Tabs.stories.js +213 -213
  306. package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
  307. package/dist/collection/stories/Textfield.stories.js +81 -81
  308. package/dist/collection/stories/Title.stories.js +115 -115
  309. package/dist/collection/stories/Tooltip.stories.js +112 -112
  310. package/dist/collection/utils/component.js +3 -3
  311. package/dist/collection/utils/elq-lib.js +404 -404
  312. package/dist/collection/utils/interfaces.js +11 -11
  313. package/dist/collection/utils/utils.js +94 -94
  314. package/dist/collection/utils/validation-messages.js +13 -13
  315. package/dist/custom-elements/index.js +8654 -8646
  316. package/dist/esm/author-listing-example.entry.js +232 -232
  317. package/dist/esm/bundle-example.entry.js +43 -43
  318. package/dist/esm/bundle-jumbotron-example.entry.js +39 -39
  319. package/dist/esm/dropdown-item.entry.js +10 -10
  320. package/dist/esm/dynamic-box-bundle.entry.js +25 -25
  321. package/dist/esm/embedded-form_9.entry.js +1307 -1307
  322. package/dist/esm/featured-list.entry.js +90 -90
  323. package/dist/esm/fl-tab-content_3.entry.js +44 -44
  324. package/dist/esm/footer-form.entry.js +55 -55
  325. package/dist/esm/icon-asset.entry.js +42 -42
  326. package/dist/esm/innovator-toggle-container.entry.js +21 -21
  327. package/dist/esm/{interfaces-4caedd26.js → interfaces-3cb94654.js} +9 -9
  328. package/dist/esm/list-item.entry.js +23 -23
  329. package/dist/esm/loader.js +1 -1
  330. package/dist/esm/my-component.entry.js +15 -15
  331. package/dist/esm/polyfills/core-js.js +0 -0
  332. package/dist/esm/polyfills/dom.js +0 -0
  333. package/dist/esm/polyfills/es5-html-element.js +0 -0
  334. package/dist/esm/polyfills/index.js +0 -0
  335. package/dist/esm/polyfills/system.js +0 -0
  336. package/dist/esm/ptc-accordion-item.entry.js +84 -84
  337. package/dist/esm/ptc-accordion.entry.js +39 -39
  338. package/dist/esm/ptc-announcement.entry.js +52 -52
  339. package/dist/esm/ptc-back-to-top.entry.js +71 -71
  340. package/dist/esm/ptc-background-video.entry.js +57 -57
  341. package/dist/esm/ptc-bio-card.entry.js +24 -24
  342. package/dist/esm/ptc-breadcrumb_2.entry.js +132 -132
  343. package/dist/esm/ptc-brightcov-video.entry.js +46 -46
  344. package/dist/esm/ptc-card-bottom_3.entry.js +130 -130
  345. package/dist/esm/ptc-card-content.entry.js +57 -57
  346. package/dist/esm/ptc-card.entry.js +74 -74
  347. package/dist/esm/ptc-case-studies-slider.entry.js +77 -77
  348. package/dist/esm/ptc-checkbox.entry.js +50 -50
  349. package/dist/esm/ptc-collapse-list.entry.js +397 -397
  350. package/dist/esm/ptc-container.entry.js +33 -33
  351. package/dist/esm/ptc-date.entry.js +50 -50
  352. package/dist/esm/ptc-dropdown.entry.js +64 -64
  353. package/dist/esm/ptc-dynamic-card.entry.js +48 -48
  354. package/dist/esm/ptc-ellipsis-dropdown.entry.js +46 -46
  355. package/dist/esm/ptc-embedded-quiz.entry.js +89 -89
  356. package/dist/esm/ptc-featured-list.entry.js +95 -95
  357. package/dist/esm/ptc-filter-dropdown_4.entry.js +268 -268
  358. package/dist/esm/ptc-filter-level-theater.entry.js +66 -66
  359. package/dist/esm/ptc-filter-tag.entry.js +57 -57
  360. package/dist/esm/ptc-form.entry.js +78 -78
  361. package/dist/esm/ptc-hero-footer-cta.entry.js +11 -11
  362. package/dist/esm/ptc-hero.entry.js +18 -18
  363. package/dist/esm/ptc-icon-component.entry.js +60 -60
  364. package/dist/esm/ptc-icon-list.entry.js +21 -21
  365. package/dist/esm/ptc-icon-minimize.entry.js +43 -43
  366. package/dist/esm/ptc-image-download-strip.entry.js +18 -18
  367. package/dist/esm/ptc-img.entry.js +122 -122
  368. package/dist/esm/ptc-link.entry.js +48 -48
  369. package/dist/esm/ptc-list.entry.js +49 -49
  370. package/dist/esm/ptc-media-card.entry.js +58 -58
  371. package/dist/esm/ptc-minimized-nav.entry.js +12 -12
  372. package/dist/esm/ptc-mobile-select.entry.js +62 -62
  373. package/dist/esm/ptc-modal-quiz.entry.js +115 -115
  374. package/dist/esm/ptc-modal.entry.js +159 -151
  375. package/dist/esm/ptc-nav-card.entry.js +36 -36
  376. package/dist/esm/ptc-nav-link.entry.js +36 -36
  377. package/dist/esm/ptc-nav-pills.entry.js +8 -8
  378. package/dist/esm/ptc-nav-slider.entry.js +90 -90
  379. package/dist/esm/ptc-nav-submenu.entry.js +37 -37
  380. package/dist/esm/ptc-news.entry.js +24 -24
  381. package/dist/esm/ptc-overlay.entry.js +23 -23
  382. package/dist/esm/ptc-pagenation.entry.js +306 -306
  383. package/dist/esm/ptc-para.entry.js +51 -51
  384. package/dist/esm/ptc-picture.entry.js +152 -152
  385. package/dist/esm/ptc-podcast-card.entry.js +11 -11
  386. package/dist/esm/ptc-previous-url.entry.js +11 -11
  387. package/dist/esm/ptc-pricing-add-on-card.entry.js +17 -17
  388. package/dist/esm/ptc-pricing-add-on-section.entry.js +38 -38
  389. package/dist/esm/ptc-pricing-block.entry.js +20 -20
  390. package/dist/esm/ptc-pricing-packaging-table.entry.js +359 -359
  391. package/dist/esm/ptc-pricing-tabs.entry.js +124 -124
  392. package/dist/esm/ptc-product-card.entry.js +22 -22
  393. package/dist/esm/ptc-product-category.entry.js +10 -10
  394. package/dist/esm/ptc-product-dropdown.entry.js +69 -69
  395. package/dist/esm/ptc-product-highlight-card.entry.js +12 -12
  396. package/dist/esm/ptc-product-list.entry.js +140 -140
  397. package/dist/esm/ptc-product-sidebar.entry.js +128 -128
  398. package/dist/esm/ptc-progress-bar.entry.js +16 -16
  399. package/dist/esm/ptc-quote.entry.js +24 -24
  400. package/dist/esm/ptc-readmore-char.entry.js +24 -24
  401. package/dist/esm/ptc-readmore.entry.js +82 -82
  402. package/dist/esm/ptc-related-card-rail.entry.js +149 -149
  403. package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
  404. package/dist/esm/ptc-search-field.entry.js +71 -71
  405. package/dist/esm/ptc-shopping-cart.entry.js +50 -50
  406. package/dist/esm/ptc-slit-card.entry.js +25 -25
  407. package/dist/esm/ptc-span.entry.js +20 -20
  408. package/dist/esm/ptc-square-card.entry.js +10 -10
  409. package/dist/esm/ptc-sticky-icons.entry.js +32 -32
  410. package/dist/esm/ptc-sticky-section.entry.js +30 -30
  411. package/dist/esm/ptc-sticky-title.entry.js +23 -23
  412. package/dist/esm/ptc-subnav-card.entry.js +16 -16
  413. package/dist/esm/ptc-subnav.entry.js +25 -25
  414. package/dist/esm/ptc-svg-btn.entry.js +95 -95
  415. package/dist/esm/ptc-tab-list.entry.js +143 -143
  416. package/dist/esm/ptc-tab.entry.js +20 -20
  417. package/dist/esm/ptc-tabs.entry.js +47 -47
  418. package/dist/esm/ptc-text-copy-with-background.entry.js +43 -43
  419. package/dist/esm/ptc-theater-video-modal.entry.js +81 -81
  420. package/dist/esm/ptc-tooltip.entry.js +95 -95
  421. package/dist/esm/ptc-two-column-media.entry.js +15 -15
  422. package/dist/esm/ptc-value-led-card.entry.js +10 -10
  423. package/dist/esm/ptc-value-led-content-highlight.entry.js +8 -8
  424. package/dist/esm/ptc-value-led-content.entry.js +8 -8
  425. package/dist/esm/ptc-value-led-intro.entry.js +9 -9
  426. package/dist/esm/ptc-value-led-layout.entry.js +104 -104
  427. package/dist/esm/ptc-value-led-speed-bump.entry.js +21 -21
  428. package/dist/esm/ptc-value-prop-card.entry.js +13 -13
  429. package/dist/esm/ptcw-design.js +1 -1
  430. package/dist/esm/sequential-bundle-example.entry.js +108 -108
  431. package/dist/esm/sequential-bundle.entry.js +88 -88
  432. package/dist/esm/tab-content.entry.js +27 -27
  433. package/dist/esm/tab-header.entry.js +65 -65
  434. package/dist/esm/{utils-73b84270.js → utils-d756bf27.js} +88 -88
  435. package/dist/ptcw-design/media/brands.svg +1381 -1381
  436. package/dist/ptcw-design/media/designer.svg +489 -489
  437. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  438. package/dist/ptcw-design/media/regular.svg +463 -463
  439. package/dist/ptcw-design/media/solid.svg +3016 -3016
  440. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  441. package/dist/ptcw-design/{p-1dfdbec1.entry.js → p-2c4ad324.entry.js} +1 -1
  442. package/dist/ptcw-design/{p-f5de345b.entry.js → p-37ee03ed.entry.js} +1 -1
  443. package/dist/ptcw-design/{p-46e3abad.entry.js → p-6ec80150.entry.js} +1 -1
  444. package/dist/ptcw-design/p-8c3cdc5a.entry.js +1 -0
  445. package/dist/ptcw-design/p-95cc32a1.entry.js +1 -0
  446. package/dist/ptcw-design/{p-0099a6fc.entry.js → p-a12676e4.entry.js} +1 -1
  447. package/dist/ptcw-design/{p-2c6cce6c.entry.js → p-a5716559.entry.js} +1 -1
  448. package/dist/ptcw-design/{p-7a8726da.entry.js → p-af91e74f.entry.js} +1 -1
  449. package/dist/ptcw-design/{p-4d0920e7.entry.js → p-fa6843bf.entry.js} +1 -1
  450. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  451. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  452. package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
  453. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  454. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
  455. package/dist/types/components/list-item/list-item.d.ts +17 -17
  456. package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
  457. package/dist/types/components/my-component/my-component.d.ts +16 -16
  458. package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -12
  459. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +14 -14
  460. package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
  461. package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
  462. package/dist/types/components/organism-bundles/form/embedded-form/embedded-form.d.ts +31 -31
  463. package/dist/types/components/organism-bundles/form/footer-form/footer-form.d.ts +14 -14
  464. package/dist/types/components/organism-bundles/form/ptc-form/ptc-form.d.ts +25 -25
  465. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
  466. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
  467. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +63 -63
  468. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
  469. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
  470. package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +10 -10
  471. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
  472. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +27 -27
  473. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +20 -20
  474. package/dist/types/components/ptc-brightcov-video/ptc-brightcov-video.d.ts +6 -6
  475. package/dist/types/components/ptc-button/ptc-button.d.ts +68 -68
  476. package/dist/types/components/ptc-card/ptc-card.d.ts +84 -84
  477. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  478. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
  479. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +30 -30
  480. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
  481. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
  482. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
  483. package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
  484. package/dist/types/components/ptc-data-lookup/ptc-data-lookup.d.ts +27 -27
  485. package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
  486. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  487. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +27 -27
  488. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
  489. package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +21 -21
  490. package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
  491. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +12 -12
  492. package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
  493. package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
  494. package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +24 -24
  495. package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +17 -17
  496. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  497. package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +21 -21
  498. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  499. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  500. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
  501. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  502. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +12 -12
  503. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
  504. package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
  505. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +26 -26
  506. package/dist/types/components/ptc-link/ptc-link.d.ts +44 -44
  507. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  508. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
  509. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
  510. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  511. package/dist/types/components/ptc-modal/ptc-modal.d.ts +76 -71
  512. package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +36 -36
  513. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  514. package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
  515. package/dist/types/components/ptc-news/ptc-news.d.ts +36 -36
  516. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  517. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
  518. package/dist/types/components/ptc-para/ptc-para.d.ts +47 -47
  519. package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
  520. package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +15 -15
  521. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  522. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +31 -31
  523. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +22 -22
  524. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  525. package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +87 -87
  526. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
  527. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
  528. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
  529. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
  530. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
  531. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
  532. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
  533. package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
  534. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  535. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +58 -58
  536. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
  537. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +30 -30
  538. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  539. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +23 -23
  540. package/dist/types/components/ptc-select/ptc-select.d.ts +25 -25
  541. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  542. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  543. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
  544. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
  545. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  546. package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
  547. package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
  548. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  549. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
  550. package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
  551. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  552. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +23 -23
  553. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  554. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  555. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +38 -38
  556. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +30 -30
  557. package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +14 -14
  558. package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +16 -16
  559. package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +26 -26
  560. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  561. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +59 -59
  562. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  563. package/dist/types/components/ptc-value-led-card/ptc-value-led-card.d.ts +5 -5
  564. package/dist/types/components/ptc-value-led-content/ptc-value-led-content.d.ts +3 -3
  565. package/dist/types/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.d.ts +3 -3
  566. package/dist/types/components/ptc-value-led-intro/ptc-value-led-intro.d.ts +4 -4
  567. package/dist/types/components/ptc-value-led-layout/ptc-value-led-layout.d.ts +16 -16
  568. package/dist/types/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.d.ts +10 -10
  569. package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +23 -23
  570. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +26 -26
  571. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
  572. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
  573. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +11 -11
  574. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +31 -31
  575. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  576. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  577. package/dist/types/components.d.ts +194 -186
  578. package/dist/types/index.d.ts +1 -1
  579. package/dist/types/utils/component.d.ts +1 -1
  580. package/dist/types/utils/eloqua.d.ts +8 -8
  581. package/dist/types/utils/elq-lib.d.ts +55 -55
  582. package/dist/types/utils/interfaces.d.ts +32 -32
  583. package/dist/types/utils/utils.d.ts +6 -6
  584. package/dist/types/utils/validation-messages.d.ts +13 -13
  585. package/package.json +88 -88
  586. package/readme.md +19 -19
  587. package/dist/ptcw-design/p-18a51b46.entry.js +0 -1
  588. package/dist/ptcw-design/p-66a121a7.entry.js +0 -1
  589. /package/dist/ptcw-design/{p-711bcdad.js → p-240733ce.js} +0 -0
  590. /package/dist/ptcw-design/{p-17df5a0c.js → p-d39f84e0.js} +0 -0
@@ -1,519 +1,519 @@
1
- import { h, Host } from '@stencil/core';
2
- import { MDCSelect } from '@material/select';
3
- // import { MDCSelectHelperText } from '@material/select/helper-text';
4
- export class PtcSelect {
5
- constructor() {
6
- this.map = {
7
- 'Afghanistan': 'AF',
8
- 'Albania': 'AL',
9
- 'Algeria': 'DZ',
10
- 'American Samoa': 'AS',
11
- 'Andorra': 'AD',
12
- 'Angola': 'AO',
13
- 'Anguilla': 'AI',
14
- 'Antarctica': 'AQ',
15
- 'Antigua and Barbuda': 'AG',
16
- 'Argentina': 'AR',
17
- 'Armenia': 'AM',
18
- 'Aruba': 'AW',
19
- 'Australia': 'AU',
20
- 'Austria': 'AT',
21
- 'Azerbaijan': 'AZ',
22
- 'Bahamas': 'BS',
23
- 'Bahrain': 'BH',
24
- 'Bangladesh': 'BD',
25
- 'Barbados': 'BB',
26
- 'Belarus': 'BY',
27
- 'Belgium': 'BE',
28
- 'Belize': 'BZ',
29
- 'Benin': 'BJ',
30
- 'Bermuda': 'BM',
31
- 'Bhutan': 'BT',
32
- 'Bolivia': 'BO',
33
- 'Bosnia and Herzegovina': 'BA',
34
- 'Botswana': 'BW',
35
- 'Bouvet Island': 'BV',
36
- 'Brazil': 'BR',
37
- 'British Indian Ocean Territory': 'IO',
38
- 'Brunei Darussalam': 'BN',
39
- 'Bulgaria': 'BG',
40
- 'Burkina Faso': 'BF',
41
- 'Burundi': 'BI',
42
- 'Cambodia': 'KH',
43
- 'Cameroon': 'CM',
44
- 'Canada': 'CA',
45
- 'Cape Verde': 'CV',
46
- 'Cayman Islands': 'KY',
47
- 'Central African Republic': 'CF',
48
- 'Chad': 'TD',
49
- 'Chile': 'CL',
50
- 'China': 'CN',
51
- 'Christmas Island': 'CX',
52
- 'Cocos (Keeling) Islands': 'CC',
53
- 'Colombia': 'CO',
54
- 'Comoros': 'KM',
55
- 'Congo': 'CG',
56
- 'Congo, Democratic Republic': 'CD',
57
- 'Cook Islands': 'CK',
58
- 'Costa Rica': 'CR',
59
- 'Cote d ivoire': 'CI',
60
- 'Croatia': 'HR',
61
- 'Cuba': 'CU',
62
- 'Cyprus': 'CY',
63
- 'Czech Republic': 'CZ',
64
- 'Denmark': 'DK',
65
- 'Djibouti': 'DJ',
66
- 'Dominica': 'DM',
67
- 'Dominican Republic': 'DO',
68
- 'Ecuador': 'EC',
69
- 'Egypt': 'EG',
70
- 'El Salvador': 'SV',
71
- 'Equatorial Guinea': 'GQ',
72
- 'Eritrea': 'ER',
73
- 'Estonia': 'EE',
74
- 'Ethiopia': 'ET',
75
- 'Falkland Islands': 'FK',
76
- 'Faroe Islands': 'FO',
77
- 'Fiji': 'FJ',
78
- 'Finland': 'FI',
79
- 'France': 'FR',
80
- 'French Guiana': 'GF',
81
- 'French Polynesia': 'PF',
82
- 'French Southern Territories': 'TF',
83
- 'Gabon': 'GA',
84
- 'Gambia': 'GM',
85
- 'Georgia': 'GE',
86
- 'Germany': 'DE',
87
- 'Ghana': 'GH',
88
- 'Gibraltar': 'GI',
89
- 'Greece': 'GR',
90
- 'Greenland': 'GL',
91
- 'Grenada': 'GD',
92
- 'Guadeloupe': 'GP',
93
- 'Guam': 'GU',
94
- 'Guatemala': 'GT',
95
- 'Guernsey': 'GG',
96
- 'Guinea': 'GN',
97
- 'Guinea-Bissau': 'GW',
98
- 'Guyana': 'GY',
99
- 'Haiti': 'HT',
100
- 'Heard and McDonald Isl': 'HM',
101
- 'Holy See (Vatican City State)': 'VA',
102
- 'Honduras': 'HN',
103
- 'Hong Kong': 'HK',
104
- 'Hungary': 'HU',
105
- 'Iceland': 'IS',
106
- 'India': 'IN',
107
- 'Indonesia': 'ID',
108
- 'Iran, Islamic Republic Of': 'IR',
109
- 'Iraq': 'IQ',
110
- 'Ireland': 'IE',
111
- 'Isle Of Man': 'IM',
112
- 'Israel': 'IL',
113
- 'Italy': 'IT',
114
- 'Jamaica': 'JM',
115
- 'Japan': 'JP',
116
- 'Jersey': 'JE',
117
- 'Jordan': 'JO',
118
- 'Kazakhstan': 'KZ',
119
- 'Kenya': 'KE',
120
- 'Kiribati': 'KI',
121
- 'Korea': 'KR',
122
- 'Kuwait': 'KW',
123
- 'Kyrgyzstan': 'KG',
124
- "Lao People's Democratic Republic": 'LA',
125
- 'Latvia': 'LV',
126
- 'Lebanon': 'LB',
127
- 'Lesotho': 'LS',
128
- 'Liberia': 'LR',
129
- 'Libyan Arab Jamahiriya': 'LY',
130
- 'Liechtenstein': 'LI',
131
- 'Lithuania': 'LT',
132
- 'Luxembourg': 'LU',
133
- 'Macao': 'MO',
134
- 'Macedonia': 'MK',
135
- 'Madagascar': 'MG',
136
- 'Malawi': 'MW',
137
- 'Malaysia': 'MY',
138
- 'Maldives': 'MV',
139
- 'Mali': 'ML',
140
- 'Malta': 'MT',
141
- 'Marshall Islands': 'MH',
142
- 'Martinique': 'MQ',
143
- 'Mauritania': 'MR',
144
- 'Mauritius': 'MU',
145
- 'Mayotte': 'YT',
146
- 'Mexico': 'MX',
147
- 'Micronesia, Federated States Of': 'FM',
148
- 'Moldova': 'MD',
149
- 'Monaco': 'MC',
150
- 'Mongolia': 'MN',
151
- 'Montenegro': 'ME',
152
- 'Montserrat': 'MS',
153
- 'Morocco': 'MA',
154
- 'Mozambique': 'MZ',
155
- 'Myanmar': 'MM',
156
- 'Namibia': 'NA',
157
- 'Nauru': 'NR',
158
- 'Nepal': 'NP',
159
- 'Netherlands': 'NL',
160
- 'Netherlands Antilles': 'AN',
161
- 'New Caledonia': 'NC',
162
- 'New Zealand': 'NZ',
163
- 'Nicaragua': 'NI',
164
- 'Niger': 'NE',
165
- 'Nigeria': 'NG',
166
- 'Niue': 'NU',
167
- 'Norfolk Island': 'NF',
168
- 'Northern Mariana Islands': 'MP',
169
- 'Norway': 'NO',
170
- 'Oman': 'OM',
171
- 'Pakistan': 'PK',
172
- 'Palau': 'PW',
173
- 'Palestinian Territory, Occupied': 'PS',
174
- 'Panama': 'PA',
175
- 'Papua New Guinea': 'PG',
176
- 'Paraguay': 'PY',
177
- 'Peru': 'PE',
178
- 'Philippines': 'PH',
179
- 'Pitcairn': 'PN',
180
- 'Poland': 'PL',
181
- 'Portugal': 'PT',
182
- 'Puerto Rico': 'PR',
183
- 'Qatar': 'QA',
184
- 'Reunion': 'RE',
185
- 'Romania': 'RO',
186
- 'Russian Federation': 'RU',
187
- 'Rwanda': 'RW',
188
- 'Saint Barthelemy': 'BL',
189
- 'Saint Helena': 'SH',
190
- 'Saint Kitts and Nevis': 'KN',
191
- 'Saint Lucia': 'LC',
192
- 'Saint Martin': 'MF',
193
- 'Saint Pierre and Miquelon': 'PM',
194
- 'Saint Vincent and Grenadines': 'VC',
195
- 'Samoa': 'WS',
196
- 'San Marino': 'SM',
197
- 'Sao Tome and Principe': 'ST',
198
- 'Saudi Arabia': 'SA',
199
- 'Senegal': 'SN',
200
- 'Serbia': 'RS',
201
- 'Seychelles': 'SC',
202
- 'Sierra Leone': 'SL',
203
- 'Singapore': 'SG',
204
- 'Slovakia': 'SK',
205
- 'Slovenia': 'SI',
206
- 'Solomon Islands': 'SB',
207
- 'Somalia': 'SO',
208
- 'South Africa': 'ZA',
209
- 'South Georgia and Sandwich Isl.': 'GS',
210
- 'Spain': 'ES',
211
- 'Sri Lanka': 'LK',
212
- 'Sudan': 'SD',
213
- 'Suriname': 'SR',
214
- 'Svalbard and Jan Mayen': 'SJ',
215
- 'Swaziland': 'SZ',
216
- 'Sweden': 'SE',
217
- 'Switzerland': 'CH',
218
- 'Syrian Arab Republic': 'SY',
219
- 'Taiwan': 'TW',
220
- 'Tajikistan': 'TJ',
221
- 'Tanzania': 'TZ',
222
- 'Thailand': 'TH',
223
- 'Timor-Leste': 'TL',
224
- 'Togo': 'TG',
225
- 'Tokelau': 'TK',
226
- 'Tonga': 'TO',
227
- 'Trinidad and Tobago': 'TT',
228
- 'Tunisia': 'TN',
229
- 'Turkey': 'TR',
230
- 'Turkmenistan': 'TM',
231
- 'Turks and Caicos Islands': 'TC',
232
- 'Tuvalu': 'TV',
233
- 'Uganda': 'UG',
234
- 'Ukraine': 'UA',
235
- 'United Arab Emirates': 'AE',
236
- 'United Kingdom': 'GB',
237
- 'USA': 'US',
238
- 'US Minor Outlying Islands': 'UM',
239
- 'Uruguay': 'UY',
240
- 'Uzbekistan': 'UZ',
241
- 'Vanuatu': 'VU',
242
- 'Venezuela': 'VE',
243
- 'Vietnam': 'VN',
244
- 'Virgin Islands (British)': 'VG',
245
- 'Virgin Islands (U.S.)': 'VI',
246
- 'Wallis And Futuna': 'WF',
247
- 'Western Sahara': 'EH',
248
- 'Yemen': 'YE',
249
- 'Zambia': 'ZM',
250
- 'Zimbabwe': 'ZW',
251
- };
252
- this.fieldId = undefined;
253
- this.label = undefined;
254
- this.isRequired = true;
255
- this.helpertext = 'Please select a value!';
256
- this.fieldName = undefined;
257
- this.disabled = false;
258
- this.selectedValue = '';
259
- this.defaultValue = '';
260
- this.ptcDataEloquaName = undefined;
261
- this.ptcDataTargetEloquaName = undefined;
262
- }
263
- async setValue() {
264
- //const userCountry = await this.getUserCountry(); // Function to get user's country
265
- // if (userCountry) {
266
- // console.log("country by IP: " + userCountry)
267
- // this.defaultSelect.value = userCountry;
268
- // }
269
- this.defaultSelect.value = this.defaultValue;
270
- }
271
- componentDidLoad() {
272
- const select = new MDCSelect(this.el.querySelector('.mdc-select'));
273
- this.defaultSelect = new MDCSelect(this.el.querySelector('.mdc-select'));
274
- //if (this.fieldId === 'contact-country') {this.setSelectedCountry();}
275
- if (this.defaultValue)
276
- this.setValue();
277
- select.listen('MDCSelect:change', () => {
278
- this.valueChange.emit(select.value);
279
- this.selectedValue = select.value;
280
- if (this.fieldId === 'contact-country') {
281
- console.log('changing country field value');
282
- const countryCode = this.selectedValue ? this.map[this.selectedValue] : '';
283
- const telField = document.querySelector('ptc-textfield[field-id="contact-phone"]');
284
- if (telField && countryCode) {
285
- telField.syncCountry(countryCode);
286
- }
287
- }
288
- });
289
- }
290
- // async getUserCountry() {
291
- // try {
292
- // const response = await fetch('https://ipapi.co/json/'); // Example API
293
- // const data = await response.json();
294
- // return data.country_name; // or data.country_code, depending on your dropdown values
295
- // } catch (error) {
296
- // console.error('Error fetching user country:', error);
297
- // return null;
298
- // }
299
- // }
300
- getSelectClassName() {
301
- let className = 'mdc-select mdc-select--outlined mdc-select--no-label';
302
- if (this.isRequired) {
303
- className = `${className} mdc-select--required`;
304
- }
305
- return className;
306
- }
307
- render() {
308
- return (h(Host, { class: "ptc-select" }, h("label", { class: "ptc-label-select" }, this.label), h("div", { class: this.getSelectClassName() }, h("div", Object.assign({ class: "mdc-select__anchor", "aria-labelledby": "outlined-select-label" }, (this.isRequired ? { ariaRequired: true } : null)), h("span", { class: "mdc-notched-outline" }, h("span", { class: "mdc-notched-outline__leading" }), h("span", { class: "mdc-notched-outline__trailing" })), h("span", { class: "mdc-select__selected-text-container" }, h("span", { id: this.fieldId, class: "mdc-select__selected-text", "aria-controls": this.fieldName, "aria-describedby": this.fieldName, "data-eloqua-name": this.ptcDataEloquaName, "data-target-eloqua-name": this.ptcDataTargetEloquaName })), h("span", { class: "mdc-select__dropdown-icon" }, h("svg", { class: "", width: "20", height: "12", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M1.375 1.875L5 5.5L8.625 1.875L9.9375 3.1875L5 8.125L0.0625 3.1875L1.375 1.875Z" })))), h("div", { class: "mdc-select__menu mdc-menu mdc-menu-surface mdc-menu-surface--fullwidth" }, h("slot", null))), h("p", { id: this.fieldName, class: "mdc-select-helper-text mdc-select-helper-text--validation-msg" }, h("svg", { class: "select-error-svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_12_1424)" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.3156 0L16 4.68444V11.3156L11.3156 16H4.68444L0 11.3156V4.68444L4.68444 0H11.3156ZM8 10.4C7.36 10.4 6.84444 10.9156 6.84444 11.5556C6.84444 12.1956 7.36 12.7111 8 12.7111C8.64 12.7111 9.15556 12.1956 9.15556 11.5556C9.15556 10.9156 8.64 10.4 8 10.4ZM8.88889 3.55556H7.11111V8.88889H8.88889V3.55556Z", fill: "#AF3231" })), h("defs", null, h("clipPath", { id: "clip0_12_1424" }, h("rect", { width: "16", height: "16", fill: "white" })))), this.helpertext)));
309
- }
310
- static get is() { return "ptc-select"; }
311
- static get originalStyleUrls() {
312
- return {
313
- "$": ["ptc-select.scss"]
314
- };
315
- }
316
- static get styleUrls() {
317
- return {
318
- "$": ["ptc-select.css"]
319
- };
320
- }
321
- static get properties() {
322
- return {
323
- "fieldId": {
324
- "type": "string",
325
- "mutable": false,
326
- "complexType": {
327
- "original": "string",
328
- "resolved": "string",
329
- "references": {}
330
- },
331
- "required": false,
332
- "optional": false,
333
- "docs": {
334
- "tags": [],
335
- "text": ""
336
- },
337
- "attribute": "field-id",
338
- "reflect": false
339
- },
340
- "label": {
341
- "type": "string",
342
- "mutable": false,
343
- "complexType": {
344
- "original": "string",
345
- "resolved": "string",
346
- "references": {}
347
- },
348
- "required": false,
349
- "optional": false,
350
- "docs": {
351
- "tags": [],
352
- "text": ""
353
- },
354
- "attribute": "label",
355
- "reflect": false
356
- },
357
- "isRequired": {
358
- "type": "boolean",
359
- "mutable": false,
360
- "complexType": {
361
- "original": "boolean",
362
- "resolved": "boolean",
363
- "references": {}
364
- },
365
- "required": false,
366
- "optional": false,
367
- "docs": {
368
- "tags": [],
369
- "text": ""
370
- },
371
- "attribute": "is-required",
372
- "reflect": false,
373
- "defaultValue": "true"
374
- },
375
- "helpertext": {
376
- "type": "string",
377
- "mutable": false,
378
- "complexType": {
379
- "original": "string",
380
- "resolved": "string",
381
- "references": {}
382
- },
383
- "required": false,
384
- "optional": false,
385
- "docs": {
386
- "tags": [],
387
- "text": ""
388
- },
389
- "attribute": "helpertext",
390
- "reflect": false,
391
- "defaultValue": "'Please select a value!'"
392
- },
393
- "fieldName": {
394
- "type": "string",
395
- "mutable": false,
396
- "complexType": {
397
- "original": "string",
398
- "resolved": "string",
399
- "references": {}
400
- },
401
- "required": false,
402
- "optional": false,
403
- "docs": {
404
- "tags": [],
405
- "text": ""
406
- },
407
- "attribute": "field-name",
408
- "reflect": false
409
- },
410
- "disabled": {
411
- "type": "boolean",
412
- "mutable": false,
413
- "complexType": {
414
- "original": "boolean",
415
- "resolved": "boolean",
416
- "references": {}
417
- },
418
- "required": false,
419
- "optional": false,
420
- "docs": {
421
- "tags": [],
422
- "text": ""
423
- },
424
- "attribute": "disabled",
425
- "reflect": false,
426
- "defaultValue": "false"
427
- },
428
- "selectedValue": {
429
- "type": "string",
430
- "mutable": true,
431
- "complexType": {
432
- "original": "string",
433
- "resolved": "string",
434
- "references": {}
435
- },
436
- "required": false,
437
- "optional": false,
438
- "docs": {
439
- "tags": [],
440
- "text": ""
441
- },
442
- "attribute": "selected-value",
443
- "reflect": false,
444
- "defaultValue": "''"
445
- },
446
- "defaultValue": {
447
- "type": "string",
448
- "mutable": true,
449
- "complexType": {
450
- "original": "string",
451
- "resolved": "string",
452
- "references": {}
453
- },
454
- "required": false,
455
- "optional": false,
456
- "docs": {
457
- "tags": [],
458
- "text": ""
459
- },
460
- "attribute": "default-value",
461
- "reflect": false,
462
- "defaultValue": "''"
463
- },
464
- "ptcDataEloquaName": {
465
- "type": "string",
466
- "mutable": false,
467
- "complexType": {
468
- "original": "string",
469
- "resolved": "string",
470
- "references": {}
471
- },
472
- "required": false,
473
- "optional": false,
474
- "docs": {
475
- "tags": [],
476
- "text": "Eloqua Data"
477
- },
478
- "attribute": "ptc-data-eloqua-name",
479
- "reflect": false
480
- },
481
- "ptcDataTargetEloquaName": {
482
- "type": "string",
483
- "mutable": false,
484
- "complexType": {
485
- "original": "string",
486
- "resolved": "string",
487
- "references": {}
488
- },
489
- "required": false,
490
- "optional": false,
491
- "docs": {
492
- "tags": [],
493
- "text": ""
494
- },
495
- "attribute": "ptc-data-target-eloqua-name",
496
- "reflect": false
497
- }
498
- };
499
- }
500
- static get events() {
501
- return [{
502
- "method": "valueChange",
503
- "name": "valueChange",
504
- "bubbles": true,
505
- "cancelable": true,
506
- "composed": true,
507
- "docs": {
508
- "tags": [],
509
- "text": ""
510
- },
511
- "complexType": {
512
- "original": "string",
513
- "resolved": "string",
514
- "references": {}
515
- }
516
- }];
517
- }
518
- static get elementRef() { return "el"; }
519
- }
1
+ import { h, Host } from '@stencil/core';
2
+ import { MDCSelect } from '@material/select';
3
+ // import { MDCSelectHelperText } from '@material/select/helper-text';
4
+ export class PtcSelect {
5
+ constructor() {
6
+ this.map = {
7
+ 'Afghanistan': 'AF',
8
+ 'Albania': 'AL',
9
+ 'Algeria': 'DZ',
10
+ 'American Samoa': 'AS',
11
+ 'Andorra': 'AD',
12
+ 'Angola': 'AO',
13
+ 'Anguilla': 'AI',
14
+ 'Antarctica': 'AQ',
15
+ 'Antigua and Barbuda': 'AG',
16
+ 'Argentina': 'AR',
17
+ 'Armenia': 'AM',
18
+ 'Aruba': 'AW',
19
+ 'Australia': 'AU',
20
+ 'Austria': 'AT',
21
+ 'Azerbaijan': 'AZ',
22
+ 'Bahamas': 'BS',
23
+ 'Bahrain': 'BH',
24
+ 'Bangladesh': 'BD',
25
+ 'Barbados': 'BB',
26
+ 'Belarus': 'BY',
27
+ 'Belgium': 'BE',
28
+ 'Belize': 'BZ',
29
+ 'Benin': 'BJ',
30
+ 'Bermuda': 'BM',
31
+ 'Bhutan': 'BT',
32
+ 'Bolivia': 'BO',
33
+ 'Bosnia and Herzegovina': 'BA',
34
+ 'Botswana': 'BW',
35
+ 'Bouvet Island': 'BV',
36
+ 'Brazil': 'BR',
37
+ 'British Indian Ocean Territory': 'IO',
38
+ 'Brunei Darussalam': 'BN',
39
+ 'Bulgaria': 'BG',
40
+ 'Burkina Faso': 'BF',
41
+ 'Burundi': 'BI',
42
+ 'Cambodia': 'KH',
43
+ 'Cameroon': 'CM',
44
+ 'Canada': 'CA',
45
+ 'Cape Verde': 'CV',
46
+ 'Cayman Islands': 'KY',
47
+ 'Central African Republic': 'CF',
48
+ 'Chad': 'TD',
49
+ 'Chile': 'CL',
50
+ 'China': 'CN',
51
+ 'Christmas Island': 'CX',
52
+ 'Cocos (Keeling) Islands': 'CC',
53
+ 'Colombia': 'CO',
54
+ 'Comoros': 'KM',
55
+ 'Congo': 'CG',
56
+ 'Congo, Democratic Republic': 'CD',
57
+ 'Cook Islands': 'CK',
58
+ 'Costa Rica': 'CR',
59
+ 'Cote d ivoire': 'CI',
60
+ 'Croatia': 'HR',
61
+ 'Cuba': 'CU',
62
+ 'Cyprus': 'CY',
63
+ 'Czech Republic': 'CZ',
64
+ 'Denmark': 'DK',
65
+ 'Djibouti': 'DJ',
66
+ 'Dominica': 'DM',
67
+ 'Dominican Republic': 'DO',
68
+ 'Ecuador': 'EC',
69
+ 'Egypt': 'EG',
70
+ 'El Salvador': 'SV',
71
+ 'Equatorial Guinea': 'GQ',
72
+ 'Eritrea': 'ER',
73
+ 'Estonia': 'EE',
74
+ 'Ethiopia': 'ET',
75
+ 'Falkland Islands': 'FK',
76
+ 'Faroe Islands': 'FO',
77
+ 'Fiji': 'FJ',
78
+ 'Finland': 'FI',
79
+ 'France': 'FR',
80
+ 'French Guiana': 'GF',
81
+ 'French Polynesia': 'PF',
82
+ 'French Southern Territories': 'TF',
83
+ 'Gabon': 'GA',
84
+ 'Gambia': 'GM',
85
+ 'Georgia': 'GE',
86
+ 'Germany': 'DE',
87
+ 'Ghana': 'GH',
88
+ 'Gibraltar': 'GI',
89
+ 'Greece': 'GR',
90
+ 'Greenland': 'GL',
91
+ 'Grenada': 'GD',
92
+ 'Guadeloupe': 'GP',
93
+ 'Guam': 'GU',
94
+ 'Guatemala': 'GT',
95
+ 'Guernsey': 'GG',
96
+ 'Guinea': 'GN',
97
+ 'Guinea-Bissau': 'GW',
98
+ 'Guyana': 'GY',
99
+ 'Haiti': 'HT',
100
+ 'Heard and McDonald Isl': 'HM',
101
+ 'Holy See (Vatican City State)': 'VA',
102
+ 'Honduras': 'HN',
103
+ 'Hong Kong': 'HK',
104
+ 'Hungary': 'HU',
105
+ 'Iceland': 'IS',
106
+ 'India': 'IN',
107
+ 'Indonesia': 'ID',
108
+ 'Iran, Islamic Republic Of': 'IR',
109
+ 'Iraq': 'IQ',
110
+ 'Ireland': 'IE',
111
+ 'Isle Of Man': 'IM',
112
+ 'Israel': 'IL',
113
+ 'Italy': 'IT',
114
+ 'Jamaica': 'JM',
115
+ 'Japan': 'JP',
116
+ 'Jersey': 'JE',
117
+ 'Jordan': 'JO',
118
+ 'Kazakhstan': 'KZ',
119
+ 'Kenya': 'KE',
120
+ 'Kiribati': 'KI',
121
+ 'Korea': 'KR',
122
+ 'Kuwait': 'KW',
123
+ 'Kyrgyzstan': 'KG',
124
+ "Lao People's Democratic Republic": 'LA',
125
+ 'Latvia': 'LV',
126
+ 'Lebanon': 'LB',
127
+ 'Lesotho': 'LS',
128
+ 'Liberia': 'LR',
129
+ 'Libyan Arab Jamahiriya': 'LY',
130
+ 'Liechtenstein': 'LI',
131
+ 'Lithuania': 'LT',
132
+ 'Luxembourg': 'LU',
133
+ 'Macao': 'MO',
134
+ 'Macedonia': 'MK',
135
+ 'Madagascar': 'MG',
136
+ 'Malawi': 'MW',
137
+ 'Malaysia': 'MY',
138
+ 'Maldives': 'MV',
139
+ 'Mali': 'ML',
140
+ 'Malta': 'MT',
141
+ 'Marshall Islands': 'MH',
142
+ 'Martinique': 'MQ',
143
+ 'Mauritania': 'MR',
144
+ 'Mauritius': 'MU',
145
+ 'Mayotte': 'YT',
146
+ 'Mexico': 'MX',
147
+ 'Micronesia, Federated States Of': 'FM',
148
+ 'Moldova': 'MD',
149
+ 'Monaco': 'MC',
150
+ 'Mongolia': 'MN',
151
+ 'Montenegro': 'ME',
152
+ 'Montserrat': 'MS',
153
+ 'Morocco': 'MA',
154
+ 'Mozambique': 'MZ',
155
+ 'Myanmar': 'MM',
156
+ 'Namibia': 'NA',
157
+ 'Nauru': 'NR',
158
+ 'Nepal': 'NP',
159
+ 'Netherlands': 'NL',
160
+ 'Netherlands Antilles': 'AN',
161
+ 'New Caledonia': 'NC',
162
+ 'New Zealand': 'NZ',
163
+ 'Nicaragua': 'NI',
164
+ 'Niger': 'NE',
165
+ 'Nigeria': 'NG',
166
+ 'Niue': 'NU',
167
+ 'Norfolk Island': 'NF',
168
+ 'Northern Mariana Islands': 'MP',
169
+ 'Norway': 'NO',
170
+ 'Oman': 'OM',
171
+ 'Pakistan': 'PK',
172
+ 'Palau': 'PW',
173
+ 'Palestinian Territory, Occupied': 'PS',
174
+ 'Panama': 'PA',
175
+ 'Papua New Guinea': 'PG',
176
+ 'Paraguay': 'PY',
177
+ 'Peru': 'PE',
178
+ 'Philippines': 'PH',
179
+ 'Pitcairn': 'PN',
180
+ 'Poland': 'PL',
181
+ 'Portugal': 'PT',
182
+ 'Puerto Rico': 'PR',
183
+ 'Qatar': 'QA',
184
+ 'Reunion': 'RE',
185
+ 'Romania': 'RO',
186
+ 'Russian Federation': 'RU',
187
+ 'Rwanda': 'RW',
188
+ 'Saint Barthelemy': 'BL',
189
+ 'Saint Helena': 'SH',
190
+ 'Saint Kitts and Nevis': 'KN',
191
+ 'Saint Lucia': 'LC',
192
+ 'Saint Martin': 'MF',
193
+ 'Saint Pierre and Miquelon': 'PM',
194
+ 'Saint Vincent and Grenadines': 'VC',
195
+ 'Samoa': 'WS',
196
+ 'San Marino': 'SM',
197
+ 'Sao Tome and Principe': 'ST',
198
+ 'Saudi Arabia': 'SA',
199
+ 'Senegal': 'SN',
200
+ 'Serbia': 'RS',
201
+ 'Seychelles': 'SC',
202
+ 'Sierra Leone': 'SL',
203
+ 'Singapore': 'SG',
204
+ 'Slovakia': 'SK',
205
+ 'Slovenia': 'SI',
206
+ 'Solomon Islands': 'SB',
207
+ 'Somalia': 'SO',
208
+ 'South Africa': 'ZA',
209
+ 'South Georgia and Sandwich Isl.': 'GS',
210
+ 'Spain': 'ES',
211
+ 'Sri Lanka': 'LK',
212
+ 'Sudan': 'SD',
213
+ 'Suriname': 'SR',
214
+ 'Svalbard and Jan Mayen': 'SJ',
215
+ 'Swaziland': 'SZ',
216
+ 'Sweden': 'SE',
217
+ 'Switzerland': 'CH',
218
+ 'Syrian Arab Republic': 'SY',
219
+ 'Taiwan': 'TW',
220
+ 'Tajikistan': 'TJ',
221
+ 'Tanzania': 'TZ',
222
+ 'Thailand': 'TH',
223
+ 'Timor-Leste': 'TL',
224
+ 'Togo': 'TG',
225
+ 'Tokelau': 'TK',
226
+ 'Tonga': 'TO',
227
+ 'Trinidad and Tobago': 'TT',
228
+ 'Tunisia': 'TN',
229
+ 'Turkey': 'TR',
230
+ 'Turkmenistan': 'TM',
231
+ 'Turks and Caicos Islands': 'TC',
232
+ 'Tuvalu': 'TV',
233
+ 'Uganda': 'UG',
234
+ 'Ukraine': 'UA',
235
+ 'United Arab Emirates': 'AE',
236
+ 'United Kingdom': 'GB',
237
+ 'USA': 'US',
238
+ 'US Minor Outlying Islands': 'UM',
239
+ 'Uruguay': 'UY',
240
+ 'Uzbekistan': 'UZ',
241
+ 'Vanuatu': 'VU',
242
+ 'Venezuela': 'VE',
243
+ 'Vietnam': 'VN',
244
+ 'Virgin Islands (British)': 'VG',
245
+ 'Virgin Islands (U.S.)': 'VI',
246
+ 'Wallis And Futuna': 'WF',
247
+ 'Western Sahara': 'EH',
248
+ 'Yemen': 'YE',
249
+ 'Zambia': 'ZM',
250
+ 'Zimbabwe': 'ZW',
251
+ };
252
+ this.fieldId = undefined;
253
+ this.label = undefined;
254
+ this.isRequired = true;
255
+ this.helpertext = 'Please select a value!';
256
+ this.fieldName = undefined;
257
+ this.disabled = false;
258
+ this.selectedValue = '';
259
+ this.defaultValue = '';
260
+ this.ptcDataEloquaName = undefined;
261
+ this.ptcDataTargetEloquaName = undefined;
262
+ }
263
+ async setValue() {
264
+ //const userCountry = await this.getUserCountry(); // Function to get user's country
265
+ // if (userCountry) {
266
+ // console.log("country by IP: " + userCountry)
267
+ // this.defaultSelect.value = userCountry;
268
+ // }
269
+ this.defaultSelect.value = this.defaultValue;
270
+ }
271
+ componentDidLoad() {
272
+ const select = new MDCSelect(this.el.querySelector('.mdc-select'));
273
+ this.defaultSelect = new MDCSelect(this.el.querySelector('.mdc-select'));
274
+ //if (this.fieldId === 'contact-country') {this.setSelectedCountry();}
275
+ if (this.defaultValue)
276
+ this.setValue();
277
+ select.listen('MDCSelect:change', () => {
278
+ this.valueChange.emit(select.value);
279
+ this.selectedValue = select.value;
280
+ if (this.fieldId === 'contact-country') {
281
+ console.log('changing country field value');
282
+ const countryCode = this.selectedValue ? this.map[this.selectedValue] : '';
283
+ const telField = document.querySelector('ptc-textfield[field-id="contact-phone"]');
284
+ if (telField && countryCode) {
285
+ telField.syncCountry(countryCode);
286
+ }
287
+ }
288
+ });
289
+ }
290
+ // async getUserCountry() {
291
+ // try {
292
+ // const response = await fetch('https://ipapi.co/json/'); // Example API
293
+ // const data = await response.json();
294
+ // return data.country_name; // or data.country_code, depending on your dropdown values
295
+ // } catch (error) {
296
+ // console.error('Error fetching user country:', error);
297
+ // return null;
298
+ // }
299
+ // }
300
+ getSelectClassName() {
301
+ let className = 'mdc-select mdc-select--outlined mdc-select--no-label';
302
+ if (this.isRequired) {
303
+ className = `${className} mdc-select--required`;
304
+ }
305
+ return className;
306
+ }
307
+ render() {
308
+ return (h(Host, { class: "ptc-select" }, h("label", { class: "ptc-label-select" }, this.label), h("div", { class: this.getSelectClassName() }, h("div", Object.assign({ class: "mdc-select__anchor", "aria-labelledby": "outlined-select-label" }, (this.isRequired ? { ariaRequired: true } : null)), h("span", { class: "mdc-notched-outline" }, h("span", { class: "mdc-notched-outline__leading" }), h("span", { class: "mdc-notched-outline__trailing" })), h("span", { class: "mdc-select__selected-text-container" }, h("span", { id: this.fieldId, class: "mdc-select__selected-text", "aria-controls": this.fieldName, "aria-describedby": this.fieldName, "data-eloqua-name": this.ptcDataEloquaName, "data-target-eloqua-name": this.ptcDataTargetEloquaName })), h("span", { class: "mdc-select__dropdown-icon" }, h("svg", { class: "", width: "20", height: "12", viewBox: "0 0 10 10", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M1.375 1.875L5 5.5L8.625 1.875L9.9375 3.1875L5 8.125L0.0625 3.1875L1.375 1.875Z" })))), h("div", { class: "mdc-select__menu mdc-menu mdc-menu-surface mdc-menu-surface--fullwidth" }, h("slot", null))), h("p", { id: this.fieldName, class: "mdc-select-helper-text mdc-select-helper-text--validation-msg" }, h("svg", { class: "select-error-svg", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_12_1424)" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.3156 0L16 4.68444V11.3156L11.3156 16H4.68444L0 11.3156V4.68444L4.68444 0H11.3156ZM8 10.4C7.36 10.4 6.84444 10.9156 6.84444 11.5556C6.84444 12.1956 7.36 12.7111 8 12.7111C8.64 12.7111 9.15556 12.1956 9.15556 11.5556C9.15556 10.9156 8.64 10.4 8 10.4ZM8.88889 3.55556H7.11111V8.88889H8.88889V3.55556Z", fill: "#AF3231" })), h("defs", null, h("clipPath", { id: "clip0_12_1424" }, h("rect", { width: "16", height: "16", fill: "white" })))), this.helpertext)));
309
+ }
310
+ static get is() { return "ptc-select"; }
311
+ static get originalStyleUrls() {
312
+ return {
313
+ "$": ["ptc-select.scss"]
314
+ };
315
+ }
316
+ static get styleUrls() {
317
+ return {
318
+ "$": ["ptc-select.css"]
319
+ };
320
+ }
321
+ static get properties() {
322
+ return {
323
+ "fieldId": {
324
+ "type": "string",
325
+ "mutable": false,
326
+ "complexType": {
327
+ "original": "string",
328
+ "resolved": "string",
329
+ "references": {}
330
+ },
331
+ "required": false,
332
+ "optional": false,
333
+ "docs": {
334
+ "tags": [],
335
+ "text": ""
336
+ },
337
+ "attribute": "field-id",
338
+ "reflect": false
339
+ },
340
+ "label": {
341
+ "type": "string",
342
+ "mutable": false,
343
+ "complexType": {
344
+ "original": "string",
345
+ "resolved": "string",
346
+ "references": {}
347
+ },
348
+ "required": false,
349
+ "optional": false,
350
+ "docs": {
351
+ "tags": [],
352
+ "text": ""
353
+ },
354
+ "attribute": "label",
355
+ "reflect": false
356
+ },
357
+ "isRequired": {
358
+ "type": "boolean",
359
+ "mutable": false,
360
+ "complexType": {
361
+ "original": "boolean",
362
+ "resolved": "boolean",
363
+ "references": {}
364
+ },
365
+ "required": false,
366
+ "optional": false,
367
+ "docs": {
368
+ "tags": [],
369
+ "text": ""
370
+ },
371
+ "attribute": "is-required",
372
+ "reflect": false,
373
+ "defaultValue": "true"
374
+ },
375
+ "helpertext": {
376
+ "type": "string",
377
+ "mutable": false,
378
+ "complexType": {
379
+ "original": "string",
380
+ "resolved": "string",
381
+ "references": {}
382
+ },
383
+ "required": false,
384
+ "optional": false,
385
+ "docs": {
386
+ "tags": [],
387
+ "text": ""
388
+ },
389
+ "attribute": "helpertext",
390
+ "reflect": false,
391
+ "defaultValue": "'Please select a value!'"
392
+ },
393
+ "fieldName": {
394
+ "type": "string",
395
+ "mutable": false,
396
+ "complexType": {
397
+ "original": "string",
398
+ "resolved": "string",
399
+ "references": {}
400
+ },
401
+ "required": false,
402
+ "optional": false,
403
+ "docs": {
404
+ "tags": [],
405
+ "text": ""
406
+ },
407
+ "attribute": "field-name",
408
+ "reflect": false
409
+ },
410
+ "disabled": {
411
+ "type": "boolean",
412
+ "mutable": false,
413
+ "complexType": {
414
+ "original": "boolean",
415
+ "resolved": "boolean",
416
+ "references": {}
417
+ },
418
+ "required": false,
419
+ "optional": false,
420
+ "docs": {
421
+ "tags": [],
422
+ "text": ""
423
+ },
424
+ "attribute": "disabled",
425
+ "reflect": false,
426
+ "defaultValue": "false"
427
+ },
428
+ "selectedValue": {
429
+ "type": "string",
430
+ "mutable": true,
431
+ "complexType": {
432
+ "original": "string",
433
+ "resolved": "string",
434
+ "references": {}
435
+ },
436
+ "required": false,
437
+ "optional": false,
438
+ "docs": {
439
+ "tags": [],
440
+ "text": ""
441
+ },
442
+ "attribute": "selected-value",
443
+ "reflect": false,
444
+ "defaultValue": "''"
445
+ },
446
+ "defaultValue": {
447
+ "type": "string",
448
+ "mutable": true,
449
+ "complexType": {
450
+ "original": "string",
451
+ "resolved": "string",
452
+ "references": {}
453
+ },
454
+ "required": false,
455
+ "optional": false,
456
+ "docs": {
457
+ "tags": [],
458
+ "text": ""
459
+ },
460
+ "attribute": "default-value",
461
+ "reflect": false,
462
+ "defaultValue": "''"
463
+ },
464
+ "ptcDataEloquaName": {
465
+ "type": "string",
466
+ "mutable": false,
467
+ "complexType": {
468
+ "original": "string",
469
+ "resolved": "string",
470
+ "references": {}
471
+ },
472
+ "required": false,
473
+ "optional": false,
474
+ "docs": {
475
+ "tags": [],
476
+ "text": "Eloqua Data"
477
+ },
478
+ "attribute": "ptc-data-eloqua-name",
479
+ "reflect": false
480
+ },
481
+ "ptcDataTargetEloquaName": {
482
+ "type": "string",
483
+ "mutable": false,
484
+ "complexType": {
485
+ "original": "string",
486
+ "resolved": "string",
487
+ "references": {}
488
+ },
489
+ "required": false,
490
+ "optional": false,
491
+ "docs": {
492
+ "tags": [],
493
+ "text": ""
494
+ },
495
+ "attribute": "ptc-data-target-eloqua-name",
496
+ "reflect": false
497
+ }
498
+ };
499
+ }
500
+ static get events() {
501
+ return [{
502
+ "method": "valueChange",
503
+ "name": "valueChange",
504
+ "bubbles": true,
505
+ "cancelable": true,
506
+ "composed": true,
507
+ "docs": {
508
+ "tags": [],
509
+ "text": ""
510
+ },
511
+ "complexType": {
512
+ "original": "string",
513
+ "resolved": "string",
514
+ "references": {}
515
+ }
516
+ }];
517
+ }
518
+ static get elementRef() { return "el"; }
519
+ }