@saasquatch/mint-components 1.8.5-9 → 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 (339) hide show
  1. package/dist/cjs/{ShadowViewAddon-89ba2ab0.js → ShadowViewAddon-1d7d274f.js} +23 -23
  2. package/dist/cjs/{email-registration-view-a6b6430e.js → email-registration-view-5170d9f1.js} +3 -3
  3. package/dist/cjs/{global-468407e1.js → global-32cf67e2.js} +2 -2
  4. package/dist/cjs/{index.module-caa31174.js → index.module-0c942e81.js} +1 -1
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/{luxon-a4661470.js → luxon-05098e19.js} +1 -1
  7. package/dist/cjs/mint-components.cjs.js +3 -3
  8. package/dist/cjs/{mockRewardData-8e760564.js → mockRewardData-4258e067.js} +1 -1
  9. package/dist/cjs/{re-render-941b676e.js → re-render-4b9dab91.js} +2 -2
  10. package/dist/cjs/sqm-asset-card.cjs.entry.js +2 -2
  11. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +24 -24
  12. package/dist/cjs/sqm-big-stat_38.cjs.entry.js +11 -11
  13. package/dist/cjs/sqm-close-button.cjs.entry.js +2 -2
  14. package/dist/cjs/sqm-context-router.cjs.entry.js +2 -2
  15. package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
  16. package/dist/cjs/sqm-form-message.cjs.entry.js +1 -1
  17. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +2 -2
  18. package/dist/cjs/sqm-header-logo.cjs.entry.js +1 -1
  19. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +5 -5
  20. package/dist/cjs/{sqm-invoice-table-view-501f8985.js → sqm-invoice-table-view-7660f329.js} +9 -9
  21. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +3 -3
  22. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +2 -2
  23. package/dist/cjs/{sqm-navigation-sidebar-item-view-7f79627b.js → sqm-navigation-sidebar-item-view-52d8a6ab.js} +1 -1
  24. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +3 -3
  25. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +2 -2
  26. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  27. package/dist/cjs/sqm-popup-container.cjs.entry.js +2 -2
  28. package/dist/cjs/{sqm-portal-email-verification-view-8f15bace.js → sqm-portal-email-verification-view-4224f1c3.js} +1 -1
  29. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +4 -4
  30. package/dist/cjs/{sqm-portal-forgot-password-view-ca5f6db9.js → sqm-portal-forgot-password-view-969c49ed.js} +1 -1
  31. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +3 -3
  32. package/dist/cjs/sqm-portal-logout.cjs.entry.js +2 -2
  33. package/dist/cjs/{sqm-portal-profile-view-d8697f23.js → sqm-portal-profile-view-04239bdf.js} +5 -5
  34. package/dist/cjs/sqm-portal-profile.cjs.entry.js +5 -5
  35. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +2 -2
  36. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +5 -5
  37. package/dist/cjs/{sqm-portal-reset-password-view-07a13210.js → sqm-portal-reset-password-view-96f329ed.js} +1 -1
  38. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +3 -3
  39. package/dist/cjs/{sqm-portal-verify-email-view-ce552bbc.js → sqm-portal-verify-email-view-7ffcc0d4.js} +4 -2
  40. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +41 -47
  41. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +8 -8
  42. package/dist/cjs/sqm-referred-registration.cjs.entry.js +5 -5
  43. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  44. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +3 -3
  45. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +8 -8
  46. package/dist/cjs/sqm-stencilbook.cjs.entry.js +21 -19
  47. package/dist/cjs/sqm-tab.cjs.entry.js +3 -3
  48. package/dist/cjs/sqm-tabs.cjs.entry.js +4 -4
  49. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  50. package/dist/cjs/{stencil-hooks.module-faabb426.js → stencil-hooks.module-72742a0b.js} +1 -1
  51. package/dist/cjs/{useChildElements-f1923bc6.js → useChildElements-fbcd8f72.js} +2 -2
  52. package/dist/cjs/{useInstantAccessRegistration-fe258c50.js → useInstantAccessRegistration-988b4965.js} +3 -3
  53. package/dist/cjs/{useReferralTable-7244325a.js → useReferralTable-984e432d.js} +4 -4
  54. package/dist/cjs/{useRegistrationFormState-ad3190c9.js → useRegistrationFormState-70ae0627.js} +2 -2
  55. package/dist/cjs/{utilities-73df97e1.js → utilities-d1a46070.js} +2 -2
  56. package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +1 -1
  57. package/dist/collection/components/sqm-dropdown-field/sqm-dropdown-field-view.js +1 -1
  58. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +3 -3
  59. package/dist/collection/components/sqm-empty/sqm-empty-view.js +2 -2
  60. package/dist/collection/components/sqm-input-field/sqm-input-field-view.js +1 -1
  61. package/dist/collection/components/sqm-link-button/sqm-link-button-view.js +2 -2
  62. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +2 -2
  63. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +1 -1
  64. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +1 -1
  65. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +1 -1
  66. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +2 -2
  67. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +4 -4
  68. package/dist/collection/components/sqm-portal-register/PortalRegister.stories.js +2 -2
  69. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +2 -2
  70. package/dist/collection/components/sqm-portal-registration-form/PortalRegistrationForm.stories.js +2 -2
  71. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +2 -2
  72. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +1 -1
  73. package/dist/collection/components/sqm-portal-verify-email/PortalVerifyEmail.stories.js +2 -0
  74. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +4 -2
  75. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +1 -1
  76. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +39 -45
  77. package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +4 -4
  78. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +4 -4
  79. package/dist/collection/components/tax-and-cash/sqm-user-info-form/small-views/IndirectTaxDetailsView.js +8 -8
  80. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +12 -12
  81. package/dist/collection/components/views/email-registration-view.js +3 -3
  82. package/dist/esm/{ShadowViewAddon-c22043d9.js → ShadowViewAddon-b04465af.js} +23 -23
  83. package/dist/esm/{email-registration-view-4a4202e7.js → email-registration-view-07d80492.js} +3 -3
  84. package/dist/esm/{global-938df634.js → global-56126a31.js} +2 -2
  85. package/dist/esm/{index.module-ba0ed7a8.js → index.module-b4a6f095.js} +1 -1
  86. package/dist/esm/loader.js +3 -3
  87. package/dist/esm/{luxon-4706d11b.js → luxon-7600be8d.js} +1 -1
  88. package/dist/esm/mint-components.js +3 -3
  89. package/dist/esm/{mockRewardData-6f03c9fb.js → mockRewardData-0eb6e778.js} +1 -1
  90. package/dist/esm/{re-render-b61a14be.js → re-render-6d9db92d.js} +2 -2
  91. package/dist/esm/sqm-asset-card.entry.js +2 -2
  92. package/dist/esm/sqm-banking-info-form_16.entry.js +24 -24
  93. package/dist/esm/sqm-big-stat_38.entry.js +11 -11
  94. package/dist/esm/sqm-close-button.entry.js +2 -2
  95. package/dist/esm/sqm-context-router.entry.js +2 -2
  96. package/dist/esm/sqm-empty_4.entry.js +3 -3
  97. package/dist/esm/sqm-form-message.entry.js +1 -1
  98. package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
  99. package/dist/esm/sqm-header-logo.entry.js +1 -1
  100. package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
  101. package/dist/esm/{sqm-invoice-table-view-d00894ce.js → sqm-invoice-table-view-3707b42c.js} +9 -9
  102. package/dist/esm/sqm-leaderboard-rank.entry.js +3 -3
  103. package/dist/esm/sqm-logout-current-user.entry.js +2 -2
  104. package/dist/esm/{sqm-navigation-sidebar-item-view-d3484a50.js → sqm-navigation-sidebar-item-view-fbaec120.js} +1 -1
  105. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  106. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  107. package/dist/esm/sqm-password-field.entry.js +4 -4
  108. package/dist/esm/sqm-popup-container.entry.js +2 -2
  109. package/dist/esm/{sqm-portal-email-verification-view-33b24b91.js → sqm-portal-email-verification-view-973c1e91.js} +1 -1
  110. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  111. package/dist/esm/{sqm-portal-forgot-password-view-a764ad67.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
  112. package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
  113. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  114. package/dist/esm/{sqm-portal-profile-view-13f0ef79.js → sqm-portal-profile-view-0b68e4e5.js} +5 -5
  115. package/dist/esm/sqm-portal-profile.entry.js +5 -5
  116. package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
  117. package/dist/esm/sqm-portal-registration-form.entry.js +5 -5
  118. package/dist/esm/{sqm-portal-reset-password-view-d3e726a9.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
  119. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  120. package/dist/esm/{sqm-portal-verify-email-view-283bf637.js → sqm-portal-verify-email-view-d7ea2c56.js} +4 -2
  121. package/dist/esm/sqm-portal-verify-email.entry.js +41 -47
  122. package/dist/esm/sqm-referral-table_11.entry.js +8 -8
  123. package/dist/esm/sqm-referred-registration.entry.js +5 -5
  124. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  125. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  126. package/dist/esm/sqm-rewards-table_9.entry.js +8 -8
  127. package/dist/esm/sqm-stencilbook.entry.js +21 -19
  128. package/dist/esm/sqm-tab.entry.js +3 -3
  129. package/dist/esm/sqm-tabs.entry.js +4 -4
  130. package/dist/esm/sqm-text-span.entry.js +1 -1
  131. package/dist/esm/{stencil-hooks.module-8032b139.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  132. package/dist/esm/{useChildElements-cd29b2fc.js → useChildElements-ab0424a8.js} +2 -2
  133. package/dist/esm/{useInstantAccessRegistration-0d27c474.js → useInstantAccessRegistration-482dea49.js} +3 -3
  134. package/dist/esm/{useReferralTable-669cae58.js → useReferralTable-1b2f12cd.js} +4 -4
  135. package/dist/esm/{useRegistrationFormState-0e09e2ca.js → useRegistrationFormState-afc73a09.js} +2 -2
  136. package/dist/esm/{utilities-21d8a4df.js → utilities-ffa6a093.js} +2 -2
  137. package/dist/esm-es5/ShadowViewAddon-b04465af.js +1 -0
  138. package/dist/esm-es5/{email-registration-view-4a4202e7.js → email-registration-view-07d80492.js} +1 -1
  139. package/dist/esm-es5/{global-938df634.js → global-56126a31.js} +1 -1
  140. package/dist/esm-es5/{index.module-ba0ed7a8.js → index.module-b4a6f095.js} +1 -1
  141. package/dist/esm-es5/loader.js +1 -1
  142. package/dist/esm-es5/{luxon-4706d11b.js → luxon-7600be8d.js} +1 -1
  143. package/dist/esm-es5/mint-components.js +1 -1
  144. package/dist/esm-es5/{mockRewardData-6f03c9fb.js → mockRewardData-0eb6e778.js} +1 -1
  145. package/dist/esm-es5/{re-render-b61a14be.js → re-render-6d9db92d.js} +1 -1
  146. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  147. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  148. package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
  149. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  150. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  151. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  152. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  153. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  154. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  155. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  156. package/dist/esm-es5/{sqm-invoice-table-view-d00894ce.js → sqm-invoice-table-view-3707b42c.js} +1 -1
  157. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  158. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  159. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-d3484a50.js → sqm-navigation-sidebar-item-view-fbaec120.js} +1 -1
  160. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  161. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  162. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  163. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  164. package/dist/esm-es5/{sqm-portal-email-verification-view-33b24b91.js → sqm-portal-email-verification-view-973c1e91.js} +1 -1
  165. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  166. package/dist/esm-es5/{sqm-portal-forgot-password-view-a764ad67.js → sqm-portal-forgot-password-view-c2ed8fed.js} +1 -1
  167. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  168. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  169. package/dist/esm-es5/sqm-portal-profile-view-0b68e4e5.js +1 -0
  170. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  171. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  172. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  173. package/dist/esm-es5/{sqm-portal-reset-password-view-d3e726a9.js → sqm-portal-reset-password-view-79a85e02.js} +1 -1
  174. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  175. package/dist/esm-es5/sqm-portal-verify-email-view-d7ea2c56.js +1 -0
  176. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  177. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  178. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  179. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  180. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  181. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  182. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  183. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  184. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  185. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  186. package/dist/esm-es5/{stencil-hooks.module-8032b139.js → stencil-hooks.module-ac12ca1c.js} +1 -1
  187. package/dist/esm-es5/{useChildElements-cd29b2fc.js → useChildElements-ab0424a8.js} +1 -1
  188. package/dist/esm-es5/{useInstantAccessRegistration-0d27c474.js → useInstantAccessRegistration-482dea49.js} +1 -1
  189. package/dist/esm-es5/{useReferralTable-669cae58.js → useReferralTable-1b2f12cd.js} +1 -1
  190. package/dist/esm-es5/useRegistrationFormState-afc73a09.js +1 -0
  191. package/dist/esm-es5/{utilities-21d8a4df.js → utilities-ffa6a093.js} +1 -1
  192. package/dist/mint-components/mint-components.esm.js +1 -1
  193. package/dist/mint-components/mint-components.js +1 -1
  194. package/dist/mint-components/{p-02e550bc.system.entry.js → p-0357abfc.system.entry.js} +1 -1
  195. package/dist/mint-components/{p-71c592d4.js → p-0985eff1.js} +1 -1
  196. package/dist/mint-components/p-0a910041.entry.js +1 -0
  197. package/dist/mint-components/p-10036f16.js +1 -0
  198. package/dist/mint-components/{p-59e810e6.system.js → p-104a1a77.system.js} +1 -1
  199. package/dist/mint-components/{p-4e513c81.entry.js → p-12b0b5e8.entry.js} +1 -1
  200. package/dist/mint-components/{p-399d6f42.entry.js → p-178d2d2e.entry.js} +1 -1
  201. package/dist/mint-components/{p-ea6a7135.js → p-1b9e6fc6.js} +1 -1
  202. package/dist/mint-components/{p-df1b9e5b.js → p-251e7567.js} +1 -1
  203. package/dist/mint-components/{p-d5a682bf.system.js → p-2a414b2e.system.js} +1 -1
  204. package/dist/mint-components/p-2c2dfdb3.system.entry.js +1 -0
  205. package/dist/mint-components/p-2f1bc59a.entry.js +1 -0
  206. package/dist/mint-components/{p-f710f9d7.entry.js → p-339ae6e1.entry.js} +3 -3
  207. package/dist/mint-components/{p-d3cd5ec5.entry.js → p-33c683e0.entry.js} +1 -1
  208. package/dist/mint-components/{p-88eab2f3.system.js → p-344340aa.system.js} +1 -1
  209. package/dist/mint-components/p-35f24af0.system.entry.js +1 -0
  210. package/dist/mint-components/{p-b689baf8.system.js → p-370a1a73.system.js} +1 -1
  211. package/dist/mint-components/{p-13b2638b.entry.js → p-3ba7f54e.entry.js} +2 -2
  212. package/dist/mint-components/p-3ed71bef.system.js +1 -0
  213. package/dist/mint-components/{p-9546c6db.entry.js → p-40599315.entry.js} +1 -1
  214. package/dist/mint-components/p-448c1de0.system.entry.js +1 -0
  215. package/dist/mint-components/{p-b388ad61.system.entry.js → p-454396dd.system.entry.js} +1 -1
  216. package/dist/mint-components/p-472d7d7e.entry.js +1 -0
  217. package/dist/mint-components/p-4869e1d6.js +391 -0
  218. package/dist/mint-components/p-4bcbc469.system.entry.js +1 -0
  219. package/dist/mint-components/{p-fca0dc98.system.js → p-4e48267b.system.js} +1 -1
  220. package/dist/mint-components/p-52abb8e5.entry.js +1 -0
  221. package/dist/mint-components/{p-561262cd.entry.js → p-59bc9a2d.entry.js} +2 -2
  222. package/dist/mint-components/{p-c5429a81.system.js → p-60926595.system.js} +1 -1
  223. package/dist/mint-components/{p-fd51e80e.system.js → p-64815e22.system.js} +1 -1
  224. package/dist/mint-components/{p-921a134c.entry.js → p-64c48ad5.entry.js} +1 -1
  225. package/dist/mint-components/p-683ce644.system.js +1 -0
  226. package/dist/mint-components/p-6a84e37c.js +1 -0
  227. package/dist/mint-components/{p-5532c083.system.entry.js → p-6afb4f48.system.entry.js} +1 -1
  228. package/dist/mint-components/p-6bf41e0d.system.js +1 -0
  229. package/dist/mint-components/p-6cddd2fc.system.entry.js +1 -0
  230. package/dist/mint-components/{p-907c3344.system.entry.js → p-6d2a23e7.system.entry.js} +1 -1
  231. package/dist/mint-components/{p-44b12b2e.system.js → p-6ffed27b.system.js} +1 -1
  232. package/dist/mint-components/{p-598a1715.entry.js → p-778f4b27.entry.js} +1 -1
  233. package/dist/mint-components/{p-9c9a46cf.entry.js → p-77b22de8.entry.js} +2 -2
  234. package/dist/mint-components/p-78921f0a.system.entry.js +1 -0
  235. package/dist/mint-components/p-7a725b40.js +1 -0
  236. package/dist/mint-components/{p-7487f23c.system.js → p-7d5e0645.system.js} +1 -1
  237. package/dist/mint-components/p-84f8dc6c.system.js +1 -0
  238. package/dist/mint-components/{p-c2f23665.system.js → p-85e31229.system.js} +1 -1
  239. package/dist/mint-components/{p-be96cc00.system.entry.js → p-881b97d3.system.entry.js} +1 -1
  240. package/dist/mint-components/{p-d943d0e8.system.entry.js → p-88aac6a9.system.entry.js} +1 -1
  241. package/dist/mint-components/{p-f3e7bdd4.system.entry.js → p-88c69048.system.entry.js} +1 -1
  242. package/dist/mint-components/{p-18ccb4ad.system.entry.js → p-89d376f3.system.entry.js} +1 -1
  243. package/dist/mint-components/{p-2a6133dc.entry.js → p-90da6dce.entry.js} +1 -1
  244. package/dist/mint-components/{p-cac769d2.entry.js → p-916d5e78.entry.js} +1 -1
  245. package/dist/mint-components/{p-1273b20d.entry.js → p-91cf7cd4.entry.js} +1 -1
  246. package/dist/mint-components/{p-cd45b39f.system.js → p-952c0cb6.system.js} +1 -1
  247. package/dist/mint-components/{p-6d0e3263.system.entry.js → p-954cd130.system.entry.js} +1 -1
  248. package/dist/mint-components/{p-1a8a8795.entry.js → p-959400ac.entry.js} +1 -1
  249. package/dist/mint-components/p-96ab6e6b.js +1 -0
  250. package/dist/mint-components/{p-7dceeaf0.entry.js → p-99bd299b.entry.js} +1 -1
  251. package/dist/mint-components/{p-7cf5c24c.js → p-9bc18724.js} +1 -1
  252. package/dist/mint-components/{p-79bd1db8.system.js → p-9c984615.system.js} +1 -1
  253. package/dist/mint-components/{p-20e29ff1.system.entry.js → p-9d15d169.system.entry.js} +1 -1
  254. package/dist/mint-components/{p-9ae356ae.system.js → p-9e1b0266.system.js} +1 -1
  255. package/dist/mint-components/{p-d8f59e94.system.entry.js → p-9e6c3933.system.entry.js} +1 -1
  256. package/dist/mint-components/{p-d567f968.system.entry.js → p-a262adf8.system.entry.js} +1 -1
  257. package/dist/mint-components/p-a7c8003b.entry.js +1 -0
  258. package/dist/mint-components/{p-70554628.system.entry.js → p-a8c90696.system.entry.js} +1 -1
  259. package/dist/mint-components/{p-957ebdc4.system.entry.js → p-aca4988d.system.entry.js} +1 -1
  260. package/dist/mint-components/{p-ab49b4e4.js → p-ad4bf4fa.js} +1 -1
  261. package/dist/mint-components/{p-571b55b4.js → p-af532d79.js} +1 -1
  262. package/dist/mint-components/p-b0568235.system.entry.js +1 -0
  263. package/dist/mint-components/{p-e5802992.system.entry.js → p-b3b5b4b7.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-fd3dacb9.system.entry.js → p-b6b8e4f5.system.entry.js} +1 -1
  265. package/dist/mint-components/{p-9a9fc2aa.system.entry.js → p-baa8c445.system.entry.js} +1 -1
  266. package/dist/mint-components/{p-2f2b220a.entry.js → p-bb669aaf.entry.js} +2 -2
  267. package/dist/mint-components/{p-09c7f320.entry.js → p-bd52e601.entry.js} +1 -1
  268. package/dist/mint-components/{p-5b2abce0.system.js → p-bf435047.system.js} +1 -1
  269. package/dist/mint-components/{p-dd5ca1b2.entry.js → p-c00bfb48.entry.js} +2 -2
  270. package/dist/mint-components/{p-82f2efa4.entry.js → p-c0e61eab.entry.js} +1 -1
  271. package/dist/mint-components/p-c3e83277.js +1 -0
  272. package/dist/mint-components/p-c53a801b.system.js +1 -0
  273. package/dist/mint-components/p-c8610d0c.js +1 -0
  274. package/dist/mint-components/p-c8878e79.entry.js +1 -0
  275. package/dist/mint-components/p-c8cae3bc.system.js +1 -0
  276. package/dist/mint-components/{p-17cef69b.system.entry.js → p-ccf70291.system.entry.js} +1 -1
  277. package/dist/mint-components/p-ce72e90a.entry.js +1 -0
  278. package/dist/mint-components/{p-5e8996cd.system.js → p-ce9e7c98.system.js} +1 -1
  279. package/dist/mint-components/{p-46ef82ed.js → p-d49e2f7a.js} +1 -1
  280. package/dist/mint-components/{p-3539d14d.js → p-d64754c2.js} +1 -1
  281. package/dist/mint-components/{p-214ad777.entry.js → p-d745102d.entry.js} +1 -1
  282. package/dist/mint-components/{p-cefb6938.system.entry.js → p-dc93e1e2.system.entry.js} +1 -1
  283. package/dist/mint-components/{p-4bdfee88.entry.js → p-dd0d79bf.entry.js} +1 -1
  284. package/dist/mint-components/{p-da99e3c7.system.entry.js → p-ddcc5163.system.entry.js} +1 -1
  285. package/dist/mint-components/{p-f40d3edd.js → p-dec50ec2.js} +1 -1
  286. package/dist/mint-components/{p-eb8ed21b.entry.js → p-e01d0da5.entry.js} +1 -1
  287. package/dist/mint-components/{p-67cf72f0.system.entry.js → p-e4c6ebf1.system.entry.js} +1 -1
  288. package/dist/mint-components/p-e680ae37.entry.js +9 -0
  289. package/dist/mint-components/p-e8e07d8d.system.entry.js +1 -0
  290. package/dist/mint-components/p-eff38271.js +1 -0
  291. package/dist/mint-components/{p-9fe25b2d.system.entry.js → p-f0806232.system.entry.js} +1 -1
  292. package/dist/mint-components/{p-04cb0dbf.system.entry.js → p-f1d51cb2.system.entry.js} +1 -1
  293. package/dist/mint-components/{p-65106298.js → p-f3053c61.js} +1 -1
  294. package/dist/mint-components/p-f6735430.entry.js +1 -0
  295. package/dist/mint-components/{p-26192c42.system.entry.js → p-fa9efe00.system.entry.js} +1 -1
  296. package/dist/mint-components/{p-20e2037d.system.entry.js → p-fb1c30c3.system.entry.js} +1 -1
  297. package/dist/mint-components/{p-8d6eda67.entry.js → p-fbdf0738.entry.js} +1 -1
  298. package/dist/mint-components/{p-2446212d.js → p-fd2c5407.js} +1 -1
  299. package/dist/mint-components/{p-80266bc5.js → p-fd3ab606.js} +2 -2
  300. package/dist/mint-components/{p-11be93f5.entry.js → p-fe451a32.entry.js} +1 -1
  301. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email-view.d.ts +1 -0
  302. package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +2 -0
  303. package/docs/docs.docx +0 -0
  304. package/package.json +7 -4
  305. package/dist/esm-es5/ShadowViewAddon-c22043d9.js +0 -1
  306. package/dist/esm-es5/sqm-portal-profile-view-13f0ef79.js +0 -1
  307. package/dist/esm-es5/sqm-portal-verify-email-view-283bf637.js +0 -1
  308. package/dist/esm-es5/useRegistrationFormState-0e09e2ca.js +0 -1
  309. package/dist/mint-components/p-023145f0.entry.js +0 -1
  310. package/dist/mint-components/p-05bfb3bf.js +0 -391
  311. package/dist/mint-components/p-188ad1f6.system.entry.js +0 -1
  312. package/dist/mint-components/p-1fe0ea89.entry.js +0 -1
  313. package/dist/mint-components/p-3a5d82b7.system.entry.js +0 -1
  314. package/dist/mint-components/p-44c46a30.system.entry.js +0 -1
  315. package/dist/mint-components/p-4ca22e1b.js +0 -1
  316. package/dist/mint-components/p-4d9744bf.js +0 -1
  317. package/dist/mint-components/p-5cd6d4ed.system.entry.js +0 -1
  318. package/dist/mint-components/p-6a626a88.system.js +0 -1
  319. package/dist/mint-components/p-74872e41.entry.js +0 -1
  320. package/dist/mint-components/p-7f6a6657.system.js +0 -1
  321. package/dist/mint-components/p-90188bc1.entry.js +0 -1
  322. package/dist/mint-components/p-9149f891.entry.js +0 -1
  323. package/dist/mint-components/p-9b400b7e.system.entry.js +0 -1
  324. package/dist/mint-components/p-9cb1ab69.system.js +0 -1
  325. package/dist/mint-components/p-9f449032.entry.js +0 -1
  326. package/dist/mint-components/p-b153fc0c.system.js +0 -1
  327. package/dist/mint-components/p-b2b22a2a.entry.js +0 -9
  328. package/dist/mint-components/p-b4984452.js +0 -1
  329. package/dist/mint-components/p-b5ee2781.js +0 -1
  330. package/dist/mint-components/p-b67f5743.system.js +0 -1
  331. package/dist/mint-components/p-be584089.system.entry.js +0 -1
  332. package/dist/mint-components/p-c3a388cd.js +0 -1
  333. package/dist/mint-components/p-c74a8f95.entry.js +0 -1
  334. package/dist/mint-components/p-cd96e792.entry.js +0 -1
  335. package/dist/mint-components/p-cef64e28.system.entry.js +0 -1
  336. package/dist/mint-components/p-d1c7aed7.js +0 -1
  337. package/dist/mint-components/p-d4b174e1.system.js +0 -1
  338. package/dist/mint-components/p-e98b8f9a.system.entry.js +0 -1
  339. package/dist/mint-components/p-f5f25aba.js +0 -1
@@ -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 = [
@@ -1751,7 +1751,7 @@ const OtherRegionSlotView = (props) => {
1751
1751
  };
1752
1752
  const IndirectTaxNumberInput = ({ label, error, name, }) => {
1753
1753
  var _a;
1754
- return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label", class: classes.Input, label: label, disabled: states.loading || states.disabled, value: formState[name] }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a[name]) && {
1754
+ return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, label: label, disabled: states.loading || states.disabled, value: formState[name] }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a[name]) && {
1755
1755
  class: classes.ErrorInput,
1756
1756
  helpText: error,
1757
1757
  }), { id: name, name: `/${name}` })));
@@ -1759,13 +1759,13 @@ const OtherRegionSlotView = (props) => {
1759
1759
  const SpainFields = () => {
1760
1760
  var _a, _b;
1761
1761
  return (h("div", { class: classes.ConditionalInputsContainer },
1762
- h("sl-select", Object.assign({ required: true, exportparts: "label: input-label", class: classes.Input, value: formState.subRegion, label: text.subRegion, disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
1762
+ h("sl-select", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, value: formState.subRegion, label: text.subRegion, disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
1763
1763
  class: classes.ErrorInput,
1764
1764
  helpText: formatErrorMessage(text.subRegion, text.error.fieldRequiredError),
1765
1765
  }), { id: "subRegion", name: "/subRegion" }), props.data.esRegions.map((r) => (h("sl-menu-item", { value: r.regionCode }, r.displayName)))),
1766
1766
  h(IndirectTaxNumberInput, { name: "indirectTaxNumber", label: getTaxFieldLabel("VAT"), error: getTaxFieldError("VAT") }),
1767
- h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label", checked: formState.hasSubRegionTaxNumber, "onSl-change": callbacks.onSpainToggle, disabled: states.disabled || states.isPartner }, text.isRegisteredSubRegionIncomeTax),
1768
- formState.hasSubRegionTaxNumber && (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label", class: classes.Input, label: text.subRegionTaxNumberLabel, disabled: states.loading || states.disabled, value: formState.subRegionTaxNumber }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.subRegionTaxNumber) && {
1767
+ h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", checked: formState.hasSubRegionTaxNumber, "onSl-change": callbacks.onSpainToggle, disabled: states.disabled || states.isPartner }, text.isRegisteredSubRegionIncomeTax),
1768
+ formState.hasSubRegionTaxNumber && (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, label: text.subRegionTaxNumberLabel, disabled: states.loading || states.disabled, value: formState.subRegionTaxNumber }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.subRegionTaxNumber) && {
1769
1769
  class: classes.ErrorInput,
1770
1770
  helpText: formatErrorMessage(text.subRegionTaxNumberLabel, text.error.fieldRequiredError),
1771
1771
  }), { id: "subRegionTaxNumber", name: "/subRegionTaxNumber" })))));
@@ -1775,14 +1775,14 @@ const OtherRegionSlotView = (props) => {
1775
1775
  const { classes } = sheet$1;
1776
1776
  const currentTaxType = (_a = INDIRECT_TAX_PROVINCES === null || INDIRECT_TAX_PROVINCES === void 0 ? void 0 : INDIRECT_TAX_PROVINCES.find((p) => p.regionCode === formState.province)) === null || _a === void 0 ? void 0 : _a.taxType;
1777
1777
  return (h("div", { class: classes.ConditionalInputsContainer },
1778
- h("sl-select", Object.assign({ required: true, value: formState.province, exportparts: "label: input-label", class: classes.Input, label: text.province, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("province", e) }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.province) && {
1778
+ h("sl-select", Object.assign({ required: true, value: formState.province, exportparts: "label: input-label, base: input-base", class: classes.Input, label: text.province, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("province", e) }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.province) && {
1779
1779
  class: classes.ErrorInput,
1780
1780
  helpText: formatErrorMessage(text.province, text.error.fieldRequiredError),
1781
1781
  }), { id: "province", name: "/province" }), props.data.provinces.map((p) => (h("sl-menu-item", { value: p.regionCode }, p.displayName)))),
1782
1782
  currentTaxType === "GST" && (h(IndirectTaxNumberInput, { label: getTaxFieldLabel("GST"), error: getTaxFieldError("GST"), name: "indirectTaxNumber" })),
1783
1783
  currentTaxType === "HST" && (h(IndirectTaxNumberInput, { label: getTaxFieldLabel("HST"), error: getTaxFieldError("HST"), name: "indirectTaxNumber" })),
1784
1784
  formState.province === "QUEBEC" && (h("div", { class: classes.ConditionalInputsContainer },
1785
- h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label", "onSl-change": callbacks.onQstToggle, checked: formState.hasQst, disabled: states.isPartner || states.disabled }, text.isRegisteredQST),
1785
+ h("sl-checkbox", { class: classes.Checkbox, exportparts: "label: input-label, base: input-base", "onSl-change": callbacks.onQstToggle, checked: formState.hasQst, disabled: states.isPartner || states.disabled }, text.isRegisteredQST),
1786
1786
  formState.hasQst && (h(IndirectTaxNumberInput, { name: "qstNumber", label: text.qstNumber, error: formatErrorMessage(text.qstNumber, text.error.fieldRequiredError) }))))));
1787
1787
  };
1788
1788
  const getActiveForm = (selectedRegion) => {
@@ -1793,7 +1793,7 @@ const OtherRegionSlotView = (props) => {
1793
1793
  case "ES":
1794
1794
  return h(SpainFields, null);
1795
1795
  default:
1796
- return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label", class: classes.Input, value: formState.indirectTaxNumber, label: getTaxFieldLabel(vatLabels[selectedRegion] || "GENERAL"), disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
1796
+ return (h("sl-input", Object.assign({ required: true, exportparts: "label: input-label, base: input-base", class: classes.Input, value: formState.indirectTaxNumber, label: getTaxFieldLabel(vatLabels[selectedRegion] || "GENERAL"), disabled: states.loading || states.disabled }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.indirectTaxNumber) && {
1797
1797
  class: classes.ErrorInput,
1798
1798
  helpText: getTaxFieldError(vatLabels[selectedRegion] || "GENERAL"),
1799
1799
  }), { id: "indirectTaxNumber", name: "/indirectTaxNumber" })));
@@ -1807,7 +1807,7 @@ const OtherRegionSlotView = (props) => {
1807
1807
  vanillaStyle),
1808
1808
  h("hr", { class: classes.HR }),
1809
1809
  h("div", { class: classes.InputContainer },
1810
- h("sl-select", Object.assign({ required: true, class: classes.Input, value: formState.selectedRegion, exportparts: "label: input-label", label: text.selectedRegion, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("selectedRegion", e) }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.selectedRegion) && {
1810
+ h("sl-select", Object.assign({ required: true, class: classes.Input, value: formState.selectedRegion, exportparts: "label: input-label, base: input-base", label: text.selectedRegion, disabled: states.loading || states.disabled, "onSl-select": (e) => callbacks.onFormChange("selectedRegion", e) }, (((_a = formState.errors) === null || _a === void 0 ? void 0 : _a.selectedRegion) && {
1811
1811
  class: classes.ErrorInput,
1812
1812
  helpText: formatErrorMessage(text.selectedRegion, text.error.fieldRequiredError),
1813
1813
  }), { id: "selectedRegion", name: "/selectedRegion" }),
@@ -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: {
@@ -489,7 +489,7 @@ function PortalResetPasswordView(props) {
489
489
  h("style", { type: "text/css" },
490
490
  vanillaStyle,
491
491
  styleString$1),
492
- h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/password", label: states.content.fieldLabel || "Password", required: true, disabled: ((_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.loading) || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), validationError: ({ value }) => {
492
+ h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: states.content.fieldLabel || "Password", required: true, disabled: ((_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.loading) || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), validationError: ({ value }) => {
493
493
  if (!value) {
494
494
  return "Cannot be empty";
495
495
  }
@@ -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;
@@ -34,7 +34,7 @@ function PortalForgotPasswordView(props) {
34
34
  h("div", { part: "erroralert-text" }, props.states.error))),
35
35
  props.states.success && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
36
36
  h("div", { part: "successalert-text" }, content.successAlertText))),
37
- h("sl-input", { exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
37
+ h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
38
38
  h("div", { class: sheet.classes.ButtonsContainer },
39
39
  h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Reset Password"),
40
40
  h("div", { class: sheet.classes.SecondaryButton }, content.secondaryButton)))));
@@ -1,12 +1,12 @@
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';
7
7
  import './JSS-67b5cff8.js';
8
8
  import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-a764ad67.js';
9
+ import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
10
10
 
11
11
  function usePortalForgotPassword(props) {
12
12
  var _a, _b, _c, _d, _e, _f, _g;
@@ -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
 
@@ -67,16 +67,16 @@ function PortalProfileView(props) {
67
67
  error && (h("sqm-form-message", { class: sheet.classes.Error, type: "error", exportparts: "erroralert-icon" },
68
68
  h("div", { part: "erroralert-text" }, error))),
69
69
  h("div", { class: sheet.classes.NameInputContainer },
70
- h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_c = states.user) === null || _c === void 0 ? void 0 : _c.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, ((errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
70
+ h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label, base: input-base", value: (_c = states.user) === null || _c === void 0 ? void 0 : _c.firstName, onInput: callbacks.onChange, label: text.firstnametext, disabled: states.loading }, ((errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
71
71
  ? { class: "ErrorStyles", helpText: text.fieldEmptyText }
72
72
  : []), { id: "firstName", name: "firstName", error: (errors === null || errors === void 0 ? void 0 : errors.firstName) && (errors === null || errors === void 0 ? void 0 : errors.firstName.status) !== "valid"
73
73
  ? errors === null || errors === void 0 ? void 0 : errors.firstName.message : undefined })),
74
- h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label", value: (_d = states.user) === null || _d === void 0 ? void 0 : _d.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, ((errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
74
+ h("sl-input", Object.assign({ class: sheet.classes.NameInputStyle, exportparts: "label: input-label, base: input-base", value: (_d = states.user) === null || _d === void 0 ? void 0 : _d.lastName, onInput: callbacks.onChange, label: text.lastnametext, disabled: states.loading, id: "lastName", name: "lastName" }, ((errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
75
75
  ? { class: "ErrorStyles", helpText: text.fieldEmptyText }
76
76
  : []), { error: (errors === null || errors === void 0 ? void 0 : errors.lastName) && (errors === null || errors === void 0 ? void 0 : errors.lastName.status) !== "valid"
77
77
  ? errors === null || errors === void 0 ? void 0 : errors.lastName.message : undefined }))),
78
- h("sl-input", { label: text.emailtext, value: (_e = states.user) === null || _e === void 0 ? void 0 : _e.email, exportparts: "label: input-label", disabled: true }),
79
- states.showCountry && (h("sl-input", { label: text.countrytext, value: country, exportparts: "label: input-label", disabled: true })),
78
+ h("sl-input", { label: text.emailtext, value: (_e = states.user) === null || _e === void 0 ? void 0 : _e.email, exportparts: "label: input-label, base: input-base", disabled: true }),
79
+ states.showCountry && (h("sl-input", { label: text.countrytext, value: country, exportparts: "label: input-label, base: input-base", disabled: true })),
80
80
  h("sl-button", { type: "primary", loading: states.loading, disabled: states.submitDisabled, onClick: (e) => {
81
81
  callbacks.onSubmit(e);
82
82
  }, submit: true }, text.submitChangeButtonText))));
@@ -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-13f0ef79.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 = {
@@ -53,7 +53,7 @@ function PortalRegistrationFormView(props) {
53
53
  h("div", { part: "erroralert-text" }, states.registrationFormState.disabledMessage))) : (states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
54
54
  h("div", { part: "erroralert-text" }, props.states.error)))),
55
55
  content.formData,
56
- !states.hideInputs && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), required: true, validationError: ({ value }) => {
56
+ !states.hideInputs && (h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled), required: true, validationError: ({ value }) => {
57
57
  if (!value) {
58
58
  return content.requiredFieldErrorMessage;
59
59
  }
@@ -72,7 +72,7 @@ function PortalRegistrationFormView(props) {
72
72
  : [])))),
73
73
  !states.hideInputs && (h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": !states.enablePasswordValidation, meetsRequirementsText: content.meetsRequirementsText, doesNotMeetRequirementsText: content.doesNotMeetRequirementsText, minErrorText: content.minErrorText, uppercaseErrorText: content.uppercaseErrorText, lowercaseErrorText: content.lowercaseErrorText, hasErrorText: content.hasErrorText })),
74
74
  content.passwordField,
75
- !states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading || ((_l = states.registrationFormState) === null || _l === void 0 ? void 0 : _l.disabled), required: true }, (((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.confirmPassword) ? {
75
+ !states.hideInputs && states.confirmPassword && (h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading || ((_l = states.registrationFormState) === null || _l === void 0 ? void 0 : _l.disabled), required: true }, (((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.confirmPassword) ? {
76
76
  value: (_q = (_p = states.registrationFormState) === null || _p === void 0 ? void 0 : _p.initialData) === null || _q === void 0 ? void 0 : _q.confirmPassword,
77
77
  }
78
78
  : {}), (((_s = (_r = states.registrationFormState) === null || _r === void 0 ? void 0 : _r.validationErrors) === null || _s === void 0 ? void 0 : _s.confirmPassword) ? {
@@ -69,7 +69,7 @@ function PortalResetPasswordView(props) {
69
69
  props.states.error && (h("sqm-form-message", { type: "error", class: sheet.classes.Banner, exportparts: "erroralert-icon" },
70
70
  h("div", { part: "erroralert-text" }, props.states.error))),
71
71
  !states.reset && (h("sqm-password-field", { fieldLabel: states.content.passwordFieldLabel, demoData: states.passwordDemoData, meetsRequirementsText: states.content.meetsRequirementsText, doesNotMeetRequirementsText: states.content.doesNotMeetRequirementsText, minErrorText: states.content.minErrorText, uppercaseErrorText: states.content.uppercaseErrorText, lowercaseErrorText: states.content.lowercaseErrorText, hasErrorText: states.content.hasErrorText })),
72
- !states.reset && states.confirmPassword && (h("sl-input", { exportparts: "label: input-label", type: "password", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, disabled: states.loading, required: true })),
72
+ !states.reset && states.confirmPassword && (h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: states.content.confirmPasswordFieldLabel, disabled: states.loading, required: true })),
73
73
  h("div", { class: sheet.classes.ButtonsContainer },
74
74
  h("sl-button", { class: sheet.classes.ContinueButton, submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, states.reset
75
75
  ? states.content.continueButtonText
@@ -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 { 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';
7
7
  import './JSS-67b5cff8.js';
8
8
  import { s as sanitizeUrlPath } from './utils-334c1e34.js';
9
9
  import './sqm-text-span-view-8d140661.js';
10
- import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-d3e726a9.js';
10
+ import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-79a85e02.js';
11
11
 
12
12
  function usePortalResetPassword(props) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
@@ -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
 
@@ -1,23 +1,19 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { f as useEffect, n as h } from './stencil-hooks.module-8032b139.js';
3
- import { Q, j as an, $ as $n, b as setUserIdentity, 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 { Q, j as an, $ as $n, b as setUserIdentity, 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 { s as sanitizeUrlPath, g as getProps } from './utils-334c1e34.js';
8
8
  import './sqm-text-span-view-8d140661.js';
9
- import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-283bf637.js';
9
+ import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-d7ea2c56.js';
10
10
 
11
- const SUBMITTED_CONTEXT = "sq:verify-submitted";
12
- function setSubmitted(submitted) {
13
- // using window due to dom-context getting reset on re-render
14
- window[SUBMITTED_CONTEXT] = submitted;
15
- }
11
+ let globalPromise = null;
16
12
  function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyEmailText, verifyInvalidText, networkErrorMessage, continueText, }) {
17
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
18
- const submitted = window[SUBMITTED_CONTEXT];
13
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
14
+ const [completed, setCompleted] = useState(false);
15
+ const [successful, setSuccessful] = useState(false);
19
16
  const userIdent = Q();
20
- const email = (_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.email;
21
17
  const [request, { loading, data, errors }] = an();
22
18
  const urlParams = new URLSearchParams($n.location.search);
23
19
  const oobCode = urlParams.get("oobCode");
@@ -26,7 +22,9 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
26
22
  // derived from useMutation in component boilerplate initialState
27
23
  const disableContinue = data === undefined && errors === undefined && !!oobCode;
28
24
  // if logged out, userIdent?.managedIdentity?.emailVerified will be falsey, even if verification was successful
29
- const verified = !!(((_b = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _b === void 0 ? void 0 : _b.emailVerified) || (data === null || data === void 0 ? void 0 : data.verifyManagedIdentityEmail.success));
25
+ 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) ||
26
+ successful);
27
+ const validEmail = ((_c = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _c === void 0 ? void 0 : _c.email) === oobEmail;
30
28
  const failed = () => {
31
29
  return $n.push({
32
30
  pathname: failedPage,
@@ -38,48 +36,44 @@ function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyE
38
36
  const url = sanitizeUrlPath(nextPageOverride || nextPage);
39
37
  $n.push(url.href);
40
38
  };
41
- const submit = async () => {
42
- console.debug("Submit called");
43
- setSubmitted(true);
44
- await request({ oobCode });
39
+ const logout = () => {
40
+ setTimeout(() => {
41
+ setUserIdentity(undefined);
42
+ gotoNextPage();
43
+ }, 3000);
44
+ };
45
+ const login = () => {
46
+ setTimeout(gotoNextPage, 3000);
45
47
  };
46
- console.log({ email, oobEmail, data, userIdent });
47
48
  useEffect(() => {
48
- const logout = async () => {
49
- var _a;
50
- if (!((_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified)) {
51
- await submit();
49
+ const verify = async () => {
50
+ if (!globalPromise)
51
+ globalPromise = request({ oobCode });
52
+ const result = await globalPromise;
53
+ if (!(result instanceof Error) &&
54
+ result.verifyManagedIdentityEmail.success) {
55
+ // Needs to be explicitly updated if multiple renders have occured
56
+ setSuccessful(true);
52
57
  }
53
- setTimeout(() => {
54
- gotoNextPage();
55
- setUserIdentity(undefined);
56
- setSubmitted(false);
57
- }, 3000);
58
+ setCompleted(true);
58
59
  };
59
- // verification successful but user in context is not verified
60
- // or mismatch between logged in user and user associated with oobCode
61
- if (email !== oobEmail) {
62
- console.debug("MISMATCH");
63
- logout();
64
- return;
65
- // Already verified, begin redirect
66
- }
67
- else if (verified) {
68
- console.debug("VERIFIED");
69
- setTimeout(() => {
70
- gotoNextPage();
71
- setSubmitted(false);
72
- }, 3000);
60
+ verify();
61
+ }, []);
62
+ useEffect(() => {
63
+ if (!completed)
73
64
  return;
74
- }
75
- if (userIdent && !data && !submitted && oobCode)
76
- submit();
77
- }, [verified, submitted, data, userIdent]);
65
+ if (verified && validEmail)
66
+ login();
67
+ else
68
+ logout();
69
+ }, [completed, verified]);
78
70
  return {
79
71
  states: {
80
- loading: loading || disableContinue,
81
- error: ((_f = (_e = (_d = (_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_j = (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) ||
82
- ((errors === null || errors === void 0 ? void 0 : errors.message) && networkErrorMessage),
72
+ loading: loading || !completed,
73
+ disableContinue,
74
+ 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) ||
75
+ (((errors === null || errors === void 0 ? void 0 : errors.message) || !validEmail) && networkErrorMessage),
76
+ success: completed && (verified || validEmail),
83
77
  verified,
84
78
  },
85
79
  data: {
@@ -1,16 +1,16 @@
1
1
  import { r as registerInstance, h as h$1, g as getElement, c as Host } from './index-17b4da69.js';
2
- import { n as h, j as useReducer, u as useMemo, f as useEffect } from './stencil-hooks.module-8032b139.js';
3
- import { i as intl } from './global-938df634.js';
4
- import { i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { n as h, j as useReducer, u as useMemo, f as useEffect } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { i as intl } from './global-56126a31.js';
4
+ import { 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 { c as createStyleSheet } from './JSS-67b5cff8.js';
8
8
  import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
9
- import { a as useRequestRerender, u as useRerenderListener } from './re-render-b61a14be.js';
10
- import { u as useChildElements } from './useChildElements-cd29b2fc.js';
11
- import { l as luxon } from './luxon-4706d11b.js';
12
- import { g as getPaypalMeta } from './mockRewardData-6f03c9fb.js';
13
- import { u as useReferralTable, t as tryMethod } from './useReferralTable-669cae58.js';
9
+ import { a as useRequestRerender, u as useRerenderListener } from './re-render-6d9db92d.js';
10
+ import { u as useChildElements } from './useChildElements-ab0424a8.js';
11
+ import { l as luxon } from './luxon-7600be8d.js';
12
+ import { g as getPaypalMeta } from './mockRewardData-0eb6e778.js';
13
+ import { u as useReferralTable, t as tryMethod } from './useReferralTable-1b2f12cd.js';
14
14
  import { l as luxonLocale } from './utils-334c1e34.js';
15
15
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
16
16
 
@@ -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
- import { E as EmailRegistrationView } from './email-registration-view-4a4202e7.js';
9
- import './useRegistrationFormState-0e09e2ca.js';
10
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-0d27c474.js';
8
+ import { E as EmailRegistrationView } from './email-registration-view-07d80492.js';
9
+ import './useRegistrationFormState-afc73a09.js';
10
+ import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-482dea49.js';
11
11
 
12
12
  const ReferredRegistration = class {
13
13
  constructor(hostRef) {
@@ -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
  import './JSS-67b5cff8.js';
4
4
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
5
5
 
@@ -1,7 +1,7 @@
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';
3
- import './index.module-ba0ed7a8.js';
4
- import { a as useRequestRerender } from './re-render-b61a14be.js';
2
+ import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
+ import './index.module-b4a6f095.js';
4
+ import { a as useRequestRerender } from './re-render-6d9db92d.js';
5
5
 
6
6
  const RewardTableCustomerNoteColumn = class {
7
7
  constructor(hostRef) {
@@ -1,16 +1,16 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
- import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './stencil-hooks.module-8032b139.js';
3
- import { i as intl } from './global-938df634.js';
4
- import { d as dist, Q, H, L, y as yn, k as kn, i as isDemo } from './index.module-ba0ed7a8.js';
2
+ import { b as browser, j as useReducer, f as useEffect, n as h$1, u as useMemo } from './stencil-hooks.module-ac12ca1c.js';
3
+ import { i as intl } from './global-56126a31.js';
4
+ import { d as dist, Q, H, L, y as yn, k as kn, 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 { c as createStyleSheet } from './JSS-67b5cff8.js';
8
8
  import { G as GenericTableView } from './GenericTableView-d59d8ab4.js';
9
- import { u as useRerenderListener, a as useRequestRerender } from './re-render-b61a14be.js';
10
- import { u as useChildElements } from './useChildElements-cd29b2fc.js';
11
- import { l as luxon } from './luxon-4706d11b.js';
12
- import { m as mockRewardData } from './mockRewardData-6f03c9fb.js';
13
- import { g as generateUserError } from './useReferralTable-669cae58.js';
9
+ import { u as useRerenderListener, a as useRequestRerender } from './re-render-6d9db92d.js';
10
+ import { u as useChildElements } from './useChildElements-ab0424a8.js';
11
+ import { l as luxon } from './luxon-7600be8d.js';
12
+ import { m as mockRewardData } from './mockRewardData-0eb6e778.js';
13
+ import { g as generateUserError } from './useReferralTable-1b2f12cd.js';
14
14
  import { l as luxonLocale } from './utils-334c1e34.js';
15
15
 
16
16
  const debug = browser("sq:useRewardsTable");