@saasquatch/mint-components 1.13.0-9 → 1.13.1-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (479) hide show
  1. package/dist/cjs/{ShadowViewAddon-44cb1a98.js → ShadowViewAddon-bd00066a.js} +121 -163
  2. package/dist/cjs/{copy-text-view-9b950efe.js → copy-text-view-a5524c20.js} +1 -1
  3. package/dist/cjs/extractProps-fd93ba62.js +21 -0
  4. package/dist/cjs/{global-19fc8a7a.js → global-e31dc4f5.js} +1 -1
  5. package/dist/cjs/{index.module-57703088.js → index.module-ee84433d.js} +4 -0
  6. package/dist/cjs/keys-cff24974.js +11 -0
  7. package/dist/cjs/loader.cjs.js +3 -3
  8. package/dist/cjs/mint-components.cjs.js +3 -3
  9. package/dist/cjs/{re-render-35b016ed.js → re-render-b324deab.js} +1 -1
  10. package/dist/cjs/sqm-asset-card.cjs.entry.js +1 -1
  11. package/dist/cjs/{sqm-banking-info-form_16.cjs.entry.js → sqm-banking-info-form_17.cjs.entry.js} +1012 -239
  12. package/dist/cjs/{sqm-base-registration-form-view-d5685747.js → sqm-base-registration-form-view-8a2c8763.js} +1 -1
  13. package/dist/cjs/{sqm-big-stat_38.cjs.entry.js → sqm-big-stat_39.cjs.entry.js} +402 -191
  14. package/dist/cjs/sqm-close-button.cjs.entry.js +1 -1
  15. package/dist/cjs/sqm-context-router.cjs.entry.js +1 -1
  16. package/dist/cjs/sqm-email-verification.cjs.entry.js +291 -0
  17. package/dist/cjs/sqm-empty_4.cjs.entry.js +3 -3
  18. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +38 -35
  19. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +1 -1
  20. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +3 -3
  21. package/dist/cjs/{sqm-invoice-table-view-9dfa2a16.js → sqm-invoice-table-view-baded4af.js} +172 -2
  22. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
  23. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +1 -1
  24. package/dist/cjs/{sqm-navigation-sidebar-item-view-9bba5f7e.js → sqm-navigation-sidebar-item-view-6f35d2ee.js} +1 -1
  25. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +2 -2
  26. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +1 -1
  27. package/dist/cjs/sqm-pagination_3.cjs.entry.js +3 -3
  28. package/dist/cjs/sqm-password-field.cjs.entry.js +2 -2
  29. package/dist/cjs/sqm-popup-container.cjs.entry.js +1 -1
  30. package/dist/cjs/{sqm-portal-email-verification-view-98d84549.js → sqm-portal-email-verification-view-7ebb426a.js} +1 -1
  31. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +3 -3
  32. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +1 -1
  33. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +130 -0
  34. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +6 -6
  35. package/dist/cjs/sqm-portal-login-view-761a4d8e.js +58 -0
  36. package/dist/cjs/sqm-portal-logout.cjs.entry.js +1 -1
  37. package/dist/cjs/{sqm-portal-profile-view-bae28ea0.js → sqm-portal-profile-view-33164798.js} +1 -1
  38. package/dist/cjs/sqm-portal-profile.cjs.entry.js +4 -4
  39. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +1 -1
  40. package/dist/cjs/{sqm-portal-registration-form-view-e947a5b3.js → sqm-portal-registration-form-view-ebf355a6.js} +13 -12
  41. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +4 -4
  42. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +1 -1
  43. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +1 -1
  44. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +5 -5
  45. package/dist/cjs/sqm-referred-registration.cjs.entry.js +3 -3
  46. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +2 -2
  47. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +5 -5
  48. package/dist/cjs/sqm-scroll.cjs.entry.js +109 -0
  49. package/dist/cjs/sqm-stencilbook.cjs.entry.js +279 -74
  50. package/dist/cjs/sqm-tab.cjs.entry.js +2 -2
  51. package/dist/cjs/sqm-tabs.cjs.entry.js +3 -3
  52. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +113 -0
  53. package/dist/cjs/sqm-widget-verification.cjs.entry.js +203 -0
  54. package/dist/cjs/{useChildElements-854cd1e5.js → useChildElements-1b35d945.js} +1 -1
  55. package/dist/cjs/{useInstantAccessRegistration-daff8290.js → useInstantAccessRegistration-9a46c324.js} +2 -2
  56. package/dist/cjs/usePayoutStatus-4b5894ef.js +1045 -0
  57. package/dist/cjs/usePortalLogin-63d896d1.js +74 -0
  58. package/dist/cjs/{usePortalRegistrationForm-a89d736e.js → usePortalRegistrationForm-f25d89e7.js} +2 -2
  59. package/dist/cjs/{useReferralTable-283d2316.js → useReferralTable-7c3f9600.js} +3 -3
  60. package/dist/cjs/{useRegistrationFormState-986b5ea1.js → useRegistrationFormState-7b820f0c.js} +1 -1
  61. package/dist/cjs/useVerificationEmail-95a82767.js +173 -0
  62. package/dist/cjs/{utilities-c135f16f.js → utilities-78f5e169.js} +1 -1
  63. package/dist/collection/collection-manifest.json +8 -1
  64. package/dist/collection/components/sqm-base-registration/sqm-base-registration-form-view.js +1 -1
  65. package/dist/collection/components/sqm-big-stat/useBigStat.js +6 -3
  66. package/dist/collection/components/sqm-google-sign-in/sqm-google-sign-in.js +24 -10
  67. package/dist/collection/components/sqm-google-sign-in/useGoogleSignIn.js +34 -27
  68. package/dist/collection/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.js +15 -0
  69. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.js +24 -0
  70. package/dist/collection/components/sqm-payout-button-scroll/sqm-payout-button-scroll.js +122 -0
  71. package/dist/collection/components/sqm-payout-button-scroll/usePayoutButton.js +37 -0
  72. package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +428 -0
  73. package/dist/collection/components/sqm-portal-google-registration-form/sqm-portal-google-registration-form.js +3 -3
  74. package/dist/collection/components/sqm-portal-login/PortalLogin.stories.js +2 -13
  75. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +2 -30
  76. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +9 -4
  77. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form-view.js +13 -12
  78. package/dist/collection/components/sqm-portal-registration-form/sqm-portal-registration-form.js +1 -1
  79. package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +7 -1
  80. package/dist/collection/components/sqm-referral-table/ReferralTableRewardsCell.stories.js +16 -3
  81. package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +7 -12
  82. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +13 -1
  83. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -1
  84. package/dist/collection/components/sqm-share-button/sqm-share-button.js +1 -1
  85. package/dist/collection/components/sqm-share-button/useShareButton.js +11 -5
  86. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +8 -0
  87. package/dist/collection/components/sqm-text/sqm-text.js +1 -1
  88. package/dist/collection/components/sqm-widget-verification/keys.js +4 -0
  89. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.js +36 -0
  90. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.js +128 -0
  91. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.js +301 -0
  92. package/dist/collection/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.js +153 -0
  93. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.js +58 -0
  94. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +95 -0
  95. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.js +251 -0
  96. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.js +126 -0
  97. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification-controller.js +120 -0
  98. package/dist/collection/components/sqm-widget-verification/sqm-widget-verification.js +536 -0
  99. package/dist/collection/components/sqm-widget-verification/useVerificationEmail.js +169 -0
  100. package/dist/collection/components/sqm-widget-verification/useWidgetVerification.js +60 -0
  101. package/dist/collection/components/tax-and-cash/BankingForm.stories.js +20 -0
  102. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +165 -1
  103. package/dist/collection/components/tax-and-cash/eventKeys.js +1 -0
  104. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +12 -2
  105. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.js +128 -11
  106. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +109 -39
  107. package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +15 -2
  108. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +12 -2
  109. package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +31 -6
  110. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +3 -0
  111. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +26 -8
  112. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.js +33 -8
  113. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +3 -0
  114. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.js +0 -7
  115. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.js +0 -5
  116. package/dist/collection/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.js +0 -56
  117. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +18 -0
  118. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +176 -0
  119. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +527 -0
  120. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +76 -0
  121. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/data.js +7 -0
  122. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +415 -24
  123. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/useTaxAndCash.js +2 -2
  124. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +138 -9
  125. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +283 -17
  126. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +17 -2
  127. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +23 -9
  128. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +33 -8
  129. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +16 -11
  130. package/dist/collection/components/tax-and-cash/useVeriffApp.js +64 -0
  131. package/dist/esm/{ShadowViewAddon-eba44767.js → ShadowViewAddon-444b1f38.js} +122 -163
  132. package/dist/esm/{copy-text-view-b060162f.js → copy-text-view-459a2e35.js} +1 -1
  133. package/dist/esm/extractProps-ae1afbb3.js +19 -0
  134. package/dist/esm/{global-bedc4329.js → global-be1f9992.js} +1 -1
  135. package/dist/esm/{index.module-a2989d3c.js → index.module-89a79f66.js} +5 -1
  136. package/dist/esm/keys-406491dc.js +6 -0
  137. package/dist/esm/loader.js +3 -3
  138. package/dist/esm/mint-components.js +3 -3
  139. package/dist/esm/{re-render-268bb9c8.js → re-render-cc945f38.js} +1 -1
  140. package/dist/esm/sqm-asset-card.entry.js +1 -1
  141. package/dist/esm/{sqm-banking-info-form_16.entry.js → sqm-banking-info-form_17.entry.js} +1012 -240
  142. package/dist/esm/{sqm-base-registration-form-view-98c4db70.js → sqm-base-registration-form-view-593d4ac3.js} +1 -1
  143. package/dist/esm/{sqm-big-stat_38.entry.js → sqm-big-stat_39.entry.js} +400 -190
  144. package/dist/esm/sqm-close-button.entry.js +1 -1
  145. package/dist/esm/sqm-context-router.entry.js +1 -1
  146. package/dist/esm/sqm-email-verification.entry.js +287 -0
  147. package/dist/esm/sqm-empty_4.entry.js +3 -3
  148. package/dist/esm/sqm-google-sign-in.entry.js +39 -36
  149. package/dist/esm/sqm-graphql-client-provider.entry.js +1 -1
  150. package/dist/esm/sqm-instant-access-registration.entry.js +3 -3
  151. package/dist/esm/{sqm-invoice-table-view-8e2bb54a.js → sqm-invoice-table-view-af69cd33.js} +172 -2
  152. package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
  153. package/dist/esm/sqm-logout-current-user.entry.js +1 -1
  154. package/dist/esm/{sqm-navigation-sidebar-item-view-56da6bca.js → sqm-navigation-sidebar-item-view-8f1c72bc.js} +1 -1
  155. package/dist/esm/sqm-navigation-sidebar-item.entry.js +2 -2
  156. package/dist/esm/sqm-navigation-sidebar.entry.js +1 -1
  157. package/dist/esm/sqm-pagination_3.entry.js +3 -3
  158. package/dist/esm/sqm-password-field.entry.js +2 -2
  159. package/dist/esm/sqm-popup-container.entry.js +1 -1
  160. package/dist/esm/{sqm-portal-email-verification-view-44c8970f.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
  161. package/dist/esm/sqm-portal-email-verification.entry.js +3 -3
  162. package/dist/esm/sqm-portal-forgot-password.entry.js +1 -1
  163. package/dist/esm/sqm-portal-google-login.entry.js +126 -0
  164. package/dist/esm/sqm-portal-google-registration-form.entry.js +6 -6
  165. package/dist/esm/sqm-portal-login-view-7e49609a.js +56 -0
  166. package/dist/esm/sqm-portal-logout.entry.js +1 -1
  167. package/dist/esm/{sqm-portal-profile-view-39039274.js → sqm-portal-profile-view-93003974.js} +1 -1
  168. package/dist/esm/sqm-portal-profile.entry.js +4 -4
  169. package/dist/esm/sqm-portal-protected-route.entry.js +1 -1
  170. package/dist/esm/{sqm-portal-registration-form-view-90e2bfd5.js → sqm-portal-registration-form-view-32c4b488.js} +13 -12
  171. package/dist/esm/sqm-portal-registration-form.entry.js +4 -4
  172. package/dist/esm/sqm-portal-reset-password.entry.js +1 -1
  173. package/dist/esm/sqm-portal-verify-email.entry.js +1 -1
  174. package/dist/esm/sqm-referral-table_11.entry.js +5 -5
  175. package/dist/esm/sqm-referred-registration.entry.js +3 -3
  176. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +2 -2
  177. package/dist/esm/sqm-rewards-table_9.entry.js +5 -5
  178. package/dist/esm/sqm-scroll.entry.js +105 -0
  179. package/dist/esm/sqm-stencilbook.entry.js +277 -72
  180. package/dist/esm/sqm-tab.entry.js +2 -2
  181. package/dist/esm/sqm-tabs.entry.js +3 -3
  182. package/dist/esm/sqm-widget-verification-controller.entry.js +109 -0
  183. package/dist/esm/sqm-widget-verification.entry.js +199 -0
  184. package/dist/esm/stencil-hooks.module-4bc38af4.js +1 -1
  185. package/dist/esm/{useChildElements-38c11321.js → useChildElements-7945ae56.js} +1 -1
  186. package/dist/esm/{useInstantAccessRegistration-7255b0ca.js → useInstantAccessRegistration-cd0172c8.js} +2 -2
  187. package/dist/esm/usePayoutStatus-58aa56b4.js +1039 -0
  188. package/dist/esm/usePortalLogin-ef647a50.js +72 -0
  189. package/dist/esm/{usePortalRegistrationForm-5715c7a5.js → usePortalRegistrationForm-4b35a357.js} +2 -2
  190. package/dist/esm/{useReferralTable-d77b11f5.js → useReferralTable-b3876ed6.js} +3 -3
  191. package/dist/esm/{useRegistrationFormState-01cdd8c7.js → useRegistrationFormState-d6f33135.js} +1 -1
  192. package/dist/esm/useVerificationEmail-edc318cb.js +171 -0
  193. package/dist/esm/{utilities-863d06d1.js → utilities-5b0ca040.js} +1 -1
  194. package/dist/esm-es5/ShadowViewAddon-444b1f38.js +1 -0
  195. package/dist/esm-es5/{copy-text-view-b060162f.js → copy-text-view-459a2e35.js} +1 -1
  196. package/dist/esm-es5/extractProps-ae1afbb3.js +1 -0
  197. package/dist/esm-es5/{global-bedc4329.js → global-be1f9992.js} +1 -1
  198. package/dist/esm-es5/index.module-89a79f66.js +1 -0
  199. package/dist/esm-es5/keys-406491dc.js +1 -0
  200. package/dist/esm-es5/loader.js +1 -1
  201. package/dist/esm-es5/mint-components.js +1 -1
  202. package/dist/esm-es5/{re-render-268bb9c8.js → re-render-cc945f38.js} +1 -1
  203. package/dist/esm-es5/sqm-asset-card.entry.js +1 -1
  204. package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -0
  205. package/dist/esm-es5/sqm-base-registration-form-view-593d4ac3.js +1 -0
  206. package/dist/esm-es5/sqm-big-stat_39.entry.js +1 -0
  207. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  208. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  209. package/dist/esm-es5/sqm-email-verification.entry.js +1 -0
  210. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  211. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  212. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  213. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  214. package/dist/esm-es5/sqm-invoice-table-view-af69cd33.js +1 -0
  215. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  216. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  217. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-56da6bca.js → sqm-navigation-sidebar-item-view-8f1c72bc.js} +1 -1
  218. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  219. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  220. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  221. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  222. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  223. package/dist/esm-es5/{sqm-portal-email-verification-view-44c8970f.js → sqm-portal-email-verification-view-35b4353b.js} +1 -1
  224. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  225. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -1
  226. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -0
  227. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  228. package/dist/esm-es5/sqm-portal-login-view-7e49609a.js +1 -0
  229. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  230. package/dist/esm-es5/{sqm-portal-profile-view-39039274.js → sqm-portal-profile-view-93003974.js} +1 -1
  231. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  232. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  233. package/dist/esm-es5/sqm-portal-registration-form-view-32c4b488.js +1 -0
  234. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -1
  235. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  236. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -1
  237. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  238. package/dist/esm-es5/sqm-referred-registration.entry.js +1 -1
  239. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  240. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  241. package/dist/esm-es5/sqm-scroll.entry.js +1 -0
  242. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  243. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  244. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  245. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -0
  246. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -0
  247. package/dist/esm-es5/stencil-hooks.module-4bc38af4.js +1 -1
  248. package/dist/esm-es5/{useChildElements-38c11321.js → useChildElements-7945ae56.js} +1 -1
  249. package/dist/esm-es5/{useInstantAccessRegistration-7255b0ca.js → useInstantAccessRegistration-cd0172c8.js} +1 -1
  250. package/dist/esm-es5/usePayoutStatus-58aa56b4.js +6 -0
  251. package/dist/esm-es5/usePortalLogin-ef647a50.js +1 -0
  252. package/dist/esm-es5/{usePortalRegistrationForm-5715c7a5.js → usePortalRegistrationForm-4b35a357.js} +1 -1
  253. package/dist/esm-es5/{useReferralTable-d77b11f5.js → useReferralTable-b3876ed6.js} +1 -1
  254. package/dist/esm-es5/{useRegistrationFormState-01cdd8c7.js → useRegistrationFormState-d6f33135.js} +1 -1
  255. package/dist/esm-es5/useVerificationEmail-edc318cb.js +1 -0
  256. package/dist/esm-es5/{utilities-863d06d1.js → utilities-5b0ca040.js} +1 -1
  257. package/dist/mint-components/mint-components.esm.js +1 -1
  258. package/dist/mint-components/mint-components.js +1 -1
  259. package/dist/mint-components/{p-2126e1e6.entry.js → p-04a6e457.entry.js} +1 -1
  260. package/dist/mint-components/{p-3e1b7fb4.entry.js → p-079405ff.entry.js} +1 -1
  261. package/dist/mint-components/{p-35698aaa.system.js → p-0d182dc1.system.js} +1 -1
  262. package/dist/mint-components/p-0ebab63e.system.js +1 -0
  263. package/dist/mint-components/{p-ca04737a.entry.js → p-10d17989.entry.js} +1 -1
  264. package/dist/mint-components/{p-95c64cfd.system.js → p-13ed8586.system.js} +1 -1
  265. package/dist/mint-components/{p-3972037c.system.entry.js → p-141bf5c1.system.entry.js} +1 -1
  266. package/dist/mint-components/{p-80fc549b.entry.js → p-1513309d.entry.js} +1 -1
  267. package/dist/mint-components/{p-79ea1597.system.entry.js → p-164a9103.system.entry.js} +1 -1
  268. package/dist/mint-components/p-17cc7c9b.js +394 -0
  269. package/dist/mint-components/p-18425f38.system.entry.js +1 -0
  270. package/dist/mint-components/p-19ccb4ce.js +1 -0
  271. package/dist/mint-components/{p-0aa62b64.entry.js → p-1a6b7d2a.entry.js} +1 -1
  272. package/dist/mint-components/{p-de9afac2.system.entry.js → p-1fa9ed0d.system.entry.js} +1 -1
  273. package/dist/mint-components/p-21620f81.system.entry.js +1 -0
  274. package/dist/mint-components/p-22111c97.entry.js +9 -0
  275. package/dist/mint-components/p-26468242.js +1 -0
  276. package/dist/mint-components/{p-53aaa0a4.entry.js → p-275b4767.entry.js} +1 -1
  277. package/dist/mint-components/{p-618e1342.entry.js → p-284e4ed5.entry.js} +1 -1
  278. package/dist/mint-components/{p-e544bb9a.entry.js → p-2ae0e06a.entry.js} +1 -1
  279. package/dist/mint-components/p-2d52e2d7.system.js +1 -0
  280. package/dist/mint-components/{p-4ae54b04.entry.js → p-2da21ba4.entry.js} +1 -1
  281. package/dist/mint-components/{p-45436d5a.entry.js → p-2f101bae.entry.js} +1 -1
  282. package/dist/mint-components/p-301ddcaa.system.entry.js +1 -0
  283. package/dist/mint-components/p-33c96e14.entry.js +16 -0
  284. package/dist/mint-components/{p-731aa5c6.system.entry.js → p-36ffebd8.system.entry.js} +1 -1
  285. package/dist/mint-components/p-37996351.system.js +1 -0
  286. package/dist/mint-components/p-38c7775a.js +1 -0
  287. package/dist/mint-components/{p-4448febd.entry.js → p-38fc919b.entry.js} +1 -1
  288. package/dist/mint-components/{p-40e99b24.js → p-3db34d68.js} +1 -1
  289. package/dist/mint-components/{p-ebdcea27.system.entry.js → p-420554af.system.entry.js} +1 -1
  290. package/dist/mint-components/{p-571c451e.entry.js → p-4428294b.entry.js} +1 -1
  291. package/dist/mint-components/{p-a21d1a30.system.entry.js → p-4469fea6.system.entry.js} +1 -1
  292. package/dist/mint-components/p-44891949.entry.js +1 -0
  293. package/dist/mint-components/p-4794641c.system.js +1 -0
  294. package/dist/mint-components/p-480e08e9.js +31 -0
  295. package/dist/mint-components/p-48135f99.system.js +2 -2
  296. package/dist/mint-components/p-4acd5340.system.js +1 -0
  297. package/dist/mint-components/{p-492fdaf9.js → p-4e451f75.js} +1 -1
  298. package/dist/mint-components/p-4e526a94.js +1 -0
  299. package/dist/mint-components/{p-92a25556.system.entry.js → p-50c902ca.system.entry.js} +1 -1
  300. package/dist/mint-components/{p-4bcb04aa.system.entry.js → p-51d3cde7.system.entry.js} +1 -1
  301. package/dist/mint-components/p-527216de.system.js +1 -0
  302. package/dist/mint-components/{p-2dc5e60a.entry.js → p-54440d8d.entry.js} +1 -1
  303. package/dist/mint-components/p-5488fdd9.system.js +1 -0
  304. package/dist/mint-components/{p-8da47802.system.entry.js → p-54adee71.system.entry.js} +1 -1
  305. package/dist/mint-components/p-57dd28bd.system.js +1 -0
  306. package/dist/mint-components/{p-a8524459.system.js → p-59274a91.system.js} +1 -1
  307. package/dist/mint-components/{p-7989a098.system.entry.js → p-5c28406d.system.entry.js} +1 -1
  308. package/dist/mint-components/{p-9a0c3ed9.system.entry.js → p-5d7e308c.system.entry.js} +1 -1
  309. package/dist/mint-components/{p-09c5e3ee.system.js → p-635d5ef2.system.js} +1 -1
  310. package/dist/mint-components/{p-6de85677.js → p-63a75798.js} +1 -1
  311. package/dist/mint-components/p-6427e963.entry.js +1 -0
  312. package/dist/mint-components/{p-506679e9.js → p-65069b66.js} +1 -1
  313. package/dist/mint-components/{p-9e49479a.entry.js → p-653f963f.entry.js} +2 -2
  314. package/dist/mint-components/{p-b9d17fa1.entry.js → p-693942df.entry.js} +1 -1
  315. package/dist/mint-components/p-6b7a595f.system.js +1 -0
  316. package/dist/mint-components/p-6cd4f2b1.system.js +1 -0
  317. package/dist/mint-components/{p-550ef977.js → p-6d2f5a1d.js} +2 -2
  318. package/dist/mint-components/p-6eaf9c57.entry.js +1 -0
  319. package/dist/mint-components/{p-7166caa6.system.js → p-717cc8ac.system.js} +1 -1
  320. package/dist/mint-components/{p-7bcf4467.system.entry.js → p-71bc04d2.system.entry.js} +1 -1
  321. package/dist/mint-components/p-78078e48.system.entry.js +1 -0
  322. package/dist/mint-components/p-784a69ac.system.entry.js +1 -0
  323. package/dist/mint-components/p-793d2130.js +1 -0
  324. package/dist/mint-components/{p-b114e746.entry.js → p-7ab21e4d.entry.js} +1 -1
  325. package/dist/mint-components/{p-2ab3b8d6.js → p-7f2d4212.js} +1 -1
  326. package/dist/mint-components/p-8175e85f.system.js +1 -0
  327. package/dist/mint-components/{p-81665df6.system.entry.js → p-8362cb4c.system.entry.js} +1 -1
  328. package/dist/mint-components/p-84cea9dd.entry.js +241 -0
  329. package/dist/mint-components/{p-bd4810c7.system.entry.js → p-85671c3d.system.entry.js} +1 -1
  330. package/dist/mint-components/{p-f9de8a59.system.js → p-89903f6d.system.js} +1 -1
  331. package/dist/mint-components/{p-0873eaa8.entry.js → p-8abfeff8.entry.js} +1 -1
  332. package/dist/mint-components/p-8c23d1b8.js +1 -0
  333. package/dist/mint-components/{p-8056fd5b.system.entry.js → p-8d9d04b7.system.entry.js} +1 -1
  334. package/dist/mint-components/{p-988ea164.system.entry.js → p-90fc6774.system.entry.js} +1 -1
  335. package/dist/mint-components/p-91959fbe.js +1 -0
  336. package/dist/mint-components/p-9320582e.system.js +1 -0
  337. package/dist/mint-components/p-94a876b9.js +1 -0
  338. package/dist/mint-components/p-962f3200.js +1 -0
  339. package/dist/mint-components/{p-1c5cffae.js → p-98698131.js} +1 -1
  340. package/dist/mint-components/{p-f32c8cb5.entry.js → p-99374849.entry.js} +1 -1
  341. package/dist/mint-components/{p-a4a5beb5.system.entry.js → p-99bc1231.system.entry.js} +1 -1
  342. package/dist/mint-components/{p-9a16a3d8.system.entry.js → p-9b6a0152.system.entry.js} +1 -1
  343. package/dist/mint-components/p-9cf80e85.system.entry.js +1 -0
  344. package/dist/mint-components/{p-f4a1dc19.entry.js → p-a2fde301.entry.js} +1 -1
  345. package/dist/mint-components/p-a71b9154.system.js +1 -0
  346. package/dist/mint-components/p-a8645c1b.system.js +1 -0
  347. package/dist/mint-components/{p-635aaf11.system.entry.js → p-b287833c.system.entry.js} +1 -1
  348. package/dist/mint-components/{p-8975c2be.entry.js → p-b51e79b3.entry.js} +1 -1
  349. package/dist/mint-components/{p-f0c23e81.system.entry.js → p-b7d1469d.system.entry.js} +1 -1
  350. package/dist/mint-components/{p-7cb919d4.system.entry.js → p-b82e1935.system.entry.js} +1 -1
  351. package/dist/mint-components/p-b93fd99c.system.entry.js +1 -0
  352. package/dist/mint-components/p-bb0f585c.system.js +1 -0
  353. package/dist/mint-components/{p-1833c4f5.js → p-bbcd824a.js} +1 -1
  354. package/dist/mint-components/p-bd91bba4.js +1 -0
  355. package/dist/mint-components/{p-f2fd1910.system.js → p-bdb7d451.system.js} +1 -1
  356. package/dist/mint-components/{p-24c4e0b8.system.entry.js → p-c060f770.system.entry.js} +1 -1
  357. package/dist/mint-components/{p-1ef299d7.js → p-c0f19490.js} +1 -1
  358. package/dist/mint-components/{p-ca740238.system.entry.js → p-c2fdd608.system.entry.js} +1 -1
  359. package/dist/mint-components/p-c36506f6.system.entry.js +1 -0
  360. package/dist/mint-components/p-cb7bdbe4.entry.js +1 -0
  361. package/dist/mint-components/p-cbbfac66.entry.js +25 -0
  362. package/dist/mint-components/p-cc7af682.system.js +6 -0
  363. package/dist/mint-components/{p-4f45be94.system.js → p-cd569259.system.js} +1 -1
  364. package/dist/mint-components/p-cd651f81.js +2 -2
  365. package/dist/mint-components/p-d07f3090.entry.js +1 -0
  366. package/dist/mint-components/p-d6831af5.js +48 -0
  367. package/dist/mint-components/p-da7708a7.entry.js +1 -0
  368. package/dist/mint-components/p-dbcb5359.js +1 -0
  369. package/dist/mint-components/{p-75f50e5a.entry.js → p-dcc81e90.entry.js} +1 -1
  370. package/dist/mint-components/{p-1b0c58bc.system.entry.js → p-de8e9981.system.entry.js} +1 -1
  371. package/dist/mint-components/{p-857947fa.system.entry.js → p-e5a5ae7f.system.entry.js} +1 -1
  372. package/dist/mint-components/{p-045d1d49.entry.js → p-e6045498.entry.js} +1 -1
  373. package/dist/mint-components/{p-9b779add.entry.js → p-e6f50ffd.entry.js} +1 -1
  374. package/dist/mint-components/{p-c470caf6.entry.js → p-e8ffcc68.entry.js} +2 -2
  375. package/dist/mint-components/p-f0772618.system.entry.js +1 -0
  376. package/dist/mint-components/p-f29eda2f.entry.js +205 -0
  377. package/dist/mint-components/{p-9f231a48.system.entry.js → p-f4a72903.system.entry.js} +1 -1
  378. package/dist/mint-components/{p-aaeaff1a.system.entry.js → p-f4a8ee29.system.entry.js} +1 -1
  379. package/dist/mint-components/p-fa37513e.system.entry.js +1 -0
  380. package/dist/mint-components/{p-e0b344fb.entry.js → p-fe2e2f4a.entry.js} +1 -1
  381. package/dist/mint-components/p-ff8b8067.entry.js +33 -0
  382. package/dist/types/components/sqm-google-sign-in/sqm-google-sign-in.d.ts +2 -0
  383. package/dist/types/components/sqm-google-sign-in/useGoogleSignIn.d.ts +1 -1
  384. package/dist/types/components/sqm-payout-button-scroll/PayoutButtonScroll.stories.d.ts +6 -0
  385. package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll-view.d.ts +10 -0
  386. package/dist/types/components/sqm-payout-button-scroll/sqm-payout-button-scroll.d.ts +26 -0
  387. package/dist/types/components/sqm-payout-button-scroll/usePayoutButton.d.ts +7 -0
  388. package/dist/types/components/sqm-portal-google-login/sqm-portal-google-login.d.ts +74 -0
  389. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +0 -4
  390. package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +2 -1
  391. package/dist/types/components/sqm-portal-registration-form/sqm-portal-registration-form-view.d.ts +1 -0
  392. package/dist/types/components/sqm-referral-table/ReferralTableRewardsCell.stories.d.ts +1 -0
  393. package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
  394. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -0
  395. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -0
  396. package/dist/types/components/sqm-widget-verification/keys.d.ts +4 -0
  397. package/dist/types/components/sqm-widget-verification/sqm-code-verification/WidgetCodeVerification.stories.d.ts +9 -0
  398. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification-view.d.ts +26 -0
  399. package/dist/types/components/sqm-widget-verification/sqm-code-verification/sqm-code-verification.d.ts +54 -0
  400. package/dist/types/components/sqm-widget-verification/sqm-code-verification/useCodeVerification.d.ts +25 -0
  401. package/dist/types/components/sqm-widget-verification/sqm-email-verification/WidgetEmailVerification.stories.d.ts +11 -0
  402. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.d.ts +22 -0
  403. package/dist/types/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification.d.ts +44 -0
  404. package/dist/types/components/sqm-widget-verification/sqm-email-verification/useEmailVerification.d.ts +10 -0
  405. package/dist/types/components/sqm-widget-verification/sqm-widget-verification-controller.d.ts +12 -0
  406. package/dist/types/components/sqm-widget-verification/sqm-widget-verification.d.ts +96 -0
  407. package/dist/types/components/sqm-widget-verification/useVerificationEmail.d.ts +15 -0
  408. package/dist/types/components/sqm-widget-verification/useWidgetVerification.d.ts +5 -0
  409. package/dist/types/components/tax-and-cash/BankingForm.stories.d.ts +1 -0
  410. package/dist/types/components/tax-and-cash/TaxForm.stories.d.ts +6 -0
  411. package/dist/types/components/tax-and-cash/eventKeys.d.ts +1 -0
  412. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.d.ts +8 -0
  413. package/dist/types/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form.d.ts +13 -0
  414. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.d.ts +1 -0
  415. package/dist/types/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.d.ts +4 -0
  416. package/dist/types/components/tax-and-cash/sqm-docusign-form/useDocusignForm.d.ts +1 -1
  417. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.d.ts +1 -0
  418. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form.d.ts +4 -0
  419. package/dist/types/components/tax-and-cash/sqm-payout-details-card/PayoutDetailsCard.stories.d.ts +0 -1
  420. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card-view.d.ts +0 -4
  421. package/dist/types/components/tax-and-cash/sqm-payout-details-card/sqm-payout-details-card.d.ts +1 -16
  422. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +12 -0
  423. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +36 -0
  424. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +90 -0
  425. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +20 -0
  426. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/data.d.ts +6 -0
  427. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/extractProps.d.ts +5 -1
  428. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +82 -3
  429. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +17 -0
  430. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +47 -2
  431. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +1 -0
  432. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.d.ts +4 -0
  433. package/dist/types/components/tax-and-cash/useVeriffApp.d.ts +6 -0
  434. package/dist/types/components.d.ts +1071 -86
  435. package/docs/docs.docx +0 -0
  436. package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
  437. package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
  438. package/docs/raisins.json +1 -1
  439. package/grapesjs/grapesjs.js +1 -1
  440. package/package.json +3 -4
  441. package/dist/collection/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.js +0 -86
  442. package/dist/esm-es5/ShadowViewAddon-eba44767.js +0 -1
  443. package/dist/esm-es5/index.module-a2989d3c.js +0 -1
  444. package/dist/esm-es5/sqm-banking-info-form_16.entry.js +0 -1
  445. package/dist/esm-es5/sqm-base-registration-form-view-98c4db70.js +0 -1
  446. package/dist/esm-es5/sqm-big-stat_38.entry.js +0 -1
  447. package/dist/esm-es5/sqm-invoice-table-view-8e2bb54a.js +0 -1
  448. package/dist/esm-es5/sqm-portal-registration-form-view-90e2bfd5.js +0 -1
  449. package/dist/mint-components/p-0323586f.entry.js +0 -223
  450. package/dist/mint-components/p-046f4631.system.js +0 -1
  451. package/dist/mint-components/p-0e53c59e.system.js +0 -1
  452. package/dist/mint-components/p-16c7bfda.js +0 -391
  453. package/dist/mint-components/p-28042d23.entry.js +0 -174
  454. package/dist/mint-components/p-30108c0e.js +0 -1
  455. package/dist/mint-components/p-31a691af.js +0 -1
  456. package/dist/mint-components/p-39b1a7fe.js +0 -1
  457. package/dist/mint-components/p-3bdd338c.system.js +0 -1
  458. package/dist/mint-components/p-3ec660e9.js +0 -1
  459. package/dist/mint-components/p-46ab5f80.system.js +0 -1
  460. package/dist/mint-components/p-4daa3f8a.system.entry.js +0 -1
  461. package/dist/mint-components/p-62f6627d.js +0 -1
  462. package/dist/mint-components/p-6a89b821.system.entry.js +0 -1
  463. package/dist/mint-components/p-749c7c9c.system.js +0 -1
  464. package/dist/mint-components/p-868f176e.entry.js +0 -1
  465. package/dist/mint-components/p-8d77feee.js +0 -1
  466. package/dist/mint-components/p-96b48c2b.system.js +0 -1
  467. package/dist/mint-components/p-a1f40614.system.entry.js +0 -1
  468. package/dist/mint-components/p-ac2b7eb8.system.js +0 -1
  469. package/dist/mint-components/p-b611eefd.entry.js +0 -1
  470. package/dist/mint-components/p-c4b21562.system.entry.js +0 -1
  471. package/dist/mint-components/p-c6a8c075.system.js +0 -1
  472. package/dist/mint-components/p-cd480e3f.entry.js +0 -33
  473. package/dist/mint-components/p-cf505e92.system.js +0 -1
  474. package/dist/mint-components/p-d671e44e.system.js +0 -1
  475. package/dist/mint-components/p-d7ed4bb5.entry.js +0 -1
  476. package/dist/mint-components/p-d87ce3d2.js +0 -1
  477. package/dist/mint-components/p-ea9fd654.entry.js +0 -9
  478. package/dist/mint-components/p-fe4a9dfe.system.entry.js +0 -1
  479. package/dist/types/components/sqm-portal-google-registration-form/small-views/RegistrationFieldsView.d.ts +0 -31
@@ -0,0 +1,130 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-a29c60ef.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
+ const index_module = require('./index.module-ee84433d.js');
8
+ require('./jsonpointer-11327262.js');
9
+ const cjs = require('./cjs-1066ec21.js');
10
+ require('./utils-6847bc06.js');
11
+ const JSS = require('./JSS-8503a151.js');
12
+ require('./mixins-f7e0377a.js');
13
+ require('./sqm-text-span-view-0aa82125.js');
14
+ const sqmPortalLoginView = require('./sqm-portal-login-view-761a4d8e.js');
15
+ const usePortalLogin = require('./usePortalLogin-63d896d1.js');
16
+
17
+ const PortalGoogleLogin = class {
18
+ constructor(hostRef) {
19
+ index.registerInstance(this, hostRef);
20
+ this.ignored = true;
21
+ /**
22
+ * Redirect participants to this page after they successfully login.
23
+ *
24
+ * @uiName Login redirect
25
+ * @uiWidget pageSelect
26
+ */
27
+ this.nextPage = "/";
28
+ /**
29
+ * @uiName Email field label
30
+ */
31
+ this.emailLabel = "Email";
32
+ /**
33
+ * @uiName Password field label
34
+ */
35
+ this.passwordLabel = "Password";
36
+ /**
37
+ * @uiName Submit button text
38
+ */
39
+ this.submitLabel = "Sign In";
40
+ /**
41
+ * Redirect participants to this page to reset their password
42
+ * @uiName Forgot password redirect
43
+ * @uiWidget pageSelect
44
+ */
45
+ this.forgotPasswordPath = "/forgotPassword";
46
+ /**
47
+ * @uiName Forgot password text
48
+ */
49
+ this.forgotPasswordLabel = "Forgot Password?";
50
+ /**
51
+ * @uiName Register button text
52
+ */
53
+ this.registerLabel = "Register";
54
+ /**
55
+ * Redirect participants to this page to start registration.
56
+ * @uiName Register button redirect
57
+ * @uiWidget pageSelect
58
+ */
59
+ this.registerPath = "/register";
60
+ /**
61
+ * @uiName Heading label
62
+ * @uiWidget textArea
63
+ */
64
+ this.pageLabel = "Sign in to your account";
65
+ /**
66
+ * @uiName Network error message
67
+ * Displayed when the login fails due to a network error. The participant can try refreshing the page.
68
+ */
69
+ this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
70
+ /**
71
+ * @uiName Google account error message
72
+ * Displayed when user tries to sign in with Google account but has not registered.
73
+ */
74
+ this.googleUserNotRegisteredError = "Your Google account has not registered on our platform. Please complete the registration process with your Google account.";
75
+ /**
76
+ * @uiName Register CTA
77
+ */
78
+ this.registerCTA = "Don't have an account?";
79
+ stencilHooks_module.h$1(this);
80
+ }
81
+ disconnectedCallback() { }
82
+ render() {
83
+ const { states, callbacks } = index_module.isDemo()
84
+ ? useLoginDemo(this)
85
+ : usePortalLogin.usePortalLogin(this);
86
+ const styles = {
87
+ RegisterButton: {
88
+ "&::part(label)": {
89
+ padding: "0",
90
+ },
91
+ },
92
+ };
93
+ const sheet = JSS.createStyleSheet(styles);
94
+ const styleString = sheet.toString();
95
+ const content = {
96
+ forgotPasswordButton: (index.h("slot", { name: "forgotPassword" }, index.h("a", { onClick: () => index_module.jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
97
+ googleButton: (index.h("sqm-google-sign-in", { onInitComplete: callbacks.googleSubmit })),
98
+ secondaryButton: (index.h("slot", { name: "secondaryButton" }, index.h("style", null, styleString), index.h("span", null, this.registerCTA, " ", index.h("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => index_module.jn.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel)))),
99
+ emailLabel: this.emailLabel,
100
+ passwordLabel: this.passwordLabel,
101
+ submitLabel: this.submitLabel,
102
+ pageLabel: this.pageLabel,
103
+ };
104
+ return (index.h(sqmPortalLoginView.PortalLoginView, { states: states, callbacks: callbacks, content: content }));
105
+ }
106
+ };
107
+ function useLoginDemo(props) {
108
+ return cjs.cjs({
109
+ states: {
110
+ error: "",
111
+ loading: false,
112
+ forgotPasswordPath: "/forgotPassword",
113
+ registerPath: "/register",
114
+ showLoginForm: "manual",
115
+ },
116
+ callbacks: {
117
+ googleSubmit: async () => {
118
+ console.log("google submit");
119
+ },
120
+ submit: async (_event) => {
121
+ console.log("submit");
122
+ },
123
+ },
124
+ content: {
125
+ googleButton: null,
126
+ },
127
+ }, props.demoData || {}, { arrayMerge: (_, a) => a });
128
+ }
129
+
130
+ exports.sqm_portal_google_login = PortalGoogleLogin;
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
- const index_module = require('./index.module-57703088.js');
7
+ const index_module = require('./index.module-ee84433d.js');
8
8
  const jsonpointer = require('./jsonpointer-11327262.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  const JSS = require('./JSS-8503a151.js');
11
11
  require('./mixins-f7e0377a.js');
12
12
  require('./sqm-text-span-view-0aa82125.js');
13
- const useRegistrationFormState = require('./useRegistrationFormState-986b5ea1.js');
14
- const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-d5685747.js');
15
- const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-e947a5b3.js');
13
+ const useRegistrationFormState = require('./useRegistrationFormState-7b820f0c.js');
14
+ const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-8a2c8763.js');
15
+ const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-ebf355a6.js');
16
16
  require('./AsYouType-6788393a.js');
17
- const usePortalRegistrationForm = require('./usePortalRegistrationForm-a89d736e.js');
17
+ const usePortalRegistrationForm = require('./usePortalRegistrationForm-f25d89e7.js');
18
18
 
19
19
  class InvalidTokenError extends Error {
20
20
  }
@@ -323,10 +323,10 @@ const PortalGoogleRegistrationForm = class {
323
323
  }
324
324
  return (index.h(sqmPortalRegistrationFormView.PortalRegistrationFormView, { states: {
325
325
  ...states,
326
+ emailDisabled: true,
326
327
  hidePasswords: showRegistrationForm.mode === "google",
327
328
  }, callbacks: callbacks, content: {
328
329
  ...content,
329
- secondaryButton: index.h("div", { style: { display: "none" } }),
330
330
  }, refs: refs }));
331
331
  }
332
332
  };
@@ -0,0 +1,58 @@
1
+ 'use strict';
2
+
3
+ const index = require('./index-a29c60ef.js');
4
+ const JSS = require('./JSS-8503a151.js');
5
+ const mixins = require('./mixins-f7e0377a.js');
6
+ const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
7
+
8
+ const style = {
9
+ Wrapper: mixins.AuthWrapper,
10
+ Column: mixins.AuthColumn,
11
+ ForgotButtonContainer: {
12
+ display: "inline",
13
+ cursor: "pointer",
14
+ "font-size": "13px",
15
+ "font-weight": "600",
16
+ color: "#AAAAAA",
17
+ margin: "0",
18
+ },
19
+ ButtonsContainer: {
20
+ ...mixins.AuthButtonsContainer,
21
+ gap: "var(--sl-spacing-medium)",
22
+ "& > *": {
23
+ margin: "0 !important",
24
+ },
25
+ },
26
+ };
27
+ const vanillaStyle = `
28
+ :host {
29
+ display: block;
30
+ }
31
+ :host([hidden]): {
32
+ display: none;
33
+ }
34
+ `;
35
+ const sheet = JSS.createStyleSheet(style);
36
+ const styleString = sheet.toString();
37
+ function PortalLoginView(props) {
38
+ const { states, callbacks, content } = props;
39
+ return (index.h("div", { class: sheet.classes.Wrapper, part: "sqm-base" },
40
+ index.h("style", { type: "text/css" },
41
+ vanillaStyle,
42
+ styleString),
43
+ index.h(sqmTextSpanView.TextSpanView, { type: "h3" }, content.pageLabel),
44
+ index.h("sl-form", { class: sheet.classes.Column, "onSl-submit": callbacks.submit },
45
+ props.states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
46
+ index.h("div", { part: "erroralert-text" }, props.states.error))),
47
+ index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading, required: true }),
48
+ index.h("div", null,
49
+ index.h("sl-input", { exportparts: "label: input-label, base: input-base", type: "password", name: "/password", label: content.passwordLabel || "Password", disabled: states.loading, required: true }),
50
+ index.h("div", { class: sheet.classes.ForgotButtonContainer }, content.forgotPasswordButton)),
51
+ index.h("div", { class: sheet.classes.ButtonsContainer },
52
+ index.h("sl-button", { submit: true, loading: states.loading, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Login"),
53
+ content.googleButton && index.h("sl-menu-divider", null),
54
+ content.googleButton,
55
+ content.secondaryButton))));
56
+ }
57
+
58
+ exports.PortalLoginView = PortalLoginView;
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
- const index_module = require('./index.module-57703088.js');
7
+ const index_module = require('./index.module-ee84433d.js');
8
8
 
9
9
  function usePortalLogout({ nextPage }) {
10
10
  index_module.setUserIdentity(undefined);
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const index = require('./index-a29c60ef.js');
4
- const global = require('./global-19fc8a7a.js');
4
+ const global = require('./global-e31dc4f5.js');
5
5
  const JSS = require('./JSS-8503a151.js');
6
6
  const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
7
7
 
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
- require('./global-19fc8a7a.js');
8
- const index_module = require('./index.module-57703088.js');
7
+ require('./global-e31dc4f5.js');
8
+ const index_module = require('./index.module-ee84433d.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  require('./JSS-8503a151.js');
12
12
  require('./sqm-text-span-view-0aa82125.js');
13
- const sqmPortalProfileView = require('./sqm-portal-profile-view-bae28ea0.js');
14
- const utilities = require('./utilities-c135f16f.js');
13
+ const sqmPortalProfileView = require('./sqm-portal-profile-view-33164798.js');
14
+ const utilities = require('./utilities-78f5e169.js');
15
15
 
16
16
  const GET_USER = index_module.dist.gql `
17
17
  query {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
- const index_module = require('./index.module-57703088.js');
7
+ const index_module = require('./index.module-ee84433d.js');
8
8
 
9
9
  function usePortalProtectedRoute({ requireEmailVerification, redirectTo, redirectToUnverified, }) {
10
10
  var _a;
@@ -6,7 +6,7 @@ const mixins = require('./mixins-f7e0377a.js');
6
6
  const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
7
7
 
8
8
  const style = {
9
- Wrapper: { ...mixins.AuthWrapper, "max-width": "600px" },
9
+ Wrapper: mixins.AuthWrapper,
10
10
  Column: mixins.AuthColumn,
11
11
  HostBlock: mixins.HostBlock,
12
12
  ":host": {
@@ -34,7 +34,7 @@ sqm-portal-register {
34
34
  const sheet = JSS.createStyleSheet(style);
35
35
  const styleString = sheet.toString();
36
36
  function PortalRegistrationFormView(props) {
37
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
37
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
38
38
  const { states, refs, callbacks, content } = props;
39
39
  if (states.error) {
40
40
  window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
@@ -49,7 +49,8 @@ function PortalRegistrationFormView(props) {
49
49
  index.h("div", { part: "erroralert-text" }, states.registrationFormState.disabledMessage))) : (states.error && (index.h("sqm-form-message", { type: "error", exportparts: "erroralert-icon" },
50
50
  index.h("div", { part: "erroralert-text" }, props.states.error)))),
51
51
  content.formData,
52
- !states.hideInputs && (index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: true, required: true, validationError: ({ value }) => {
52
+ !states.hideInputs && (index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "email", name: "/email", label: content.emailLabel || "Email", disabled: states.loading || ((_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.disabled) ||
53
+ states.emailDisabled, required: true, validationError: ({ value }) => {
53
54
  if (!value) {
54
55
  return content.requiredFieldErrorMessage;
55
56
  }
@@ -57,29 +58,29 @@ function PortalRegistrationFormView(props) {
57
58
  if (!value.includes("@")) {
58
59
  return content.invalidEmailErrorMessage;
59
60
  }
60
- } }, (((_c = (_b = states.registrationFormState) === null || _b === void 0 ? void 0 : _b.initialData) === null || _c === void 0 ? void 0 : _c.email) ? {
61
- value: (_e = (_d = states.registrationFormState) === null || _d === void 0 ? void 0 : _d.initialData) === null || _e === void 0 ? void 0 : _e.email,
61
+ } }, (((_d = (_c = states.registrationFormState) === null || _c === void 0 ? void 0 : _c.initialData) === null || _d === void 0 ? void 0 : _d.email) ? {
62
+ value: (_f = (_e = states.registrationFormState) === null || _e === void 0 ? void 0 : _e.initialData) === null || _f === void 0 ? void 0 : _f.email,
62
63
  }
63
- : {}), (((_g = (_f = states.registrationFormState) === null || _f === void 0 ? void 0 : _f.validationErrors) === null || _g === void 0 ? void 0 : _g.email) ? {
64
+ : {}), (((_h = (_g = states.registrationFormState) === null || _g === void 0 ? void 0 : _g.validationErrors) === null || _h === void 0 ? void 0 : _h.email) ? {
64
65
  class: sheet.classes.ErrorStyle,
65
- helpText: ((_j = (_h = states.registrationFormState) === null || _h === void 0 ? void 0 : _h.validationErrors) === null || _j === void 0 ? void 0 : _j.email) ||
66
+ helpText: ((_k = (_j = states.registrationFormState) === null || _j === void 0 ? void 0 : _j.validationErrors) === null || _k === void 0 ? void 0 : _k.email) ||
66
67
  content.requiredFieldErrorMessage,
67
68
  }
68
69
  : [])))),
69
70
  !(states.hideInputs || states.hidePasswords) && (index.h("sqm-password-field", { fieldLabel: content.passwordLabel, "disable-validation": !states.enablePasswordValidation, meetsRequirementsText: content.meetsRequirementsText, doesNotMeetRequirementsText: content.doesNotMeetRequirementsText, minErrorText: content.minErrorText, uppercaseErrorText: content.uppercaseErrorText, lowercaseErrorText: content.lowercaseErrorText, hasErrorText: content.hasErrorText })),
70
71
  content.passwordField,
71
72
  !(states.hideInputs || states.hidePasswords) &&
72
- states.confirmPassword && (index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading || ((_k = states.registrationFormState) === null || _k === void 0 ? void 0 : _k.disabled), required: true }, (((_m = (_l = states.registrationFormState) === null || _l === void 0 ? void 0 : _l.initialData) === null || _m === void 0 ? void 0 : _m.confirmPassword) ? {
73
- value: (_p = (_o = states.registrationFormState) === null || _o === void 0 ? void 0 : _o.initialData) === null || _p === void 0 ? void 0 : _p.confirmPassword,
73
+ states.confirmPassword && (index.h("sl-input", Object.assign({ exportparts: "label: input-label, base: input-base", type: "password", name: "/confirmPassword", label: content.confirmPasswordLabel, disabled: states.loading || ((_l = states.registrationFormState) === null || _l === void 0 ? void 0 : _l.disabled), required: true }, (((_o = (_m = states.registrationFormState) === null || _m === void 0 ? void 0 : _m.initialData) === null || _o === void 0 ? void 0 : _o.confirmPassword) ? {
74
+ value: (_q = (_p = states.registrationFormState) === null || _p === void 0 ? void 0 : _p.initialData) === null || _q === void 0 ? void 0 : _q.confirmPassword,
74
75
  }
75
- : {}), (((_r = (_q = states.registrationFormState) === null || _q === void 0 ? void 0 : _q.validationErrors) === null || _r === void 0 ? void 0 : _r.confirmPassword) ? {
76
+ : {}), (((_s = (_r = states.registrationFormState) === null || _r === void 0 ? void 0 : _r.validationErrors) === null || _s === void 0 ? void 0 : _s.confirmPassword) ? {
76
77
  class: sheet.classes.ErrorStyle,
77
- helpText: ((_t = (_s = states.registrationFormState) === null || _s === void 0 ? void 0 : _s.validationErrors) === null || _t === void 0 ? void 0 : _t.confirmPassword) || content.requiredFieldErrorMessage,
78
+ helpText: ((_u = (_t = states.registrationFormState) === null || _t === void 0 ? void 0 : _t.validationErrors) === null || _u === void 0 ? void 0 : _u.confirmPassword) || content.requiredFieldErrorMessage,
78
79
  }
79
80
  : [])))),
80
81
  content.terms,
81
82
  index.h("div", { class: sheet.classes.ButtonsContainer },
82
- index.h("sl-button", { submit: true, loading: states.loading, disabled: (_u = states.registrationFormState) === null || _u === void 0 ? void 0 : _u.disabled, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
83
+ index.h("sl-button", { submit: true, loading: states.loading, disabled: (_v = states.registrationFormState) === null || _v === void 0 ? void 0 : _v.disabled, exportparts: "base: primarybutton-base", type: "primary" }, content.submitLabel || "Register"),
83
84
  content.secondaryButton))));
84
85
  }
85
86
 
@@ -4,16 +4,16 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
- const index_module = require('./index.module-57703088.js');
7
+ const index_module = require('./index.module-ee84433d.js');
8
8
  require('./jsonpointer-11327262.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  require('./JSS-8503a151.js');
11
11
  require('./mixins-f7e0377a.js');
12
12
  require('./sqm-text-span-view-0aa82125.js');
13
- require('./useRegistrationFormState-986b5ea1.js');
14
- const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-e947a5b3.js');
13
+ require('./useRegistrationFormState-7b820f0c.js');
14
+ const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-ebf355a6.js');
15
15
  require('./AsYouType-6788393a.js');
16
- const usePortalRegistrationForm = require('./usePortalRegistrationForm-a89d736e.js');
16
+ const usePortalRegistrationForm = require('./usePortalRegistrationForm-f25d89e7.js');
17
17
 
18
18
  const PortalRegistrationForm = class {
19
19
  constructor(hostRef) {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
- const index_module = require('./index.module-57703088.js');
7
+ const index_module = require('./index.module-ee84433d.js');
8
8
  const jsonpointer = require('./jsonpointer-11327262.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
- const index_module = require('./index.module-57703088.js');
7
+ const index_module = require('./index.module-ee84433d.js');
8
8
  const cjs = require('./cjs-1066ec21.js');
9
9
  const utils = require('./utils-6847bc06.js');
10
10
  require('./JSS-8503a151.js');
@@ -4,18 +4,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
- const global = require('./global-19fc8a7a.js');
8
- const index_module = require('./index.module-57703088.js');
7
+ const global = require('./global-e31dc4f5.js');
8
+ const index_module = require('./index.module-ee84433d.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
12
  require('./mixins-f7e0377a.js');
13
13
  const GenericTableView = require('./GenericTableView-a9f4ba75.js');
14
- const reRender = require('./re-render-35b016ed.js');
15
- const useChildElements = require('./useChildElements-854cd1e5.js');
14
+ const reRender = require('./re-render-b324deab.js');
15
+ const useChildElements = require('./useChildElements-1b35d945.js');
16
16
  const luxon = require('./luxon-2926d85f.js');
17
17
  const mockRewardData = require('./mockRewardData-272e22d6.js');
18
- const useReferralTable = require('./useReferralTable-283d2316.js');
18
+ const useReferralTable = require('./useReferralTable-7c3f9600.js');
19
19
  const sqmTextSpanView = require('./sqm-text-span-view-0aa82125.js');
20
20
 
21
21
  const mockReferralData = (count = 4) => {
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
- const index_module = require('./index.module-57703088.js');
7
+ const index_module = require('./index.module-ee84433d.js');
8
8
  require('./jsonpointer-11327262.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  require('./JSS-8503a151.js');
11
11
  require('./mixins-f7e0377a.js');
12
12
  const emailRegistrationView = require('./email-registration-view-55b378dc.js');
13
- require('./useRegistrationFormState-986b5ea1.js');
14
- const useInstantAccessRegistration = require('./useInstantAccessRegistration-daff8290.js');
13
+ require('./useRegistrationFormState-7b820f0c.js');
14
+ const useInstantAccessRegistration = require('./useInstantAccessRegistration-9a46c324.js');
15
15
 
16
16
  const ReferredRegistration = class {
17
17
  constructor(hostRef) {
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
- require('./index.module-57703088.js');
8
- const reRender = require('./re-render-35b016ed.js');
7
+ require('./index.module-ee84433d.js');
8
+ const reRender = require('./re-render-b324deab.js');
9
9
 
10
10
  const RewardTableCustomerNoteColumn = class {
11
11
  constructor(hostRef) {
@@ -4,18 +4,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-a29c60ef.js');
6
6
  const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
- const global = require('./global-19fc8a7a.js');
8
- const index_module = require('./index.module-57703088.js');
7
+ const global = require('./global-e31dc4f5.js');
8
+ const index_module = require('./index.module-ee84433d.js');
9
9
  const cjs = require('./cjs-1066ec21.js');
10
10
  const utils = require('./utils-6847bc06.js');
11
11
  const JSS = require('./JSS-8503a151.js');
12
12
  require('./mixins-f7e0377a.js');
13
13
  const GenericTableView = require('./GenericTableView-a9f4ba75.js');
14
- const reRender = require('./re-render-35b016ed.js');
15
- const useChildElements = require('./useChildElements-854cd1e5.js');
14
+ const reRender = require('./re-render-b324deab.js');
15
+ const useChildElements = require('./useChildElements-1b35d945.js');
16
16
  const luxon = require('./luxon-2926d85f.js');
17
17
  const mockRewardData = require('./mockRewardData-272e22d6.js');
18
- const useReferralTable = require('./useReferralTable-283d2316.js');
18
+ const useReferralTable = require('./useReferralTable-7c3f9600.js');
19
19
 
20
20
  const debug = stencilHooks_module.browser("sq:useRewardsTable");
21
21
  const CSS_NAMESPACE = "sqm-rewards-table";
@@ -0,0 +1,109 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-a29c60ef.js');
6
+ const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
7
+ const JSS = require('./JSS-8503a151.js');
8
+
9
+ const REVEAL_EVENT = "sq:reveal";
10
+ function useScroll(props) {
11
+ const { scrollTagName, scrollId } = props;
12
+ async function scroll() {
13
+ const element = document === null || document === void 0 ? void 0 : document.querySelector(scrollTagName || `#${scrollId}`);
14
+ element.dispatchEvent(new CustomEvent(REVEAL_EVENT, {
15
+ detail: scrollTagName || `#${scrollId}`,
16
+ bubbles: true,
17
+ composed: true,
18
+ }));
19
+ await new Promise((resolve) => setTimeout(resolve, 500));
20
+ element.scrollIntoView({ behavior: props.scrollAnimation });
21
+ }
22
+ return {
23
+ callbacks: { scroll },
24
+ };
25
+ }
26
+
27
+ const Scroll = class {
28
+ constructor(hostRef) {
29
+ index.registerInstance(this, hostRef);
30
+ this.ignored = true;
31
+ /**
32
+ * @uiName Button type
33
+ * @uiType string
34
+ * @uiEnum ["default", "primary", "success", "neutral", "warning", "danger", "text"]
35
+ * @uiEnumNames ["Default", "Primary", "Success", "Neutral", "Warning", "Danger", "Text"]
36
+
37
+ */
38
+ this.buttonType = "default";
39
+ /**
40
+ * @uiName Scroll animation style
41
+ * @uiType string
42
+ * @uiEnum ["smooth", "auto"]
43
+ * @uiEnumNames ["Smooth", "Auto"]
44
+ */
45
+ this.scrollAnimation = "smooth";
46
+ stencilHooks_module.h$1(this);
47
+ }
48
+ disconnectedCallback() { }
49
+ render() {
50
+ var _a;
51
+ const { callbacks } = useScroll(this);
52
+ const outlineColor = (_a = this.buttonType) !== null && _a !== void 0 ? _a : "primary";
53
+ const style = {
54
+ Button: {
55
+ "& .outline": {
56
+ "&::part(base)": {
57
+ color: "var(--sl-color-" + outlineColor + "-500)",
58
+ borderColor: "var(--sl-color-" + outlineColor + "-500)",
59
+ backgroundColor: "transparent",
60
+ "&:hover": {
61
+ color: "var(--sl-color-primary-text)",
62
+ backgroundColor: "var(--sl-color-" + outlineColor + "-500)",
63
+ },
64
+ },
65
+ },
66
+ "& .neutral": {
67
+ "&::part(base)": {
68
+ color: "var(--sl-color-primary-text)",
69
+ background: "var(--sl-color-neutral-500)",
70
+ "&:hover": {
71
+ opacity: "0.8",
72
+ },
73
+ },
74
+ },
75
+ "& .mobile": {
76
+ "@media (max-width: 499px)": {
77
+ width: "100%",
78
+ },
79
+ },
80
+ },
81
+ };
82
+ const sheet = JSS.createStyleSheet(style);
83
+ const styleString = sheet.toString();
84
+ const vanillaStyle = `
85
+ :host{
86
+ display: contents;
87
+ }
88
+ ${this.mobile &&
89
+ `
90
+ @media only screen and (max-width: 499px) {
91
+ :host {
92
+ display: block;
93
+ width: 100%;
94
+ }
95
+ }
96
+ `}
97
+ `;
98
+ let classStack = "";
99
+ if (this.outline && this.buttonType != "default")
100
+ classStack += "outline ";
101
+ if (this.buttonType === "neutral")
102
+ classStack += "neutral ";
103
+ if (this.mobile)
104
+ classStack += "mobile ";
105
+ return (index.h("div", { class: sheet.classes.Button }, index.h("style", { type: "text/css" }, vanillaStyle, styleString), index.h("sl-button", { type: this.buttonType, onClick: callbacks.scroll, size: this.size, pill: this.pill, circle: this.circle, class: classStack }, (this.iconSlot || this.iconName) && (index.h("sl-icon", { slot: this.iconSlot || "prefix", name: this.iconName })), this.buttonText, index.h("slot", null))));
106
+ }
107
+ };
108
+
109
+ exports.sqm_scroll = Scroll;