@ptcwebops/ptcw-design 6.4.7-beta → 6.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (429) hide show
  1. package/dist/cjs/blog-detail-content_2.cjs.entry.js +1 -1
  2. package/dist/cjs/blogs-search-section.cjs.entry.js +1 -4
  3. package/dist/cjs/bundle-example.cjs.entry.js +1 -1
  4. package/dist/cjs/buying-option-card.cjs.entry.js +1 -1
  5. package/dist/cjs/buying-option-cards-slider.cjs.entry.js +43 -1
  6. package/dist/cjs/{component-6a178a16.js → component-06dda623.js} +1494 -3305
  7. package/dist/cjs/component-5b5b6a98.js +1819 -0
  8. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +1 -3
  9. package/dist/cjs/event-podcast-slider-example.cjs.entry.js +1 -1
  10. package/dist/cjs/featured-events-slider-example.cjs.entry.js +1 -1
  11. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  12. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  13. package/dist/cjs/homepage-toggled-content.cjs.entry.js +2 -4
  14. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  15. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +1 -1
  16. package/dist/cjs/list-item.cjs.entry.js +1 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/ptc-announcement.cjs.entry.js +2 -3
  19. package/dist/cjs/ptc-back-to-top.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
  21. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +1 -3
  23. package/dist/cjs/ptc-card_2.cjs.entry.js +5 -6
  24. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-checkbox-group.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-checkbox.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +24 -24
  28. package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
  30. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
  35. package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +6 -724
  36. package/dist/cjs/ptc-form-radio-button.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-icon-component.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +1 -1
  41. package/dist/cjs/ptc-img.cjs.entry.js +7 -87
  42. package/dist/cjs/ptc-info-tile.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-inline-cta.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-jumbotron.cjs.entry.js +5 -11
  45. package/dist/cjs/ptc-link.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  47. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +1 -1
  48. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +2 -5
  49. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +730 -0
  50. package/dist/cjs/ptc-nav-card.cjs.entry.js +1 -1
  51. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
  52. package/dist/cjs/ptc-office-location-card.cjs.entry.js +1 -1
  53. package/dist/cjs/ptc-office-locations.cjs.entry.js +1 -1
  54. package/dist/cjs/ptc-para.cjs.entry.js +1 -1
  55. package/dist/cjs/ptc-picture.cjs.entry.js +18 -1
  56. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  57. package/dist/cjs/ptc-preloader.cjs.entry.js +1 -1
  58. package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -11
  59. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +10 -26
  60. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
  61. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  62. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  63. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  64. package/dist/cjs/ptc-quantity-counter.cjs.entry.js +1 -1
  65. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  66. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  67. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +1 -1
  68. package/dist/cjs/ptc-search-field.cjs.entry.js +1 -1
  69. package/dist/cjs/ptc-slit-card.cjs.entry.js +1 -1
  70. package/dist/cjs/ptc-social-icons.cjs.entry.js +1 -1
  71. package/dist/cjs/ptc-subnav-v2.cjs.entry.js +430 -0
  72. package/dist/cjs/ptc-svg-btn.cjs.entry.js +1 -1
  73. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
  74. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +1 -1
  75. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  76. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  77. package/dist/cjs/ptc-white-paper.cjs.entry.js +9 -19
  78. package/dist/cjs/ptcw-design.cjs.js +1 -1
  79. package/dist/cjs/sequential-bundle-example.cjs.entry.js +1 -1
  80. package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +1 -1
  81. package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +1 -1
  82. package/dist/collection/collection-manifest.json +1 -1
  83. package/dist/collection/components/buying-option-card/buying-option-card.css +11 -10
  84. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.css +25 -19
  85. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.js +42 -0
  86. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +1 -3
  87. package/dist/collection/components/icon-asset/media/designer-v6.0.7.svg +2 -30
  88. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +2 -25
  89. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +1 -0
  90. package/dist/collection/components/list-item/list-item.css +2 -1
  91. package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +1 -0
  92. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +1 -4
  93. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +1 -1
  94. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +383 -263
  95. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +1 -1
  96. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +13 -17
  97. package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +13 -17
  98. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +11 -16
  99. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +2 -1
  100. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +1 -3
  101. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +11 -16
  102. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +11 -16
  103. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +12 -16
  104. package/dist/collection/components/ptc-announcement/ptc-announcement.css +0 -2
  105. package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -2
  106. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +1 -0
  107. package/dist/collection/components/ptc-background-video/ptc-background-video.css +8 -4
  108. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +4 -26
  109. package/dist/collection/components/ptc-card/ptc-card.css +4 -40
  110. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +1 -3
  111. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +11 -40
  112. package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +3 -1
  113. package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.css +3 -1
  114. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +3 -0
  115. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +2 -0
  116. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +0 -24
  117. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +3 -4
  118. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +1 -29
  119. package/dist/collection/components/ptc-footer/ptc-footer-v2.css +3 -0
  120. package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.css +2 -0
  121. package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.css +1 -0
  122. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +11 -16
  123. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +0 -1
  124. package/dist/collection/components/ptc-img/ptc-img.css +0 -76
  125. package/dist/collection/components/ptc-img/ptc-img.js +7 -132
  126. package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +2 -1
  127. package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +3 -0
  128. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +38 -38
  129. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +4 -28
  130. package/dist/collection/components/ptc-link/ptc-link.css +2 -1
  131. package/dist/collection/components/ptc-media-card/ptc-media-card.css +4 -2
  132. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +0 -6
  133. package/dist/collection/components/ptc-modal/ptc-modal.css +2 -5
  134. package/dist/collection/components/ptc-modal/ptc-modal.js +25 -25
  135. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +2 -0
  136. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +1 -4
  137. package/dist/collection/components/ptc-multi-select/ptc-multi-select.css +4 -1
  138. package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +0 -34
  139. package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.css +2 -0
  140. package/dist/collection/components/ptc-office-locations/ptc-office-locations.css +3 -3
  141. package/dist/collection/components/ptc-para/ptc-para.css +0 -3
  142. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  143. package/dist/collection/components/ptc-picture/ptc-picture.css +14 -7
  144. package/dist/collection/components/ptc-picture/ptc-picture.js +40 -0
  145. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +0 -49
  146. package/dist/collection/components/ptc-preloader/ptc-preloader.css +111 -147
  147. package/dist/collection/components/ptc-preloader/ptc-preloader.js +1 -1
  148. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +21 -9
  149. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +3 -4
  150. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +0 -16
  151. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +1 -28
  152. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +1 -0
  153. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +9 -25
  154. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +28 -12
  155. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  156. package/dist/collection/components/ptc-product-card/ptc-product-card.css +0 -24
  157. package/dist/collection/components/ptc-product-category/ptc-product-category.css +0 -24
  158. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +0 -24
  159. package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +3 -1
  160. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +0 -24
  161. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +0 -24
  162. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +2 -1
  163. package/dist/collection/components/ptc-search-field/ptc-search-field.css +13 -0
  164. package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
  165. package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +0 -8
  166. package/dist/collection/components/ptc-social-icons/ptc-social-icons.css +1 -0
  167. package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.css +396 -0
  168. package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.js +483 -0
  169. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +0 -16
  170. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +0 -2
  171. package/dist/collection/components/ptc-textfield/ptc-textfield.css +11 -1
  172. package/dist/collection/components/ptc-textfield/ptc-textfield.js +5 -3
  173. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +1 -25
  174. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +1 -24
  175. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +0 -24
  176. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +3 -54
  177. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +8 -18
  178. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +2 -1
  179. package/dist/collection/stories/organisms/ptc/Buying Options Cards Slider/preview.stories.js +7 -6
  180. package/dist/collection/stories/organisms/ptc/Subnav New/preview.stories.js +360 -0
  181. package/dist/custom-elements/index.d.ts +6 -6
  182. package/dist/custom-elements/index.js +629 -381
  183. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  184. package/dist/esm/blog-detail-layout.entry.js +1 -1
  185. package/dist/esm/blogs-search-section.entry.js +2 -5
  186. package/dist/esm/bundle-example.entry.js +1 -1
  187. package/dist/esm/buying-option-card.entry.js +1 -1
  188. package/dist/esm/buying-option-cards-slider.entry.js +43 -1
  189. package/dist/esm/{component-80f298b4.js → component-274da230.js} +1482 -3281
  190. package/dist/esm/component-341e4eaa.js +1802 -0
  191. package/dist/esm/dynamic-box-bundle.entry.js +1 -3
  192. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  193. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  194. package/dist/esm/featured-list.entry.js +1 -1
  195. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  196. package/dist/esm/homepage-toggled-content.entry.js +3 -5
  197. package/dist/esm/innovator-toggle-container.entry.js +2 -2
  198. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  199. package/dist/esm/list-item.entry.js +1 -1
  200. package/dist/esm/loader.js +1 -1
  201. package/dist/esm/most-popular-news.entry.js +1 -1
  202. package/dist/esm/my-component.entry.js +1 -1
  203. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  204. package/dist/esm/ptc-announcement.entry.js +2 -3
  205. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  206. package/dist/esm/ptc-background-video.entry.js +2 -2
  207. package/dist/esm/ptc-bio-card.entry.js +1 -1
  208. package/dist/esm/ptc-button.entry.js +1 -1
  209. package/dist/esm/ptc-card-bottom_2.entry.js +1 -3
  210. package/dist/esm/ptc-card_2.entry.js +5 -6
  211. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  212. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  213. package/dist/esm/ptc-checkbox.entry.js +1 -1
  214. package/dist/esm/ptc-close-icon_2.entry.js +24 -24
  215. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  216. package/dist/esm/ptc-data-lookup.entry.js +2 -1
  217. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  218. package/dist/esm/ptc-featured-list.entry.js +1 -1
  219. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  220. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  221. package/dist/esm/ptc-footer.entry.js +1 -1
  222. package/dist/esm/{ptc-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +8 -724
  223. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  224. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  225. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  226. package/dist/esm/ptc-icon-card-slider-example.entry.js +1 -1
  227. package/dist/esm/ptc-icon-card.entry.js +1 -1
  228. package/dist/esm/ptc-icon-component.entry.js +1 -1
  229. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  230. package/dist/esm/ptc-img.entry.js +7 -87
  231. package/dist/esm/ptc-info-tile.entry.js +1 -1
  232. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  233. package/dist/esm/ptc-jumbotron.entry.js +5 -11
  234. package/dist/esm/ptc-link.entry.js +2 -2
  235. package/dist/esm/ptc-media-card.entry.js +2 -2
  236. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  237. package/dist/esm/ptc-modal-quiz.entry.js +2 -5
  238. package/dist/esm/ptc-multi-select_2.entry.js +725 -0
  239. package/dist/esm/ptc-nav-card.entry.js +1 -1
  240. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  241. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  242. package/dist/esm/ptc-office-locations.entry.js +1 -1
  243. package/dist/esm/ptc-para.entry.js +2 -2
  244. package/dist/esm/ptc-picture.entry.js +18 -1
  245. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  246. package/dist/esm/ptc-preloader.entry.js +1 -1
  247. package/dist/esm/ptc-previous-url.entry.js +2 -11
  248. package/dist/esm/ptc-pricing-packaging-table.entry.js +11 -27
  249. package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
  250. package/dist/esm/ptc-product-card.entry.js +1 -1
  251. package/dist/esm/ptc-product-category.entry.js +1 -1
  252. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  253. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  254. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  255. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  256. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  257. package/dist/esm/ptc-search-field.entry.js +1 -1
  258. package/dist/esm/ptc-slit-card.entry.js +1 -1
  259. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  260. package/dist/esm/ptc-social-icons.entry.js +1 -1
  261. package/dist/esm/ptc-subnav-v2.entry.js +426 -0
  262. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  263. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  264. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  265. package/dist/esm/ptc-title.entry.js +1 -1
  266. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  267. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  268. package/dist/esm/ptc-white-paper.entry.js +9 -19
  269. package/dist/esm/ptcw-design.js +1 -1
  270. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  271. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +1 -1
  272. package/dist/esm/storefront-enhanced-product-list-example.entry.js +1 -1
  273. package/dist/esm/{utils-bdd0cc16.js → utils-a64ba942.js} +1 -1
  274. package/dist/ptcw-design/media/designer-v6.0.7.svg +2 -30
  275. package/dist/ptcw-design/p-009fbf1f.entry.js +1 -0
  276. package/dist/ptcw-design/p-00e21489.entry.js +1 -0
  277. package/dist/ptcw-design/p-09be9b46.entry.js +1 -0
  278. package/dist/ptcw-design/p-0a86d91a.entry.js +1 -0
  279. package/dist/ptcw-design/{p-e5369c4d.entry.js → p-0c914932.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-4c89d63d.entry.js → p-0df868d2.entry.js} +1 -1
  281. package/dist/ptcw-design/p-100a7cc8.entry.js +1 -0
  282. package/dist/ptcw-design/{p-bf8fbba7.entry.js → p-18d699f0.entry.js} +1 -1
  283. package/dist/ptcw-design/p-1a853854.entry.js +1 -0
  284. package/dist/ptcw-design/p-1c63c812.entry.js +1 -0
  285. package/dist/ptcw-design/p-1d789cd7.entry.js +1 -0
  286. package/dist/ptcw-design/{p-43a8ccc3.entry.js → p-1e32a493.entry.js} +1 -1
  287. package/dist/ptcw-design/p-1f0daed2.entry.js +1 -0
  288. package/dist/ptcw-design/p-1f15239e.entry.js +1 -0
  289. package/dist/ptcw-design/p-2270dbd2.entry.js +1 -0
  290. package/dist/ptcw-design/{p-c7e948b2.js → p-22cf00e7.js} +1 -1
  291. package/dist/ptcw-design/{p-db1dcce0.entry.js → p-23cb5b5b.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-ddb898c7.entry.js → p-2a22123e.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-7235425a.entry.js → p-2a3c8a30.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-04ff81ef.entry.js → p-2b08a37d.entry.js} +1 -1
  295. package/dist/ptcw-design/p-2bfd8371.entry.js +1 -0
  296. package/dist/ptcw-design/p-2cd2a8bd.entry.js +1 -0
  297. package/dist/ptcw-design/p-2e6e2a9d.entry.js +1 -0
  298. package/dist/ptcw-design/{p-26b70120.entry.js → p-2f21b69b.entry.js} +1 -1
  299. package/dist/ptcw-design/p-2f4efddd.entry.js +68 -0
  300. package/dist/ptcw-design/{p-4703e417.entry.js → p-34374e4d.entry.js} +1 -1
  301. package/dist/ptcw-design/p-3e4861a2.entry.js +1 -0
  302. package/dist/ptcw-design/p-3ed4a7ed.entry.js +1 -0
  303. package/dist/ptcw-design/{p-9c6cad16.entry.js → p-456c5cbb.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-0e63560d.entry.js → p-46b47ed7.entry.js} +1 -1
  305. package/dist/ptcw-design/p-46c518c8.entry.js +1 -0
  306. package/dist/ptcw-design/p-50569afd.entry.js +1 -0
  307. package/dist/ptcw-design/p-506dac1f.entry.js +1 -0
  308. package/dist/ptcw-design/{p-e3b1af2b.entry.js → p-567535fb.entry.js} +1 -1
  309. package/dist/ptcw-design/p-56a73429.entry.js +1 -0
  310. package/dist/ptcw-design/{p-4f0b8ca2.entry.js → p-575861b3.entry.js} +1 -1
  311. package/dist/ptcw-design/p-5af60742.entry.js +1 -0
  312. package/dist/ptcw-design/{p-c3b27836.entry.js → p-5cf5b9f8.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-f61a3476.entry.js → p-5dd538c4.entry.js} +1 -1
  314. package/dist/ptcw-design/p-6115c067.entry.js +1 -0
  315. package/dist/ptcw-design/{p-3a40c41f.entry.js → p-614b66d8.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-674acf91.entry.js → p-62e3cd51.entry.js} +1 -1
  317. package/dist/ptcw-design/p-6ac4cfab.entry.js +1 -0
  318. package/dist/ptcw-design/p-74f6bb23.entry.js +1 -0
  319. package/dist/ptcw-design/p-7714bbaf.entry.js +1 -0
  320. package/dist/ptcw-design/{p-fb790fa9.entry.js → p-7834cfee.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-e5e1e8fb.entry.js → p-82f766d2.entry.js} +1 -1
  322. package/dist/ptcw-design/{p-4d11aafc.entry.js → p-84c15835.entry.js} +1 -1
  323. package/dist/ptcw-design/p-850a6205.entry.js +1 -0
  324. package/dist/ptcw-design/p-8aeb229a.entry.js +1 -0
  325. package/dist/ptcw-design/{p-769b5691.entry.js → p-9063956c.entry.js} +1 -1
  326. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-927373d4.entry.js} +1 -1
  327. package/dist/ptcw-design/{p-3cb011c9.entry.js → p-92ad78c5.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-89177041.entry.js → p-92e76318.entry.js} +1 -1
  329. package/dist/ptcw-design/p-9493dfa0.entry.js +1 -0
  330. package/dist/ptcw-design/p-95efe7ee.entry.js +1 -0
  331. package/dist/ptcw-design/{p-5793ca02.entry.js → p-9ca635fa.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-0a214a22.entry.js → p-9efa8199.entry.js} +1 -1
  333. package/dist/ptcw-design/{p-3ca1b46e.entry.js → p-9fb21bdf.entry.js} +1 -1
  334. package/dist/ptcw-design/p-a8304a3e.entry.js +1 -0
  335. package/dist/ptcw-design/p-a993c0a6.entry.js +1 -0
  336. package/dist/ptcw-design/p-ab4906a7.entry.js +1 -0
  337. package/dist/ptcw-design/{p-77cad16c.entry.js → p-ac7b2779.entry.js} +1 -1
  338. package/dist/ptcw-design/p-b19cda95.entry.js +1 -0
  339. package/dist/ptcw-design/p-b44f4fb1.entry.js +1 -0
  340. package/dist/ptcw-design/p-b89136c6.entry.js +1 -0
  341. package/dist/ptcw-design/{p-9da57f76.entry.js → p-bc31938f.entry.js} +1 -1
  342. package/dist/ptcw-design/p-bd3d71f1.entry.js +1 -0
  343. package/dist/ptcw-design/p-be533f0d.js +134 -0
  344. package/dist/ptcw-design/{p-b209c116.entry.js → p-c061b32d.entry.js} +1 -1
  345. package/dist/ptcw-design/p-c1513c3f.js +203 -0
  346. package/dist/ptcw-design/{p-3cfe0126.entry.js → p-c160bda4.entry.js} +1 -1
  347. package/dist/ptcw-design/{p-f731fc96.entry.js → p-c4674bc8.entry.js} +1 -1
  348. package/dist/ptcw-design/p-cc652ebe.entry.js +1 -0
  349. package/dist/ptcw-design/p-cc7d5eb7.entry.js +1 -0
  350. package/dist/ptcw-design/p-d391c01b.entry.js +1 -0
  351. package/dist/ptcw-design/{p-8c49d736.entry.js → p-d8b2466d.entry.js} +1 -1
  352. package/dist/ptcw-design/{p-4cee12b8.entry.js → p-e0e87d61.entry.js} +1 -1
  353. package/dist/ptcw-design/p-e7220c36.entry.js +1 -0
  354. package/dist/ptcw-design/p-e73a1a0b.entry.js +1 -0
  355. package/dist/ptcw-design/p-e7c00e48.entry.js +1 -0
  356. package/dist/ptcw-design/p-ec70069f.entry.js +1 -0
  357. package/dist/ptcw-design/p-ef897c5a.entry.js +1 -0
  358. package/dist/ptcw-design/p-f0958536.entry.js +1 -0
  359. package/dist/ptcw-design/{p-5a2ed8fb.entry.js → p-f2675bb0.entry.js} +1 -1
  360. package/dist/ptcw-design/p-f3d3c161.entry.js +1 -0
  361. package/dist/ptcw-design/{p-258963da.entry.js → p-ff66587b.entry.js} +1 -1
  362. package/dist/ptcw-design/ptcw-design.css +3 -4
  363. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  364. package/dist/types/components/buying-option-cards-slider/buying-option-cards-slider.d.ts +1 -0
  365. package/dist/types/components/ptc-img/ptc-img.d.ts +1 -29
  366. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -4
  367. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  368. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  369. package/dist/types/components/ptc-picture/ptc-picture.d.ts +2 -0
  370. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -2
  371. package/dist/types/components/ptc-subnav-v2/ptc-subnav-v2.d.ts +55 -0
  372. package/dist/types/components.d.ts +84 -113
  373. package/package.json +101 -98
  374. package/readme.md +19 -23
  375. package/dist/cjs/modal-form-example.cjs.entry.js +0 -109
  376. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
  377. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -114
  378. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
  379. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
  380. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
  381. package/dist/esm/modal-form-example.entry.js +0 -105
  382. package/dist/ptcw-design/p-056748b3.entry.js +0 -1
  383. package/dist/ptcw-design/p-0a7cc9e4.entry.js +0 -1
  384. package/dist/ptcw-design/p-1c52250d.entry.js +0 -1
  385. package/dist/ptcw-design/p-1e3bf09c.entry.js +0 -1
  386. package/dist/ptcw-design/p-214d9da6.entry.js +0 -1
  387. package/dist/ptcw-design/p-2670ac97.entry.js +0 -1
  388. package/dist/ptcw-design/p-2afea59e.entry.js +0 -1
  389. package/dist/ptcw-design/p-312c41b8.entry.js +0 -1
  390. package/dist/ptcw-design/p-349f43d5.entry.js +0 -1
  391. package/dist/ptcw-design/p-36abe396.entry.js +0 -1
  392. package/dist/ptcw-design/p-36ee2e12.entry.js +0 -1
  393. package/dist/ptcw-design/p-390c0dee.entry.js +0 -1
  394. package/dist/ptcw-design/p-464d8e22.entry.js +0 -1
  395. package/dist/ptcw-design/p-50308f02.entry.js +0 -1
  396. package/dist/ptcw-design/p-5a8e7557.entry.js +0 -1
  397. package/dist/ptcw-design/p-5c81c755.entry.js +0 -1
  398. package/dist/ptcw-design/p-63b3bcbe.entry.js +0 -1
  399. package/dist/ptcw-design/p-656e8773.entry.js +0 -1
  400. package/dist/ptcw-design/p-672a349f.js +0 -336
  401. package/dist/ptcw-design/p-684ef1e5.entry.js +0 -1
  402. package/dist/ptcw-design/p-6e8ed2ee.entry.js +0 -1
  403. package/dist/ptcw-design/p-6f9f55b3.entry.js +0 -1
  404. package/dist/ptcw-design/p-7218fe2c.entry.js +0 -1
  405. package/dist/ptcw-design/p-74097f89.entry.js +0 -1
  406. package/dist/ptcw-design/p-761a31f8.entry.js +0 -1
  407. package/dist/ptcw-design/p-799afee5.entry.js +0 -1
  408. package/dist/ptcw-design/p-7a3e9ecd.entry.js +0 -1
  409. package/dist/ptcw-design/p-81bcde85.entry.js +0 -1
  410. package/dist/ptcw-design/p-8fb48953.entry.js +0 -1
  411. package/dist/ptcw-design/p-94a76216.entry.js +0 -68
  412. package/dist/ptcw-design/p-95187918.entry.js +0 -1
  413. package/dist/ptcw-design/p-ac766cb3.entry.js +0 -1
  414. package/dist/ptcw-design/p-af831c13.entry.js +0 -1
  415. package/dist/ptcw-design/p-b533cd17.entry.js +0 -1
  416. package/dist/ptcw-design/p-b684ca9d.entry.js +0 -1
  417. package/dist/ptcw-design/p-c09a8288.entry.js +0 -1
  418. package/dist/ptcw-design/p-cb0e3ec2.entry.js +0 -1
  419. package/dist/ptcw-design/p-ce121fb3.entry.js +0 -1
  420. package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
  421. package/dist/ptcw-design/p-d9df1a16.entry.js +0 -1
  422. package/dist/ptcw-design/p-da02913d.entry.js +0 -1
  423. package/dist/ptcw-design/p-dbf8da08.entry.js +0 -1
  424. package/dist/ptcw-design/p-de960790.entry.js +0 -1
  425. package/dist/ptcw-design/p-e03d7060.entry.js +0 -1
  426. package/dist/ptcw-design/p-e4eb925f.entry.js +0 -1
  427. package/dist/ptcw-design/p-e93714e9.entry.js +0 -1
  428. package/dist/ptcw-design/p-f57f32ee.entry.js +0 -1
  429. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
@@ -1,109 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-63ddc79c.js');
6
-
7
- const modalFormExampleCss = ":host {\r\n display: block;\r\n}\r\n\r\n.form-wrapper {\r\n width: 371px;\r\n display: flex;\r\n border-radius: 3px;\r\n background: #FFF;\r\n flex-direction: column;\r\n align-items: center;\r\n padding: 0px 32px;\r\n\r\n @media only screen and (min-width: 360px) and (max-width: 479.55px) {\r\n max-width: 360px;\r\n width: 360px;\r\n }\r\n\r\n .button-wrapper {\r\n display: flex;\r\n justify-content: flex-end;\r\n gap: 20px;\r\n margin-top: 48px;\r\n flex-wrap: wrap;\r\n }\r\n}\r\n";
8
-
9
- const PtcForm = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.formData = {
13
- email: "",
14
- firstName: "",
15
- lastName: "",
16
- company: "",
17
- country: "",
18
- phone: "",
19
- inquiryReason: "",
20
- howhearselfreport: "",
21
- policyChecked: false,
22
- };
23
- }
24
- // private countryEle: HTMLPtcSelectElement;
25
- // private inquiryreasonEle: HTMLPtcTextfieldElement;
26
- // private howhearselfreport: HTMLPtcTextfieldElement;
27
- componentDidLoad() {
28
- this.formButton = this.el.querySelector(".form-submit");
29
- this.formButton.addEventListener("click", this.handleSubmit.bind(this));
30
- //get Email
31
- this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
32
- this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
33
- this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
34
- this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
35
- this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
36
- // this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
37
- // this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
38
- // this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
39
- }
40
- handleInputChange(field, value) {
41
- this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
42
- }
43
- handleSubmit(event) {
44
- event.preventDefault();
45
- this.formData.email = this.emailEle.inputValue;
46
- this.formData.firstName = this.firstNameEle.inputValue;
47
- this.formData.lastName = this.lastNameEle.inputValue;
48
- this.formData.company = this.companyEle.inputValue;
49
- this.formData.phone = this.phoneEle.inputValue;
50
- // this.formData.country = this.countryEle.inputValue;
51
- // this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
52
- // this.formData.howhearselfreport = this.howhearselfreport.inputValue;
53
- // console.log("get form Data: " + this.formData.email)
54
- if (this.isValid()) {
55
- const formSubmitEvent = new CustomEvent("formSubmit", {
56
- detail: this.formData,
57
- bubbles: true,
58
- });
59
- this.el.dispatchEvent(formSubmitEvent);
60
- console.log("Form Submitted: " + this.formData);
61
- }
62
- else {
63
- console.log("Form validation failed");
64
- console.log("Form Submitted: " + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
65
- }
66
- }
67
- isValid() {
68
- const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked, } = this.formData;
69
- const invalidLength = document.querySelectorAll(".invalid-field").length;
70
- // console.log('invalid fields length: ' + invalidLength), check the select field
71
- return (email !== "" &&
72
- phone !== "" &&
73
- firstName !== "" &&
74
- lastName !== "" &&
75
- company !== "" &&
76
- country !== "" &&
77
- inquiryReason !== "" &&
78
- howhearselfreport != "" &&
79
- policyChecked &&
80
- invalidLength === 0);
81
- }
82
- render() {
83
- const multiSelectItems = [
84
- {
85
- text: "Item 1",
86
- selected: false,
87
- ptcDataEloquaName: "item_1",
88
- ptcDataTargetEloquaName: "item_target-1",
89
- },
90
- {
91
- text: "Item 2",
92
- selected: false,
93
- ptcDataEloquaName: "item_2",
94
- ptcDataTargetEloquaName: "item_target-2",
95
- },
96
- {
97
- text: "Item 3",
98
- selected: false,
99
- ptcDataEloquaName: "item_3",
100
- ptcDataTargetEloquaName: "item_target-3",
101
- },
102
- ];
103
- return (index.h(index.Host, null, index.h("div", { class: "ptc-container u-flex u-flex-justify-center" }, index.h("div", { class: "form-wrapper" }, index.h("ptc-title", { "seo-compatibility-mode": true, "text-align": "left", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false", "title-size": "medium" }, index.h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), index.h("ptc-spacer", { size: "x-small", breakpoint: "small" }), index.h("ptc-spacer", { size: "small", breakpoint: "x-small" }), index.h("ptc-para", { "seo-compatibility-mode": true, "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-densest" }, "PTC\u2019s market-leading, purpose-built IIoT platform. The suite offers a mix of Packages, Add-Ons, and Apps to best suit your business needs:"), index.h("ptc-spacer", { size: "x-small", breakpoint: "small" }), index.h("ptc-spacer", { size: "small", breakpoint: "x-small" }), index.h("max-width-container", { "max-width": "277", breakpoint: 480 }, index.h("ptc-title", { type: "h2", "text-align": "", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" })), index.h("form", { onSubmit: (event) => this.handleSubmit(event) }, index.h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), index.h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), index.h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), index.h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), index.h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), index.h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Select a country")), index.h("li", { class: "mdc-list-item", "data-value": "USA" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "USA")), index.h("li", { class: "mdc-list-item", "data-value": "Canada" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Canada")), index.h("li", { class: "mdc-list-item", "data-value": "China" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "China")))), index.h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), index.h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, index.h("ul", { class: "mdc-list" }, index.h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, index.h("span", { class: "mdc-list-item__ripple" })), index.h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), index.h("li", { class: "mdc-list-item", "data-value": "CAD" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), index.h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, index.h("span", { class: "mdc-list-item__ripple" }), index.h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), index.h("ptc-multi-select", { items: multiSelectItems, "is-required": "true" }), index.h("ptc-textfield", { "field-id": "Self-Reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), index.h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), index.h("div", { class: "button-wrapper" }, index.h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Submit"), index.h("ptc-button", { class: "form-close", color: "ptc-tertiary", type: "button", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Cancel")))))));
104
- }
105
- get el() { return index.getElement(this); }
106
- };
107
- PtcForm.style = modalFormExampleCss;
108
-
109
- exports.modal_form_example = PtcForm;
@@ -1,26 +0,0 @@
1
- :host {
2
- display: block;
3
- }
4
-
5
- .form-wrapper {
6
- width: 371px;
7
- display: flex;
8
- border-radius: 3px;
9
- background: #FFF;
10
- flex-direction: column;
11
- align-items: center;
12
- padding: 0px 32px;
13
-
14
- @media only screen and (min-width: 360px) and (max-width: 479.55px) {
15
- max-width: 360px;
16
- width: 360px;
17
- }
18
-
19
- .button-wrapper {
20
- display: flex;
21
- justify-content: flex-end;
22
- gap: 20px;
23
- margin-top: 48px;
24
- flex-wrap: wrap;
25
- }
26
- }
@@ -1,114 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- export class PtcForm {
3
- constructor() {
4
- this.formData = {
5
- email: "",
6
- firstName: "",
7
- lastName: "",
8
- company: "",
9
- country: "",
10
- phone: "",
11
- inquiryReason: "",
12
- howhearselfreport: "",
13
- policyChecked: false,
14
- };
15
- }
16
- // private countryEle: HTMLPtcSelectElement;
17
- // private inquiryreasonEle: HTMLPtcTextfieldElement;
18
- // private howhearselfreport: HTMLPtcTextfieldElement;
19
- componentDidLoad() {
20
- this.formButton = this.el.querySelector(".form-submit");
21
- this.formButton.addEventListener("click", this.handleSubmit.bind(this));
22
- //get Email
23
- this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
24
- this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
25
- this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
26
- this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
27
- this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
28
- // this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
29
- // this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
30
- // this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
31
- }
32
- handleInputChange(field, value) {
33
- this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
34
- }
35
- handleSubmit(event) {
36
- event.preventDefault();
37
- this.formData.email = this.emailEle.inputValue;
38
- this.formData.firstName = this.firstNameEle.inputValue;
39
- this.formData.lastName = this.lastNameEle.inputValue;
40
- this.formData.company = this.companyEle.inputValue;
41
- this.formData.phone = this.phoneEle.inputValue;
42
- // this.formData.country = this.countryEle.inputValue;
43
- // this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
44
- // this.formData.howhearselfreport = this.howhearselfreport.inputValue;
45
- // console.log("get form Data: " + this.formData.email)
46
- if (this.isValid()) {
47
- const formSubmitEvent = new CustomEvent("formSubmit", {
48
- detail: this.formData,
49
- bubbles: true,
50
- });
51
- this.el.dispatchEvent(formSubmitEvent);
52
- console.log("Form Submitted: " + this.formData);
53
- }
54
- else {
55
- console.log("Form validation failed");
56
- console.log("Form Submitted: " + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
57
- }
58
- }
59
- isValid() {
60
- const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked, } = this.formData;
61
- const invalidLength = document.querySelectorAll(".invalid-field").length;
62
- // console.log('invalid fields length: ' + invalidLength), check the select field
63
- return (email !== "" &&
64
- phone !== "" &&
65
- firstName !== "" &&
66
- lastName !== "" &&
67
- company !== "" &&
68
- country !== "" &&
69
- inquiryReason !== "" &&
70
- howhearselfreport != "" &&
71
- policyChecked &&
72
- invalidLength === 0);
73
- }
74
- render() {
75
- const multiSelectItems = [
76
- {
77
- text: "Item 1",
78
- selected: false,
79
- ptcDataEloquaName: "item_1",
80
- ptcDataTargetEloquaName: "item_target-1",
81
- },
82
- {
83
- text: "Item 2",
84
- selected: false,
85
- ptcDataEloquaName: "item_2",
86
- ptcDataTargetEloquaName: "item_target-2",
87
- },
88
- {
89
- text: "Item 3",
90
- selected: false,
91
- ptcDataEloquaName: "item_3",
92
- ptcDataTargetEloquaName: "item_target-3",
93
- },
94
- ];
95
- return (h(Host, null, h("div", { class: "ptc-container u-flex u-flex-justify-center" }, h("div", { class: "form-wrapper" }, h("ptc-title", { "seo-compatibility-mode": true, "text-align": "left", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false", "title-size": "medium" }, h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("ptc-para", { "seo-compatibility-mode": true, "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-densest" }, "PTC\u2019s market-leading, purpose-built IIoT platform. The suite offers a mix of Packages, Add-Ons, and Apps to best suit your business needs:"), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("max-width-container", { "max-width": "277", breakpoint: 480 }, h("ptc-title", { type: "h2", "text-align": "", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "small", size: "small" })), h("form", { onSubmit: (event) => this.handleSubmit(event) }, h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Select a country")), h("li", { class: "mdc-list-item", "data-value": "USA" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "USA")), h("li", { class: "mdc-list-item", "data-value": "Canada" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Canada")), h("li", { class: "mdc-list-item", "data-value": "China" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "China")))), h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, h("span", { class: "mdc-list-item__ripple" })), h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), h("li", { class: "mdc-list-item", "data-value": "CAD" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), h("ptc-multi-select", { items: multiSelectItems, "is-required": "true" }), h("ptc-textfield", { "field-id": "Self-Reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), h("div", { class: "button-wrapper" }, h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Submit"), h("ptc-button", { class: "form-close", color: "ptc-tertiary", type: "button", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Cancel")))))));
96
- }
97
- static get is() { return "modal-form-example"; }
98
- static get originalStyleUrls() {
99
- return {
100
- "$": ["modal-form-example.css"]
101
- };
102
- }
103
- static get styleUrls() {
104
- return {
105
- "$": ["modal-form-example.css"]
106
- };
107
- }
108
- static get states() {
109
- return {
110
- "formData": {}
111
- };
112
- }
113
- static get elementRef() { return "el"; }
114
- }
@@ -1,45 +0,0 @@
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();
@@ -1,47 +0,0 @@
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();
@@ -1,157 +0,0 @@
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,105 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const modalFormExampleCss = ":host {\r\n display: block;\r\n}\r\n\r\n.form-wrapper {\r\n width: 371px;\r\n display: flex;\r\n border-radius: 3px;\r\n background: #FFF;\r\n flex-direction: column;\r\n align-items: center;\r\n padding: 0px 32px;\r\n\r\n @media only screen and (min-width: 360px) and (max-width: 479.55px) {\r\n max-width: 360px;\r\n width: 360px;\r\n }\r\n\r\n .button-wrapper {\r\n display: flex;\r\n justify-content: flex-end;\r\n gap: 20px;\r\n margin-top: 48px;\r\n flex-wrap: wrap;\r\n }\r\n}\r\n";
4
-
5
- const PtcForm = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.formData = {
9
- email: "",
10
- firstName: "",
11
- lastName: "",
12
- company: "",
13
- country: "",
14
- phone: "",
15
- inquiryReason: "",
16
- howhearselfreport: "",
17
- policyChecked: false,
18
- };
19
- }
20
- // private countryEle: HTMLPtcSelectElement;
21
- // private inquiryreasonEle: HTMLPtcTextfieldElement;
22
- // private howhearselfreport: HTMLPtcTextfieldElement;
23
- componentDidLoad() {
24
- this.formButton = this.el.querySelector(".form-submit");
25
- this.formButton.addEventListener("click", this.handleSubmit.bind(this));
26
- //get Email
27
- this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
28
- this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
29
- this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
30
- this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
31
- this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
32
- // this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
33
- // this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
34
- // this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
35
- }
36
- handleInputChange(field, value) {
37
- this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
38
- }
39
- handleSubmit(event) {
40
- event.preventDefault();
41
- this.formData.email = this.emailEle.inputValue;
42
- this.formData.firstName = this.firstNameEle.inputValue;
43
- this.formData.lastName = this.lastNameEle.inputValue;
44
- this.formData.company = this.companyEle.inputValue;
45
- this.formData.phone = this.phoneEle.inputValue;
46
- // this.formData.country = this.countryEle.inputValue;
47
- // this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
48
- // this.formData.howhearselfreport = this.howhearselfreport.inputValue;
49
- // console.log("get form Data: " + this.formData.email)
50
- if (this.isValid()) {
51
- const formSubmitEvent = new CustomEvent("formSubmit", {
52
- detail: this.formData,
53
- bubbles: true,
54
- });
55
- this.el.dispatchEvent(formSubmitEvent);
56
- console.log("Form Submitted: " + this.formData);
57
- }
58
- else {
59
- console.log("Form validation failed");
60
- console.log("Form Submitted: " + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
61
- }
62
- }
63
- isValid() {
64
- const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked, } = this.formData;
65
- const invalidLength = document.querySelectorAll(".invalid-field").length;
66
- // console.log('invalid fields length: ' + invalidLength), check the select field
67
- return (email !== "" &&
68
- phone !== "" &&
69
- firstName !== "" &&
70
- lastName !== "" &&
71
- company !== "" &&
72
- country !== "" &&
73
- inquiryReason !== "" &&
74
- howhearselfreport != "" &&
75
- policyChecked &&
76
- invalidLength === 0);
77
- }
78
- render() {
79
- const multiSelectItems = [
80
- {
81
- text: "Item 1",
82
- selected: false,
83
- ptcDataEloquaName: "item_1",
84
- ptcDataTargetEloquaName: "item_target-1",
85
- },
86
- {
87
- text: "Item 2",
88
- selected: false,
89
- ptcDataEloquaName: "item_2",
90
- ptcDataTargetEloquaName: "item_target-2",
91
- },
92
- {
93
- text: "Item 3",
94
- selected: false,
95
- ptcDataEloquaName: "item_3",
96
- ptcDataTargetEloquaName: "item_target-3",
97
- },
98
- ];
99
- return (h(Host, null, h("div", { class: "ptc-container u-flex u-flex-justify-center" }, h("div", { class: "form-wrapper" }, h("ptc-title", { "seo-compatibility-mode": true, "text-align": "left", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false", "title-size": "medium" }, h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("ptc-para", { "seo-compatibility-mode": true, "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-densest" }, "PTC\u2019s market-leading, purpose-built IIoT platform. The suite offers a mix of Packages, Add-Ons, and Apps to best suit your business needs:"), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("max-width-container", { "max-width": "277", breakpoint: 480 }, h("ptc-title", { type: "h2", "text-align": "", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "small", size: "small" })), h("form", { onSubmit: (event) => this.handleSubmit(event) }, h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Select a country")), h("li", { class: "mdc-list-item", "data-value": "USA" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "USA")), h("li", { class: "mdc-list-item", "data-value": "Canada" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Canada")), h("li", { class: "mdc-list-item", "data-value": "China" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "China")))), h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, h("span", { class: "mdc-list-item__ripple" })), h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), h("li", { class: "mdc-list-item", "data-value": "CAD" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), h("ptc-multi-select", { items: multiSelectItems, "is-required": "true" }), h("ptc-textfield", { "field-id": "Self-Reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), h("div", { class: "button-wrapper" }, h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Submit"), h("ptc-button", { class: "form-close", color: "ptc-tertiary", type: "button", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Cancel")))))));
100
- }
101
- get el() { return getElement(this); }
102
- };
103
- PtcForm.style = modalFormExampleCss;
104
-
105
- export { PtcForm as modal_form_example };