@ptcwebops/ptcw-design 6.3.34 → 6.3.35-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
  2. package/dist/cjs/embedded-form.cjs.entry.js +1 -1
  3. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  4. package/dist/cjs/icon-asset.cjs.entry.js +1 -1
  5. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  6. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -3
  8. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  9. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-button.cjs.entry.js +3 -5
  11. package/dist/cjs/ptc-card_2.cjs.entry.js +7 -10
  12. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +6 -2
  13. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +24 -24
  14. package/dist/cjs/ptc-countdown.cjs.entry.js +10 -7
  15. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  16. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +9 -40
  20. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +3 -18
  21. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +803 -39
  22. package/dist/cjs/ptc-info-tile.cjs.entry.js +1 -2
  23. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -4
  24. package/dist/cjs/ptc-nav-link.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +3 -28
  26. package/dist/cjs/ptc-para.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  29. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-product-list.cjs.entry.js +0 -4
  35. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +6 -38
  36. package/dist/cjs/ptc-quote.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +38 -42
  40. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +0 -9
  41. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +0 -15
  42. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +8 -42
  43. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-white-paper.cjs.entry.js +14 -15
  46. package/dist/cjs/ptcw-design.cjs.js +1 -3
  47. package/dist/collection/collection-manifest.json +2 -2
  48. package/dist/collection/components/icon-asset/icon-asset.js +1 -1
  49. package/dist/collection/components/icon-asset/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
  50. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
  51. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +0 -1
  52. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
  53. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +1 -1
  54. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  55. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  56. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -6
  57. package/dist/collection/components/ptc-button/ptc-button.css +0 -100
  58. package/dist/collection/components/ptc-button/ptc-button.js +4 -24
  59. package/dist/collection/components/ptc-card/ptc-card.js +2 -21
  60. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
  61. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +5 -1
  62. package/dist/collection/components/ptc-countdown/ptc-countdown.js +10 -7
  63. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +1 -1
  64. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +1 -1
  65. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
  66. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +0 -12
  67. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +3 -29
  68. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +13 -34
  69. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +2 -17
  70. package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +1 -20
  71. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -6
  72. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +0 -3
  73. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  74. package/dist/collection/components/ptc-modal/ptc-modal.js +25 -25
  75. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +0 -7
  76. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +2 -78
  77. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  78. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  79. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
  80. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -109
  81. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -6
  82. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  83. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  84. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +2 -2
  85. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  86. package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -6
  87. package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
  88. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
  89. package/dist/collection/components/ptc-product-list/ptc-product-list.js +0 -4
  90. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +0 -8
  91. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +5 -37
  92. package/dist/collection/components/ptc-quote/ptc-quote.js +1 -1
  93. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
  94. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
  95. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +38 -63
  96. package/dist/collection/components/ptc-select/ptc-select.js +4 -8
  97. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +0 -9
  98. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +0 -15
  99. package/dist/collection/components/ptc-textfield/ptc-textfield.css +4 -69
  100. package/dist/collection/components/ptc-textfield/ptc-textfield.js +37 -77
  101. package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +0 -6
  102. package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +1 -1
  103. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +0 -15
  104. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +9 -67
  105. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +3 -8
  106. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
  107. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
  108. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
  109. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +13 -14
  110. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +1 -1
  111. package/dist/collection/stories/Card.stories.js +148 -3
  112. package/dist/collection/stories/Link.stories.js +13 -25
  113. package/dist/collection/stories/Paragraph.stories.js +10 -18
  114. package/dist/collection/stories/Select.stories.js +8 -5
  115. package/dist/collection/stories/Textfield.stories.js +28 -71
  116. package/dist/collection/stories/Title.stories.js +16 -28
  117. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  118. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  119. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  120. package/dist/collection/utils/validation-messages.js +2 -49
  121. package/dist/custom-elements/index.d.ts +6 -0
  122. package/dist/custom-elements/index.js +407 -577
  123. package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
  124. package/dist/esm/embedded-form.entry.js +1 -1
  125. package/dist/esm/featured-list.entry.js +1 -1
  126. package/dist/esm/icon-asset.entry.js +1 -1
  127. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  128. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  129. package/dist/esm/loader.js +1 -3
  130. package/dist/esm/modal-form-example.entry.js +90 -0
  131. package/dist/esm/ptc-bio-card.entry.js +1 -1
  132. package/dist/esm/ptc-button.entry.js +3 -5
  133. package/dist/esm/ptc-card_2.entry.js +7 -10
  134. package/dist/esm/ptc-case-studies-slider.entry.js +6 -2
  135. package/dist/esm/ptc-close-icon_2.entry.js +24 -24
  136. package/dist/esm/ptc-countdown.entry.js +10 -7
  137. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  138. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  139. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  140. package/dist/esm/ptc-featured-list.entry.js +1 -1
  141. package/dist/esm/ptc-filter-dropdown_4.entry.js +9 -40
  142. package/dist/esm/ptc-filter-level-theater.entry.js +3 -18
  143. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +801 -39
  144. package/dist/esm/ptc-info-tile.entry.js +1 -2
  145. package/dist/esm/ptc-jumbotron.entry.js +1 -4
  146. package/dist/esm/ptc-nav-link.entry.js +1 -1
  147. package/dist/esm/ptc-nav-skip-to-content.entry.js +3 -28
  148. package/dist/esm/ptc-para.entry.js +1 -1
  149. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  150. package/dist/esm/ptc-previous-url.entry.js +10 -2
  151. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  152. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  153. package/dist/esm/ptc-product-card.entry.js +1 -1
  154. package/dist/esm/ptc-product-category.entry.js +1 -1
  155. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  156. package/dist/esm/ptc-product-list.entry.js +0 -4
  157. package/dist/esm/ptc-product-sidebar.entry.js +6 -38
  158. package/dist/esm/ptc-quote.entry.js +1 -1
  159. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  160. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  161. package/dist/esm/ptc-related-card-rail.entry.js +38 -42
  162. package/dist/esm/ptc-sticky-icons.entry.js +0 -9
  163. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -16
  164. package/dist/esm/ptc-theater-video-modal.entry.js +9 -43
  165. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  166. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  167. package/dist/esm/ptc-white-paper.entry.js +14 -15
  168. package/dist/esm/ptcw-design.js +1 -3
  169. package/dist/ptcw-design/media/{designer-v6.0.7.svg → designer-v6.0.6.svg} +30 -17
  170. package/dist/ptcw-design/p-0529caaa.entry.js +1 -0
  171. package/dist/ptcw-design/p-077839d5.entry.js +1 -0
  172. package/dist/ptcw-design/p-092e50c9.entry.js +1 -0
  173. package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
  174. package/dist/ptcw-design/p-0e5932f0.entry.js +1 -0
  175. package/dist/ptcw-design/p-0ef61b44.entry.js +1 -0
  176. package/dist/ptcw-design/p-1616a1f7.entry.js +1 -0
  177. package/dist/ptcw-design/p-1e3bf09c.entry.js +1 -0
  178. package/dist/ptcw-design/p-21aa746d.entry.js +1 -0
  179. package/dist/ptcw-design/p-282b7d4e.entry.js +1 -0
  180. package/dist/ptcw-design/p-2a20d4a6.entry.js +1 -0
  181. package/dist/ptcw-design/{p-24776ca2.entry.js → p-2cc7e2a8.entry.js} +1 -1
  182. package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
  183. package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
  184. package/dist/ptcw-design/p-3ee2a531.entry.js +1 -0
  185. package/dist/ptcw-design/p-445329ed.entry.js +1 -0
  186. package/dist/ptcw-design/{p-260e573b.entry.js → p-4ca956c1.entry.js} +1 -1
  187. package/dist/ptcw-design/p-5311c6e1.entry.js +1 -0
  188. package/dist/ptcw-design/p-58e91cb8.entry.js +1 -0
  189. package/dist/ptcw-design/p-5db7f70b.entry.js +1 -0
  190. package/dist/ptcw-design/p-672a349f.js +336 -0
  191. package/dist/ptcw-design/{p-9e4e21a4.entry.js → p-71360e29.entry.js} +1 -1
  192. package/dist/ptcw-design/p-75390f63.entry.js +1 -0
  193. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  194. package/dist/ptcw-design/p-7bdf1e64.entry.js +1 -0
  195. package/dist/ptcw-design/p-7f9ad266.entry.js +1 -0
  196. package/dist/ptcw-design/p-845d10b5.entry.js +1 -0
  197. package/dist/ptcw-design/p-85bdb2d5.entry.js +68 -0
  198. package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
  199. package/dist/ptcw-design/p-9501995f.entry.js +1 -0
  200. package/dist/ptcw-design/p-97b9f41b.entry.js +1 -0
  201. package/dist/ptcw-design/{p-884c335c.entry.js → p-99355e65.entry.js} +1 -1
  202. package/dist/ptcw-design/{p-27c26d50.entry.js → p-9df7489b.entry.js} +1 -1
  203. package/dist/ptcw-design/{p-f5d8a3b1.entry.js → p-bab5bb88.entry.js} +1 -1
  204. package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
  205. package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
  206. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  207. package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
  208. package/dist/ptcw-design/p-f1734520.entry.js +1 -0
  209. package/dist/ptcw-design/{p-0ddf2a09.entry.js → p-f867ebe6.entry.js} +1 -1
  210. package/dist/ptcw-design/{p-b863b296.entry.js → p-fd87fcd5.entry.js} +1 -1
  211. package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
  212. package/dist/ptcw-design/p-fe907670.entry.js +1 -0
  213. package/dist/ptcw-design/ptcw-design.css +2 -2
  214. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  215. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  216. package/dist/types/components/ptc-button/ptc-button.d.ts +1 -2
  217. package/dist/types/components/ptc-card/ptc-card.d.ts +0 -1
  218. package/dist/types/components/ptc-countdown/ptc-countdown.d.ts +1 -0
  219. package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +1 -2
  220. package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +1 -1
  221. package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +0 -1
  222. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -1
  223. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  224. package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +1 -1
  225. package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +0 -6
  226. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  227. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  228. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +1 -1
  229. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +3 -6
  230. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +0 -3
  231. package/dist/types/components/ptc-select/ptc-select.d.ts +1 -2
  232. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +0 -2
  233. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +4 -58
  234. package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +1 -6
  235. package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +1 -1
  236. package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -1
  237. package/dist/types/components.d.ts +24 -137
  238. package/dist/types/utils/validation-messages.d.ts +123 -4
  239. package/package.json +1 -1
  240. package/readme.md +5 -1
  241. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  242. package/dist/cjs/global-418c14b4.js +0 -33
  243. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -674
  244. package/dist/cjs/validation-messages-f1d373e7.js +0 -172
  245. package/dist/collection/global/global.js +0 -7
  246. package/dist/collection/stories/Jumbotron.stories.js +0 -727
  247. package/dist/collection/stories/MinimizedFooter.stories.js +0 -18
  248. package/dist/collection/stories/ResponsiveWrapper.stories.js +0 -21
  249. package/dist/collection/stories/organisms/ptc/Academic Form/preview.stories.js +0 -22
  250. package/dist/collection/stories/organisms/ptc/All Products/preview.stories.js +0 -1616
  251. package/dist/collection/stories/organisms/ptc/Announcement/preview.stories.js +0 -58
  252. package/dist/collection/stories/organisms/ptc/Background Video/preview.stories.js +0 -58
  253. package/dist/collection/stories/organisms/ptc/Blog Author Listing/preview.stories.js +0 -32
  254. package/dist/collection/stories/organisms/ptc/Blog Content/preview.stories.js +0 -317
  255. package/dist/collection/stories/organisms/ptc/Blog Detail/preview.stories.js +0 -500
  256. package/dist/collection/stories/organisms/ptc/Blogs Listing Page/preview.stories.js +0 -368
  257. package/dist/collection/stories/organisms/ptc/Bureau New Dynamic/preview.stories.js +0 -54
  258. package/dist/collection/stories/organisms/ptc/Case Studies/preview.stories.js +0 -243
  259. package/dist/collection/stories/organisms/ptc/Case Studies Detail Page/preview.stories.js +0 -456
  260. package/dist/collection/stories/organisms/ptc/Case Studies Slider/preview.stories.js +0 -384
  261. package/dist/collection/stories/organisms/ptc/Case Studies Slider New/preview.stories.js +0 -171
  262. package/dist/collection/stories/organisms/ptc/Clq Modal Quiz/preview.stories.js +0 -100
  263. package/dist/collection/stories/organisms/ptc/Contact Free Trial Form/preview.stories.js +0 -22
  264. package/dist/collection/stories/organisms/ptc/Countdown Example/preview.stories.js +0 -29
  265. package/dist/collection/stories/organisms/ptc/E Store Build Listing/preview.stories.js +0 -543
  266. package/dist/collection/stories/organisms/ptc/E Store Build Product/preview.stories.js +0 -427
  267. package/dist/collection/stories/organisms/ptc/Eloqua Library Contact Info/preview.stories.js +0 -168
  268. package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor PCenter/preview.stories.js +0 -60
  269. package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor Recipient Id/preview.stories.js +0 -59
  270. package/dist/collection/stories/organisms/ptc/Embedded Form/preview.stories.js +0 -23
  271. package/dist/collection/stories/organisms/ptc/Embedded Form Floating/preview.stories.js +0 -165
  272. package/dist/collection/stories/organisms/ptc/Event Detail/preview.stories.js +0 -16
  273. package/dist/collection/stories/organisms/ptc/Event Jumbotron/preview.stories.js +0 -470
  274. package/dist/collection/stories/organisms/ptc/Event Podcast Slider/preview.stories.js +0 -142
  275. package/dist/collection/stories/organisms/ptc/Events Listing Cards/preview.stories.js +0 -169
  276. package/dist/collection/stories/organisms/ptc/Events Listing Cards Horizontal/preview.stories.js +0 -169
  277. package/dist/collection/stories/organisms/ptc/Featured Events Slider/preview.stories.js +0 -165
  278. package/dist/collection/stories/organisms/ptc/Featured List/preview.stories.js +0 -16
  279. package/dist/collection/stories/organisms/ptc/Filter Level Theater/preview.stories.js +0 -18
  280. package/dist/collection/stories/organisms/ptc/Five Card Value Prop/preview.stories.js +0 -64
  281. package/dist/collection/stories/organisms/ptc/Footer Form/preview.stories.js +0 -18
  282. package/dist/collection/stories/organisms/ptc/Footer V2/preview.stories.js +0 -138
  283. package/dist/collection/stories/organisms/ptc/Footer V2 Cn/preview.stories.js +0 -146
  284. package/dist/collection/stories/organisms/ptc/Form Radio Button/preview.stories.js +0 -42
  285. package/dist/collection/stories/organisms/ptc/Framed Video 16 9/preview.stories.js +0 -31
  286. package/dist/collection/stories/organisms/ptc/Homepage Image Feature/preview.stories.js +0 -41
  287. package/dist/collection/stories/organisms/ptc/Homepage Jumbotron/preview.stories.js +0 -166
  288. package/dist/collection/stories/organisms/ptc/Homepage Toggled Content/preview.stories.js +0 -227
  289. package/dist/collection/stories/organisms/ptc/Hub Of Hubs/preview.stories.js +0 -417
  290. package/dist/collection/stories/organisms/ptc/Intro/preview.stories.js +0 -41
  291. package/dist/collection/stories/organisms/ptc/Jumbotron/preview.stories.js +0 -431
  292. package/dist/collection/stories/organisms/ptc/Jumbotron With Logos/preview.stories.js +0 -431
  293. package/dist/collection/stories/organisms/ptc/Large Bulleted List/preview.stories.js +0 -224
  294. package/dist/collection/stories/organisms/ptc/Large Bulleted List V2/preview.stories.js +0 -326
  295. package/dist/collection/stories/organisms/ptc/Listing Filter/preview.stories.js +0 -256
  296. package/dist/collection/stories/organisms/ptc/Main Nav Product Solutions Tab/preview.stories.js +0 -200
  297. package/dist/collection/stories/organisms/ptc/Mathcad Start Page/preview.stories.js +0 -100
  298. package/dist/collection/stories/organisms/ptc/Media Kit Speed Bump/preview.stories.js +0 -39
  299. package/dist/collection/stories/organisms/ptc/Most Popular News/preview.stories.js +0 -28
  300. package/dist/collection/stories/organisms/ptc/Mvc Form/preview.stories.js +0 -22
  301. package/dist/collection/stories/organisms/ptc/New Buttons/preview.stories.js +0 -125
  302. package/dist/collection/stories/organisms/ptc/Partners Detail/preview.stories.js +0 -151
  303. package/dist/collection/stories/organisms/ptc/Partners Listing/preview.stories.js +0 -394
  304. package/dist/collection/stories/organisms/ptc/Pdf Portal/preview.stories.js +0 -140
  305. package/dist/collection/stories/organisms/ptc/Plm On Demand 1/preview.stories.js +0 -205
  306. package/dist/collection/stories/organisms/ptc/Plm On Demand 2/preview.stories.js +0 -180
  307. package/dist/collection/stories/organisms/ptc/Podcast List/preview.stories.js +0 -175
  308. package/dist/collection/stories/organisms/ptc/Preference Center/preview.stories.js +0 -235
  309. package/dist/collection/stories/organisms/ptc/Preference Center Exit Page/preview.stories.js +0 -85
  310. package/dist/collection/stories/organisms/ptc/Preference Center Update Email/preview.stories.js +0 -54
  311. package/dist/collection/stories/organisms/ptc/Preference Center Update Personal Info/preview.stories.js +0 -59
  312. package/dist/collection/stories/organisms/ptc/Pricing Packaging Table/preview.stories.js +0 -399
  313. package/dist/collection/stories/organisms/ptc/Pricing Packaging Table Subnav/preview.stories.js +0 -179
  314. package/dist/collection/stories/organisms/ptc/Ptc 3 Card Value Prop/preview.stories.js +0 -46
  315. package/dist/collection/stories/organisms/ptc/Ptc Bio Cards/preview.stories.js +0 -741
  316. package/dist/collection/stories/organisms/ptc/Ptc Creo Start Page/preview.stories.js +0 -111
  317. package/dist/collection/stories/organisms/ptc/Ptc Editorial/preview.stories.js +0 -84
  318. package/dist/collection/stories/organisms/ptc/Ptc Form/preview.stories.js +0 -18
  319. package/dist/collection/stories/organisms/ptc/Ptc Icon Card Slider/preview.stories.js +0 -121
  320. package/dist/collection/stories/organisms/ptc/Ptc Icon Component/preview.stories.js +0 -185
  321. package/dist/collection/stories/organisms/ptc/Ptc Icon Sprites/preview.stories.js +0 -150
  322. package/dist/collection/stories/organisms/ptc/Ptc Innovator Toggle/preview.stories.js +0 -421
  323. package/dist/collection/stories/organisms/ptc/Ptc Media Cards/preview.stories.js +0 -133
  324. package/dist/collection/stories/organisms/ptc/Ptc News Detail/preview.stories.js +0 -142
  325. package/dist/collection/stories/organisms/ptc/Ptc News Detail Alternate/preview.stories.js +0 -140
  326. package/dist/collection/stories/organisms/ptc/Ptc Offices/preview.stories.js +0 -405
  327. package/dist/collection/stories/organisms/ptc/Ptc Readmore V3/preview.stories.js +0 -71
  328. package/dist/collection/stories/organisms/ptc/Ptc Showcase Card/preview.stories.js +0 -177
  329. package/dist/collection/stories/organisms/ptc/Ptc Sticky Share Icons/preview.stories.js +0 -184
  330. package/dist/collection/stories/organisms/ptc/Ptc Subnav V1/preview.stories.js +0 -149
  331. package/dist/collection/stories/organisms/ptc/Ptc Subnav V2/preview.stories.js +0 -91
  332. package/dist/collection/stories/organisms/ptc/Ptc Text Copy With Background/preview.stories.js +0 -226
  333. package/dist/collection/stories/organisms/ptc/Ptc Title Demo/preview.stories.js +0 -24
  334. package/dist/collection/stories/organisms/ptc/Ptc Tooltip V3/preview.stories.js +0 -85
  335. package/dist/collection/stories/organisms/ptc/Ptc Two Column Two Media/preview.stories.js +0 -126
  336. package/dist/collection/stories/organisms/ptc/Read More/preview.stories.js +0 -278
  337. package/dist/collection/stories/organisms/ptc/Related Cards/preview.stories.js +0 -107
  338. package/dist/collection/stories/organisms/ptc/Resource Center/preview.stories.js +0 -149
  339. package/dist/collection/stories/organisms/ptc/Search Result/preview.stories.js +0 -62
  340. package/dist/collection/stories/organisms/ptc/Search Result News/preview.stories.js +0 -72
  341. package/dist/collection/stories/organisms/ptc/Searchbar Plm On Demand/preview.stories.js +0 -62
  342. package/dist/collection/stories/organisms/ptc/Seo Test/preview.stories.js +0 -215
  343. package/dist/collection/stories/organisms/ptc/Sequential Slider/preview.stories.js +0 -38
  344. package/dist/collection/stories/organisms/ptc/Sequential Slider Mobile/preview.stories.js +0 -90
  345. package/dist/collection/stories/organisms/ptc/Shortform Agileworx/preview.stories.js +0 -22
  346. package/dist/collection/stories/organisms/ptc/Storefront Enhanced Product Listing/preview.stories.js +0 -132
  347. package/dist/collection/stories/organisms/ptc/Success Path Details Page/preview.stories.js +0 -236
  348. package/dist/collection/stories/organisms/ptc/Three Column Text/preview.stories.js +0 -75
  349. package/dist/collection/stories/organisms/ptc/Three Up Text Cards/preview.stories.js +0 -134
  350. package/dist/collection/stories/organisms/ptc/Two Column Media/preview.stories.js +0 -181
  351. package/dist/collection/stories/organisms/ptc/Two Column With Toggle/preview.stories.js +0 -549
  352. package/dist/collection/stories/organisms/ptc/Value Led Resource/preview.stories.js +0 -479
  353. package/dist/collection/stories/organisms/ptc/Volvo Three Col/preview.stories.js +0 -115
  354. package/dist/collection/stories/organisms/ptc/Vuforia Quiz/preview.stories.js +0 -26
  355. package/dist/collection/stories/organisms/ptc/White Paper/preview.stories.js +0 -174
  356. package/dist/collection/utils/fef-logger.js +0 -23
  357. package/dist/esm/component-9beac35b.js +0 -1802
  358. package/dist/esm/global-1a5f28d5.js +0 -31
  359. package/dist/esm/ptc-multi-select_2.entry.js +0 -669
  360. package/dist/esm/validation-messages-1379b825.js +0 -169
  361. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  362. package/dist/ptcw-design/p-02822616.entry.js +0 -1
  363. package/dist/ptcw-design/p-05c29cc2.entry.js +0 -1
  364. package/dist/ptcw-design/p-0efedf59.js +0 -1
  365. package/dist/ptcw-design/p-1454ba84.entry.js +0 -1
  366. package/dist/ptcw-design/p-15a40f78.entry.js +0 -1
  367. package/dist/ptcw-design/p-18851303.entry.js +0 -1
  368. package/dist/ptcw-design/p-1feb2812.entry.js +0 -1
  369. package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
  370. package/dist/ptcw-design/p-38e5e590.entry.js +0 -1
  371. package/dist/ptcw-design/p-3b9fbbaa.js +0 -1
  372. package/dist/ptcw-design/p-3e4ec8ef.entry.js +0 -1
  373. package/dist/ptcw-design/p-539639ff.entry.js +0 -1
  374. package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
  375. package/dist/ptcw-design/p-66ecd7b9.entry.js +0 -1
  376. package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
  377. package/dist/ptcw-design/p-78370e3d.entry.js +0 -1
  378. package/dist/ptcw-design/p-7e8daa35.entry.js +0 -1
  379. package/dist/ptcw-design/p-98426799.js +0 -203
  380. package/dist/ptcw-design/p-98844b50.js +0 -134
  381. package/dist/ptcw-design/p-a2c7df64.entry.js +0 -1
  382. package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
  383. package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
  384. package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
  385. package/dist/ptcw-design/p-b6255525.entry.js +0 -1
  386. package/dist/ptcw-design/p-bb9a879f.entry.js +0 -1
  387. package/dist/ptcw-design/p-bc146844.entry.js +0 -1
  388. package/dist/ptcw-design/p-c5f9bafe.entry.js +0 -68
  389. package/dist/ptcw-design/p-c82eaf9d.entry.js +0 -1
  390. package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
  391. package/dist/ptcw-design/p-d6845e91.entry.js +0 -1
  392. package/dist/ptcw-design/p-ddb898c7.entry.js +0 -1
  393. package/dist/ptcw-design/p-e3867512.entry.js +0 -1
  394. package/dist/ptcw-design/p-e6619d63.entry.js +0 -1
  395. package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
  396. package/dist/types/global/global.d.ts +0 -4
  397. package/dist/types/utils/fef-logger.d.ts +0 -10
@@ -4,122 +4,79 @@ export default {
4
4
  title: 'Atoms/ptc-textfield',
5
5
  tags: [ 'autodocs' ],
6
6
  argTypes: {
7
- alertText: {
8
- control: 'text',
9
- description: 'Alert text (blue)',
10
- defaultValue: { summary: '' }
11
- },
12
- alertTextContent: {
13
- control: 'text',
14
- description: 'Alert text content - below alert text (grey)',
15
- defaultValue: { summary: '' }
16
- },
17
7
  disabled: {
18
8
  control: 'boolean',
19
- description: 'Disable the field?',
9
+ description: '',
20
10
  defaultValue: { summary: 'false' }
21
11
  },
22
12
  fieldId: {
23
13
  control: 'text',
24
- description: 'ID',
25
- defaultValue: { summary: '' }
14
+ description: '',
15
+ defaultValue: { summary: 'undefined' }
26
16
  },
27
- fieldName: {
17
+ helpertext: {
28
18
  control: 'text',
29
- description: 'input "name" value. e.g.: phone, email, firstname, lastname',
30
- defaultValue: { summary: 'email' }
31
- },
32
- helpertext: { control: 'text', description: 'Validation text (red)', defaultValue: { summary: '' } },
33
- ignoreBlindSubmit: {
34
- control: 'boolean',
35
- description: 'Ignore Blind Submit?',
36
- defaultValue: { summary: 'false' }
19
+ description: '',
20
+ defaultValue: { summary: 'Please enter a value' }
37
21
  },
38
- infoText: {
39
- control: 'text',
40
- description: 'Info Text (black)',
41
- defaultValue: { summary: '' }
42
- },
43
- // inputValue: { control: 'text', description: '', defaultValue: { summary: '' } },
22
+ inputValue: { control: 'text', description: '', defaultValue: { summary: '' } },
44
23
  labelText: {
45
24
  control: 'text',
46
- description: 'Label Text',
25
+ description: '',
47
26
  defaultValue: { summary: 'Email' }
48
27
  },
49
- placeholderText: {
28
+ name: {
50
29
  control: 'text',
51
- description: 'Place holder Text',
52
- defaultValue: { summary: '' }
30
+ description: '',
31
+ defaultValue: { summary: 'email' }
53
32
  },
54
33
  ptcDataEloquaName: {
55
34
  control: 'text',
56
- description: 'Eloqua Data Name (for the eloqua)',
57
- defaultValue: { summary: '' }
58
- },
59
- ptcDataTargetEloquaName: {
60
- control: 'text',
61
- description: 'Eloqua Target Data Name (for the eloqua)',
62
- defaultValue: { summary: '' }
35
+ description: '',
36
+ defaultValue: { summary: 'undefined' }
63
37
  },
64
38
  ptcMaxLength: {
65
- control: 'number',
66
- description: 'Text counter limit',
67
- defaultValue: { summary: '' }
39
+ control: '',
40
+ description: '',
41
+ defaultValue: { summary: 'undefined' }
68
42
  },
69
43
  required: {
70
44
  control: 'boolean',
71
- description: 'Is this a mandatory field?',
45
+ description: '',
72
46
  defaultValue: { summary: 'true' }
73
47
  },
74
- styles: {
75
- control: 'text',
76
- description: 'Inject styles for customization',
77
- defaultValue: { summary: '' }
78
- },
79
48
  type: {
80
49
  control: 'text',
81
- description: 'text, button, email, file and etc. This value triggers different validation',
50
+ description: 'button, email, file and etc. ',
82
51
  defaultValue: { summary: 'text' }
83
52
  }
84
53
  }
85
54
  };
86
55
 
87
56
  const Template = args => { return html `<ptc-textfield
88
- alert-text=${args.alertText}
89
- alert-text-content=${args.alertTextContent}
90
57
  disabled=${args.disabled}
91
58
  field-id=${args.fieldId}
92
- field-name=${args.fieldName}
93
59
  helpertext=${args.helpertext}
94
- ignore-blind-submit=${args.ignoreBlindSubmit}
95
- info-text=${args.infoText}
60
+ input-value=${args.inputValue}
96
61
  label-text=${args.labelText}
97
- placeholder-text=${args.placeholderText}
62
+ name=${args.name}
98
63
  ptc-data-eloqua-name=${args.ptcDataEloquaName}
99
- ptc-data-target-eloqua-name=${args.ptcDataTargetEloquaName}
100
64
  ptc-max-length=${args.ptcMaxLength}
101
65
  required=${args.required}
102
- styles=${args.styles}
103
66
  type=${args.type}
104
67
  ></ptc-textfield>`;}
105
68
 
106
69
  export const Example = Template.bind({});
107
70
 
108
71
  Example.args = {
109
- alertText: 'Alert text',
110
- alertTextContent: 'Alert text content',
111
72
  disabled: 'false',
112
- fieldId: 'ID',
113
- fieldName: 'company field',
114
- helpertext: 'Helper text',
115
- ignoreBlindSubmit: 'false',
116
- infoText: 'Info text',
117
- labelText: 'Lable Name',
118
- placeholderText: 'Place hoder text goes here',
119
- ptcDataEloquaName: 'C_EmailAddress',
120
- ptcDataTargetEloquaName: '',
121
- ptcMaxLength: '',
73
+ fieldId: 'ptc-field-name',
74
+ helpertext: 'Please enter a value',
75
+ inputValue: '',
76
+ labelText: 'Email',
77
+ name: 'email',
78
+ ptcDataEloquaName: 'data-eloqua-name-value',
79
+ ptcMaxLength: 'undefined',
122
80
  required: 'true',
123
- styles: '',
124
- type: 'text'
81
+ type: 'email'
125
82
  }
@@ -1,5 +1,4 @@
1
1
  import { html } from 'lit';
2
- import { unsafeHTML } from 'lit/directives/unsafe-html.js';
3
2
 
4
3
  export default {
5
4
  title: 'Atoms/ptc-title',
@@ -78,36 +77,26 @@ export default {
78
77
  isPlmHub: {
79
78
  description: "is it a title for PLM Hub page?",
80
79
  defaultValue: {summary: false}
81
- },
82
- slotContent: {
83
- name: 'Default Slot',
84
- description: 'Text Content between the <ptc-title> tags.',
85
- control: 'text',
86
- table: {
87
- category: 'Default Slot',
88
- type: {
89
- summary: 'html',
90
- },
91
- }
92
80
  }
93
81
  },
94
82
  };
95
83
 
96
- const Template = args => {return html`<ptc-title
97
- type="${args.type}"
98
- text-align="${args.textAlign}"
99
- title-size="${args.titleSize}"
100
- title-color="${args.titleColor}"
101
- upperline="${args.upperline}"
102
- title-display="${args.titleDisplay}"
103
- title-shadow="${args.titleShadow}"
104
- title-height="${args.titleHeight}"
105
- title-margin="${args.titleMargin}"
106
- title-weight="${args.titleWeight}"
107
- is-plm-hub="${args.isPlmHub}"
108
- >
109
- ${unsafeHTML(args.slotContent)}
110
- </ptc-title>`;
84
+ const Template = args => {
85
+ return html`<ptc-title
86
+ type="${args.type}"
87
+ text-align="${args.textAlign}"
88
+ title-size="${args.titleSize}"
89
+ title-color="${args.titleColor}"
90
+ upperline="${args.upperline}"
91
+ title-display="${args.titleDisplay}"
92
+ title-shadow="${args.titleShadow}"
93
+ title-height="${args.titleHeight}"
94
+ title-margin="${args.titleMargin}"
95
+ title-weight="${args.titleWeight}"
96
+ is-plm-hub="${args.isPlmHub}"
97
+ >
98
+ Title Example
99
+ </ptc-title>`;
111
100
  };
112
101
 
113
102
  export const Example = Template.bind({});
@@ -123,5 +112,4 @@ Example.args = {
123
112
  titleWeight: 'w-8',
124
113
  titleShadow: '',
125
114
  isPlmHub: false,
126
- slotContent:'Lorem ipsum',
127
115
  };
@@ -0,0 +1,45 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'Organisms/E-Support Organisms/Case Tracker'
5
+
6
+ }
7
+ const CaseTracker = args => {
8
+ return html `
9
+
10
+ <ptc-spacer></ptc-spacer>
11
+ <ptc-spacer></ptc-spacer>
12
+ <ptc-spacer></ptc-spacer>
13
+ <div class="ptc-container is-grid">
14
+ <div class="is-col-12 is-col-6-md">
15
+ <ptc-title upperline="none">Case Tracker - Authorized Use Only</ptc-title>
16
+ <ptc-spacer></ptc-spacer>
17
+ <ptc-spacer></ptc-spacer>
18
+ <ptc-para>If you want to use this application on behalf of a customer use this search from to lookup the customer record. When you have found the customer hit the Next > button</ptc-para>
19
+ <ptc-textfield field-id="contact-email" label-text="Customer Name" type="text" ptc-data-eloqua-name="C_EmailAddress" field-name="email"></ptc-textfield>
20
+ <ptc-textfield field-id="contact-email" label-text="Customer Number" type="text" ptc-data-eloqua-name="C_EmailAddress" field-name="email"></ptc-textfield>
21
+ <ptc-button color="ptc-quaternary" disabled="false" link-href="https://www.ptc.com" link-title="PTC" rel="undefined" tab-nav="0" target="_self" text-align="undefined" type="button">Search</ptc-button>
22
+ <ptc-button color="ptc-quaternary" disabled="false" link-href="https://www.ptc.com" link-title="PTC" rel="undefined" tab-nav="0" target="_self" text-align="undefined" type="button">Next</ptc-button>
23
+ </div>
24
+ <div class="is-col-12 is-col-2-md">
25
+
26
+ </div>
27
+ <div class="is-col-12 is-col-3-md">
28
+ <ptc-spacer></ptc-spacer>
29
+ <ptc-spacer></ptc-spacer>
30
+ <ptc-spacer></ptc-spacer>
31
+ <ptc-spacer></ptc-spacer>
32
+ <div style="border: solid; padding: 5px;">
33
+ <ptc-title upperline="none" type="h3">search tips</ptc-title>
34
+ <ul>
35
+ <li>You can use this search form to use this application on behalf of a customer.</li>
36
+ <li>You can use this search form to use this application on behalf of a customer.</li>
37
+ </ul>
38
+ </div>
39
+ </div>
40
+
41
+
42
+ </div>
43
+ `;}
44
+
45
+ export const Preview = CaseTracker.bind();
@@ -0,0 +1,47 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'Organisms/E-Support Organisms/Support Article'
5
+
6
+ }
7
+ const ArticlePage = args => {
8
+ return html `
9
+
10
+ <div class="ptc-container">
11
+
12
+ <ptc-title upperline="" type="h4" title-color="grey">How to run Apache, Tomcat, Windchill Directory Server </ptc-title>
13
+ <ptc-para>Modified: 23-Nov-2023 | LastSeen: 17-Jun-2024
14
+ <ptc-dropdown label="Available in:" listitems="" theme="support">
15
+ <item selected="" label="English"></item>
16
+ <item label="English"></item>
17
+ <item label="English"></item>
18
+
19
+ </ptc-dropdown>
20
+
21
+ </ptc-para>
22
+
23
+ <div style="background-color: rgb(238, 238, 238);; padding:2px">
24
+ <ptc-title type="h5" upperline="">Public</ptc-title>
25
+ <ptc-para >
26
+ Created by Steven Jin and improved by Mi Yeon Grace Jin, Amit Deshpande, Hideyuki Akiyama, Lily Liu, Arshad Imam, Luis Barbosa, Feng Xiang Cliff Tian, Swapnil Deshmukh, Kellan Chen, Teresa Man, Chao Max Wang, Saurabh Ghewande, Mahesh Lomate, Aditya Chaure, Tsutomu Seki, Salesforce Data Manipulation User, Steven Jin, Shirley Yang
27
+ Customer Views: 24559 | Useful Ratings (Customers): 118 | Useful Ratings (PTC): 45 | Cases Solved: 154
28
+ </ptc-para>
29
+
30
+ </div>
31
+ <ptc-spacer></ptc-spacer>
32
+ <ptc-spacer></ptc-spacer>
33
+ <div>
34
+ <ptc-title upperline="" type="h4">Description</ptc-title>
35
+ <hr style="color:green">
36
+ <ptc-para>
37
+ <ul>
38
+ <li>How to run Apache HTTP Server, Tomcat, WindchillDS and, Windchill as a Windows service</li>
39
+ <li>How to run Apache HTTP Server, Tomcat, WindchillDS and, Windchill as a Windows service</li>
40
+ <li>How to run Apache HTTP Server, Tomcat, WindchillDS and, Windchill as a Windows service</li>
41
+ </ul>
42
+ </ptc-para>
43
+ </div>
44
+ </div>
45
+ `;}
46
+
47
+ export const Preview = ArticlePage.bind();
@@ -0,0 +1,157 @@
1
+ import { html } from 'lit';
2
+
3
+ export default {
4
+ title: 'Organisms/E-Support Organisms/Support Page'
5
+
6
+ }
7
+ const SupportPage = args => {
8
+ return html `
9
+
10
+ <ptc-spacer></ptc-spacer>
11
+ <ptc-spacer></ptc-spacer>
12
+ <ptc-spacer></ptc-spacer>
13
+ <ptc-spacer></ptc-spacer>
14
+ <div class="ptc-container is-grid has-col-gap green-container">
15
+ <div class="is-col-12 is-col-7-md search-container">
16
+
17
+ <ptc-spacer></ptc-spacer>
18
+ <ptc-spacer></ptc-spacer>
19
+ <ptc-spacer></ptc-spacer>
20
+ <ptc-title type="h2" text-align="center" title-size="x-large" title-color="white" upperline="no-upperline" title-display="inline-block" title-shadow="" title-height="densest" title-margin="margin-3" title-weight="w-8" is-plm-hub="false">
21
+ Search the Knowledge Base
22
+ </ptc-title>
23
+ <ptc-search-field placeholder-label="Search Technical Support Documentation and Articles" ></ptc-search-field>
24
+ </div>
25
+ <div class="is-col-12 is-col-5-md form-section">
26
+ <ptc-title upperline="none">Popular Tasks</ptc-title>
27
+ <!-- <ul> -->
28
+ <ptc-link>Product Pages</ptc-link>
29
+ <ptc-link>Product Pages</ptc-link>
30
+ <ptc-link>Product Pages</ptc-link>
31
+ <ptc-link>Product Pages</ptc-link>
32
+
33
+ </div>
34
+ </div>
35
+
36
+ <ptc-spacer></ptc-spacer>
37
+ <ptc-spacer></ptc-spacer>
38
+
39
+ <div class="ptc-container is-grid has-col-gap link-container ">
40
+ <div class="is-col-1"></div>
41
+ <div class="is-col-2 links"><ptc-link>Support</ptc-link>
42
+ <button class="btn" role="button" >
43
+ <span class="arrow">
44
+ <icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
45
+ </span>
46
+ </button>
47
+ </div>
48
+ <div class="is-col-2 llinks"><ptc-link>Manage and monitor software</ptc-link>
49
+ <button class="btn" role="button" >
50
+ <span class="arrow">
51
+ <icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
52
+ </span>
53
+ </button>
54
+ </div>
55
+ <div class="is-col-2 llinks"><ptc-link>Learn</ptc-link>
56
+ <button class="btn" role="button" >
57
+ <span class="arrow">
58
+ <icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
59
+ </span>
60
+ </button>
61
+ </div>
62
+ <div class="is-col-2 llinks"><ptc-link>Service and Expertise</ptc-link>
63
+ <button class="btn" role="button" >
64
+ <span class="arrow">
65
+ <icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
66
+ </span>
67
+ </button>
68
+ </div>
69
+ <div class="is-col-2 llinks"><ptc-link>PTC Partner Network</ptc-link>
70
+ <button class="btn" role="button" >
71
+ <span class="arrow">
72
+ <icon-asset slot="icon" type="solid" size="large" name="arrow-down" color="ptc-green"></icon-asset>
73
+ </span>
74
+ </button>
75
+ </div>
76
+ <div class="is-col-1 links"></div>
77
+ </div>
78
+ <style>
79
+
80
+
81
+ .btn {
82
+ display: none;
83
+ padding: 10px;
84
+ font-size: 16px;
85
+ font-weight: 500;
86
+ border: none;
87
+ background-color: transparent;
88
+ cursor: pointer;
89
+ align-items: center;
90
+ span {
91
+ margin-right: 8px;
92
+ align-items: center;
93
+ }
94
+
95
+
96
+
97
+ }
98
+
99
+ .llinks:hover .btn {
100
+ display: block;
101
+
102
+
103
+ }
104
+
105
+ .links:hover .btn {
106
+ display: flex;
107
+ }
108
+ .green-container {
109
+ background-color:#b3dda4 ;
110
+ padding: 10px;
111
+ .search-container{
112
+ background-color: #00890B;
113
+ padding:10px;
114
+ align-items: center;
115
+ }
116
+ .form-section {
117
+ background-color: white;
118
+ padding: 10px;
119
+
120
+ ptc-link {
121
+ padding: 5px;
122
+ }
123
+ }
124
+ }
125
+ .links {
126
+ align-content: center;
127
+ text-align: center;
128
+ padding-bottom: 16px;
129
+ align-items: center;
130
+ display: flex;
131
+ flex-direction: column;
132
+ align-items: center;
133
+ justify-content: space-between;
134
+ }
135
+
136
+ .llinks {
137
+ align-content: center;
138
+ text-align: center;
139
+ padding-bottom: 16px;
140
+ border-left: solid 2px #b3dda4;
141
+ padding: 10px;
142
+ display: flex;
143
+ flex-direction: column;
144
+ align-items: center;
145
+ justify-content: space-between;
146
+
147
+ }
148
+ .link-container {
149
+ border-bottom: solid 2px #b3dda4;
150
+ /* margin: 15px; */
151
+ }
152
+
153
+
154
+ </style>
155
+ `;}
156
+
157
+ export const Preview = SupportPage.bind();
@@ -1,5 +1,4 @@
1
- // 1. Hardcoded fallback messages
2
- const fallbackValidationMessages = {
1
+ const ValidationMessages = {
3
2
  de: {
4
3
  required: 'Dieses Feld ist erforderlich.',
5
4
  select: 'Bitte wählen Sie einen Wert.',
@@ -121,50 +120,4 @@ const fallbackValidationMessages = {
121
120
  confirmemail: 'Los correos electrónicos deben coincidir.'
122
121
  }
123
122
  };
124
- // 2. Remote messages (fetched from API)
125
- let remoteValidationMessages = null;
126
- let messagesLoaded = false;
127
- // 3. Load messages from API
128
- async function loadValidationMessages() {
129
- if (messagesLoaded)
130
- return;
131
- try {
132
- const apiUrl = `${window.location.origin}/api/forms/validation-messages`;
133
- const response = await fetch(apiUrl);
134
- if (!response.ok) {
135
- ptcLogger.warn(`Validation API returned status ${response.status}`);
136
- return;
137
- }
138
- const data = await response.json();
139
- if (data && Object.keys(data).length > 0) {
140
- remoteValidationMessages = data;
141
- }
142
- else {
143
- ptcLogger.warn('Validation API returned empty data, using fallback messages');
144
- }
145
- }
146
- catch (error) {
147
- ptcLogger.error('Error fetching validation messages:', error);
148
- }
149
- finally {
150
- messagesLoaded = true;
151
- }
152
- }
153
- // 4. Optional direct getter (used if needed elsewhere)
154
- function getValidationMessageText(type, lang = 'en') {
155
- var _a, _b, _c, _d;
156
- return ((_d = (_b = (_a = remoteValidationMessages === null || remoteValidationMessages === void 0 ? void 0 : remoteValidationMessages[lang]) === null || _a === void 0 ? void 0 : _a[type]) !== null && _b !== void 0 ? _b : (_c = fallbackValidationMessages === null || fallbackValidationMessages === void 0 ? void 0 : fallbackValidationMessages[lang]) === null || _c === void 0 ? void 0 : _c[type]) !== null && _d !== void 0 ? _d : '');
157
- }
158
- // 5. Proxy to allow usage like: ValidationMessages[lang][type]
159
- const ValidationMessages = new Proxy({}, {
160
- get(_, lang) {
161
- return new Proxy({}, {
162
- get(_, type) {
163
- return getValidationMessageText(type, lang);
164
- }
165
- });
166
- }
167
- });
168
- // 6. Export everything
169
- export { loadValidationMessages, getValidationMessageText, ValidationMessages // This lets existing components work without change
170
- };
123
+ export { ValidationMessages };
@@ -164,6 +164,12 @@ export const MaxWidthContainer: {
164
164
  new (): MaxWidthContainer;
165
165
  };
166
166
 
167
+ interface ModalFormExample extends Components.ModalFormExample, HTMLElement {}
168
+ export const ModalFormExample: {
169
+ prototype: ModalFormExample;
170
+ new (): ModalFormExample;
171
+ };
172
+
167
173
  interface MostPopularNews extends Components.MostPopularNews, HTMLElement {}
168
174
  export const MostPopularNews: {
169
175
  prototype: MostPopularNews;