@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
@@ -1,18 +1,18 @@
1
1
  import { h, c as Host, d as getAssetPath, F as Fragment, g as getElement } from './index-b3a06de8.js';
2
- import { i as intl } from './global-58a69018.js';
2
+ import { i as intl } from './global-5d501632.js';
3
3
  import { b as browser, u as useMemo, k as useState } from './dom-context-hooks.module-63370afd.js';
4
- import { H, L, J, d as dist, w as wn, j as jn, B, F as Fn, $ as $e, g as getEnvironmentSDK } from './index.module-c9811a48.js';
4
+ import { H, L, J, d as dist, w as wn, j as jn, B, F as Fn, $ as $e, g as getEnvironmentSDK } from './index.module-234e8f5e.js';
5
5
  import { c as cjs } from './cjs-bdfb4486.js';
6
6
  import { l as luxonLocale } from './utils-334c1e34.js';
7
7
  import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
8
- import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-c2e809cf.js';
8
+ import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-75d67509.js';
9
9
  import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-f750863a.js';
10
10
  import { C as CopyTextView } from './copy-text-view-fac47254.js';
11
- import { u as useChildElements } from './useChildElements-3d872cef.js';
11
+ import { u as useChildElements } from './useChildElements-daf489b1.js';
12
12
  import { l as luxon } from './luxon-bbf75a9d.js';
13
13
  import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
14
14
  import { p as pathToRegexp } from './index-ffa26b43.js';
15
- import { a as isValidColor, b as isMobile } from './utilities-72c07b09.js';
15
+ import { a as isValidColor, b as isMobile } from './utilities-e6f8716e.js';
16
16
  import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-176e92e3.js';
17
17
 
18
18
  function BigStatView(props) {
@@ -289,6 +289,72 @@ function PoweredByImg({ color = "#A6A6A6", width = 120, height = 16, }) {
289
289
  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 })));
290
290
  }
291
291
 
292
+ const style$1 = {
293
+ Wrapper: AuthWrapper,
294
+ Column: AuthColumn,
295
+ HostBlock: HostBlock,
296
+ ":host": {
297
+ margin: "0 auto",
298
+ width: "100%",
299
+ },
300
+ ButtonsContainer: {
301
+ ...AuthButtonsContainer,
302
+ gap: "var(--sl-spacing-medium)",
303
+ "& > *": {
304
+ margin: "0 !important",
305
+ },
306
+ },
307
+ ErrorStyle: ErrorStyles,
308
+ };
309
+ const vanillaStyle = `
310
+ sqm-portal-register {
311
+ margin: 0 auto;
312
+ width: 100%;
313
+ display: block;
314
+ }
315
+
316
+ :host{
317
+ display: block;
318
+ }
319
+
320
+ :host([hidden]) {
321
+ display: none;
322
+ }
323
+ `;
324
+ const sheet$1 = createStyleSheet(style$1);
325
+ const styleString$1 = sheet$1.toString();
326
+ function BaseRegistrationFormView(props) {
327
+ var _a, _b;
328
+ const { states, content, callbacks } = props;
329
+ return (h("div", { class: sheet$1.classes.Wrapper },
330
+ h("style", { type: "text/css" },
331
+ vanillaStyle,
332
+ styleString$1),
333
+ h(TextSpanView, { type: "h3" }, content.pageLabel),
334
+ h("sl-form", { class: sheet$1.classes.Column, "onSl-submit": callbacks.handleEmailSubmit, novalidate: true },
335
+ content.formData,
336
+ h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", required: true, validationError: ({ value }) => {
337
+ if (!value) {
338
+ return content.requiredFieldErrorMessage;
339
+ }
340
+ // this matches shoelace validation, but could be better
341
+ if (!value.includes("@")) {
342
+ return content.invalidEmailErrorMessage;
343
+ }
344
+ } }, (((_a = states === null || states === void 0 ? void 0 : states.validationErrors) === null || _a === void 0 ? void 0 : _a.email) ? {
345
+ class: sheet$1.classes.ErrorStyle,
346
+ helpText: ((_b = states === null || states === void 0 ? void 0 : states.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ||
347
+ content.requiredFieldErrorMessage,
348
+ }
349
+ : []))),
350
+ content.terms,
351
+ h("div", { class: sheet$1.classes.ButtonsContainer },
352
+ h("sl-button", { submit: true, exportparts: "base: primarybutton-base", type: "primary", style: { margin: "0" } }, content.submitLabel || "Register"),
353
+ h("sl-menu-divider", { style: { margin: "0" } }),
354
+ content.googleButton,
355
+ content.secondaryButton))));
356
+ }
357
+
292
358
  const debug = browser("sq:useBigStat");
293
359
  const LOADING = "...";
294
360
  const debugQuery = (query, variables, getStat) => {
@@ -1400,7 +1466,7 @@ function CardFeedView(props, children) {
1400
1466
  h("div", { class: sheet.classes.Container, part: "sqm-base" }, children)));
1401
1467
  }
1402
1468
 
1403
- const style$1 = {
1469
+ const style$2 = {
1404
1470
  Description: {
1405
1471
  "& .icon": {
1406
1472
  color: "var(--sqm-text)",
@@ -1445,13 +1511,13 @@ const style$1 = {
1445
1511
  },
1446
1512
  },
1447
1513
  };
1448
- const sheet$1 = createStyleSheet(style$1);
1449
- const styleString$1 = sheet$1.toString();
1514
+ const sheet$2 = createStyleSheet(style$2);
1515
+ const styleString$2 = sheet$2.toString();
1450
1516
  function Details(props) {
1451
1517
  const rid = Math.random().toString(36).slice(2);
1452
1518
  return (h("div", { style: { opacity: props.opacity } },
1453
- h("style", { type: "text/css" }, styleString$1),
1454
- h("span", { class: sheet$1.classes.Description },
1519
+ h("style", { type: "text/css" }, styleString$2),
1520
+ h("span", { class: sheet$2.classes.Description },
1455
1521
  h("input", { type: "checkbox", id: "details-" + rid }),
1456
1522
  h("label", { class: "details", htmlFor: "details-" + rid },
1457
1523
  h("sl-icon", { class: "icon", exportparts: "base: chevron-icon", name: "chevron-down" })),
@@ -1473,7 +1539,7 @@ const GreyGift = () => {
1473
1539
  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" })));
1474
1540
  };
1475
1541
 
1476
- const style$2 = {
1542
+ const style$3 = {
1477
1543
  ProgressBar: {
1478
1544
  "& .progress-bar": {
1479
1545
  height: "0",
@@ -1586,14 +1652,14 @@ const style$2 = {
1586
1652
  },
1587
1653
  },
1588
1654
  };
1589
- const sheet$2 = createStyleSheet(style$2, { classNamePrefix: "sqm-prog-bar" });
1590
- const styleString$2 = sheet$2.toString();
1655
+ const sheet$3 = createStyleSheet(style$3, { classNamePrefix: "sqm-prog-bar" });
1656
+ const styleString$3 = sheet$3.toString();
1591
1657
  function ProgressBarView(props) {
1592
1658
  const { progress = 0, goal = 1, steps = false, progressBarUnit = "", repeatable = false, complete = false, expired = false, finite = 0, opacity = "1", } = props;
1593
1659
  let aggregate = buildProgressBar(repeatable, steps, props);
1594
1660
  const { columns, items } = aggregate;
1595
- return (h("div", { class: sheet$2.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1596
- h("style", { type: "text/css" }, styleString$2),
1661
+ return (h("div", { class: sheet$3.classes.ProgressBar, "data-expired": expired, "data-complete": complete, "data-steps": steps, "data-done": goal <= progress, style: { opacity: opacity } },
1662
+ h("style", { type: "text/css" }, styleString$3),
1597
1663
  h("div", { class: (!Boolean(finite) && progress >= 2 * goal) ||
1598
1664
  (Boolean(finite) && progress > 2 * goal)
1599
1665
  ? "progress-bar repeatable-steps"
@@ -2145,7 +2211,7 @@ function TaskCardView(props) {
2145
2211
  } }, content.buttonText)))))))));
2146
2212
  }
2147
2213
 
2148
- const style$3 = {
2214
+ const style$4 = {
2149
2215
  Wrapper: { ...AuthWrapper, "max-width": "600px" },
2150
2216
  Column: AuthColumn,
2151
2217
  HostBlock: HostBlock,
@@ -2156,7 +2222,7 @@ const style$3 = {
2156
2222
  ButtonsContainer: AuthButtonsContainer,
2157
2223
  ErrorStyle: ErrorStyles,
2158
2224
  };
2159
- const vanillaStyle = `
2225
+ const vanillaStyle$1 = `
2160
2226
  sqm-portal-register {
2161
2227
  margin: 0 auto;
2162
2228
  width: 100%;
@@ -2171,20 +2237,20 @@ sqm-portal-register {
2171
2237
  display: none;
2172
2238
  }
2173
2239
  `;
2174
- const sheet$3 = createStyleSheet(style$3);
2175
- const styleString$3 = sheet$3.toString();
2240
+ const sheet$4 = createStyleSheet(style$4);
2241
+ const styleString$4 = sheet$4.toString();
2176
2242
  function PortalRegisterView(props) {
2177
2243
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2178
2244
  const { states, refs, callbacks, content } = props;
2179
2245
  if (states.error) {
2180
2246
  window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
2181
2247
  }
2182
- return (h("div", { class: sheet$3.classes.Wrapper, part: "sqm-base" },
2248
+ return (h("div", { class: sheet$4.classes.Wrapper, part: "sqm-base" },
2183
2249
  h("style", { type: "text/css" },
2184
- vanillaStyle,
2185
- styleString$3),
2250
+ vanillaStyle$1,
2251
+ styleString$4),
2186
2252
  h(TextSpanView, { type: "h3" }, content.pageLabel),
2187
- h("sl-form", { class: sheet$3.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2253
+ h("sl-form", { class: sheet$4.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
2188
2254
  states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
2189
2255
  h("div", { part: "erroralert-text" }, props.states.error))),
2190
2256
  content.formData,
@@ -2197,7 +2263,7 @@ function PortalRegisterView(props) {
2197
2263
  return content.invalidEmailErrorMessage;
2198
2264
  }
2199
2265
  } }, (((_b = (_a = states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
2200
- class: sheet$3.classes.ErrorStyle,
2266
+ class: sheet$4.classes.ErrorStyle,
2201
2267
  helpText: ((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
2202
2268
  content.requiredFieldErrorMessage,
2203
2269
  }
@@ -2208,17 +2274,17 @@ function PortalRegisterView(props) {
2208
2274
  value: (_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.initialData) === null || _j === void 0 ? void 0 : _j.confirmPassword,
2209
2275
  }
2210
2276
  : {}), (((_l = (_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.validationErrors) === null || _l === void 0 ? void 0 : _l.confirmPassword) ? {
2211
- class: sheet$3.classes.ErrorStyle,
2277
+ class: sheet$4.classes.ErrorStyle,
2212
2278
  helpText: ((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.validationErrors) === null || _o === void 0 ? void 0 : _o.confirmPassword) || content.requiredFieldErrorMessage,
2213
2279
  }
2214
2280
  : [])))),
2215
2281
  content.terms,
2216
- h("div", { class: sheet$3.classes.ButtonsContainer },
2282
+ h("div", { class: sheet$4.classes.ButtonsContainer },
2217
2283
  h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
2218
2284
  content.secondaryButton))));
2219
2285
  }
2220
2286
 
2221
- const style$4 = {
2287
+ const style$5 = {
2222
2288
  ErrorStyle: {
2223
2289
  "&::part(control)": {
2224
2290
  borderColor: "var(--sl-color-danger-500)",
@@ -2240,7 +2306,7 @@ const style$4 = {
2240
2306
  "margin-bottom": "var(--sl-spacing-large)",
2241
2307
  },
2242
2308
  };
2243
- const vanillaStyle$1 = `
2309
+ const vanillaStyle$2 = `
2244
2310
  :host {
2245
2311
  margin: 0 auto;
2246
2312
  width: 100%;
@@ -2263,16 +2329,16 @@ sl-checkbox[checked]::part(checked-icon){
2263
2329
  }
2264
2330
  `;
2265
2331
  jss.setup(create());
2266
- const sheet$4 = jss.createStyleSheet(style$4);
2267
- const styleString$4 = sheet$4.toString();
2332
+ const sheet$5 = jss.createStyleSheet(style$5);
2333
+ const styleString$5 = sheet$5.toString();
2268
2334
  function CheckboxFieldView(props) {
2269
2335
  var _a, _b, _c, _d, _e;
2270
2336
  const { states, content, callbacks } = props;
2271
2337
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2272
- return (h("div", { class: sheet$4.classes.FieldContainer, part: "sqm-base" },
2338
+ return (h("div", { class: sheet$5.classes.FieldContainer, part: "sqm-base" },
2273
2339
  h("style", { type: "text/css" },
2274
- vanillaStyle$1,
2275
- styleString$4),
2340
+ vanillaStyle$2,
2341
+ styleString$5),
2276
2342
  h("sl-checkbox", Object.assign({ exportparts: "label: input-label, base: input-base", name: `/${content.checkboxName}`, checked: states.checked, "onSl-change": (e) => {
2277
2343
  e.target.value = e.target.checked;
2278
2344
  callbacks.setChecked(e.target.value);
@@ -2281,7 +2347,7 @@ function CheckboxFieldView(props) {
2281
2347
  return content.errorMessage;
2282
2348
  }
2283
2349
  } }, (((_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.checkboxName]) ? {
2284
- class: sheet$4.classes.ErrorStyle,
2350
+ class: sheet$5.classes.ErrorStyle,
2285
2351
  }
2286
2352
  : [])), intl.formatMessage({
2287
2353
  id: content.checkboxName + "-message",
@@ -2289,7 +2355,7 @@ function CheckboxFieldView(props) {
2289
2355
  }, {
2290
2356
  labelLink: (h("a", { href: content.checkboxLabelLink, target: "_blank" }, content.checkboxLabelLinkText || content.checkboxLabelLink)),
2291
2357
  })),
2292
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$4.classes.ErrorMessageStyle }, content.errorMessage))));
2358
+ (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.checkboxName]) && (h("p", { class: sheet$5.classes.ErrorMessageStyle }, content.errorMessage))));
2293
2359
  }
2294
2360
 
2295
2361
  function CouponCodeView(props) {
@@ -2319,7 +2385,7 @@ function CouponCodeView(props) {
2319
2385
  h("div", { part: "erroralert-text" }, props.errorText))) : (h(CopyTextView, Object.assign({}, props)))));
2320
2386
  }
2321
2387
 
2322
- const style$5 = {
2388
+ const style$6 = {
2323
2389
  ErrorStyle: {
2324
2390
  "--sl-input-border-color": "var(--sl-color-danger-500)",
2325
2391
  "--sl-input-background-color": "var(--sl-color-danger-10)",
@@ -2335,7 +2401,7 @@ const style$5 = {
2335
2401
  "margin-bottom": "var(--sl-spacing-medium)",
2336
2402
  },
2337
2403
  };
2338
- const vanillaStyle$2 = `
2404
+ const vanillaStyle$3 = `
2339
2405
  :host {
2340
2406
  margin: 0 auto;
2341
2407
  width: 100%;
@@ -2347,24 +2413,24 @@ sl-select::part(label){
2347
2413
  }
2348
2414
  `;
2349
2415
  jss.setup(create());
2350
- const sheet$5 = jss.createStyleSheet(style$5);
2351
- const styleString$5 = sheet$5.toString();
2416
+ const sheet$6 = jss.createStyleSheet(style$6);
2417
+ const styleString$6 = sheet$6.toString();
2352
2418
  function DropdownFieldView(props) {
2353
2419
  var _a, _b, _c, _d, _e, _f, _g;
2354
2420
  const { states, content } = props;
2355
2421
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2356
- return (h("div", { class: sheet$5.classes.FieldContainer, part: "sqm-base" },
2422
+ return (h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
2357
2423
  h("style", { type: "text/css" },
2358
- vanillaStyle$2,
2359
- styleString$5),
2424
+ vanillaStyle$3,
2425
+ styleString$6),
2360
2426
  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]) ? {
2361
2427
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.dropdownName],
2362
2428
  }
2363
2429
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) ? {
2364
- class: sheet$5.classes.ErrorStyle,
2430
+ class: sheet$6.classes.ErrorStyle,
2365
2431
  }
2366
2432
  : [])), content.selectOptions),
2367
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$5.classes.ErrorMessageStyle }, intl.formatMessage({
2433
+ (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$6.classes.ErrorMessageStyle }, intl.formatMessage({
2368
2434
  id: `errorMessage-${content.dropdownName}`,
2369
2435
  defaultMessage: content.errorMessage,
2370
2436
  })))));
@@ -2694,13 +2760,13 @@ function HeroView(props) {
2694
2760
  : ""}` }, content.secondaryColumn))) : (h("div", { part: "sqm-single-col", class: `${sheet.classes.SingleColumnContainer} ${sheet.classes.ColumnPadding}` }, content.primaryColumn))));
2695
2761
  }
2696
2762
 
2697
- const style$6 = {
2763
+ const style$7 = {
2698
2764
  ErrorStyle: ErrorStyles,
2699
2765
  FieldContainer: {
2700
2766
  "margin-bottom": "var(--sl-spacing-large)",
2701
2767
  },
2702
2768
  };
2703
- const vanillaStyle$3 = `
2769
+ const vanillaStyle$4 = `
2704
2770
  :host {
2705
2771
  margin: 0 auto;
2706
2772
  width: 100%;
@@ -2708,21 +2774,21 @@ const vanillaStyle$3 = `
2708
2774
  }
2709
2775
  `;
2710
2776
  jss.setup(create());
2711
- const sheet$6 = jss.createStyleSheet(style$6);
2712
- const styleString$6 = sheet$6.toString();
2777
+ const sheet$7 = jss.createStyleSheet(style$7);
2778
+ const styleString$7 = sheet$7.toString();
2713
2779
  function InputFieldView(props) {
2714
2780
  var _a, _b, _c, _d, _e, _f, _g;
2715
2781
  const { states, content } = props;
2716
2782
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2717
- return (h("div", { class: sheet$6.classes.FieldContainer, part: "sqm-base" },
2783
+ return (h("div", { class: sheet$7.classes.FieldContainer, part: "sqm-base" },
2718
2784
  h("style", { type: "text/css" },
2719
- vanillaStyle$3,
2720
- styleString$6),
2785
+ vanillaStyle$4,
2786
+ styleString$7),
2721
2787
  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]) ? {
2722
2788
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g[content.fieldName],
2723
2789
  }
2724
2790
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]) ? {
2725
- class: sheet$6.classes.ErrorStyle,
2791
+ class: sheet$7.classes.ErrorStyle,
2726
2792
  helpText: intl.formatMessage({
2727
2793
  id: `errorMessage-${content.fieldName}`,
2728
2794
  defaultMessage: content.errorMessage || (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.fieldName]),
@@ -2731,7 +2797,7 @@ function InputFieldView(props) {
2731
2797
  : [])))));
2732
2798
  }
2733
2799
 
2734
- const style$7 = {
2800
+ const style$8 = {
2735
2801
  ErrorStyle: ErrorStyles,
2736
2802
  FieldsContainer: {
2737
2803
  "& sl-input": {
@@ -2739,7 +2805,7 @@ const style$7 = {
2739
2805
  },
2740
2806
  },
2741
2807
  };
2742
- const vanillaStyle$4 = `
2808
+ const vanillaStyle$5 = `
2743
2809
  :host {
2744
2810
  margin: 0 auto;
2745
2811
  width: 100%;
@@ -2776,21 +2842,21 @@ sl-input {
2776
2842
  }
2777
2843
 
2778
2844
  `;
2779
- const sheet$7 = createStyleSheet(style$7);
2780
- const styleString$7 = sheet$7.toString();
2845
+ const sheet$8 = createStyleSheet(style$8);
2846
+ const styleString$8 = sheet$8.toString();
2781
2847
  function NameFieldsView(props) {
2782
2848
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
2783
2849
  const { states } = props;
2784
2850
  const validationErrors = (_a = states === null || states === void 0 ? void 0 : states.registrationFormState) === null || _a === void 0 ? void 0 : _a.validationErrors;
2785
- return (h("div", { class: sheet$7.classes.FieldsContainer },
2851
+ return (h("div", { class: sheet$8.classes.FieldsContainer },
2786
2852
  h("style", { type: "text/css" },
2787
- vanillaStyle$4,
2788
- styleString$7),
2853
+ vanillaStyle$5,
2854
+ styleString$8),
2789
2855
  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) ? {
2790
2856
  value: (_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.initialData) === null || _g === void 0 ? void 0 : _g.firstName,
2791
2857
  }
2792
2858
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) ? {
2793
- class: sheet$7.classes.ErrorStyle,
2859
+ class: sheet$8.classes.ErrorStyle,
2794
2860
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.firstName) || "Cannot be empty",
2795
2861
  }
2796
2862
  : []))),
@@ -2798,7 +2864,7 @@ function NameFieldsView(props) {
2798
2864
  value: (_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.lastName,
2799
2865
  }
2800
2866
  : {}), ((validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) ? {
2801
- class: sheet$7.classes.ErrorStyle,
2867
+ class: sheet$8.classes.ErrorStyle,
2802
2868
  helpText: (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors.lastName) || "Cannot be empty",
2803
2869
  }
2804
2870
  : [])))));
@@ -2848,7 +2914,7 @@ function ChangeMarktingView(props) {
2848
2914
  h("div", { part: "successalert-text" }, states.text.successMessage))))));
2849
2915
  }
2850
2916
 
2851
- const vanillaStyle$5 = `
2917
+ const vanillaStyle$6 = `
2852
2918
  :host {
2853
2919
  margin: 0 auto;
2854
2920
  width: 100%;
@@ -2904,7 +2970,7 @@ function PortalFooterView(props) {
2904
2970
  const styleString = sheet.toString();
2905
2971
  return (h("div", { class: sheet.classes.Container, part: "sqm-base" },
2906
2972
  h("style", { type: "text/css" },
2907
- vanillaStyle$5,
2973
+ vanillaStyle$6,
2908
2974
  styleString),
2909
2975
  h("div", { class: sheet.classes.RowContainer },
2910
2976
  props.faqLink && (h("a", { target: "_blank", href: props.faqLink }, props.faqText)),
@@ -2920,7 +2986,7 @@ function PortalFooterView(props) {
2920
2986
  h(PoweredByImg, { color: "currentColor" })))));
2921
2987
  }
2922
2988
 
2923
- const vanillaStyle$6 = `
2989
+ const vanillaStyle$7 = `
2924
2990
  :host {
2925
2991
  display: block;
2926
2992
  }
@@ -2950,7 +3016,7 @@ function PortalForgotPasswordView(props) {
2950
3016
  const styleString = sheet.toString();
2951
3017
  return (h("div", { class: sheet.classes.FormWrapper, part: "sqm-base" },
2952
3018
  h("style", { type: "text/css" },
2953
- vanillaStyle$6,
3019
+ vanillaStyle$7,
2954
3020
  styleString),
2955
3021
  h(TextSpanView, { type: "h3" }, content.messageSlot),
2956
3022
  h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
@@ -3016,6 +3082,56 @@ function PortalFrameView(props, children) {
3016
3082
  h("div", { class: sheet.classes.FooterWrapper, part: "sqm-footer" }, data.footer)));
3017
3083
  }
3018
3084
 
3085
+ const style$9 = {
3086
+ Wrapper: AuthWrapper,
3087
+ Column: AuthColumn,
3088
+ ForgotButtonContainer: {
3089
+ display: "inline",
3090
+ cursor: "pointer",
3091
+ "font-size": "13px",
3092
+ "font-weight": "600",
3093
+ color: "var(--sqm-text-subdued)",
3094
+ margin: "0",
3095
+ },
3096
+ ButtonsContainer: {
3097
+ ...AuthButtonsContainer,
3098
+ gap: "var(--sl-spacing-medium)",
3099
+ "& > *": {
3100
+ margin: "0 !important",
3101
+ },
3102
+ },
3103
+ };
3104
+ const vanillaStyle$8 = `
3105
+ :host {
3106
+ display: block;
3107
+ }
3108
+ :host([hidden]): {
3109
+ display: none;
3110
+ }
3111
+ `;
3112
+ const sheet$9 = createStyleSheet(style$9);
3113
+ const styleString$9 = sheet$9.toString();
3114
+ function PortalLoginView(props) {
3115
+ const { states, callbacks, content } = props;
3116
+ return (h("div", { class: sheet$9.classes.Wrapper, part: "sqm-base" },
3117
+ h("style", { type: "text/css" },
3118
+ vanillaStyle$8,
3119
+ styleString$9),
3120
+ h(TextSpanView, { type: "h3" }, content.pageLabel),
3121
+ h("sl-form", { class: sheet$9.classes.Column, "onSl-submit": callbacks.submit },
3122
+ props.states.error && (h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
3123
+ h("div", { part: "erroralert-text" }, props.states.error))),
3124
+ h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
3125
+ h("div", null,
3126
+ h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
3127
+ h("div", { class: sheet$9.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
3128
+ h("div", { class: sheet$9.classes.ButtonsContainer },
3129
+ h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
3130
+ content.googleButton && h("sl-menu-divider", null),
3131
+ content.googleButton,
3132
+ content.secondaryButton))));
3133
+ }
3134
+
3019
3135
  function ReferralIframeView(props) {
3020
3136
  const { states, data } = props;
3021
3137
  const { content } = states;
@@ -3130,7 +3246,7 @@ function ProgressBar({ stageCount, currentStage, }) {
3130
3246
  return (h("div", { style: { display: "flex", columnGap: "-2px" } }, Array.from(Array(stageCount).keys()).map((stage) => (h(Progress, { active: currentStage === stage, completed: currentStage > stage, incomplete: currentStage < stage, stage: stage })))));
3131
3247
  }
3132
3248
 
3133
- const style$8 = {
3249
+ const style$a = {
3134
3250
  HostBlock: HostBlock,
3135
3251
  Container: {
3136
3252
  minWidth: "300px",
@@ -3480,8 +3596,8 @@ const style$8 = {
3480
3596
  },
3481
3597
  };
3482
3598
  // JSS config
3483
- const sheet$8 = createStyleSheet(style$8);
3484
- const styleString$8 = sheet$8.toString();
3599
+ const sheet$a = createStyleSheet(style$a);
3600
+ const styleString$a = sheet$a.toString();
3485
3601
  const stageList = ["chooseReward", "chooseAmount", "confirmation", "success"];
3486
3602
  function RewardExchangeView(props) {
3487
3603
  const { states, data, callbacks, refs } = props;
@@ -3504,7 +3620,7 @@ function RewardExchangeView(props) {
3504
3620
  sourceUnit: item.sourceUnit,
3505
3621
  })));
3506
3622
  }
3507
- return (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) => {
3623
+ return (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) => {
3508
3624
  var _a, _b, _c, _d, _e;
3509
3625
  return callbacks.setExchangeState({
3510
3626
  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,
@@ -3512,7 +3628,7 @@ function RewardExchangeView(props) {
3512
3628
  });
3513
3629
  } }, (_c = item.steps) === null || _c === void 0 ? void 0 : _c.map((step) => {
3514
3630
  var _a, _b;
3515
- return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$8.classes.SelectItem },
3631
+ return (h("sl-menu-item", { value: step, disabled: !step.available, class: sheet$a.classes.SelectItem },
3516
3632
  step.prettyDestinationValue,
3517
3633
  h("br", null),
3518
3634
  h("div", { class: "step-cost", slot: "suffix" },
@@ -3531,8 +3647,8 @@ function RewardExchangeView(props) {
3531
3647
  var _a;
3532
3648
  return [
3533
3649
  h("div", { part: "choose-reward-container" },
3534
- h("div", { class: sheet$8.classes.Title }, states.content.text.rewardTitle),
3535
- states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$8.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3650
+ h("div", { class: sheet$a.classes.Title }, states.content.text.rewardTitle),
3651
+ states.loading || states.queryError ? (loading()) : (h("div", { class: sheet$a.classes.Grid }, (_a = data.exchangeList) === null || _a === void 0 ? void 0 : _a.map((item) => {
3536
3652
  var _a, _b, _c, _d, _e;
3537
3653
  const style = {
3538
3654
  boxShadow: item.key === (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.key)
@@ -3542,7 +3658,7 @@ function RewardExchangeView(props) {
3542
3658
  borderColor: "none",
3543
3659
  };
3544
3660
  return (h("div", { key: item.key, style: style },
3545
- h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$8.classes.Card, style: {
3661
+ h("sl-card", { exportparts: "base: exchange-card-container", class: sheet$a.classes.Card, style: {
3546
3662
  cursor: item.unavailableReasonCode
3547
3663
  ? "not-allowed"
3548
3664
  : "pointer",
@@ -3559,14 +3675,14 @@ function RewardExchangeView(props) {
3559
3675
  ? "rgba(0, 0, 0, 0.05)"
3560
3676
  : "rgba(0, 0, 0, 0)",
3561
3677
  } },
3562
- h("div", { class: sheet$8.classes.Image, style: {
3678
+ h("div", { class: sheet$a.classes.Image, style: {
3563
3679
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3564
3680
  } },
3565
3681
  h("img", { class: item.unavailableReasonCode
3566
3682
  ? "image subdued"
3567
3683
  : "image", src: (item === null || item === void 0 ? void 0 : item.imageUrl) ||
3568
3684
  getAssetPath("./assets/Reward-image.png") })),
3569
- h("div", { class: sheet$8.classes.TextArea, style: {
3685
+ h("div", { class: sheet$a.classes.TextArea, style: {
3570
3686
  opacity: item.unavailableReasonCode ? "0.5" : "1",
3571
3687
  } },
3572
3688
  h("div", { class: "title", style: {
@@ -3599,7 +3715,7 @@ function RewardExchangeView(props) {
3599
3715
  item.prettySourceMinValue,
3600
3716
  }))))))));
3601
3717
  }))),
3602
- h("div", { class: sheet$8.classes.Button },
3718
+ h("div", { class: sheet$a.classes.Button },
3603
3719
  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))),
3604
3720
  ];
3605
3721
  }
@@ -3610,7 +3726,7 @@ function RewardExchangeView(props) {
3610
3726
  ? false
3611
3727
  : input && !states.amount;
3612
3728
  return (h("div", null,
3613
- h("div", { class: sheet$8.classes.ChooseAmount, part: "choose-amount-container" },
3729
+ h("div", { class: sheet$a.classes.ChooseAmount, part: "choose-amount-container" },
3614
3730
  h("div", { class: "wrapper" },
3615
3731
  h("img", { class: "image", src: (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.imageUrl) ||
3616
3732
  getAssetPath("./assets/Reward-image.png") }),
@@ -3619,7 +3735,7 @@ function RewardExchangeView(props) {
3619
3735
  ((_c = states.selectedItem) === null || _c === void 0 ? void 0 : _c.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "points" }, input)) : (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)),
3620
3736
  ((_d = states.selectedItem) === null || _d === void 0 ? void 0 : _d.ruleType) === "FIXED_GLOBAL_REWARD" ? (h("div", { class: "description" }, selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.description)) : (h("div", null, input)),
3621
3737
  h("div", { class: "space" }))),
3622
- h("div", { class: sheet$8.classes.Button },
3738
+ h("div", { class: sheet$a.classes.Button },
3623
3739
  h("sl-button", { exportparts: "base: secondarybutton-base", class: "cancel", size: "large", type: "secondary", onClick: () => callbacks.resetState() }, states.content.text.cancelText),
3624
3740
  h("sl-button", { exportparts: "base: primarybutton-base", class: "continue", size: "large", type: "primary", onClick: () => callbacks.setStage("confirmation"), disabled: isDisabled }, states.content.text.continueToConfirmationText)))));
3625
3741
  }
@@ -3627,8 +3743,8 @@ function RewardExchangeView(props) {
3627
3743
  const cost = (selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettySourceValue) || (selectedItem === null || selectedItem === void 0 ? void 0 : selectedItem.prettySourceValue);
3628
3744
  const amount = selectedStep === null || selectedStep === void 0 ? void 0 : selectedStep.prettyDestinationValue;
3629
3745
  return (h("div", null,
3630
- h("div", { class: sheet$8.classes.Confirmation, part: "confirmation-container" },
3631
- h("div", { class: sheet$8.classes.Title }, states.content.text.redeemTitle),
3746
+ h("div", { class: sheet$a.classes.Confirmation, part: "confirmation-container" },
3747
+ h("div", { class: sheet$a.classes.Title }, states.content.text.redeemTitle),
3632
3748
  h("div", { class: "wrapper" },
3633
3749
  h("div", { class: "field" }, states.content.text.rewardNameTitle),
3634
3750
  h("div", { class: "reward-item-container" },
@@ -3643,13 +3759,13 @@ function RewardExchangeView(props) {
3643
3759
  h("div", { class: "wrapper top-border padding" },
3644
3760
  h("div", { class: "field" }, states.content.text.costTitle),
3645
3761
  h("div", { class: "value" }, cost)),
3646
- h("div", { class: sheet$8.classes.Button },
3762
+ h("div", { class: sheet$a.classes.Button },
3647
3763
  h("sl-button", { class: "cancel", type: "secondary", size: "large", onClick: () => callbacks.setStage("chooseAmount") }, states.content.text.backText),
3648
3764
  h("sl-button", { class: "continue", size: "large", type: "primary", loading: states.loading, onClick: callbacks.exchangeReward }, states.content.text.redeemText)))));
3649
3765
  }
3650
3766
  function success() {
3651
3767
  var _a, _b, _c, _d, _e, _f, _g, _h;
3652
- return (h("div", { class: sheet$8.classes.Success, part: "success-container" },
3768
+ return (h("div", { class: sheet$a.classes.Success, part: "success-container" },
3653
3769
  h(Gift$1, null),
3654
3770
  h(Confetti, null),
3655
3771
  h("div", { class: "title" }, (_a = states.content.text) === null || _a === void 0 ? void 0 : _a.rewardRedeemedText),
@@ -3663,7 +3779,7 @@ function RewardExchangeView(props) {
3663
3779
  (data === null || data === void 0 ? void 0 : data.fuelTankCode) && (h("div", { class: "promo" },
3664
3780
  states.content.text.promoCode,
3665
3781
  h(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 }))),
3666
- h("div", { class: sheet$8.classes.Button },
3782
+ h("div", { class: sheet$a.classes.Button },
3667
3783
  h("sl-button", { class: "continue center", type: "primary", size: "large", onClick: () => callbacks.resetState(true) }, states.content.text.doneText))));
3668
3784
  }
3669
3785
  const stages = {
@@ -3675,7 +3791,7 @@ function RewardExchangeView(props) {
3675
3791
  const currentStage = stages[states.redeemStage];
3676
3792
  function stageMap() {
3677
3793
  const stageNumber = stageList.indexOf(states.redeemStage);
3678
- return (h("div", { class: sheet$8.classes.ProgressBar },
3794
+ return (h("div", { class: sheet$a.classes.ProgressBar },
3679
3795
  h("div", { class: "text-area" }, Object.keys(stageProgressList).map((stage) => {
3680
3796
  if (stageList.indexOf(stage) <= stageNumber) {
3681
3797
  return h("span", { class: "text" }, stageProgressList[stage]);
@@ -3687,10 +3803,10 @@ function RewardExchangeView(props) {
3687
3803
  h(ProgressBar, { stageCount: 3, currentStage: stageNumber })));
3688
3804
  }
3689
3805
  function loading() {
3690
- return (h("div", { class: sheet$8.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3806
+ return (h("div", { class: sheet$a.classes.Grid, part: "loading-container" }, [...Array(states.content.text.skeletonCardNum)].map(() => {
3691
3807
  return (h("div", null,
3692
- h("sl-card", { class: sheet$8.classes.Card },
3693
- h("div", { class: sheet$8.classes.CardLayout },
3808
+ h("sl-card", { class: sheet$a.classes.Card },
3809
+ h("div", { class: sheet$a.classes.CardLayout },
3694
3810
  h("div", null,
3695
3811
  h("sl-skeleton", { style: {
3696
3812
  width: "100px",
@@ -3722,12 +3838,12 @@ function RewardExchangeView(props) {
3722
3838
  if (!(refs === null || refs === void 0 ? void 0 : refs.canvasRef))
3723
3839
  return;
3724
3840
  refs.canvasRef.current = canvas;
3725
- }, id: "my-canvas", class: sheet$8.classes.Confetti }));
3841
+ }, id: "my-canvas", class: sheet$a.classes.Confetti }));
3726
3842
  }
3727
3843
  if (states.noExchangeOptions)
3728
3844
  return states.content.text.empty;
3729
- return (h("div", { class: sheet$8.classes.Container, part: "sqm-base" },
3730
- h("style", { type: "text/css" }, styleString$8),
3845
+ return (h("div", { class: sheet$a.classes.Container, part: "sqm-base" },
3846
+ h("style", { type: "text/css" }, styleString$a),
3731
3847
  h("div", null,
3732
3848
  stageMap(),
3733
3849
  states.exchangeError && errorMessage(),
@@ -4303,7 +4419,7 @@ function useShareLink(props) {
4303
4419
  return { ...props, onClick, open, copyString: copyString };
4304
4420
  }
4305
4421
 
4306
- const style$9 = {
4422
+ const style$b = {
4307
4423
  Wrapper: {
4308
4424
  ...AuthWrapper,
4309
4425
  "max-width": "600px",
@@ -4341,7 +4457,7 @@ const style$9 = {
4341
4457
  },
4342
4458
  ErrorStyle: ErrorStyles,
4343
4459
  };
4344
- const vanillaStyle$7 = `
4460
+ const vanillaStyle$9 = `
4345
4461
  sqm-portal-register {
4346
4462
  margin: 0 auto;
4347
4463
  width: 100%;
@@ -4356,8 +4472,8 @@ sqm-portal-register {
4356
4472
  display: none;
4357
4473
  }
4358
4474
  `;
4359
- const sheet$9 = createStyleSheet(style$9);
4360
- const styleString$9 = sheet$9.toString();
4475
+ const sheet$b = createStyleSheet(style$b);
4476
+ const styleString$b = sheet$b.toString();
4361
4477
  function LeadFormView(props) {
4362
4478
  var _a, _b, _c, _d;
4363
4479
  const { states, refs, callbacks, content } = props;
@@ -4371,23 +4487,23 @@ function LeadFormView(props) {
4371
4487
  fieldLabel,
4372
4488
  });
4373
4489
  return (h(Fragment, null,
4374
- states.success && (h("div", { class: sheet$9.classes.Wrapper, part: "sqm-base" },
4490
+ states.success && (h("div", { class: sheet$b.classes.Wrapper, part: "sqm-base" },
4375
4491
  h("style", { type: "text/css" },
4376
- vanillaStyle$7,
4377
- styleString$9),
4492
+ vanillaStyle$9,
4493
+ styleString$b),
4378
4494
  h(TextSpanView, { type: "h3" }, content.pageLabel),
4379
4495
  h("sqm-form-message", { exportparts: "success-icon" },
4380
4496
  h("b", null, content.submitSuccessHeader),
4381
4497
  h("br", null),
4382
4498
  h("div", { part: "successalert-text" }, content.submitSuccessDescription)),
4383
- h("sl-button", { class: sheet$9.classes.ContinueButton, onClick: callbacks.resetForm, loading: states.loading, exportparts: "base: primarybutton-base", type: "default" }, content.resubmitFormLabel))),
4384
- h("div", { class: sheet$9.classes.Wrapper, part: "sqm-base", style: { display: states.success ? "none" : "block" } },
4499
+ h("sl-button", { class: sheet$b.classes.ContinueButton, onClick: callbacks.resetForm, loading: states.loading, exportparts: "base: primarybutton-base", type: "default" }, content.resubmitFormLabel))),
4500
+ h("div", { class: sheet$b.classes.Wrapper, part: "sqm-base", style: { display: states.success ? "none" : "block" } },
4385
4501
  h("style", { type: "text/css" },
4386
- vanillaStyle$7,
4387
- styleString$9),
4502
+ vanillaStyle$9,
4503
+ styleString$b),
4388
4504
  h(TextSpanView, { type: "h3" }, content.pageLabel),
4389
- h("sl-form", { class: sheet$9.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
4390
- states.error && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", class: sheet$9.classes.ErrorAlertContainer, open: true },
4505
+ h("sl-form", { class: sheet$b.classes.Column, "onSl-submit": callbacks.submit, ref: (el) => (refs.formRef.current = el), novalidate: true },
4506
+ states.error && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: "danger", class: sheet$b.classes.ErrorAlertContainer, open: true },
4391
4507
  h("sl-icon", { slot: "icon", name: "exclamation-octagon" }),
4392
4508
  h("b", null, content.submitErrorHeader),
4393
4509
  h("br", null),
@@ -4397,9 +4513,9 @@ function LeadFormView(props) {
4397
4513
  }, {
4398
4514
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, content.supportLinkText)),
4399
4515
  }))),
4400
- h("div", { class: sheet$9.classes.NameFieldWrapper },
4401
- h("sqm-lead-input-field", { class: sheet$9.classes.NameInput, "field-label": content.firstNameLabel || "First Name", "field-name": "firstName" }),
4402
- h("sqm-lead-input-field", { class: sheet$9.classes.NameInput, "field-label": content.lastNameLabel || "Last Name", "field-name": "lastName" })),
4516
+ h("div", { class: sheet$b.classes.NameFieldWrapper },
4517
+ h("sqm-lead-input-field", { class: sheet$b.classes.NameInput, "field-label": content.firstNameLabel || "First Name", "field-name": "firstName" }),
4518
+ h("sqm-lead-input-field", { class: sheet$b.classes.NameInput, "field-label": content.lastNameLabel || "Last Name", "field-name": "lastName" })),
4403
4519
  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 }) => {
4404
4520
  if (!value) {
4405
4521
  return getRequiredFieldErrorMessage({
@@ -4411,18 +4527,18 @@ function LeadFormView(props) {
4411
4527
  return content.invalidEmailErrorMessage;
4412
4528
  }
4413
4529
  } }, (((_b = (_a = states.leadFormState) === null || _a === void 0 ? void 0 : _a.validationErrors) === null || _b === void 0 ? void 0 : _b.email) ? {
4414
- class: sheet$9.classes.ErrorStyle,
4530
+ class: sheet$b.classes.ErrorStyle,
4415
4531
  helpText: ((_d = (_c = states.leadFormState) === null || _c === void 0 ? void 0 : _c.validationErrors) === null || _d === void 0 ? void 0 : _d.email) ||
4416
4532
  content.requiredFieldErrorMessage,
4417
4533
  }
4418
4534
  : []))),
4419
4535
  h("input", { type: "hidden", hidden: true, name: "/referralCode", value: states.referralCode }),
4420
4536
  content.formData,
4421
- h("div", { class: sheet$9.classes.ButtonsContainer },
4537
+ h("div", { class: sheet$b.classes.ButtonsContainer },
4422
4538
  h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"))))));
4423
4539
  }
4424
4540
 
4425
- const style$a = {
4541
+ const style$c = {
4426
4542
  ErrorStyle: {
4427
4543
  "--sl-input-border-color": "var(--sl-color-danger-500)",
4428
4544
  "--sl-input-background-color": "var(--sl-color-danger-10)",
@@ -4438,7 +4554,7 @@ const style$a = {
4438
4554
  "margin-bottom": "var(--sl-spacing-large)",
4439
4555
  },
4440
4556
  };
4441
- const vanillaStyle$8 = `
4557
+ const vanillaStyle$a = `
4442
4558
  :host {
4443
4559
  margin: 0 auto;
4444
4560
  width: 100%;
@@ -4453,8 +4569,8 @@ sl-select::part(menu){
4453
4569
  }
4454
4570
  `;
4455
4571
  jss.setup(create());
4456
- const sheet$a = jss.createStyleSheet(style$a);
4457
- const styleString$a = sheet$a.toString();
4572
+ const sheet$c = jss.createStyleSheet(style$c);
4573
+ const styleString$c = sheet$c.toString();
4458
4574
  function LeadDropdownFieldView(props) {
4459
4575
  var _a, _b, _c, _d, _e;
4460
4576
  const { states, content } = props;
@@ -4465,10 +4581,10 @@ function LeadDropdownFieldView(props) {
4465
4581
  }, {
4466
4582
  dropdownLabel,
4467
4583
  });
4468
- return (h("div", { class: sheet$a.classes.FieldContainer, part: "sqm-base" },
4584
+ return (h("div", { class: sheet$c.classes.FieldContainer, part: "sqm-base" },
4469
4585
  h("style", { type: "text/css" },
4470
- vanillaStyle$8,
4471
- styleString$a),
4586
+ vanillaStyle$a,
4587
+ styleString$c),
4472
4588
  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 }) => {
4473
4589
  if (!value && !content.dropdownOptional) {
4474
4590
  return getRequiredFieldErrorMessage({
@@ -4476,10 +4592,10 @@ function LeadDropdownFieldView(props) {
4476
4592
  });
4477
4593
  }
4478
4594
  } }, (((_e = (_d = states.leadFormState) === null || _d === void 0 ? void 0 : _d.validationErrors) === null || _e === void 0 ? void 0 : _e[content.dropdownName]) ? {
4479
- class: sheet$a.classes.ErrorStyle,
4595
+ class: sheet$c.classes.ErrorStyle,
4480
4596
  }
4481
4597
  : [])), content.selectOptions),
4482
- (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$a.classes.ErrorMessageStyle }, getRequiredFieldErrorMessage({
4598
+ (validationErrors === null || validationErrors === void 0 ? void 0 : validationErrors[content.dropdownName]) && (h("p", { class: sheet$c.classes.ErrorMessageStyle }, getRequiredFieldErrorMessage({
4483
4599
  dropdownLabel: content.dropdownLabel,
4484
4600
  })))));
4485
4601
  }
@@ -4518,4 +4634,4 @@ const ShadowViewAddon = ({ story }, children) => {
4518
4634
  h(TagName, { "stencilbook-shadow-view": randomInt })));
4519
4635
  };
4520
4636
 
4521
- export { loading as A, BigStatView as B, CardFeedView as C, DropdownFieldView as D, EditProfileView as E, empty as F, rewardExchange as G, HeroView as H, InputFieldView as I, useShareButton as J, useShareLink as K, LeaderboardView as L, ProgressBarView as M, NameFieldsView as N, ProgressBar as O, PortalChangePasswordView as P, LeadFormView as Q, ReferralIframeView as R, StatContainerView as S, TaskCardView as T, LeadDropdownFieldView as U, ShadowViewAddon as V, useBigStat as W, withShadowView as X, demoRewardExchange as Y, ShareButtonView as a, PoweredByImg as b, CheckboxFieldView as c, PortalRegisterView as d, CouponCodeView as e, ChangeMarktingView as f, PortalFooterView as g, PortalForgotPasswordView as h, PortalFrameView as i, RewardExchangeView as j, rewardExchangeLongText as k, rewardExchangeSelected as l, chooseAmountFixed as m, chooseAmountFixedNoDescription as n, chooseAmountVariable as o, chooseAmountVariableNoDescription as p, chooseAmountVariableDisabled as q, rewardExchangeCustomErrorMsg as r, chooseAmountVariableUnavailable as s, confirmFixed as t, useDemoBigStat as u, confirmVariable as v, redemptionError as w, queryError as x, success as y, successVariable as z };
4637
+ export { success as A, BigStatView as B, CardFeedView as C, DropdownFieldView as D, EditProfileView as E, successVariable as F, loading as G, HeroView as H, InputFieldView as I, empty as J, rewardExchange as K, LeaderboardView as L, useShareButton as M, NameFieldsView as N, useShareLink as O, PortalChangePasswordView as P, ProgressBarView as Q, ReferralIframeView as R, StatContainerView as S, TaskCardView as T, ProgressBar as U, LeadFormView as V, LeadDropdownFieldView as W, ShadowViewAddon as X, useBigStat as Y, withShadowView as Z, demoRewardExchange as _, ShareButtonView as a, PoweredByImg as b, BaseRegistrationFormView as c, CheckboxFieldView as d, PortalRegisterView as e, CouponCodeView as f, ChangeMarktingView as g, PortalFooterView as h, PortalForgotPasswordView as i, PortalFrameView as j, PortalLoginView as k, RewardExchangeView as l, rewardExchangeLongText as m, rewardExchangeSelected as n, chooseAmountFixed as o, chooseAmountFixedNoDescription as p, chooseAmountVariable as q, rewardExchangeCustomErrorMsg as r, chooseAmountVariableNoDescription as s, chooseAmountVariableDisabled as t, useDemoBigStat as u, chooseAmountVariableUnavailable as v, confirmFixed as w, confirmVariable as x, redemptionError as y, queryError as z };