@saasquatch/mint-components 1.9.0 → 1.9.1-0

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 (292) hide show
  1. package/dist/cjs/{ShadowViewAddon-1e2f6f9b.js → ShadowViewAddon-1d7d274f.js} +6 -6
  2. package/dist/cjs/{global-468407e1.js → global-32cf67e2.js} +2 -2
  3. package/dist/cjs/{index.module-caa31174.js → index.module-0c942e81.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +3 -3
  5. package/dist/cjs/{luxon-a4661470.js → luxon-05098e19.js} +1 -1
  6. package/dist/cjs/mint-components.cjs.js +3 -3
  7. package/dist/cjs/{mockRewardData-8e760564.js → mockRewardData-4258e067.js} +1 -1
  8. package/dist/cjs/{re-render-941b676e.js → re-render-4b9dab91.js} +2 -2
  9. package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
  10. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +8 -8
  11. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +11 -11
  12. package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
  13. package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  15. package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
  16. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +2 -2
  17. package/dist/cjs/sqm-header-logo.cjs.entry.js +1 -1
  18. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +4 -4
  19. package/dist/cjs/{sqm-invoice-table-view-cae2a67d.js → sqm-invoice-table-view-7660f329.js} +1 -1
  20. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +3 -3
  21. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +2 -2
  22. package/dist/cjs/{sqm-navigation-sidebar-item-view-7f79627b.js → sqm-navigation-sidebar-item-view-52d8a6ab.js} +1 -1
  23. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  24. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
  25. package/dist/cjs/sqm-password-field.cjs.entry.js +3 -3
  26. package/dist/cjs/sqm-popup-container.cjs.entry.js +2 -2
  27. package/dist/cjs/{sqm-portal-email-verification-view-8f15bace.js → sqm-portal-email-verification-view-4224f1c3.js} +1 -1
  28. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
  29. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +2 -2
  30. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  31. package/dist/cjs/{sqm-portal-profile-view-851a020f.js → sqm-portal-profile-view-04239bdf.js} +1 -1
  32. package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
  33. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +2 -2
  34. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +3 -3
  35. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
  36. package/dist/cjs/{sqm-portal-verify-email-view-ce552bbc.js → sqm-portal-verify-email-view-7ffcc0d4.js} +4 -2
  37. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +44 -40
  38. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -8
  39. package/dist/cjs/sqm-referred-registration.cjs.entry.js +4 -4
  40. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  41. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +3 -3
  42. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -8
  43. package/dist/cjs/sqm-stencilbook.cjs.entry.js +16 -14
  44. package/dist/cjs/sqm-tab.cjs.entry.js +3 -3
  45. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
  46. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  47. package/dist/cjs/{stencil-hooks.module-faabb426.js → stencil-hooks.module-72742a0b.js} +1 -1
  48. package/dist/cjs/{useChildElements-f1923bc6.js → useChildElements-fbcd8f72.js} +2 -2
  49. package/dist/cjs/{useInstantAccessRegistration-fe258c50.js → useInstantAccessRegistration-988b4965.js} +3 -3
  50. package/dist/cjs/{useReferralTable-7244325a.js → useReferralTable-984e432d.js} +4 -4
  51. package/dist/cjs/{useRegistrationFormState-ad3190c9.js → useRegistrationFormState-70ae0627.js} +2 -2
  52. package/dist/cjs/{utilities-73df97e1.js → utilities-d1a46070.js} +2 -2
  53. package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +2 -2
  54. package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +2 -0
  55. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +4 -2
  56. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +1 -1
  57. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +43 -39
  58. package/dist/esm/{ShadowViewAddon-8fd4f148.js → ShadowViewAddon-b04465af.js} +6 -6
  59. package/dist/esm/{global-938df634.js → global-56126a31.js} +2 -2
  60. package/dist/esm/{index.module-ba0ed7a8.js → index.module-b4a6f095.js} +1 -1
  61. package/dist/esm/loader.js +3 -3
  62. package/dist/esm/{luxon-4706d11b.js → luxon-7600be8d.js} +1 -1
  63. package/dist/esm/mint-components.js +3 -3
  64. package/dist/esm/{mockRewardData-6f03c9fb.js → mockRewardData-0eb6e778.js} +1 -1
  65. package/dist/esm/{re-render-b61a14be.js → re-render-6d9db92d.js} +2 -2
  66. package/dist/esm/sqm-asset-card.entry.js +2 -2
  67. package/dist/esm/sqm-banking-info-form_16.entry.js +8 -8
  68. package/dist/esm/sqm-big-stat_38.entry.js +11 -11
  69. package/dist/esm/sqm-close-button.entry.js +2 -2
  70. package/dist/esm/sqm-context-router.entry.js +2 -2
  71. package/dist/esm/sqm-empty_4.entry.js +1 -1
  72. package/dist/esm/sqm-form-message.entry.js +1 -1
  73. package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
  74. package/dist/esm/sqm-header-logo.entry.js +1 -1
  75. package/dist/esm/sqm-instant-access-registration.entry.js +4 -4
  76. package/dist/esm/{sqm-invoice-table-view-c905071b.js → sqm-invoice-table-view-3707b42c.js} +1 -1
  77. package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
  78. package/dist/esm/sqm-logout-current-user.entry.js +2 -2
  79. package/dist/esm/{sqm-navigation-sidebar-item-view-d3484a50.js → sqm-navigation-sidebar-item-view-fbaec120.js} +1 -1
  80. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  81. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  82. package/dist/esm/sqm-password-field.entry.js +3 -3
  83. package/dist/esm/sqm-popup-container.entry.js +2 -2
  84. package/dist/esm/{sqm-portal-email-verification-view-33b24b91.js → sqm-portal-email-verification-view-973c1e91.js} +1 -1
  85. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  86. package/dist/esm/sqm-portal-forgot-password.entry.js +2 -2
  87. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  88. package/dist/esm/{sqm-portal-profile-view-eeff5fa0.js → sqm-portal-profile-view-0b68e4e5.js} +1 -1
  89. package/dist/esm/sqm-portal-profile.entry.js +5 -5
  90. package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
  91. package/dist/esm/sqm-portal-registration-form.entry.js +3 -3
  92. package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
  93. package/dist/esm/{sqm-portal-verify-email-view-283bf637.js → sqm-portal-verify-email-view-d7ea2c56.js} +4 -2
  94. package/dist/esm/sqm-portal-verify-email.entry.js +44 -40
  95. package/dist/esm/sqm-referral-table_11.entry.js +8 -8
  96. package/dist/esm/sqm-referred-registration.entry.js +4 -4
  97. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  98. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  99. package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
  100. package/dist/esm/sqm-stencilbook.entry.js +16 -14
  101. package/dist/esm/sqm-tab.entry.js +3 -3
  102. package/dist/esm/sqm-tabs.entry.js +4 -4
  103. package/dist/esm/sqm-text-span.entry.js +1 -1
  104. package/dist/esm/{stencil-hooks.module-8032b139.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  105. package/dist/esm/{useChildElements-cd29b2fc.js → useChildElements-ab0424a8.js} +2 -2
  106. package/dist/esm/{useInstantAccessRegistration-0d27c474.js → useInstantAccessRegistration-482dea49.js} +3 -3
  107. package/dist/esm/{useReferralTable-669cae58.js → useReferralTable-1b2f12cd.js} +4 -4
  108. package/dist/esm/{useRegistrationFormState-0e09e2ca.js → useRegistrationFormState-afc73a09.js} +2 -2
  109. package/dist/esm/{utilities-21d8a4df.js → utilities-ffa6a093.js} +2 -2
  110. package/dist/esm-es5/{ShadowViewAddon-8fd4f148.js → ShadowViewAddon-b04465af.js} +1 -1
  111. package/dist/esm-es5/{global-938df634.js → global-56126a31.js} +1 -1
  112. package/dist/esm-es5/{index.module-ba0ed7a8.js → index.module-b4a6f095.js} +1 -1
  113. package/dist/esm-es5/loader.js +1 -1
  114. package/dist/esm-es5/{luxon-4706d11b.js → luxon-7600be8d.js} +1 -1
  115. package/dist/esm-es5/mint-components.js +1 -1
  116. package/dist/esm-es5/{mockRewardData-6f03c9fb.js → mockRewardData-0eb6e778.js} +1 -1
  117. package/dist/esm-es5/{re-render-b61a14be.js → re-render-6d9db92d.js} +1 -1
  118. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  119. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  120. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  121. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  122. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  123. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  124. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  125. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  126. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  127. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  128. package/dist/esm-es5/{sqm-invoice-table-view-c905071b.js → sqm-invoice-table-view-3707b42c.js} +1 -1
  129. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  130. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  131. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-d3484a50.js → sqm-navigation-sidebar-item-view-fbaec120.js} +1 -1
  132. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  133. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  134. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  135. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  136. package/dist/esm-es5/{sqm-portal-email-verification-view-33b24b91.js → sqm-portal-email-verification-view-973c1e91.js} +1 -1
  137. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  138. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  139. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  140. package/dist/esm-es5/{sqm-portal-profile-view-eeff5fa0.js → sqm-portal-profile-view-0b68e4e5.js} +1 -1
  141. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  142. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  143. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  144. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  145. package/dist/esm-es5/sqm-portal-verify-email-view-d7ea2c56.js +1 -0
  146. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  147. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  148. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  149. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  150. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  151. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  152. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  153. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  154. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  155. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  156. package/dist/esm-es5/{stencil-hooks.module-8032b139.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  157. package/dist/esm-es5/{useChildElements-cd29b2fc.js → useChildElements-ab0424a8.js} +1 -1
  158. package/dist/esm-es5/{useInstantAccessRegistration-0d27c474.js → useInstantAccessRegistration-482dea49.js} +1 -1
  159. package/dist/esm-es5/{useReferralTable-669cae58.js → useReferralTable-1b2f12cd.js} +1 -1
  160. package/dist/esm-es5/useRegistrationFormState-afc73a09.js +1 -0
  161. package/dist/esm-es5/{utilities-21d8a4df.js → utilities-ffa6a093.js} +1 -1
  162. package/dist/mint-components/mint-components.esm.js +1 -1
  163. package/dist/mint-components/mint-components.js +1 -1
  164. package/dist/mint-components/{p-02e550bc.system.entry.js → p-0357abfc.system.entry.js} +1 -1
  165. package/dist/mint-components/{p-71c592d4.js → p-0985eff1.js} +1 -1
  166. package/dist/mint-components/p-0a910041.entry.js +1 -0
  167. package/dist/mint-components/{p-59e810e6.system.js → p-104a1a77.system.js} +1 -1
  168. package/dist/mint-components/{p-6868667d.entry.js → p-12b0b5e8.entry.js} +1 -1
  169. package/dist/mint-components/{p-399d6f42.entry.js → p-178d2d2e.entry.js} +1 -1
  170. package/dist/mint-components/{p-df1b9e5b.js → p-251e7567.js} +1 -1
  171. package/dist/mint-components/{p-d5a682bf.system.js → p-2a414b2e.system.js} +1 -1
  172. package/dist/mint-components/p-2c2dfdb3.system.entry.js +1 -0
  173. package/dist/mint-components/p-2f1bc59a.entry.js +1 -0
  174. package/dist/mint-components/{p-4d964945.entry.js → p-339ae6e1.entry.js} +1 -1
  175. package/dist/mint-components/{p-41e2a408.entry.js → p-33c683e0.entry.js} +1 -1
  176. package/dist/mint-components/{p-88eab2f3.system.js → p-344340aa.system.js} +1 -1
  177. package/dist/mint-components/p-35f24af0.system.entry.js +1 -0
  178. package/dist/mint-components/{p-b689baf8.system.js → p-370a1a73.system.js} +1 -1
  179. package/dist/mint-components/{p-13b2638b.entry.js → p-3ba7f54e.entry.js} +2 -2
  180. package/dist/mint-components/p-3ed71bef.system.js +1 -0
  181. package/dist/mint-components/{p-9546c6db.entry.js → p-40599315.entry.js} +1 -1
  182. package/dist/mint-components/{p-da718618.system.entry.js → p-448c1de0.system.entry.js} +1 -1
  183. package/dist/mint-components/{p-b388ad61.system.entry.js → p-454396dd.system.entry.js} +1 -1
  184. package/dist/mint-components/p-472d7d7e.entry.js +1 -0
  185. package/dist/mint-components/{p-d60b15e7.js → p-4869e1d6.js} +1 -1
  186. package/dist/mint-components/{p-9bdccddd.system.entry.js → p-4bcbc469.system.entry.js} +1 -1
  187. package/dist/mint-components/p-52abb8e5.entry.js +1 -0
  188. package/dist/mint-components/{p-4b3fff57.entry.js → p-59bc9a2d.entry.js} +2 -2
  189. package/dist/mint-components/{p-c5429a81.system.js → p-60926595.system.js} +1 -1
  190. package/dist/mint-components/{p-fd51e80e.system.js → p-64815e22.system.js} +1 -1
  191. package/dist/mint-components/{p-921a134c.entry.js → p-64c48ad5.entry.js} +1 -1
  192. package/dist/mint-components/p-683ce644.system.js +1 -0
  193. package/dist/mint-components/{p-8c5a6603.js → p-6a84e37c.js} +1 -1
  194. package/dist/mint-components/{p-5532c083.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-ccb7d32e.system.entry.js → p-6cddd2fc.system.entry.js} +1 -1
  196. package/dist/mint-components/{p-6a6b1966.system.entry.js → p-6d2a23e7.system.entry.js} +1 -1
  197. package/dist/mint-components/{p-44b12b2e.system.js → p-6ffed27b.system.js} +1 -1
  198. package/dist/mint-components/{p-598a1715.entry.js → p-778f4b27.entry.js} +1 -1
  199. package/dist/mint-components/{p-9c9a46cf.entry.js → p-77b22de8.entry.js} +2 -2
  200. package/dist/mint-components/p-78921f0a.system.entry.js +1 -0
  201. package/dist/mint-components/p-7a725b40.js +1 -0
  202. package/dist/mint-components/{p-5e1366ac.system.js → p-84f8dc6c.system.js} +1 -1
  203. package/dist/mint-components/{p-c2f23665.system.js → p-85e31229.system.js} +1 -1
  204. package/dist/mint-components/{p-6d95589e.system.entry.js → p-881b97d3.system.entry.js} +1 -1
  205. package/dist/mint-components/{p-d943d0e8.system.entry.js → p-88aac6a9.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-f3e7bdd4.system.entry.js → p-88c69048.system.entry.js} +1 -1
  207. package/dist/mint-components/{p-11858d60.system.entry.js → p-89d376f3.system.entry.js} +1 -1
  208. package/dist/mint-components/{p-f3be6d20.entry.js → p-90da6dce.entry.js} +1 -1
  209. package/dist/mint-components/{p-cac769d2.entry.js → p-916d5e78.entry.js} +1 -1
  210. package/dist/mint-components/{p-1273b20d.entry.js → p-91cf7cd4.entry.js} +1 -1
  211. package/dist/mint-components/{p-2020caa1.system.js → p-952c0cb6.system.js} +1 -1
  212. package/dist/mint-components/{p-6d0e3263.system.entry.js → p-954cd130.system.entry.js} +1 -1
  213. package/dist/mint-components/{p-5c750437.entry.js → p-959400ac.entry.js} +1 -1
  214. package/dist/mint-components/p-96ab6e6b.js +1 -0
  215. package/dist/mint-components/{p-7dceeaf0.entry.js → p-99bd299b.entry.js} +1 -1
  216. package/dist/mint-components/{p-7cf5c24c.js → p-9bc18724.js} +1 -1
  217. package/dist/mint-components/{p-79bd1db8.system.js → p-9c984615.system.js} +1 -1
  218. package/dist/mint-components/{p-20e29ff1.system.entry.js → p-9d15d169.system.entry.js} +1 -1
  219. package/dist/mint-components/{p-9ae356ae.system.js → p-9e1b0266.system.js} +1 -1
  220. package/dist/mint-components/{p-d8f59e94.system.entry.js → p-9e6c3933.system.entry.js} +1 -1
  221. package/dist/mint-components/{p-d567f968.system.entry.js → p-a262adf8.system.entry.js} +1 -1
  222. package/dist/mint-components/p-a7c8003b.entry.js +1 -0
  223. package/dist/mint-components/{p-70554628.system.entry.js → p-a8c90696.system.entry.js} +1 -1
  224. package/dist/mint-components/{p-957ebdc4.system.entry.js → p-aca4988d.system.entry.js} +1 -1
  225. package/dist/mint-components/{p-ab49b4e4.js → p-ad4bf4fa.js} +1 -1
  226. package/dist/mint-components/{p-571b55b4.js → p-af532d79.js} +1 -1
  227. package/dist/mint-components/p-b0568235.system.entry.js +1 -0
  228. package/dist/mint-components/{p-e5802992.system.entry.js → p-b3b5b4b7.system.entry.js} +1 -1
  229. package/dist/mint-components/{p-b2e34063.system.entry.js → p-b6b8e4f5.system.entry.js} +1 -1
  230. package/dist/mint-components/{p-9a9fc2aa.system.entry.js → p-baa8c445.system.entry.js} +1 -1
  231. package/dist/mint-components/{p-e0f374e2.entry.js → p-bb669aaf.entry.js} +2 -2
  232. package/dist/mint-components/{p-09c7f320.entry.js → p-bd52e601.entry.js} +1 -1
  233. package/dist/mint-components/{p-5b2abce0.system.js → p-bf435047.system.js} +1 -1
  234. package/dist/mint-components/{p-9891a965.entry.js → p-c00bfb48.entry.js} +1 -1
  235. package/dist/mint-components/{p-82f2efa4.entry.js → p-c0e61eab.entry.js} +1 -1
  236. package/dist/mint-components/p-c3e83277.js +1 -0
  237. package/dist/mint-components/{p-abc6cb26.system.js → p-c53a801b.system.js} +1 -1
  238. package/dist/mint-components/p-c8610d0c.js +1 -0
  239. package/dist/mint-components/p-c8878e79.entry.js +1 -0
  240. package/dist/mint-components/p-c8cae3bc.system.js +1 -0
  241. package/dist/mint-components/{p-17cef69b.system.entry.js → p-ccf70291.system.entry.js} +1 -1
  242. package/dist/mint-components/{p-0382167f.entry.js → p-ce72e90a.entry.js} +1 -1
  243. package/dist/mint-components/{p-5e8996cd.system.js → p-ce9e7c98.system.js} +1 -1
  244. package/dist/mint-components/{p-03cfceb5.js → p-d64754c2.js} +1 -1
  245. package/dist/mint-components/{p-214ad777.entry.js → p-d745102d.entry.js} +1 -1
  246. package/dist/mint-components/{p-cefb6938.system.entry.js → p-dc93e1e2.system.entry.js} +1 -1
  247. package/dist/mint-components/{p-4bdfee88.entry.js → p-dd0d79bf.entry.js} +1 -1
  248. package/dist/mint-components/{p-1403b1f1.system.entry.js → p-ddcc5163.system.entry.js} +1 -1
  249. package/dist/mint-components/{p-f40d3edd.js → p-dec50ec2.js} +1 -1
  250. package/dist/mint-components/{p-eb8ed21b.entry.js → p-e01d0da5.entry.js} +1 -1
  251. package/dist/mint-components/{p-67cf72f0.system.entry.js → p-e4c6ebf1.system.entry.js} +1 -1
  252. package/dist/mint-components/p-e680ae37.entry.js +9 -0
  253. package/dist/mint-components/{p-ab174fe6.system.entry.js → p-e8e07d8d.system.entry.js} +1 -1
  254. package/dist/mint-components/p-eff38271.js +1 -0
  255. package/dist/mint-components/{p-9fe25b2d.system.entry.js → p-f0806232.system.entry.js} +1 -1
  256. package/dist/mint-components/{p-04cb0dbf.system.entry.js → p-f1d51cb2.system.entry.js} +1 -1
  257. package/dist/mint-components/{p-65106298.js → p-f3053c61.js} +1 -1
  258. package/dist/mint-components/p-f6735430.entry.js +1 -0
  259. package/dist/mint-components/{p-26192c42.system.entry.js → p-fa9efe00.system.entry.js} +1 -1
  260. package/dist/mint-components/{p-a61430ad.system.entry.js → p-fb1c30c3.system.entry.js} +1 -1
  261. package/dist/mint-components/{p-8d6eda67.entry.js → p-fbdf0738.entry.js} +1 -1
  262. package/dist/mint-components/{p-2446212d.js → p-fd2c5407.js} +1 -1
  263. package/dist/mint-components/{p-80266bc5.js → p-fd3ab606.js} +2 -2
  264. package/dist/mint-components/{p-ebbcc7c5.entry.js → p-fe451a32.entry.js} +1 -1
  265. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email-view.d.ts +1 -0
  266. package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +2 -0
  267. package/docs/docs.docx +0 -0
  268. package/package.json +5 -4
  269. package/dist/esm-es5/sqm-portal-verify-email-view-283bf637.js +0 -1
  270. package/dist/esm-es5/useRegistrationFormState-0e09e2ca.js +0 -1
  271. package/dist/mint-components/p-023145f0.entry.js +0 -1
  272. package/dist/mint-components/p-1fe0ea89.entry.js +0 -1
  273. package/dist/mint-components/p-3652236f.system.entry.js +0 -1
  274. package/dist/mint-components/p-3e096e73.entry.js +0 -1
  275. package/dist/mint-components/p-44c46a30.system.entry.js +0 -1
  276. package/dist/mint-components/p-4a3a0014.entry.js +0 -9
  277. package/dist/mint-components/p-4ca22e1b.js +0 -1
  278. package/dist/mint-components/p-4d9744bf.js +0 -1
  279. package/dist/mint-components/p-6a626a88.system.js +0 -1
  280. package/dist/mint-components/p-74872e41.entry.js +0 -1
  281. package/dist/mint-components/p-90188bc1.entry.js +0 -1
  282. package/dist/mint-components/p-9149f891.entry.js +0 -1
  283. package/dist/mint-components/p-9cb1ab69.system.js +0 -1
  284. package/dist/mint-components/p-b4984452.js +0 -1
  285. package/dist/mint-components/p-c3a388cd.js +0 -1
  286. package/dist/mint-components/p-cd96e792.entry.js +0 -1
  287. package/dist/mint-components/p-d1c7aed7.js +0 -1
  288. package/dist/mint-components/p-d4b174e1.system.js +0 -1
  289. package/dist/mint-components/p-e1253472.system.entry.js +0 -1
  290. package/dist/mint-components/p-e98b8f9a.system.entry.js +0 -1
  291. package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
  292. package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
@@ -3,32 +3,32 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
- const index_module = require('./index.module-caa31174.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ const index_module = require('./index.module-0c942e81.js');
8
8
  const cjs = require('./cjs-1066ec21.js');
9
9
  require('./mixins-fe9d4112.js');
10
10
  require('./JSS-8503a151.js');
11
11
  const utils = require('./utils-6847bc06.js');
12
12
  require('./sqm-text-span-view-e1cd9bd3.js');
13
- const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-ce552bbc.js');
13
+ const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7ffcc0d4.js');
14
14
 
15
- const SUBMITTED_CONTEXT = "sq:verify-submitted";
16
- function setSubmitted(submitted) {
17
- // using window due to dom-context getting reset on re-render
18
- window[SUBMITTED_CONTEXT] = submitted;
19
- }
15
+ let globalPromise = null;
20
16
  function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyEmailText, verifyInvalidText, networkErrorMessage, continueText, }) {
21
- var _a, _b, _c, _d, _e, _f, _g, _h;
22
- const submitted = window[SUBMITTED_CONTEXT];
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
18
+ const [completed, setCompleted] = stencilHooks_module.useState(false);
19
+ const [successful, setSuccessful] = stencilHooks_module.useState(false);
23
20
  const userIdent = index_module.Q();
24
21
  const [request, { loading, data, errors }] = index_module.an();
25
22
  const urlParams = new URLSearchParams(index_module.$n.location.search);
26
23
  const oobCode = urlParams.get("oobCode");
24
+ const oobEmail = urlParams.get("email");
27
25
  const nextPageOverride = urlParams.get("nextPage");
28
26
  // derived from useMutation in component boilerplate initialState
29
27
  const disableContinue = data === undefined && errors === undefined && !!oobCode;
30
28
  // if logged out, userIdent?.managedIdentity?.emailVerified will be falsey, even if verification was successful
31
- const verified = !!(((_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) || (data === null || data === void 0 ? void 0 : data.verifyManagedIdentityEmail.success));
29
+ const verified = !!(((_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) || ((_b = data === null || data === void 0 ? void 0 : data.verifyManagedIdentityEmail) === null || _b === void 0 ? void 0 : _b.success) ||
30
+ successful);
31
+ const validEmail = ((_c = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _c === void 0 ? void 0 : _c.email) === oobEmail;
32
32
  const failed = () => {
33
33
  return index_module.$n.push({
34
34
  pathname: failedPage,
@@ -40,40 +40,44 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
40
40
  const url = utils.sanitizeUrlPath(nextPageOverride || nextPage);
41
41
  index_module.$n.push(url.href);
42
42
  };
43
- const submit = async () => {
44
- var _a;
45
- setSubmitted(true);
46
- if (oobCode) {
47
- const result = await request({ oobCode });
48
- if ((result instanceof Error ||
49
- !result.verifyManagedIdentityEmail.success) &&
50
- !((_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified)) {
51
- // pause on error if logged out/unverified
52
- return;
53
- }
54
- setTimeout(() => {
55
- gotoNextPage();
56
- setSubmitted(false);
57
- }, 3000);
58
- }
43
+ const logout = () => {
44
+ setTimeout(() => {
45
+ index_module.setUserIdentity(undefined);
46
+ gotoNextPage();
47
+ }, 3000);
48
+ };
49
+ const login = () => {
50
+ setTimeout(gotoNextPage, 3000);
59
51
  };
60
52
  stencilHooks_module.useEffect(() => {
61
- // Already verified, begin redirect
62
- if (verified) {
63
- setTimeout(() => {
64
- gotoNextPage();
65
- setSubmitted(false);
66
- }, 3000);
53
+ const verify = async () => {
54
+ if (!globalPromise)
55
+ globalPromise = request({ oobCode });
56
+ const result = await globalPromise;
57
+ if (!(result instanceof Error) &&
58
+ result.verifyManagedIdentityEmail.success) {
59
+ // Needs to be explicitly updated if multiple renders have occured
60
+ setSuccessful(true);
61
+ }
62
+ setCompleted(true);
63
+ };
64
+ verify();
65
+ }, []);
66
+ stencilHooks_module.useEffect(() => {
67
+ if (!completed)
67
68
  return;
68
- }
69
- if (userIdent && !data && !submitted)
70
- submit();
71
- }, [verified, submitted, data, userIdent, submitted]);
69
+ if (verified && validEmail)
70
+ login();
71
+ else
72
+ logout();
73
+ }, [completed, verified]);
72
74
  return {
73
75
  states: {
74
- loading: loading || disableContinue,
75
- error: ((_e = (_d = (_c = (_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.extensions) === null || _e === void 0 ? void 0 : _e.message) || ((_h = (_g = (_f = errors === null || errors === void 0 ? void 0 : errors.response) === null || _f === void 0 ? void 0 : _f.errors) === null || _g === void 0 ? void 0 : _g[0]) === null || _h === void 0 ? void 0 : _h.message) ||
76
- ((errors === null || errors === void 0 ? void 0 : errors.message) && networkErrorMessage),
76
+ loading: loading || !completed,
77
+ disableContinue,
78
+ error: ((_g = (_f = (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.response) === null || _d === void 0 ? void 0 : _d.errors) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.extensions) === null || _g === void 0 ? void 0 : _g.message) || ((_k = (_j = (_h = errors === null || errors === void 0 ? void 0 : errors.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.message) ||
79
+ (((errors === null || errors === void 0 ? void 0 : errors.message) || !validEmail) && networkErrorMessage),
80
+ success: completed && (verified || validEmail),
77
81
  verified,
78
82
  },
79
83
  data: {
@@ -3,18 +3,18 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
- const global = require('./global-468407e1.js');
8
- const index_module = require('./index.module-caa31174.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ const global = require('./global-32cf67e2.js');
8
+ const index_module = require('./index.module-0c942e81.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  require('./mixins-fe9d4112.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
12
  const GenericTableView = require('./GenericTableView-80d7642e.js');
13
- const reRender = require('./re-render-941b676e.js');
14
- const useChildElements = require('./useChildElements-f1923bc6.js');
15
- const luxon = require('./luxon-a4661470.js');
16
- const mockRewardData = require('./mockRewardData-8e760564.js');
17
- const useReferralTable = require('./useReferralTable-7244325a.js');
13
+ const reRender = require('./re-render-4b9dab91.js');
14
+ const useChildElements = require('./useChildElements-fbcd8f72.js');
15
+ const luxon = require('./luxon-05098e19.js');
16
+ const mockRewardData = require('./mockRewardData-4258e067.js');
17
+ const useReferralTable = require('./useReferralTable-984e432d.js');
18
18
  const utils = require('./utils-6847bc06.js');
19
19
  const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
20
20
 
@@ -3,15 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
- const index_module = require('./index.module-caa31174.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ const index_module = require('./index.module-0c942e81.js');
8
8
  require('./jsonpointer-11327262.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  require('./mixins-fe9d4112.js');
11
11
  require('./JSS-8503a151.js');
12
12
  const emailRegistrationView = require('./email-registration-view-5170d9f1.js');
13
- require('./useRegistrationFormState-ad3190c9.js');
14
- const useInstantAccessRegistration = require('./useInstantAccessRegistration-fe258c50.js');
13
+ require('./useRegistrationFormState-70ae0627.js');
14
+ const useInstantAccessRegistration = require('./useInstantAccessRegistration-988b4965.js');
15
15
 
16
16
  const ReferredRegistration = class {
17
17
  constructor(hostRef) {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
7
  require('./JSS-8503a151.js');
8
8
  const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
9
9
 
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
- require('./index.module-caa31174.js');
8
- const reRender = require('./re-render-941b676e.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ require('./index.module-0c942e81.js');
8
+ const reRender = require('./re-render-4b9dab91.js');
9
9
 
10
10
  const RewardTableCustomerNoteColumn = class {
11
11
  constructor(hostRef) {
@@ -3,18 +3,18 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
- const global = require('./global-468407e1.js');
8
- const index_module = require('./index.module-caa31174.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ const global = require('./global-32cf67e2.js');
8
+ const index_module = require('./index.module-0c942e81.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  require('./mixins-fe9d4112.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
12
  const GenericTableView = require('./GenericTableView-80d7642e.js');
13
- const reRender = require('./re-render-941b676e.js');
14
- const useChildElements = require('./useChildElements-f1923bc6.js');
15
- const luxon = require('./luxon-a4661470.js');
16
- const mockRewardData = require('./mockRewardData-8e760564.js');
17
- const useReferralTable = require('./useReferralTable-7244325a.js');
13
+ const reRender = require('./re-render-4b9dab91.js');
14
+ const useChildElements = require('./useChildElements-fbcd8f72.js');
15
+ const luxon = require('./luxon-05098e19.js');
16
+ const mockRewardData = require('./mockRewardData-4258e067.js');
17
+ const useReferralTable = require('./useReferralTable-984e432d.js');
18
18
  const utils = require('./utils-6847bc06.js');
19
19
 
20
20
  const debug = stencilHooks_module.browser("sq:useRewardsTable");
@@ -3,15 +3,15 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
- require('./global-468407e1.js');
8
- const index_module = require('./index.module-caa31174.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ require('./global-32cf67e2.js');
8
+ const index_module = require('./index.module-0c942e81.js');
9
9
  require('./cjs-1066ec21.js');
10
10
  require('./mixins-fe9d4112.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
12
  const GenericTableView = require('./GenericTableView-80d7642e.js');
13
- require('./useChildElements-f1923bc6.js');
14
- const luxon = require('./luxon-a4661470.js');
13
+ require('./useChildElements-fbcd8f72.js');
14
+ const luxon = require('./luxon-05098e19.js');
15
15
  require('./utils-6847bc06.js');
16
16
  require('./sqm-text-span-view-e1cd9bd3.js');
17
17
  const sqmAssetCardView = require('./sqm-asset-card-view-a0e33f21.js');
@@ -21,16 +21,16 @@ const emailRegistrationView = require('./email-registration-view-5170d9f1.js');
21
21
  const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-5a3d4a88.js');
22
22
  const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-c9f18d96.js');
23
23
  const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-dd53f947.js');
24
- const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-7f79627b.js');
25
- const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-8f15bace.js');
24
+ const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-52d8a6ab.js');
25
+ const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-4224f1c3.js');
26
26
  const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-969c49ed.js');
27
- const sqmPortalProfileView = require('./sqm-portal-profile-view-851a020f.js');
28
- require('./utilities-73df97e1.js');
27
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-04239bdf.js');
28
+ require('./utilities-d1a46070.js');
29
29
  const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-96f329ed.js');
30
- const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-ce552bbc.js');
31
- const ShadowViewAddon = require('./ShadowViewAddon-1e2f6f9b.js');
30
+ const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-7ffcc0d4.js');
31
+ const ShadowViewAddon = require('./ShadowViewAddon-1d7d274f.js');
32
32
  const sqmPortalContainerView = require('./sqm-portal-container-view-5fb2ad49.js');
33
- const sqmInvoiceTableView = require('./sqm-invoice-table-view-cae2a67d.js');
33
+ const sqmInvoiceTableView = require('./sqm-invoice-table-view-7660f329.js');
34
34
 
35
35
  /**
36
36
  * lodash (Custom Build) <https://lodash.com/>
@@ -7605,7 +7605,7 @@ const PortalResetPassword = /*#__PURE__*/Object.freeze({
7605
7605
  CodeValidating: CodeValidating
7606
7606
  });
7607
7607
 
7608
- const scenario$9 = "@author:derek\n@owner:ian\nFeature: Verify Email\n\n Background: A user is on the email verification page\n Given a user who has been redirected to the email verification page\n\n @motivating\n Scenario: Verifying your email takes you to the portal login page\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email is validated\n Then a button that says \"Continue\" appears\n When they click \"Continue\"\n Then they are redirected to login\n\n @motivating\n Scenario: Users are automatically redirected if they dont click \"Continue\"\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email is validated\n Then a button that says \"Continue\" appears\n When they wait 5 seconds\n Then they are redirected to login\n\n @motivating\n Scenario: Users are notified if verifying their email has failed\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email fails to be validated\n Then an banner is shown stating that an error occured\n\n @motivating\n Scenario Outline: Users cannot verify their email with an invalid or missing oob code\n Given a user has a <oobCode> as a url query parameter\n And the component <mayHave> \"failed-page\" with <value>\n Then they see an error message saying that their verification code is invalid/expired\n When they click \"Continue\"\n Then they are redirected to <redirectPath>\n Examples:\n | oobCode | mayHave | value | redirectPath |\n | invalid oob code | doesn't have | N/A | / |\n | non existant oob code | doesn't have | N/A | / |\n | invalid oob code | has | /login | /login |\n | non existant oob code | has | /login | /login |\n\n @motivating\n Scenario: Users are redirected to \"/\" by default\n Given the component does not have prop \"nextPage\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has verified their email\n When they click \"Continue\"\n Then they are redirected to \"/\"\n\n @motivating\n Scenario: Custom redirection can be configured\n Given the component has prop \"nextPage\" with value \"/activity\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has verified their email\n When they click \"Continue\"\n Then they are redirected to \"/activity\"\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter if it exists\n Given the component <mayHave> prop \"nextPage\" with <nextPageValue>\n And the users url contains a \"nextPage\" query paramater with <nextPageParamValue>\n And the user has verified their email\n When they click \"Continue\"\n Then they are redirected to <nextPageParamValue>\n Examples:\n | mayHave | nextPageValue | nextPageParamValue |\n | has | /dashboard | /activity |\n | does not have | N/A | /activity |\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter as if it were a relative path\n Given the component is loaded at <currentUrl>\n And the user has verified their email\n When they click \"Continue\"\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://www.example.com?nextPage=./activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=/activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=www.google.com | https://www.example.com/www.google.com |\n | https://www.example.com?nextPage=//foo.com | https://www.example.com/ |\n | https://www.example.com?nextPage=https://malicious.example.com | https://www.example.com/ |\n | http://www.example.com/nest/page?oob=123&other&nextPage=activity#heading-1 | http://www.example.com/activity |\n | https://www.example.com?nextPage=activity?foo=bar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar#hash | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar%23hash | https://www.example.com/activity?foo=bar#hash |\n | https://www.example.com:1337?nextPage=activity | https://www.example.com:1337/activity |\n | http://1.1.1.1:1111?nextPage=activity | http://1.1.1.1:1111/activity |\n\n @landmine\n Scenario Outline: Username and password are not persisted on redirects\n Given the component is loaded at <currentUrl>\n And the user has verified their email\n When they click \"Continue\"\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://user:pass@www.example.com:444?nextPage=activity | https://www.example.com:444/activity |";
7608
+ const scenario$9 = "@author:derek\n@owner:ian\nFeature: Verify Email\n\n Background: A user is on the email verification page\n Given a user who has been redirected to the email verification page\n\n @motivating\n Scenario: Verifying your email takes you to the portal login page\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email is validated\n Then a button that says \"Continue\" appears\n When they click \"Continue\"\n Then they are redirected to login\n\n @motivating\n Scenario: Users are automatically redirected if they dont click \"Continue\"\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email is validated\n Then a button that says \"Continue\" appears\n When they wait 5 seconds\n Then they are redirected to login\n\n @motivating\n Scenario: Users are notified if verifying their email has failed\n Given a user has a valid oob code as a url query parameter\n When they click \"Verify Email\"\n Then the button enters a loading state\n When their email fails to be validated\n Then an banner is shown stating that an error occured\n\n @motivating\n Scenario Outline: Users cannot verify their email with an invalid or missing oob code\n Given a user has a <oobCode> as a url query parameter\n And the component <mayHave> \"failed-page\" with <value>\n Then they see an error message saying that their verification code is invalid/expired\n When they click \"Continue\"\n Then they are redirected to <redirectPath>\n Examples:\n | oobCode | mayHave | value | redirectPath |\n | invalid oob code | doesn't have | N/A | / |\n | non existant oob code | doesn't have | N/A | / |\n | invalid oob code | has | /login | /login |\n | non existant oob code | has | /login | /login |\n\n @motivating\n Scenario: Users are redirected to \"/\" by default\n Given the component does not have prop \"nextPage\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has verified their email\n When they click \"Continue\"\n Then they are redirected to \"/\"\n\n @motivating\n Scenario: Custom redirection can be configured\n Given the component has prop \"nextPage\" with value \"/activity\"\n And the users url does not contain a \"nextPage\" query parameter\n And a user has verified their email\n When they click \"Continue\"\n Then they are redirected to \"/activity\"\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter if it exists\n Given the component <mayHave> prop \"nextPage\" with <nextPageValue>\n And the users url contains a \"nextPage\" query paramater with <nextPageParamValue>\n And the user has verified their email\n When they click \"Continue\"\n Then they are redirected to <nextPageParamValue>\n Examples:\n | mayHave | nextPageValue | nextPageParamValue |\n | has | /dashboard | /activity |\n | does not have | N/A | /activity |\n\n @motivating\n Scenario Outline: Users are redirected to the value of the nextPage url parameter as if it were a relative path\n Given the component is loaded at <currentUrl>\n And the user has verified their email\n When they click \"Continue\"\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://www.example.com?nextPage=./activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=/activity | https://www.example.com/activity |\n | https://www.example.com?nextPage=www.google.com | https://www.example.com/www.google.com |\n | https://www.example.com?nextPage=//foo.com | https://www.example.com/ |\n | https://www.example.com?nextPage=https://malicious.example.com | https://www.example.com/ |\n | http://www.example.com/nest/page?oob=123&other&nextPage=activity#heading-1 | http://www.example.com/activity |\n | https://www.example.com?nextPage=activity?foo=bar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar#hash | https://www.example.com/activity?foo=bar |\n | https://www.example.com?nextPage=%2Factivity%3Ffoo%3Dbar%23hash | https://www.example.com/activity?foo=bar#hash |\n | https://www.example.com:1337?nextPage=activity | https://www.example.com:1337/activity |\n | http://1.1.1.1:1111?nextPage=activity | http://1.1.1.1:1111/activity |\n\n @landmine\n Scenario Outline: Username and password are not persisted on redirects\n Given the component is loaded at <currentUrl>\n And the user has verified their email\n When they click \"Continue\"\n And they are redirected to <url>\n Examples:\n | currentUrl | url |\n | https://user:pass@www.example.com:444?nextPage=activity | https://www.example.com:444/activity |\n\n\n @minutia\n Scenario Outline: Users may be logged in or logged out depending on the verified status and logged in email\n Given an oobCode with email <oobCodeEmail> as a url query parameter\n And the user is logged in as <loggedInEmail>\n And the logged in user <isVerified>\n When the oobCode is submitted\n And the oobCode <isValid>\n Then the <submitState> screen is shown\n And after 3 seconds pass\n Then the user is redirected to <redirect>\n Examples:\n | oobCodeEmail | loggedInEmail | isVerified | isValid | submitState | redirect |\n | user1@example.com | N/A | false | is valid | success | /login |\n | user1@example.com | N/A | false | is not valid | error | /login |\n | user1@example.com | user1@example.com | false | is valid | success | /activity |\n | user1@example.com | user1@example.com | false | is not valid | error | N/A |\n | user1@example.com | user2@example.com | false | is valid | success | /login |\n | user1@example.com | user2@example.com | false | is not valid | error | /login |\n | user1@example.com | user1@example.com | true | is valid | success | /activity |\n | user1@example.com | user1@example.com | true | is not valid | success | /activity |\n | user1@example.com | user2@example.com | true | is not valid | error | /login |\n | N/A | N/A | false | is not valid | error | N/A |\n";
7609
7609
 
7610
7610
  const PortalVerifyEmail_stories = {
7611
7611
  title: "Components/Microsite Verify Email",
@@ -7618,6 +7618,7 @@ const errorProps$5 = {
7618
7618
  error: "Something went wrong. Please try again.",
7619
7619
  loading: false,
7620
7620
  verified: false,
7621
+ success: false,
7621
7622
  },
7622
7623
  data: {
7623
7624
  oobCode: "abc123",
@@ -7637,6 +7638,7 @@ const verifiedProps = {
7637
7638
  error: "",
7638
7639
  loading: false,
7639
7640
  verified: true,
7641
+ success: true,
7640
7642
  },
7641
7643
  data: {
7642
7644
  oobCode: "abc123",
@@ -9955,7 +9957,7 @@ const ResetPasswordReadme = "# sqm-portal-reset-password\n\n\n\n<!-- Auto Genera
9955
9957
 
9956
9958
  const EmailVerificationReadme = "# sqm-portal-email-verification\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| ---------------------------- | ------------------------------ | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; isVerified?: boolean; loadingVerification?: boolean; countdown?: number; }; content?: { email: string; verifyMessage: string; emailVerificationHeader: string; resendEmailButtonText: string; verificationStatusMessage?: string; verificationLoadingMessage?: string; verificationResentMessage?: string; }; }` | `undefined` |\n| `emailVerificationHeader` | `email-verification-header` | | `string` | `\"Verify your email\"` |\n| `networkErrorMessage` | `network-error-message` | | `string` | `\"An error occurred while verifying your password. Please refresh the page.\"` |\n| `redirectPath` | `redirect-path` | Redirect participants to this page from their verification email. | `string` | `\"/verifyEmail\"` |\n| `resendEmailButtonText` | `resend-email-button-text` | | `string` | `\"Re-send Email\"` |\n| `verificationLoadingMessage` | `verification-loading-message` | | `string` | `\"Checking verification status\"` |\n| `verificationResentMessage` | `verification-resent-message` | | `string` | `\"Your verification email has been resent successfully\"` |\n| `verificationStatusMessage` | `verification-status-message` | | `string` | `\"Checking verification status in {countdown}\"` |\n| `verifyMessage` | `verify-message` | | `string` | `\"A verification email was sent to {email}. Please verify your email to continue to the portal. Resending an email will invalidate the previous email.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-email-verification --> sqm-form-message\n style sqm-portal-email-verification fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9957
9959
 
9958
- const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------- | ----------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |\n| `continueText` | `continue-text` | | `string` | `\"Continue\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; content?: { verifySuccessText?: string; verifyEmailText?: string; verifyInvalidText?: string; continueText?: string; }; }` | `undefined` |\n| `failedPage` | `failed-page` | Redirect participants to this page if verification fails due to an outdated verification attempt. | `string` | `\"/\"` |\n| `networkErrorMessage` | `network-error-message` | | `string` | `\"An error occurred while verifying your email. Please refresh the page and try again.\"` |\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully verify their email. | `string` | `\"/\"` |\n| `verifyEmailText` | `verify-email-text` | | `string` | `\"Verify your email\"` |\n| `verifyInvalidText` | `verify-invalid-text` | | `string` | `\"The email verification code is invalid or has expired, please try again.\"` |\n| `verifySuccessText` | `verify-success-text` | | `string` | `\"Your email has been verified and you are being redirected. If you are not redirected, please click Continue.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-verify-email --> sqm-form-message\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9960
+ const EmailVerifiedReadme = "# sqm-portal-verify-email\n\n\n\n<!-- Auto Generated Below -->\n\n\n## Properties\n\n| Property | Attribute | Description | Type | Default |\n| --------------------- | ----------------------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |\n| `continueText` | `continue-text` | | `string` | `\"Continue\"` |\n| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; verified: boolean; }; data?: { oobCode: string; }; content?: { verifySuccessText?: string; verifyEmailText?: string; verifyInvalidText?: string; continueText?: string; }; }` | `undefined` |\n| `failedPage` | `failed-page` | Redirect participants to this page if verification fails due to an outdated verification attempt. | `string` | `\"/\"` |\n| `networkErrorMessage` | `network-error-message` | | `string` | `\"An error occurred while verifying your email. Please refresh the page and try again.\"` |\n| `nextPage` | `next-page` | Redirect participants to this page when they successfully verify their email. | `string` | `\"/\"` |\n| `verifyEmailText` | `verify-email-text` | | `string` | `\"Verify your email\"` |\n| `verifyInvalidText` | `verify-invalid-text` | | `string` | `\"The email verification code is invalid or has expired, please try again.\"` |\n| `verifySuccessText` | `verify-success-text` | | `string` | `\"Your email has been verified and you are being redirected. If you are not redirected, please click Continue.\"` |\n\n\n## Dependencies\n\n### Depends on\n\n- [sqm-form-message](../sqm-form-message)\n\n### Graph\n```mermaid\ngraph TD;\n sqm-portal-verify-email --> sqm-form-message\n style sqm-portal-verify-email fill:#f9f,stroke:#333,stroke-width:4px\n```\n\n----------------------------------------------\n\n*Built with [StencilJS](https://stenciljs.com/)*\n";
9959
9961
 
9960
9962
  const PortalTemplates_stories = {
9961
9963
  title: "Templates / Microsite",
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
- require('./index.module-caa31174.js');
8
- const reRender = require('./re-render-941b676e.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ require('./index.module-0c942e81.js');
8
+ const reRender = require('./re-render-4b9dab91.js');
9
9
 
10
10
  const TabView = ({}, children) => {
11
11
  return index.h(index.Host, null, children);
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
7
- const index_module = require('./index.module-caa31174.js');
8
- const reRender = require('./re-render-941b676e.js');
9
- const useChildElements = require('./useChildElements-f1923bc6.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
+ const index_module = require('./index.module-0c942e81.js');
8
+ const reRender = require('./re-render-4b9dab91.js');
9
+ const useChildElements = require('./useChildElements-fbcd8f72.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
 
12
12
  const TabsView = ({ content, placement, }) => {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-b0129cd6.js');
6
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
7
7
  require('./JSS-8503a151.js');
8
8
  const sqmTextSpanView = require('./sqm-text-span-view-e1cd9bd3.js');
9
9
 
@@ -1107,7 +1107,7 @@ formatters.j = function (v) {
1107
1107
  };
1108
1108
  });
1109
1109
 
1110
- function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}function n(n,e,i){return e&&t(n.prototype,e),i&&t(n,i),n}var s$1=function(){function t(t){var n=this,e=this;this._status="Initial",this.onChange=function(t){e.options.onChange&&e.options.onChange(t);},this.onConnect=function(t){try{return n.status="Connected",n.options.onChange&&n.options.onChange(t),Promise.resolve(new Promise(function(t){n.resolvePromise=t;}))}catch(t){return Promise.reject(t)}},this.onDisconnect=function(){e.status="Connecting",e.start();},this.options=t;}var e=t.prototype;return e.start=function(){var t=this,n=0;this.status="Connecting";var e=function(){return t.status},i=a(this.options.attempts)||10,o=function(){if("Connected"!==e()){var o=new CustomEvent(t.options.contextName,{bubbles:!0,cancelable:!0,composed:!0,detail:{onConnect:t.onConnect,onChange:t.onChange,onDisconnect:t.onDisconnect}});a(t.options.element).dispatchEvent(o),"Connected"!==e()?++n>=i&&(t._interval&&clearInterval(t._interval),t.status="Timeout"):"Connected"===e()&&t._interval&&clearInterval(t._interval);}};return (a(this.options.pollingMs)||100)>0&&i>1&&(this._interval=setInterval(o,a(this.options.pollingMs)||100)),o(),this},e.stop=function(){return this._interval&&clearInterval(this._interval),this.resolvePromise&&this.resolvePromise(),this.status="Initial",this},n(t,[{key:"status",set:function(t){this._status=t,this.options.onStatus&&this.options.onStatus(t);},get:function(){return this._status}}]),t}(),c=function(){function t(t){var n=this;this.__listeners=[],this.connectListener=function(t){try{t.stopPropagation(),n.__listeners=[].concat(n.__listeners,[t.detail]);var e=function(e,i){try{var o=Promise.resolve(t.detail.onConnect(n.__current)).then(function(){});}catch(t){return i(!0,t)}return o&&o.then?o.then(i.bind(null,!1),i.bind(null,!0)):i(!1,o)}(0,function(e,i){var o,r;if(n.__listeners=(r=(o=n.__listeners).indexOf(t.detail),o.slice(0,r).concat(o.slice(r+1,o.length))),e)throw i;return i});return Promise.resolve(e&&e.then?e.then(function(){}):void 0)}catch(t){return Promise.reject(t)}},this.options=t,this.__current=a(t.initialState);}var e=t.prototype;return e.start=function(){return a(this.options.element).addEventListener(this.options.contextName,this.connectListener),this},e.stop=function(){return a(this.options.element).removeEventListener(this.options.contextName,this.connectListener),this.__listeners.map(function(t){t.onDisconnect();}),this.__listeners=[],this},n(t,[{key:"context",set:function(t){this.__current=t,this.__listeners.forEach(function(n){return n.onChange(t)});},get:function(){return a(this.__current)}},{key:"listeners",get:function(){return Object.freeze([].concat(this.__listeners))}}]),t}();function a(t){return "function"==typeof typeof t?t():t}
1110
+ function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}function n(n,e,i){return e&&t(n.prototype,e),i&&t(n,i),n}var s$1=function(){function t(t){var n=this,e=this;this._status="Initial",this.onChange=function(t,n){e.options.onChange&&e.options.onChange(t,n);},this.onConnect=function(t){try{return n.status="Connected",n.options.onChange&&n.options.onChange(t,t),Promise.resolve(new Promise(function(t){n.resolvePromise=t;}))}catch(t){return Promise.reject(t)}},this.onDisconnect=function(){e.status="Connecting",e.start();},this.options=t;}var e=t.prototype;return e.start=function(){var t=this,n=0;this.status="Connecting";var e=function(){return t.status},i=a(this.options.attempts)||10,o=function(){if("Connected"!==e()){var o=new CustomEvent(t.options.contextName,{bubbles:!0,cancelable:!0,composed:!0,detail:{onConnect:t.onConnect,onChange:t.onChange,onDisconnect:t.onDisconnect}});a(t.options.element).dispatchEvent(o),"Connected"!==e()?++n>=i&&(t._interval&&clearInterval(t._interval),t.status="Timeout"):"Connected"===e()&&t._interval&&clearInterval(t._interval);}};return (a(this.options.pollingMs)||100)>0&&i>1&&(this._interval=setInterval(o,a(this.options.pollingMs)||100)),o(),this},e.stop=function(){return this._interval&&clearInterval(this._interval),this.resolvePromise&&this.resolvePromise(),this.status="Initial",this},n(t,[{key:"status",set:function(t){this._status=t,this.options.onStatus&&this.options.onStatus(t);},get:function(){return this._status}}]),t}(),c=function(){function t(t){var n=this;this.__listeners=[],this.connectListener=function(t){try{t.stopPropagation(),n.__listeners=[].concat(n.__listeners,[t.detail]);var e=function(e,i){try{var o=Promise.resolve(t.detail.onConnect(n.__current)).then(function(){});}catch(t){return i(!0,t)}return o&&o.then?o.then(i.bind(null,!1),i.bind(null,!0)):i(!1,o)}(0,function(e,i){var o,r;if(n.__listeners=(r=(o=n.__listeners).indexOf(t.detail),o.slice(0,r).concat(o.slice(r+1,o.length))),e)throw i;return i});return Promise.resolve(e&&e.then?e.then(function(){}):void 0)}catch(t){return Promise.reject(t)}},this.options=t,this.__current=a(t.initialState);}var e=t.prototype;return e.start=function(){return a(this.options.element).addEventListener(this.options.contextName,this.connectListener),this},e.stop=function(){return a(this.options.element).removeEventListener(this.options.contextName,this.connectListener),this.__listeners.map(function(t){t.onDisconnect();}),this.__listeners=[],this},n(t,[{key:"context",set:function(t){var n=this.__current;this.__current=t,this.__listeners.forEach(function(e){return e.onChange(t,n)});},get:function(){return a(this.__current)}},{key:"listeners",get:function(){return Object.freeze([].concat(this.__listeners))}}]),t}();function a(t){return "function"==typeof typeof t?t():t}
1111
1111
 
1112
1112
  function c$1(){return (c$1=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e}).apply(this,arguments)}var u=1e3,C=60*u,l=60*C,d$1=24*l,f=function(e,t){t=t||{};var n=typeof e;if("string"===n&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return n*d$1;case"hours":case"hour":case"hrs":case"hr":case"h":return n*l;case"minutes":case"minute":case"mins":case"min":case"m":return n*C;case"seconds":case"second":case"secs":case"sec":case"s":return n*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===n&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=d$1?g(e,t,d$1,"day"):t>=l?g(e,t,l,"hour"):t>=C?g(e,t,C,"minute"):t>=u?g(e,t,u,"second"):e+" ms"}(e):function(e){var t=Math.abs(e);return t>=d$1?Math.round(e/d$1)+"d":t>=l?Math.round(e/l)+"h":t>=C?Math.round(e/C)+"m":t>=u?Math.round(e/u)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function g(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}var p,m$1=(function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(o=r));}),t.splice(o,0,n);},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug");}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug");}catch(e){}return !e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return !("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return ()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=function(e){function t(e){let r,o=null;function s(...e){if(!s.enabled)return;const n=s,o=Number(new Date);n.diff=o-(r||o),n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,o)=>{if("%%"===r)return "%";a++;const s=t.formatters[o];return "function"==typeof s&&(r=s.call(n,e[a]),e.splice(a,1),a--),r}),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e);}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null===o?t.enabled(e):o,set:e=>{o=e;}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(r),...t.skips.map(r).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));},t.enabled=function(e){if("*"===e[e.length-1])return !0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return !1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return !0;return !1},t.humanize=f,t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");},Object.keys(e).forEach(n=>{t[n]=e[n];}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return "[UnexpectedJSONParseError]: "+e.message}};}(p={exports:{}},p.exports),p.exports)("useDomContext");function h$1(e,n,i){void 0===i&&(i={});var u=useRef(void 0),C=useState(void 0),l=C[0],d=C[1],f=useMemo(function(){var r;try{(r=new s$1(c$1({contextName:n,element:e,onChange:function(e){u&&(u.current=e),d(e);}},i))).start();}catch(e){m$1("Listener failed to start",e);}return m$1("Listener initialized",r),{listener:r}},[n,u]).listener;return useEffect(function(){return m$1("Listener starting (or restarting)",f),f.start(),function(){m$1("Listener stopping (or restopping)",f),f.stop();}},[f,e.isConnected]),l||(null==u?void 0:u.current)}function y$1(e,t,r){var o=useMemo(function(){var o=new c({contextName:t,element:e,initialState:r});return o.start(),m$1("Provider initialized",o),o},[t,e]);useEffect(function(){return m$1("Provider starting (or restarting)",o),o.start(),function(){m$1("Provider stopping (or re-stopping)",o),o.stop();}},[o,e.isConnected]);var c$1=useReducer(function(e,t){var n;return m$1("New context value",t),n="function"==typeof t?t(o.context):t,o.context=n,o.context},o.context);return [c$1[0],c$1[1],o]}
1113
1113
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
4
- const index_module = require('./index.module-caa31174.js');
3
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
4
+ const index_module = require('./index.module-0c942e81.js');
5
5
 
6
6
  function useChildElements() {
7
7
  const host = index_module._();
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
4
- const index_module = require('./index.module-caa31174.js');
3
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
4
+ const index_module = require('./index.module-0c942e81.js');
5
5
  const jsonpointer = require('./jsonpointer-11327262.js');
6
- const useRegistrationFormState = require('./useRegistrationFormState-ad3190c9.js');
6
+ const useRegistrationFormState = require('./useRegistrationFormState-70ae0627.js');
7
7
 
8
8
  function useInstantAccessRegistration(props) {
9
9
  const cookie = new URLSearchParams(window.location.search);
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-b0129cd6.js');
4
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
5
- const index_module = require('./index.module-caa31174.js');
6
- const reRender = require('./re-render-941b676e.js');
7
- const useChildElements = require('./useChildElements-f1923bc6.js');
4
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
5
+ const index_module = require('./index.module-0c942e81.js');
6
+ const reRender = require('./re-render-4b9dab91.js');
7
+ const useChildElements = require('./useChildElements-fbcd8f72.js');
8
8
 
9
9
  const debug = stencilHooks_module.browser("sq:useReferralTable");
10
10
  const CSS_NAMESPACE = "sqm-referral-table";
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
4
- const index_module = require('./index.module-caa31174.js');
3
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
4
+ const index_module = require('./index.module-0c942e81.js');
5
5
 
6
6
  const REGISTRATION_FORM_STATE_CONTEXT = "sq:registration-form-state";
7
7
  function useRegistrationFormState(formState) {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- const stencilHooks_module = require('./stencil-hooks.module-faabb426.js');
4
- const index_module = require('./index.module-caa31174.js');
3
+ const stencilHooks_module = require('./stencil-hooks.module-72742a0b.js');
4
+ const index_module = require('./index.module-0c942e81.js');
5
5
 
6
6
  // import { IntlMessageFormat } from 'intl-messageformat';
7
7
  function isMobile(breakPoint) {
@@ -20,6 +20,6 @@ export function LinkButtonView(props) {
20
20
  h("style", { type: "text/css" },
21
21
  styleString,
22
22
  vanillaStyle),
23
- h("sl-button", { type: "primary", exportparts: "base: primarybutton-base" },
24
- h("a", { onClick: onClick, class: sheet.classes.Link, part: "sqm-link" }, buttonText))));
23
+ h("sl-button", { onClick: onClick, type: "primary", exportparts: "base: primarybutton-base" },
24
+ h("a", { class: sheet.classes.Link, part: "sqm-link" }, buttonText))));
25
25
  }
@@ -12,6 +12,7 @@ const errorProps = {
12
12
  error: "Something went wrong. Please try again.",
13
13
  loading: false,
14
14
  verified: false,
15
+ success: false,
15
16
  },
16
17
  data: {
17
18
  oobCode: "abc123",
@@ -31,6 +32,7 @@ const verifiedProps = {
31
32
  error: "",
32
33
  loading: false,
33
34
  verified: true,
35
+ success: true,
34
36
  },
35
37
  data: {
36
38
  oobCode: "abc123",
@@ -21,7 +21,9 @@ const sheet = createStyleSheet(style);
21
21
  const styleString = sheet.toString();
22
22
  export function PortalVerifyEmailView(props) {
23
23
  const { states, data, callbacks, content } = props;
24
- if (states.verified) {
24
+ if (states.loading)
25
+ return;
26
+ if (states.success) {
25
27
  return (h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
26
28
  h("style", { type: "text/css" },
27
29
  vanillaStyle,
@@ -37,6 +39,6 @@ export function PortalVerifyEmailView(props) {
37
39
  h(TextSpanView, { type: "h3" }, content.verifyEmailText),
38
40
  h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
39
41
  h("div", { part: "erroralert-text" }, content.verifyInvalidText)),
40
- h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.continueText)));
42
+ h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, disabled: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.continueText)));
41
43
  }
42
44
  }
@@ -228,7 +228,7 @@ export class PortalVerifyEmail {
228
228
  "mutable": false,
229
229
  "complexType": {
230
230
  "original": "DemoData<PortalVerifyEmailViewProps>",
231
- "resolved": "{ states?: { error: string; loading: boolean; verified: boolean; }; data?: { oobCode: string; }; content?: { verifySuccessText?: string; verifyEmailText?: string; verifyInvalidText?: string; continueText?: string; }; }",
231
+ "resolved": "{ states?: { error: string; loading: boolean; success: boolean; verified: boolean; }; data?: { oobCode: string; }; content?: { verifySuccessText?: string; verifyEmailText?: string; verifyInvalidText?: string; continueText?: string; }; }",
232
232
  "references": {
233
233
  "DemoData": {
234
234
  "location": "import",