@ptcwebops/ptcw-design 6.4.36-beta → 6.5.0-upgrade

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 (1423) hide show
  1. package/LICENSE +1 -1
  2. package/dist/cjs/fef-stencil-v4.cjs.js +25 -0
  3. package/dist/cjs/fef-stencil-v4.cjs.js.map +1 -0
  4. package/dist/cjs/index-NEB64XqD.js +1521 -0
  5. package/dist/cjs/index-NEB64XqD.js.map +1 -0
  6. package/dist/cjs/index.cjs.js +6 -0
  7. package/dist/cjs/index.cjs.js.map +1 -0
  8. package/dist/cjs/loader.cjs.js +6 -17
  9. package/dist/cjs/loader.cjs.js.map +1 -0
  10. package/dist/cjs/my-component.cjs.entry.js +26 -18
  11. package/dist/cjs/my-component.entry.cjs.js.map +1 -0
  12. package/dist/collection/collection-manifest.json +4 -187
  13. package/dist/collection/components/atoms/my-component/my-component.js +96 -0
  14. package/dist/collection/components/atoms/my-component/my-component.js.map +1 -0
  15. package/dist/collection/components/atoms/my-component/my-component.stories.js +40 -0
  16. package/dist/collection/components/atoms/my-component/my-component.stories.js.map +1 -0
  17. package/dist/collection/global/global.js +10 -7
  18. package/dist/collection/global/global.js.map +1 -0
  19. package/dist/collection/index.js +11 -1
  20. package/dist/collection/index.js.map +1 -0
  21. package/dist/collection/utils/component.js +4 -3
  22. package/dist/collection/utils/component.js.map +1 -0
  23. package/dist/collection/utils/elq-lib.js +533 -534
  24. package/dist/collection/utils/elq-lib.js.map +1 -0
  25. package/dist/collection/utils/fef-logger.js +22 -23
  26. package/dist/collection/utils/fef-logger.js.map +1 -0
  27. package/dist/collection/utils/interfaces.js +12 -11
  28. package/dist/collection/utils/interfaces.js.map +1 -0
  29. package/dist/collection/utils/utils.js +310 -308
  30. package/dist/collection/utils/utils.js.map +1 -0
  31. package/dist/collection/utils/validation-messages.js +173 -170
  32. package/dist/collection/utils/validation-messages.js.map +1 -0
  33. package/dist/components/index.d.ts +33 -0
  34. package/dist/components/index.js +7 -0
  35. package/dist/components/index.js.map +1 -0
  36. package/dist/components/my-component.d.ts +11 -0
  37. package/dist/components/my-component.js +58 -0
  38. package/dist/components/my-component.js.map +1 -0
  39. package/dist/components/p-mYazRhBV.js +1329 -0
  40. package/dist/components/p-mYazRhBV.js.map +1 -0
  41. package/dist/esm/fef-stencil-v4.js +21 -0
  42. package/dist/esm/fef-stencil-v4.js.map +1 -0
  43. package/dist/esm/index-Cp34vyj8.js +1514 -0
  44. package/dist/esm/index-Cp34vyj8.js.map +1 -0
  45. package/dist/esm/index.js +5 -0
  46. package/dist/esm/index.js.map +1 -0
  47. package/dist/esm/loader.js +7 -16
  48. package/dist/esm/loader.js.map +1 -0
  49. package/dist/esm/my-component.entry.js +26 -16
  50. package/dist/esm/my-component.entry.js.map +1 -0
  51. package/dist/fef-stencil-v4/fef-stencil-v4.css +8 -0
  52. package/dist/fef-stencil-v4/fef-stencil-v4.esm.js +2 -0
  53. package/dist/fef-stencil-v4/fef-stencil-v4.esm.js.map +1 -0
  54. package/dist/fef-stencil-v4/index.esm.js +2 -0
  55. package/dist/fef-stencil-v4/index.esm.js.map +1 -0
  56. package/dist/fef-stencil-v4/loader.esm.js.map +1 -0
  57. package/dist/fef-stencil-v4/my-component.entry.esm.js.map +1 -0
  58. package/dist/fef-stencil-v4/p-3c43bcea.entry.js +2 -0
  59. package/dist/fef-stencil-v4/p-3c43bcea.entry.js.map +1 -0
  60. package/dist/fef-stencil-v4/p-Cp34vyj8.js +3 -0
  61. package/dist/fef-stencil-v4/p-Cp34vyj8.js.map +1 -0
  62. package/dist/types/components/atoms/my-component/my-component.d.ts +16 -0
  63. package/dist/types/components/atoms/my-component/my-component.stories.d.ts +7 -0
  64. package/dist/types/components.d.ts +18 -8137
  65. package/dist/types/global/global.d.ts +5 -4
  66. package/dist/types/index.d.ts +11 -1
  67. package/dist/types/stencil-public-runtime.d.ts +122 -29
  68. package/dist/types/utils/component.d.ts +1 -1
  69. package/dist/types/utils/elq-lib.d.ts +67 -61
  70. package/dist/types/utils/fef-logger.d.ts +10 -10
  71. package/dist/types/utils/interfaces.d.ts +34 -34
  72. package/dist/types/utils/utils.d.ts +35 -30
  73. package/dist/types/utils/validation-messages.d.ts +4 -4
  74. package/loader/cdn.js +1 -3
  75. package/loader/index.cjs.js +1 -3
  76. package/loader/index.d.ts +5 -2
  77. package/loader/index.es2017.js +1 -3
  78. package/loader/index.js +1 -3
  79. package/package.json +50 -78
  80. package/readme.md +102 -14
  81. package/dist/cjs/_commonjsHelpers-537d719a.js +0 -20
  82. package/dist/cjs/academic-form-test.cjs.entry.js +0 -82
  83. package/dist/cjs/author-listing-example.cjs.entry.js +0 -245
  84. package/dist/cjs/blog-detail-content_2.cjs.entry.js +0 -275
  85. package/dist/cjs/blog-detail-layout.cjs.entry.js +0 -69
  86. package/dist/cjs/blogs-search-section.cjs.entry.js +0 -218
  87. package/dist/cjs/bundle-example.cjs.entry.js +0 -53
  88. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +0 -63
  89. package/dist/cjs/buying-option-card.cjs.entry.js +0 -184
  90. package/dist/cjs/buying-option-cards-slider.cjs.entry.js +0 -175
  91. package/dist/cjs/component-6a178a16.js +0 -6476
  92. package/dist/cjs/core-58fa1795.js +0 -3889
  93. package/dist/cjs/dropdown-item.cjs.entry.js +0 -21
  94. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +0 -38
  95. package/dist/cjs/embedded-form.cjs.entry.js +0 -105
  96. package/dist/cjs/event-jumbotron-example.cjs.entry.js +0 -233
  97. package/dist/cjs/event-podcast-slider-example.cjs.entry.js +0 -68
  98. package/dist/cjs/featured-events-slider-example.cjs.entry.js +0 -62
  99. package/dist/cjs/featured-list.cjs.entry.js +0 -108
  100. package/dist/cjs/fl-tab-content_3.cjs.entry.js +0 -104
  101. package/dist/cjs/focus-trap.esm-8c5a8938.js +0 -1558
  102. package/dist/cjs/footer-form.cjs.entry.js +0 -64
  103. package/dist/cjs/global-418c14b4.js +0 -33
  104. package/dist/cjs/homepage-clickable-tab.cjs.entry.js +0 -60
  105. package/dist/cjs/homepage-jumbotron.cjs.entry.js +0 -128
  106. package/dist/cjs/homepage-toggled-content.cjs.entry.js +0 -154
  107. package/dist/cjs/icon-asset_2.cjs.entry.js +0 -154
  108. package/dist/cjs/index-63ddc79c.js +0 -2134
  109. package/dist/cjs/innovator-toggle-container.cjs.entry.js +0 -68
  110. package/dist/cjs/interfaces-574e6df7.js +0 -15
  111. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +0 -41
  112. package/dist/cjs/jumbotron-sub-mune.cjs.entry.js +0 -55
  113. package/dist/cjs/list-item.cjs.entry.js +0 -52
  114. package/dist/cjs/max-width-container.cjs.entry.js +0 -54
  115. package/dist/cjs/modal-form-example.cjs.entry.js +0 -109
  116. package/dist/cjs/most-popular-news.cjs.entry.js +0 -43
  117. package/dist/cjs/mousewheel-e9520f0f.js +0 -391
  118. package/dist/cjs/news-search-result.cjs.entry.js +0 -30
  119. package/dist/cjs/pagination-96df6fcc.js +0 -668
  120. package/dist/cjs/ptc-accordion-item.cjs.entry.js +0 -124
  121. package/dist/cjs/ptc-accordion.cjs.entry.js +0 -91
  122. package/dist/cjs/ptc-announcement.cjs.entry.js +0 -77
  123. package/dist/cjs/ptc-back-to-top.cjs.entry.js +0 -100
  124. package/dist/cjs/ptc-background-video.cjs.entry.js +0 -152
  125. package/dist/cjs/ptc-badge.cjs.entry.js +0 -30
  126. package/dist/cjs/ptc-bio-card.cjs.entry.js +0 -61
  127. package/dist/cjs/ptc-blue-pill-announcement-bar.cjs.entry.js +0 -23
  128. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -63
  129. package/dist/cjs/ptc-brightcov-video.cjs.entry.js +0 -24
  130. package/dist/cjs/ptc-button.cjs.entry.js +0 -117
  131. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +0 -199
  132. package/dist/cjs/ptc-card-content.cjs.entry.js +0 -92
  133. package/dist/cjs/ptc-card_2.cjs.entry.js +0 -302
  134. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +0 -1209
  135. package/dist/cjs/ptc-checkbox-group.cjs.entry.js +0 -50
  136. package/dist/cjs/ptc-checkbox.cjs.entry.js +0 -74
  137. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +0 -360
  138. package/dist/cjs/ptc-collapse-list.cjs.entry.js +0 -543
  139. package/dist/cjs/ptc-container.cjs.entry.js +0 -44
  140. package/dist/cjs/ptc-countdown.cjs.entry.js +0 -176
  141. package/dist/cjs/ptc-data-lookup.cjs.entry.js +0 -684
  142. package/dist/cjs/ptc-date.cjs.entry.js +0 -61
  143. package/dist/cjs/ptc-dropdown.cjs.entry.js +0 -79
  144. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +0 -141
  145. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +0 -201
  146. package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +0 -299
  147. package/dist/cjs/ptc-enhanced-product-listing-card.cjs.entry.js +0 -73
  148. package/dist/cjs/ptc-featured-list.cjs.entry.js +0 -48
  149. package/dist/cjs/ptc-filter-dropdown_4.cjs.entry.js +0 -381
  150. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +0 -193
  151. package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +0 -429
  152. package/dist/cjs/ptc-footer.cjs.entry.js +0 -68
  153. package/dist/cjs/ptc-form-checkbox_4.cjs.entry.js +0 -5200
  154. package/dist/cjs/ptc-form-radio-button.cjs.entry.js +0 -56
  155. package/dist/cjs/ptc-form-radio-group.cjs.entry.js +0 -56
  156. package/dist/cjs/ptc-form.cjs.entry.js +0 -156
  157. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +0 -22
  158. package/dist/cjs/ptc-hero.cjs.entry.js +0 -32
  159. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +0 -24
  160. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +0 -204
  161. package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +0 -72
  162. package/dist/cjs/ptc-icon-card.cjs.entry.js +0 -30
  163. package/dist/cjs/ptc-icon-component.cjs.entry.js +0 -126
  164. package/dist/cjs/ptc-icon-list.cjs.entry.js +0 -34
  165. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +0 -173
  166. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +0 -32
  167. package/dist/cjs/ptc-img.cjs.entry.js +0 -216
  168. package/dist/cjs/ptc-info-tile.cjs.entry.js +0 -50
  169. package/dist/cjs/ptc-inline-cta.cjs.entry.js +0 -138
  170. package/dist/cjs/ptc-jumbotron.cjs.entry.js +0 -190
  171. package/dist/cjs/ptc-link.cjs.entry.js +0 -91
  172. package/dist/cjs/ptc-list.cjs.entry.js +0 -60
  173. package/dist/cjs/ptc-media-card.cjs.entry.js +0 -171
  174. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +0 -24
  175. package/dist/cjs/ptc-mobile-select.cjs.entry.js +0 -566
  176. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +0 -187
  177. package/dist/cjs/ptc-nav-card.cjs.entry.js +0 -42
  178. package/dist/cjs/ptc-nav-link.cjs.entry.js +0 -48
  179. package/dist/cjs/ptc-nav-pills.cjs.entry.js +0 -19
  180. package/dist/cjs/ptc-nav-skip-to-content.cjs.entry.js +0 -70
  181. package/dist/cjs/ptc-nav-slider.cjs.entry.js +0 -115
  182. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +0 -48
  183. package/dist/cjs/ptc-nav-tile.cjs.entry.js +0 -20
  184. package/dist/cjs/ptc-news.cjs.entry.js +0 -31
  185. package/dist/cjs/ptc-office-location-card.cjs.entry.js +0 -65
  186. package/dist/cjs/ptc-office-locations.cjs.entry.js +0 -345
  187. package/dist/cjs/ptc-overlay.cjs.entry.js +0 -34
  188. package/dist/cjs/ptc-para.cjs.entry.js +0 -139
  189. package/dist/cjs/ptc-picture.cjs.entry.js +0 -185
  190. package/dist/cjs/ptc-podcast-card.cjs.entry.js +0 -22
  191. package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +0 -46
  192. package/dist/cjs/ptc-preloader.cjs.entry.js +0 -22
  193. package/dist/cjs/ptc-previous-url.cjs.entry.js +0 -31
  194. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +0 -29
  195. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +0 -51
  196. package/dist/cjs/ptc-pricing-block.cjs.entry.js +0 -33
  197. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +0 -532
  198. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +0 -142
  199. package/dist/cjs/ptc-product-card.cjs.entry.js +0 -61
  200. package/dist/cjs/ptc-product-category.cjs.entry.js +0 -20
  201. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +0 -80
  202. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +0 -28
  203. package/dist/cjs/ptc-product-list.cjs.entry.js +0 -172
  204. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +0 -178
  205. package/dist/cjs/ptc-progress-bar.cjs.entry.js +0 -27
  206. package/dist/cjs/ptc-quantity-counter.cjs.entry.js +0 -99
  207. package/dist/cjs/ptc-quote.cjs.entry.js +0 -40
  208. package/dist/cjs/ptc-readmore-char.cjs.entry.js +0 -44
  209. package/dist/cjs/ptc-readmore-new.cjs.entry.js +0 -106
  210. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +0 -127
  211. package/dist/cjs/ptc-readmore.cjs.entry.js +0 -186
  212. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +0 -258
  213. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +0 -65
  214. package/dist/cjs/ptc-scroll-button.cjs.entry.js +0 -135
  215. package/dist/cjs/ptc-seo-title.cjs.entry.js +0 -82
  216. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +0 -69
  217. package/dist/cjs/ptc-showcase-card.cjs.entry.js +0 -21
  218. package/dist/cjs/ptc-skeleton.cjs.entry.js +0 -32
  219. package/dist/cjs/ptc-slit-card.cjs.entry.js +0 -40
  220. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +0 -92
  221. package/dist/cjs/ptc-social-icons.cjs.entry.js +0 -33
  222. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  223. package/dist/cjs/ptc-span.cjs.entry.js +0 -31
  224. package/dist/cjs/ptc-square-card.cjs.entry.js +0 -25
  225. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +0 -54
  226. package/dist/cjs/ptc-sticky-section.cjs.entry.js +0 -70
  227. package/dist/cjs/ptc-sticky-title.cjs.entry.js +0 -50
  228. package/dist/cjs/ptc-store-card-list.cjs.entry.js +0 -105
  229. package/dist/cjs/ptc-store-card.cjs.entry.js +0 -24
  230. package/dist/cjs/ptc-subnav-card.cjs.entry.js +0 -27
  231. package/dist/cjs/ptc-subnav-v2.cjs.entry.js +0 -595
  232. package/dist/cjs/ptc-subnav.cjs.entry.js +0 -36
  233. package/dist/cjs/ptc-svg-btn.cjs.entry.js +0 -118
  234. package/dist/cjs/ptc-tab-list.cjs.entry.js +0 -274
  235. package/dist/cjs/ptc-tab.cjs.entry.js +0 -31
  236. package/dist/cjs/ptc-tabs.cjs.entry.js +0 -58
  237. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +0 -67
  238. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +0 -121
  239. package/dist/cjs/ptc-title.cjs.entry.js +0 -161
  240. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +0 -80
  241. package/dist/cjs/ptc-tooltip-v3.cjs.entry.js +0 -119
  242. package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -113
  243. package/dist/cjs/ptc-two-column-media.cjs.entry.js +0 -26
  244. package/dist/cjs/ptc-value-led-card.cjs.entry.js +0 -21
  245. package/dist/cjs/ptc-value-led-content-highlight.cjs.entry.js +0 -19
  246. package/dist/cjs/ptc-value-led-content.cjs.entry.js +0 -20
  247. package/dist/cjs/ptc-value-led-intro.cjs.entry.js +0 -20
  248. package/dist/cjs/ptc-value-led-layout.cjs.entry.js +0 -284
  249. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +0 -35
  250. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +0 -24
  251. package/dist/cjs/ptc-video-embed.cjs.entry.js +0 -84
  252. package/dist/cjs/ptc-white-paper.cjs.entry.js +0 -151
  253. package/dist/cjs/ptcw-design.cjs.js +0 -25
  254. package/dist/cjs/scrollbar-18e63a0e.js +0 -352
  255. package/dist/cjs/sequential-bundle-example.cjs.entry.js +0 -119
  256. package/dist/cjs/sequential-bundle.cjs.entry.js +0 -99
  257. package/dist/cjs/show-map-icon-c1cca913.js +0 -10
  258. package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +0 -66
  259. package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +0 -66
  260. package/dist/cjs/tab-content.cjs.entry.js +0 -50
  261. package/dist/cjs/tab-header.cjs.entry.js +0 -82
  262. package/dist/cjs/utils-0ff09a53.js +0 -300
  263. package/dist/cjs/validation-messages-f1d373e7.js +0 -172
  264. package/dist/cjs/x-d5052f9b.js +0 -22
  265. package/dist/collection/components/buying-option-card/buying-option-card.css +0 -153
  266. package/dist/collection/components/buying-option-card/buying-option-card.js +0 -227
  267. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.css +0 -1171
  268. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.js +0 -170
  269. package/dist/collection/components/dropdown-item/dropdown-item.css +0 -94
  270. package/dist/collection/components/dropdown-item/dropdown-item.js +0 -61
  271. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.css +0 -115
  272. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +0 -116
  273. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +0 -206
  274. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +0 -173
  275. package/dist/collection/components/icon-asset/icon-asset.css +0 -186
  276. package/dist/collection/components/icon-asset/icon-asset.js +0 -264
  277. package/dist/collection/components/icon-asset/media/brands.svg +0 -1381
  278. package/dist/collection/components/icon-asset/media/designer-v6.0.7.svg +0 -765
  279. package/dist/collection/components/icon-asset/media/regular.svg +0 -463
  280. package/dist/collection/components/icon-asset/media/solid.svg +0 -3016
  281. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +0 -5
  282. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +0 -383
  283. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +0 -124
  284. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.css +0 -232
  285. package/dist/collection/components/jumbotron-sub-menu/jumbotron-sub-menu.js +0 -65
  286. package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.css +0 -154
  287. package/dist/collection/components/jumbotron-sub-mune/jumbotron-sub-mune.js +0 -83
  288. package/dist/collection/components/list-item/list-item.css +0 -232
  289. package/dist/collection/components/list-item/list-item.js +0 -216
  290. package/dist/collection/components/max-width-container/max-width-container.css +0 -12
  291. package/dist/collection/components/max-width-container/max-width-container.js +0 -146
  292. package/dist/collection/components/my-component/my-component.js +0 -82
  293. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +0 -69
  294. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +0 -284
  295. package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.css +0 -250
  296. package/dist/collection/components/organism-bundles/blog-detail-content/blog-detail-content.js +0 -252
  297. package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.css +0 -106
  298. package/dist/collection/components/organism-bundles/blog-detail-layout/blog-detail-layout.js +0 -74
  299. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.css +0 -104
  300. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +0 -315
  301. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +0 -26
  302. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +0 -78
  303. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +0 -411
  304. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +0 -130
  305. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +0 -3
  306. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +0 -104
  307. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +0 -312
  308. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +0 -285
  309. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +0 -1168
  310. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +0 -63
  311. package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +0 -1203
  312. package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.js +0 -57
  313. package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.css +0 -90
  314. package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.js +0 -87
  315. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.css +0 -110
  316. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +0 -111
  317. package/dist/collection/components/organism-bundles/form/footer-form/footer-form.css +0 -89
  318. package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +0 -70
  319. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
  320. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -114
  321. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.css +0 -14
  322. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +0 -161
  323. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +0 -847
  324. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +0 -269
  325. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +0 -393
  326. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +0 -164
  327. package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.css +0 -118
  328. package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +0 -50
  329. package/dist/collection/components/organism-bundles/news-search-result/news-search-result.css +0 -88
  330. package/dist/collection/components/organism-bundles/news-search-result/news-search-result.js +0 -40
  331. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +0 -1142
  332. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.js +0 -67
  333. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.css +0 -82
  334. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +0 -115
  335. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +0 -786
  336. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +0 -165
  337. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.js +0 -63
  338. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +0 -1151
  339. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.js +0 -63
  340. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +0 -173
  341. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +0 -367
  342. package/dist/collection/components/ptc-accordion/ptc-accordion.css +0 -118
  343. package/dist/collection/components/ptc-accordion/ptc-accordion.js +0 -194
  344. package/dist/collection/components/ptc-announcement/ptc-announcement.css +0 -328
  345. package/dist/collection/components/ptc-announcement/ptc-announcement.js +0 -288
  346. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +0 -103
  347. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +0 -137
  348. package/dist/collection/components/ptc-background-video/ptc-background-video.css +0 -262
  349. package/dist/collection/components/ptc-background-video/ptc-background-video.js +0 -411
  350. package/dist/collection/components/ptc-badge/ptc-badge.css +0 -87
  351. package/dist/collection/components/ptc-badge/ptc-badge.js +0 -87
  352. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +0 -574
  353. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +0 -174
  354. package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.css +0 -95
  355. package/dist/collection/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.js +0 -46
  356. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +0 -203
  357. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +0 -173
  358. package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.css +0 -78
  359. package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +0 -46
  360. package/dist/collection/components/ptc-button/ptc-button.css +0 -717
  361. package/dist/collection/components/ptc-button/ptc-button.js +0 -530
  362. package/dist/collection/components/ptc-card/ptc-card.css +0 -1580
  363. package/dist/collection/components/ptc-card/ptc-card.js +0 -632
  364. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +0 -175
  365. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +0 -184
  366. package/dist/collection/components/ptc-card-content/ptc-card-content.css +0 -448
  367. package/dist/collection/components/ptc-card-content/ptc-card-content.js +0 -254
  368. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +0 -292
  369. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +0 -367
  370. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +0 -1169
  371. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +0 -246
  372. package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +0 -144
  373. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +0 -201
  374. package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.css +0 -121
  375. package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.js +0 -90
  376. package/dist/collection/components/ptc-close-icon/ptc-close-icon.css +0 -97
  377. package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +0 -18
  378. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +0 -336
  379. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +0 -791
  380. package/dist/collection/components/ptc-container/ptc-container.css +0 -122
  381. package/dist/collection/components/ptc-container/ptc-container.js +0 -138
  382. package/dist/collection/components/ptc-countdown/ptc-countdown.css +0 -180
  383. package/dist/collection/components/ptc-countdown/ptc-countdown.js +0 -344
  384. package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.css +0 -114
  385. package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +0 -459
  386. package/dist/collection/components/ptc-data-lookup/test/__mocks__/@material__select__component.js +0 -5
  387. package/dist/collection/components/ptc-date/ptc-date.css +0 -87
  388. package/dist/collection/components/ptc-date/ptc-date.js +0 -224
  389. package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +0 -176
  390. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +0 -183
  391. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +0 -16
  392. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +0 -207
  393. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +0 -343
  394. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +0 -249
  395. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +0 -311
  396. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +0 -298
  397. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +0 -398
  398. package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.css +0 -158
  399. package/dist/collection/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.js +0 -154
  400. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.css +0 -59
  401. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +0 -80
  402. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +0 -89
  403. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +0 -213
  404. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.css +0 -83
  405. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +0 -61
  406. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +0 -407
  407. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +0 -70
  408. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +0 -229
  409. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +0 -252
  410. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +0 -646
  411. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +0 -258
  412. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +0 -160
  413. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +0 -160
  414. package/dist/collection/components/ptc-footer/ptc-footer-v2.css +0 -435
  415. package/dist/collection/components/ptc-footer/ptc-footer.js +0 -105
  416. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +0 -1207
  417. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +0 -331
  418. package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.css +0 -114
  419. package/dist/collection/components/ptc-form-radio-button/ptc-form-radio-button.js +0 -139
  420. package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.css +0 -63
  421. package/dist/collection/components/ptc-form-radio-group/ptc-form-radio-group.js +0 -101
  422. package/dist/collection/components/ptc-hero/ptc-hero.css +0 -97
  423. package/dist/collection/components/ptc-hero/ptc-hero.js +0 -89
  424. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.css +0 -138
  425. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +0 -78
  426. package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.css +0 -140
  427. package/dist/collection/components/ptc-homepage-image-feature/ptc-homepage-image-feature.js +0 -23
  428. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.css +0 -465
  429. package/dist/collection/components/ptc-homepage-video-background/ptc-homepage-video-background.js +0 -355
  430. package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +0 -141
  431. package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +0 -104
  432. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +0 -932
  433. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +0 -139
  434. package/dist/collection/components/ptc-icon-component/test/__mocks__/swiper.js +0 -17
  435. package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +0 -184
  436. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +0 -164
  437. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +0 -140
  438. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +0 -308
  439. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +0 -113
  440. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +0 -71
  441. package/dist/collection/components/ptc-img/ptc-img.css +0 -207
  442. package/dist/collection/components/ptc-img/ptc-img.js +0 -439
  443. package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +0 -229
  444. package/dist/collection/components/ptc-info-tile/ptc-info-tile.js +0 -176
  445. package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.css +0 -348
  446. package/dist/collection/components/ptc-inline-cta/ptc-inline-cta.js +0 -239
  447. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +0 -1839
  448. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +0 -704
  449. package/dist/collection/components/ptc-link/ptc-link.css +0 -508
  450. package/dist/collection/components/ptc-link/ptc-link.js +0 -342
  451. package/dist/collection/components/ptc-list/ptc-list.css +0 -88
  452. package/dist/collection/components/ptc-list/ptc-list.js +0 -99
  453. package/dist/collection/components/ptc-media-card/ptc-media-card.css +0 -250
  454. package/dist/collection/components/ptc-media-card/ptc-media-card.js +0 -431
  455. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +0 -188
  456. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +0 -118
  457. package/dist/collection/components/ptc-mobile-select/mobile-select/dist/mobile-select.es.js +0 -441
  458. package/dist/collection/components/ptc-mobile-select/mobile-select/dist/mobile-select.iife.js +0 -661
  459. package/dist/collection/components/ptc-mobile-select/mobile-select/dist/mobile-select.iife.min.js +0 -7
  460. package/dist/collection/components/ptc-mobile-select/mobile-select/dist/mobile-select.umd.js +0 -22
  461. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +0 -287
  462. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +0 -288
  463. package/dist/collection/components/ptc-modal/ptc-modal.css +0 -510
  464. package/dist/collection/components/ptc-modal/ptc-modal.js +0 -875
  465. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +0 -218
  466. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +0 -272
  467. package/dist/collection/components/ptc-multi-select/ptc-multi-select.css +0 -301
  468. package/dist/collection/components/ptc-multi-select/ptc-multi-select.js +0 -526
  469. package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +0 -317
  470. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +0 -237
  471. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.css +0 -85
  472. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +0 -18
  473. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.css +0 -93
  474. package/dist/collection/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.js +0 -162
  475. package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.css +0 -87
  476. package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.js +0 -40
  477. package/dist/collection/components/ptc-news/ptc-news.css +0 -95
  478. package/dist/collection/components/ptc-news/ptc-news.js +0 -104
  479. package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.css +0 -125
  480. package/dist/collection/components/ptc-office-location-card/ptc-office-location-card.js +0 -189
  481. package/dist/collection/components/ptc-office-locations/ptc-office-locations.css +0 -414
  482. package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +0 -482
  483. package/dist/collection/components/ptc-overlay/ptc-overlay.css +0 -210
  484. package/dist/collection/components/ptc-overlay/ptc-overlay.js +0 -131
  485. package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +0 -292
  486. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +0 -627
  487. package/dist/collection/components/ptc-para/ptc-para.css +0 -327
  488. package/dist/collection/components/ptc-para/ptc-para.js +0 -502
  489. package/dist/collection/components/ptc-picture/ptc-picture.css +0 -160
  490. package/dist/collection/components/ptc-picture/ptc-picture.js +0 -545
  491. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +0 -5838
  492. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +0 -78
  493. package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.css +0 -81
  494. package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.js +0 -45
  495. package/dist/collection/components/ptc-preloader/ptc-preloader.css +0 -147
  496. package/dist/collection/components/ptc-preloader/ptc-preloader.js +0 -62
  497. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -3758
  498. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +0 -238
  499. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +0 -105
  500. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +0 -105
  501. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +0 -75
  502. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +0 -158
  503. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.css +0 -63
  504. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +0 -113
  505. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +0 -124
  506. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +0 -89
  507. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +0 -384
  508. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +0 -721
  509. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +0 -1217
  510. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +0 -279
  511. package/dist/collection/components/ptc-product-card/ptc-product-card.css +0 -393
  512. package/dist/collection/components/ptc-product-card/ptc-product-card.js +0 -182
  513. package/dist/collection/components/ptc-product-category/ptc-product-category.css +0 -430
  514. package/dist/collection/components/ptc-product-category/ptc-product-category.js +0 -42
  515. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +0 -145
  516. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +0 -185
  517. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +0 -310
  518. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +0 -172
  519. package/dist/collection/components/ptc-product-list/ptc-product-list.css +0 -83
  520. package/dist/collection/components/ptc-product-list/ptc-product-list.js +0 -272
  521. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +0 -227
  522. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +0 -399
  523. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.css +0 -73
  524. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +0 -42
  525. package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.css +0 -160
  526. package/dist/collection/components/ptc-quantity-counter/ptc-quantity-counter.js +0 -180
  527. package/dist/collection/components/ptc-quote/ptc-quote.css +0 -273
  528. package/dist/collection/components/ptc-quote/ptc-quote.js +0 -165
  529. package/dist/collection/components/ptc-readmore/ptc-readmore.css +0 -199
  530. package/dist/collection/components/ptc-readmore/ptc-readmore.js +0 -454
  531. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +0 -318
  532. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +0 -173
  533. package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.css +0 -78
  534. package/dist/collection/components/ptc-readmore-new/ptc-readmore-new.js +0 -229
  535. package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.css +0 -78
  536. package/dist/collection/components/ptc-readmore-v2/ptc-readmore-v2.js +0 -170
  537. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +0 -315
  538. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.js +0 -285
  539. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +0 -211
  540. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +0 -328
  541. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +0 -3
  542. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +0 -65
  543. package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.css +0 -98
  544. package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +0 -288
  545. package/dist/collection/components/ptc-search-field/ptc-search-field.css +0 -270
  546. package/dist/collection/components/ptc-search-field/ptc-search-field.js +0 -276
  547. package/dist/collection/components/ptc-select/ptc-select.css +0 -6251
  548. package/dist/collection/components/ptc-select/ptc-select.js +0 -647
  549. package/dist/collection/components/ptc-seo-title/ptc-seo-title.css +0 -677
  550. package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +0 -314
  551. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +0 -129
  552. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +0 -119
  553. package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.css +0 -94
  554. package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.js +0 -60
  555. package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +0 -100
  556. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +0 -144
  557. package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +0 -148
  558. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +0 -185
  559. package/dist/collection/components/ptc-social-icons/ptc-social-icons.css +0 -82
  560. package/dist/collection/components/ptc-social-icons/ptc-social-icons.js +0 -140
  561. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +0 -132
  562. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +0 -539
  563. package/dist/collection/components/ptc-social-share/ptc-social-share.css +0 -98
  564. package/dist/collection/components/ptc-social-share/ptc-social-share.js +0 -328
  565. package/dist/collection/components/ptc-spacer/ptc-spacer.css +0 -333
  566. package/dist/collection/components/ptc-spacer/ptc-spacer.js +0 -97
  567. package/dist/collection/components/ptc-span/ptc-span.css +0 -186
  568. package/dist/collection/components/ptc-span/ptc-span.js +0 -107
  569. package/dist/collection/components/ptc-square-card/ptc-square-card.css +0 -128
  570. package/dist/collection/components/ptc-square-card/ptc-square-card.js +0 -64
  571. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.css +0 -92
  572. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +0 -62
  573. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.css +0 -70
  574. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +0 -108
  575. package/dist/collection/components/ptc-sticky-title/media/logo.png +0 -0
  576. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.css +0 -183
  577. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +0 -105
  578. package/dist/collection/components/ptc-store-card/ptc-store-card.css +0 -100
  579. package/dist/collection/components/ptc-store-card/ptc-store-card.js +0 -25
  580. package/dist/collection/components/ptc-store-card-list/ptc-store-card-list.css +0 -1246
  581. package/dist/collection/components/ptc-store-card-list/ptc-store-card-list.js +0 -103
  582. package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.css +0 -411
  583. package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.js +0 -647
  584. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +0 -178
  585. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +0 -111
  586. package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +0 -209
  587. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +0 -373
  588. package/dist/collection/components/ptc-tabs/ptc-tab.js +0 -121
  589. package/dist/collection/components/ptc-tabs/ptc-tabs.css +0 -126
  590. package/dist/collection/components/ptc-tabs/ptc-tabs.js +0 -104
  591. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +0 -363
  592. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +0 -230
  593. package/dist/collection/components/ptc-textfield/ptc-textfield.css +0 -3892
  594. package/dist/collection/components/ptc-textfield/ptc-textfield.js +0 -744
  595. package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +0 -136
  596. package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +0 -181
  597. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +0 -5792
  598. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +0 -181
  599. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.css +0 -72
  600. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +0 -170
  601. package/dist/collection/components/ptc-title/ptc-title.css +0 -659
  602. package/dist/collection/components/ptc-title/ptc-title.js +0 -558
  603. package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +0 -283
  604. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +0 -367
  605. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +0 -388
  606. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.js +0 -243
  607. package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.css +0 -193
  608. package/dist/collection/components/ptc-tooltip-v3/ptc-tooltip-v3.js +0 -307
  609. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.css +0 -69
  610. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +0 -48
  611. package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.css +0 -97
  612. package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.js +0 -60
  613. package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.css +0 -79
  614. package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +0 -42
  615. package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.css +0 -91
  616. package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +0 -18
  617. package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.css +0 -82
  618. package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.js +0 -42
  619. package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.css +0 -468
  620. package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +0 -385
  621. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +0 -376
  622. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +0 -100
  623. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +0 -141
  624. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +0 -117
  625. package/dist/collection/components/ptc-video-embed/ptc-video-embed.css +0 -118
  626. package/dist/collection/components/ptc-video-embed/ptc-video-embed.js +0 -158
  627. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +0 -6241
  628. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +0 -261
  629. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +0 -172
  630. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +0 -149
  631. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +0 -149
  632. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +0 -181
  633. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +0 -267
  634. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +0 -172
  635. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +0 -144
  636. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +0 -79
  637. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.css +0 -85
  638. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +0 -151
  639. package/dist/collection/components/tab-content/tab-content.css +0 -91
  640. package/dist/collection/components/tab-content/tab-content.js +0 -96
  641. package/dist/collection/components/tab-header/tab-header.css +0 -123
  642. package/dist/collection/components/tab-header/tab-header.js +0 -189
  643. package/dist/collection/media/svg-imgs/Back-arrow.svg +0 -11
  644. package/dist/collection/media/svg-imgs/NumberOneGreenBadge.svg +0 -4
  645. package/dist/collection/media/svg-imgs/NumberThreeGreenBadge.svg +0 -4
  646. package/dist/collection/media/svg-imgs/NumberTwoGreenBadge.svg +0 -4
  647. package/dist/collection/media/svg-imgs/close.svg +0 -11
  648. package/dist/collection/media/svg-imgs/collapse.svg +0 -8
  649. package/dist/collection/media/svg-imgs/email.svg +0 -4
  650. package/dist/collection/media/svg-imgs/expand.svg +0 -8
  651. package/dist/collection/media/svg-imgs/facebook.svg +0 -3
  652. package/dist/collection/media/svg-imgs/filter.svg +0 -12
  653. package/dist/collection/media/svg-imgs/hide-map-icon.svg +0 -6
  654. package/dist/collection/media/svg-imgs/icon-info-green.svg +0 -16
  655. package/dist/collection/media/svg-imgs/icon-info.svg +0 -16
  656. package/dist/collection/media/svg-imgs/instagram.svg +0 -3
  657. package/dist/collection/media/svg-imgs/linkedin.svg +0 -5
  658. package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +0 -16
  659. package/dist/collection/media/svg-imgs/phone.svg +0 -4
  660. package/dist/collection/media/svg-imgs/play-button-dark.svg +0 -20
  661. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +0 -3
  662. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +0 -3
  663. package/dist/collection/media/svg-imgs/quotation-mark.svg +0 -1
  664. package/dist/collection/media/svg-imgs/show-all.svg +0 -14
  665. package/dist/collection/media/svg-imgs/show-map-icon.svg +0 -5
  666. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +0 -18
  667. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +0 -18
  668. package/dist/collection/media/svg-imgs/union.svg +0 -3
  669. package/dist/collection/media/svg-imgs/wechat.svg +0 -3
  670. package/dist/collection/media/svg-imgs/weibo.svg +0 -3
  671. package/dist/collection/media/svg-imgs/x.svg +0 -3
  672. package/dist/collection/media/svg-imgs/yk.svg +0 -3
  673. package/dist/collection/media/svg-imgs/youtube.svg +0 -3
  674. package/dist/collection/stories/Accordian.stories.js +0 -220
  675. package/dist/collection/stories/Announcement.stories.js +0 -86
  676. package/dist/collection/stories/BackgroundImage.stories.js +0 -53
  677. package/dist/collection/stories/BluePillAnnouncementBar.stories.js +0 -20
  678. package/dist/collection/stories/Breadcrumb.stories.js +0 -64
  679. package/dist/collection/stories/Card.stories.js +0 -89
  680. package/dist/collection/stories/CardWrapper.stories.js +0 -238
  681. package/dist/collection/stories/Countdown.stories.js +0 -71
  682. package/dist/collection/stories/Date.stories.js +0 -60
  683. package/dist/collection/stories/Dropdown.stories.js +0 -44
  684. package/dist/collection/stories/DynamicCard.stories.js +0 -69
  685. package/dist/collection/stories/FilterTag.stories.js +0 -73
  686. package/dist/collection/stories/FormCheckbox.stories.js +0 -58
  687. package/dist/collection/stories/FormRadioButton.stories.js +0 -37
  688. package/dist/collection/stories/Icon.stories.js +0 -48
  689. package/dist/collection/stories/IconList.stories.js +0 -114
  690. package/dist/collection/stories/IconMinimize.stories.js +0 -41
  691. package/dist/collection/stories/InlineCta.stories.js +0 -111
  692. package/dist/collection/stories/Jumbotron.stories.js +0 -691
  693. package/dist/collection/stories/Link.stories.js +0 -119
  694. package/dist/collection/stories/ListItem.stories.js +0 -28
  695. package/dist/collection/stories/MaxWidthContainer.stories.js +0 -46
  696. package/dist/collection/stories/MobileSelect.stories.js +0 -70
  697. package/dist/collection/stories/Modal.stories.js +0 -106
  698. package/dist/collection/stories/Overlay.stories.js +0 -44
  699. package/dist/collection/stories/Pagination.stories.js +0 -102
  700. package/dist/collection/stories/Picture.stories.js +0 -140
  701. package/dist/collection/stories/PreviousUrl.stories.js +0 -80
  702. package/dist/collection/stories/Quote.stories.js +0 -107
  703. package/dist/collection/stories/ResponsiveWrapper.stories.js +0 -21
  704. package/dist/collection/stories/Select.stories.js +0 -39
  705. package/dist/collection/stories/Spacer.stories.js +0 -49
  706. package/dist/collection/stories/Span.stories.js +0 -45
  707. package/dist/collection/stories/SvgButton.stories.js +0 -34
  708. package/dist/collection/stories/Tabs.stories.js +0 -214
  709. package/dist/collection/stories/Textfield.stories.js +0 -111
  710. package/dist/collection/stories/assets/code-brackets.svg +0 -1
  711. package/dist/collection/stories/assets/colors.svg +0 -1
  712. package/dist/collection/stories/assets/comments.svg +0 -1
  713. package/dist/collection/stories/assets/direction.svg +0 -1
  714. package/dist/collection/stories/assets/flow.svg +0 -1
  715. package/dist/collection/stories/assets/plugin.svg +0 -1
  716. package/dist/collection/stories/assets/repo.svg +0 -1
  717. package/dist/collection/stories/assets/stackalt.svg +0 -1
  718. package/dist/collection/stories/design-tokens/color/Color.stories.js +0 -96
  719. package/dist/collection/stories/design-tokens/color/Temp.stories.js +0 -98
  720. package/dist/collection/stories/design-tokens/containers/About.stories.js +0 -19
  721. package/dist/collection/stories/design-tokens/elevations/About.stories.js +0 -68
  722. package/dist/collection/stories/design-tokens/grid/About.stories.js +0 -22
  723. package/dist/collection/stories/design-tokens/motion/About.stories.js +0 -13
  724. package/dist/collection/stories/design-tokens/shape/About.stories.js +0 -69
  725. package/dist/collection/stories/design-tokens/space/About.stories.js +0 -128
  726. package/dist/collection/stories/design-tokens/typography/About.stories.js +0 -20
  727. package/dist/collection/stories/organisms/eSupport/AlertsPage/preview.stories.js +0 -57
  728. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
  729. package/dist/collection/stories/organisms/eSupport/CustomerSupportGuide/preview.stories.js +0 -117
  730. package/dist/collection/stories/organisms/eSupport/HelpCenter/preview.stories.js +0 -81
  731. package/dist/collection/stories/organisms/eSupport/OnDemandSystemScan/preview.stories.js +0 -27
  732. package/dist/collection/stories/organisms/eSupport/ProductHomePage/preview.stories.js +0 -32
  733. package/dist/collection/stories/organisms/eSupport/PublishingTroubleshooter/preview.stories.js +0 -44
  734. package/dist/collection/stories/organisms/eSupport/SuccessPaths/Cards/preview.stories.js +0 -122
  735. package/dist/collection/stories/organisms/eSupport/SuccessPaths/CloudEngagement/preview.stories.js +0 -59
  736. package/dist/collection/stories/organisms/eSupport/SuccessPaths/DetailsPage/preview.stories.js +0 -235
  737. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
  738. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
  739. package/dist/collection/stories/organisms/ptc/Academic Form/preview.stories.js +0 -22
  740. package/dist/collection/stories/organisms/ptc/All Products/preview.stories.js +0 -1616
  741. package/dist/collection/stories/organisms/ptc/Announcement/preview.stories.js +0 -58
  742. package/dist/collection/stories/organisms/ptc/Background Video/preview.stories.js +0 -58
  743. package/dist/collection/stories/organisms/ptc/Blog Author Listing/preview.stories.js +0 -32
  744. package/dist/collection/stories/organisms/ptc/Blog Content/preview.stories.js +0 -317
  745. package/dist/collection/stories/organisms/ptc/Blog Detail/preview.stories.js +0 -500
  746. package/dist/collection/stories/organisms/ptc/Blogs Listing Page/preview.stories.js +0 -368
  747. package/dist/collection/stories/organisms/ptc/Bureau New Dynamic/preview.stories.js +0 -54
  748. package/dist/collection/stories/organisms/ptc/Buying Options Cards Slider/preview.stories.js +0 -187
  749. package/dist/collection/stories/organisms/ptc/Case Studies/preview.stories.js +0 -243
  750. package/dist/collection/stories/organisms/ptc/Case Studies Detail Page/preview.stories.js +0 -456
  751. package/dist/collection/stories/organisms/ptc/Case Studies Slider/preview.stories.js +0 -384
  752. package/dist/collection/stories/organisms/ptc/Case Studies Slider New/preview.stories.js +0 -171
  753. package/dist/collection/stories/organisms/ptc/Clq Modal Quiz/preview.stories.js +0 -100
  754. package/dist/collection/stories/organisms/ptc/Contact Free Trial Form/preview.stories.js +0 -22
  755. package/dist/collection/stories/organisms/ptc/Countdown Example/preview.stories.js +0 -29
  756. package/dist/collection/stories/organisms/ptc/E Store Build Listing/preview.stories.js +0 -543
  757. package/dist/collection/stories/organisms/ptc/E Store Build Product/preview.stories.js +0 -438
  758. package/dist/collection/stories/organisms/ptc/E Store Creo Extension/preview.stories.js +0 -798
  759. package/dist/collection/stories/organisms/ptc/Eloqua Library Contact Info/preview.stories.js +0 -168
  760. package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor PCenter/preview.stories.js +0 -60
  761. package/dist/collection/stories/organisms/ptc/Eloqua Library Visitor Recipient Id/preview.stories.js +0 -59
  762. package/dist/collection/stories/organisms/ptc/Embedded Form/preview.stories.js +0 -23
  763. package/dist/collection/stories/organisms/ptc/Embedded Form Floating/preview.stories.js +0 -165
  764. package/dist/collection/stories/organisms/ptc/Event Detail/preview.stories.js +0 -16
  765. package/dist/collection/stories/organisms/ptc/Event Jumbotron/preview.stories.js +0 -470
  766. package/dist/collection/stories/organisms/ptc/Event Podcast Slider/preview.stories.js +0 -142
  767. package/dist/collection/stories/organisms/ptc/Events Listing Cards/preview.stories.js +0 -169
  768. package/dist/collection/stories/organisms/ptc/Events Listing Cards Horizontal/preview.stories.js +0 -169
  769. package/dist/collection/stories/organisms/ptc/Featured Events Slider/preview.stories.js +0 -165
  770. package/dist/collection/stories/organisms/ptc/Featured List/preview.stories.js +0 -16
  771. package/dist/collection/stories/organisms/ptc/Filter Level Theater/preview.stories.js +0 -18
  772. package/dist/collection/stories/organisms/ptc/Five Card Value Prop/preview.stories.js +0 -64
  773. package/dist/collection/stories/organisms/ptc/Footer Form/preview.stories.js +0 -18
  774. package/dist/collection/stories/organisms/ptc/Footer V2/preview.stories.js +0 -138
  775. package/dist/collection/stories/organisms/ptc/Footer V2 Cn/preview.stories.js +0 -146
  776. package/dist/collection/stories/organisms/ptc/Form Radio Button/preview.stories.js +0 -42
  777. package/dist/collection/stories/organisms/ptc/Framed Video 16 9/preview.stories.js +0 -31
  778. package/dist/collection/stories/organisms/ptc/Homepage Image Feature/preview.stories.js +0 -41
  779. package/dist/collection/stories/organisms/ptc/Homepage Jumbotron/preview.stories.js +0 -166
  780. package/dist/collection/stories/organisms/ptc/Homepage Toggled Content/preview.stories.js +0 -227
  781. package/dist/collection/stories/organisms/ptc/Hub Of Hubs/preview.stories.js +0 -417
  782. package/dist/collection/stories/organisms/ptc/Intro/preview.stories.js +0 -41
  783. package/dist/collection/stories/organisms/ptc/Jumbotron/preview.stories.js +0 -431
  784. package/dist/collection/stories/organisms/ptc/Jumbotron With Logos/preview.stories.js +0 -431
  785. package/dist/collection/stories/organisms/ptc/Large Bulleted List/preview.stories.js +0 -224
  786. package/dist/collection/stories/organisms/ptc/Large Bulleted List V2/preview.stories.js +0 -326
  787. package/dist/collection/stories/organisms/ptc/Listing Filter/preview.stories.js +0 -256
  788. package/dist/collection/stories/organisms/ptc/Main Nav Product Solutions Tab/preview.stories.js +0 -200
  789. package/dist/collection/stories/organisms/ptc/Mathcad Start Page/preview.stories.js +0 -100
  790. package/dist/collection/stories/organisms/ptc/Media Kit Speed Bump/preview.stories.js +0 -39
  791. package/dist/collection/stories/organisms/ptc/Most Popular News/preview.stories.js +0 -28
  792. package/dist/collection/stories/organisms/ptc/Mvc Form/preview.stories.js +0 -22
  793. package/dist/collection/stories/organisms/ptc/New Buttons/preview.stories.js +0 -125
  794. package/dist/collection/stories/organisms/ptc/Partners Detail/preview.stories.js +0 -151
  795. package/dist/collection/stories/organisms/ptc/Partners Listing/preview.stories.js +0 -394
  796. package/dist/collection/stories/organisms/ptc/Pdf Portal/preview.stories.js +0 -140
  797. package/dist/collection/stories/organisms/ptc/Plm On Demand 1/preview.stories.js +0 -205
  798. package/dist/collection/stories/organisms/ptc/Plm On Demand 2/preview.stories.js +0 -180
  799. package/dist/collection/stories/organisms/ptc/Podcast List/preview.stories.js +0 -175
  800. package/dist/collection/stories/organisms/ptc/Preference Center/preview.stories.js +0 -235
  801. package/dist/collection/stories/organisms/ptc/Preference Center Exit Page/preview.stories.js +0 -85
  802. package/dist/collection/stories/organisms/ptc/Preference Center Update Email/preview.stories.js +0 -54
  803. package/dist/collection/stories/organisms/ptc/Preference Center Update Personal Info/preview.stories.js +0 -59
  804. package/dist/collection/stories/organisms/ptc/Pricing Packaging Table/preview.stories.js +0 -399
  805. package/dist/collection/stories/organisms/ptc/Pricing Packaging Table Subnav/preview.stories.js +0 -179
  806. package/dist/collection/stories/organisms/ptc/Ptc 3 Card Value Prop/preview.stories.js +0 -46
  807. package/dist/collection/stories/organisms/ptc/Ptc Bio Cards/preview.stories.js +0 -741
  808. package/dist/collection/stories/organisms/ptc/Ptc Creo Start Page/preview.stories.js +0 -111
  809. package/dist/collection/stories/organisms/ptc/Ptc Editorial/preview.stories.js +0 -84
  810. package/dist/collection/stories/organisms/ptc/Ptc Form/preview.stories.js +0 -18
  811. package/dist/collection/stories/organisms/ptc/Ptc Icon Card Slider/preview.stories.js +0 -121
  812. package/dist/collection/stories/organisms/ptc/Ptc Icon Component/preview.stories.js +0 -185
  813. package/dist/collection/stories/organisms/ptc/Ptc Icon Sprites/preview.stories.js +0 -150
  814. package/dist/collection/stories/organisms/ptc/Ptc Innovator Toggle/preview.stories.js +0 -421
  815. package/dist/collection/stories/organisms/ptc/Ptc Media Cards/preview.stories.js +0 -133
  816. package/dist/collection/stories/organisms/ptc/Ptc News Detail/preview.stories.js +0 -142
  817. package/dist/collection/stories/organisms/ptc/Ptc News Detail Alternate/preview.stories.js +0 -140
  818. package/dist/collection/stories/organisms/ptc/Ptc Offices/preview.stories.js +0 -405
  819. package/dist/collection/stories/organisms/ptc/Ptc Readmore V3/preview.stories.js +0 -71
  820. package/dist/collection/stories/organisms/ptc/Ptc Showcase Card/preview.stories.js +0 -177
  821. package/dist/collection/stories/organisms/ptc/Ptc Sticky Share Icons/preview.stories.js +0 -184
  822. package/dist/collection/stories/organisms/ptc/Ptc Subnav V1/preview.stories.js +0 -149
  823. package/dist/collection/stories/organisms/ptc/Ptc Subnav V2/preview.stories.js +0 -91
  824. package/dist/collection/stories/organisms/ptc/Ptc Text Copy With Background/preview.stories.js +0 -226
  825. package/dist/collection/stories/organisms/ptc/Ptc Title Demo/preview.stories.js +0 -24
  826. package/dist/collection/stories/organisms/ptc/Ptc Tooltip V3/preview.stories.js +0 -85
  827. package/dist/collection/stories/organisms/ptc/Ptc Two Column Two Media/preview.stories.js +0 -126
  828. package/dist/collection/stories/organisms/ptc/Read More/preview.stories.js +0 -278
  829. package/dist/collection/stories/organisms/ptc/Related Cards/preview.stories.js +0 -107
  830. package/dist/collection/stories/organisms/ptc/Resource Center/preview.stories.js +0 -149
  831. package/dist/collection/stories/organisms/ptc/Search Result/preview.stories.js +0 -62
  832. package/dist/collection/stories/organisms/ptc/Search Result News/preview.stories.js +0 -72
  833. package/dist/collection/stories/organisms/ptc/Searchbar Plm On Demand/preview.stories.js +0 -62
  834. package/dist/collection/stories/organisms/ptc/Seo Test/preview.stories.js +0 -215
  835. package/dist/collection/stories/organisms/ptc/Sequential Slider/preview.stories.js +0 -38
  836. package/dist/collection/stories/organisms/ptc/Sequential Slider Mobile/preview.stories.js +0 -90
  837. package/dist/collection/stories/organisms/ptc/Shortform Agileworx/preview.stories.js +0 -22
  838. package/dist/collection/stories/organisms/ptc/Storefront Enhanced Product Listing/preview.stories.js +0 -132
  839. package/dist/collection/stories/organisms/ptc/Subnav New/preview.stories.js +0 -360
  840. package/dist/collection/stories/organisms/ptc/Success Path Details Page/preview.stories.js +0 -236
  841. package/dist/collection/stories/organisms/ptc/Three Column Text/preview.stories.js +0 -75
  842. package/dist/collection/stories/organisms/ptc/Three Up Text Cards/preview.stories.js +0 -134
  843. package/dist/collection/stories/organisms/ptc/Two Column Media/preview.stories.js +0 -181
  844. package/dist/collection/stories/organisms/ptc/Two Column With Toggle/preview.stories.js +0 -549
  845. package/dist/collection/stories/organisms/ptc/Value Led Resource/preview.stories.js +0 -479
  846. package/dist/collection/stories/organisms/ptc/Volvo Three Col/preview.stories.js +0 -115
  847. package/dist/collection/stories/organisms/ptc/Vuforia Quiz/preview.stories.js +0 -26
  848. package/dist/collection/stories/organisms/ptc/White Paper/preview.stories.js +0 -174
  849. package/dist/collection/utils/__mocks__/@material__select__component.js +0 -5
  850. package/dist/custom-elements/index.d.ts +0 -1143
  851. package/dist/custom-elements/index.js +0 -38289
  852. package/dist/esm/_commonjsHelpers-9943807e.js +0 -17
  853. package/dist/esm/academic-form-test.entry.js +0 -78
  854. package/dist/esm/author-listing-example.entry.js +0 -241
  855. package/dist/esm/blog-detail-content_2.entry.js +0 -270
  856. package/dist/esm/blog-detail-layout.entry.js +0 -65
  857. package/dist/esm/blogs-search-section.entry.js +0 -214
  858. package/dist/esm/bundle-example.entry.js +0 -49
  859. package/dist/esm/bundle-jumbotron-example.entry.js +0 -59
  860. package/dist/esm/buying-option-card.entry.js +0 -180
  861. package/dist/esm/buying-option-cards-slider.entry.js +0 -171
  862. package/dist/esm/component-80f298b4.js +0 -6462
  863. package/dist/esm/core-9dcd68aa.js +0 -3874
  864. package/dist/esm/dropdown-item.entry.js +0 -17
  865. package/dist/esm/dynamic-box-bundle.entry.js +0 -34
  866. package/dist/esm/embedded-form.entry.js +0 -101
  867. package/dist/esm/event-jumbotron-example.entry.js +0 -229
  868. package/dist/esm/event-podcast-slider-example.entry.js +0 -64
  869. package/dist/esm/featured-events-slider-example.entry.js +0 -58
  870. package/dist/esm/featured-list.entry.js +0 -104
  871. package/dist/esm/fl-tab-content_3.entry.js +0 -98
  872. package/dist/esm/focus-trap.esm-d205300d.js +0 -1556
  873. package/dist/esm/footer-form.entry.js +0 -60
  874. package/dist/esm/global-1a5f28d5.js +0 -31
  875. package/dist/esm/homepage-clickable-tab.entry.js +0 -56
  876. package/dist/esm/homepage-jumbotron.entry.js +0 -124
  877. package/dist/esm/homepage-toggled-content.entry.js +0 -150
  878. package/dist/esm/icon-asset_2.entry.js +0 -149
  879. package/dist/esm/index-0bf594c4.js +0 -2103
  880. package/dist/esm/innovator-toggle-container.entry.js +0 -64
  881. package/dist/esm/interfaces-4caedd26.js +0 -12
  882. package/dist/esm/jumbotron-sub-menu.entry.js +0 -37
  883. package/dist/esm/jumbotron-sub-mune.entry.js +0 -51
  884. package/dist/esm/list-item.entry.js +0 -48
  885. package/dist/esm/max-width-container.entry.js +0 -50
  886. package/dist/esm/modal-form-example.entry.js +0 -105
  887. package/dist/esm/most-popular-news.entry.js +0 -39
  888. package/dist/esm/mousewheel-6b2f6590.js +0 -389
  889. package/dist/esm/news-search-result.entry.js +0 -26
  890. package/dist/esm/pagination-191217c1.js +0 -664
  891. package/dist/esm/polyfills/core-js.js +0 -11
  892. package/dist/esm/polyfills/css-shim.js +0 -1
  893. package/dist/esm/polyfills/dom.js +0 -79
  894. package/dist/esm/polyfills/es5-html-element.js +0 -1
  895. package/dist/esm/polyfills/index.js +0 -34
  896. package/dist/esm/polyfills/system.js +0 -6
  897. package/dist/esm/ptc-accordion-item.entry.js +0 -120
  898. package/dist/esm/ptc-accordion.entry.js +0 -87
  899. package/dist/esm/ptc-announcement.entry.js +0 -73
  900. package/dist/esm/ptc-back-to-top.entry.js +0 -96
  901. package/dist/esm/ptc-background-video.entry.js +0 -148
  902. package/dist/esm/ptc-badge.entry.js +0 -26
  903. package/dist/esm/ptc-bio-card.entry.js +0 -57
  904. package/dist/esm/ptc-blue-pill-announcement-bar.entry.js +0 -19
  905. package/dist/esm/ptc-breadcrumb.entry.js +0 -59
  906. package/dist/esm/ptc-brightcov-video.entry.js +0 -20
  907. package/dist/esm/ptc-button.entry.js +0 -113
  908. package/dist/esm/ptc-card-bottom_2.entry.js +0 -194
  909. package/dist/esm/ptc-card-content.entry.js +0 -88
  910. package/dist/esm/ptc-card_2.entry.js +0 -297
  911. package/dist/esm/ptc-case-studies-slider.entry.js +0 -1205
  912. package/dist/esm/ptc-checkbox-group.entry.js +0 -46
  913. package/dist/esm/ptc-checkbox.entry.js +0 -70
  914. package/dist/esm/ptc-close-icon_2.entry.js +0 -355
  915. package/dist/esm/ptc-collapse-list.entry.js +0 -539
  916. package/dist/esm/ptc-container.entry.js +0 -40
  917. package/dist/esm/ptc-countdown.entry.js +0 -172
  918. package/dist/esm/ptc-data-lookup.entry.js +0 -680
  919. package/dist/esm/ptc-date.entry.js +0 -57
  920. package/dist/esm/ptc-dropdown.entry.js +0 -75
  921. package/dist/esm/ptc-dynamic-card.entry.js +0 -137
  922. package/dist/esm/ptc-ellipsis-dropdown.entry.js +0 -197
  923. package/dist/esm/ptc-embedded-quiz.entry.js +0 -295
  924. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +0 -69
  925. package/dist/esm/ptc-featured-list.entry.js +0 -44
  926. package/dist/esm/ptc-filter-dropdown_4.entry.js +0 -374
  927. package/dist/esm/ptc-filter-level-theater.entry.js +0 -189
  928. package/dist/esm/ptc-filter-tag_2.entry.js +0 -424
  929. package/dist/esm/ptc-footer.entry.js +0 -64
  930. package/dist/esm/ptc-form-checkbox_4.entry.js +0 -5193
  931. package/dist/esm/ptc-form-radio-button.entry.js +0 -52
  932. package/dist/esm/ptc-form-radio-group.entry.js +0 -52
  933. package/dist/esm/ptc-form.entry.js +0 -152
  934. package/dist/esm/ptc-hero-footer-cta.entry.js +0 -18
  935. package/dist/esm/ptc-hero.entry.js +0 -28
  936. package/dist/esm/ptc-homepage-image-feature.entry.js +0 -20
  937. package/dist/esm/ptc-homepage-video-background.entry.js +0 -200
  938. package/dist/esm/ptc-icon-card-slider-example.entry.js +0 -68
  939. package/dist/esm/ptc-icon-card.entry.js +0 -26
  940. package/dist/esm/ptc-icon-component.entry.js +0 -122
  941. package/dist/esm/ptc-icon-list.entry.js +0 -30
  942. package/dist/esm/ptc-icon-minimize.entry.js +0 -169
  943. package/dist/esm/ptc-image-download-strip.entry.js +0 -28
  944. package/dist/esm/ptc-img.entry.js +0 -212
  945. package/dist/esm/ptc-info-tile.entry.js +0 -46
  946. package/dist/esm/ptc-inline-cta.entry.js +0 -134
  947. package/dist/esm/ptc-jumbotron.entry.js +0 -186
  948. package/dist/esm/ptc-link.entry.js +0 -87
  949. package/dist/esm/ptc-list.entry.js +0 -56
  950. package/dist/esm/ptc-media-card.entry.js +0 -167
  951. package/dist/esm/ptc-minimized-nav.entry.js +0 -20
  952. package/dist/esm/ptc-mobile-select.entry.js +0 -562
  953. package/dist/esm/ptc-modal-quiz.entry.js +0 -183
  954. package/dist/esm/ptc-nav-card.entry.js +0 -38
  955. package/dist/esm/ptc-nav-link.entry.js +0 -44
  956. package/dist/esm/ptc-nav-pills.entry.js +0 -15
  957. package/dist/esm/ptc-nav-skip-to-content.entry.js +0 -66
  958. package/dist/esm/ptc-nav-slider.entry.js +0 -111
  959. package/dist/esm/ptc-nav-submenu.entry.js +0 -44
  960. package/dist/esm/ptc-nav-tile.entry.js +0 -16
  961. package/dist/esm/ptc-news.entry.js +0 -27
  962. package/dist/esm/ptc-office-location-card.entry.js +0 -61
  963. package/dist/esm/ptc-office-locations.entry.js +0 -341
  964. package/dist/esm/ptc-overlay.entry.js +0 -30
  965. package/dist/esm/ptc-para.entry.js +0 -135
  966. package/dist/esm/ptc-picture.entry.js +0 -181
  967. package/dist/esm/ptc-podcast-card.entry.js +0 -18
  968. package/dist/esm/ptc-preferance-center-form.entry.js +0 -42
  969. package/dist/esm/ptc-preloader.entry.js +0 -18
  970. package/dist/esm/ptc-previous-url.entry.js +0 -27
  971. package/dist/esm/ptc-pricing-add-on-card.entry.js +0 -25
  972. package/dist/esm/ptc-pricing-add-on-section.entry.js +0 -47
  973. package/dist/esm/ptc-pricing-block.entry.js +0 -29
  974. package/dist/esm/ptc-pricing-packaging-table.entry.js +0 -528
  975. package/dist/esm/ptc-pricing-tabs.entry.js +0 -138
  976. package/dist/esm/ptc-product-card.entry.js +0 -57
  977. package/dist/esm/ptc-product-category.entry.js +0 -16
  978. package/dist/esm/ptc-product-dropdown.entry.js +0 -76
  979. package/dist/esm/ptc-product-highlight-card.entry.js +0 -24
  980. package/dist/esm/ptc-product-list.entry.js +0 -168
  981. package/dist/esm/ptc-product-sidebar.entry.js +0 -174
  982. package/dist/esm/ptc-progress-bar.entry.js +0 -23
  983. package/dist/esm/ptc-quantity-counter.entry.js +0 -95
  984. package/dist/esm/ptc-quote.entry.js +0 -36
  985. package/dist/esm/ptc-readmore-char.entry.js +0 -40
  986. package/dist/esm/ptc-readmore-new.entry.js +0 -102
  987. package/dist/esm/ptc-readmore-v3.entry.js +0 -123
  988. package/dist/esm/ptc-readmore.entry.js +0 -182
  989. package/dist/esm/ptc-related-card-rail.entry.js +0 -254
  990. package/dist/esm/ptc-responsive-wrapper.entry.js +0 -61
  991. package/dist/esm/ptc-scroll-button.entry.js +0 -131
  992. package/dist/esm/ptc-seo-title.entry.js +0 -78
  993. package/dist/esm/ptc-shopping-cart.entry.js +0 -65
  994. package/dist/esm/ptc-showcase-card.entry.js +0 -17
  995. package/dist/esm/ptc-skeleton.entry.js +0 -28
  996. package/dist/esm/ptc-slit-card.entry.js +0 -36
  997. package/dist/esm/ptc-social-icons-footer.entry.js +0 -88
  998. package/dist/esm/ptc-social-icons.entry.js +0 -29
  999. package/dist/esm/ptc-spacer.entry.js +0 -34
  1000. package/dist/esm/ptc-span.entry.js +0 -27
  1001. package/dist/esm/ptc-square-card.entry.js +0 -21
  1002. package/dist/esm/ptc-sticky-icons.entry.js +0 -50
  1003. package/dist/esm/ptc-sticky-section.entry.js +0 -66
  1004. package/dist/esm/ptc-sticky-title.entry.js +0 -46
  1005. package/dist/esm/ptc-store-card-list.entry.js +0 -101
  1006. package/dist/esm/ptc-store-card.entry.js +0 -20
  1007. package/dist/esm/ptc-subnav-card.entry.js +0 -23
  1008. package/dist/esm/ptc-subnav-v2.entry.js +0 -591
  1009. package/dist/esm/ptc-subnav.entry.js +0 -32
  1010. package/dist/esm/ptc-svg-btn.entry.js +0 -114
  1011. package/dist/esm/ptc-tab-list.entry.js +0 -270
  1012. package/dist/esm/ptc-tab.entry.js +0 -27
  1013. package/dist/esm/ptc-tabs.entry.js +0 -54
  1014. package/dist/esm/ptc-text-copy-with-background.entry.js +0 -63
  1015. package/dist/esm/ptc-theater-video-modal.entry.js +0 -117
  1016. package/dist/esm/ptc-title.entry.js +0 -157
  1017. package/dist/esm/ptc-tooltip-v2.entry.js +0 -76
  1018. package/dist/esm/ptc-tooltip-v3.entry.js +0 -115
  1019. package/dist/esm/ptc-tooltip.entry.js +0 -109
  1020. package/dist/esm/ptc-two-column-media.entry.js +0 -22
  1021. package/dist/esm/ptc-value-led-card.entry.js +0 -17
  1022. package/dist/esm/ptc-value-led-content-highlight.entry.js +0 -15
  1023. package/dist/esm/ptc-value-led-content.entry.js +0 -16
  1024. package/dist/esm/ptc-value-led-intro.entry.js +0 -16
  1025. package/dist/esm/ptc-value-led-layout.entry.js +0 -280
  1026. package/dist/esm/ptc-value-led-speed-bump.entry.js +0 -31
  1027. package/dist/esm/ptc-value-prop-card.entry.js +0 -20
  1028. package/dist/esm/ptc-video-embed.entry.js +0 -80
  1029. package/dist/esm/ptc-white-paper.entry.js +0 -147
  1030. package/dist/esm/ptcw-design.js +0 -20
  1031. package/dist/esm/scrollbar-b41be07f.js +0 -350
  1032. package/dist/esm/sequential-bundle-example.entry.js +0 -115
  1033. package/dist/esm/sequential-bundle.entry.js +0 -95
  1034. package/dist/esm/show-map-icon-6d9dce32.js +0 -8
  1035. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +0 -62
  1036. package/dist/esm/storefront-enhanced-product-list-example.entry.js +0 -62
  1037. package/dist/esm/tab-content.entry.js +0 -46
  1038. package/dist/esm/tab-header.entry.js +0 -78
  1039. package/dist/esm/utils-bdd0cc16.js +0 -282
  1040. package/dist/esm/validation-messages-1379b825.js +0 -169
  1041. package/dist/esm/x-cd64dee4.js +0 -18
  1042. package/dist/ptcw-design/index.esm.js +0 -0
  1043. package/dist/ptcw-design/media/brands.svg +0 -1381
  1044. package/dist/ptcw-design/media/designer-v6.0.7.svg +0 -765
  1045. package/dist/ptcw-design/media/logo.png +0 -0
  1046. package/dist/ptcw-design/media/nav-active-dotslick.svg +0 -16
  1047. package/dist/ptcw-design/media/regular.svg +0 -463
  1048. package/dist/ptcw-design/media/solid.svg +0 -3016
  1049. package/dist/ptcw-design/media/svg-with-js.min.css +0 -5
  1050. package/dist/ptcw-design/p-00c5879b.entry.js +0 -1
  1051. package/dist/ptcw-design/p-0229f63c.entry.js +0 -68
  1052. package/dist/ptcw-design/p-03a1e1a5.entry.js +0 -1
  1053. package/dist/ptcw-design/p-068b64a1.entry.js +0 -1
  1054. package/dist/ptcw-design/p-07b46e6e.entry.js +0 -1
  1055. package/dist/ptcw-design/p-0abb6e77.entry.js +0 -1
  1056. package/dist/ptcw-design/p-0b33279e.js +0 -10
  1057. package/dist/ptcw-design/p-0bb3ea9a.entry.js +0 -1
  1058. package/dist/ptcw-design/p-0dac6766.entry.js +0 -1
  1059. package/dist/ptcw-design/p-0ea22cdc.entry.js +0 -1
  1060. package/dist/ptcw-design/p-0ec2a26d.entry.js +0 -1
  1061. package/dist/ptcw-design/p-0ed4609e.entry.js +0 -1
  1062. package/dist/ptcw-design/p-0efedf59.js +0 -1
  1063. package/dist/ptcw-design/p-112455b1.js +0 -1
  1064. package/dist/ptcw-design/p-1149e673.entry.js +0 -1
  1065. package/dist/ptcw-design/p-11e86045.entry.js +0 -1
  1066. package/dist/ptcw-design/p-1238e070.entry.js +0 -1
  1067. package/dist/ptcw-design/p-14c77b5e.entry.js +0 -1
  1068. package/dist/ptcw-design/p-183ba1ca.entry.js +0 -1
  1069. package/dist/ptcw-design/p-1ab6201b.entry.js +0 -1
  1070. package/dist/ptcw-design/p-1acd3617.entry.js +0 -1
  1071. package/dist/ptcw-design/p-1b3394a7.entry.js +0 -1
  1072. package/dist/ptcw-design/p-1e4d0bb7.entry.js +0 -1
  1073. package/dist/ptcw-design/p-1e9f25fc.entry.js +0 -1
  1074. package/dist/ptcw-design/p-20dfd7bd.entry.js +0 -1
  1075. package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
  1076. package/dist/ptcw-design/p-23411b93.entry.js +0 -1
  1077. package/dist/ptcw-design/p-27cd474f.entry.js +0 -1
  1078. package/dist/ptcw-design/p-290012e3.entry.js +0 -1
  1079. package/dist/ptcw-design/p-2ba77e9d.entry.js +0 -1
  1080. package/dist/ptcw-design/p-2bc4bf65.entry.js +0 -1
  1081. package/dist/ptcw-design/p-2e288e60.entry.js +0 -1
  1082. package/dist/ptcw-design/p-2efd18d8.entry.js +0 -1
  1083. package/dist/ptcw-design/p-2f4f6ccd.js +0 -1
  1084. package/dist/ptcw-design/p-2f7b6437.entry.js +0 -1
  1085. package/dist/ptcw-design/p-2f82de8f.entry.js +0 -1
  1086. package/dist/ptcw-design/p-2fd01953.entry.js +0 -1
  1087. package/dist/ptcw-design/p-2fdd81d4.entry.js +0 -1
  1088. package/dist/ptcw-design/p-315b7885.entry.js +0 -1
  1089. package/dist/ptcw-design/p-36cb30ee.js +0 -1
  1090. package/dist/ptcw-design/p-36d6e662.entry.js +0 -1
  1091. package/dist/ptcw-design/p-384548ef.entry.js +0 -1
  1092. package/dist/ptcw-design/p-39255f59.entry.js +0 -1
  1093. package/dist/ptcw-design/p-3ada2482.entry.js +0 -1
  1094. package/dist/ptcw-design/p-3b9fbbaa.js +0 -1
  1095. package/dist/ptcw-design/p-3c52fabe.entry.js +0 -1
  1096. package/dist/ptcw-design/p-3c941935.entry.js +0 -1
  1097. package/dist/ptcw-design/p-3e13b735.entry.js +0 -1
  1098. package/dist/ptcw-design/p-3e13f29c.entry.js +0 -1
  1099. package/dist/ptcw-design/p-4313edfb.entry.js +0 -1
  1100. package/dist/ptcw-design/p-43756439.entry.js +0 -1
  1101. package/dist/ptcw-design/p-47aa1583.entry.js +0 -1
  1102. package/dist/ptcw-design/p-4fd2afc0.entry.js +0 -1
  1103. package/dist/ptcw-design/p-5119fb48.entry.js +0 -1
  1104. package/dist/ptcw-design/p-522cb451.entry.js +0 -1
  1105. package/dist/ptcw-design/p-5292a000.js +0 -1
  1106. package/dist/ptcw-design/p-5344a1f4.entry.js +0 -1
  1107. package/dist/ptcw-design/p-53d2547b.entry.js +0 -1
  1108. package/dist/ptcw-design/p-54891548.entry.js +0 -1
  1109. package/dist/ptcw-design/p-561a622f.entry.js +0 -1
  1110. package/dist/ptcw-design/p-562a3e36.entry.js +0 -1
  1111. package/dist/ptcw-design/p-575c7fc0.entry.js +0 -1
  1112. package/dist/ptcw-design/p-5b00a563.entry.js +0 -1
  1113. package/dist/ptcw-design/p-5bbfd7b3.entry.js +0 -1
  1114. package/dist/ptcw-design/p-5dd9b00c.entry.js +0 -1
  1115. package/dist/ptcw-design/p-5fb671ee.entry.js +0 -1
  1116. package/dist/ptcw-design/p-61a5012d.entry.js +0 -1
  1117. package/dist/ptcw-design/p-6251a6d6.entry.js +0 -1
  1118. package/dist/ptcw-design/p-6481e853.entry.js +0 -1
  1119. package/dist/ptcw-design/p-672a349f.js +0 -336
  1120. package/dist/ptcw-design/p-674c828e.entry.js +0 -1
  1121. package/dist/ptcw-design/p-6cfb5642.entry.js +0 -1
  1122. package/dist/ptcw-design/p-6d628113.entry.js +0 -1
  1123. package/dist/ptcw-design/p-6f1cc5e5.entry.js +0 -1
  1124. package/dist/ptcw-design/p-709cc1f0.entry.js +0 -1
  1125. package/dist/ptcw-design/p-711bcdad.js +0 -1
  1126. package/dist/ptcw-design/p-73293d32.entry.js +0 -1
  1127. package/dist/ptcw-design/p-746337da.entry.js +0 -1
  1128. package/dist/ptcw-design/p-74a845fd.entry.js +0 -1
  1129. package/dist/ptcw-design/p-752159e2.entry.js +0 -1
  1130. package/dist/ptcw-design/p-75c8fceb.entry.js +0 -1
  1131. package/dist/ptcw-design/p-75d8b6ec.entry.js +0 -1
  1132. package/dist/ptcw-design/p-7777753a.entry.js +0 -1
  1133. package/dist/ptcw-design/p-7815e38b.entry.js +0 -1
  1134. package/dist/ptcw-design/p-79762cf6.entry.js +0 -1
  1135. package/dist/ptcw-design/p-79a6e764.entry.js +0 -1
  1136. package/dist/ptcw-design/p-7b89a8e1.entry.js +0 -1
  1137. package/dist/ptcw-design/p-7c6d6a5e.entry.js +0 -1
  1138. package/dist/ptcw-design/p-7f2c5da5.js +0 -1
  1139. package/dist/ptcw-design/p-804dac0c.entry.js +0 -1
  1140. package/dist/ptcw-design/p-807ad5c4.entry.js +0 -1
  1141. package/dist/ptcw-design/p-80c56c81.entry.js +0 -1
  1142. package/dist/ptcw-design/p-81736d6a.entry.js +0 -1
  1143. package/dist/ptcw-design/p-828edda6.entry.js +0 -1
  1144. package/dist/ptcw-design/p-83c3d6c9.entry.js +0 -1
  1145. package/dist/ptcw-design/p-83dabf2e.entry.js +0 -1
  1146. package/dist/ptcw-design/p-850e6e8c.entry.js +0 -1
  1147. package/dist/ptcw-design/p-87215e3a.entry.js +0 -1
  1148. package/dist/ptcw-design/p-87e4c337.entry.js +0 -1
  1149. package/dist/ptcw-design/p-89da867f.entry.js +0 -1
  1150. package/dist/ptcw-design/p-8cdcfb51.entry.js +0 -1
  1151. package/dist/ptcw-design/p-8eb36507.entry.js +0 -1
  1152. package/dist/ptcw-design/p-8efaac1b.entry.js +0 -1
  1153. package/dist/ptcw-design/p-9050ab76.entry.js +0 -1
  1154. package/dist/ptcw-design/p-908ad455.entry.js +0 -1
  1155. package/dist/ptcw-design/p-91a9f126.entry.js +0 -1
  1156. package/dist/ptcw-design/p-91e5c8d4.entry.js +0 -1
  1157. package/dist/ptcw-design/p-944c5be8.js +0 -2
  1158. package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
  1159. package/dist/ptcw-design/p-973c69d8.entry.js +0 -1
  1160. package/dist/ptcw-design/p-9a28ded2.entry.js +0 -1
  1161. package/dist/ptcw-design/p-9d8a9a72.entry.js +0 -1
  1162. package/dist/ptcw-design/p-9df3c31f.entry.js +0 -1
  1163. package/dist/ptcw-design/p-9e8e2835.entry.js +0 -1
  1164. package/dist/ptcw-design/p-a1dc7ae5.entry.js +0 -1
  1165. package/dist/ptcw-design/p-a22d7ae8.entry.js +0 -1
  1166. package/dist/ptcw-design/p-a2710bbf.entry.js +0 -1
  1167. package/dist/ptcw-design/p-a318a793.entry.js +0 -1
  1168. package/dist/ptcw-design/p-a3ef1660.entry.js +0 -1
  1169. package/dist/ptcw-design/p-a81833cd.entry.js +0 -1
  1170. package/dist/ptcw-design/p-a974f98f.entry.js +0 -1
  1171. package/dist/ptcw-design/p-afb5bdb9.entry.js +0 -1
  1172. package/dist/ptcw-design/p-b0fb4c93.entry.js +0 -1
  1173. package/dist/ptcw-design/p-b1053240.entry.js +0 -1
  1174. package/dist/ptcw-design/p-b154bbdb.entry.js +0 -1
  1175. package/dist/ptcw-design/p-b1c51eb4.entry.js +0 -1
  1176. package/dist/ptcw-design/p-b293a0b1.entry.js +0 -1
  1177. package/dist/ptcw-design/p-b2fcbbd8.entry.js +0 -1
  1178. package/dist/ptcw-design/p-b6cc4c2a.entry.js +0 -1
  1179. package/dist/ptcw-design/p-b82dd7f9.entry.js +0 -1
  1180. package/dist/ptcw-design/p-bca81995.entry.js +0 -1
  1181. package/dist/ptcw-design/p-bdbf2c61.entry.js +0 -1
  1182. package/dist/ptcw-design/p-be00fb74.entry.js +0 -1
  1183. package/dist/ptcw-design/p-bf2f9183.entry.js +0 -1
  1184. package/dist/ptcw-design/p-c5417010.entry.js +0 -1
  1185. package/dist/ptcw-design/p-c7e948b2.js +0 -1
  1186. package/dist/ptcw-design/p-c80265d9.entry.js +0 -1
  1187. package/dist/ptcw-design/p-c8de7309.entry.js +0 -1
  1188. package/dist/ptcw-design/p-c9762c88.entry.js +0 -1
  1189. package/dist/ptcw-design/p-c9a73ad1.entry.js +0 -1
  1190. package/dist/ptcw-design/p-ca039722.entry.js +0 -1
  1191. package/dist/ptcw-design/p-cab0274c.entry.js +0 -1
  1192. package/dist/ptcw-design/p-ce125ef2.entry.js +0 -1
  1193. package/dist/ptcw-design/p-ce39cff2.entry.js +0 -1
  1194. package/dist/ptcw-design/p-cf0f6559.entry.js +0 -1
  1195. package/dist/ptcw-design/p-d1f57070.entry.js +0 -1
  1196. package/dist/ptcw-design/p-d3c11c68.entry.js +0 -1
  1197. package/dist/ptcw-design/p-d428ba40.entry.js +0 -1
  1198. package/dist/ptcw-design/p-d4dcba82.entry.js +0 -1
  1199. package/dist/ptcw-design/p-d6271974.entry.js +0 -1
  1200. package/dist/ptcw-design/p-d9c54a1d.js +0 -1
  1201. package/dist/ptcw-design/p-d9ec506c.entry.js +0 -1
  1202. package/dist/ptcw-design/p-dabb1b70.entry.js +0 -1
  1203. package/dist/ptcw-design/p-dadbab48.entry.js +0 -1
  1204. package/dist/ptcw-design/p-dd38bf84.entry.js +0 -1
  1205. package/dist/ptcw-design/p-de663192.entry.js +0 -1
  1206. package/dist/ptcw-design/p-e00c5964.entry.js +0 -1
  1207. package/dist/ptcw-design/p-e1373325.entry.js +0 -1
  1208. package/dist/ptcw-design/p-e1bd2c43.entry.js +0 -1
  1209. package/dist/ptcw-design/p-e249cd90.entry.js +0 -1
  1210. package/dist/ptcw-design/p-e2e33ddb.entry.js +0 -1
  1211. package/dist/ptcw-design/p-e65cbdb9.entry.js +0 -1
  1212. package/dist/ptcw-design/p-e6ebc832.entry.js +0 -1
  1213. package/dist/ptcw-design/p-e87a4ff8.entry.js +0 -1
  1214. package/dist/ptcw-design/p-e880b556.entry.js +0 -1
  1215. package/dist/ptcw-design/p-e8b51e7d.entry.js +0 -1
  1216. package/dist/ptcw-design/p-ec22d0b8.entry.js +0 -1
  1217. package/dist/ptcw-design/p-ec395ae9.entry.js +0 -1
  1218. package/dist/ptcw-design/p-ecfc8211.entry.js +0 -1
  1219. package/dist/ptcw-design/p-ed53cb3a.entry.js +0 -1
  1220. package/dist/ptcw-design/p-ed5a467e.entry.js +0 -1
  1221. package/dist/ptcw-design/p-ef55ab3c.entry.js +0 -1
  1222. package/dist/ptcw-design/p-efe8563a.entry.js +0 -1
  1223. package/dist/ptcw-design/p-f004e5de.entry.js +0 -1
  1224. package/dist/ptcw-design/p-f2006b03.entry.js +0 -1
  1225. package/dist/ptcw-design/p-f20e4230.entry.js +0 -1
  1226. package/dist/ptcw-design/p-f418ef26.entry.js +0 -1
  1227. package/dist/ptcw-design/p-f4ae5a99.entry.js +0 -1
  1228. package/dist/ptcw-design/p-f5665cfe.entry.js +0 -1
  1229. package/dist/ptcw-design/p-f5dfa530.js +0 -1
  1230. package/dist/ptcw-design/p-fb0c3eeb.entry.js +0 -1
  1231. package/dist/ptcw-design/p-fe56e336.entry.js +0 -1
  1232. package/dist/ptcw-design/p-fef688c2.entry.js +0 -1
  1233. package/dist/ptcw-design/p-ff369ed7.entry.js +0 -1
  1234. package/dist/ptcw-design/ptcw-design.css +0 -9
  1235. package/dist/ptcw-design/ptcw-design.esm.js +0 -1
  1236. package/dist/types/components/buying-option-card/buying-option-card.d.ts +0 -44
  1237. package/dist/types/components/buying-option-cards-slider/buying-option-cards-slider.d.ts +0 -11
  1238. package/dist/types/components/dropdown-item/dropdown-item.d.ts +0 -5
  1239. package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +0 -10
  1240. package/dist/types/components/homepage-clickable-tab/homepage-clickable-tab.d.ts +0 -19
  1241. package/dist/types/components/icon-asset/icon-asset.d.ts +0 -45
  1242. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +0 -20
  1243. package/dist/types/components/jumbotron-sub-menu/jumbotron-sub-menu.d.ts +0 -11
  1244. package/dist/types/components/jumbotron-sub-mune/jumbotron-sub-mune.d.ts +0 -10
  1245. package/dist/types/components/list-item/list-item.d.ts +0 -20
  1246. package/dist/types/components/max-width-container/max-width-container.d.ts +0 -16
  1247. package/dist/types/components/my-component/my-component.d.ts +0 -16
  1248. package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +0 -12
  1249. package/dist/types/components/organism-bundles/blog-detail-content/blog-detail-content.d.ts +0 -32
  1250. package/dist/types/components/organism-bundles/blog-detail-layout/blog-detail-layout.d.ts +0 -10
  1251. package/dist/types/components/organism-bundles/blogs-search-section/blogs-search-section.d.ts +0 -24
  1252. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +0 -14
  1253. package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +0 -12
  1254. package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +0 -5
  1255. package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +0 -37
  1256. package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +0 -10
  1257. package/dist/types/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.d.ts +0 -10
  1258. package/dist/types/components/organism-bundles/form/academic-form/academic-form-test.d.ts +0 -25
  1259. package/dist/types/components/organism-bundles/form/embedded-form/embedded-form.d.ts +0 -31
  1260. package/dist/types/components/organism-bundles/form/footer-form/footer-form.d.ts +0 -14
  1261. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
  1262. package/dist/types/components/organism-bundles/form/ptc-form/ptc-form.d.ts +0 -25
  1263. package/dist/types/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.d.ts +0 -34
  1264. package/dist/types/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.d.ts +0 -41
  1265. package/dist/types/components/organism-bundles/most-popular-news/most-popular-news.d.ts +0 -6
  1266. package/dist/types/components/organism-bundles/news-search-result/news-search-result.d.ts +0 -10
  1267. package/dist/types/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.d.ts +0 -10
  1268. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +0 -12
  1269. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +0 -18
  1270. package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-alt-example.d.ts +0 -10
  1271. package/dist/types/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.d.ts +0 -10
  1272. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +0 -68
  1273. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +0 -23
  1274. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +0 -60
  1275. package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +0 -11
  1276. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +0 -53
  1277. package/dist/types/components/ptc-badge/ptc-badge.d.ts +0 -7
  1278. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +0 -28
  1279. package/dist/types/components/ptc-blue-pill-announcement-bar/ptc-blue-pill-announcement-bar.d.ts +0 -4
  1280. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +0 -29
  1281. package/dist/types/components/ptc-brightcov-video/ptc-brightcov-video.d.ts +0 -6
  1282. package/dist/types/components/ptc-button/ptc-button.d.ts +0 -92
  1283. package/dist/types/components/ptc-card/ptc-card.d.ts +0 -94
  1284. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +0 -17
  1285. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +0 -20
  1286. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +0 -40
  1287. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +0 -25
  1288. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +0 -17
  1289. package/dist/types/components/ptc-checkbox-group/ptc-checkbox-group.d.ts +0 -10
  1290. package/dist/types/components/ptc-close-icon/ptc-close-icon.d.ts +0 -3
  1291. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +0 -66
  1292. package/dist/types/components/ptc-container/ptc-container.d.ts +0 -13
  1293. package/dist/types/components/ptc-countdown/ptc-countdown.d.ts +0 -28
  1294. package/dist/types/components/ptc-data-lookup/ptc-data-lookup.d.ts +0 -29
  1295. package/dist/types/components/ptc-date/ptc-date.d.ts +0 -46
  1296. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +0 -20
  1297. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +0 -57
  1298. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +0 -29
  1299. package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +0 -35
  1300. package/dist/types/components/ptc-enhanced-product-listing-card/ptc-enhanced-product-listing-card.d.ts +0 -23
  1301. package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +0 -6
  1302. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +0 -16
  1303. package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +0 -5
  1304. package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +0 -10
  1305. package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +0 -30
  1306. package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +0 -19
  1307. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +0 -23
  1308. package/dist/types/components/ptc-footer/ptc-footer.d.ts +0 -9
  1309. package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +0 -31
  1310. package/dist/types/components/ptc-form-radio-button/ptc-form-radio-button.d.ts +0 -14
  1311. package/dist/types/components/ptc-form-radio-group/ptc-form-radio-group.d.ts +0 -16
  1312. package/dist/types/components/ptc-hero/ptc-hero.d.ts +0 -16
  1313. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +0 -6
  1314. package/dist/types/components/ptc-homepage-image-feature/ptc-homepage-image-feature.d.ts +0 -5
  1315. package/dist/types/components/ptc-homepage-video-background/ptc-homepage-video-background.d.ts +0 -75
  1316. package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +0 -12
  1317. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +0 -23
  1318. package/dist/types/components/ptc-icon-component/test/__mocks__/swiper.d.ts +0 -12
  1319. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +0 -23
  1320. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +0 -19
  1321. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +0 -13
  1322. package/dist/types/components/ptc-img/ptc-img.d.ts +0 -83
  1323. package/dist/types/components/ptc-info-tile/ptc-info-tile.d.ts +0 -19
  1324. package/dist/types/components/ptc-inline-cta/ptc-inline-cta.d.ts +0 -23
  1325. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -52
  1326. package/dist/types/components/ptc-link/ptc-link.d.ts +0 -66
  1327. package/dist/types/components/ptc-list/ptc-list.d.ts +0 -8
  1328. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +0 -81
  1329. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +0 -8
  1330. package/dist/types/components/ptc-mobile-select/mobile-select/dist/mobile-select.d.ts +0 -209
  1331. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +0 -49
  1332. package/dist/types/components/ptc-modal/ptc-modal.d.ts +0 -113
  1333. package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +0 -38
  1334. package/dist/types/components/ptc-multi-select/ptc-multi-select.d.ts +0 -52
  1335. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +0 -47
  1336. package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +0 -3
  1337. package/dist/types/components/ptc-nav-skip-to-content/ptc-nav-skip-to-content.d.ts +0 -17
  1338. package/dist/types/components/ptc-nav-tile/ptc-nav-tile.d.ts +0 -7
  1339. package/dist/types/components/ptc-news/ptc-news.d.ts +0 -20
  1340. package/dist/types/components/ptc-office-location-card/ptc-office-location-card.d.ts +0 -16
  1341. package/dist/types/components/ptc-office-locations/ptc-office-locations.d.ts +0 -42
  1342. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +0 -21
  1343. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +0 -43
  1344. package/dist/types/components/ptc-para/ptc-para.d.ts +0 -81
  1345. package/dist/types/components/ptc-picture/ptc-picture.d.ts +0 -104
  1346. package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +0 -15
  1347. package/dist/types/components/ptc-preferance-center-form/ptc-preferance-center-form.d.ts +0 -7
  1348. package/dist/types/components/ptc-preloader/ptc-preloader.d.ts +0 -5
  1349. package/dist/types/components/ptc-preloader-section/ptc-preloader-section.d.ts +0 -14
  1350. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -11
  1351. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +0 -35
  1352. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +0 -30
  1353. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +0 -8
  1354. package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +0 -115
  1355. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +0 -53
  1356. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +0 -33
  1357. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +0 -4
  1358. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +0 -18
  1359. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +0 -33
  1360. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +0 -21
  1361. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +0 -40
  1362. package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +0 -5
  1363. package/dist/types/components/ptc-quantity-counter/ptc-quantity-counter.d.ts +0 -20
  1364. package/dist/types/components/ptc-quote/ptc-quote.d.ts +0 -33
  1365. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +0 -72
  1366. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +0 -35
  1367. package/dist/types/components/ptc-readmore-new/ptc-readmore-new.d.ts +0 -21
  1368. package/dist/types/components/ptc-readmore-v2/ptc-readmore-v2.d.ts +0 -27
  1369. package/dist/types/components/ptc-readmore-v3/ptc-readmore-v3.d.ts +0 -27
  1370. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +0 -47
  1371. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +0 -8
  1372. package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +0 -28
  1373. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +0 -24
  1374. package/dist/types/components/ptc-select/ptc-select.d.ts +0 -41
  1375. package/dist/types/components/ptc-seo-title/ptc-seo-title.d.ts +0 -55
  1376. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +0 -7
  1377. package/dist/types/components/ptc-showcase-card/ptc-showcase-card.d.ts +0 -5
  1378. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +0 -10
  1379. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +0 -36
  1380. package/dist/types/components/ptc-social-icons/ptc-social-icons.d.ts +0 -11
  1381. package/dist/types/components/ptc-social-icons-footer/ptc-social-icons-footer.d.ts +0 -36
  1382. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +0 -43
  1383. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +0 -16
  1384. package/dist/types/components/ptc-span/ptc-span.d.ts +0 -20
  1385. package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +0 -11
  1386. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +0 -7
  1387. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +0 -12
  1388. package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +0 -10
  1389. package/dist/types/components/ptc-store-card/ptc-store-card.d.ts +0 -6
  1390. package/dist/types/components/ptc-store-card-list/ptc-store-card-list.d.ts +0 -18
  1391. package/dist/types/components/ptc-subnav-v2/ptc-subnav-v2.d.ts +0 -70
  1392. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +0 -20
  1393. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +0 -36
  1394. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +0 -9
  1395. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +0 -10
  1396. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +0 -44
  1397. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +0 -99
  1398. package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +0 -14
  1399. package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +0 -21
  1400. package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +0 -26
  1401. package/dist/types/components/ptc-title/ptc-title.d.ts +0 -86
  1402. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +0 -63
  1403. package/dist/types/components/ptc-tooltip-v2/ptc-tooltip-v2.d.ts +0 -21
  1404. package/dist/types/components/ptc-tooltip-v3/ptc-tooltip-v3.d.ts +0 -44
  1405. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +0 -9
  1406. package/dist/types/components/ptc-value-led-card/ptc-value-led-card.d.ts +0 -5
  1407. package/dist/types/components/ptc-value-led-content/ptc-value-led-content.d.ts +0 -4
  1408. package/dist/types/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.d.ts +0 -3
  1409. package/dist/types/components/ptc-value-led-intro/ptc-value-led-intro.d.ts +0 -4
  1410. package/dist/types/components/ptc-value-led-layout/ptc-value-led-layout.d.ts +0 -33
  1411. package/dist/types/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.d.ts +0 -10
  1412. package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +0 -23
  1413. package/dist/types/components/ptc-video-embed/ptc-video-embed.d.ts +0 -15
  1414. package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +0 -44
  1415. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +0 -30
  1416. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +0 -19
  1417. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +0 -35
  1418. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +0 -11
  1419. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +0 -31
  1420. package/dist/types/components/tab-content/tab-content.d.ts +0 -16
  1421. package/dist/types/components/tab-header/tab-header.d.ts +0 -23
  1422. package/loader/package.json +0 -11
  1423. /package/dist/collection/components/{my-component → atoms/my-component}/my-component.css +0 -0
@@ -1,2134 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopNamespace(e) {
4
- if (e && e.__esModule) return e;
5
- var n = Object.create(null);
6
- if (e) {
7
- Object.keys(e).forEach(function (k) {
8
- if (k !== 'default') {
9
- var d = Object.getOwnPropertyDescriptor(e, k);
10
- Object.defineProperty(n, k, d.get ? d : {
11
- enumerable: true,
12
- get: function () {
13
- return e[k];
14
- }
15
- });
16
- }
17
- });
18
- }
19
- n['default'] = e;
20
- return Object.freeze(n);
21
- }
22
-
23
- const NAMESPACE = 'ptcw-design';
24
-
25
- /**
26
- * Virtual DOM patching algorithm based on Snabbdom by
27
- * Simon Friis Vindum (@paldepind)
28
- * Licensed under the MIT License
29
- * https://github.com/snabbdom/snabbdom/blob/master/LICENSE
30
- *
31
- * Modified for Stencil's renderer and slot projection
32
- */
33
- let scopeId;
34
- let contentRef;
35
- let hostTagName;
36
- let useNativeShadowDom = false;
37
- let checkSlotFallbackVisibility = false;
38
- let checkSlotRelocate = false;
39
- let isSvgMode = false;
40
- let queuePending = false;
41
- const getAssetPath = (path) => {
42
- const assetUrl = new URL(path, plt.$resourcesUrl$);
43
- return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
44
- };
45
- const createTime = (fnName, tagName = '') => {
46
- {
47
- return () => {
48
- return;
49
- };
50
- }
51
- };
52
- const uniqueTime = (key, measureText) => {
53
- {
54
- return () => {
55
- return;
56
- };
57
- }
58
- };
59
- const XLINK_NS = 'http://www.w3.org/1999/xlink';
60
- /**
61
- * Default style mode id
62
- */
63
- /**
64
- * Reusable empty obj/array
65
- * Don't add values to these!!
66
- */
67
- const EMPTY_OBJ = {};
68
- /**
69
- * Namespaces
70
- */
71
- const SVG_NS = 'http://www.w3.org/2000/svg';
72
- const HTML_NS = 'http://www.w3.org/1999/xhtml';
73
- const isDef = (v) => v != null;
74
- const isComplexType = (o) => {
75
- // https://jsperf.com/typeof-fn-object/5
76
- o = typeof o;
77
- return o === 'object' || o === 'function';
78
- };
79
- /**
80
- * Helper method for querying a `meta` tag that contains a nonce value
81
- * out of a DOM's head.
82
- *
83
- * @param doc The DOM containing the `head` to query against
84
- * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
85
- * exists or the tag has no content.
86
- */
87
- function queryNonceMetaTagContent(doc) {
88
- var _a, _b, _c;
89
- return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
90
- }
91
- /**
92
- * Production h() function based on Preact by
93
- * Jason Miller (@developit)
94
- * Licensed under the MIT License
95
- * https://github.com/developit/preact/blob/master/LICENSE
96
- *
97
- * Modified for Stencil's compiler and vdom
98
- */
99
- // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
100
- // export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
101
- const h = (nodeName, vnodeData, ...children) => {
102
- let child = null;
103
- let key = null;
104
- let slotName = null;
105
- let simple = false;
106
- let lastSimple = false;
107
- const vNodeChildren = [];
108
- const walk = (c) => {
109
- for (let i = 0; i < c.length; i++) {
110
- child = c[i];
111
- if (Array.isArray(child)) {
112
- walk(child);
113
- }
114
- else if (child != null && typeof child !== 'boolean') {
115
- if ((simple = typeof nodeName !== 'function' && !isComplexType(child))) {
116
- child = String(child);
117
- }
118
- if (simple && lastSimple) {
119
- // If the previous child was simple (string), we merge both
120
- vNodeChildren[vNodeChildren.length - 1].$text$ += child;
121
- }
122
- else {
123
- // Append a new vNode, if it's text, we create a text vNode
124
- vNodeChildren.push(simple ? newVNode(null, child) : child);
125
- }
126
- lastSimple = simple;
127
- }
128
- }
129
- };
130
- walk(children);
131
- if (vnodeData) {
132
- // normalize class / classname attributes
133
- if (vnodeData.key) {
134
- key = vnodeData.key;
135
- }
136
- if (vnodeData.name) {
137
- slotName = vnodeData.name;
138
- }
139
- {
140
- const classData = vnodeData.className || vnodeData.class;
141
- if (classData) {
142
- vnodeData.class =
143
- typeof classData !== 'object'
144
- ? classData
145
- : Object.keys(classData)
146
- .filter((k) => classData[k])
147
- .join(' ');
148
- }
149
- }
150
- }
151
- if (typeof nodeName === 'function') {
152
- // nodeName is a functional component
153
- return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);
154
- }
155
- const vnode = newVNode(nodeName, null);
156
- vnode.$attrs$ = vnodeData;
157
- if (vNodeChildren.length > 0) {
158
- vnode.$children$ = vNodeChildren;
159
- }
160
- {
161
- vnode.$key$ = key;
162
- }
163
- {
164
- vnode.$name$ = slotName;
165
- }
166
- return vnode;
167
- };
168
- /**
169
- * A utility function for creating a virtual DOM node from a tag and some
170
- * possible text content.
171
- *
172
- * @param tag the tag for this element
173
- * @param text possible text content for the node
174
- * @returns a newly-minted virtual DOM node
175
- */
176
- const newVNode = (tag, text) => {
177
- const vnode = {
178
- $flags$: 0,
179
- $tag$: tag,
180
- $text$: text,
181
- $elm$: null,
182
- $children$: null,
183
- };
184
- {
185
- vnode.$attrs$ = null;
186
- }
187
- {
188
- vnode.$key$ = null;
189
- }
190
- {
191
- vnode.$name$ = null;
192
- }
193
- return vnode;
194
- };
195
- const Host = {};
196
- /**
197
- * Check whether a given node is a Host node or not
198
- *
199
- * @param node the virtual DOM node to check
200
- * @returns whether it's a Host node or not
201
- */
202
- const isHost = (node) => node && node.$tag$ === Host;
203
- /**
204
- * Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.
205
- *
206
- * Note that these functions convert from {@link d.VNode} to
207
- * {@link d.ChildNode} to give functional component developers a friendly
208
- * interface.
209
- */
210
- const vdomFnUtils = {
211
- forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
212
- map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
213
- };
214
- /**
215
- * Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a
216
- * friendlier public interface (hence, 'convertToPublic').
217
- *
218
- * @param node the virtual DOM node to convert
219
- * @returns a converted child node
220
- */
221
- const convertToPublic = (node) => ({
222
- vattrs: node.$attrs$,
223
- vchildren: node.$children$,
224
- vkey: node.$key$,
225
- vname: node.$name$,
226
- vtag: node.$tag$,
227
- vtext: node.$text$,
228
- });
229
- /**
230
- * Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in
231
- * order to use the resulting object in the virtual DOM. The initial object was
232
- * likely created as part of presenting a public API, so converting it back
233
- * involved making it 'private' again (hence, `convertToPrivate`).
234
- *
235
- * @param node the child node to convert
236
- * @returns a converted virtual DOM node
237
- */
238
- const convertToPrivate = (node) => {
239
- if (typeof node.vtag === 'function') {
240
- const vnodeData = Object.assign({}, node.vattrs);
241
- if (node.vkey) {
242
- vnodeData.key = node.vkey;
243
- }
244
- if (node.vname) {
245
- vnodeData.name = node.vname;
246
- }
247
- return h(node.vtag, vnodeData, ...(node.vchildren || []));
248
- }
249
- const vnode = newVNode(node.vtag, node.vtext);
250
- vnode.$attrs$ = node.vattrs;
251
- vnode.$children$ = node.vchildren;
252
- vnode.$key$ = node.vkey;
253
- vnode.$name$ = node.vname;
254
- return vnode;
255
- };
256
- /**
257
- * Parse a new property value for a given property type.
258
- *
259
- * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
260
- * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
261
- * 1. `any`, the type given to `propValue` in the function signature
262
- * 2. the type stored from `propType`.
263
- *
264
- * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
265
- *
266
- * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
267
- * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
268
- * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
269
- * ```tsx
270
- * <my-cmp prop-val={0}></my-cmp>
271
- * ```
272
- *
273
- * HTML prop values on the other hand, will always a string
274
- *
275
- * @param propValue the new value to coerce to some type
276
- * @param propType the type of the prop, expressed as a binary number
277
- * @returns the parsed/coerced value
278
- */
279
- const parsePropertyValue = (propValue, propType) => {
280
- // ensure this value is of the correct prop type
281
- if (propValue != null && !isComplexType(propValue)) {
282
- if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
283
- // per the HTML spec, any string value means it is a boolean true value
284
- // but we'll cheat here and say that the string "false" is the boolean false
285
- return propValue === 'false' ? false : propValue === '' || !!propValue;
286
- }
287
- if (propType & 2 /* MEMBER_FLAGS.Number */) {
288
- // force it to be a number
289
- return parseFloat(propValue);
290
- }
291
- if (propType & 1 /* MEMBER_FLAGS.String */) {
292
- // could have been passed as a number or boolean
293
- // but we still want it as a string
294
- return String(propValue);
295
- }
296
- // redundant return here for better minification
297
- return propValue;
298
- }
299
- // not sure exactly what type we want
300
- // so no need to change to a different type
301
- return propValue;
302
- };
303
- const getElement = (ref) => (getHostRef(ref).$hostElement$ );
304
- const createEvent = (ref, name, flags) => {
305
- const elm = getElement(ref);
306
- return {
307
- emit: (detail) => {
308
- return emitEvent(elm, name, {
309
- bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
310
- composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
311
- cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
312
- detail,
313
- });
314
- },
315
- };
316
- };
317
- /**
318
- * Helper function to create & dispatch a custom Event on a provided target
319
- * @param elm the target of the Event
320
- * @param name the name to give the custom Event
321
- * @param opts options for configuring a custom Event
322
- * @returns the custom Event
323
- */
324
- const emitEvent = (elm, name, opts) => {
325
- const ev = plt.ce(name, opts);
326
- elm.dispatchEvent(ev);
327
- return ev;
328
- };
329
- const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
330
- const registerStyle = (scopeId, cssText, allowCS) => {
331
- let style = styles.get(scopeId);
332
- if (supportsConstructableStylesheets && allowCS) {
333
- style = (style || new CSSStyleSheet());
334
- if (typeof style === 'string') {
335
- style = cssText;
336
- }
337
- else {
338
- style.replaceSync(cssText);
339
- }
340
- }
341
- else {
342
- style = cssText;
343
- }
344
- styles.set(scopeId, style);
345
- };
346
- const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
347
- var _a;
348
- let scopeId = getScopeId(cmpMeta);
349
- const style = styles.get(scopeId);
350
- // if an element is NOT connected then getRootNode() will return the wrong root node
351
- // so the fallback is to always use the document for the root node in those cases
352
- styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
353
- if (style) {
354
- if (typeof style === 'string') {
355
- styleContainerNode = styleContainerNode.head || styleContainerNode;
356
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
357
- let styleElm;
358
- if (!appliedStyles) {
359
- rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
360
- }
361
- if (!appliedStyles.has(scopeId)) {
362
- {
363
- {
364
- styleElm = doc.createElement('style');
365
- styleElm.innerHTML = style;
366
- }
367
- // Apply CSP nonce to the style tag if it exists
368
- const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
369
- if (nonce != null) {
370
- styleElm.setAttribute('nonce', nonce);
371
- }
372
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
373
- }
374
- if (appliedStyles) {
375
- appliedStyles.add(scopeId);
376
- }
377
- }
378
- }
379
- else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
380
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
381
- }
382
- }
383
- return scopeId;
384
- };
385
- const attachStyles = (hostRef) => {
386
- const cmpMeta = hostRef.$cmpMeta$;
387
- const elm = hostRef.$hostElement$;
388
- const flags = cmpMeta.$flags$;
389
- const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
390
- const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
391
- if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
392
- // only required when we're NOT using native shadow dom (slot)
393
- // or this browser doesn't support native shadow dom
394
- // and this host element was NOT created with SSR
395
- // let's pick out the inner content for slot projection
396
- // create a node to represent where the original
397
- // content was first placed, which is useful later on
398
- // DOM WRITE!!
399
- elm['s-sc'] = scopeId;
400
- elm.classList.add(scopeId + '-h');
401
- if (flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {
402
- elm.classList.add(scopeId + '-s');
403
- }
404
- }
405
- endAttachStyles();
406
- };
407
- const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
408
- /**
409
- * Production setAccessor() function based on Preact by
410
- * Jason Miller (@developit)
411
- * Licensed under the MIT License
412
- * https://github.com/developit/preact/blob/master/LICENSE
413
- *
414
- * Modified for Stencil's compiler and vdom
415
- */
416
- const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
417
- if (oldValue !== newValue) {
418
- let isProp = isMemberInElement(elm, memberName);
419
- let ln = memberName.toLowerCase();
420
- if (memberName === 'class') {
421
- const classList = elm.classList;
422
- const oldClasses = parseClassList(oldValue);
423
- const newClasses = parseClassList(newValue);
424
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
425
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
426
- }
427
- else if (memberName === 'style') {
428
- // update style attribute, css properties and values
429
- {
430
- for (const prop in oldValue) {
431
- if (!newValue || newValue[prop] == null) {
432
- if (prop.includes('-')) {
433
- elm.style.removeProperty(prop);
434
- }
435
- else {
436
- elm.style[prop] = '';
437
- }
438
- }
439
- }
440
- }
441
- for (const prop in newValue) {
442
- if (!oldValue || newValue[prop] !== oldValue[prop]) {
443
- if (prop.includes('-')) {
444
- elm.style.setProperty(prop, newValue[prop]);
445
- }
446
- else {
447
- elm.style[prop] = newValue[prop];
448
- }
449
- }
450
- }
451
- }
452
- else if (memberName === 'key')
453
- ;
454
- else if (memberName === 'ref') {
455
- // minifier will clean this up
456
- if (newValue) {
457
- newValue(elm);
458
- }
459
- }
460
- else if ((!isProp ) &&
461
- memberName[0] === 'o' &&
462
- memberName[1] === 'n') {
463
- // Event Handlers
464
- // so if the member name starts with "on" and the 3rd characters is
465
- // a capital letter, and it's not already a member on the element,
466
- // then we're assuming it's an event listener
467
- if (memberName[2] === '-') {
468
- // on- prefixed events
469
- // allows to be explicit about the dom event to listen without any magic
470
- // under the hood:
471
- // <my-cmp on-click> // listens for "click"
472
- // <my-cmp on-Click> // listens for "Click"
473
- // <my-cmp on-ionChange> // listens for "ionChange"
474
- // <my-cmp on-EVENTS> // listens for "EVENTS"
475
- memberName = memberName.slice(3);
476
- }
477
- else if (isMemberInElement(win, ln)) {
478
- // standard event
479
- // the JSX attribute could have been "onMouseOver" and the
480
- // member name "onmouseover" is on the window's prototype
481
- // so let's add the listener "mouseover", which is all lowercased
482
- memberName = ln.slice(2);
483
- }
484
- else {
485
- // custom event
486
- // the JSX attribute could have been "onMyCustomEvent"
487
- // so let's trim off the "on" prefix and lowercase the first character
488
- // and add the listener "myCustomEvent"
489
- // except for the first character, we keep the event name case
490
- memberName = ln[2] + memberName.slice(3);
491
- }
492
- if (oldValue) {
493
- plt.rel(elm, memberName, oldValue, false);
494
- }
495
- if (newValue) {
496
- plt.ael(elm, memberName, newValue, false);
497
- }
498
- }
499
- else {
500
- // Set property if it exists and it's not a SVG
501
- const isComplex = isComplexType(newValue);
502
- if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
503
- try {
504
- if (!elm.tagName.includes('-')) {
505
- const n = newValue == null ? '' : newValue;
506
- // Workaround for Safari, moving the <input> caret when re-assigning the same valued
507
- if (memberName === 'list') {
508
- isProp = false;
509
- }
510
- else if (oldValue == null || elm[memberName] != n) {
511
- elm[memberName] = n;
512
- }
513
- }
514
- else {
515
- elm[memberName] = newValue;
516
- }
517
- }
518
- catch (e) { }
519
- }
520
- /**
521
- * Need to manually update attribute if:
522
- * - memberName is not an attribute
523
- * - if we are rendering the host element in order to reflect attribute
524
- * - if it's a SVG, since properties might not work in <svg>
525
- * - if the newValue is null/undefined or 'false'.
526
- */
527
- let xlink = false;
528
- {
529
- if (ln !== (ln = ln.replace(/^xlink\:?/, ''))) {
530
- memberName = ln;
531
- xlink = true;
532
- }
533
- }
534
- if (newValue == null || newValue === false) {
535
- if (newValue !== false || elm.getAttribute(memberName) === '') {
536
- if (xlink) {
537
- elm.removeAttributeNS(XLINK_NS, memberName);
538
- }
539
- else {
540
- elm.removeAttribute(memberName);
541
- }
542
- }
543
- }
544
- else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
545
- newValue = newValue === true ? '' : newValue;
546
- if (xlink) {
547
- elm.setAttributeNS(XLINK_NS, memberName, newValue);
548
- }
549
- else {
550
- elm.setAttribute(memberName, newValue);
551
- }
552
- }
553
- }
554
- }
555
- };
556
- const parseClassListRegex = /\s/;
557
- const parseClassList = (value) => (!value ? [] : value.split(parseClassListRegex));
558
- const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
559
- // if the element passed in is a shadow root, which is a document fragment
560
- // then we want to be adding attrs/props to the shadow root's "host" element
561
- // if it's not a shadow root, then we add attrs/props to the same element
562
- const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
563
- ? newVnode.$elm$.host
564
- : newVnode.$elm$;
565
- const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
566
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
567
- {
568
- // remove attributes no longer present on the vnode by setting them to undefined
569
- for (memberName in oldVnodeAttrs) {
570
- if (!(memberName in newVnodeAttrs)) {
571
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);
572
- }
573
- }
574
- }
575
- // add new & update changed attributes
576
- for (memberName in newVnodeAttrs) {
577
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
578
- }
579
- };
580
- /**
581
- * Create a DOM Node corresponding to one of the children of a given VNode.
582
- *
583
- * @param oldParentVNode the parent VNode from the previous render
584
- * @param newParentVNode the parent VNode from the current render
585
- * @param childIndex the index of the VNode, in the _new_ parent node's
586
- * children, for which we will create a new DOM node
587
- * @param parentElm the parent DOM node which our new node will be a child of
588
- * @returns the newly created node
589
- */
590
- const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
591
- // tslint:disable-next-line: prefer-const
592
- const newVNode = newParentVNode.$children$[childIndex];
593
- let i = 0;
594
- let elm;
595
- let childNode;
596
- let oldVNode;
597
- if (!useNativeShadowDom) {
598
- // remember for later we need to check to relocate nodes
599
- checkSlotRelocate = true;
600
- if (newVNode.$tag$ === 'slot') {
601
- if (scopeId) {
602
- // scoped css needs to add its scoped id to the parent element
603
- parentElm.classList.add(scopeId + '-s');
604
- }
605
- newVNode.$flags$ |= newVNode.$children$
606
- ? // slot element has fallback content
607
- 2 /* VNODE_FLAGS.isSlotFallback */
608
- : // slot element does not have fallback content
609
- 1 /* VNODE_FLAGS.isSlotReference */;
610
- }
611
- }
612
- if (newVNode.$text$ !== null) {
613
- // create text node
614
- elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
615
- }
616
- else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
617
- // create a slot reference node
618
- elm = newVNode.$elm$ =
619
- doc.createTextNode('');
620
- }
621
- else {
622
- if (!isSvgMode) {
623
- isSvgMode = newVNode.$tag$ === 'svg';
624
- }
625
- // create element
626
- elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
627
- ? 'slot-fb'
628
- : newVNode.$tag$)
629
- );
630
- if (isSvgMode && newVNode.$tag$ === 'foreignObject') {
631
- isSvgMode = false;
632
- }
633
- // add css classes, attrs, props, listeners, etc.
634
- {
635
- updateElement(null, newVNode, isSvgMode);
636
- }
637
- if (isDef(scopeId) && elm['s-si'] !== scopeId) {
638
- // if there is a scopeId and this is the initial render
639
- // then let's add the scopeId as a css class
640
- elm.classList.add((elm['s-si'] = scopeId));
641
- }
642
- if (newVNode.$children$) {
643
- for (i = 0; i < newVNode.$children$.length; ++i) {
644
- // create the node
645
- childNode = createElm(oldParentVNode, newVNode, i, elm);
646
- // return node could have been null
647
- if (childNode) {
648
- // append our new node
649
- elm.appendChild(childNode);
650
- }
651
- }
652
- }
653
- {
654
- if (newVNode.$tag$ === 'svg') {
655
- // Only reset the SVG context when we're exiting <svg> element
656
- isSvgMode = false;
657
- }
658
- else if (elm.tagName === 'foreignObject') {
659
- // Reenter SVG context when we're exiting <foreignObject> element
660
- isSvgMode = true;
661
- }
662
- }
663
- }
664
- {
665
- elm['s-hn'] = hostTagName;
666
- if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
667
- // remember the content reference comment
668
- elm['s-sr'] = true;
669
- // remember the content reference comment
670
- elm['s-cr'] = contentRef;
671
- // remember the slot name, or empty string for default slot
672
- elm['s-sn'] = newVNode.$name$ || '';
673
- // check if we've got an old vnode for this slot
674
- oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
675
- if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {
676
- // we've got an old slot vnode and the wrapper is being replaced
677
- // so let's move the old slot content back to it's original location
678
- putBackInOriginalLocation(oldParentVNode.$elm$, false);
679
- }
680
- }
681
- }
682
- return elm;
683
- };
684
- const putBackInOriginalLocation = (parentElm, recursive) => {
685
- plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
686
- const oldSlotChildNodes = parentElm.childNodes;
687
- for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
688
- const childNode = oldSlotChildNodes[i];
689
- if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {
690
- // // this child node in the old element is from another component
691
- // // remove this node from the old slot's parent
692
- // childNode.remove();
693
- // and relocate it back to it's original location
694
- parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));
695
- // remove the old original location comment entirely
696
- // later on the patch function will know what to do
697
- // and move this to the correct spot in need be
698
- childNode['s-ol'].remove();
699
- childNode['s-ol'] = undefined;
700
- checkSlotRelocate = true;
701
- }
702
- if (recursive) {
703
- putBackInOriginalLocation(childNode, recursive);
704
- }
705
- }
706
- plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
707
- };
708
- /**
709
- * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
710
- * add them to the DOM in the appropriate place.
711
- *
712
- * @param parentElm the DOM node which should be used as a parent for the new
713
- * DOM nodes
714
- * @param before a child of the `parentElm` which the new children should be
715
- * inserted before (optional)
716
- * @param parentVNode the parent virtual DOM node
717
- * @param vnodes the new child virtual DOM nodes to produce DOM nodes for
718
- * @param startIdx the index in the child virtual DOM nodes at which to start
719
- * creating DOM nodes (inclusive)
720
- * @param endIdx the index in the child virtual DOM nodes at which to stop
721
- * creating DOM nodes (inclusive)
722
- */
723
- const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
724
- let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
725
- let childNode;
726
- if (containerElm.shadowRoot && containerElm.tagName === hostTagName) {
727
- containerElm = containerElm.shadowRoot;
728
- }
729
- for (; startIdx <= endIdx; ++startIdx) {
730
- if (vnodes[startIdx]) {
731
- childNode = createElm(null, parentVNode, startIdx, parentElm);
732
- if (childNode) {
733
- vnodes[startIdx].$elm$ = childNode;
734
- containerElm.insertBefore(childNode, referenceNode(before) );
735
- }
736
- }
737
- }
738
- };
739
- /**
740
- * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
741
- * This can be used to, for instance, clean up after a list of children which
742
- * should no longer be shown.
743
- *
744
- * This function also handles some of Stencil's slot relocation logic.
745
- *
746
- * @param vnodes a list of virtual DOM nodes to remove
747
- * @param startIdx the index at which to start removing nodes (inclusive)
748
- * @param endIdx the index at which to stop removing nodes (inclusive)
749
- * @param vnode a VNode
750
- * @param elm an element
751
- */
752
- const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
753
- for (; startIdx <= endIdx; ++startIdx) {
754
- if ((vnode = vnodes[startIdx])) {
755
- elm = vnode.$elm$;
756
- callNodeRefs(vnode);
757
- {
758
- // we're removing this element
759
- // so it's possible we need to show slot fallback content now
760
- checkSlotFallbackVisibility = true;
761
- if (elm['s-ol']) {
762
- // remove the original location comment
763
- elm['s-ol'].remove();
764
- }
765
- else {
766
- // it's possible that child nodes of the node
767
- // that's being removed are slot nodes
768
- putBackInOriginalLocation(elm, true);
769
- }
770
- }
771
- // remove the vnode's element from the dom
772
- elm.remove();
773
- }
774
- }
775
- };
776
- /**
777
- * Reconcile the children of a new VNode with the children of an old VNode by
778
- * traversing the two collections of children, identifying nodes that are
779
- * conserved or changed, calling out to `patch` to make any necessary
780
- * updates to the DOM, and rearranging DOM nodes as needed.
781
- *
782
- * The algorithm for reconciling children works by analyzing two 'windows' onto
783
- * the two arrays of children (`oldCh` and `newCh`). We keep track of the
784
- * 'windows' by storing start and end indices and references to the
785
- * corresponding array entries. Initially the two 'windows' are basically equal
786
- * to the entire array, but we progressively narrow the windows until there are
787
- * no children left to update by doing the following:
788
- *
789
- * 1. Skip any `null` entries at the beginning or end of the two arrays, so
790
- * that if we have an initial array like the following we'll end up dealing
791
- * only with a window bounded by the highlighted elements:
792
- *
793
- * [null, null, VNode1 , ... , VNode2, null, null]
794
- * ^^^^^^ ^^^^^^
795
- *
796
- * 2. Check to see if the elements at the head and tail positions are equal
797
- * across the windows. This will basically detect elements which haven't
798
- * been added, removed, or changed position, i.e. if you had the following
799
- * VNode elements (represented as HTML):
800
- *
801
- * oldVNode: `<div><p><span>HEY</span></p></div>`
802
- * newVNode: `<div><p><span>THERE</span></p></div>`
803
- *
804
- * Then when comparing the children of the `<div>` tag we check the equality
805
- * of the VNodes corresponding to the `<p>` tags and, since they are the
806
- * same tag in the same position, we'd be able to avoid completely
807
- * re-rendering the subtree under them with a new DOM element and would just
808
- * call out to `patch` to handle reconciling their children and so on.
809
- *
810
- * 3. Check, for both windows, to see if the element at the beginning of the
811
- * window corresponds to the element at the end of the other window. This is
812
- * a heuristic which will let us identify _some_ situations in which
813
- * elements have changed position, for instance it _should_ detect that the
814
- * children nodes themselves have not changed but merely moved in the
815
- * following example:
816
- *
817
- * oldVNode: `<div><element-one /><element-two /></div>`
818
- * newVNode: `<div><element-two /><element-one /></div>`
819
- *
820
- * If we find cases like this then we also need to move the concrete DOM
821
- * elements corresponding to the moved children to write the re-order to the
822
- * DOM.
823
- *
824
- * 4. Finally, if VNodes have the `key` attribute set on them we check for any
825
- * nodes in the old children which have the same key as the first element in
826
- * our window on the new children. If we find such a node we handle calling
827
- * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
828
- * what we find.
829
- *
830
- * Finally, once we've narrowed our 'windows' to the point that either of them
831
- * collapse (i.e. they have length 0) we then handle any remaining VNode
832
- * insertion or deletion that needs to happen to get a DOM state that correctly
833
- * reflects the new child VNodes. If, for instance, after our window on the old
834
- * children has collapsed we still have more nodes on the new children that
835
- * we haven't dealt with yet then we need to add them, or if the new children
836
- * collapse but we still have unhandled _old_ children then we need to make
837
- * sure the corresponding DOM nodes are removed.
838
- *
839
- * @param parentElm the node into which the parent VNode is rendered
840
- * @param oldCh the old children of the parent node
841
- * @param newVNode the new VNode which will replace the parent
842
- * @param newCh the new children of the parent node
843
- */
844
- const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
845
- let oldStartIdx = 0;
846
- let newStartIdx = 0;
847
- let idxInOld = 0;
848
- let i = 0;
849
- let oldEndIdx = oldCh.length - 1;
850
- let oldStartVnode = oldCh[0];
851
- let oldEndVnode = oldCh[oldEndIdx];
852
- let newEndIdx = newCh.length - 1;
853
- let newStartVnode = newCh[0];
854
- let newEndVnode = newCh[newEndIdx];
855
- let node;
856
- let elmToMove;
857
- while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
858
- if (oldStartVnode == null) {
859
- // VNode might have been moved left
860
- oldStartVnode = oldCh[++oldStartIdx];
861
- }
862
- else if (oldEndVnode == null) {
863
- oldEndVnode = oldCh[--oldEndIdx];
864
- }
865
- else if (newStartVnode == null) {
866
- newStartVnode = newCh[++newStartIdx];
867
- }
868
- else if (newEndVnode == null) {
869
- newEndVnode = newCh[--newEndIdx];
870
- }
871
- else if (isSameVnode(oldStartVnode, newStartVnode)) {
872
- // if the start nodes are the same then we should patch the new VNode
873
- // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
874
- // indices to reflect that. We don't need to move any DOM Nodes around
875
- // since things are matched up in order.
876
- patch(oldStartVnode, newStartVnode);
877
- oldStartVnode = oldCh[++oldStartIdx];
878
- newStartVnode = newCh[++newStartIdx];
879
- }
880
- else if (isSameVnode(oldEndVnode, newEndVnode)) {
881
- // likewise, if the end nodes are the same we patch new onto old and
882
- // decrement our end indices, and also likewise in this case we don't
883
- // need to move any DOM Nodes.
884
- patch(oldEndVnode, newEndVnode);
885
- oldEndVnode = oldCh[--oldEndIdx];
886
- newEndVnode = newCh[--newEndIdx];
887
- }
888
- else if (isSameVnode(oldStartVnode, newEndVnode)) {
889
- // case: "Vnode moved right"
890
- //
891
- // We've found that the last node in our window on the new children is
892
- // the same VNode as the _first_ node in our window on the old children
893
- // we're dealing with now. Visually, this is the layout of these two
894
- // nodes:
895
- //
896
- // newCh: [..., newStartVnode , ... , newEndVnode , ...]
897
- // ^^^^^^^^^^^
898
- // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
899
- // ^^^^^^^^^^^^^
900
- //
901
- // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
902
- // and move the DOM element for `oldStartVnode`.
903
- if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
904
- putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
905
- }
906
- patch(oldStartVnode, newEndVnode);
907
- // We need to move the element for `oldStartVnode` into a position which
908
- // will be appropriate for `newEndVnode`. For this we can use
909
- // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
910
- // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
911
- // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
912
- //
913
- // <old-start-node />
914
- // <some-intervening-node />
915
- // <old-end-node />
916
- // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
917
- // <next-sibling />
918
- //
919
- // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
920
- // the node for `oldStartVnode` at the end of the children of
921
- // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
922
- // aren't any siblings, and passing `null` to `Node.insertBefore` will
923
- // append it to the children of the parent element.
924
- parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
925
- oldStartVnode = oldCh[++oldStartIdx];
926
- newEndVnode = newCh[--newEndIdx];
927
- }
928
- else if (isSameVnode(oldEndVnode, newStartVnode)) {
929
- // case: "Vnode moved left"
930
- //
931
- // We've found that the first node in our window on the new children is
932
- // the same VNode as the _last_ node in our window on the old children.
933
- // Visually, this is the layout of these two nodes:
934
- //
935
- // newCh: [..., newStartVnode , ... , newEndVnode , ...]
936
- // ^^^^^^^^^^^^^
937
- // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
938
- // ^^^^^^^^^^^
939
- //
940
- // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
941
- // (which will handle updating any changed attributes, reconciling their
942
- // children etc) but we also need to move the DOM node to which
943
- // `oldEndVnode` corresponds.
944
- if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
945
- putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
946
- }
947
- patch(oldEndVnode, newStartVnode);
948
- // We've already checked above if `oldStartVnode` and `newStartVnode` are
949
- // the same node, so since we're here we know that they are not. Thus we
950
- // can move the element for `oldEndVnode` _before_ the element for
951
- // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
952
- // future.
953
- parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
954
- oldEndVnode = oldCh[--oldEndIdx];
955
- newStartVnode = newCh[++newStartIdx];
956
- }
957
- else {
958
- // Here we do some checks to match up old and new nodes based on the
959
- // `$key$` attribute, which is set by putting a `key="my-key"` attribute
960
- // in the JSX for a DOM element in the implementation of a Stencil
961
- // component.
962
- //
963
- // First we check to see if there are any nodes in the array of old
964
- // children which have the same key as the first node in the new
965
- // children.
966
- idxInOld = -1;
967
- {
968
- for (i = oldStartIdx; i <= oldEndIdx; ++i) {
969
- if (oldCh[i] && oldCh[i].$key$ !== null && oldCh[i].$key$ === newStartVnode.$key$) {
970
- idxInOld = i;
971
- break;
972
- }
973
- }
974
- }
975
- if (idxInOld >= 0) {
976
- // We found a node in the old children which matches up with the first
977
- // node in the new children! So let's deal with that
978
- elmToMove = oldCh[idxInOld];
979
- if (elmToMove.$tag$ !== newStartVnode.$tag$) {
980
- // the tag doesn't match so we'll need a new DOM element
981
- node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
982
- }
983
- else {
984
- patch(elmToMove, newStartVnode);
985
- // invalidate the matching old node so that we won't try to update it
986
- // again later on
987
- oldCh[idxInOld] = undefined;
988
- node = elmToMove.$elm$;
989
- }
990
- newStartVnode = newCh[++newStartIdx];
991
- }
992
- else {
993
- // We either didn't find an element in the old children that matches
994
- // the key of the first new child OR the build is not using `key`
995
- // attributes at all. In either case we need to create a new element
996
- // for the new node.
997
- node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
998
- newStartVnode = newCh[++newStartIdx];
999
- }
1000
- if (node) {
1001
- // if we created a new node then handle inserting it to the DOM
1002
- {
1003
- parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
1004
- }
1005
- }
1006
- }
1007
- }
1008
- if (oldStartIdx > oldEndIdx) {
1009
- // we have some more new nodes to add which don't match up with old nodes
1010
- addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
1011
- }
1012
- else if (newStartIdx > newEndIdx) {
1013
- // there are nodes in the `oldCh` array which no longer correspond to nodes
1014
- // in the new array, so lets remove them (which entails cleaning up the
1015
- // relevant DOM nodes)
1016
- removeVnodes(oldCh, oldStartIdx, oldEndIdx);
1017
- }
1018
- };
1019
- /**
1020
- * Compare two VNodes to determine if they are the same
1021
- *
1022
- * **NB**: This function is an equality _heuristic_ based on the available
1023
- * information set on the two VNodes and can be misleading under certain
1024
- * circumstances. In particular, if the two nodes do not have `key` attrs
1025
- * (available under `$key$` on VNodes) then the function falls back on merely
1026
- * checking that they have the same tag.
1027
- *
1028
- * So, in other words, if `key` attrs are not set on VNodes which may be
1029
- * changing order within a `children` array or something along those lines then
1030
- * we could obtain a false negative and then have to do needless re-rendering
1031
- * (i.e. we'd say two VNodes aren't equal when in fact they should be).
1032
- *
1033
- * @param leftVNode the first VNode to check
1034
- * @param rightVNode the second VNode to check
1035
- * @returns whether they're equal or not
1036
- */
1037
- const isSameVnode = (leftVNode, rightVNode) => {
1038
- // compare if two vnode to see if they're "technically" the same
1039
- // need to have the same element tag, and same key to be the same
1040
- if (leftVNode.$tag$ === rightVNode.$tag$) {
1041
- if (leftVNode.$tag$ === 'slot') {
1042
- return leftVNode.$name$ === rightVNode.$name$;
1043
- }
1044
- // this will be set if components in the build have `key` attrs set on them
1045
- {
1046
- return leftVNode.$key$ === rightVNode.$key$;
1047
- }
1048
- }
1049
- return false;
1050
- };
1051
- const referenceNode = (node) => {
1052
- // this node was relocated to a new location in the dom
1053
- // because of some other component's slot
1054
- // but we still have an html comment in place of where
1055
- // it's original location was according to it's original vdom
1056
- return (node && node['s-ol']) || node;
1057
- };
1058
- const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
1059
- /**
1060
- * Handle reconciling an outdated VNode with a new one which corresponds to
1061
- * it. This function handles flushing updates to the DOM and reconciling the
1062
- * children of the two nodes (if any).
1063
- *
1064
- * @param oldVNode an old VNode whose DOM element and children we want to update
1065
- * @param newVNode a new VNode representing an updated version of the old one
1066
- */
1067
- const patch = (oldVNode, newVNode) => {
1068
- const elm = (newVNode.$elm$ = oldVNode.$elm$);
1069
- const oldChildren = oldVNode.$children$;
1070
- const newChildren = newVNode.$children$;
1071
- const tag = newVNode.$tag$;
1072
- const text = newVNode.$text$;
1073
- let defaultHolder;
1074
- if (text === null) {
1075
- {
1076
- // test if we're rendering an svg element, or still rendering nodes inside of one
1077
- // only add this to the when the compiler sees we're using an svg somewhere
1078
- isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
1079
- }
1080
- {
1081
- if (tag === 'slot')
1082
- ;
1083
- else {
1084
- // either this is the first render of an element OR it's an update
1085
- // AND we already know it's possible it could have changed
1086
- // this updates the element's css classes, attrs, props, listeners, etc.
1087
- updateElement(oldVNode, newVNode, isSvgMode);
1088
- }
1089
- }
1090
- if (oldChildren !== null && newChildren !== null) {
1091
- // looks like there's child vnodes for both the old and new vnodes
1092
- // so we need to call `updateChildren` to reconcile them
1093
- updateChildren(elm, oldChildren, newVNode, newChildren);
1094
- }
1095
- else if (newChildren !== null) {
1096
- // no old child vnodes, but there are new child vnodes to add
1097
- if (oldVNode.$text$ !== null) {
1098
- // the old vnode was text, so be sure to clear it out
1099
- elm.textContent = '';
1100
- }
1101
- // add the new vnode children
1102
- addVnodes(elm, null, newVNode, newChildren, 0, newChildren.length - 1);
1103
- }
1104
- else if (oldChildren !== null) {
1105
- // no new child vnodes, but there are old child vnodes to remove
1106
- removeVnodes(oldChildren, 0, oldChildren.length - 1);
1107
- }
1108
- if (isSvgMode && tag === 'svg') {
1109
- isSvgMode = false;
1110
- }
1111
- }
1112
- else if ((defaultHolder = elm['s-cr'])) {
1113
- // this element has slotted content
1114
- defaultHolder.parentNode.textContent = text;
1115
- }
1116
- else if (oldVNode.$text$ !== text) {
1117
- // update the text content for the text only vnode
1118
- // and also only if the text is different than before
1119
- elm.data = text;
1120
- }
1121
- };
1122
- const updateFallbackSlotVisibility = (elm) => {
1123
- // tslint:disable-next-line: prefer-const
1124
- const childNodes = elm.childNodes;
1125
- let childNode;
1126
- let i;
1127
- let ilen;
1128
- let j;
1129
- let slotNameAttr;
1130
- let nodeType;
1131
- for (i = 0, ilen = childNodes.length; i < ilen; i++) {
1132
- childNode = childNodes[i];
1133
- if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1134
- if (childNode['s-sr']) {
1135
- // this is a slot fallback node
1136
- // get the slot name for this slot reference node
1137
- slotNameAttr = childNode['s-sn'];
1138
- // by default always show a fallback slot node
1139
- // then hide it if there are other slots in the light dom
1140
- childNode.hidden = false;
1141
- for (j = 0; j < ilen; j++) {
1142
- nodeType = childNodes[j].nodeType;
1143
- if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
1144
- // this sibling node is from a different component OR is a named fallback slot node
1145
- if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
1146
- childNode.hidden = true;
1147
- break;
1148
- }
1149
- }
1150
- else {
1151
- // this is a default fallback slot node
1152
- // any element or text node (with content)
1153
- // should hide the default fallback slot node
1154
- if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
1155
- (nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
1156
- childNode.hidden = true;
1157
- break;
1158
- }
1159
- }
1160
- }
1161
- }
1162
- // keep drilling down
1163
- updateFallbackSlotVisibility(childNode);
1164
- }
1165
- }
1166
- };
1167
- const relocateNodes = [];
1168
- const relocateSlotContent = (elm) => {
1169
- // tslint:disable-next-line: prefer-const
1170
- let childNode;
1171
- let node;
1172
- let hostContentNodes;
1173
- let slotNameAttr;
1174
- let relocateNodeData;
1175
- let j;
1176
- let i = 0;
1177
- const childNodes = elm.childNodes;
1178
- const ilen = childNodes.length;
1179
- for (; i < ilen; i++) {
1180
- childNode = childNodes[i];
1181
- if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
1182
- // first got the content reference comment node
1183
- // then we got it's parent, which is where all the host content is in now
1184
- hostContentNodes = node.parentNode.childNodes;
1185
- slotNameAttr = childNode['s-sn'];
1186
- for (j = hostContentNodes.length - 1; j >= 0; j--) {
1187
- node = hostContentNodes[j];
1188
- if (!node['s-cn'] && !node['s-nr'] && node['s-hn'] !== childNode['s-hn']) {
1189
- // let's do some relocating to its new home
1190
- // but never relocate a content reference node
1191
- // that is suppose to always represent the original content location
1192
- if (isNodeLocatedInSlot(node, slotNameAttr)) {
1193
- // it's possible we've already decided to relocate this node
1194
- relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1195
- // made some changes to slots
1196
- // let's make sure we also double check
1197
- // fallbacks are correctly hidden or shown
1198
- checkSlotFallbackVisibility = true;
1199
- node['s-sn'] = node['s-sn'] || slotNameAttr;
1200
- if (relocateNodeData) {
1201
- // previously we never found a slot home for this node
1202
- // but turns out we did, so let's remember it now
1203
- relocateNodeData.$slotRefNode$ = childNode;
1204
- }
1205
- else {
1206
- // add to our list of nodes to relocate
1207
- relocateNodes.push({
1208
- $slotRefNode$: childNode,
1209
- $nodeToRelocate$: node,
1210
- });
1211
- }
1212
- if (node['s-sr']) {
1213
- relocateNodes.map((relocateNode) => {
1214
- if (isNodeLocatedInSlot(relocateNode.$nodeToRelocate$, node['s-sn'])) {
1215
- relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
1216
- if (relocateNodeData && !relocateNode.$slotRefNode$) {
1217
- relocateNode.$slotRefNode$ = relocateNodeData.$slotRefNode$;
1218
- }
1219
- }
1220
- });
1221
- }
1222
- }
1223
- else if (!relocateNodes.some((r) => r.$nodeToRelocate$ === node)) {
1224
- // so far this element does not have a slot home, not setting slotRefNode on purpose
1225
- // if we never find a home for this element then we'll need to hide it
1226
- relocateNodes.push({
1227
- $nodeToRelocate$: node,
1228
- });
1229
- }
1230
- }
1231
- }
1232
- }
1233
- if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1234
- relocateSlotContent(childNode);
1235
- }
1236
- }
1237
- };
1238
- const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
1239
- if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1240
- if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
1241
- return true;
1242
- }
1243
- if (nodeToRelocate.getAttribute('slot') === slotNameAttr) {
1244
- return true;
1245
- }
1246
- return false;
1247
- }
1248
- if (nodeToRelocate['s-sn'] === slotNameAttr) {
1249
- return true;
1250
- }
1251
- return slotNameAttr === '';
1252
- };
1253
- const callNodeRefs = (vNode) => {
1254
- {
1255
- vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
1256
- vNode.$children$ && vNode.$children$.map(callNodeRefs);
1257
- }
1258
- };
1259
- /**
1260
- * The main entry point for Stencil's virtual DOM-based rendering engine
1261
- *
1262
- * Given a {@link d.HostRef} container and some virtual DOM nodes, this
1263
- * function will handle creating a virtual DOM tree with a single root, patching
1264
- * the current virtual DOM tree onto an old one (if any), dealing with slot
1265
- * relocation, and reflecting attributes.
1266
- *
1267
- * @param hostRef data needed to root and render the virtual DOM tree, such as
1268
- * the DOM node into which it should be rendered.
1269
- * @param renderFnResults the virtual DOM nodes to be rendered
1270
- */
1271
- const renderVdom = (hostRef, renderFnResults) => {
1272
- const hostElm = hostRef.$hostElement$;
1273
- const cmpMeta = hostRef.$cmpMeta$;
1274
- const oldVNode = hostRef.$vnode$ || newVNode(null, null);
1275
- const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
1276
- hostTagName = hostElm.tagName;
1277
- if (cmpMeta.$attrsToReflect$) {
1278
- rootVnode.$attrs$ = rootVnode.$attrs$ || {};
1279
- cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
1280
- }
1281
- rootVnode.$tag$ = null;
1282
- rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
1283
- hostRef.$vnode$ = rootVnode;
1284
- rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
1285
- {
1286
- scopeId = hostElm['s-sc'];
1287
- }
1288
- {
1289
- contentRef = hostElm['s-cr'];
1290
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
1291
- // always reset
1292
- checkSlotFallbackVisibility = false;
1293
- }
1294
- // synchronous patch
1295
- patch(oldVNode, rootVnode);
1296
- {
1297
- // while we're moving nodes around existing nodes, temporarily disable
1298
- // the disconnectCallback from working
1299
- plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1300
- if (checkSlotRelocate) {
1301
- relocateSlotContent(rootVnode.$elm$);
1302
- let relocateData;
1303
- let nodeToRelocate;
1304
- let orgLocationNode;
1305
- let parentNodeRef;
1306
- let insertBeforeNode;
1307
- let refNode;
1308
- let i = 0;
1309
- for (; i < relocateNodes.length; i++) {
1310
- relocateData = relocateNodes[i];
1311
- nodeToRelocate = relocateData.$nodeToRelocate$;
1312
- if (!nodeToRelocate['s-ol']) {
1313
- // add a reference node marking this node's original location
1314
- // keep a reference to this node for later lookups
1315
- orgLocationNode =
1316
- doc.createTextNode('');
1317
- orgLocationNode['s-nr'] = nodeToRelocate;
1318
- nodeToRelocate.parentNode.insertBefore((nodeToRelocate['s-ol'] = orgLocationNode), nodeToRelocate);
1319
- }
1320
- }
1321
- for (i = 0; i < relocateNodes.length; i++) {
1322
- relocateData = relocateNodes[i];
1323
- nodeToRelocate = relocateData.$nodeToRelocate$;
1324
- if (relocateData.$slotRefNode$) {
1325
- // by default we're just going to insert it directly
1326
- // after the slot reference node
1327
- parentNodeRef = relocateData.$slotRefNode$.parentNode;
1328
- insertBeforeNode = relocateData.$slotRefNode$.nextSibling;
1329
- orgLocationNode = nodeToRelocate['s-ol'];
1330
- while ((orgLocationNode = orgLocationNode.previousSibling)) {
1331
- refNode = orgLocationNode['s-nr'];
1332
- if (refNode && refNode['s-sn'] === nodeToRelocate['s-sn'] && parentNodeRef === refNode.parentNode) {
1333
- refNode = refNode.nextSibling;
1334
- if (!refNode || !refNode['s-nr']) {
1335
- insertBeforeNode = refNode;
1336
- break;
1337
- }
1338
- }
1339
- }
1340
- if ((!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode) ||
1341
- nodeToRelocate.nextSibling !== insertBeforeNode) {
1342
- // we've checked that it's worth while to relocate
1343
- // since that the node to relocate
1344
- // has a different next sibling or parent relocated
1345
- if (nodeToRelocate !== insertBeforeNode) {
1346
- if (!nodeToRelocate['s-hn'] && nodeToRelocate['s-ol']) {
1347
- // probably a component in the index.html that doesn't have it's hostname set
1348
- nodeToRelocate['s-hn'] = nodeToRelocate['s-ol'].parentNode.nodeName;
1349
- }
1350
- // add it back to the dom but in its new home
1351
- parentNodeRef.insertBefore(nodeToRelocate, insertBeforeNode);
1352
- }
1353
- }
1354
- }
1355
- else {
1356
- // this node doesn't have a slot home to go to, so let's hide it
1357
- if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1358
- nodeToRelocate.hidden = true;
1359
- }
1360
- }
1361
- }
1362
- }
1363
- if (checkSlotFallbackVisibility) {
1364
- updateFallbackSlotVisibility(rootVnode.$elm$);
1365
- }
1366
- // done moving nodes around
1367
- // allow the disconnect callback to work again
1368
- plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1369
- // always reset
1370
- relocateNodes.length = 0;
1371
- }
1372
- };
1373
- const attachToAncestor = (hostRef, ancestorComponent) => {
1374
- if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1375
- ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
1376
- }
1377
- };
1378
- const scheduleUpdate = (hostRef, isInitialLoad) => {
1379
- {
1380
- hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
1381
- }
1382
- if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
1383
- hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
1384
- return;
1385
- }
1386
- attachToAncestor(hostRef, hostRef.$ancestorComponent$);
1387
- // there is no ancestor component or the ancestor component
1388
- // has already fired off its lifecycle update then
1389
- // fire off the initial update
1390
- const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
1391
- return writeTask(dispatch) ;
1392
- };
1393
- const dispatchHooks = (hostRef, isInitialLoad) => {
1394
- const endSchedule = createTime('scheduleUpdate', hostRef.$cmpMeta$.$tagName$);
1395
- const instance = hostRef.$lazyInstance$ ;
1396
- let promise;
1397
- if (isInitialLoad) {
1398
- {
1399
- hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
1400
- if (hostRef.$queuedListeners$) {
1401
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1402
- hostRef.$queuedListeners$ = null;
1403
- }
1404
- }
1405
- {
1406
- promise = safeCall(instance, 'componentWillLoad');
1407
- }
1408
- }
1409
- else {
1410
- {
1411
- promise = safeCall(instance, 'componentWillUpdate');
1412
- }
1413
- }
1414
- {
1415
- promise = then(promise, () => safeCall(instance, 'componentWillRender'));
1416
- }
1417
- endSchedule();
1418
- return then(promise, () => updateComponent(hostRef, instance, isInitialLoad));
1419
- };
1420
- const updateComponent = async (hostRef, instance, isInitialLoad) => {
1421
- // updateComponent
1422
- const elm = hostRef.$hostElement$;
1423
- const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
1424
- const rc = elm['s-rc'];
1425
- if (isInitialLoad) {
1426
- // DOM WRITE!
1427
- attachStyles(hostRef);
1428
- }
1429
- const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
1430
- {
1431
- callRender(hostRef, instance);
1432
- }
1433
- if (rc) {
1434
- // ok, so turns out there are some child host elements
1435
- // waiting on this parent element to load
1436
- // let's fire off all update callbacks waiting
1437
- rc.map((cb) => cb());
1438
- elm['s-rc'] = undefined;
1439
- }
1440
- endRender();
1441
- endUpdate();
1442
- {
1443
- const childrenPromises = elm['s-p'];
1444
- const postUpdate = () => postUpdateComponent(hostRef);
1445
- if (childrenPromises.length === 0) {
1446
- postUpdate();
1447
- }
1448
- else {
1449
- Promise.all(childrenPromises).then(postUpdate);
1450
- hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
1451
- childrenPromises.length = 0;
1452
- }
1453
- }
1454
- };
1455
- const callRender = (hostRef, instance, elm) => {
1456
- try {
1457
- instance = instance.render() ;
1458
- {
1459
- hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
1460
- }
1461
- {
1462
- hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
1463
- }
1464
- {
1465
- {
1466
- // looks like we've got child nodes to render into this host element
1467
- // or we need to update the css class/attrs on the host element
1468
- // DOM WRITE!
1469
- {
1470
- renderVdom(hostRef, instance);
1471
- }
1472
- }
1473
- }
1474
- }
1475
- catch (e) {
1476
- consoleError(e, hostRef.$hostElement$);
1477
- }
1478
- return null;
1479
- };
1480
- const postUpdateComponent = (hostRef) => {
1481
- const tagName = hostRef.$cmpMeta$.$tagName$;
1482
- const elm = hostRef.$hostElement$;
1483
- const endPostUpdate = createTime('postUpdate', tagName);
1484
- const instance = hostRef.$lazyInstance$ ;
1485
- const ancestorComponent = hostRef.$ancestorComponent$;
1486
- {
1487
- safeCall(instance, 'componentDidRender');
1488
- }
1489
- if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
1490
- hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
1491
- {
1492
- // DOM WRITE!
1493
- addHydratedFlag(elm);
1494
- }
1495
- {
1496
- safeCall(instance, 'componentDidLoad');
1497
- }
1498
- endPostUpdate();
1499
- {
1500
- hostRef.$onReadyResolve$(elm);
1501
- if (!ancestorComponent) {
1502
- appDidLoad();
1503
- }
1504
- }
1505
- }
1506
- else {
1507
- {
1508
- safeCall(instance, 'componentDidUpdate');
1509
- }
1510
- endPostUpdate();
1511
- }
1512
- {
1513
- hostRef.$onInstanceResolve$(elm);
1514
- }
1515
- // load events fire from bottom to top
1516
- // the deepest elements load first then bubbles up
1517
- {
1518
- if (hostRef.$onRenderResolve$) {
1519
- hostRef.$onRenderResolve$();
1520
- hostRef.$onRenderResolve$ = undefined;
1521
- }
1522
- if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
1523
- nextTick(() => scheduleUpdate(hostRef, false));
1524
- }
1525
- hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
1526
- }
1527
- // ( •_•)
1528
- // ( •_•)>⌐■-■
1529
- // (⌐■_■)
1530
- };
1531
- const appDidLoad = (who) => {
1532
- // on appload
1533
- // we have finish the first big initial render
1534
- {
1535
- addHydratedFlag(doc.documentElement);
1536
- }
1537
- nextTick(() => emitEvent(win, 'appload', { detail: { namespace: NAMESPACE } }));
1538
- };
1539
- const safeCall = (instance, method, arg) => {
1540
- if (instance && instance[method]) {
1541
- try {
1542
- return instance[method](arg);
1543
- }
1544
- catch (e) {
1545
- consoleError(e);
1546
- }
1547
- }
1548
- return undefined;
1549
- };
1550
- const then = (promise, thenFn) => {
1551
- return promise && promise.then ? promise.then(thenFn) : thenFn();
1552
- };
1553
- const addHydratedFlag = (elm) => elm.classList.add('hydrated')
1554
- ;
1555
- const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1556
- const setValue = (ref, propName, newVal, cmpMeta) => {
1557
- // check our new property value against our internal value
1558
- const hostRef = getHostRef(ref);
1559
- const elm = hostRef.$hostElement$ ;
1560
- const oldVal = hostRef.$instanceValues$.get(propName);
1561
- const flags = hostRef.$flags$;
1562
- const instance = hostRef.$lazyInstance$ ;
1563
- newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
1564
- // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1565
- const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1566
- const didValueChange = newVal !== oldVal && !areBothNaN;
1567
- if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1568
- // gadzooks! the property's value has changed!!
1569
- // set our new value!
1570
- hostRef.$instanceValues$.set(propName, newVal);
1571
- if (instance) {
1572
- // get an array of method names of watch functions to call
1573
- if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
1574
- const watchMethods = cmpMeta.$watchers$[propName];
1575
- if (watchMethods) {
1576
- // this instance is watching for when this property changed
1577
- watchMethods.map((watchMethodName) => {
1578
- try {
1579
- // fire off each of the watch methods that are watching this property
1580
- instance[watchMethodName](newVal, oldVal, propName);
1581
- }
1582
- catch (e) {
1583
- consoleError(e, elm);
1584
- }
1585
- });
1586
- }
1587
- }
1588
- if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1589
- // looks like this value actually changed, so we've got work to do!
1590
- // but only if we've already rendered, otherwise just chill out
1591
- // queue that we need to do an update, but don't worry about queuing
1592
- // up millions cuz this function ensures it only runs once
1593
- scheduleUpdate(hostRef, false);
1594
- }
1595
- }
1596
- }
1597
- };
1598
- /**
1599
- * Attach a series of runtime constructs to a compiled Stencil component
1600
- * constructor, including getters and setters for the `@Prop` and `@State`
1601
- * decorators, callbacks for when attributes change, and so on.
1602
- *
1603
- * @param Cstr the constructor for a component that we need to process
1604
- * @param cmpMeta metadata collected previously about the component
1605
- * @param flags a number used to store a series of bit flags
1606
- * @returns a reference to the same constructor passed in (but now mutated)
1607
- */
1608
- const proxyComponent = (Cstr, cmpMeta, flags) => {
1609
- if (cmpMeta.$members$) {
1610
- if (Cstr.watchers) {
1611
- cmpMeta.$watchers$ = Cstr.watchers;
1612
- }
1613
- // It's better to have a const than two Object.entries()
1614
- const members = Object.entries(cmpMeta.$members$);
1615
- const prototype = Cstr.prototype;
1616
- members.map(([memberName, [memberFlags]]) => {
1617
- if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1618
- ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1619
- // proxyComponent - prop
1620
- Object.defineProperty(prototype, memberName, {
1621
- get() {
1622
- // proxyComponent, get value
1623
- return getValue(this, memberName);
1624
- },
1625
- set(newValue) {
1626
- // proxyComponent, set value
1627
- setValue(this, memberName, newValue, cmpMeta);
1628
- },
1629
- configurable: true,
1630
- enumerable: true,
1631
- });
1632
- }
1633
- else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
1634
- memberFlags & 64 /* MEMBER_FLAGS.Method */) {
1635
- // proxyComponent - method
1636
- Object.defineProperty(prototype, memberName, {
1637
- value(...args) {
1638
- const ref = getHostRef(this);
1639
- return ref.$onInstancePromise$.then(() => ref.$lazyInstance$[memberName](...args));
1640
- },
1641
- });
1642
- }
1643
- });
1644
- if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1645
- const attrNameToPropName = new Map();
1646
- prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1647
- plt.jmp(() => {
1648
- const propName = attrNameToPropName.get(attrName);
1649
- // In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
1650
- // in the case where an attribute was set inline.
1651
- // ```html
1652
- // <my-component some-attribute="some-value"></my-component>
1653
- // ```
1654
- //
1655
- // There is an edge case where a developer sets the attribute inline on a custom element and then
1656
- // programmatically changes it before it has been upgraded as shown below:
1657
- //
1658
- // ```html
1659
- // <!-- this component has _not_ been upgraded yet -->
1660
- // <my-component id="test" some-attribute="some-value"></my-component>
1661
- // <script>
1662
- // // grab non-upgraded component
1663
- // el = document.querySelector("#test");
1664
- // el.someAttribute = "another-value";
1665
- // // upgrade component
1666
- // customElements.define('my-component', MyComponent);
1667
- // </script>
1668
- // ```
1669
- // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
1670
- // will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
1671
- // to the value that was set inline i.e. "some-value" from above example. When
1672
- // the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
1673
- //
1674
- // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
1675
- // by connectedCallback as this attributeChangedCallback will not fire.
1676
- //
1677
- // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1678
- //
1679
- // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to
1680
- // properties here given that this goes against best practices outlined here
1681
- // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy
1682
- if (this.hasOwnProperty(propName)) {
1683
- newValue = this[propName];
1684
- delete this[propName];
1685
- }
1686
- else if (prototype.hasOwnProperty(propName) &&
1687
- typeof this[propName] === 'number' &&
1688
- this[propName] == newValue) {
1689
- // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
1690
- // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
1691
- // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
1692
- return;
1693
- }
1694
- this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
1695
- });
1696
- };
1697
- // create an array of attributes to observe
1698
- // and also create a map of html attribute name to js property name
1699
- Cstr.observedAttributes = members
1700
- .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1701
- .map(([propName, m]) => {
1702
- const attrName = m[1] || propName;
1703
- attrNameToPropName.set(attrName, propName);
1704
- if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1705
- cmpMeta.$attrsToReflect$.push([propName, attrName]);
1706
- }
1707
- return attrName;
1708
- });
1709
- }
1710
- }
1711
- return Cstr;
1712
- };
1713
- const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1714
- // initializeComponent
1715
- if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1716
- {
1717
- // we haven't initialized this element yet
1718
- hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1719
- // lazy loaded components
1720
- // request the component's implementation to be
1721
- // wired up with the host element
1722
- Cstr = loadModule(cmpMeta);
1723
- if (Cstr.then) {
1724
- // Await creates a micro-task avoid if possible
1725
- const endLoad = uniqueTime();
1726
- Cstr = await Cstr;
1727
- endLoad();
1728
- }
1729
- if (!Cstr.isProxied) {
1730
- // we've never proxied this Constructor before
1731
- // let's add the getters/setters to its prototype before
1732
- // the first time we create an instance of the implementation
1733
- {
1734
- cmpMeta.$watchers$ = Cstr.watchers;
1735
- }
1736
- proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1737
- Cstr.isProxied = true;
1738
- }
1739
- const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
1740
- // ok, time to construct the instance
1741
- // but let's keep track of when we start and stop
1742
- // so that the getters/setters don't incorrectly step on data
1743
- {
1744
- hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
1745
- }
1746
- // construct the lazy-loaded component implementation
1747
- // passing the hostRef is very important during
1748
- // construction in order to directly wire together the
1749
- // host element and the lazy-loaded instance
1750
- try {
1751
- new Cstr(hostRef);
1752
- }
1753
- catch (e) {
1754
- consoleError(e);
1755
- }
1756
- {
1757
- hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1758
- }
1759
- {
1760
- hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
1761
- }
1762
- endNewInstance();
1763
- fireConnectedCallback(hostRef.$lazyInstance$);
1764
- }
1765
- if (Cstr.style) {
1766
- // this component has styles but we haven't registered them yet
1767
- let style = Cstr.style;
1768
- const scopeId = getScopeId(cmpMeta);
1769
- if (!styles.has(scopeId)) {
1770
- const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1771
- registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
1772
- endRegisterStyles();
1773
- }
1774
- }
1775
- }
1776
- // we've successfully created a lazy instance
1777
- const ancestorComponent = hostRef.$ancestorComponent$;
1778
- const schedule = () => scheduleUpdate(hostRef, true);
1779
- if (ancestorComponent && ancestorComponent['s-rc']) {
1780
- // this is the initial load and this component it has an ancestor component
1781
- // but the ancestor component has NOT fired its will update lifecycle yet
1782
- // so let's just cool our jets and wait for the ancestor to continue first
1783
- // this will get fired off when the ancestor component
1784
- // finally gets around to rendering its lazy self
1785
- // fire off the initial update
1786
- ancestorComponent['s-rc'].push(schedule);
1787
- }
1788
- else {
1789
- schedule();
1790
- }
1791
- };
1792
- const fireConnectedCallback = (instance) => {
1793
- {
1794
- safeCall(instance, 'connectedCallback');
1795
- }
1796
- };
1797
- const connectedCallback = (elm) => {
1798
- if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1799
- const hostRef = getHostRef(elm);
1800
- const cmpMeta = hostRef.$cmpMeta$;
1801
- const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1802
- if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1803
- // first time this component has connected
1804
- hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1805
- {
1806
- // initUpdate
1807
- // if the slot polyfill is required we'll need to put some nodes
1808
- // in here to act as original content anchors as we move nodes around
1809
- // host element has been connected to the DOM
1810
- if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
1811
- setContentReference(elm);
1812
- }
1813
- }
1814
- {
1815
- // find the first ancestor component (if there is one) and register
1816
- // this component as one of the actively loading child components for its ancestor
1817
- let ancestorComponent = elm;
1818
- while ((ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host)) {
1819
- // climb up the ancestors looking for the first
1820
- // component that hasn't finished its lifecycle update yet
1821
- if (ancestorComponent['s-p']) {
1822
- // we found this components first ancestor component
1823
- // keep a reference to this component's ancestor component
1824
- attachToAncestor(hostRef, (hostRef.$ancestorComponent$ = ancestorComponent));
1825
- break;
1826
- }
1827
- }
1828
- }
1829
- // Lazy properties
1830
- // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1831
- if (cmpMeta.$members$) {
1832
- Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1833
- if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
1834
- const value = elm[memberName];
1835
- delete elm[memberName];
1836
- elm[memberName] = value;
1837
- }
1838
- });
1839
- }
1840
- {
1841
- initializeComponent(elm, hostRef, cmpMeta);
1842
- }
1843
- }
1844
- else {
1845
- // not the first time this has connected
1846
- // reattach any event listeners to the host
1847
- // since they would have been removed when disconnected
1848
- addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1849
- // fire off connectedCallback() on component instance
1850
- fireConnectedCallback(hostRef.$lazyInstance$);
1851
- }
1852
- endConnected();
1853
- }
1854
- };
1855
- const setContentReference = (elm) => {
1856
- // only required when we're NOT using native shadow dom (slot)
1857
- // or this browser doesn't support native shadow dom
1858
- // and this host element was NOT created with SSR
1859
- // let's pick out the inner content for slot projection
1860
- // create a node to represent where the original
1861
- // content was first placed, which is useful later on
1862
- const contentRefElm = (elm['s-cr'] = doc.createComment(''));
1863
- contentRefElm['s-cn'] = true;
1864
- elm.insertBefore(contentRefElm, elm.firstChild);
1865
- };
1866
- const disconnectedCallback = (elm) => {
1867
- if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1868
- const hostRef = getHostRef(elm);
1869
- const instance = hostRef.$lazyInstance$ ;
1870
- {
1871
- if (hostRef.$rmListeners$) {
1872
- hostRef.$rmListeners$.map((rmListener) => rmListener());
1873
- hostRef.$rmListeners$ = undefined;
1874
- }
1875
- }
1876
- {
1877
- safeCall(instance, 'disconnectedCallback');
1878
- }
1879
- }
1880
- };
1881
- const bootstrapLazy = (lazyBundles, options = {}) => {
1882
- const endBootstrap = createTime();
1883
- const exclude = options.exclude || [];
1884
- const customElements = win.customElements;
1885
- const deferredConnectedCallbacks = [];
1886
- let appLoadFallback;
1887
- let isBootstrapping = true;
1888
- Object.assign(plt, options);
1889
- plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1890
- lazyBundles.map((lazyBundle) => {
1891
- lazyBundle[1].map((compactMeta) => {
1892
- const cmpMeta = {
1893
- $flags$: compactMeta[0],
1894
- $tagName$: compactMeta[1],
1895
- $members$: compactMeta[2],
1896
- $listeners$: compactMeta[3],
1897
- };
1898
- {
1899
- cmpMeta.$members$ = compactMeta[2];
1900
- }
1901
- {
1902
- cmpMeta.$listeners$ = compactMeta[3];
1903
- }
1904
- {
1905
- cmpMeta.$attrsToReflect$ = [];
1906
- }
1907
- {
1908
- cmpMeta.$watchers$ = {};
1909
- }
1910
- const tagName = cmpMeta.$tagName$;
1911
- const HostElement = class extends HTMLElement {
1912
- // StencilLazyHost
1913
- constructor(self) {
1914
- // @ts-ignore
1915
- super(self);
1916
- self = this;
1917
- registerHost(self, cmpMeta);
1918
- if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
1919
- // this component is using shadow dom
1920
- // and this browser supports shadow dom
1921
- // add the read-only property "shadowRoot" to the host element
1922
- // adding the shadow root build conditionals to minimize runtime
1923
- {
1924
- {
1925
- self.attachShadow({ mode: 'open' });
1926
- }
1927
- }
1928
- }
1929
- }
1930
- connectedCallback() {
1931
- if (appLoadFallback) {
1932
- clearTimeout(appLoadFallback);
1933
- appLoadFallback = null;
1934
- }
1935
- if (isBootstrapping) {
1936
- // connectedCallback will be processed once all components have been registered
1937
- deferredConnectedCallbacks.push(this);
1938
- }
1939
- else {
1940
- plt.jmp(() => connectedCallback(this));
1941
- }
1942
- }
1943
- disconnectedCallback() {
1944
- plt.jmp(() => disconnectedCallback(this));
1945
- }
1946
- componentOnReady() {
1947
- return getHostRef(this).$onReadyPromise$;
1948
- }
1949
- };
1950
- cmpMeta.$lazyBundleId$ = lazyBundle[0];
1951
- if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1952
- customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
1953
- }
1954
- });
1955
- });
1956
- // Process deferred connectedCallbacks now all components have been registered
1957
- isBootstrapping = false;
1958
- if (deferredConnectedCallbacks.length) {
1959
- deferredConnectedCallbacks.map((host) => host.connectedCallback());
1960
- }
1961
- else {
1962
- {
1963
- plt.jmp(() => (appLoadFallback = setTimeout(appDidLoad, 30)));
1964
- }
1965
- }
1966
- // Fallback appLoad event
1967
- endBootstrap();
1968
- };
1969
- const Fragment = (_, children) => children;
1970
- const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1971
- if (listeners) {
1972
- listeners.map(([flags, name, method]) => {
1973
- const target = getHostListenerTarget(elm, flags) ;
1974
- const handler = hostListenerProxy(hostRef, method);
1975
- const opts = hostListenerOpts(flags);
1976
- plt.ael(target, name, handler, opts);
1977
- (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
1978
- });
1979
- }
1980
- };
1981
- const hostListenerProxy = (hostRef, methodName) => (ev) => {
1982
- try {
1983
- {
1984
- if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
1985
- // instance is ready, let's call it's member method for this event
1986
- hostRef.$lazyInstance$[methodName](ev);
1987
- }
1988
- else {
1989
- (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
1990
- }
1991
- }
1992
- }
1993
- catch (e) {
1994
- consoleError(e);
1995
- }
1996
- };
1997
- const getHostListenerTarget = (elm, flags) => {
1998
- if (flags & 4 /* LISTENER_FLAGS.TargetDocument */)
1999
- return doc;
2000
- if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
2001
- return win;
2002
- if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
2003
- return doc.body;
2004
- return elm;
2005
- };
2006
- // prettier-ignore
2007
- const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
2008
- /**
2009
- * Assigns the given value to the nonce property on the runtime platform object.
2010
- * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
2011
- * @param nonce The value to be assigned to the platform nonce property.
2012
- * @returns void
2013
- */
2014
- const setNonce = (nonce) => (plt.$nonce$ = nonce);
2015
- const hostRefs = /*@__PURE__*/ new WeakMap();
2016
- const getHostRef = (ref) => hostRefs.get(ref);
2017
- const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
2018
- const registerHost = (elm, cmpMeta) => {
2019
- const hostRef = {
2020
- $flags$: 0,
2021
- $hostElement$: elm,
2022
- $cmpMeta$: cmpMeta,
2023
- $instanceValues$: new Map(),
2024
- };
2025
- {
2026
- hostRef.$onInstancePromise$ = new Promise((r) => (hostRef.$onInstanceResolve$ = r));
2027
- }
2028
- {
2029
- hostRef.$onReadyPromise$ = new Promise((r) => (hostRef.$onReadyResolve$ = r));
2030
- elm['s-p'] = [];
2031
- elm['s-rc'] = [];
2032
- }
2033
- addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
2034
- return hostRefs.set(elm, hostRef);
2035
- };
2036
- const isMemberInElement = (elm, memberName) => memberName in elm;
2037
- const consoleError = (e, el) => (0, console.error)(e, el);
2038
- const cmpModules = /*@__PURE__*/ new Map();
2039
- const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2040
- // loadModuleImport
2041
- const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
2042
- const bundleId = cmpMeta.$lazyBundleId$;
2043
- const module = cmpModules.get(bundleId) ;
2044
- if (module) {
2045
- return module[exportName];
2046
- }
2047
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
2048
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
2049
- /* @vite-ignore */
2050
- /* webpackInclude: /\.entry\.js$/ */
2051
- /* webpackExclude: /\.system\.entry\.js$/ */
2052
- /* webpackMode: "lazy" */
2053
- `./${bundleId}.entry.js${''}`)); }).then((importedModule) => {
2054
- {
2055
- cmpModules.set(bundleId, importedModule);
2056
- }
2057
- return importedModule[exportName];
2058
- }, consoleError);
2059
- };
2060
- const styles = /*@__PURE__*/ new Map();
2061
- const win = typeof window !== 'undefined' ? window : {};
2062
- const doc = win.document || { head: {} };
2063
- const plt = {
2064
- $flags$: 0,
2065
- $resourcesUrl$: '',
2066
- jmp: (h) => h(),
2067
- raf: (h) => requestAnimationFrame(h),
2068
- ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
2069
- rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2070
- ce: (eventName, opts) => new CustomEvent(eventName, opts),
2071
- };
2072
- const promiseResolve = (v) => Promise.resolve(v);
2073
- const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
2074
- try {
2075
- new CSSStyleSheet();
2076
- return typeof new CSSStyleSheet().replaceSync === 'function';
2077
- }
2078
- catch (e) { }
2079
- return false;
2080
- })()
2081
- ;
2082
- const queueDomReads = [];
2083
- const queueDomWrites = [];
2084
- const queueTask = (queue, write) => (cb) => {
2085
- queue.push(cb);
2086
- if (!queuePending) {
2087
- queuePending = true;
2088
- if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
2089
- nextTick(flush);
2090
- }
2091
- else {
2092
- plt.raf(flush);
2093
- }
2094
- }
2095
- };
2096
- const consume = (queue) => {
2097
- for (let i = 0; i < queue.length; i++) {
2098
- try {
2099
- queue[i](performance.now());
2100
- }
2101
- catch (e) {
2102
- consoleError(e);
2103
- }
2104
- }
2105
- queue.length = 0;
2106
- };
2107
- const flush = () => {
2108
- // always force a bunch of medium callbacks to run, but still have
2109
- // a throttle on how many can run in a certain time
2110
- // DOM READS!!!
2111
- consume(queueDomReads);
2112
- // DOM WRITES!!!
2113
- {
2114
- consume(queueDomWrites);
2115
- if ((queuePending = queueDomReads.length > 0)) {
2116
- // still more to do yet, but we've run out of time
2117
- // let's let this thing cool off and try again in the next tick
2118
- plt.raf(flush);
2119
- }
2120
- }
2121
- };
2122
- const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
2123
- const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
2124
-
2125
- exports.Fragment = Fragment;
2126
- exports.Host = Host;
2127
- exports.bootstrapLazy = bootstrapLazy;
2128
- exports.createEvent = createEvent;
2129
- exports.getAssetPath = getAssetPath;
2130
- exports.getElement = getElement;
2131
- exports.h = h;
2132
- exports.promiseResolve = promiseResolve;
2133
- exports.registerInstance = registerInstance;
2134
- exports.setNonce = setNonce;