@saasquatch/mint-components 2.0.8-7 → 2.0.9-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 (308) hide show
  1. package/dist/cjs/{ShadowViewAddon-ae3a32c3.js → ShadowViewAddon-31199cba.js} +230 -112
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/{sqm-big-stat_47.cjs.entry.js → sqm-big-stat_49.cjs.entry.js} +552 -21
  5. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +1 -2
  6. package/dist/cjs/sqm-stencilbook.cjs.entry.js +108 -66
  7. package/dist/{esm/AsYouType-46f67d0d.js → cjs/usePortalRegistrationForm-8ed0d753.js} +215 -1
  8. package/dist/collection/components/sqm-portal-google-login/GoogleLoginForm.stories.js +37 -0
  9. package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +2 -1
  10. package/dist/collection/components/sqm-portal-google-registration-form/PortalGoogleRegistrationForm.stories.js +1 -1
  11. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +0 -25
  12. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
  13. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +0 -1
  14. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +0 -2
  15. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +0 -6
  16. package/dist/esm/{ShadowViewAddon-78a1c35c.js → ShadowViewAddon-49bebd13.js} +234 -118
  17. package/dist/esm/{data-a581119a.js → data-f2f77358.js} +2 -2
  18. package/dist/esm/{global-58a69018.js → global-5d501632.js} +1 -1
  19. package/dist/esm/{index.module-c9811a48.js → index.module-234e8f5e.js} +1 -1
  20. package/dist/esm/loader.js +3 -3
  21. package/dist/esm/mint-components.js +3 -3
  22. package/dist/esm/{re-render-7e22fb0d.js → re-render-b56bc163.js} +1 -1
  23. package/dist/esm/sqm-banking-info-form_10.entry.js +8 -8
  24. package/dist/esm/{sqm-big-stat_47.entry.js → sqm-big-stat_49.entry.js} +559 -30
  25. package/dist/esm/sqm-close-button.entry.js +1 -1
  26. package/dist/esm/sqm-code-verification.entry.js +3 -3
  27. package/dist/esm/sqm-context-router.entry.js +1 -1
  28. package/dist/esm/sqm-email-verification.entry.js +3 -3
  29. package/dist/esm/sqm-empty_4.entry.js +2 -2
  30. package/dist/esm/sqm-google-sign-in.entry.js +1 -1
  31. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  32. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  33. package/dist/esm/{sqm-lead-checkbox-field-view-81541e40.js → sqm-lead-checkbox-field-view-e461c8d6.js} +1 -1
  34. package/dist/esm/sqm-lead-checkbox-field.entry.js +4 -4
  35. package/dist/esm/{sqm-lead-input-field-view-d543d939.js → sqm-lead-input-field-view-9cf60eea.js} +1 -1
  36. package/dist/esm/sqm-lead-input-field.entry.js +4 -4
  37. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  38. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  39. package/dist/esm/{sqm-navigation-sidebar-item-view-5a452423.js → sqm-navigation-sidebar-item-view-3d1b3be4.js} +1 -1
  40. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  41. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  42. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  43. package/dist/esm/sqm-password-field.entry.js +2 -2
  44. package/dist/esm/sqm-popup-container.entry.js +1 -1
  45. package/dist/esm/{sqm-portal-email-verification-view-5fb1a99e.js → sqm-portal-email-verification-view-ec6d9b7e.js} +1 -1
  46. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  47. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  48. package/dist/esm/{sqm-portal-profile-view-e3aef106.js → sqm-portal-profile-view-36eae0a3.js} +1 -1
  49. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  50. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  51. package/dist/esm/sqm-portal-registration-form.entry.js +3 -4
  52. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  53. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  54. package/dist/esm/sqm-qr-code.entry.js +2 -2
  55. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  56. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  57. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  58. package/dist/esm/sqm-stencilbook.entry.js +116 -74
  59. package/dist/esm/sqm-tab.entry.js +2 -2
  60. package/dist/esm/sqm-tabs.entry.js +3 -3
  61. package/dist/esm/{sqm-user-info-form-view-9a3048d9.js → sqm-user-info-form-view-0a8999d0.js} +2 -2
  62. package/dist/esm/sqm-widget-verification-controller.entry.js +1 -1
  63. package/dist/esm/sqm-widget-verification.entry.js +1 -1
  64. package/dist/esm/{useChildElements-3d872cef.js → useChildElements-daf489b1.js} +1 -1
  65. package/dist/esm/{useInstantAccessRegistration-dda1f52b.js → useInstantAccessRegistration-89e7dfc8.js} +2 -2
  66. package/dist/esm/{useLeadFormState-8d4b2620.js → useLeadFormState-d2f1c87d.js} +2 -2
  67. package/dist/esm/{usePayoutStatus-7404eb9d.js → usePayoutStatus-6be47a64.js} +1 -1
  68. package/dist/{cjs/AsYouType-6788393a.js → esm/usePortalRegistrationForm-fb06b600.js} +211 -2
  69. package/dist/esm/{useReferralCodes-c2e809cf.js → useReferralCodes-75d67509.js} +1 -1
  70. package/dist/esm/{useReferralTable-909ccb28.js → useReferralTable-8e0acee0.js} +3 -3
  71. package/dist/esm/{useRegistrationFormState-24d594ea.js → useRegistrationFormState-a9e156e6.js} +1 -1
  72. package/dist/esm/{useVerificationEmail-55e0e98f.js → useVerificationEmail-66b40965.js} +1 -1
  73. package/dist/esm/{utilities-72c07b09.js → utilities-e6f8716e.js} +1 -1
  74. package/dist/esm-es5/ShadowViewAddon-49bebd13.js +1 -0
  75. package/dist/esm-es5/{data-a581119a.js → data-f2f77358.js} +1 -1
  76. package/dist/esm-es5/{global-58a69018.js → global-5d501632.js} +1 -1
  77. package/dist/esm-es5/{index.module-c9811a48.js → index.module-234e8f5e.js} +1 -1
  78. package/dist/esm-es5/loader.js +1 -1
  79. package/dist/esm-es5/mint-components.js +1 -1
  80. package/dist/esm-es5/{re-render-7e22fb0d.js → re-render-b56bc163.js} +1 -1
  81. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  82. package/dist/esm-es5/sqm-big-stat_49.entry.js +1 -0
  83. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  84. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  85. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  86. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  87. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  88. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  89. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  90. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  91. package/dist/esm-es5/{sqm-lead-checkbox-field-view-81541e40.js → sqm-lead-checkbox-field-view-e461c8d6.js} +1 -1
  92. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  93. package/dist/esm-es5/{sqm-lead-input-field-view-d543d939.js → sqm-lead-input-field-view-9cf60eea.js} +1 -1
  94. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  95. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  96. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  97. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-5a452423.js → sqm-navigation-sidebar-item-view-3d1b3be4.js} +1 -1
  98. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  99. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  100. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  101. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  102. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  103. package/dist/esm-es5/{sqm-portal-email-verification-view-5fb1a99e.js → sqm-portal-email-verification-view-ec6d9b7e.js} +1 -1
  104. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  105. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  106. package/dist/esm-es5/{sqm-portal-profile-view-e3aef106.js → sqm-portal-profile-view-36eae0a3.js} +1 -1
  107. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  108. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  109. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  110. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  111. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  112. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  113. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  114. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  115. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  116. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  117. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  118. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  119. package/dist/esm-es5/{sqm-user-info-form-view-9a3048d9.js → sqm-user-info-form-view-0a8999d0.js} +1 -1
  120. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  121. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  122. package/dist/esm-es5/{useChildElements-3d872cef.js → useChildElements-daf489b1.js} +1 -1
  123. package/dist/esm-es5/{useInstantAccessRegistration-dda1f52b.js → useInstantAccessRegistration-89e7dfc8.js} +1 -1
  124. package/dist/esm-es5/{useLeadFormState-8d4b2620.js → useLeadFormState-d2f1c87d.js} +1 -1
  125. package/dist/esm-es5/{usePayoutStatus-7404eb9d.js → usePayoutStatus-6be47a64.js} +1 -1
  126. package/dist/esm-es5/usePortalRegistrationForm-fb06b600.js +1 -0
  127. package/dist/esm-es5/{useReferralCodes-c2e809cf.js → useReferralCodes-75d67509.js} +1 -1
  128. package/dist/esm-es5/{useReferralTable-909ccb28.js → useReferralTable-8e0acee0.js} +1 -1
  129. package/dist/esm-es5/{useRegistrationFormState-24d594ea.js → useRegistrationFormState-a9e156e6.js} +1 -1
  130. package/dist/esm-es5/{useVerificationEmail-55e0e98f.js → useVerificationEmail-66b40965.js} +1 -1
  131. package/dist/esm-es5/{utilities-72c07b09.js → utilities-e6f8716e.js} +1 -1
  132. package/dist/mint-components/mint-components.esm.js +1 -1
  133. package/dist/mint-components/mint-components.js +1 -1
  134. package/dist/mint-components/{p-b00e8365.entry.js → p-01aa5c0d.entry.js} +1 -1
  135. package/dist/mint-components/{p-26a7051d.system.entry.js → p-04603078.system.entry.js} +1 -1
  136. package/dist/mint-components/{p-171310d9.system.js → p-08c49143.system.js} +1 -1
  137. package/dist/mint-components/{p-6076dbaf.entry.js → p-0b6b03fa.entry.js} +1 -1
  138. package/dist/mint-components/{p-1215518e.system.js → p-0ba04831.system.js} +1 -1
  139. package/dist/mint-components/{p-12e6cea7.entry.js → p-0bd7de3e.entry.js} +2 -2
  140. package/dist/mint-components/{p-988f236f.js → p-0e1f3ce2.js} +1 -1
  141. package/dist/mint-components/{p-49400aab.js → p-10ad4cec.js} +2 -2
  142. package/dist/mint-components/{p-9eba8408.js → p-177a4691.js} +1 -1
  143. package/dist/mint-components/p-1830bbfb.js +1 -0
  144. package/dist/mint-components/{p-5b7a896e.system.entry.js → p-234d0680.system.entry.js} +1 -1
  145. package/dist/mint-components/{p-a7e35f51.system.js → p-23c58c4f.system.js} +2 -2
  146. package/dist/mint-components/{p-17a0f310.system.js → p-23d089ee.system.js} +1 -1
  147. package/dist/mint-components/{p-1aa9136c.js → p-24e20ee2.js} +1 -1
  148. package/dist/mint-components/p-259285a8.system.entry.js +1 -0
  149. package/dist/mint-components/{p-40c33b6a.system.entry.js → p-26796f69.system.entry.js} +1 -1
  150. package/dist/mint-components/p-26fdb210.js +1 -0
  151. package/dist/mint-components/{p-6c82d60c.system.js → p-286aa5b9.system.js} +1 -1
  152. package/dist/mint-components/{p-9c79ab08.js → p-2ce4c7a3.js} +2 -2
  153. package/dist/mint-components/{p-4cc72a4e.system.js → p-2dcb0db6.system.js} +1 -1
  154. package/dist/mint-components/{p-c30ad421.js → p-323c6d02.js} +1 -1
  155. package/dist/mint-components/{p-720f03e2.system.js → p-33e1a29e.system.js} +1 -1
  156. package/dist/mint-components/{p-ba79655c.system.js → p-342921b9.system.js} +1 -1
  157. package/dist/mint-components/{p-a32afaaa.entry.js → p-3825831b.entry.js} +1 -1
  158. package/dist/mint-components/{p-2700136f.system.entry.js → p-38ed3cbd.system.entry.js} +1 -1
  159. package/dist/mint-components/{p-c95a437e.entry.js → p-3d02278d.entry.js} +1 -1
  160. package/dist/mint-components/{p-0c024cf0.system.entry.js → p-3d12a14b.system.entry.js} +1 -1
  161. package/dist/mint-components/{p-f5256738.system.entry.js → p-3ed269bf.system.entry.js} +1 -1
  162. package/dist/mint-components/{p-6a5df328.js → p-3fede0f7.js} +1 -1
  163. package/dist/mint-components/{p-625ca62f.entry.js → p-3ff0f231.entry.js} +1 -1
  164. package/dist/mint-components/{p-e1422b78.entry.js → p-4363a896.entry.js} +1 -1
  165. package/dist/mint-components/{p-f3613921.system.entry.js → p-476a8091.system.entry.js} +1 -1
  166. package/dist/mint-components/{p-7780cac1.system.entry.js → p-50eaba5b.system.entry.js} +1 -1
  167. package/dist/mint-components/{p-d09d3b8f.system.js → p-51e5a7da.system.js} +1 -1
  168. package/dist/mint-components/p-52398c8e.system.entry.js +1 -0
  169. package/dist/mint-components/{p-2ea3eea9.system.entry.js → p-527c0244.system.entry.js} +1 -1
  170. package/dist/mint-components/{p-72b914b9.system.entry.js → p-536a5aff.system.entry.js} +1 -1
  171. package/dist/mint-components/p-5784be79.system.entry.js +1 -0
  172. package/dist/mint-components/{p-e3b4e06a.system.entry.js → p-5af01051.system.entry.js} +1 -1
  173. package/dist/mint-components/{p-3b46fae5.entry.js → p-5d17b387.entry.js} +1 -1
  174. package/dist/mint-components/{p-d9780ae9.entry.js → p-5de55368.entry.js} +1 -1
  175. package/dist/mint-components/{p-78c754de.system.entry.js → p-612091c6.system.entry.js} +1 -1
  176. package/dist/mint-components/{p-c6e8086f.system.entry.js → p-62d018f0.system.entry.js} +1 -1
  177. package/dist/mint-components/{p-dc5bca55.entry.js → p-636a841f.entry.js} +1 -1
  178. package/dist/mint-components/{p-829cb9ed.system.entry.js → p-63a928e0.system.entry.js} +1 -1
  179. package/dist/mint-components/{p-f7e49c12.entry.js → p-65f79e43.entry.js} +1 -1
  180. package/dist/mint-components/{p-9d46f87f.system.entry.js → p-6a0440ed.system.entry.js} +1 -1
  181. package/dist/mint-components/{p-9ba07029.system.entry.js → p-702f3adb.system.entry.js} +1 -1
  182. package/dist/mint-components/{p-d399b343.system.entry.js → p-72321b06.system.entry.js} +1 -1
  183. package/dist/mint-components/p-72d6c425.system.js +1 -0
  184. package/dist/mint-components/{p-8afb47c5.system.entry.js → p-73aeefed.system.entry.js} +1 -1
  185. package/dist/mint-components/{p-0ec54f97.js → p-747479dc.js} +1 -1
  186. package/dist/mint-components/{p-101f0c41.entry.js → p-78fc0c3c.entry.js} +1 -1
  187. package/dist/mint-components/{p-71af93e3.js → p-7ab26f3d.js} +1 -1
  188. package/dist/mint-components/{p-0087ad39.system.js → p-825b39e0.system.js} +1 -1
  189. package/dist/mint-components/{p-8618e8f6.system.js → p-828d27ac.system.js} +1 -1
  190. package/dist/mint-components/{p-8d9fa981.system.js → p-844aaef2.system.js} +1 -1
  191. package/dist/mint-components/p-84911f08.system.js +1 -0
  192. package/dist/mint-components/{p-9491f5fb.system.entry.js → p-8752bcd1.system.entry.js} +1 -1
  193. package/dist/mint-components/{p-867b2baf.system.js → p-8901a533.system.js} +1 -1
  194. package/dist/mint-components/{p-5fbe6356.system.js → p-8bf8afb9.system.js} +1 -1
  195. package/dist/mint-components/{p-ac86903a.system.entry.js → p-8dda2a7f.system.entry.js} +1 -1
  196. package/dist/mint-components/{p-43ad51bc.entry.js → p-930f37bd.entry.js} +1 -1
  197. package/dist/mint-components/p-964b09f2.js +1 -0
  198. package/dist/mint-components/p-96749142.entry.js +273 -0
  199. package/dist/mint-components/{p-e174b704.system.js → p-96b16a48.system.js} +1 -1
  200. package/dist/mint-components/{p-ff0e1564.system.js → p-98e0a022.system.js} +1 -1
  201. package/dist/mint-components/{p-bf044217.js → p-9953648f.js} +1 -1
  202. package/dist/mint-components/p-9ad42a61.entry.js +1 -0
  203. package/dist/mint-components/{p-e19f0908.entry.js → p-9c4cac09.entry.js} +2 -2
  204. package/dist/mint-components/{p-f3c2074b.system.entry.js → p-9c80871f.system.entry.js} +1 -1
  205. package/dist/mint-components/{p-e8bda98a.system.entry.js → p-9d19a0f7.system.entry.js} +1 -1
  206. package/dist/mint-components/{p-8931d05e.entry.js → p-9da60671.entry.js} +1 -1
  207. package/dist/mint-components/p-9ef4172c.entry.js +1 -0
  208. package/dist/mint-components/p-a6e177d8.system.entry.js +1 -0
  209. package/dist/mint-components/{p-027c0b10.js → p-a82c8b60.js} +1 -1
  210. package/dist/mint-components/p-ab38b332.system.js +1 -0
  211. package/dist/mint-components/{p-58c79873.entry.js → p-ad550231.entry.js} +1 -1
  212. package/dist/mint-components/p-af123d2b.system.js +1 -0
  213. package/dist/mint-components/p-b08373f5.entry.js +9 -0
  214. package/dist/mint-components/{p-bb5d153f.system.js → p-b5559e34.system.js} +1 -1
  215. package/dist/mint-components/{p-dcc50d90.entry.js → p-bb476395.entry.js} +1 -1
  216. package/dist/mint-components/{p-bcac83f0.system.js → p-c09d2b35.system.js} +1 -1
  217. package/dist/mint-components/{p-deecffd0.system.entry.js → p-c16d9c80.system.entry.js} +1 -1
  218. package/dist/mint-components/p-c4e08253.js +13 -0
  219. package/dist/mint-components/{p-fcf8bdbc.system.entry.js → p-c7f34690.system.entry.js} +1 -1
  220. package/dist/mint-components/{p-29398c98.entry.js → p-c7f385d3.entry.js} +1 -1
  221. package/dist/mint-components/{p-ee92a728.system.entry.js → p-c8f2c3b8.system.entry.js} +1 -1
  222. package/dist/mint-components/{p-f6eae77c.js → p-cbeab288.js} +1 -1
  223. package/dist/mint-components/{p-a4e8eb33.entry.js → p-cbf3a928.entry.js} +1 -1
  224. package/dist/mint-components/{p-a974c549.js → p-cd3ba2b4.js} +1 -1
  225. package/dist/mint-components/p-d15947d0.js +448 -0
  226. package/dist/mint-components/{p-011c0990.system.entry.js → p-d170e29a.system.entry.js} +1 -1
  227. package/dist/mint-components/{p-7e323f2c.entry.js → p-d3f86ec6.entry.js} +1 -1
  228. package/dist/mint-components/p-d49de8ea.entry.js +11 -0
  229. package/dist/mint-components/{p-29ba2eaa.entry.js → p-d9f01878.entry.js} +1 -1
  230. package/dist/mint-components/{p-386ec00c.entry.js → p-de0566e1.entry.js} +1 -1
  231. package/dist/mint-components/{p-f5fff87e.js → p-e08b7435.js} +1 -1
  232. package/dist/mint-components/{p-36a1fa33.system.entry.js → p-e1a08323.system.entry.js} +1 -1
  233. package/dist/mint-components/{p-60ec0961.system.entry.js → p-e1a7d141.system.entry.js} +1 -1
  234. package/dist/mint-components/{p-a8c86cd8.system.entry.js → p-eacd3c8f.system.entry.js} +1 -1
  235. package/dist/mint-components/p-ebde83fc.entry.js +1 -0
  236. package/dist/mint-components/{p-621f3e30.entry.js → p-ec9027cf.entry.js} +1 -1
  237. package/dist/mint-components/{p-af69ee79.system.entry.js → p-ed7ab864.system.entry.js} +1 -1
  238. package/dist/mint-components/{p-088f082f.js → p-eff405e5.js} +1 -1
  239. package/dist/mint-components/{p-ee3a7577.entry.js → p-f08dd2a8.entry.js} +1 -1
  240. package/dist/mint-components/{p-0b9b1b36.system.entry.js → p-f237f96d.system.entry.js} +1 -1
  241. package/dist/mint-components/{p-ad3ebf4d.entry.js → p-f776cd83.entry.js} +1 -1
  242. package/dist/mint-components/p-f84706aa.entry.js +13 -0
  243. package/dist/mint-components/p-f862be0b.entry.js +1 -0
  244. package/dist/mint-components/{p-8de73da9.js → p-fb8927aa.js} +1 -1
  245. package/dist/mint-components/{p-30278955.entry.js → p-fc7d85c7.entry.js} +1 -1
  246. package/dist/mint-components/{p-75b8fd75.entry.js → p-fe14d2af.entry.js} +1 -1
  247. package/dist/types/components/sqm-portal-google-login/GoogleLoginForm.stories.d.ts +7 -0
  248. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -4
  249. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +0 -1
  250. package/dist/types/components.d.ts +0 -8
  251. package/docs/docs.docx +0 -0
  252. package/docs/raisins.json +1 -1
  253. package/grapesjs/grapesjs.js +1 -1
  254. package/package.json +1 -1
  255. package/dist/cjs/sqm-base-registration-form-view-69a4b615.js +0 -74
  256. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +0 -130
  257. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +0 -381
  258. package/dist/cjs/sqm-portal-login-view-bb50304c.js +0 -58
  259. package/dist/cjs/usePortalLogin-1c022d8d.js +0 -74
  260. package/dist/cjs/usePortalRegistrationForm-75b647fe.js +0 -215
  261. package/dist/esm/sqm-base-registration-form-view-9e97d8b4.js +0 -72
  262. package/dist/esm/sqm-portal-google-login.entry.js +0 -126
  263. package/dist/esm/sqm-portal-google-registration-form.entry.js +0 -377
  264. package/dist/esm/sqm-portal-login-view-7670cd86.js +0 -56
  265. package/dist/esm/usePortalLogin-f95bbc67.js +0 -72
  266. package/dist/esm/usePortalRegistrationForm-1eb3cd72.js +0 -213
  267. package/dist/esm-es5/AsYouType-46f67d0d.js +0 -1
  268. package/dist/esm-es5/ShadowViewAddon-78a1c35c.js +0 -1
  269. package/dist/esm-es5/sqm-base-registration-form-view-9e97d8b4.js +0 -1
  270. package/dist/esm-es5/sqm-big-stat_47.entry.js +0 -1
  271. package/dist/esm-es5/sqm-portal-google-login.entry.js +0 -1
  272. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +0 -1
  273. package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +0 -1
  274. package/dist/esm-es5/usePortalLogin-f95bbc67.js +0 -1
  275. package/dist/esm-es5/usePortalRegistrationForm-1eb3cd72.js +0 -1
  276. package/dist/mint-components/p-121cdc60.js +0 -1
  277. package/dist/mint-components/p-125a894f.js +0 -1
  278. package/dist/mint-components/p-1b79b186.entry.js +0 -11
  279. package/dist/mint-components/p-1cd0e1e9.system.js +0 -1
  280. package/dist/mint-components/p-20c40fdf.system.js +0 -1
  281. package/dist/mint-components/p-240bec23.js +0 -1
  282. package/dist/mint-components/p-2a315057.system.entry.js +0 -1
  283. package/dist/mint-components/p-40752a0f.entry.js +0 -1
  284. package/dist/mint-components/p-44fc6029.js +0 -1
  285. package/dist/mint-components/p-513f5d80.js +0 -1
  286. package/dist/mint-components/p-51a6a779.js +0 -1
  287. package/dist/mint-components/p-537a3894.system.js +0 -1
  288. package/dist/mint-components/p-68e1dd26.entry.js +0 -9
  289. package/dist/mint-components/p-6a0ddee0.entry.js +0 -1
  290. package/dist/mint-components/p-80569911.system.js +0 -1
  291. package/dist/mint-components/p-92a54b0c.entry.js +0 -1
  292. package/dist/mint-components/p-947bacd1.system.js +0 -1
  293. package/dist/mint-components/p-95b6e903.entry.js +0 -1
  294. package/dist/mint-components/p-976ee669.js +0 -1
  295. package/dist/mint-components/p-97dc6863.js +0 -13
  296. package/dist/mint-components/p-9d362d44.system.js +0 -1
  297. package/dist/mint-components/p-a470e203.entry.js +0 -13
  298. package/dist/mint-components/p-afecb03d.system.entry.js +0 -1
  299. package/dist/mint-components/p-b3510ca0.system.entry.js +0 -1
  300. package/dist/mint-components/p-bd093069.system.entry.js +0 -1
  301. package/dist/mint-components/p-cc8ca3ff.system.entry.js +0 -1
  302. package/dist/mint-components/p-d08bcd88.entry.js +0 -1
  303. package/dist/mint-components/p-d25af596.entry.js +0 -273
  304. package/dist/mint-components/p-d69c0a32.system.entry.js +0 -1
  305. package/dist/mint-components/p-d88d8ffe.entry.js +0 -1
  306. package/dist/mint-components/p-e3ee8c37.system.js +0 -1
  307. package/dist/mint-components/p-ee83de0e.js +0 -448
  308. package/dist/mint-components/p-f5820d03.system.js +0 -1
@@ -291,6 +291,72 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
291
291
  index.h("path", { d: "M1661.53 157.54H1589.77C1590.42 169.37 1593.54 178.535 1599.13 185.035C1604.85 191.535 1612.65 194.785 1622.53 194.785C1628.51 194.785 1633.97 193.485 1638.91 190.885C1643.98 188.285 1647.95 184.645 1650.81 179.965L1657.24 186.4C1653.34 192.12 1648.4 196.475 1642.42 199.465C1636.57 202.455 1629.94 203.95 1622.53 203.95C1609.01 203.95 1598.35 199.465 1590.55 190.495C1582.88 181.525 1579.05 169.175 1579.05 153.445C1579.05 137.585 1582.82 125.17 1590.36 116.2C1597.9 107.1 1608.23 102.55 1621.36 102.55C1633.84 102.55 1643.66 106.84 1650.81 115.42C1657.96 124 1661.53 135.895 1661.53 151.105V157.54ZM1651.39 147.4C1651.39 136.48 1648.66 127.77 1643.2 121.27C1637.74 114.77 1630.46 111.52 1621.36 111.52C1611.74 111.52 1604.2 114.77 1598.74 121.27C1593.28 127.77 1590.29 137.065 1589.77 149.155H1651.39V147.4Z", fill: color })));
292
292
  }
293
293
 
294
+ const style$1 = {
295
+ Wrapper: mixins.AuthWrapper,
296
+ Column: mixins.AuthColumn,
297
+ HostBlock: mixins.HostBlock,
298
+ ":host": {
299
+ margin: "0 auto",
300
+ width: "100%",
301
+ },
302
+ ButtonsContainer: {
303
+ ...mixins.AuthButtonsContainer,
304
+ gap: "var(--sl-spacing-medium)",
305
+ "& > *": {
306
+ margin: "0 !important",
307
+ },
308
+ },
309
+ ErrorStyle: mixins.ErrorStyles,
310
+ };
311
+ const vanillaStyle = `
312
+ sqm-portal-register {
313
+ margin: 0 auto;
314
+ width: 100%;
315
+ display: block;
316
+ }
317
+
318
+ :host{
319
+ display: block;
320
+ }
321
+
322
+ :host([hidden]) {
323
+ display: none;
324
+ }
325
+ `;
326
+ const sheet$1 = JSS.createStyleSheet(style$1);
327
+ const styleString$1 = sheet$1.toString();
328
+ function BaseRegistrationFormView(props) {
329
+ var _a, _b;
330
+ const { states, content, callbacks } = props;
331
+ return (index.h("div", { class: sheet$1.classes.Wrapper },
332
+ index.h("style", { type: "text/css" },
333
+ vanillaStyle,
334
+ styleString$1),
335
+ index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
336
+ index.h("sl-form", { class: sheet$1.classes.Column, "onSl-submit": callbacks.handleEmailSubmit, novalidate: true },
337
+ content.formData,
338
+ index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", required: true, validationError: ({ value }) => {
339
+ if (!value) {
340
+ return content.requiredFieldErrorMessage;
341
+ }
342
+ // this matches shoelace validation, but could be better
343
+ if (!value.includes("@")) {
344
+ return content.invalidEmailErrorMessage;
345
+ }
346
+ } }, (((_a = states === null || states === void 0 ? void 0 : states.validationErrors) === null || _a === void 0 ? void 0 : _a.email) ? {
347
+ class: sheet$1.classes.ErrorStyle,
348
+ helpText: ((_b = states === null || states === void 0 ? void 0 : states.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ||
349
+ content.requiredFieldErrorMessage,
350
+ }
351
+ : []))),
352
+ content.terms,
353
+ index.h("div", { class: sheet$1.classes.ButtonsContainer },
354
+ index.h("sl-button", { submit: true, exportparts: "base: primarybutton-base", type: "primary", style: { margin: "0" } }, content.submitLabel || "Register"),
355
+ index.h("sl-menu-divider", { style: { margin: "0" } }),
356
+ content.googleButton,
357
+ content.secondaryButton))));
358
+ }
359
+
294
360
  const debug = domContextHooks_module.browser("sq:useBigStat");
295
361
  const LOADING = "...";
296
362
  const debugQuery = (query, variables, getStat) => {
@@ -1402,7 +1468,7 @@ function CardFeedView(props, children) {
1402
1468
  index.h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
1403
1469
  }
1404
1470
 
1405
- const style$1 = {
1471
+ const style$2 = {
1406
1472
  Description: {
1407
1473
  "& .icon": {
1408
1474
  color: "var(--sqm-text)",
@@ -1447,13 +1513,13 @@ const style$1 = {
1447
1513
  },
1448
1514
  },
1449
1515
  };
1450
- const sheet$1 = JSS.createStyleSheet(style$1);
1451
- const styleString$1 = sheet$1.toString();
1516
+ const sheet$2 = JSS.createStyleSheet(style$2);
1517
+ const styleString$2 = sheet$2.toString();
1452
1518
  function Details(props) {
1453
1519
  const rid = Math.random().toString(36).slice(2);
1454
1520
  return (index.h("div", { style: { opacity: props.opacity } },
1455
- index.h("style", { type: "text/css" }, styleString$1),
1456
- index.h("span", { class: sheet$1.classes.Description },
1521
+ index.h("style", { type: "text/css" }, styleString$2),
1522
+ index.h("span", { class: sheet$2.classes.Description },
1457
1523
  index.h("input", { type: "checkbox", id: "details-" + rid }),
1458
1524
  index.h("label", { class: "details", htmlFor: "details-" + rid },
1459
1525
  index.h("sl-icon", { class: "icon", exportparts: "base: chevron-icon", name: "chevron-down" })),
@@ -1475,7 +1541,7 @@ const GreyGift = () => {
1475
1541
  index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M14 2.70949C14 3.59565 12.6694 4.93746 12 5H9V16H7.00179V5H4.58792C3.21247 4.70182 2 3.64537 2 2.52072C2 1.42474 2.47603 0.556701 3.34184 0.182041C4.16921 -0.175986 5.12452 0.0203328 5.87976 0.544666C6.80676 1.18825 7.32679 2.3963 7.79856 3.49226C7.83996 3.58845 7.88099 3.68378 7.9219 3.77778C7.96173 3.68865 8.00186 3.59793 8.0425 3.50608C8.50995 2.44948 9.04359 1.24325 9.9404 0.59563C10.7332 0.0231438 11.741 -0.193157 12.6121 0.198945C13.5129 0.604397 14 1.53453 14 2.70949ZM10.6123 1.5C11.0928 1.15305 11.668 1.09012 12.1597 1.5C12.5879 1.85694 12.6108 2.02497 12.6658 2.42926L12.6755 2.5C12.6755 3.09851 12.1597 4 11.6439 4C11.2785 4 10.9914 3.99691 10.7224 3.99402C10.2319 3.98875 9.80131 3.98412 9.06496 4C9.20533 3.72786 9.31743 3.46669 9.42434 3.21761C9.71026 2.55143 9.95907 1.97176 10.6123 1.5ZM4.93861 1.5C4.70607 1.33855 4.17281 1.4106 3.95166 1.5063C3.76894 1.58537 3.49602 1.82658 3.49602 2.52072C3.49602 3.19524 4.58792 3.77778 4.58792 3.77778C4.58792 3.77778 5.45441 4 7.00179 4C6.47506 2.69451 5.7289 2.04867 4.93861 1.5Z", fill: "#828282" })));
1476
1542
  };
1477
1543
 
1478
- const style$2 = {
1544
+ const style$3 = {
1479
1545
  ProgressBar: {
1480
1546
  "& .progress-bar": {
1481
1547
  height: "0",
@@ -1588,14 +1654,14 @@ const style$2 = {
1588
1654
  },
1589
1655
  },
1590
1656
  };
1591
- const sheet$2 = JSS.createStyleSheet(style$2, { classNamePrefix: "sqm-prog-bar" });
1592
- const styleString$2 = sheet$2.toString();
1657
+ const sheet$3 = JSS.createStyleSheet(style$3, { classNamePrefix: "sqm-prog-bar" });
1658
+ const styleString$3 = sheet$3.toString();
1593
1659
  function ProgressBarView(props) {
1594
1660
  const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
1595
1661
  let aggregate = buildProgressBar(repeatable, steps, props);
1596
1662
  const { columns, items } = aggregate;
1597
- return (index.h("div", { class: sheet$2.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1598
- index.h("style", { type: "text/css" }, styleString$2),
1663
+ return (index.h("div", { class: sheet$3.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1664
+ index.h("style", { type: "text/css" }, styleString$3),
1599
1665
  index.h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
1600
1666
  (Boolean(finite) && progress > 2 * goal)
1601
1667
  ? "progress-bar repeatable-steps"
@@ -2147,7 +2213,7 @@ function TaskCardView(props) {
2147
2213
  } }, content.buttonText)))))))));
2148
2214
  }
2149
2215
 
2150
- const style$3 = {
2216
+ const style$4 = {
2151
2217
  Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
2152
2218
  Column: mixins.AuthColumn,
2153
2219
  HostBlock: mixins.HostBlock,
@@ -2158,7 +2224,7 @@ const style$3 = {
2158
2224
  ButtonsContainer: mixins.AuthButtonsContainer,
2159
2225
  ErrorStyle: mixins.ErrorStyles,
2160
2226
  };
2161
- const vanillaStyle = `
2227
+ const vanillaStyle$1 = `
2162
2228
  sqm-portal-register {
2163
2229
  margin: 0 auto;
2164
2230
  width: 100%;
@@ -2173,20 +2239,20 @@ sqm-portal-register {
2173
2239
  display: none;
2174
2240
  }
2175
2241
  `;
2176
- const sheet$3 = JSS.createStyleSheet(style$3);
2177
- const styleString$3 = sheet$3.toString();
2242
+ const sheet$4 = JSS.createStyleSheet(style$4);
2243
+ const styleString$4 = sheet$4.toString();
2178
2244
  function PortalRegisterView(props) {
2179
2245
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2180
2246
  const { states, refs, callbacks, content } = props;
2181
2247
  if (states.error) {
2182
2248
  window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
2183
2249
  }
2184
- return (index.h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
2250
+ return (index.h("div", { class: sheet$4.classes.Wrapper, part: "sqm-base" },
2185
2251
  index.h("style", { type: "text/css" },
2186
- vanillaStyle,
2187
- styleString$3),
2252
+ vanillaStyle$1,
2253
+ styleString$4),
2188
2254
  index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
2189
- index.h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2255
+ index.h("sl-form", { class: sheet$4.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2190
2256
  states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
2191
2257
  index.h("div", { part: "erroralert-text" }, props.states.error))),
2192
2258
  content.formData,
@@ -2199,7 +2265,7 @@ function PortalRegisterView(props) {
2199
2265
  return content.invalidEmailErrorMessage;
2200
2266
  }
2201
2267
  } }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
2202
- class: sheet$3.classes.ErrorStyle,
2268
+ class: sheet$4.classes.ErrorStyle,
2203
2269
  helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
2204
2270
  content.requiredFieldErrorMessage,
2205
2271
  }
@@ -2210,17 +2276,17 @@ function PortalRegisterView(props) {
2210
2276
  value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
2211
2277
  }
2212
2278
  : {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
2213
- class: sheet$3.classes.ErrorStyle,
2279
+ class: sheet$4.classes.ErrorStyle,
2214
2280
  helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
2215
2281
  }
2216
2282
  : [])))),
2217
2283
  content.terms,
2218
- index.h("div", { class: sheet$3.classes.ButtonsContainer },
2284
+ index.h("div", { class: sheet$4.classes.ButtonsContainer },
2219
2285
  index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
2220
2286
  content.secondaryButton))));
2221
2287
  }
2222
2288
 
2223
- const style$4 = {
2289
+ const style$5 = {
2224
2290
  ErrorStyle: {
2225
2291
  "&::part(control)": {
2226
2292
  borderColor: "var(--sl-color-danger-500)",
@@ -2242,7 +2308,7 @@ const style$4 = {
2242
2308
  "margin-bottom": "var(--sl-spacing-large)",
2243
2309
  },
2244
2310
  };
2245
- const vanillaStyle$1 = `
2311
+ const vanillaStyle$2 = `
2246
2312
  :host {
2247
2313
  margin: 0 auto;
2248
2314
  width: 100%;
@@ -2265,16 +2331,16 @@ sl-checkbox[checked]::part(checked-icon){
2265
2331
  }
2266
2332
  `;
2267
2333
  JSS.jss.setup(JSS.create());
2268
- const sheet$4 = JSS.jss.createStyleSheet(style$4);
2269
- const styleString$4 = sheet$4.toString();
2334
+ const sheet$5 = JSS.jss.createStyleSheet(style$5);
2335
+ const styleString$5 = sheet$5.toString();
2270
2336
  function CheckboxFieldView(props) {
2271
2337
  var _a, _b, _c, _d, _e;
2272
2338
  const { states, content, callbacks } = props;
2273
2339
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2274
- return (index.h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
2340
+ return (index.h("div", { class: sheet$5.classes.FieldContainer, part: "sqm-base" },
2275
2341
  index.h("style", { type: "text/css" },
2276
- vanillaStyle$1,
2277
- styleString$4),
2342
+ vanillaStyle$2,
2343
+ styleString$5),
2278
2344
  index.h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
2279
2345
  e.target.value = e.target.checked;
2280
2346
  callbacks.setChecked(e.target.value);
@@ -2283,7 +2349,7 @@ function CheckboxFieldView(props) {
2283
2349
  return content.errorMessage;
2284
2350
  }
2285
2351
  } }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.checkboxName]) ? {
2286
- class: sheet$4.classes.ErrorStyle,
2352
+ class: sheet$5.classes.ErrorStyle,
2287
2353
  }
2288
2354
  : [])), global.intl.formatMessage({
2289
2355
  id: content.checkboxName + "-message",
@@ -2291,7 +2357,7 @@ function CheckboxFieldView(props) {
2291
2357
  }, {
2292
2358
  labelLink: (index.h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
2293
2359
  })),
2294
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$4.classes.ErrorMessageStyle }, content.errorMessage))));
2360
+ (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (index.h("p", { class: sheet$5.classes.ErrorMessageStyle }, content.errorMessage))));
2295
2361
  }
2296
2362
 
2297
2363
  function CouponCodeView(props) {
@@ -2321,7 +2387,7 @@ function CouponCodeView(props) {
2321
2387
  index.h("div", { part: "erroralert-text" }, props.errorText))) : (index.h(copyTextView.CopyTextView, Object.assign({}, props)))));
2322
2388
  }
2323
2389
 
2324
- const style$5 = {
2390
+ const style$6 = {
2325
2391
  ErrorStyle: {
2326
2392
  "--sl-input-border-color": "var(--sl-color-danger-500)",
2327
2393
  "--sl-input-background-color": "var(--sl-color-danger-10)",
@@ -2337,7 +2403,7 @@ const style$5 = {
2337
2403
  "margin-bottom": "var(--sl-spacing-medium)",
2338
2404
  },
2339
2405
  };
2340
- const vanillaStyle$2 = `
2406
+ const vanillaStyle$3 = `
2341
2407
  :host {
2342
2408
  margin: 0 auto;
2343
2409
  width: 100%;
@@ -2349,24 +2415,24 @@ sl-select::part(label){
2349
2415
  }
2350
2416
  `;
2351
2417
  JSS.jss.setup(JSS.create());
2352
- const sheet$5 = JSS.jss.createStyleSheet(style$5);
2353
- const styleString$5 = sheet$5.toString();
2418
+ const sheet$6 = JSS.jss.createStyleSheet(style$6);
2419
+ const styleString$6 = sheet$6.toString();
2354
2420
  function DropdownFieldView(props) {
2355
2421
  var _a, _b, _c, _d, _e, _f, _g;
2356
2422
  const { states, content } = props;
2357
2423
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2358
- return (index.h("div", { class: sheet$5.classes.FieldContainer, part: "sqm-base" },
2424
+ return (index.h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
2359
2425
  index.h("style", { type: "text/css" },
2360
- vanillaStyle$2,
2361
- styleString$5),
2426
+ vanillaStyle$3,
2427
+ styleString$6),
2362
2428
  index.h("sl-select", Object.assign({ exportparts: "label: input-label, base: input-base", label: content.dropdownLabel, name: `/${content.dropdownName}` }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
2363
2429
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
2364
2430
  }
2365
2431
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
2366
- class: sheet$5.classes.ErrorStyle,
2432
+ class: sheet$6.classes.ErrorStyle,
2367
2433
  }
2368
2434
  : [])), content.selectOptions),
2369
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$5.classes.ErrorMessageStyle }, global.intl.formatMessage({
2435
+ (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$6.classes.ErrorMessageStyle }, global.intl.formatMessage({
2370
2436
  id: `errorMessage-${content.dropdownName}`,
2371
2437
  defaultMessage: content.errorMessage,
2372
2438
  })))));
@@ -2696,13 +2762,13 @@ function HeroView(props) {
2696
2762
  : ""}` }, content.secondaryColumn))) : (index.h("div", { part: "sqm-single-col", class: `${sheet.classes.SingleColumnContainer} ${sheet.classes.ColumnPadding}` }, content.primaryColumn))));
2697
2763
  }
2698
2764
 
2699
- const style$6 = {
2765
+ const style$7 = {
2700
2766
  ErrorStyle: mixins.ErrorStyles,
2701
2767
  FieldContainer: {
2702
2768
  "margin-bottom": "var(--sl-spacing-large)",
2703
2769
  },
2704
2770
  };
2705
- const vanillaStyle$3 = `
2771
+ const vanillaStyle$4 = `
2706
2772
  :host {
2707
2773
  margin: 0 auto;
2708
2774
  width: 100%;
@@ -2710,21 +2776,21 @@ const vanillaStyle$3 = `
2710
2776
  }
2711
2777
  `;
2712
2778
  JSS.jss.setup(JSS.create());
2713
- const sheet$6 = JSS.jss.createStyleSheet(style$6);
2714
- const styleString$6 = sheet$6.toString();
2779
+ const sheet$7 = JSS.jss.createStyleSheet(style$7);
2780
+ const styleString$7 = sheet$7.toString();
2715
2781
  function InputFieldView(props) {
2716
2782
  var _a, _b, _c, _d, _e, _f, _g;
2717
2783
  const { states, content } = props;
2718
2784
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2719
- return (index.h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
2785
+ return (index.h("div", { class: sheet$7.classes.FieldContainer, part: "sqm-base" },
2720
2786
  index.h("style", { type: "text/css" },
2721
- vanillaStyle$3,
2722
- styleString$6),
2787
+ vanillaStyle$4,
2788
+ styleString$7),
2723
2789
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.fieldName}`, type: content.fieldType, label: content.fieldLabel }, (!content.fieldOptional ? { required: true } : []), { disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e[content.fieldName]) ? {
2724
2790
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
2725
2791
  }
2726
2792
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
2727
- class: sheet$6.classes.ErrorStyle,
2793
+ class: sheet$7.classes.ErrorStyle,
2728
2794
  helpText: global.intl.formatMessage({
2729
2795
  id: `errorMessage-${content.fieldName}`,
2730
2796
  defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
@@ -2733,7 +2799,7 @@ function InputFieldView(props) {
2733
2799
  : [])))));
2734
2800
  }
2735
2801
 
2736
- const style$7 = {
2802
+ const style$8 = {
2737
2803
  ErrorStyle: mixins.ErrorStyles,
2738
2804
  FieldsContainer: {
2739
2805
  "& sl-input": {
@@ -2741,7 +2807,7 @@ const style$7 = {
2741
2807
  },
2742
2808
  },
2743
2809
  };
2744
- const vanillaStyle$4 = `
2810
+ const vanillaStyle$5 = `
2745
2811
  :host {
2746
2812
  margin: 0 auto;
2747
2813
  width: 100%;
@@ -2778,21 +2844,21 @@ sl-input {
2778
2844
  }
2779
2845
 
2780
2846
  `;
2781
- const sheet$7 = JSS.createStyleSheet(style$7);
2782
- const styleString$7 = sheet$7.toString();
2847
+ const sheet$8 = JSS.createStyleSheet(style$8);
2848
+ const styleString$8 = sheet$8.toString();
2783
2849
  function NameFieldsView(props) {
2784
2850
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2785
2851
  const { states } = props;
2786
2852
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2787
- return (index.h("div", { class: sheet$7.classes.FieldsContainer },
2853
+ return (index.h("div", { class: sheet$8.classes.FieldsContainer },
2788
2854
  index.h("style", { type: "text/css" },
2789
- vanillaStyle$4,
2790
- styleString$7),
2855
+ vanillaStyle$5,
2856
+ styleString$8),
2791
2857
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", name: "/firstName", type: "text", label: states.content.firstNameLabel, required: !states.optional, disabled: ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.disabled) }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.firstName) ? {
2792
2858
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
2793
2859
  }
2794
2860
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
2795
- class: sheet$7.classes.ErrorStyle,
2861
+ class: sheet$8.classes.ErrorStyle,
2796
2862
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
2797
2863
  }
2798
2864
  : []))),
@@ -2800,7 +2866,7 @@ function NameFieldsView(props) {
2800
2866
  value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
2801
2867
  }
2802
2868
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
2803
- class: sheet$7.classes.ErrorStyle,
2869
+ class: sheet$8.classes.ErrorStyle,
2804
2870
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
2805
2871
  }
2806
2872
  : [])))));
@@ -2850,7 +2916,7 @@ function ChangeMarktingView(props) {
2850
2916
  index.h("div", { part: "successalert-text" }, states.text.successMessage))))));
2851
2917
  }
2852
2918
 
2853
- const vanillaStyle$5 = `
2919
+ const vanillaStyle$6 = `
2854
2920
  :host {
2855
2921
  margin: 0 auto;
2856
2922
  width: 100%;
@@ -2906,7 +2972,7 @@ function PortalFooterView(props) {
2906
2972
  const styleString = sheet.toString();
2907
2973
  return (index.h("div", { class: sheet.classes.Container, part: "sqm-base" },
2908
2974
  index.h("style", { type: "text/css" },
2909
- vanillaStyle$5,
2975
+ vanillaStyle$6,
2910
2976
  styleString),
2911
2977
  index.h("div", { class: sheet.classes.RowContainer },
2912
2978
  props.faqLink && (index.h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
@@ -2922,7 +2988,7 @@ function PortalFooterView(props) {
2922
2988
  index.h(PoweredByImg, { color: "currentColor" })))));
2923
2989
  }
2924
2990
 
2925
- const vanillaStyle$6 = `
2991
+ const vanillaStyle$7 = `
2926
2992
  :host {
2927
2993
  display: block;
2928
2994
  }
@@ -2952,7 +3018,7 @@ function PortalForgotPasswordView(props) {
2952
3018
  const styleString = sheet.toString();
2953
3019
  return (index.h("div", { class: sheet.classes.FormWrapper, part: "sqm-base" },
2954
3020
  index.h("style", { type: "text/css" },
2955
- vanillaStyle$6,
3021
+ vanillaStyle$7,
2956
3022
  styleString),
2957
3023
  index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.messageSlot),
2958
3024
  index.h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
@@ -3018,6 +3084,56 @@ function PortalFrameView(props, children) {
3018
3084
  index.h("div", { class: sheet.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
3019
3085
  }
3020
3086
 
3087
+ const style$9 = {
3088
+ Wrapper: mixins.AuthWrapper,
3089
+ Column: mixins.AuthColumn,
3090
+ ForgotButtonContainer: {
3091
+ display: "inline",
3092
+ cursor: "pointer",
3093
+ "font-size": "13px",
3094
+ "font-weight": "600",
3095
+ color: "var(--sqm-text-subdued)",
3096
+ margin: "0",
3097
+ },
3098
+ ButtonsContainer: {
3099
+ ...mixins.AuthButtonsContainer,
3100
+ gap: "var(--sl-spacing-medium)",
3101
+ "& > *": {
3102
+ margin: "0 !important",
3103
+ },
3104
+ },
3105
+ };
3106
+ const vanillaStyle$8 = `
3107
+ :host {
3108
+ display: block;
3109
+ }
3110
+ :host([hidden]): {
3111
+ display: none;
3112
+ }
3113
+ `;
3114
+ const sheet$9 = JSS.createStyleSheet(style$9);
3115
+ const styleString$9 = sheet$9.toString();
3116
+ function PortalLoginView(props) {
3117
+ const { states, callbacks, content } = props;
3118
+ return (index.h("div", { class: sheet$9.classes.Wrapper, part: "sqm-base" },
3119
+ index.h("style", { type: "text/css" },
3120
+ vanillaStyle$8,
3121
+ styleString$9),
3122
+ index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
3123
+ index.h("sl-form", { class: sheet$9.classes.Column, "onSl-submit": callbacks.submit },
3124
+ props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
3125
+ index.h("div", { part: "erroralert-text" }, props.states.error))),
3126
+ index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
3127
+ index.h("div", null,
3128
+ index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
3129
+ index.h("div", { class: sheet$9.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
3130
+ index.h("div", { class: sheet$9.classes.ButtonsContainer },
3131
+ index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
3132
+ content.googleButton && index.h("sl-menu-divider", null),
3133
+ content.googleButton,
3134
+ content.secondaryButton))));
3135
+ }
3136
+
3021
3137
  function ReferralIframeView(props) {
3022
3138
  const { states, data } = props;
3023
3139
  const { content } = states;
@@ -3132,7 +3248,7 @@ function ProgressBar({ stageCount, currentStage, }) {
3132
3248
  return (index.h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (index.h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
3133
3249
  }
3134
3250
 
3135
- const style$8 = {
3251
+ const style$a = {
3136
3252
  HostBlock: mixins.HostBlock,
3137
3253
  Container: {
3138
3254
  minWidth: "300px",
@@ -3482,8 +3598,8 @@ const style$8 = {
3482
3598
  },
3483
3599
  };
3484
3600
  // JSS config
3485
- const sheet$8 = JSS.createStyleSheet(style$8);
3486
- const styleString$8 = sheet$8.toString();
3601
+ const sheet$a = JSS.createStyleSheet(style$a);
3602
+ const styleString$a = sheet$a.toString();
3487
3603
  const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
3488
3604
  function RewardExchangeView(props) {
3489
3605
  const { states, data, callbacks, refs } = props;
@@ -3506,7 +3622,7 @@ function RewardExchangeView(props) {
3506
3622
  sourceUnit: item.sourceUnit,
3507
3623
  })));
3508
3624
  }
3509
- return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$8.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
3625
+ return (index.h("sl-select", { style: { width: "auto" }, label: (_b = states === null || states === void 0 ? void 0 : states.content) === null || _b === void 0 ? void 0 : _b.text.selectText, class: sheet$a.classes.Select, value: states.selectedStep, "onSl-select": (e) => {
3510
3626
  var _a, _b, _c, _d, _e;
3511
3627
  return callbacks.setExchangeState({
3512
3628
  amount: (_c = (_b = (_a = e.detail) === null || _a === void 0 ? void 0 : _a.item) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.sourceValue,
@@ -3514,7 +3630,7 @@ function RewardExchangeView(props) {
3514
3630
  });
3515
3631
  } }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
3516
3632
  var _a, _b;
3517
- return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$8.classes.SelectItem },
3633
+ return (index.h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$a.classes.SelectItem },
3518
3634
  step.prettyDestinationValue,
3519
3635
  index.h("br", null),
3520
3636
  index.h("div", { class: "step-cost", slot: "suffix" },
@@ -3533,8 +3649,8 @@ function RewardExchangeView(props) {
3533
3649
  var _a;
3534
3650
  return [
3535
3651
  index.h("div", { part: "choose-reward-container" },
3536
- index.h("div", { class: sheet$8.classes.Title }, states.content.text.rewardTitle),
3537
- states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$8.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3652
+ index.h("div", { class: sheet$a.classes.Title }, states.content.text.rewardTitle),
3653
+ states.loading || states.queryError ? (loading()) : (index.h("div", { class: sheet$a.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3538
3654
  var _a, _b, _c, _d, _e;
3539
3655
  const style = {
3540
3656
  boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
@@ -3544,7 +3660,7 @@ function RewardExchangeView(props) {
3544
3660
  borderColor: "none",
3545
3661
  };
3546
3662
  return (index.h("div", { key: item.key, style: style },
3547
- index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$8.classes.Card, style: {
3663
+ index.h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$a.classes.Card, style: {
3548
3664
  cursor: item.unavailableReasonCode
3549
3665
  ? "not-allowed"
3550
3666
  : "pointer",
@@ -3561,14 +3677,14 @@ function RewardExchangeView(props) {
3561
3677
  ? "rgba(0, 0, 0, 0.05)"
3562
3678
  : "rgba(0, 0, 0, 0)",
3563
3679
  } },
3564
- index.h("div", { class: sheet$8.classes.Image, style: {
3680
+ index.h("div", { class: sheet$a.classes.Image, style: {
3565
3681
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3566
3682
  } },
3567
3683
  index.h("img", { class: item.unavailableReasonCode
3568
3684
  ? "image subdued"
3569
3685
  : "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
3570
3686
  index.getAssetPath("./assets/Reward-image.png") })),
3571
- index.h("div", { class: sheet$8.classes.TextArea, style: {
3687
+ index.h("div", { class: sheet$a.classes.TextArea, style: {
3572
3688
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3573
3689
  } },
3574
3690
  index.h("div", { class: "title", style: {
@@ -3601,7 +3717,7 @@ function RewardExchangeView(props) {
3601
3717
  item.prettySourceMinValue,
3602
3718
  }))))))));
3603
3719
  }))),
3604
- index.h("div", { class: sheet$8.classes.Button },
3720
+ index.h("div", { class: sheet$a.classes.Button },
3605
3721
  index.h("sl-button", { exportparts: "base: primarybutton-base", type: "primary", class: "continue right", size: "large", onClick: () => callbacks.setStage("chooseAmount"), loading: states.loading, disabled: !states.selectedItem }, states.content.text.continueText))),
3606
3722
  ];
3607
3723
  }
@@ -3612,7 +3728,7 @@ function RewardExchangeView(props) {
3612
3728
  ? false
3613
3729
  : input && !states.amount;
3614
3730
  return (index.h("div", null,
3615
- index.h("div", { class: sheet$8.classes.ChooseAmount, part: "choose-amount-container" },
3731
+ index.h("div", { class: sheet$a.classes.ChooseAmount, part: "choose-amount-container" },
3616
3732
  index.h("div", { class: "wrapper" },
3617
3733
  index.h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
3618
3734
  index.getAssetPath("./assets/Reward-image.png") }),
@@ -3621,7 +3737,7 @@ function RewardExchangeView(props) {
3621
3737
  ((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "points" }, input)) : (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
3622
3738
  ((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (index.h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (index.h("div", null, input)),
3623
3739
  index.h("div", { class: "space" }))),
3624
- index.h("div", { class: sheet$8.classes.Button },
3740
+ index.h("div", { class: sheet$a.classes.Button },
3625
3741
  index.h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "secondary", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
3626
3742
  index.h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", type: "primary", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
3627
3743
  }
@@ -3629,8 +3745,8 @@ function RewardExchangeView(props) {
3629
3745
  const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.prettySourceValue);
3630
3746
  const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
3631
3747
  return (index.h("div", null,
3632
- index.h("div", { class: sheet$8.classes.Confirmation, part: "confirmation-container" },
3633
- index.h("div", { class: sheet$8.classes.Title }, states.content.text.redeemTitle),
3748
+ index.h("div", { class: sheet$a.classes.Confirmation, part: "confirmation-container" },
3749
+ index.h("div", { class: sheet$a.classes.Title }, states.content.text.redeemTitle),
3634
3750
  index.h("div", { class: "wrapper" },
3635
3751
  index.h("div", { class: "field" }, states.content.text.rewardNameTitle),
3636
3752
  index.h("div", { class: "reward-item-container" },
@@ -3645,13 +3761,13 @@ function RewardExchangeView(props) {
3645
3761
  index.h("div", { class: "wrapper top-border padding" },
3646
3762
  index.h("div", { class: "field" }, states.content.text.costTitle),
3647
3763
  index.h("div", { class: "value" }, cost)),
3648
- index.h("div", { class: sheet$8.classes.Button },
3764
+ index.h("div", { class: sheet$a.classes.Button },
3649
3765
  index.h("sl-button", { class: "cancel", type: "secondary", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
3650
3766
  index.h("sl-button", { class: "continue", size: "large", type: "primary", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
3651
3767
  }
3652
3768
  function success() {
3653
3769
  var _a, _b, _c, _d, _e, _f, _g, _h;
3654
- return (index.h("div", { class: sheet$8.classes.Success, part: "success-container" },
3770
+ return (index.h("div", { class: sheet$a.classes.Success, part: "success-container" },
3655
3771
  index.h(Gift$1, null),
3656
3772
  index.h(Confetti, null),
3657
3773
  index.h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
@@ -3665,7 +3781,7 @@ function RewardExchangeView(props) {
3665
3781
  (data === null || data === void 0 ? void 0 : data.fuelTankCode) && (index.h("div", { class: "promo" },
3666
3782
  states.content.text.promoCode,
3667
3783
  index.h(copyTextView.CopyTextView, { copyString: data.fuelTankCode, tooltiptext: (_h = states === null || states === void 0 ? void 0 : states.content) === null || _h === void 0 ? void 0 : _h.text.tooltipText, open: states.open, onClick: callbacks.copyFuelTankCode }))),
3668
- index.h("div", { class: sheet$8.classes.Button },
3784
+ index.h("div", { class: sheet$a.classes.Button },
3669
3785
  index.h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
3670
3786
  }
3671
3787
  const stages = {
@@ -3677,7 +3793,7 @@ function RewardExchangeView(props) {
3677
3793
  const currentStage = stages[states.redeemStage];
3678
3794
  function stageMap() {
3679
3795
  const stageNumber = stageList.indexOf(states.redeemStage);
3680
- return (index.h("div", { class: sheet$8.classes.ProgressBar },
3796
+ return (index.h("div", { class: sheet$a.classes.ProgressBar },
3681
3797
  index.h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
3682
3798
  if (stageList.indexOf(stage) <= stageNumber) {
3683
3799
  return index.h("span", { class: "text" }, stageProgressList[stage]);
@@ -3689,10 +3805,10 @@ function RewardExchangeView(props) {
3689
3805
  index.h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
3690
3806
  }
3691
3807
  function loading() {
3692
- return (index.h("div", { class: sheet$8.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3808
+ return (index.h("div", { class: sheet$a.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3693
3809
  return (index.h("div", null,
3694
- index.h("sl-card", { class: sheet$8.classes.Card },
3695
- index.h("div", { class: sheet$8.classes.CardLayout },
3810
+ index.h("sl-card", { class: sheet$a.classes.Card },
3811
+ index.h("div", { class: sheet$a.classes.CardLayout },
3696
3812
  index.h("div", null,
3697
3813
  index.h("sl-skeleton", { style: {
3698
3814
  width: "100px",
@@ -3724,12 +3840,12 @@ function RewardExchangeView(props) {
3724
3840
  if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
3725
3841
  return;
3726
3842
  refs.canvasRef.current = canvas;
3727
- }, id: "my-canvas", class: sheet$8.classes.Confetti }));
3843
+ }, id: "my-canvas", class: sheet$a.classes.Confetti }));
3728
3844
  }
3729
3845
  if (states.noExchangeOptions)
3730
3846
  return states.content.text.empty;
3731
- return (index.h("div", { class: sheet$8.classes.Container, part: "sqm-base" },
3732
- index.h("style", { type: "text/css" }, styleString$8),
3847
+ return (index.h("div", { class: sheet$a.classes.Container, part: "sqm-base" },
3848
+ index.h("style", { type: "text/css" }, styleString$a),
3733
3849
  index.h("div", null,
3734
3850
  stageMap(),
3735
3851
  states.exchangeError && errorMessage(),
@@ -4305,7 +4421,7 @@ function useShareLink(props) {
4305
4421
  return { ...props, onClick, open, copyString: copyString };
4306
4422
  }
4307
4423
 
4308
- const style$9 = {
4424
+ const style$b = {
4309
4425
  Wrapper: {
4310
4426
  ...mixins.AuthWrapper,
4311
4427
  "max-width": "600px",
@@ -4343,7 +4459,7 @@ const style$9 = {
4343
4459
  },
4344
4460
  ErrorStyle: mixins.ErrorStyles,
4345
4461
  };
4346
- const vanillaStyle$7 = `
4462
+ const vanillaStyle$9 = `
4347
4463
  sqm-portal-register {
4348
4464
  margin: 0 auto;
4349
4465
  width: 100%;
@@ -4358,8 +4474,8 @@ sqm-portal-register {
4358
4474
  display: none;
4359
4475
  }
4360
4476
  `;
4361
- const sheet$9 = JSS.createStyleSheet(style$9);
4362
- const styleString$9 = sheet$9.toString();
4477
+ const sheet$b = JSS.createStyleSheet(style$b);
4478
+ const styleString$b = sheet$b.toString();
4363
4479
  function LeadFormView(props) {
4364
4480
  var _a, _b, _c, _d;
4365
4481
  const { states, refs, callbacks, content } = props;
@@ -4373,23 +4489,23 @@ function LeadFormView(props) {
4373
4489
  fieldLabel,
4374
4490
  });
4375
4491
  return (index.h(index.Fragment, null,
4376
- states.success && (index.h("div", { class: sheet$9.classes.Wrapper, part: "sqm-base" },
4492
+ states.success && (index.h("div", { class: sheet$b.classes.Wrapper, part: "sqm-base" },
4377
4493
  index.h("style", { type: "text/css" },
4378
- vanillaStyle$7,
4379
- styleString$9),
4494
+ vanillaStyle$9,
4495
+ styleString$b),
4380
4496
  index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
4381
4497
  index.h("sqm-form-message", { exportparts: "success-icon" },
4382
4498
  index.h("b", null, content.submitSuccessHeader),
4383
4499
  index.h("br", null),
4384
4500
  index.h("div", { part: "successalert-text" }, content.submitSuccessDescription)),
4385
- index.h("sl-button", { class: sheet$9.classes.ContinueButton, onClick: callbacks.resetForm, loading: states.loading, exportparts: "base: primarybutton-base", type: "default" }, content.resubmitFormLabel))),
4386
- index.h("div", { class: sheet$9.classes.Wrapper, part: "sqm-base", style: { display: states.success ? "none" : "block" } },
4501
+ index.h("sl-button", { class: sheet$b.classes.ContinueButton, onClick: callbacks.resetForm, loading: states.loading, exportparts: "base: primarybutton-base", type: "default" }, content.resubmitFormLabel))),
4502
+ index.h("div", { class: sheet$b.classes.Wrapper, part: "sqm-base", style: { display: states.success ? "none" : "block" } },
4387
4503
  index.h("style", { type: "text/css" },
4388
- vanillaStyle$7,
4389
- styleString$9),
4504
+ vanillaStyle$9,
4505
+ styleString$b),
4390
4506
  index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
4391
- index.h("sl-form", { class: sheet$9.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
4392
- states.error && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", class: sheet$9.classes.ErrorAlertContainer, open: true },
4507
+ index.h("sl-form", { class: sheet$b.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
4508
+ states.error && (index.h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", class: sheet$b.classes.ErrorAlertContainer, open: true },
4393
4509
  index.h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
4394
4510
  index.h("b", null, content.submitErrorHeader),
4395
4511
  index.h("br", null),
@@ -4399,9 +4515,9 @@ function LeadFormView(props) {
4399
4515
  }, {
4400
4516
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, content.supportLinkText)),
4401
4517
  }))),
4402
- index.h("div", { class: sheet$9.classes.NameFieldWrapper },
4403
- index.h("sqm-lead-input-field", { class: sheet$9.classes.NameInput, "field-label": content.firstNameLabel || "First Name", "field-name": "firstName" }),
4404
- index.h("sqm-lead-input-field", { class: sheet$9.classes.NameInput, "field-label": content.lastNameLabel || "Last Name", "field-name": "lastName" })),
4518
+ index.h("div", { class: sheet$b.classes.NameFieldWrapper },
4519
+ index.h("sqm-lead-input-field", { class: sheet$b.classes.NameInput, "field-label": content.firstNameLabel || "First Name", "field-name": "firstName" }),
4520
+ index.h("sqm-lead-input-field", { class: sheet$b.classes.NameInput, "field-label": content.lastNameLabel || "Last Name", "field-name": "lastName" })),
4405
4521
  index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true, validationError: ({ value }) => {
4406
4522
  if (!value) {
4407
4523
  return getRequiredFieldErrorMessage({
@@ -4413,18 +4529,18 @@ function LeadFormView(props) {
4413
4529
  return content.invalidEmailErrorMessage;
4414
4530
  }
4415
4531
  } }, (((_b = (_a = states.leadFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
4416
- class: sheet$9.classes.ErrorStyle,
4532
+ class: sheet$b.classes.ErrorStyle,
4417
4533
  helpText: ((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
4418
4534
  content.requiredFieldErrorMessage,
4419
4535
  }
4420
4536
  : []))),
4421
4537
  index.h("input", { type: "hidden", hidden: true, name: "/referralCode", value: states.referralCode }),
4422
4538
  content.formData,
4423
- index.h("div", { class: sheet$9.classes.ButtonsContainer },
4539
+ index.h("div", { class: sheet$b.classes.ButtonsContainer },
4424
4540
  index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"))))));
4425
4541
  }
4426
4542
 
4427
- const style$a = {
4543
+ const style$c = {
4428
4544
  ErrorStyle: {
4429
4545
  "--sl-input-border-color": "var(--sl-color-danger-500)",
4430
4546
  "--sl-input-background-color": "var(--sl-color-danger-10)",
@@ -4440,7 +4556,7 @@ const style$a = {
4440
4556
  "margin-bottom": "var(--sl-spacing-large)",
4441
4557
  },
4442
4558
  };
4443
- const vanillaStyle$8 = `
4559
+ const vanillaStyle$a = `
4444
4560
  :host {
4445
4561
  margin: 0 auto;
4446
4562
  width: 100%;
@@ -4455,8 +4571,8 @@ sl-select::part(menu){
4455
4571
  }
4456
4572
  `;
4457
4573
  JSS.jss.setup(JSS.create());
4458
- const sheet$a = JSS.jss.createStyleSheet(style$a);
4459
- const styleString$a = sheet$a.toString();
4574
+ const sheet$c = JSS.jss.createStyleSheet(style$c);
4575
+ const styleString$c = sheet$c.toString();
4460
4576
  function LeadDropdownFieldView(props) {
4461
4577
  var _a, _b, _c, _d, _e;
4462
4578
  const { states, content } = props;
@@ -4467,10 +4583,10 @@ function LeadDropdownFieldView(props) {
4467
4583
  }, {
4468
4584
  dropdownLabel,
4469
4585
  });
4470
- return (index.h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
4586
+ return (index.h("div", { class: sheet$c.classes.FieldContainer, part: "sqm-base" },
4471
4587
  index.h("style", { type: "text/css" },
4472
- vanillaStyle$8,
4473
- styleString$a),
4588
+ vanillaStyle$a,
4589
+ styleString$c),
4474
4590
  index.h("sl-select", Object.assign({ style: { maxHeight: "100px" }, exportparts: "label: input-label, base: input-base", label: `${content.dropdownLabel}${content.dropdownOptional ? ` ${content.optionalLabel}` : ""}`, name: `/${content.dropdownName}`, multiple: content.multiple }, (!content.dropdownOptional ? { required: true } : []), { disabled: ((_b = states.leadFormState) === null || _b === void 0 ? void 0 : _b.loading) || ((_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.disabled), validationError: ({ value }) => {
4475
4591
  if (!value && !content.dropdownOptional) {
4476
4592
  return getRequiredFieldErrorMessage({
@@ -4478,10 +4594,10 @@ function LeadDropdownFieldView(props) {
4478
4594
  });
4479
4595
  }
4480
4596
  } }, (((_e = (_d = states.leadFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
4481
- class: sheet$a.classes.ErrorStyle,
4597
+ class: sheet$c.classes.ErrorStyle,
4482
4598
  }
4483
4599
  : [])), content.selectOptions),
4484
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$a.classes.ErrorMessageStyle }, getRequiredFieldErrorMessage({
4600
+ (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (index.h("p", { class: sheet$c.classes.ErrorMessageStyle }, getRequiredFieldErrorMessage({
4485
4601
  dropdownLabel: content.dropdownLabel,
4486
4602
  })))));
4487
4603
  }
@@ -4520,6 +4636,7 @@ const ShadowViewAddon = ({ story }, children) => {
4520
4636
  index.h(TagName, { "stencilbook-shadow-view": randomInt })));
4521
4637
  };
4522
4638
 
4639
+ exports.BaseRegistrationFormView = BaseRegistrationFormView;
4523
4640
  exports.BigStatView = BigStatView;
4524
4641
  exports.CardFeedView = CardFeedView;
4525
4642
  exports.ChangeMarktingView = ChangeMarktingView;
@@ -4537,6 +4654,7 @@ exports.PortalChangePasswordView = PortalChangePasswordView;
4537
4654
  exports.PortalFooterView = PortalFooterView;
4538
4655
  exports.PortalForgotPasswordView = PortalForgotPasswordView;
4539
4656
  exports.PortalFrameView = PortalFrameView;
4657
+ exports.PortalLoginView = PortalLoginView;
4540
4658
  exports.PortalRegisterView = PortalRegisterView;
4541
4659
  exports.PoweredByImg = PoweredByImg;
4542
4660
  exports.ProgressBar = ProgressBar;