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