@saasquatch/mint-components 1.9.0 → 1.9.1

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
@@ -1,23 +1,23 @@
1
- import { navigation, useUserIdentity, useVerifyEmailMutation, } from "@saasquatch/component-boilerplate";
2
- import { useEffect } from "@saasquatch/universal-hooks";
1
+ import { navigation, setUserIdentity, useUserIdentity, useVerifyEmailMutation, } from "@saasquatch/component-boilerplate";
2
+ import { useEffect, useState } from "@saasquatch/stencil-hooks";
3
3
  import { sanitizeUrlPath } from "../../utils/utils";
4
- const SUBMITTED_CONTEXT = "sq:verify-submitted";
5
- function setSubmitted(submitted) {
6
- // using window due to dom-context getting reset on re-render
7
- window[SUBMITTED_CONTEXT] = submitted;
8
- }
4
+ let globalPromise = null;
9
5
  export function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyEmailText, verifyInvalidText, networkErrorMessage, continueText, }) {
10
- var _a, _b, _c, _d, _e, _f, _g, _h;
11
- const submitted = window[SUBMITTED_CONTEXT];
6
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7
+ const [completed, setCompleted] = useState(false);
8
+ const [successful, setSuccessful] = useState(false);
12
9
  const userIdent = useUserIdentity();
13
10
  const [request, { loading, data, errors }] = useVerifyEmailMutation();
14
11
  const urlParams = new URLSearchParams(navigation.location.search);
15
12
  const oobCode = urlParams.get("oobCode");
13
+ const oobEmail = urlParams.get("email");
16
14
  const nextPageOverride = urlParams.get("nextPage");
17
15
  // derived from useMutation in component boilerplate initialState
18
16
  const disableContinue = data === undefined && errors === undefined && !!oobCode;
19
17
  // if logged out, userIdent?.managedIdentity?.emailVerified will be falsey, even if verification was successful
20
- 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));
18
+ 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) ||
19
+ successful);
20
+ const validEmail = ((_c = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _c === void 0 ? void 0 : _c.email) === oobEmail;
21
21
  const failed = () => {
22
22
  return navigation.push({
23
23
  pathname: failedPage,
@@ -29,40 +29,44 @@ export function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText,
29
29
  const url = sanitizeUrlPath(nextPageOverride || nextPage);
30
30
  navigation.push(url.href);
31
31
  };
32
- const submit = async () => {
33
- var _a;
34
- setSubmitted(true);
35
- if (oobCode) {
36
- const result = await request({ oobCode });
37
- if ((result instanceof Error ||
38
- !result.verifyManagedIdentityEmail.success) &&
39
- !((_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified)) {
40
- // pause on error if logged out/unverified
41
- return;
42
- }
43
- setTimeout(() => {
44
- gotoNextPage();
45
- setSubmitted(false);
46
- }, 3000);
47
- }
32
+ const logout = () => {
33
+ setTimeout(() => {
34
+ setUserIdentity(undefined);
35
+ gotoNextPage();
36
+ }, 3000);
37
+ };
38
+ const login = () => {
39
+ setTimeout(gotoNextPage, 3000);
48
40
  };
49
41
  useEffect(() => {
50
- // Already verified, begin redirect
51
- if (verified) {
52
- setTimeout(() => {
53
- gotoNextPage();
54
- setSubmitted(false);
55
- }, 3000);
42
+ const verify = async () => {
43
+ if (!globalPromise)
44
+ globalPromise = request({ oobCode });
45
+ const result = await globalPromise;
46
+ if (!(result instanceof Error) &&
47
+ result.verifyManagedIdentityEmail.success) {
48
+ // Needs to be explicitly updated if multiple renders have occured
49
+ setSuccessful(true);
50
+ }
51
+ setCompleted(true);
52
+ };
53
+ verify();
54
+ }, []);
55
+ useEffect(() => {
56
+ if (!completed)
56
57
  return;
57
- }
58
- if (userIdent && !data && !submitted)
59
- submit();
60
- }, [verified, submitted, data, userIdent, submitted]);
58
+ if (verified && validEmail)
59
+ login();
60
+ else
61
+ logout();
62
+ }, [completed, verified]);
61
63
  return {
62
64
  states: {
63
- loading: loading || disableContinue,
64
- 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) ||
65
- ((errors === null || errors === void 0 ? void 0 : errors.message) && networkErrorMessage),
65
+ loading: loading || !completed,
66
+ disableContinue,
67
+ 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) ||
68
+ (((errors === null || errors === void 0 ? void 0 : errors.message) || !validEmail) && networkErrorMessage),
69
+ success: completed && (verified || validEmail),
66
70
  verified,
67
71
  },
68
72
  data: {
@@ -1,16 +1,16 @@
1
1
  import { h, c as Host, d as getAssetPath, g as getElement } from './index-17b4da69.js';
2
- import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-8032b139.js';
3
- import { i as intl } from './global-938df634.js';
4
- import { d as dist, H, Q, y as yn, f as $e, B, a as getEnvironmentSDK, L } from './index.module-ba0ed7a8.js';
2
+ import { k as useState, b as browser, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { i as intl } from './global-56126a31.js';
4
+ import { d as dist, H, Q, y as yn, f as $e, B, a as getEnvironmentSDK, L } from './index.module-b4a6f095.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
7
7
  import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
8
- import { u as useChildElements } from './useChildElements-cd29b2fc.js';
9
- import { l as luxon } from './luxon-4706d11b.js';
8
+ import { u as useChildElements } from './useChildElements-ab0424a8.js';
9
+ import { l as luxon } from './luxon-7600be8d.js';
10
10
  import { l as luxonLocale } from './utils-334c1e34.js';
11
11
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
12
12
  import { p as pathToRegexp } from './index-ffa26b43.js';
13
- import { a as isValidColor, b as isMobile } from './utilities-21d8a4df.js';
13
+ import { a as isValidColor, b as isMobile } from './utilities-ffa6a093.js';
14
14
  import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-ab89c6cc.js';
15
15
 
16
16
  const medium = {
@@ -1,5 +1,5 @@
1
- import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-8032b139.js';
2
- import { s as src, m as memoize, U } from './index.module-ba0ed7a8.js';
1
+ import { g as getAugmentedNamespace, c as createCommonjsModule, a as commonjsGlobal, b as browser, l as l$1 } from './stencil-hooks.module-ac12ca1c.js';
2
+ import { s as src, m as memoize, U } from './index.module-b4a6f095.js';
3
3
 
4
4
  var __assign = (undefined && undefined.__assign) || function () {
5
5
  __assign = Object.assign || function(t) {
@@ -1,4 +1,4 @@
1
- import { u as useMemo, d as c, s, c as createCommonjsModule, a as commonjsGlobal, e as getDefaultExportFromCjs, f as useEffect, h, y, i as d, j as useReducer, k as useState, m as useRef } from './stencil-hooks.module-8032b139.js';
1
+ import { u as useMemo, d as c, s, c as createCommonjsModule, a as commonjsGlobal, e as getDefaultExportFromCjs, f as useEffect, h, y, i as d, j as useReducer, k as useState, m as useRef } from './stencil-hooks.module-ac12ca1c.js';
2
2
 
3
3
  const useCallback = (fn, inputs) => useMemo(() => fn, inputs);
4
4
 
@@ -1,7 +1,7 @@
1
1
  import { p as promiseResolve, b as bootstrapLazy } from './index-17b4da69.js';
2
- import './stencil-hooks.module-8032b139.js';
3
- import './global-938df634.js';
4
- import './index.module-ba0ed7a8.js';
2
+ import './stencil-hooks.module-ac12ca1c.js';
3
+ import './global-56126a31.js';
4
+ import './index.module-b4a6f095.js';
5
5
 
6
6
  /*
7
7
  Stencil Client Patch Esm v2.4.0 | MIT Licensed | https://stenciljs.com
@@ -1,4 +1,4 @@
1
- import { c as createCommonjsModule } from './stencil-hooks.module-8032b139.js';
1
+ import { c as createCommonjsModule } from './stencil-hooks.module-ac12ca1c.js';
2
2
 
3
3
  var luxon = createCommonjsModule(function (module, exports) {
4
4
 
@@ -1,7 +1,7 @@
1
1
  import { p as promiseResolve, H, b as bootstrapLazy } from './index-17b4da69.js';
2
- import './stencil-hooks.module-8032b139.js';
3
- import './global-938df634.js';
4
- import './index.module-ba0ed7a8.js';
2
+ import './stencil-hooks.module-ac12ca1c.js';
3
+ import './global-56126a31.js';
4
+ import './index.module-b4a6f095.js';
5
5
 
6
6
  /*
7
7
  Stencil Client Patch Browser v2.4.0 | MIT Licensed | https://stenciljs.com
@@ -1,4 +1,4 @@
1
- import { l as luxon } from './luxon-4706d11b.js';
1
+ import { l as luxon } from './luxon-7600be8d.js';
2
2
 
3
3
  const mockRewardData = (count = 4, status = undefined) => {
4
4
  const data = [...Array(count)].map(() => getMockData(status));
@@ -1,5 +1,5 @@
1
- import { f as useEffect } from './stencil-hooks.module-8032b139.js';
2
- import { _, g as gn } from './index.module-ba0ed7a8.js';
1
+ import { f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
2
+ import { _, g as gn } from './index.module-b4a6f095.js';
3
3
 
4
4
  const RENDER_EVENT = "sqm:request-rerender";
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-8032b139.js';
3
- import { i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { i as isDemo } from './index.module-b4a6f095.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import './JSS-67b5cff8.js';
6
6
  import { A as AssetCardView } from './sqm-asset-card-view-9d93fbdd.js';
@@ -1,18 +1,18 @@
1
1
  import { h, r as registerInstance, c as Host, g as getElement } from './index-17b4da69.js';
2
- import { m as useRef, k as useState, f as useEffect, n as h$1, u as useMemo, b as browser, j as useReducer } from './stencil-hooks.module-8032b139.js';
3
- import { i as intl } from './global-938df634.js';
4
- import { d as dist, L, Q, t as bn, I as In, M as Mn, f as $e, i as isDemo, w as wn, u as useCallback, k as kn, v as Pn, _, C as Cn, F as Fn } from './index.module-ba0ed7a8.js';
2
+ import { m as useRef, k as useState, f as useEffect, n as h$1, u as useMemo, b as browser, j as useReducer } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { i as intl } from './global-56126a31.js';
4
+ import { d as dist, L, Q, t as bn, I as In, M as Mn, f as $e, i as isDemo, w as wn, u as useCallback, k as kn, v as Pn, _, C as Cn, F as Fn } from './index.module-b4a6f095.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
9
  import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
10
- import { u as useRerenderListener, a as useRequestRerender } from './re-render-b61a14be.js';
11
- import { u as useChildElements } from './useChildElements-cd29b2fc.js';
12
- import { l as luxon } from './luxon-4706d11b.js';
13
- import { g as generateUserError } from './useReferralTable-669cae58.js';
10
+ import { u as useRerenderListener, a as useRequestRerender } from './re-render-6d9db92d.js';
11
+ import { u as useChildElements } from './useChildElements-ab0424a8.js';
12
+ import { l as luxon } from './luxon-7600be8d.js';
13
+ import { g as generateUserError } from './useReferralTable-1b2f12cd.js';
14
14
  import { g as getProps, l as luxonLocale } from './utils-334c1e34.js';
15
- import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, E as ErrorView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-c905071b.js';
15
+ import { t as taxTypeToName, v as validTaxDocument, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, g as getCountryObj, O as OtherRegionSlotView, I as InvoiceTableView, E as ErrorView, L as LoadingView, c as vatLabels, G as GeneralLoadingView, f as formatErrorMessage, d as validateBillingField, o as objectIsFull, A as ADDRESS_REGIONS } from './sqm-invoice-table-view-3707b42c.js';
16
16
 
17
17
  const TAX_CONTEXT_NAMESPACE = "sq:tax-and-cash";
18
18
  const TAX_FORM_CONTEXT_NAMESPACE = "sq:tax-form-context";
@@ -1,21 +1,21 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
- import { n as h, f as useEffect, k as useState, i as d, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-8032b139.js';
3
- import { i as intl } from './global-938df634.js';
4
- import { i as isDemo, _, d as dist, Q, H, f as $e, y as yn, B, L, g as gn, $ as $n, p as Ue, q as qe, x as xe, u as useCallback, r as ze, S as Sn } from './index.module-ba0ed7a8.js';
2
+ import { n as h, f as useEffect, k as useState, i as d, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { i as intl } from './global-56126a31.js';
4
+ import { i as isDemo, _, d as dist, Q, H, f as $e, y as yn, B, L, g as gn, $ as $n, p as Ue, q as qe, x as xe, u as useCallback, r as ze, S as Sn } from './index.module-b4a6f095.js';
5
5
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
6
6
  import { c as cjs } from './cjs-bdfb4486.js';
7
7
  import './mixins-f60a614c.js';
8
8
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
- import { a as useRequestRerender } from './re-render-b61a14be.js';
10
- import { u as useChildElements } from './useChildElements-cd29b2fc.js';
11
- import './luxon-4706d11b.js';
9
+ import { a as useRequestRerender } from './re-render-6d9db92d.js';
10
+ import { u as useChildElements } from './useChildElements-ab0424a8.js';
11
+ import './luxon-7600be8d.js';
12
12
  import { g as getProps, a as getMissingProps, s as sanitizeUrlPath } from './utils-334c1e34.js';
13
13
  import './sqm-text-span-view-8d140661.js';
14
14
  import { p as pathToRegexp } from './index-ffa26b43.js';
15
- import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-0e09e2ca.js';
16
- import { i as isEmpty } from './utilities-21d8a4df.js';
15
+ import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-afc73a09.js';
16
+ import { i as isEmpty } from './utilities-ffa6a093.js';
17
17
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
18
- import { b as useDemoBigStat, V as useBigStat, B as BigStatView, Q as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, W as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, X as demoRewardExchange, k as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-8fd4f148.js';
18
+ import { b as useDemoBigStat, V as useBigStat, B as BigStatView, Q as autoColorScaleCss, K as CardFeedView, j as CheckboxFieldView, M as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, W as withShadowView, L as LeaderboardView, N as NameFieldsView, d as PortalChangePasswordView, i as PortalFooterView, P as PortalFrameView, e as PortalLoginView, f as PortalRegisterView, R as ReferralIframeView, X as demoRewardExchange, k as RewardExchangeView, a as useShareButton, S as ShareButtonView, C as CopyTextView, u as useShareLink, c as StatContainerView, T as TaskCardView } from './ShadowViewAddon-b04465af.js';
19
19
  import './sqm-portal-container-view-ab89c6cc.js';
20
20
 
21
21
  const BigStat = class {
@@ -1504,8 +1504,8 @@ function LinkButtonView(props) {
1504
1504
  h$1("style", { type: "text/css" },
1505
1505
  styleString$1,
1506
1506
  vanillaStyle),
1507
- h$1("sl-button", { type: "primary", exportparts: "base: primarybutton-base" },
1508
- h$1("a", { onClick: onClick, class: sheet$1.classes.Link, part: "sqm-link" }, buttonText))));
1507
+ h$1("sl-button", { onClick: onClick, type: "primary", exportparts: "base: primarybutton-base" },
1508
+ h$1("a", { class: sheet$1.classes.Link, part: "sqm-link" }, buttonText))));
1509
1509
  }
1510
1510
 
1511
1511
  const LinkButton = class {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-8032b139.js';
3
- import { a as getEnvironmentSDK } from './index.module-ba0ed7a8.js';
2
+ import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { a as getEnvironmentSDK } from './index.module-b4a6f095.js';
4
4
  import './mixins-f60a614c.js';
5
5
  import './JSS-67b5cff8.js';
6
6
  import { C as CloseButtonView } from './sqm-close-button-view-dc65b4e3.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
- import { b as browser, k as useState, i as d, f as useEffect, n as h } from './stencil-hooks.module-8032b139.js';
3
- import { _ } from './index.module-ba0ed7a8.js';
2
+ import { b as browser, k as useState, i as d, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { _ } from './index.module-b4a6f095.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
  import { p as pathToRegexp } from './index-ffa26b43.js';
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
- import { n as h$1 } from './stencil-hooks.module-8032b139.js';
2
+ import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
3
  import './JSS-67b5cff8.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-ab89c6cc.js';
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-8032b139.js';
2
+ import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
3
 
4
4
  const sqmFormMessageCss = "sl-alert::part(base){border:1px solid;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(20, 20, 20, 0.1);box-shadow:0 1px 2px rgba(20, 20, 20, 0.1)}.Error::part(base){background-color:var(--sl-color-danger-100);border-color:var(--sl-color-danger-200)}.Warning::part(base){background-color:var(--sl-color-warning-100);border-color:var(--sl-color-warning-200)}.Success::part(base){background-color:var(--sl-color-success-100);border-color:var(--sl-color-success-200)}.Info::part(base){background-color:var(--sl-color-primary-100);border-color:var(--sl-color-primary-200)}";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
- import { o as m, f as useEffect, n as h } from './stencil-hooks.module-8032b139.js';
3
- import { J, E as Ee, z, P as Pe } from './index.module-ba0ed7a8.js';
2
+ import { o as m, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { J, E as Ee, z, P as Pe } from './index.module-b4a6f095.js';
4
4
 
5
5
  async function useGraphQLClientProvider({ domain }) {
6
6
  const token = J();
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-8032b139.js';
2
+ import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
3
 
4
4
  const HeroImage = class {
5
5
  constructor(hostRef) {
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-8032b139.js';
3
- import { i as isDemo, b as setUserIdentity } from './index.module-ba0ed7a8.js';
2
+ import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { i as isDemo, b as setUserIdentity } from './index.module-b4a6f095.js';
4
4
  import './jsonpointer-388a7082.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './mixins-f60a614c.js';
7
7
  import './JSS-67b5cff8.js';
8
8
  import { E as EmailRegistrationView } from './email-registration-view-07d80492.js';
9
- import './useRegistrationFormState-0e09e2ca.js';
10
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-0d27c474.js';
9
+ import './useRegistrationFormState-afc73a09.js';
10
+ import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-482dea49.js';
11
11
 
12
12
  const InstantAccessRegistration = class {
13
13
  constructor(hostRef) {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-938df634.js';
2
+ import { i as intl } from './global-56126a31.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4
 
5
5
  const INDIRECT_TAX_PROVINCES = [
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-8032b139.js';
3
- import { i as intl } from './global-938df634.js';
4
- import { d as dist, H, Q, y as yn, i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { i as intl } from './global-56126a31.js';
4
+ import { d as dist, H, Q, y as yn, i as isDemo } from './index.module-b4a6f095.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-8032b139.js';
3
- import { d as dist, Q, y as yn, b as setUserIdentity, i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { d as dist, Q, y as yn, b as setUserIdentity, i as isDemo } from './index.module-b4a6f095.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import './JSS-67b5cff8.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { $ as $n } from './index.module-ba0ed7a8.js';
2
+ import { $ as $n } from './index.module-b4a6f095.js';
3
3
  import { g as gap } from './mixins-f60a614c.js';
4
4
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
 
@@ -1,11 +1,11 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-8032b139.js';
3
- import { S as Sn, i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { S as Sn, i as isDemo } from './index.module-b4a6f095.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import './mixins-f60a614c.js';
6
6
  import './JSS-67b5cff8.js';
7
7
  import { g as getProps } from './utils-334c1e34.js';
8
- import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-d3484a50.js';
8
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-fbaec120.js';
9
9
 
10
10
  function useNavigationSidebarItem(props) {
11
11
  const currentPage = Sn();
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { n as h, k as useState, f as useEffect } from './stencil-hooks.module-8032b139.js';
3
- import { S as Sn, H } from './index.module-ba0ed7a8.js';
2
+ import { n as h, k as useState, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { S as Sn, H } from './index.module-b4a6f095.js';
4
4
  import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-414bcb19.js';
5
5
 
6
6
  const NavigationSidebar = class {
@@ -1,11 +1,11 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
- import { i as d, k as useState, n as h$1 } from './stencil-hooks.module-8032b139.js';
3
- import { i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { i as d, k as useState, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { i as isDemo } from './index.module-b4a6f095.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import { E as ErrorStyles } from './mixins-f60a614c.js';
6
6
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
7
7
  import { g as getProps } from './utils-334c1e34.js';
8
- import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-0e09e2ca.js';
8
+ import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-afc73a09.js';
9
9
 
10
10
  var constants = {
11
11
  error: {
@@ -1,6 +1,6 @@
1
1
  import { h, c as Host, r as registerInstance } from './index-17b4da69.js';
2
- import { n as h$1 } from './stencil-hooks.module-8032b139.js';
3
- import { B } from './index.module-ba0ed7a8.js';
2
+ import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { B } from './index.module-b4a6f095.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
 
6
6
  const PopupContainerView = (props) => {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-938df634.js';
2
+ import { i as intl } from './global-56126a31.js';
3
3
  import { A as AuthWrapper, a as AuthColumn } from './mixins-f60a614c.js';
4
4
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
5
5
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
@@ -1,12 +1,12 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { k as useState, m as useRef, f as useEffect, n as h } from './stencil-hooks.module-8032b139.js';
3
- import './global-938df634.js';
4
- import { l as ln, n as nn, Q, $ as $n, u as useCallback, i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { k as useState, m as useRef, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import './global-56126a31.js';
4
+ import { l as ln, n as nn, Q, $ as $n, u as useCallback, i as isDemo } from './index.module-b4a6f095.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './mixins-f60a614c.js';
7
7
  import './JSS-67b5cff8.js';
8
8
  import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-33b24b91.js';
9
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-973c1e91.js';
10
10
 
11
11
  function usePortalEmailVerification(props) {
12
12
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { k as useState, n as h } from './stencil-hooks.module-8032b139.js';
3
- import { e as un, $ as $n, i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { k as useState, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { e as un, $ as $n, i as isDemo } from './index.module-b4a6f095.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './mixins-f60a614c.js';
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-8032b139.js';
3
- import { b as setUserIdentity, $ as $n, i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { b as setUserIdentity, $ as $n, i as isDemo } from './index.module-b4a6f095.js';
4
4
 
5
5
  function usePortalLogout({ nextPage }) {
6
6
  setUserIdentity(undefined);
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { i as intl } from './global-938df634.js';
2
+ import { i as intl } from './global-56126a31.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
5
5
 
@@ -1,13 +1,13 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-8032b139.js';
3
- import './global-938df634.js';
4
- import { d as dist, Q, y as yn, f as $e, i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import './global-56126a31.js';
4
+ import { d as dist, Q, y as yn, f as $e, i as isDemo } from './index.module-b4a6f095.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './JSS-67b5cff8.js';
7
7
  import { g as getProps } from './utils-334c1e34.js';
8
8
  import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalProfileView } from './sqm-portal-profile-view-eeff5fa0.js';
10
- import { i as isEmpty } from './utilities-21d8a4df.js';
9
+ import { P as PortalProfileView } from './sqm-portal-profile-view-0b68e4e5.js';
10
+ import { i as isEmpty } from './utilities-ffa6a093.js';
11
11
 
12
12
  const GET_USER = dist.gql `
13
13
  query {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1, c as Host } from './index-17b4da69.js';
2
- import { f as useEffect, n as h } from './stencil-hooks.module-8032b139.js';
3
- import { Q, S as Sn, $ as $n, i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { Q, S as Sn, $ as $n, i as isDemo } from './index.module-b4a6f095.js';
4
4
 
5
5
  function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
6
6
  var _a;
@@ -1,12 +1,12 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
- import { m as useRef, f as useEffect, n as h$1 } from './stencil-hooks.module-8032b139.js';
3
- import { d as dist, L, W as We, y as yn, $ as $n, u as useCallback, i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { m as useRef, f as useEffect, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { d as dist, L, W as We, y as yn, $ as $n, u as useCallback, i as isDemo } from './index.module-b4a6f095.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { A as AuthWrapper, a as AuthColumn, H as HostBlock, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f60a614c.js';
7
7
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
8
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
9
- import { u as useRegistrationFormState } from './useRegistrationFormState-0e09e2ca.js';
9
+ import { u as useRegistrationFormState } from './useRegistrationFormState-afc73a09.js';
10
10
  import { A as AsYouType } from './AsYouType-46f67d0d.js';
11
11
 
12
12
  const style = {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-8032b139.js';
3
- import { h as Qe, T as Te, $ as $n, i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { k as useState, f as useEffect, n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { h as Qe, T as Te, $ as $n, i as isDemo } from './index.module-b4a6f095.js';
4
4
  import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import './mixins-f60a614c.js';
@@ -22,7 +22,9 @@ const sheet = createStyleSheet(style);
22
22
  const styleString = sheet.toString();
23
23
  function PortalVerifyEmailView(props) {
24
24
  const { states, data, callbacks, content } = props;
25
- if (states.verified) {
25
+ if (states.loading)
26
+ return;
27
+ if (states.success) {
26
28
  return (h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
27
29
  h("style", { type: "text/css" },
28
30
  vanillaStyle,
@@ -38,7 +40,7 @@ function PortalVerifyEmailView(props) {
38
40
  h(TextSpanView, { type: "h3" }, content.verifyEmailText),
39
41
  h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
40
42
  h("div", { part: "erroralert-text" }, content.verifyInvalidText)),
41
- h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.continueText)));
43
+ h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.failed, disabled: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.continueText)));
42
44
  }
43
45
  }
44
46