@saasquatch/mint-components 1.12.0-0 → 1.12.0-2

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 (371) hide show
  1. package/dist/cjs/{ShadowViewAddon-88821c64.js → ShadowViewAddon-13173901.js} +33 -32
  2. package/dist/cjs/{global-c3637175.js → global-e4ebdbcc.js} +161 -10
  3. package/dist/cjs/index-56d1fa5b.js +2227 -0
  4. package/dist/cjs/{index.module-b8d9d0ba.js → index.module-236d0403.js} +1392 -228
  5. package/dist/cjs/loader.cjs.js +4 -4
  6. package/dist/cjs/{luxon-05098e19.js → luxon-20eafbd9.js} +1 -1
  7. package/dist/cjs/mint-components.cjs.js +4 -4
  8. package/dist/cjs/{mockRewardData-4258e067.js → mockRewardData-3c470512.js} +1 -1
  9. package/dist/cjs/{re-render-5bde3d2e.js → re-render-5de6631a.js} +2 -2
  10. package/dist/cjs/sqm-asset-card.cjs.entry.js +3 -3
  11. package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +409 -440
  12. package/dist/cjs/sqm-big-stat_39.cjs.entry.js +127 -73
  13. package/dist/cjs/sqm-close-button.cjs.entry.js +3 -3
  14. package/dist/cjs/sqm-code-verification.cjs.entry.js +38 -34
  15. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  16. package/dist/cjs/sqm-email-verification.cjs.entry.js +34 -10
  17. package/dist/cjs/sqm-empty_4.cjs.entry.js +6 -6
  18. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  19. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  20. package/dist/cjs/sqm-header-logo.cjs.entry.js +2 -2
  21. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  22. package/dist/cjs/{sqm-invoice-table-view-ce9a34ac.js → sqm-invoice-table-view-dbba9bb4.js} +1 -1
  23. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +9 -8
  24. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +8 -7
  25. package/dist/cjs/{sqm-navigation-sidebar-item-view-a2135064.js → sqm-navigation-sidebar-item-view-fc865ecf.js} +1 -1
  26. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
  27. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +3 -3
  28. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  29. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  30. package/dist/cjs/{sqm-portal-email-verification-view-050dbe0f.js → sqm-portal-email-verification-view-4bc2760b.js} +1 -1
  31. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +5 -5
  32. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +4 -4
  33. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  34. package/dist/cjs/{sqm-portal-profile-view-d97086bc.js → sqm-portal-profile-view-cbab7c80.js} +1 -1
  35. package/dist/cjs/sqm-portal-profile.cjs.entry.js +12 -11
  36. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  37. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +7 -6
  38. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +4 -4
  39. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +3 -3
  40. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +17 -16
  41. package/dist/cjs/sqm-referred-registration.cjs.entry.js +6 -6
  42. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +2 -2
  43. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  44. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +62 -61
  45. package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
  46. package/dist/cjs/sqm-stencilbook.cjs.entry.js +46 -24
  47. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  48. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  49. package/dist/cjs/sqm-text-span.cjs.entry.js +2 -2
  50. package/dist/cjs/sqm-widget-verification-internal.cjs.entry.js +3 -3
  51. package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -3
  52. package/dist/cjs/{stencil-hooks.module-72742a0b.js → stencil-hooks.module-a5a04d8a.js} +1 -4
  53. package/dist/cjs/{useChildElements-410d2435.js → useChildElements-23beb180.js} +2 -2
  54. package/dist/cjs/useEmailVerification-33465f36.js +155 -0
  55. package/dist/cjs/{useInstantAccessRegistration-ccf81eae.js → useInstantAccessRegistration-7c125c00.js} +3 -3
  56. package/dist/cjs/{useReferralTable-824ac152.js → useReferralTable-54d0ba70.js} +14 -13
  57. package/dist/cjs/{useRegistrationFormState-f9ce55be.js → useRegistrationFormState-e7e820d0.js} +2 -2
  58. package/dist/cjs/{utilities-f7de6c04.js → utilities-ac5b5f2c.js} +2 -2
  59. package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +1 -2
  60. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +1 -0
  61. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +16 -3
  62. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +2 -2
  63. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +19 -9
  64. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +6 -58
  65. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +10 -7
  66. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +23 -3
  67. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +17 -4
  68. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +59 -7
  69. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +88 -9
  70. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +29 -8
  71. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +56 -8
  72. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +0 -16
  73. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +0 -79
  74. package/dist/esm/{ShadowViewAddon-65c8679e.js → ShadowViewAddon-72e231a5.js} +7 -6
  75. package/dist/esm/{global-6306a9b8.js → global-adae7650.js} +161 -10
  76. package/dist/esm/index-0c7b14c5.js +2225 -0
  77. package/dist/esm/{index.module-6c840c4e.js → index.module-c0eb7dc2.js} +1389 -222
  78. package/dist/esm/loader.js +4 -4
  79. package/dist/esm/{luxon-7600be8d.js → luxon-63e24900.js} +1 -1
  80. package/dist/esm/mint-components.js +4 -4
  81. package/dist/esm/{mockRewardData-0eb6e778.js → mockRewardData-e6b763d1.js} +1 -1
  82. package/dist/esm/{re-render-1bcfd0de.js → re-render-5882a144.js} +2 -2
  83. package/dist/esm/sqm-asset-card.entry.js +2 -2
  84. package/dist/esm/sqm-banking-info-form_16.entry.js +10 -41
  85. package/dist/esm/sqm-big-stat_39.entry.js +72 -18
  86. package/dist/esm/sqm-close-button.entry.js +2 -2
  87. package/dist/esm/sqm-code-verification.entry.js +36 -32
  88. package/dist/esm/sqm-context-router.entry.js +2 -2
  89. package/dist/esm/sqm-email-verification.entry.js +33 -9
  90. package/dist/esm/sqm-empty_4.entry.js +3 -3
  91. package/dist/esm/sqm-form-message.entry.js +1 -1
  92. package/dist/esm/sqm-graphql-client-provider.entry.js +2 -2
  93. package/dist/esm/sqm-header-logo.entry.js +1 -1
  94. package/dist/esm/sqm-instant-access-registration.entry.js +5 -5
  95. package/dist/esm/{sqm-invoice-table-view-08c03ba7.js → sqm-invoice-table-view-663674f2.js} +1 -1
  96. package/dist/esm/sqm-leaderboard-rank.entry.js +4 -3
  97. package/dist/esm/sqm-logout-current-user.entry.js +3 -2
  98. package/dist/esm/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-4715e546.js} +1 -1
  99. package/dist/esm/sqm-navigation-sidebar-item.entry.js +3 -3
  100. package/dist/esm/sqm-navigation-sidebar.entry.js +2 -2
  101. package/dist/esm/sqm-password-field.entry.js +3 -3
  102. package/dist/esm/sqm-popup-container.entry.js +2 -2
  103. package/dist/esm/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-598eb9a7.js} +1 -1
  104. package/dist/esm/sqm-portal-email-verification.entry.js +4 -4
  105. package/dist/esm/sqm-portal-forgot-password.entry.js +3 -3
  106. package/dist/esm/sqm-portal-logout.entry.js +2 -2
  107. package/dist/esm/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-a0f6ad48.js} +1 -1
  108. package/dist/esm/sqm-portal-profile.entry.js +6 -5
  109. package/dist/esm/sqm-portal-protected-route.entry.js +2 -2
  110. package/dist/esm/sqm-portal-registration-form.entry.js +5 -4
  111. package/dist/esm/sqm-portal-reset-password.entry.js +3 -3
  112. package/dist/esm/sqm-portal-verify-email.entry.js +2 -2
  113. package/dist/esm/sqm-referral-table_11.entry.js +9 -8
  114. package/dist/esm/sqm-referred-registration.entry.js +5 -5
  115. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  116. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +3 -3
  117. package/dist/esm/sqm-rewards-table_9.entry.js +9 -8
  118. package/dist/esm/sqm-scroll.entry.js +1 -1
  119. package/dist/esm/sqm-stencilbook.entry.js +44 -22
  120. package/dist/esm/sqm-tab.entry.js +3 -3
  121. package/dist/esm/sqm-tabs.entry.js +4 -4
  122. package/dist/esm/sqm-text-span.entry.js +1 -1
  123. package/dist/esm/sqm-widget-verification-internal.entry.js +2 -2
  124. package/dist/esm/sqm-widget-verification.entry.js +2 -2
  125. package/dist/esm/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-3c7f7c90.js} +1 -1
  126. package/dist/esm/{useChildElements-fc84e640.js → useChildElements-fe94b660.js} +2 -2
  127. package/dist/esm/useEmailVerification-8f2dc2bd.js +152 -0
  128. package/dist/esm/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-670c1b98.js} +3 -3
  129. package/dist/esm/{useReferralTable-f6ffa103.js → useReferralTable-52008143.js} +5 -4
  130. package/dist/esm/{useRegistrationFormState-849e27f7.js → useRegistrationFormState-4cfd1a8d.js} +2 -2
  131. package/dist/esm/{utilities-443732be.js → utilities-98445452.js} +2 -2
  132. package/dist/esm-es5/ShadowViewAddon-72e231a5.js +1 -0
  133. package/dist/esm-es5/global-adae7650.js +285 -0
  134. package/dist/esm-es5/index-0c7b14c5.js +1 -0
  135. package/dist/esm-es5/index.module-c0eb7dc2.js +53 -0
  136. package/dist/esm-es5/loader.js +1 -1
  137. package/dist/esm-es5/{luxon-7600be8d.js → luxon-63e24900.js} +1 -1
  138. package/dist/esm-es5/mint-components.js +1 -1
  139. package/dist/esm-es5/{mockRewardData-0eb6e778.js → mockRewardData-e6b763d1.js} +1 -1
  140. package/dist/esm-es5/{re-render-1bcfd0de.js → re-render-5882a144.js} +1 -1
  141. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  142. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +1 -1
  143. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -1
  144. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  145. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  146. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  147. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  148. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  149. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  150. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  151. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  152. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  153. package/dist/esm-es5/{sqm-invoice-table-view-08c03ba7.js → sqm-invoice-table-view-663674f2.js} +1 -1
  154. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  155. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  156. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-f8e78810.js → sqm-navigation-sidebar-item-view-4715e546.js} +1 -1
  157. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  158. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  159. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  160. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  161. package/dist/esm-es5/{sqm-portal-email-verification-view-c6ac5430.js → sqm-portal-email-verification-view-598eb9a7.js} +1 -1
  162. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  163. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  164. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  165. package/dist/esm-es5/{sqm-portal-profile-view-15ddbec8.js → sqm-portal-profile-view-a0f6ad48.js} +1 -1
  166. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  167. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  168. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  169. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  170. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  171. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  172. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  173. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  174. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  175. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  176. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  177. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  178. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  179. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  180. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  181. package/dist/esm-es5/sqm-widget-verification-internal.entry.js +1 -1
  182. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  183. package/dist/esm-es5/{stencil-hooks.module-ac12ca1c.js → stencil-hooks.module-3c7f7c90.js} +1 -1
  184. package/dist/esm-es5/useChildElements-fe94b660.js +1 -0
  185. package/dist/esm-es5/useEmailVerification-8f2dc2bd.js +1 -0
  186. package/dist/esm-es5/{useInstantAccessRegistration-8b0a4556.js → useInstantAccessRegistration-670c1b98.js} +1 -1
  187. package/dist/esm-es5/useReferralTable-52008143.js +1 -0
  188. package/dist/esm-es5/useRegistrationFormState-4cfd1a8d.js +1 -0
  189. package/dist/esm-es5/{utilities-443732be.js → utilities-98445452.js} +1 -1
  190. package/dist/mint-components/mint-components.esm.js +1 -1
  191. package/dist/mint-components/mint-components.js +1 -1
  192. package/dist/mint-components/p-0078bc76.system.js +53 -0
  193. package/dist/mint-components/{p-5becb2ff.system.js → p-00ec17d4.system.js} +1 -1
  194. package/dist/mint-components/{p-cd44de66.system.js → p-06c561ea.system.js} +1 -1
  195. package/dist/mint-components/{p-2a414b2e.system.js → p-0979f82e.system.js} +2 -2
  196. package/dist/mint-components/{p-d83b0cf3.js → p-0db003f7.js} +153 -153
  197. package/dist/mint-components/{p-0121e044.js → p-0ecb3019.js} +1 -1
  198. package/dist/mint-components/{p-04ced592.system.entry.js → p-14488d1c.system.entry.js} +1 -1
  199. package/dist/mint-components/{p-88aac6a9.system.entry.js → p-14beec1b.system.entry.js} +1 -1
  200. package/dist/mint-components/{p-a85f57bb.entry.js → p-15e01e7a.entry.js} +1 -1
  201. package/dist/mint-components/{p-2816bf6a.js → p-1602bf01.js} +1 -1
  202. package/dist/mint-components/p-18399da0.system.entry.js +1 -0
  203. package/dist/mint-components/{p-c1f4fb6d.system.entry.js → p-18cd88c4.system.entry.js} +1 -1
  204. package/dist/mint-components/{p-fd2c5407.js → p-1b24bb52.js} +1 -1
  205. package/dist/mint-components/{p-03dbe2ce.entry.js → p-1e40967f.entry.js} +1 -1
  206. package/dist/mint-components/p-1f02e20b.entry.js +1 -0
  207. package/dist/mint-components/p-253c87e1.system.entry.js +1 -0
  208. package/dist/mint-components/p-25a70095.system.entry.js +1 -0
  209. package/dist/mint-components/p-2632464d.entry.js +1 -0
  210. package/dist/mint-components/p-286190c4.system.entry.js +1 -0
  211. package/dist/mint-components/{p-4e373c3d.system.js → p-34a87e67.system.js} +1 -1
  212. package/dist/mint-components/{p-59818690.system.entry.js → p-34dab223.system.entry.js} +1 -1
  213. package/dist/mint-components/{p-947fe79b.entry.js → p-3ba349a3.entry.js} +1 -1
  214. package/dist/mint-components/{p-be1ae1ed.system.entry.js → p-3c46b3de.system.entry.js} +1 -1
  215. package/dist/mint-components/{p-bc826117.system.entry.js → p-3da2b3cf.system.entry.js} +1 -1
  216. package/dist/mint-components/p-414b3b6c.system.entry.js +1 -0
  217. package/dist/mint-components/p-4185f6f5.system.entry.js +1 -0
  218. package/dist/mint-components/{p-1d27da33.js → p-4209cd94.js} +4 -4
  219. package/dist/mint-components/{p-43621f12.system.js → p-423821b9.system.js} +1 -1
  220. package/dist/mint-components/{p-3e7ec0f3.system.entry.js → p-45d0b48a.system.entry.js} +1 -1
  221. package/dist/mint-components/{p-88bf51b7.system.entry.js → p-45d6cde6.system.entry.js} +1 -1
  222. package/dist/mint-components/{p-f3053c61.js → p-48704504.js} +1 -1
  223. package/dist/mint-components/{p-5291891c.entry.js → p-4c0b7768.entry.js} +3 -3
  224. package/dist/mint-components/{p-c763c0b2.js → p-4d060f15.js} +1 -1
  225. package/dist/mint-components/p-52241ba9.system.js +1 -0
  226. package/dist/mint-components/p-556753b2.js +42 -0
  227. package/dist/mint-components/p-55dcb6ff.system.js +1 -0
  228. package/dist/mint-components/{p-9d34f4f0.entry.js → p-56b37aeb.entry.js} +3 -3
  229. package/dist/mint-components/{p-1f7d7524.system.entry.js → p-5a2fd8e0.system.entry.js} +1 -1
  230. package/dist/mint-components/{p-dd0d79bf.entry.js → p-5c602e84.entry.js} +1 -1
  231. package/dist/mint-components/{p-e0e7635a.js → p-611a30f0.js} +1 -1
  232. package/dist/mint-components/{p-9e0230c3.entry.js → p-64acc813.entry.js} +1 -1
  233. package/dist/mint-components/{p-76392386.entry.js → p-657b290b.entry.js} +1 -1
  234. package/dist/mint-components/{p-04348a9b.js → p-65a449de.js} +1 -1
  235. package/dist/mint-components/p-65de8fb2.js +1 -0
  236. package/dist/mint-components/{p-4671e644.entry.js → p-6a70d2d6.entry.js} +1 -1
  237. package/dist/mint-components/p-6eede6e5.system.entry.js +1 -0
  238. package/dist/mint-components/p-6fbfd683.js +1 -0
  239. package/dist/mint-components/{p-9ec008cb.system.entry.js → p-70886c65.system.entry.js} +1 -1
  240. package/dist/mint-components/{p-c3b37bbf.js → p-7507d72b.js} +1 -1
  241. package/dist/mint-components/{p-0527d90b.system.entry.js → p-78a831e0.system.entry.js} +1 -1
  242. package/dist/mint-components/p-78c1bd77.system.js +1 -0
  243. package/dist/mint-components/{p-fbdf0738.entry.js → p-79097c07.entry.js} +1 -1
  244. package/dist/mint-components/{p-f0806232.system.entry.js → p-7ab14d4b.system.entry.js} +1 -1
  245. package/dist/mint-components/p-7c4c727c.system.entry.js +1 -0
  246. package/dist/mint-components/p-7e5f0292.system.entry.js +1 -0
  247. package/dist/mint-components/{p-ead27698.system.entry.js → p-816fb64f.system.entry.js} +1 -1
  248. package/dist/mint-components/p-832eba3a.entry.js +1 -0
  249. package/dist/mint-components/p-858a87ce.entry.js +1 -0
  250. package/dist/mint-components/p-89669879.system.js +1 -0
  251. package/dist/mint-components/p-8b7d2f44.entry.js +1 -0
  252. package/dist/mint-components/{p-b651706a.js → p-8ccb4267.js} +24 -24
  253. package/dist/mint-components/{p-a5a9aa07.entry.js → p-8d696fc9.entry.js} +11 -11
  254. package/dist/mint-components/{p-39af4acd.entry.js → p-8da20810.entry.js} +17 -17
  255. package/dist/mint-components/p-8defb972.system.entry.js +1 -0
  256. package/dist/mint-components/{p-251e7567.js → p-9223640e.js} +1 -1
  257. package/dist/mint-components/{p-6afb4f48.system.entry.js → p-95af445c.system.entry.js} +1 -1
  258. package/dist/mint-components/{p-721a89c6.entry.js → p-99a09fab.entry.js} +2 -2
  259. package/dist/mint-components/p-9cdaa099.entry.js +1 -0
  260. package/dist/mint-components/{p-5fba1a04.system.entry.js → p-a1f0d8ba.system.entry.js} +1 -1
  261. package/dist/mint-components/{p-a45b03d2.entry.js → p-a2e1af83.entry.js} +1 -1
  262. package/dist/mint-components/p-a80c8f5c.system.js +1 -0
  263. package/dist/mint-components/{p-1f9a9b70.system.entry.js → p-a9487844.system.entry.js} +1 -1
  264. package/dist/mint-components/{p-51d53165.system.entry.js → p-ab7322f0.system.entry.js} +1 -1
  265. package/dist/mint-components/{p-4eae91a9.system.js → p-ab89b44a.system.js} +1 -1
  266. package/dist/mint-components/{p-c3babfa4.system.entry.js → p-ac69b460.system.entry.js} +1 -1
  267. package/dist/mint-components/{p-f56348dc.system.entry.js → p-b14a77e8.system.entry.js} +1 -1
  268. package/dist/mint-components/p-b28df069.js +1 -0
  269. package/dist/mint-components/p-b4771476.entry.js +1 -0
  270. package/dist/mint-components/{p-9cdbd1ac.system.entry.js → p-c293f586.system.entry.js} +1 -1
  271. package/dist/mint-components/p-c9ca8473.system.entry.js +1 -0
  272. package/dist/mint-components/p-cac64545.system.entry.js +1 -0
  273. package/dist/mint-components/{p-bee1e573.entry.js → p-cadb8dba.entry.js} +1 -1
  274. package/dist/mint-components/{p-6c928c7d.entry.js → p-cafebf8a.entry.js} +1 -1
  275. package/dist/mint-components/{p-370a1a73.system.js → p-cb45d0a8.system.js} +1 -1
  276. package/dist/mint-components/{p-84b25a46.entry.js → p-cdcd825e.entry.js} +1 -1
  277. package/dist/mint-components/{p-178d2d2e.entry.js → p-cdd04337.entry.js} +1 -1
  278. package/dist/mint-components/{p-83c9f37b.system.entry.js → p-d0c4f3bf.system.entry.js} +1 -1
  279. package/dist/mint-components/{p-94454880.entry.js → p-d2a925d5.entry.js} +1 -1
  280. package/dist/mint-components/p-d3293ac3.entry.js +11 -0
  281. package/dist/mint-components/{p-b1e8a802.entry.js → p-d39da925.entry.js} +1 -1
  282. package/dist/mint-components/p-d4138847.system.entry.js +1 -0
  283. package/dist/mint-components/p-d70bfe30.entry.js +8 -0
  284. package/dist/mint-components/p-d7b701a7.entry.js +1 -0
  285. package/dist/mint-components/{p-36f7caec.system.entry.js → p-d90ef1da.system.entry.js} +1 -1
  286. package/dist/mint-components/{p-ac51940e.system.js → p-dce3d296.system.js} +1 -1
  287. package/dist/mint-components/{p-68747d88.js → p-def70672.js} +1 -1
  288. package/dist/mint-components/p-e05ff098.system.js +1 -0
  289. package/dist/mint-components/p-e4c3817a.system.entry.js +1 -0
  290. package/dist/mint-components/{p-ce9e7c98.system.js → p-e5299352.system.js} +1 -1
  291. package/dist/mint-components/p-e7797040.entry.js +1 -0
  292. package/dist/mint-components/{p-e93e5740.entry.js → p-e810da97.entry.js} +1 -1
  293. package/dist/mint-components/p-e82eec3c.entry.js +13 -0
  294. package/dist/mint-components/p-e8bfd924.system.entry.js +1 -0
  295. package/dist/mint-components/p-e8fcaaa2.entry.js +13 -0
  296. package/dist/mint-components/{p-1b861be5.entry.js → p-ee328054.entry.js} +1 -1
  297. package/dist/mint-components/p-ef49d744.entry.js +1 -0
  298. package/dist/mint-components/{p-22425c71.system.entry.js → p-f0fba496.system.entry.js} +1 -1
  299. package/dist/mint-components/{p-4babe350.system.js → p-f338ef55.system.js} +1 -1
  300. package/dist/mint-components/p-f5f0fc0e.entry.js +1 -0
  301. package/dist/mint-components/{p-65e2c043.system.js → p-faf019cf.system.js} +1 -1
  302. package/dist/mint-components/p-fcb224ab.js +25 -0
  303. package/dist/mint-components/{p-fc422446.system.js → p-fda3d0ca.system.js} +22 -22
  304. package/dist/mint-components/p-fe8e1071.entry.js +1 -0
  305. package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +0 -1
  306. package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll.d.ts +7 -0
  307. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +2 -3
  308. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +0 -10
  309. package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +1 -0
  310. package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +4 -1
  311. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +6 -1
  312. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +10 -2
  313. package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +7 -0
  314. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +24 -0
  315. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +0 -3
  316. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +0 -16
  317. package/dist/types/components.d.ts +82 -52
  318. package/docs/docs.docx +0 -0
  319. package/docs/raisins.json +1 -1
  320. package/grapesjs/grapesjs.js +1 -1
  321. package/package.json +1 -1
  322. package/dist/cjs/useEmailVerification-30a1c7f6.js +0 -75
  323. package/dist/esm/useEmailVerification-7135732c.js +0 -72
  324. package/dist/esm-es5/ShadowViewAddon-65c8679e.js +0 -1
  325. package/dist/esm-es5/global-6306a9b8.js +0 -285
  326. package/dist/esm-es5/index.module-6c840c4e.js +0 -1
  327. package/dist/esm-es5/useChildElements-fc84e640.js +0 -1
  328. package/dist/esm-es5/useEmailVerification-7135732c.js +0 -1
  329. package/dist/esm-es5/useReferralTable-f6ffa103.js +0 -1
  330. package/dist/esm-es5/useRegistrationFormState-849e27f7.js +0 -1
  331. package/dist/mint-components/p-012daf3c.entry.js +0 -1
  332. package/dist/mint-components/p-0893073b.entry.js +0 -1
  333. package/dist/mint-components/p-0c9ad5f3.system.entry.js +0 -1
  334. package/dist/mint-components/p-117b4705.system.js +0 -1
  335. package/dist/mint-components/p-11d1b212.js +0 -1
  336. package/dist/mint-components/p-1bd0cda8.system.entry.js +0 -1
  337. package/dist/mint-components/p-1ee62d9f.system.entry.js +0 -1
  338. package/dist/mint-components/p-23fdd44e.entry.js +0 -1
  339. package/dist/mint-components/p-2868f475.entry.js +0 -1
  340. package/dist/mint-components/p-36e9296e.system.entry.js +0 -1
  341. package/dist/mint-components/p-3925bcd6.entry.js +0 -13
  342. package/dist/mint-components/p-39397731.entry.js +0 -1
  343. package/dist/mint-components/p-64491210.system.entry.js +0 -1
  344. package/dist/mint-components/p-663303b7.entry.js +0 -8
  345. package/dist/mint-components/p-66a04cca.system.entry.js +0 -1
  346. package/dist/mint-components/p-7dd1ff31.system.entry.js +0 -1
  347. package/dist/mint-components/p-7f5c7bf7.system.entry.js +0 -1
  348. package/dist/mint-components/p-8a337864.js +0 -7
  349. package/dist/mint-components/p-8d554a89.system.js +0 -1
  350. package/dist/mint-components/p-93576222.system.js +0 -1
  351. package/dist/mint-components/p-99c15c5e.entry.js +0 -1
  352. package/dist/mint-components/p-a02afa72.system.js +0 -1
  353. package/dist/mint-components/p-a4282d02.system.entry.js +0 -1
  354. package/dist/mint-components/p-b3b5b4b7.system.entry.js +0 -1
  355. package/dist/mint-components/p-bdd6bb13.js +0 -1
  356. package/dist/mint-components/p-c8878e79.entry.js +0 -1
  357. package/dist/mint-components/p-c92a743e.entry.js +0 -1
  358. package/dist/mint-components/p-c9fb6102.entry.js +0 -1
  359. package/dist/mint-components/p-ca809fdd.system.js +0 -1
  360. package/dist/mint-components/p-cb433855.system.entry.js +0 -1
  361. package/dist/mint-components/p-d35d8c06.entry.js +0 -11
  362. package/dist/mint-components/p-d468925f.entry.js +0 -1
  363. package/dist/mint-components/p-def516b8.system.js +0 -1
  364. package/dist/mint-components/p-e12d3414.system.entry.js +0 -1
  365. package/dist/mint-components/p-e9ca48fc.system.entry.js +0 -1
  366. package/dist/mint-components/p-f36e33ff.entry.js +0 -13
  367. package/dist/mint-components/p-f450654b.system.entry.js +0 -1
  368. package/dist/mint-components/p-f4cbbe47.entry.js +0 -1
  369. package/dist/mint-components/p-f531a5c9.system.entry.js +0 -1
  370. package/dist/mint-components/p-f655a7df.js +0 -1
  371. package/dist/mint-components/p-fd21ae8f.entry.js +0 -1
@@ -1,21 +1,22 @@
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, u as useMemo, m as useRef, b as browser, j as useReducer } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-6306a9b8.js';
4
- import { i as isDemo, T, d as dist, K, z, c as xe, E as En, n as ne, Q, w as wn, x as xn, q as ze, W as We, U as Ue, b as useCallback, r as Ye, j as jn } from './index.module-6c840c4e.js';
5
- import { j as jsonpointer } from './jsonpointer-388a7082.js';
2
+ import { j as h, d as useEffect, f as useState, k as d, u as useMemo, e as useRef, b as browser, h as useReducer } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { i as intl } from './global-adae7650.js';
4
+ import { i as isDemo, T, K, z, b as xe, E as En, n as ne, Q, w as wn, x as xn, m as ze, W as We, U as Ue, a as useCallback, o as Ye, j as jn } from './index.module-c0eb7dc2.js';
6
5
  import { c as cjs } from './cjs-bdfb4486.js';
7
6
  import './mixins-f60a614c.js';
8
7
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
9
- import { a as useRequestRerender } from './re-render-1bcfd0de.js';
10
- import { u as useChildElements } from './useChildElements-fc84e640.js';
11
- import './luxon-7600be8d.js';
8
+ import { a as useRequestRerender } from './re-render-5882a144.js';
9
+ import { u as useChildElements } from './useChildElements-fe94b660.js';
10
+ import './luxon-63e24900.js';
11
+ import { d as dist } from './index-0c7b14c5.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-849e27f7.js';
16
- import { i as isEmpty } from './utilities-443732be.js';
15
+ import { j as jsonpointer } from './jsonpointer-388a7082.js';
16
+ import { R as REGISTRATION_FORM_STATE_CONTEXT, u as useRegistrationFormState } from './useRegistrationFormState-4cfd1a8d.js';
17
+ import { i as isEmpty } from './utilities-98445452.js';
17
18
  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-65c8679e.js';
19
+ 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-72e231a5.js';
19
20
  import './sqm-portal-container-view-6c582684.js';
20
21
 
21
22
  const BigStat = class {
@@ -1723,6 +1724,7 @@ const style$2 = {
1723
1724
  PayoutButtonDescription: {
1724
1725
  color: "var(--sl-color-neutral-500)",
1725
1726
  fontSize: "var(--sl-font-size-small)",
1727
+ margin: "0",
1726
1728
  },
1727
1729
  };
1728
1730
  const sheet$2 = createStyleSheet(style$2);
@@ -1740,7 +1742,14 @@ function PayoutButtonScrollView(props) {
1740
1742
  const PayoutButtonScroll = class {
1741
1743
  constructor(hostRef) {
1742
1744
  registerInstance(this, hostRef);
1745
+ /**
1746
+ * @uiName Payout button text
1747
+ */
1743
1748
  this.payoutButtonText = "Payouts & Tax Settings";
1749
+ /**
1750
+ * Description text under payout button
1751
+ * @uiName Payout button description text
1752
+ */
1744
1753
  this.payoutButtonDescription = "Check your payout settings to see when you’ll get paid out next";
1745
1754
  this.ignored = true;
1746
1755
  h(this);
@@ -1772,11 +1781,29 @@ const style$3 = {
1772
1781
  margin: "0",
1773
1782
  marginBottom: "var(--sl-spacing-small)",
1774
1783
  },
1784
+ WarningAlertContainer: {
1785
+ "&::part(base)": {
1786
+ backgroundColor: "var(--sl-color-yellow-100)",
1787
+ borderTop: "none",
1788
+ },
1789
+ "& sl-icon::part(base)": {
1790
+ color: "var(--sl-color-danger-500)",
1791
+ },
1792
+ },
1793
+ InfoAlertContainer: {
1794
+ "&::part(base)": {
1795
+ backgroundColor: "var(--sl-color-sky-100)",
1796
+ borderTop: "none",
1797
+ },
1798
+ "& sl-icon::part(base)": {
1799
+ color: "var(--sl-color-blue-500)",
1800
+ },
1801
+ },
1775
1802
  };
1776
1803
  const sheet$3 = createStyleSheet(style$3);
1777
1804
  const styleString$3 = sheet$3.toString();
1778
1805
  function PayoutStatusAlertView(props) {
1779
- var _a, _b, _c, _d;
1806
+ var _a, _b, _c, _d, _e;
1780
1807
  const { text, states } = props;
1781
1808
  if (states.loading) {
1782
1809
  return h$1("sl-skeleton", { class: sheet$3.classes.SkeletonOne });
@@ -1792,7 +1819,8 @@ function PayoutStatusAlertView(props) {
1792
1819
  description: text.informationRequiredDescription,
1793
1820
  buttonText: text.verificationRequiredButtonText,
1794
1821
  alertType: "info",
1795
- icon: "exclamation-octagon",
1822
+ icon: "info-circle",
1823
+ class: sheet$3.classes.InfoAlertContainer,
1796
1824
  };
1797
1825
  case "VERIFICATION_NEEDED":
1798
1826
  return {
@@ -1800,7 +1828,8 @@ function PayoutStatusAlertView(props) {
1800
1828
  description: text.verificationRequiredDescription,
1801
1829
  buttonText: text.verificationRequiredButtonText,
1802
1830
  alertType: "warning",
1803
- icon: "exclamation-octagon",
1831
+ icon: "exclamation-triangle",
1832
+ class: sheet$3.classes.WarningAlertContainer,
1804
1833
  };
1805
1834
  case "HOLD":
1806
1835
  return {
@@ -1808,7 +1837,8 @@ function PayoutStatusAlertView(props) {
1808
1837
  description: text.holdDescription,
1809
1838
  buttonText: null,
1810
1839
  alertType: "warning",
1811
- icon: "exclamation-octagon",
1840
+ icon: "exclamation-triangle",
1841
+ class: sheet$3.classes.WarningAlertContainer,
1812
1842
  };
1813
1843
  default:
1814
1844
  return;
@@ -1827,10 +1857,10 @@ function PayoutStatusAlertView(props) {
1827
1857
  }
1828
1858
  return (h$1("div", { part: "sqm-base" },
1829
1859
  h$1("style", { type: "text/css" }, styleString$3),
1830
- h$1("sqm-form-message", { style: { display: "flex", gap: "2px" }, exportparts: "base: alert-base, icon:alert-icon", type: (_a = getAlert(states.status)) === null || _a === void 0 ? void 0 : _a.alertType },
1831
- h$1("sl-icon", { slot: "icon", name: (_b = getAlert(states.status)) === null || _b === void 0 ? void 0 : _b.icon }),
1832
- h$1("strong", null, (_c = getAlert(states.status)) === null || _c === void 0 ? void 0 : _c.header),
1833
- h$1("p", { class: sheet$3.classes.AlertDescriptionText }, (_d = getAlert(states.status)) === null || _d === void 0 ? void 0 : _d.description),
1860
+ h$1("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: (_a = getAlert(states.status)) === null || _a === void 0 ? void 0 : _a.alertType, class: (_b = getAlert(states.status)) === null || _b === void 0 ? void 0 : _b.class, open: true },
1861
+ h$1("sl-icon", { slot: "icon", name: (_c = getAlert(states.status)) === null || _c === void 0 ? void 0 : _c.icon }),
1862
+ h$1("strong", null, (_d = getAlert(states.status)) === null || _d === void 0 ? void 0 : _d.header),
1863
+ h$1("p", { class: sheet$3.classes.AlertDescriptionText }, (_e = getAlert(states.status)) === null || _e === void 0 ? void 0 : _e.description),
1834
1864
  getButton(states.status))));
1835
1865
  }
1836
1866
 
@@ -1885,13 +1915,37 @@ function usePayoutStatus(props) {
1885
1915
  const PayoutStatusAlert = class {
1886
1916
  constructor(hostRef) {
1887
1917
  registerInstance(this, hostRef);
1918
+ /**
1919
+ * @uiName Info required alert header
1920
+ */
1888
1921
  this.informationRequiredHeader = "Payout and tax information required";
1922
+ /**
1923
+ * @uiName Info required alert description
1924
+ */
1889
1925
  this.informationRequiredDescription = "Submit your banking details and tax documents to receive your rewards.";
1926
+ /**
1927
+ * @uiName Info required alert button text
1928
+ */
1890
1929
  this.informationRequiredButtonText = "Payouts & Tax Settings";
1930
+ /**
1931
+ * @uiName Verification required alert header
1932
+ */
1891
1933
  this.verificationRequiredHeader = "Verify your identity";
1934
+ /**
1935
+ * @uiName Verification required alert description
1936
+ */
1892
1937
  this.verificationRequiredDescription = "Complete your verification to start receiving your cash rewards. It should only take a few minutes verify.";
1938
+ /**
1939
+ * @uiName Verification required alert button text
1940
+ */
1893
1941
  this.verificationRequiredButtonText = "Start Verification";
1942
+ /**
1943
+ * @uiName Payout on hold alert header
1944
+ */
1894
1945
  this.holdHeader = "Your payouts and account are on hold";
1946
+ /**
1947
+ * @uiName Payout on hold alert description
1948
+ */
1895
1949
  this.holdDescription = "Please check your inbox for an email from our referral provider, impact.com. It contains details on how to resolve this issue. If you need further assistance, feel free to reach out to {support email}.";
1896
1950
  h(this);
1897
1951
  }
@@ -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-ac12ca1c.js';
3
- import { g as getEnvironmentSDK } from './index.module-6c840c4e.js';
2
+ import { j as h } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { g as getEnvironmentSDK } from './index.module-c0eb7dc2.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,14 +1,15 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
- import { l, k as useState, f as useEffect, n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-6306a9b8.js';
4
- import { d as dist, M as Mn, D as Dn, K, c as xe, i as isDemo } from './index.module-6c840c4e.js';
2
+ import { l, f as useState, d as useEffect, j as h$1 } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { i as intl } from './global-adae7650.js';
4
+ import { M as Mn, D as Dn, K, b as xe, i as isDemo } from './index.module-c0eb7dc2.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { E as ErrorStyles } from './mixins-f60a614c.js';
7
7
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
+ import { d as dist } from './index-0c7b14c5.js';
8
9
  import { g as getProps } from './utils-334c1e34.js';
9
10
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
10
11
  import { b as VERIFICATION_EMAIL_NAMESPACE, V as VERIFICATION_EVENT_KEY, S as SHOW_CODE_NAMESPACE } from './keys-a1496e39.js';
11
- import { a as useVerificationEmailMutation } from './useEmailVerification-7135732c.js';
12
+ import { a as useVerificationEmailMutation } from './useEmailVerification-8f2dc2bd.js';
12
13
 
13
14
  const style = {
14
15
  Wrapper: {
@@ -92,7 +93,16 @@ function WidgetCodeVerificationView(props) {
92
93
  id: "resendCodeText",
93
94
  defaultMessage: text.resendCodeText,
94
95
  }, {
95
- resendCodeLink: (h("a", { href: text.resendCodeLink, target: "_blank", style: { textDecoration: "none" } }, text.resendCodeLabel)),
96
+ resendCodeLink: (h("a", { href: "", style: { textDecoration: "none" }, onClick: (e) => {
97
+ e.preventDefault();
98
+ callbacks.resendEmail();
99
+ } }, text.resendCodeLabel)),
100
+ });
101
+ const codeResentSuccessfully = intl.formatMessage({
102
+ id: "codeResentSuccessfully",
103
+ defaultMessage: text.codeResentSuccessfullyText,
104
+ }, {
105
+ email: states.email,
96
106
  });
97
107
  const inputClass = states.verifyFailed
98
108
  ? sheet.classes.CodeInputError
@@ -103,11 +113,14 @@ function WidgetCodeVerificationView(props) {
103
113
  styleString),
104
114
  h("div", { class: sheet.classes.Wrapper },
105
115
  h("div", { class: sheet.classes.HeaderContainer },
106
- h(TextSpanView, { type: "p" }, states.verifyFailed
107
- ? text.reverifyCodeHeaderText
108
- : text.verifyCodeHeaderText)),
109
- states.codeResent && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
110
- h("b", null, text.codeResentSuccessfullyText))),
116
+ h(TextSpanView, { type: "p" }, intl.formatMessage({
117
+ id: `emailHeaderText`,
118
+ defaultMessage: states.verifyFailed
119
+ ? text.reverifyCodeHeaderText
120
+ : text.verifyCodeHeaderText,
121
+ }, { email: states.email }))),
122
+ states.emailResent && (h("sqm-form-message", { type: "success", exportparts: "successalert-icon" },
123
+ h("b", null, codeResentSuccessfully))),
111
124
  h("div", { class: sheet.classes.InputsContainer },
112
125
  h("div", { ref: refs.codeWrapperRef, class: sheet.classes.CodeInputContainer },
113
126
  h("sl-input", { class: inputClass, name: "code" }),
@@ -119,9 +132,7 @@ function WidgetCodeVerificationView(props) {
119
132
  states.verifyFailed && (h("p", { class: sheet.classes.ErrorText }, text.invalidCodeText)),
120
133
  h("sl-button", { class: sheet.classes.ContinueButton, onClick: callbacks.submitCode, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, text.verifyText)),
121
134
  h("div", { class: sheet.classes.FooterContainer },
122
- h(TextSpanView, { type: "p" }, resendCodeText),
123
- h(TextSpanView, { type: "p" },
124
- h("a", { href: "/", style: { textDecoration: "none" } }, text.useDifferentEmailText))))));
135
+ h(TextSpanView, { type: "p" }, resendCodeText)))));
125
136
  }
126
137
 
127
138
  // TODO: Move to component-boilerplate
@@ -164,6 +175,7 @@ function useWidgetCodeVerification(props) {
164
175
  const [emailResent, setEmailResent] = useState(false);
165
176
  const [codeRef, setCodeRef] = useState(null);
166
177
  const [validationError, setValidationError] = useState(false);
178
+ const [emailError, setEmailError] = useState(false);
167
179
  // TODO: Need to handle error states for these errors
168
180
  const [verifyUser, { loading: verifyLoading, errors: verifyErrors }] = useCodeVerificationMutation();
169
181
  const [request, { loading: resendLoading, data, errors: resendErrors }] = useVerificationEmailMutation();
@@ -204,14 +216,13 @@ function useWidgetCodeVerification(props) {
204
216
  setValidationError(false);
205
217
  };
206
218
  const resendEmail = async () => {
207
- // TODO: Error checks, depends on what mutation is set up as
208
219
  const result = await request();
209
- if (emailSent) {
210
- setEmailResent(true);
211
- setTimeout(() => {
212
- setEmailResent(false);
213
- }, 500);
220
+ if (!result) {
221
+ setEmailError(true);
222
+ return;
214
223
  }
224
+ if (emailSent)
225
+ setEmailResent(true);
215
226
  setEmailSent(true);
216
227
  };
217
228
  const submitCode = async () => {
@@ -245,6 +256,8 @@ function useWidgetCodeVerification(props) {
245
256
  // email should already exist if user has completed email-verification
246
257
  if (!email)
247
258
  resendEmail();
259
+ else
260
+ setEmailSent(true);
248
261
  }, []);
249
262
  return {
250
263
  refs: {
@@ -253,6 +266,7 @@ function useWidgetCodeVerification(props) {
253
266
  states: {
254
267
  email,
255
268
  emailResent,
269
+ resendError: !!(resendErrors === null || resendErrors === void 0 ? void 0 : resendErrors.message) || emailError,
256
270
  loading: verifyLoading || resendLoading,
257
271
  verifyFailed: !!validationError,
258
272
  },
@@ -270,7 +284,7 @@ const WidgetCodeVerification = class {
270
284
  /**
271
285
  * @uiName Verify code widget header text
272
286
  */
273
- this.verifyCodeHeaderText = "Enter the code sent to email@example.com from our referral provider, impact.com.";
287
+ this.verifyCodeHeaderText = "Enter the code sent to {email} from our referral provider, impact.com.";
274
288
  /**
275
289
  * @uiName Reverify code widget header text
276
290
  */
@@ -285,27 +299,16 @@ const WidgetCodeVerification = class {
285
299
  * @uiName Resend code label
286
300
  */
287
301
  this.resendCodeLabel = "Resend code";
288
- /**
289
- * The link that appears in the resend code link
290
- * @uiName Resend code link
291
- */
292
- // AL: TODO connect route to resend verification code
293
- this.resendCodeLink = "/resend-code";
294
302
  /**
295
303
  * Link text displayed under verify button
296
304
  * @uiName Resend code text
297
305
  */
298
306
  this.codeResentSuccessfullyText = "Another code has been sent to {email}";
299
- /**
300
- * Link text displayed under the verify button
301
- * @uiName Use different email text
302
- */
303
- this.useDifferentEmailText = "Use a different email";
304
307
  /**
305
308
  * Error text displayed under verification input
306
309
  * @uiName Invalid code text
307
310
  */
308
- this.invalidCodeText = " Please check your code and try again. If you’re still having trouble, try resending your code.";
311
+ this.invalidCodeText = "Please check your code and try again. If you’re still having trouble, try resending your code.";
309
312
  /**
310
313
  * @uiName Verify code button text
311
314
  */
@@ -339,6 +342,7 @@ function useDemoWidgetCodeVerification(props) {
339
342
  codeWrapperRef: () => { },
340
343
  },
341
344
  callbacks: {
345
+ resendEmail: async () => { },
342
346
  submitCode: async () => { },
343
347
  },
344
348
  text: props.getTextProps(),
@@ -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-ac12ca1c.js';
3
- import { T } from './index.module-6c840c4e.js';
2
+ import { b as browser, f as useState, k as d, d as useEffect, j as h } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { T } from './index.module-c0eb7dc2.js';
4
4
  import { g as getProps } from './utils-334c1e34.js';
5
5
  import { p as pathToRegexp } from './index-ffa26b43.js';
6
6
 
@@ -1,12 +1,13 @@
1
1
  import { h, r as registerInstance } from './index-17b4da69.js';
2
- import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as isDemo } from './index.module-6c840c4e.js';
2
+ import { j as h$1 } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { i as isDemo } from './index.module-c0eb7dc2.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
6
+ import './index-0c7b14c5.js';
6
7
  import { g as getProps } from './utils-334c1e34.js';
7
8
  import { T as TextSpanView } from './sqm-text-span-view-8d140661.js';
8
9
  import './keys-a1496e39.js';
9
- import { u as useWidgetEmailVerification } from './useEmailVerification-7135732c.js';
10
+ import { u as useWidgetEmailVerification } from './useEmailVerification-8f2dc2bd.js';
10
11
 
11
12
  const style = {
12
13
  Wrapper: {
@@ -22,6 +23,16 @@ const style = {
22
23
  flexDirection: "column",
23
24
  maxWidth: "320px",
24
25
  },
26
+ ErrorAlertContainer: {
27
+ "&::part(base)": {
28
+ backgroundColor: "var(--sl-color-red-100)",
29
+ borderTop: "none",
30
+ },
31
+ "&::part(message)": {
32
+ display: "flex",
33
+ flexDirection: "column",
34
+ },
35
+ },
25
36
  ContinueButton: {
26
37
  width: "100%",
27
38
  maxWidth: "100px",
@@ -70,15 +81,18 @@ function WidgetEmailVerificationView(props) {
70
81
  h("style", { type: "text/css" },
71
82
  vanillaStyle,
72
83
  styleString),
73
- states.loading ? (renderLoadingSkeleton()) : (h("div", { class: sheet.classes.Wrapper },
74
- " ",
84
+ states.sendCodeError && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", class: sheet.classes.ErrorAlertContainer, open: true },
85
+ h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
86
+ h("b", null, text.sendCodeErrorHeader),
87
+ text.sendCodeErrorDescription)),
88
+ states.initialLoading ? (renderLoadingSkeleton()) : (h("div", { class: sheet.classes.Wrapper },
75
89
  h(TextSpanView, { type: "p" }, text.verifyEmailHeaderText),
76
90
  h("sl-form", { "onSl-submit": callbacks.submitEmail },
77
91
  h("div", { class: sheet.classes.InputsContainer },
78
- h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.emailLabel, value: states.email, type: "email", id: "email", name: "email", required: true }, (states.error
92
+ h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", label: text.emailLabel, value: states.email, type: "email", id: "email", name: "email", disabled: !!states.email || states.loading }, (states.error
79
93
  ? {
80
94
  class: sheet.classes.ErrorInput,
81
- helpText: "Please enter a valid email",
95
+ helpText: text.emailValidationErrorText,
82
96
  }
83
97
  : {}))),
84
98
  h("sl-button", { submit: true, class: sheet.classes.ContinueButton, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, text.sendCodeText)))))));
@@ -92,9 +106,13 @@ const WidgetEmailVerification = class {
92
106
  */
93
107
  this.verifyEmailHeaderText = "Start by verifying your email. We’ll send you a code through our referral provider, impact.com.";
94
108
  /**
95
- * @uiName Verify email error text
109
+ * @uiName Send code to email alert header
96
110
  */
97
- this.errorText = "Failed to send an email. If this continues, contact Support with impact.com";
111
+ this.sendCodeErrorHeader = "There was an error sending your code.";
112
+ /**
113
+ * @uiName Send code to email alert description
114
+ */
115
+ this.sendCodeErrorDescription = "Please try again. If this problem continues, contact our program support team.";
98
116
  /**
99
117
  * @uiName Email input label
100
118
  */
@@ -103,6 +121,10 @@ const WidgetEmailVerification = class {
103
121
  * @uiName Send code button text
104
122
  */
105
123
  this.sendCodeText = "Send code";
124
+ /**
125
+ * @uiName Send code button text
126
+ */
127
+ this.emailValidationErrorText = "Please enter a valid email";
106
128
  h$1(this);
107
129
  }
108
130
  disconnectedCallback() { }
@@ -122,6 +144,8 @@ function useDemoWidgetEmailVerification(props) {
122
144
  error: "",
123
145
  loading: false,
124
146
  email: "",
147
+ isEmailPrefilled: false,
148
+ sendCodeError: false,
125
149
  },
126
150
  callbacks: {
127
151
  submitEmail: async () => { },
@@ -1,7 +1,7 @@
1
1
  import { h, r as registerInstance, c as Host } from './index-17b4da69.js';
2
- import { n as h$1 } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-6306a9b8.js';
4
- import './index.module-6c840c4e.js';
2
+ import { j as h$1 } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { i as intl } from './global-adae7650.js';
4
+ import './index.module-c0eb7dc2.js';
5
5
  import './JSS-67b5cff8.js';
6
6
  import { g as getProps } from './utils-334c1e34.js';
7
7
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-6c582684.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-ac12ca1c.js';
2
+ import { j as h } from './stencil-hooks.module-3c7f7c90.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-ac12ca1c.js';
3
- import { B, k as ke, Y, $ as $e } from './index.module-6c840c4e.js';
2
+ import { m, d as useEffect, j as h } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { B, k as ke, Y, $ as $e } from './index.module-c0eb7dc2.js';
4
4
 
5
5
  async function useGraphQLClientProvider({ domain }) {
6
6
  const token = B();
@@ -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-ac12ca1c.js';
2
+ import { j as h } from './stencil-hooks.module-3c7f7c90.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-ac12ca1c.js';
3
- import { i as isDemo, a as setUserIdentity } from './index.module-6c840c4e.js';
4
- import './jsonpointer-388a7082.js';
2
+ import { j as h } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { i as isDemo, s as setUserIdentity } from './index.module-c0eb7dc2.js';
5
4
  import { c as cjs } from './cjs-bdfb4486.js';
6
5
  import './mixins-f60a614c.js';
7
6
  import './JSS-67b5cff8.js';
8
7
  import { E as EmailRegistrationView } from './email-registration-view-a89a88bf.js';
9
- import './useRegistrationFormState-849e27f7.js';
10
- import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-8b0a4556.js';
8
+ import './jsonpointer-388a7082.js';
9
+ import './useRegistrationFormState-4cfd1a8d.js';
10
+ import { u as useInstantAccessRegistration } from './useInstantAccessRegistration-670c1b98.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-6306a9b8.js';
2
+ import { i as intl } from './global-adae7650.js';
3
3
  import { c as createStyleSheet } from './JSS-67b5cff8.js';
4
4
 
5
5
  const INDIRECT_TAX_PROVINCES = [
@@ -1,8 +1,9 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { i as intl } from './global-6306a9b8.js';
4
- import { d as dist, z, K, E as En, i as isDemo } from './index.module-6c840c4e.js';
2
+ import { j as h } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { i as intl } from './global-adae7650.js';
4
+ import { z, K, E as En, i as isDemo } from './index.module-c0eb7dc2.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
+ import { d as dist } from './index-0c7b14c5.js';
6
7
  import { L as LeaderboardRankView } from './sqm-leaderboard-rank-view-10657658.js';
7
8
 
8
9
  const GET_RANK = dist.gql `
@@ -1,8 +1,9 @@
1
1
  import { r as registerInstance, h as h$1 } from './index-17b4da69.js';
2
- import { n as h } from './stencil-hooks.module-ac12ca1c.js';
3
- import { d as dist, K, E as En, a as setUserIdentity, i as isDemo } from './index.module-6c840c4e.js';
2
+ import { j as h } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { K, E as En, s as setUserIdentity, i as isDemo } from './index.module-c0eb7dc2.js';
4
4
  import { c as cjs } from './cjs-bdfb4486.js';
5
5
  import './JSS-67b5cff8.js';
6
+ import { d as dist } from './index-0c7b14c5.js';
6
7
  import { g as getProps } from './utils-334c1e34.js';
7
8
  import { L as LogoutCurrentUserView } from './sqm-logout-current-user-view-2c6122cd.js';
8
9
 
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-17b4da69.js';
2
- import { x as xn } from './index.module-6c840c4e.js';
2
+ import { x as xn } from './index.module-c0eb7dc2.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-ac12ca1c.js';
3
- import { j as jn, i as isDemo } from './index.module-6c840c4e.js';
2
+ import { j as h } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { j as jn, i as isDemo } from './index.module-c0eb7dc2.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-f8e78810.js';
8
+ import { N as NavigationSidebarItemView } from './sqm-navigation-sidebar-item-view-4715e546.js';
9
9
 
10
10
  function useNavigationSidebarItem(props) {
11
11
  const currentPage = jn();
@@ -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-ac12ca1c.js';
3
- import { j as jn, z } from './index.module-6c840c4e.js';
2
+ import { j as h, f as useState, d as useEffect } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { j as jn, z } from './index.module-c0eb7dc2.js';
4
4
  import { N as NavigationSidebarView } from './sqm-navigation-sidebar-view-0312e073.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-ac12ca1c.js';
3
- import { i as isDemo } from './index.module-6c840c4e.js';
2
+ import { k as d, f as useState, j as h$1 } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { i as isDemo } from './index.module-c0eb7dc2.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-849e27f7.js';
8
+ import { R as REGISTRATION_FORM_STATE_CONTEXT } from './useRegistrationFormState-4cfd1a8d.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-ac12ca1c.js';
3
- import { n as ne } from './index.module-6c840c4e.js';
2
+ import { j as h$1 } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { n as ne } from './index.module-c0eb7dc2.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-6306a9b8.js';
2
+ import { i as intl } from './global-adae7650.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-ac12ca1c.js';
3
- import './global-6306a9b8.js';
4
- import { h as hn, u as un, K, x as xn, b as useCallback, i as isDemo } from './index.module-6c840c4e.js';
2
+ import { f as useState, e as useRef, d as useEffect, j as h } from './stencil-hooks.module-3c7f7c90.js';
3
+ import './global-adae7650.js';
4
+ import { h as hn, u as un, K, x as xn, a as useCallback, i as isDemo } from './index.module-c0eb7dc2.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-c6ac5430.js';
9
+ import { P as PortalEmailVerificationView } from './sqm-portal-email-verification-view-598eb9a7.js';
10
10
 
11
11
  function usePortalEmailVerification(props) {
12
12
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
@@ -1,11 +1,11 @@
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-ac12ca1c.js';
3
- import { v as vn, x as xn, i as isDemo } from './index.module-6c840c4e.js';
4
- import { j as jsonpointer } from './jsonpointer-388a7082.js';
2
+ import { f as useState, j as h } from './stencil-hooks.module-3c7f7c90.js';
3
+ import { v as vn, x as xn, i as isDemo } from './index.module-c0eb7dc2.js';
5
4
  import { c as cjs } from './cjs-bdfb4486.js';
6
5
  import './mixins-f60a614c.js';
7
6
  import './JSS-67b5cff8.js';
8
7
  import './sqm-text-span-view-8d140661.js';
8
+ import { j as jsonpointer } from './jsonpointer-388a7082.js';
9
9
  import { P as PortalForgotPasswordView } from './sqm-portal-forgot-password-view-c2ed8fed.js';
10
10
 
11
11
  function usePortalForgotPassword(props) {