@saasquatch/mint-components 2.0.5-2 → 2.0.5-3

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 (562) hide show
  1. package/dist/cjs/{ErrorView-ee7b0f36.js → ErrorView-3f91e5ab.js} +1 -1
  2. package/dist/cjs/{GenericTableView-be5648e4.js → GenericTableView-a9845e80.js} +1 -1
  3. package/dist/cjs/{ShadowViewAddon-5a9d4a55.js → ShadowViewAddon-ae3a32c3.js} +221 -102
  4. package/dist/cjs/{copy-text-view-bb2c0ea7.js → copy-text-view-322436c2.js} +1 -1
  5. package/dist/cjs/data-24028727.js +248 -0
  6. package/dist/cjs/{dom-context-hooks.module-e7b6727c.js → dom-context-hooks.module-7fa676ae.js} +1 -1
  7. package/dist/cjs/{email-registration-view-306c8878.js → email-registration-view-ace50780.js} +1 -1
  8. package/dist/cjs/{global-d90f3195.js → global-e862bfd4.js} +3178 -3127
  9. package/dist/cjs/{index-8277cbb3.js → index-a43a63b4.js} +1 -1
  10. package/dist/cjs/{index.module-f267fad6.js → index.module-4f54e412.js} +154 -147
  11. package/dist/cjs/loader.cjs.js +5 -5
  12. package/dist/cjs/{luxon-c1ad356a.js → luxon-949beaf2.js} +1 -1
  13. package/dist/cjs/mint-components.cjs.js +5 -5
  14. package/dist/cjs/{mockRewardData-ed603fca.js → mockRewardData-df37c8a3.js} +1 -1
  15. package/dist/cjs/raisins-plop-target.cjs.entry.js +1 -1
  16. package/dist/cjs/{re-render-f59ad8a9.js → re-render-d516138a.js} +2 -2
  17. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +351 -1500
  18. package/dist/cjs/{sqm-base-registration-form-view-992c7f18.js → sqm-base-registration-form-view-69a4b615.js} +2 -2
  19. package/dist/cjs/{sqm-big-stat_44.cjs.entry.js → sqm-big-stat_47.cjs.entry.js} +782 -34
  20. package/dist/cjs/{sqm-close-button-view-e9f2a454.js → sqm-close-button-view-5e85ac51.js} +1 -1
  21. package/dist/cjs/sqm-close-button.cjs.entry.js +4 -4
  22. package/dist/cjs/sqm-code-verification.cjs.entry.js +6 -6
  23. package/dist/cjs/sqm-context-router.cjs.entry.js +3 -3
  24. package/dist/cjs/sqm-email-verification.cjs.entry.js +6 -6
  25. package/dist/cjs/sqm-empty_4.cjs.entry.js +5 -5
  26. package/dist/cjs/sqm-form-message.cjs.entry.js +2 -2
  27. package/dist/cjs/sqm-google-sign-in.cjs.entry.js +3 -3
  28. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +3 -3
  29. package/dist/cjs/sqm-header-logo.cjs.entry.js +17 -4
  30. package/dist/cjs/sqm-instant-access-registration.cjs.entry.js +6 -6
  31. package/dist/cjs/sqm-invoice-table-data-cell_5.cjs.entry.js +3 -3
  32. package/dist/cjs/{sqm-lead-checkbox-field-view-f4c57a50.js → sqm-lead-checkbox-field-view-dca40eb4.js} +2 -2
  33. package/dist/cjs/sqm-lead-checkbox-field.cjs.entry.js +6 -6
  34. package/dist/cjs/{sqm-lead-input-field-view-b6d70217.js → sqm-lead-input-field-view-2006001f.js} +2 -2
  35. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +6 -6
  36. package/dist/cjs/{sqm-leaderboard-rank-view-67fd7934.js → sqm-leaderboard-rank-view-6a1e63de.js} +1 -1
  37. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +5 -5
  38. package/dist/cjs/{sqm-logout-current-user-view-f330d641.js → sqm-logout-current-user-view-b61c8bdf.js} +1 -1
  39. package/dist/cjs/sqm-logout-current-user.cjs.entry.js +4 -4
  40. package/dist/cjs/{sqm-navigation-sidebar-item-view-41edbbc4.js → sqm-navigation-sidebar-item-view-4e88f774.js} +2 -2
  41. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +4 -4
  42. package/dist/cjs/{sqm-navigation-sidebar-view-6616e3e0.js → sqm-navigation-sidebar-view-de90ef03.js} +1 -1
  43. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +4 -4
  44. package/dist/cjs/sqm-pagination_3.cjs.entry.js +6 -6
  45. package/dist/cjs/sqm-password-field.cjs.entry.js +4 -4
  46. package/dist/cjs/sqm-popup-container.cjs.entry.js +3 -3
  47. package/dist/cjs/{sqm-portal-container-view-70a47420.js → sqm-portal-container-view-07e4343f.js} +6 -7
  48. package/dist/cjs/{sqm-portal-email-verification-view-9f1b4ba4.js → sqm-portal-email-verification-view-1745d9a2.js} +3 -3
  49. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +6 -6
  50. package/dist/cjs/sqm-portal-google-login.cjs.entry.js +130 -0
  51. package/dist/cjs/sqm-portal-google-registration-form.cjs.entry.js +8 -8
  52. package/dist/cjs/sqm-portal-login-view-bb50304c.js +58 -0
  53. package/dist/cjs/sqm-portal-logout.cjs.entry.js +3 -3
  54. package/dist/cjs/{sqm-portal-profile-view-7defab25.js → sqm-portal-profile-view-5c5e29b1.js} +3 -3
  55. package/dist/cjs/sqm-portal-profile.cjs.entry.js +7 -7
  56. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +3 -3
  57. package/dist/cjs/{sqm-portal-registration-form-view-020f661c.js → sqm-portal-registration-form-view-5a96c2f5.js} +2 -2
  58. package/dist/cjs/sqm-portal-registration-form.cjs.entry.js +194 -0
  59. package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.js → sqm-portal-reset-password-view-25eb2099.js} +2 -2
  60. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +5 -5
  61. package/dist/cjs/sqm-portal-verify-email-view-1c4e781f.js +49 -0
  62. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +171 -0
  63. package/dist/cjs/{sqm-qr-code-view-b388e408.js → sqm-qr-code-view-4ccf89da.js} +2 -2
  64. package/dist/cjs/sqm-qr-code.cjs.entry.js +6 -6
  65. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +11 -11
  66. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +3 -3
  67. package/dist/cjs/sqm-rewards-table-customer-note-column.cjs.entry.js +4 -4
  68. package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +10 -10
  69. package/dist/cjs/sqm-route.cjs.entry.js +1 -1
  70. package/dist/cjs/sqm-scroll.cjs.entry.js +2 -2
  71. package/dist/cjs/sqm-stencilbook.cjs.entry.js +451 -82
  72. package/dist/cjs/sqm-tab.cjs.entry.js +4 -4
  73. package/dist/cjs/sqm-tabs.cjs.entry.js +5 -5
  74. package/dist/cjs/{sqm-text-span-view-f274fdf2.js → sqm-text-span-view-7a61ae4c.js} +1 -1
  75. package/dist/cjs/sqm-text-span.cjs.entry.js +3 -3
  76. package/dist/cjs/sqm-user-info-form-view-c14ba407.js +2074 -0
  77. package/dist/cjs/sqm-widget-verification-controller.cjs.entry.js +3 -3
  78. package/dist/cjs/sqm-widget-verification.cjs.entry.js +3 -3
  79. package/dist/cjs/{useChildElements-84b623d1.js → useChildElements-966c9041.js} +2 -2
  80. package/dist/cjs/{useInstantAccessRegistration-dbe420fb.js → useInstantAccessRegistration-08bcb487.js} +3 -3
  81. package/dist/cjs/{useLeadFormState-1895ef0d.js → useLeadFormState-91999606.js} +4 -4
  82. package/dist/cjs/{data-6a389e7b.js → usePayoutStatus-98f2ca76.js} +31 -146
  83. package/dist/cjs/usePortalLogin-1c022d8d.js +74 -0
  84. package/dist/cjs/{usePortalRegistrationForm-a0a45299.js → usePortalRegistrationForm-75b647fe.js} +3 -3
  85. package/dist/cjs/{useReferralCodes-03024ff4.js → useReferralCodes-11cdf43b.js} +2 -2
  86. package/dist/cjs/{useReferralTable-207b4ff0.js → useReferralTable-90d4d6e9.js} +5 -5
  87. package/dist/cjs/{useRegistrationFormState-0f85c946.js → useRegistrationFormState-bbee6e7b.js} +2 -2
  88. package/dist/cjs/{useVerificationEmail-c2acd737.js → useVerificationEmail-9dd3997a.js} +2 -2
  89. package/dist/cjs/{utilities-3577b60d.js → utilities-9a0c5e91.js} +2 -2
  90. package/dist/collection/collection-manifest.json +0 -10
  91. package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +85 -5
  92. package/dist/collection/components/sqm-navigation-menu/useNavigationMenu.js +2 -1
  93. package/dist/collection/components/sqm-password-field/sqm-password-field.js +2 -3
  94. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +6 -7
  95. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +3 -3
  96. package/dist/collection/components/sqm-portal-protected-route/usePortalProtectedRoute.js +1 -1
  97. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +1 -1
  98. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
  99. package/dist/collection/components/tax-and-cash/TaxForm.stories.js +5 -0
  100. package/dist/collection/components/tax-and-cash/sqm-banking-info-form/useBankingInfoForm.js +10 -5
  101. package/dist/collection/components/tax-and-cash/sqm-docusign-form/useDocusignForm.js +11 -5
  102. package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.js +46 -40
  103. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.js +13 -0
  104. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.js +95 -1
  105. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +360 -7
  106. package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.js +29 -2
  107. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +311 -11
  108. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +96 -1
  109. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +310 -10
  110. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard.js +7 -1
  111. package/dist/collection/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.js +325 -0
  112. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +21 -12
  113. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form.js +1 -1
  114. package/dist/collection/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.js +101 -9
  115. package/dist/esm/{ErrorView-74cb3af8.js → ErrorView-bbf0a042.js} +1 -1
  116. package/dist/esm/{GenericTableView-8c72ac30.js → GenericTableView-e43d310f.js} +1 -1
  117. package/dist/esm/{ShadowViewAddon-2b061a3a.js → ShadowViewAddon-78a1c35c.js} +221 -104
  118. package/dist/esm/{copy-text-view-87259b11.js → copy-text-view-fac47254.js} +1 -1
  119. package/dist/esm/data-a581119a.js +225 -0
  120. package/dist/esm/{dom-context-hooks.module-50442785.js → dom-context-hooks.module-63370afd.js} +1 -1
  121. package/dist/esm/{email-registration-view-4cdb4129.js → email-registration-view-1f587f8b.js} +1 -1
  122. package/dist/esm/{global-fc653a2a.js → global-58a69018.js} +3178 -3127
  123. package/dist/esm/{index-38ad4957.js → index-b3a06de8.js} +1 -1
  124. package/dist/esm/{index.module-849b7d56.js → index.module-c9811a48.js} +153 -148
  125. package/dist/esm/loader.js +5 -5
  126. package/dist/esm/{luxon-1be92a8e.js → luxon-bbf75a9d.js} +1 -1
  127. package/dist/esm/mint-components.js +5 -5
  128. package/dist/esm/{mockRewardData-9b27d6f1.js → mockRewardData-96a2d26d.js} +1 -1
  129. package/dist/esm/raisins-plop-target.entry.js +1 -1
  130. package/dist/esm/{re-render-2a5345de.js → re-render-7e22fb0d.js} +2 -2
  131. package/dist/esm/sqm-banking-info-form_10.entry.js +328 -1477
  132. package/dist/esm/{sqm-base-registration-form-view-ee556e5f.js → sqm-base-registration-form-view-9e97d8b4.js} +2 -2
  133. package/dist/esm/{sqm-big-stat_44.entry.js → sqm-big-stat_47.entry.js} +777 -32
  134. package/dist/esm/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-2fa57229.js} +1 -1
  135. package/dist/esm/sqm-close-button.entry.js +4 -4
  136. package/dist/esm/sqm-code-verification.entry.js +6 -6
  137. package/dist/esm/sqm-context-router.entry.js +3 -3
  138. package/dist/esm/sqm-email-verification.entry.js +6 -6
  139. package/dist/esm/sqm-empty_4.entry.js +5 -5
  140. package/dist/esm/sqm-form-message.entry.js +2 -2
  141. package/dist/esm/sqm-google-sign-in.entry.js +3 -3
  142. package/dist/esm/sqm-graphql-client-provider.entry.js +3 -3
  143. package/dist/esm/sqm-header-logo.entry.js +17 -4
  144. package/dist/esm/sqm-instant-access-registration.entry.js +6 -6
  145. package/dist/esm/sqm-invoice-table-data-cell_5.entry.js +3 -3
  146. package/dist/esm/{sqm-lead-checkbox-field-view-3d012143.js → sqm-lead-checkbox-field-view-81541e40.js} +2 -2
  147. package/dist/esm/sqm-lead-checkbox-field.entry.js +6 -6
  148. package/dist/esm/{sqm-lead-input-field-view-0199ee1e.js → sqm-lead-input-field-view-d543d939.js} +2 -2
  149. package/dist/esm/sqm-lead-input-field.entry.js +6 -6
  150. package/dist/esm/{sqm-leaderboard-rank-view-7a682cc3.js → sqm-leaderboard-rank-view-18baae5b.js} +1 -1
  151. package/dist/esm/sqm-leaderboard-rank.entry.js +5 -5
  152. package/dist/esm/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
  153. package/dist/esm/sqm-logout-current-user.entry.js +4 -4
  154. package/dist/esm/{sqm-navigation-sidebar-item-view-5283300c.js → sqm-navigation-sidebar-item-view-5a452423.js} +2 -2
  155. package/dist/esm/sqm-navigation-sidebar-item.entry.js +4 -4
  156. package/dist/esm/{sqm-navigation-sidebar-view-2b66457a.js → sqm-navigation-sidebar-view-0a2ec560.js} +1 -1
  157. package/dist/esm/sqm-navigation-sidebar.entry.js +4 -4
  158. package/dist/esm/sqm-pagination_3.entry.js +6 -6
  159. package/dist/esm/sqm-password-field.entry.js +4 -4
  160. package/dist/esm/sqm-popup-container.entry.js +3 -3
  161. package/dist/esm/{sqm-portal-container-view-a8c708cd.js → sqm-portal-container-view-176e92e3.js} +6 -7
  162. package/dist/esm/{sqm-portal-email-verification-view-03707cd9.js → sqm-portal-email-verification-view-5fb1a99e.js} +3 -3
  163. package/dist/esm/sqm-portal-email-verification.entry.js +6 -6
  164. package/dist/esm/sqm-portal-google-login.entry.js +126 -0
  165. package/dist/esm/sqm-portal-google-registration-form.entry.js +8 -8
  166. package/dist/esm/sqm-portal-login-view-7670cd86.js +56 -0
  167. package/dist/esm/sqm-portal-logout.entry.js +3 -3
  168. package/dist/esm/{sqm-portal-profile-view-cbef4855.js → sqm-portal-profile-view-e3aef106.js} +3 -3
  169. package/dist/esm/sqm-portal-profile.entry.js +7 -7
  170. package/dist/esm/sqm-portal-protected-route.entry.js +3 -3
  171. package/dist/esm/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-8bdc3804.js} +2 -2
  172. package/dist/esm/sqm-portal-registration-form.entry.js +190 -0
  173. package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-abef7286.js} +2 -2
  174. package/dist/esm/sqm-portal-reset-password.entry.js +5 -5
  175. package/dist/esm/sqm-portal-verify-email-view-33805220.js +47 -0
  176. package/dist/esm/sqm-portal-verify-email.entry.js +167 -0
  177. package/dist/esm/{sqm-qr-code-view-0e88b4bd.js → sqm-qr-code-view-ea505213.js} +2 -2
  178. package/dist/esm/sqm-qr-code.entry.js +6 -6
  179. package/dist/esm/sqm-referral-table_11.entry.js +11 -11
  180. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +3 -3
  181. package/dist/esm/sqm-rewards-table-customer-note-column.entry.js +4 -4
  182. package/dist/esm/sqm-rewards-table_9.entry.js +10 -10
  183. package/dist/esm/sqm-route.entry.js +1 -1
  184. package/dist/esm/sqm-scroll.entry.js +2 -2
  185. package/dist/esm/sqm-stencilbook.entry.js +402 -33
  186. package/dist/esm/sqm-tab.entry.js +4 -4
  187. package/dist/esm/sqm-tabs.entry.js +5 -5
  188. package/dist/esm/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-4c17b8c9.js} +1 -1
  189. package/dist/esm/sqm-text-span.entry.js +3 -3
  190. package/dist/esm/sqm-user-info-form-view-9a3048d9.js +2066 -0
  191. package/dist/esm/sqm-widget-verification-controller.entry.js +3 -3
  192. package/dist/esm/sqm-widget-verification.entry.js +3 -3
  193. package/dist/esm/{useChildElements-14eb2cd7.js → useChildElements-3d872cef.js} +2 -2
  194. package/dist/esm/{useInstantAccessRegistration-6685ce53.js → useInstantAccessRegistration-dda1f52b.js} +3 -3
  195. package/dist/esm/{useLeadFormState-0d1c899e.js → useLeadFormState-8d4b2620.js} +4 -4
  196. package/dist/esm/{data-4390ef62.js → usePayoutStatus-7404eb9d.js} +32 -132
  197. package/dist/esm/usePortalLogin-f95bbc67.js +72 -0
  198. package/dist/esm/{usePortalRegistrationForm-65765105.js → usePortalRegistrationForm-1eb3cd72.js} +3 -3
  199. package/dist/esm/{useReferralCodes-f87eea47.js → useReferralCodes-c2e809cf.js} +2 -2
  200. package/dist/esm/{useReferralTable-bcf191be.js → useReferralTable-909ccb28.js} +5 -5
  201. package/dist/esm/{useRegistrationFormState-f149c3ba.js → useRegistrationFormState-24d594ea.js} +2 -2
  202. package/dist/esm/{useVerificationEmail-ca464d15.js → useVerificationEmail-55e0e98f.js} +2 -2
  203. package/dist/esm/{utilities-8dba1079.js → utilities-72c07b09.js} +2 -2
  204. package/dist/esm-es5/{ErrorView-74cb3af8.js → ErrorView-bbf0a042.js} +1 -1
  205. package/dist/esm-es5/{GenericTableView-8c72ac30.js → GenericTableView-e43d310f.js} +1 -1
  206. package/dist/esm-es5/ShadowViewAddon-78a1c35c.js +1 -0
  207. package/dist/esm-es5/{copy-text-view-87259b11.js → copy-text-view-fac47254.js} +1 -1
  208. package/dist/esm-es5/data-a581119a.js +1 -0
  209. package/dist/esm-es5/{dom-context-hooks.module-50442785.js → dom-context-hooks.module-63370afd.js} +1 -1
  210. package/dist/esm-es5/{email-registration-view-4cdb4129.js → email-registration-view-1f587f8b.js} +1 -1
  211. package/dist/esm-es5/global-58a69018.js +285 -0
  212. package/dist/esm-es5/index-b3a06de8.js +1 -0
  213. package/dist/esm-es5/index.module-c9811a48.js +1 -0
  214. package/dist/esm-es5/loader.js +1 -1
  215. package/dist/esm-es5/{luxon-1be92a8e.js → luxon-bbf75a9d.js} +1 -1
  216. package/dist/esm-es5/mint-components.js +1 -1
  217. package/dist/esm-es5/{mockRewardData-9b27d6f1.js → mockRewardData-96a2d26d.js} +1 -1
  218. package/dist/esm-es5/raisins-plop-target.entry.js +1 -1
  219. package/dist/esm-es5/{re-render-2a5345de.js → re-render-7e22fb0d.js} +1 -1
  220. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  221. package/dist/esm-es5/{sqm-base-registration-form-view-ee556e5f.js → sqm-base-registration-form-view-9e97d8b4.js} +1 -1
  222. package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -0
  223. package/dist/esm-es5/{sqm-close-button-view-fd9012e7.js → sqm-close-button-view-2fa57229.js} +1 -1
  224. package/dist/esm-es5/sqm-close-button.entry.js +1 -1
  225. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  226. package/dist/esm-es5/sqm-context-router.entry.js +1 -1
  227. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  228. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  229. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  230. package/dist/esm-es5/sqm-google-sign-in.entry.js +1 -1
  231. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -1
  232. package/dist/esm-es5/sqm-header-logo.entry.js +1 -1
  233. package/dist/esm-es5/sqm-instant-access-registration.entry.js +1 -1
  234. package/dist/esm-es5/sqm-invoice-table-data-cell_5.entry.js +1 -1
  235. package/dist/esm-es5/{sqm-lead-checkbox-field-view-3d012143.js → sqm-lead-checkbox-field-view-81541e40.js} +1 -1
  236. package/dist/esm-es5/sqm-lead-checkbox-field.entry.js +1 -1
  237. package/dist/esm-es5/{sqm-lead-input-field-view-0199ee1e.js → sqm-lead-input-field-view-d543d939.js} +1 -1
  238. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  239. package/dist/esm-es5/sqm-leaderboard-rank-view-18baae5b.js +1 -0
  240. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
  241. package/dist/esm-es5/{sqm-logout-current-user-view-376c1bf6.js → sqm-logout-current-user-view-f21e54e3.js} +1 -1
  242. package/dist/esm-es5/sqm-logout-current-user.entry.js +1 -1
  243. package/dist/esm-es5/{sqm-navigation-sidebar-item-view-5283300c.js → sqm-navigation-sidebar-item-view-5a452423.js} +1 -1
  244. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -1
  245. package/dist/esm-es5/{sqm-navigation-sidebar-view-2b66457a.js → sqm-navigation-sidebar-view-0a2ec560.js} +1 -1
  246. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -1
  247. package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
  248. package/dist/esm-es5/sqm-password-field.entry.js +1 -1
  249. package/dist/esm-es5/sqm-popup-container.entry.js +1 -1
  250. package/dist/esm-es5/sqm-portal-container-view-176e92e3.js +1 -0
  251. package/dist/esm-es5/{sqm-portal-email-verification-view-03707cd9.js → sqm-portal-email-verification-view-5fb1a99e.js} +1 -1
  252. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  253. package/dist/esm-es5/sqm-portal-google-login.entry.js +1 -0
  254. package/dist/esm-es5/sqm-portal-google-registration-form.entry.js +1 -1
  255. package/dist/esm-es5/sqm-portal-login-view-7670cd86.js +1 -0
  256. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -1
  257. package/dist/esm-es5/{sqm-portal-profile-view-cbef4855.js → sqm-portal-profile-view-e3aef106.js} +1 -1
  258. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  259. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -1
  260. package/dist/esm-es5/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-8bdc3804.js} +1 -1
  261. package/dist/esm-es5/sqm-portal-registration-form.entry.js +1 -0
  262. package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-abef7286.js} +1 -1
  263. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  264. package/dist/esm-es5/sqm-portal-verify-email-view-33805220.js +1 -0
  265. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -0
  266. package/dist/esm-es5/{sqm-qr-code-view-0e88b4bd.js → sqm-qr-code-view-ea505213.js} +1 -1
  267. package/dist/esm-es5/sqm-qr-code.entry.js +1 -1
  268. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  269. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  270. package/dist/esm-es5/sqm-rewards-table-customer-note-column.entry.js +1 -1
  271. package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
  272. package/dist/esm-es5/sqm-route.entry.js +1 -1
  273. package/dist/esm-es5/sqm-scroll.entry.js +1 -1
  274. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  275. package/dist/esm-es5/sqm-tab.entry.js +1 -1
  276. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  277. package/dist/esm-es5/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-4c17b8c9.js} +1 -1
  278. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  279. package/dist/esm-es5/sqm-user-info-form-view-9a3048d9.js +1 -0
  280. package/dist/esm-es5/sqm-widget-verification-controller.entry.js +1 -1
  281. package/dist/esm-es5/sqm-widget-verification.entry.js +1 -1
  282. package/dist/esm-es5/{useChildElements-14eb2cd7.js → useChildElements-3d872cef.js} +1 -1
  283. package/dist/esm-es5/{useInstantAccessRegistration-6685ce53.js → useInstantAccessRegistration-dda1f52b.js} +1 -1
  284. package/dist/esm-es5/{useLeadFormState-0d1c899e.js → useLeadFormState-8d4b2620.js} +1 -1
  285. package/dist/esm-es5/{data-4390ef62.js → usePayoutStatus-7404eb9d.js} +2 -2
  286. package/dist/esm-es5/usePortalLogin-f95bbc67.js +1 -0
  287. package/dist/esm-es5/{usePortalRegistrationForm-65765105.js → usePortalRegistrationForm-1eb3cd72.js} +1 -1
  288. package/dist/esm-es5/{useReferralCodes-f87eea47.js → useReferralCodes-c2e809cf.js} +1 -1
  289. package/dist/esm-es5/{useReferralTable-bcf191be.js → useReferralTable-909ccb28.js} +1 -1
  290. package/dist/esm-es5/{useRegistrationFormState-f149c3ba.js → useRegistrationFormState-24d594ea.js} +1 -1
  291. package/dist/esm-es5/{useVerificationEmail-ca464d15.js → useVerificationEmail-55e0e98f.js} +1 -1
  292. package/dist/esm-es5/{utilities-8dba1079.js → utilities-72c07b09.js} +1 -1
  293. package/dist/mint-components/mint-components.esm.js +1 -1
  294. package/dist/mint-components/mint-components.js +1 -1
  295. package/dist/mint-components/{p-1a3a57c0.js → p-00791abc.js} +1 -1
  296. package/dist/mint-components/{p-2076f887.system.js → p-0087ad39.system.js} +1 -1
  297. package/dist/mint-components/{p-ab927359.system.entry.js → p-011c0990.system.entry.js} +1 -1
  298. package/dist/mint-components/{p-b4a8a34b.js → p-027c0b10.js} +152 -152
  299. package/dist/mint-components/{p-56ca7e3c.js → p-07dc6d68.js} +1 -1
  300. package/dist/mint-components/{p-2786819c.js → p-08700497.js} +1 -1
  301. package/dist/mint-components/p-088f082f.js +1 -0
  302. package/dist/mint-components/{p-d5eb601d.system.js → p-0935f9b7.system.js} +1 -1
  303. package/dist/mint-components/{p-c4151e26.system.entry.js → p-0b9b1b36.system.entry.js} +1 -1
  304. package/dist/mint-components/{p-118e4a22.system.entry.js → p-0c024cf0.system.entry.js} +1 -1
  305. package/dist/mint-components/p-0d71303d.js +1 -0
  306. package/dist/mint-components/p-0e532b53.entry.js +1 -0
  307. package/dist/mint-components/p-0ec54f97.js +1 -0
  308. package/dist/mint-components/{p-494497c2.system.js → p-1215518e.system.js} +1 -1
  309. package/dist/mint-components/p-125a894f.js +1 -0
  310. package/dist/mint-components/{p-39599251.entry.js → p-12e6cea7.entry.js} +2 -2
  311. package/dist/mint-components/{p-f45e076d.system.js → p-1363c4ab.system.js} +1 -1
  312. package/dist/mint-components/{p-18133026.system.entry.js → p-14128c84.system.entry.js} +1 -1
  313. package/dist/mint-components/p-171310d9.system.js +1 -0
  314. package/dist/mint-components/{p-2851c89b.system.js → p-17a0f310.system.js} +1 -1
  315. package/dist/mint-components/{p-ae867ea6.js → p-1aa9136c.js} +1 -1
  316. package/dist/mint-components/p-1b79b186.entry.js +11 -0
  317. package/dist/mint-components/p-1cd0e1e9.system.js +1 -0
  318. package/dist/mint-components/{p-cabf6326.js → p-204861a6.js} +1 -1
  319. package/dist/mint-components/p-20c40fdf.system.js +1 -0
  320. package/dist/mint-components/{p-d267f4bb.system.js → p-2403c6e1.system.js} +1 -1
  321. package/dist/mint-components/p-240bec23.js +1 -0
  322. package/dist/mint-components/{p-bbdbefce.system.entry.js → p-26a7051d.system.entry.js} +1 -1
  323. package/dist/mint-components/{p-07f47f18.system.entry.js → p-2700136f.system.entry.js} +1 -1
  324. package/dist/mint-components/p-28e23d75.system.entry.js +1 -0
  325. package/dist/mint-components/{p-8a85f8f5.entry.js → p-29398c98.entry.js} +1 -1
  326. package/dist/mint-components/p-29ba2eaa.entry.js +1 -0
  327. package/dist/mint-components/{p-73eaa31b.system.entry.js → p-2ea3eea9.system.entry.js} +1 -1
  328. package/dist/mint-components/{p-9046552e.entry.js → p-30278955.entry.js} +1 -1
  329. package/dist/mint-components/{p-3710c2e1.system.entry.js → p-36a1fa33.system.entry.js} +1 -1
  330. package/dist/mint-components/{p-c23f5630.entry.js → p-386ec00c.entry.js} +1 -1
  331. package/dist/mint-components/{p-505f91d6.entry.js → p-3b46fae5.entry.js} +2 -2
  332. package/dist/mint-components/p-3eba9036.js +1 -0
  333. package/dist/mint-components/p-40752a0f.entry.js +1 -0
  334. package/dist/mint-components/{p-eb123e88.system.entry.js → p-40c33b6a.system.entry.js} +1 -1
  335. package/dist/mint-components/{p-acaf505d.entry.js → p-4204a6e3.entry.js} +1 -1
  336. package/dist/mint-components/{p-573ea3fd.system.entry.js → p-42b62299.system.entry.js} +1 -1
  337. package/dist/mint-components/{p-a4290ba4.entry.js → p-43ad51bc.entry.js} +1 -1
  338. package/dist/mint-components/p-44fc6029.js +1 -0
  339. package/dist/mint-components/{p-11c127f5.js → p-460155de.js} +1 -1
  340. package/dist/mint-components/{p-2072706c.system.entry.js → p-478ad7c8.system.entry.js} +1 -1
  341. package/dist/mint-components/{p-ebfaa71d.js → p-49400aab.js} +2 -2
  342. package/dist/mint-components/{p-d1c64df4.system.js → p-4965dae4.system.js} +1 -1
  343. package/dist/mint-components/{p-d276468c.js → p-4a0a76a5.js} +1 -1
  344. package/dist/mint-components/p-4cc72a4e.system.js +285 -0
  345. package/dist/mint-components/{p-b6504987.system.js → p-4f5329a2.system.js} +1 -1
  346. package/dist/mint-components/{p-051908cf.js → p-513f5d80.js} +1 -1
  347. package/dist/mint-components/{p-eb0cb2a5.js → p-51a6a779.js} +1 -1
  348. package/dist/mint-components/{p-74141e43.system.js → p-537a3894.system.js} +1 -1
  349. package/dist/mint-components/{p-ff38a567.entry.js → p-58c79873.entry.js} +1 -1
  350. package/dist/mint-components/p-59b028db.system.js +1 -0
  351. package/dist/mint-components/p-5b7a896e.system.entry.js +1 -0
  352. package/dist/mint-components/p-5cb697b3.system.entry.js +1 -0
  353. package/dist/mint-components/p-5e145a54.system.entry.js +1 -0
  354. package/dist/mint-components/{p-7c74ad5c.system.js → p-5fbe6356.system.js} +1 -1
  355. package/dist/mint-components/{p-7010498f.js → p-5ff2da11.js} +1 -1
  356. package/dist/mint-components/{p-287a9c63.entry.js → p-6076dbaf.entry.js} +1 -1
  357. package/dist/mint-components/{p-ed74b25a.system.entry.js → p-60ec0961.system.entry.js} +1 -1
  358. package/dist/mint-components/p-621f3e30.entry.js +1 -0
  359. package/dist/mint-components/p-625ca62f.entry.js +1 -0
  360. package/dist/mint-components/{p-a7fc1e02.js → p-63e29387.js} +1 -1
  361. package/dist/mint-components/{p-3c46b4dd.system.js → p-64997b59.system.js} +1 -1
  362. package/dist/mint-components/p-6578ea31.system.js +1 -0
  363. package/dist/mint-components/{p-f1584abb.system.entry.js → p-674d9089.system.entry.js} +1 -1
  364. package/dist/mint-components/{p-7b909aa5.system.js → p-67ad2252.system.js} +1 -1
  365. package/dist/mint-components/{p-669d52c4.js → p-68043f30.js} +1 -1
  366. package/dist/mint-components/p-6a0ddee0.entry.js +1 -0
  367. package/dist/mint-components/p-6a5df328.js +46 -0
  368. package/dist/mint-components/{p-832579bf.system.js → p-6c82d60c.system.js} +1 -1
  369. package/dist/mint-components/{p-456ccda6.system.js → p-71271fbd.system.js} +1 -1
  370. package/dist/mint-components/{p-8452837a.system.js → p-7159c51c.system.js} +1 -1
  371. package/dist/mint-components/{p-3c27540c.js → p-71af93e3.js} +1 -1
  372. package/dist/mint-components/p-720f03e2.system.js +1 -0
  373. package/dist/mint-components/{p-23eb911d.system.entry.js → p-72b914b9.system.entry.js} +1 -1
  374. package/dist/mint-components/p-7468c79e.entry.js +273 -0
  375. package/dist/mint-components/{p-d57bdb68.entry.js → p-75b8fd75.entry.js} +1 -1
  376. package/dist/mint-components/{p-dffad4a8.entry.js → p-7602eb6a.entry.js} +1 -1
  377. package/dist/mint-components/{p-4320e2dc.system.entry.js → p-78c754de.system.entry.js} +1 -1
  378. package/dist/mint-components/p-79c0db17.system.entry.js +1 -0
  379. package/dist/mint-components/p-7b8d29bb.entry.js +1 -0
  380. package/dist/mint-components/p-7e323f2c.entry.js +1 -0
  381. package/dist/mint-components/p-7e550c3b.system.entry.js +1 -0
  382. package/dist/mint-components/{p-c1a8b5f4.system.js → p-80569911.system.js} +1 -1
  383. package/dist/mint-components/{p-c7b4e749.system.entry.js → p-829cb9ed.system.entry.js} +1 -1
  384. package/dist/mint-components/{p-0ec9eb9b.entry.js → p-85029918.entry.js} +1 -1
  385. package/dist/mint-components/{p-fc850132.system.js → p-8618e8f6.system.js} +1 -1
  386. package/dist/mint-components/{p-479202a9.system.js → p-867b2baf.system.js} +1 -1
  387. package/dist/mint-components/{p-fbcd2ae2.entry.js → p-8931d05e.entry.js} +2 -2
  388. package/dist/mint-components/{p-4308b18f.system.entry.js → p-8afb47c5.system.entry.js} +1 -1
  389. package/dist/mint-components/p-8caef004.js +1 -0
  390. package/dist/mint-components/{p-8a11659b.system.js → p-8d9fa981.system.js} +1 -1
  391. package/dist/mint-components/p-8de73da9.js +112 -0
  392. package/dist/mint-components/{p-45be99ae.system.js → p-8e28333b.system.js} +1 -1
  393. package/dist/mint-components/{p-7295c99c.entry.js → p-92a54b0c.entry.js} +1 -1
  394. package/dist/mint-components/p-947bacd1.system.js +1 -0
  395. package/dist/mint-components/{p-9652e637.system.entry.js → p-9491f5fb.system.entry.js} +1 -1
  396. package/dist/mint-components/p-9580aac3.js +1 -0
  397. package/dist/mint-components/{p-aeb00548.entry.js → p-95b6e903.entry.js} +1 -1
  398. package/dist/mint-components/p-976ee669.js +1 -0
  399. package/dist/mint-components/{p-39ad8f1b.js → p-97dc6863.js} +2 -2
  400. package/dist/mint-components/p-988f236f.js +1 -0
  401. package/dist/mint-components/p-9a172a0f.entry.js +106 -0
  402. package/dist/mint-components/{p-0fe8d9fc.system.entry.js → p-9ba07029.system.entry.js} +1 -1
  403. package/dist/mint-components/{p-e230562f.js → p-9c79ab08.js} +2 -2
  404. package/dist/mint-components/{p-de293f9f.system.entry.js → p-9d46f87f.system.entry.js} +1 -1
  405. package/dist/mint-components/p-9e297104.entry.js +1 -0
  406. package/dist/mint-components/p-9eba8408.js +1 -0
  407. package/dist/mint-components/{p-256763e8.entry.js → p-a32afaaa.entry.js} +1 -1
  408. package/dist/mint-components/{p-d0559e66.js → p-a45680fe.js} +1 -1
  409. package/dist/mint-components/p-a470e203.entry.js +13 -0
  410. package/dist/mint-components/{p-9ba932a9.entry.js → p-a4e8eb33.entry.js} +1 -1
  411. package/dist/mint-components/{p-044a76f1.js → p-a513c1a6.js} +1 -1
  412. package/dist/mint-components/p-a6f4fb03.system.js +1 -0
  413. package/dist/mint-components/p-a7e35f51.system.js +6 -0
  414. package/dist/mint-components/{p-a13d7d73.system.entry.js → p-a8c86cd8.system.entry.js} +1 -1
  415. package/dist/mint-components/{p-bf3e7bc8.js → p-a974c549.js} +1 -1
  416. package/dist/mint-components/{p-fb0ea0df.system.entry.js → p-ac86903a.system.entry.js} +1 -1
  417. package/dist/mint-components/{p-df728783.entry.js → p-ac9138fd.entry.js} +1 -1
  418. package/dist/mint-components/p-ad3ebf4d.entry.js +1 -0
  419. package/dist/mint-components/{p-f1cf660f.system.entry.js → p-af69ee79.system.entry.js} +1 -1
  420. package/dist/mint-components/{p-0bdf0a4b.entry.js → p-b00e8365.entry.js} +1 -1
  421. package/dist/mint-components/p-b3510ca0.system.entry.js +1 -0
  422. package/dist/mint-components/{p-dac20392.system.js → p-b6911812.system.js} +1 -1
  423. package/dist/mint-components/p-ba79655c.system.js +1 -0
  424. package/dist/mint-components/{p-9bea2329.system.js → p-bb5d153f.system.js} +1 -1
  425. package/dist/mint-components/{p-a81690ae.system.js → p-bcac83f0.system.js} +1 -1
  426. package/dist/mint-components/p-bd093069.system.entry.js +1 -0
  427. package/dist/mint-components/p-bdb6194c.entry.js +1 -0
  428. package/dist/mint-components/{p-e9b0160b.js → p-bf044217.js} +1 -1
  429. package/dist/mint-components/{p-ca3f598c.js → p-c30ad421.js} +1 -1
  430. package/dist/mint-components/{p-e31c7242.system.entry.js → p-c3dce602.system.entry.js} +1 -1
  431. package/dist/mint-components/{p-f59cf0a8.system.entry.js → p-c6e8086f.system.entry.js} +1 -1
  432. package/dist/mint-components/{p-083180bf.js → p-c7c11325.js} +1 -1
  433. package/dist/mint-components/p-c95a437e.entry.js +1 -0
  434. package/dist/mint-components/p-cc8ca3ff.system.entry.js +1 -0
  435. package/dist/mint-components/{p-97b8073f.system.js → p-ce81839d.system.js} +1 -1
  436. package/dist/mint-components/p-d08bcd88.entry.js +1 -0
  437. package/dist/mint-components/{p-dd28cd8c.system.js → p-d09d3b8f.system.js} +1 -1
  438. package/dist/mint-components/p-d399b343.system.entry.js +1 -0
  439. package/dist/mint-components/{p-a9f72689.system.entry.js → p-d69c0a32.system.entry.js} +1 -1
  440. package/dist/mint-components/{p-f32d8d19.entry.js → p-d88d8ffe.entry.js} +1 -1
  441. package/dist/mint-components/{p-e6c7c09c.entry.js → p-d9780ae9.entry.js} +1 -1
  442. package/dist/mint-components/{p-128dad3d.entry.js → p-dc5bca55.entry.js} +1 -1
  443. package/dist/mint-components/p-dcc50d90.entry.js +1 -0
  444. package/dist/mint-components/{p-e82ffaee.system.entry.js → p-deecffd0.system.entry.js} +1 -1
  445. package/dist/mint-components/p-e115d0a2.entry.js +9 -0
  446. package/dist/mint-components/{p-6890a3b2.entry.js → p-e1422b78.entry.js} +1 -1
  447. package/dist/mint-components/{p-5c3bb317.system.js → p-e174b704.system.js} +1 -1
  448. package/dist/mint-components/{p-7e04b813.entry.js → p-e19f0908.entry.js} +1 -1
  449. package/dist/mint-components/{p-c857676d.system.entry.js → p-e3b4e06a.system.entry.js} +1 -1
  450. package/dist/mint-components/p-e3ee8c37.system.js +1 -0
  451. package/dist/mint-components/{p-ca71dfff.system.entry.js → p-e8bda98a.system.entry.js} +1 -1
  452. package/dist/mint-components/{p-f89c6a57.system.js → p-eaeddfe2.system.js} +1 -1
  453. package/dist/mint-components/{p-aaf290ce.entry.js → p-ee3a7577.entry.js} +2 -2
  454. package/dist/mint-components/p-ee83de0e.js +448 -0
  455. package/dist/mint-components/{p-4d3c4cc5.system.entry.js → p-ee92a728.system.entry.js} +1 -1
  456. package/dist/mint-components/{p-b1eb2a6a.js → p-f1dc581f.js} +1 -1
  457. package/dist/mint-components/{p-58dbdf63.system.js → p-f1f6a13d.system.js} +1 -1
  458. package/dist/mint-components/{p-266e25fd.system.entry.js → p-f3613921.system.entry.js} +1 -1
  459. package/dist/mint-components/{p-8b9f6e1e.system.entry.js → p-f3c2074b.system.entry.js} +1 -1
  460. package/dist/mint-components/{p-cb225348.system.entry.js → p-f5256738.system.entry.js} +1 -1
  461. package/dist/mint-components/p-f5820d03.system.js +1 -0
  462. package/dist/mint-components/{p-5708d347.js → p-f5fff87e.js} +1 -1
  463. package/dist/mint-components/{p-c09ae087.system.js → p-f6baa0c9.system.js} +1 -1
  464. package/dist/mint-components/p-f6eae77c.js +1 -0
  465. package/dist/mint-components/{p-1aebfc0e.entry.js → p-f7e49c12.entry.js} +3 -3
  466. package/dist/mint-components/{p-88e16945.js → p-f9c7248e.js} +1 -1
  467. package/dist/mint-components/{p-b9f57e84.system.entry.js → p-fb2976fc.system.entry.js} +1 -1
  468. package/dist/mint-components/{p-2c70a817.system.entry.js → p-fcf8bdbc.system.entry.js} +1 -1
  469. package/dist/mint-components/{p-aaa0ed28.system.js → p-ff0e1564.system.js} +1 -1
  470. package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +17 -2
  471. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +11 -1
  472. package/dist/types/components/sqm-password-field/usePasswordField.d.ts +0 -11
  473. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password-view.d.ts +1 -1
  474. package/dist/types/components/tax-and-cash/data.d.ts +5 -4
  475. package/dist/types/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.d.ts +24 -0
  476. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/PayoutStatusAlert.stories.d.ts +7 -0
  477. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view.d.ts +16 -0
  478. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +57 -0
  479. package/dist/types/components/tax-and-cash/sqm-payout-status-alert/usePayoutStatus.d.ts +3 -1
  480. package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +48 -0
  481. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.d.ts +12 -0
  482. package/dist/types/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.d.ts +48 -0
  483. package/dist/types/components/tax-and-cash/sqm-user-info-form/UserInfoFormView.stories.d.ts +17 -0
  484. package/dist/types/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.d.ts +3 -0
  485. package/dist/types/components/tax-and-cash/sqm-user-info-form/useUserInfoForm.d.ts +2 -0
  486. package/dist/types/components.d.ts +338 -4
  487. package/docs/docs.docx +0 -0
  488. package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
  489. package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
  490. package/docs/raisins.json +1 -1
  491. package/grapesjs/grapesjs.js +1 -1
  492. package/package.json +2 -2
  493. package/dist/cjs/IndirectTaxDetailsView-d339f4a2.js +0 -660
  494. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +0 -1078
  495. package/dist/cjs/sqm-portal-verify-email-view-6fcde0e7.js +0 -220
  496. package/dist/cjs/utils-064a7c83.js +0 -105
  497. package/dist/esm/IndirectTaxDetailsView-4cf9514a.js +0 -653
  498. package/dist/esm/sqm-portal-forgot-password_6.entry.js +0 -1069
  499. package/dist/esm/sqm-portal-verify-email-view-e02a49b1.js +0 -215
  500. package/dist/esm/utils-3c8913e6.js +0 -97
  501. package/dist/esm-es5/IndirectTaxDetailsView-4cf9514a.js +0 -1
  502. package/dist/esm-es5/ShadowViewAddon-2b061a3a.js +0 -1
  503. package/dist/esm-es5/global-fc653a2a.js +0 -271
  504. package/dist/esm-es5/index-38ad4957.js +0 -1
  505. package/dist/esm-es5/index.module-849b7d56.js +0 -1
  506. package/dist/esm-es5/sqm-big-stat_44.entry.js +0 -1
  507. package/dist/esm-es5/sqm-leaderboard-rank-view-7a682cc3.js +0 -1
  508. package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
  509. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +0 -1
  510. package/dist/esm-es5/sqm-portal-verify-email-view-e02a49b1.js +0 -1
  511. package/dist/esm-es5/utils-3c8913e6.js +0 -1
  512. package/dist/mint-components/p-01eab918.js +0 -1
  513. package/dist/mint-components/p-071b49c1.entry.js +0 -11
  514. package/dist/mint-components/p-080fdd32.entry.js +0 -1
  515. package/dist/mint-components/p-128979ef.js +0 -1
  516. package/dist/mint-components/p-191fc062.entry.js +0 -273
  517. package/dist/mint-components/p-1b50850b.entry.js +0 -13
  518. package/dist/mint-components/p-2c9dc1ff.js +0 -1
  519. package/dist/mint-components/p-2fa1f10f.entry.js +0 -9
  520. package/dist/mint-components/p-301b5e90.js +0 -1
  521. package/dist/mint-components/p-382aa99f.entry.js +0 -1
  522. package/dist/mint-components/p-3c25bdb4.system.entry.js +0 -1
  523. package/dist/mint-components/p-3f00929b.entry.js +0 -99
  524. package/dist/mint-components/p-51428d05.system.js +0 -271
  525. package/dist/mint-components/p-53b079e9.system.entry.js +0 -1
  526. package/dist/mint-components/p-5b542964.entry.js +0 -1
  527. package/dist/mint-components/p-6306b75e.system.entry.js +0 -1
  528. package/dist/mint-components/p-641f968d.system.js +0 -1
  529. package/dist/mint-components/p-670b2ab4.system.js +0 -1
  530. package/dist/mint-components/p-6c3a1d86.js +0 -1
  531. package/dist/mint-components/p-7646a6a4.entry.js +0 -1
  532. package/dist/mint-components/p-7a5cabc8.system.entry.js +0 -1
  533. package/dist/mint-components/p-80569727.system.js +0 -1
  534. package/dist/mint-components/p-831af05f.js +0 -157
  535. package/dist/mint-components/p-8766952b.entry.js +0 -1
  536. package/dist/mint-components/p-8d25a7f7.js +0 -448
  537. package/dist/mint-components/p-9191b949.system.entry.js +0 -1
  538. package/dist/mint-components/p-941776f2.entry.js +0 -1
  539. package/dist/mint-components/p-95fe044b.js +0 -1
  540. package/dist/mint-components/p-972d5086.entry.js +0 -1
  541. package/dist/mint-components/p-9d31def7.js +0 -1
  542. package/dist/mint-components/p-9f44a4bd.js +0 -1
  543. package/dist/mint-components/p-b131b384.system.js +0 -1
  544. package/dist/mint-components/p-b35a43d1.system.js +0 -1
  545. package/dist/mint-components/p-b54da510.system.entry.js +0 -1
  546. package/dist/mint-components/p-b61be711.entry.js +0 -1
  547. package/dist/mint-components/p-b699f76e.system.js +0 -1
  548. package/dist/mint-components/p-b6a1e2ac.js +0 -1
  549. package/dist/mint-components/p-c5e6c28e.js +0 -1
  550. package/dist/mint-components/p-ca3dbd51.js +0 -1
  551. package/dist/mint-components/p-ce4a36b2.system.js +0 -6
  552. package/dist/mint-components/p-d65991d0.entry.js +0 -1
  553. package/dist/mint-components/p-d9a88615.system.js +0 -1
  554. package/dist/mint-components/p-df28013f.system.entry.js +0 -1
  555. package/dist/mint-components/p-e21dad58.entry.js +0 -1
  556. package/dist/mint-components/p-f207070d.entry.js +0 -1
  557. package/dist/mint-components/p-f62aa495.system.js +0 -1
  558. package/dist/mint-components/p-f72cf379.js +0 -1
  559. package/dist/mint-components/p-f998a53a.system.entry.js +0 -1
  560. package/dist/mint-components/p-fb5c9802.entry.js +0 -1
  561. package/dist/mint-components/p-fc66ec16.system.js +0 -1
  562. package/docs/stats.json +0 -122783
@@ -1,1069 +0,0 @@
1
- import { r as registerInstance, h as h$1 } from './index-38ad4957.js';
2
- import { k as useState, n as h, m as useRef, f as useEffect } from './dom-context-hooks.module-50442785.js';
3
- import { u as un, j as jn, i as isDemo, a as je, h as hn, V as Ve, b as useCallback, J, c as an, s as setUserIdentity } from './index.module-849b7d56.js';
4
- import { j as jsonpointer } from './jsonpointer-388a7082.js';
5
- import { c as cjs } from './cjs-bdfb4486.js';
6
- import { s as sanitizeUrlPath, g as getProps } from './utils-334c1e34.js';
7
- import { c as createStyleSheet } from './JSS-67b5cff8.js';
8
- import './mixins-f750863a.js';
9
- import './sqm-text-span-view-738acfb3.js';
10
- import { P as PortalForgotPasswordView, a as PortalLoginView, b as PortalRegisterView, c as PortalVerifyEmailView } from './sqm-portal-verify-email-view-e02a49b1.js';
11
- import { A as AsYouType } from './AsYouType-46f67d0d.js';
12
- import { u as useRegistrationFormState } from './useRegistrationFormState-f149c3ba.js';
13
- import { P as PortalRegistrationFormView } from './sqm-portal-registration-form-view-2f4936ef.js';
14
- import { u as usePortalRegistrationForm } from './usePortalRegistrationForm-65765105.js';
15
-
16
- function usePortalForgotPassword(props) {
17
- var _a, _b, _c, _d, _e, _f, _g;
18
- const [success, setSuccess] = useState(false);
19
- const [error, setError] = useState("");
20
- const [request, { loading, data, errors }] = un();
21
- const urlParams = new URLSearchParams(jn.location.search);
22
- const nextPage = urlParams.get("nextPage");
23
- const submit = async (event) => {
24
- var _a;
25
- setError("");
26
- setSuccess(false);
27
- let formData = event.detail.formData;
28
- formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
29
- jsonpointer.set(formData, key, value);
30
- });
31
- const urlParams = nextPage ? { nextPage } : null;
32
- const redirectPath = props.redirectPath;
33
- const variables = { email: formData.email, urlParams, redirectPath };
34
- const result = await request(variables);
35
- if (result instanceof Error) {
36
- if (result.message)
37
- setError(props.networkErrorMessage);
38
- return;
39
- }
40
- if ((_a = result.requestManagedIdentityPasswordResetEmail) === null || _a === void 0 ? void 0 : _a.success) {
41
- setSuccess(true);
42
- }
43
- };
44
- return {
45
- states: {
46
- loading,
47
- error: ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
48
- error,
49
- success,
50
- loginPath: props.loginPath,
51
- headerText: props.headerText,
52
- loginText: props.loginText,
53
- },
54
- callbacks: {
55
- submit,
56
- },
57
- };
58
- }
59
-
60
- const PortalForgotPassword = class {
61
- constructor(hostRef) {
62
- registerInstance(this, hostRef);
63
- this.ignored = true;
64
- /**
65
- * Redirect participants to this page after they verify their email.
66
- *
67
- * @uiName Email redirect
68
- * @uiWidget pageSelect
69
- */
70
- this.redirectPath = "/resetPassword";
71
- /**
72
- * @uiName Email field label
73
- */
74
- this.emailLabel = "Email";
75
- /**
76
- * @uiName Password reset button text
77
- */
78
- this.submitLabel = "Request Password Reset";
79
- /**
80
- * @uiName Login redirect path
81
- * @uiWidget pageSelect
82
- */
83
- this.loginPath = "/login";
84
- /**
85
- * @uiName Header text
86
- * @uiWidget textArea
87
- */
88
- this.headerText = "Enter your email below to receive a password reset link.";
89
- /**
90
- * @uiName Sign in link text
91
- */
92
- this.loginText = "Sign In";
93
- /**
94
- * Displayed when the forgot password action fails due to a network error. The participant can try refreshing the page.
95
- * @uiName Network error message
96
- */
97
- this.networkErrorMessage = "An error occurred while loading this page. Please refresh the page.";
98
- /**
99
- * @uiName Email verification sent text
100
- */
101
- this.successAlertText = "If an account with that email exists, a password reset email will be sent.";
102
- /**
103
- * @uiName Background color
104
- * @uiWidget color
105
- */
106
- this.backgroundColor = "var(--sqm-portal-background, #ffffff)";
107
- /**
108
- * @uiName Border radius
109
- * @uiWidget number
110
- */
111
- this.borderRadius = "var(--sqm-border-radius-normal, 8px)";
112
- /**
113
- * @uiName Border style
114
- * @uiWidget textArea
115
- */
116
- this.border = "var(--sqm-border-thickness, 1px) solid var(--sqm-border-color, #eaeaea)";
117
- h(this);
118
- }
119
- disconnectedCallback() { }
120
- render() {
121
- const { states, callbacks } = isDemo()
122
- ? usePortalForgotPasswordDemo(this)
123
- : usePortalForgotPassword(this);
124
- const content = {
125
- messageSlot: h$1("slot", { name: "messageSlot" }, this.headerText),
126
- emailLabel: this.emailLabel,
127
- submitLabel: this.submitLabel,
128
- successAlertText: this.successAlertText,
129
- loginText: this.loginText,
130
- backgroundColor: this.backgroundColor,
131
- borderRadius: this.borderRadius,
132
- border: this.border,
133
- };
134
- return (h$1(PortalForgotPasswordView, { states: states, callbacks: callbacks, content: content }));
135
- }
136
- };
137
- function usePortalForgotPasswordDemo(props) {
138
- return cjs({
139
- states: { error: "", loading: false, success: false },
140
- callbacks: {
141
- submit: async (_event) => { },
142
- },
143
- content: {
144
- secondaryButton: (h$1("sl-button", { type: "secondary", exportparts: "base: secondarybutton-base", disabled: false, onClick: () => jn.push(props.loginPath) }, props.loginText)),
145
- messageSlot: h$1("span", null, props.headerText),
146
- emailLabel: props.emailLabel,
147
- submitLabel: props.submitLabel,
148
- successAlertText: props.successAlertText,
149
- loginText: props.loginText,
150
- backgroundColor: props.backgroundColor,
151
- borderRadius: props.borderRadius,
152
- border: props.border,
153
- },
154
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
155
- }
156
-
157
- function usePortalLogin(props) {
158
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
159
- const [request, { loading, errors, data }] = je();
160
- const [loginWithGoogle, { loading: gLoading, errors: gErrors }] = hn();
161
- const [error, setError] = useState("");
162
- const urlParams = new URLSearchParams(jn.location.search);
163
- const nextPageOverride = urlParams.get("nextPage");
164
- const googleSubmit = async (e) => {
165
- var _a, _b, _c, _d;
166
- if (!((_a = e.detail) === null || _a === void 0 ? void 0 : _a.credential))
167
- return;
168
- const result = await loginWithGoogle({ idToken: e.detail.credential });
169
- if (result instanceof Error) {
170
- if ((result === null || result === void 0 ? void 0 : result.message) || ((_b = result === null || result === void 0 ? void 0 : result["response"]) === null || _b === void 0 ? void 0 : _b["error"]))
171
- if ((_c = result === null || result === void 0 ? void 0 : result["response"]) === null || _c === void 0 ? void 0 : _c["errors"].some((error) => { var _a; return ((_a = error === null || error === void 0 ? void 0 : error["extensions"]) === null || _a === void 0 ? void 0 : _a["message"]) === "Invalid Credentials."; })) {
172
- setError(props.googleUserNotRegisteredError);
173
- }
174
- else {
175
- setError(props.networkErrorMessage);
176
- }
177
- return;
178
- }
179
- if ((_d = result.authenticateManagedIdentityWithGoogle) === null || _d === void 0 ? void 0 : _d.token) {
180
- urlParams.delete("nextPage");
181
- const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
182
- jn.push(url.href);
183
- }
184
- };
185
- const submit = async (event) => {
186
- var _a, _b;
187
- setError("");
188
- let formData = event.detail.formData;
189
- formData === null || formData === void 0 ? void 0 : formData.forEach((value, key) => {
190
- jsonpointer.set(formData, key, value);
191
- });
192
- const variables = { email: formData.email, password: formData.password };
193
- const result = await request(variables);
194
- if (result instanceof Error) {
195
- if ((result === null || result === void 0 ? void 0 : result.message) || ((_a = result === null || result === void 0 ? void 0 : result["response"]) === null || _a === void 0 ? void 0 : _a["error"]))
196
- setError(props.networkErrorMessage);
197
- return;
198
- }
199
- if ((_b = result.authenticateManagedIdentityWithEmailAndPassword) === null || _b === void 0 ? void 0 : _b.token) {
200
- urlParams.delete("nextPage");
201
- const url = sanitizeUrlPath(nextPageOverride || props.nextPage);
202
- jn.push(url.href);
203
- }
204
- };
205
- const errorMessage = ((_d = (_c = (_b = (_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a.errors) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.extensions) === null || _d === void 0 ? void 0 : _d.message) || ((_g = (_f = (_e = errors === null || errors === void 0 ? void 0 : errors.response) === null || _e === void 0 ? void 0 : _e.errors) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g.message) ||
206
- error;
207
- const googleErrorMessage = ((_l = (_k = (_j = (_h = gErrors === null || gErrors === void 0 ? void 0 : gErrors.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.extensions) === null || _l === void 0 ? void 0 : _l.message) || ((_p = (_o = (_m = gErrors === null || gErrors === void 0 ? void 0 : gErrors.response) === null || _m === void 0 ? void 0 : _m.errors) === null || _o === void 0 ? void 0 : _o[0]) === null || _p === void 0 ? void 0 : _p.message) ||
208
- error;
209
- return {
210
- states: {
211
- loading: loading || gLoading,
212
- error: errorMessage || googleErrorMessage,
213
- registerPath: props.registerPath,
214
- forgotPasswordPath: props.forgotPasswordPath,
215
- },
216
- callbacks: {
217
- googleSubmit,
218
- submit,
219
- },
220
- };
221
- }
222
-
223
- const PortalGoogleLogin = class {
224
- constructor(hostRef) {
225
- registerInstance(this, hostRef);
226
- this.ignored = true;
227
- /**
228
- * Redirect participants to this page after they successfully login.
229
- *
230
- * @uiName Login redirect
231
- * @uiWidget pageSelect
232
- */
233
- this.nextPage = "/";
234
- /**
235
- * @uiName Email field label
236
- */
237
- this.emailLabel = "Email";
238
- /**
239
- * @uiName Password field label
240
- */
241
- this.passwordLabel = "Password";
242
- /**
243
- * @uiName Submit button text
244
- */
245
- this.submitLabel = "Sign In";
246
- /**
247
- * Redirect participants to this page to reset their password
248
- * @uiName Forgot password redirect
249
- * @uiWidget pageSelect
250
- */
251
- this.forgotPasswordPath = "/forgotPassword";
252
- /**
253
- * @uiName Forgot password text
254
- */
255
- this.forgotPasswordLabel = "Forgot Password?";
256
- /**
257
- * @uiName Register button text
258
- */
259
- this.registerLabel = "Register";
260
- /**
261
- * Redirect participants to this page to start registration.
262
- * @uiName Register button redirect
263
- * @uiWidget pageSelect
264
- */
265
- this.registerPath = "/register";
266
- /**
267
- * @uiName Heading label
268
- * @uiWidget textArea
269
- */
270
- this.pageLabel = "Sign in to your account";
271
- /**
272
- * @uiName Network error message
273
- * Displayed when the login fails due to a network error. The participant can try refreshing the page.
274
- */
275
- this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
276
- /**
277
- * @uiName Google account error message
278
- * Displayed when user tries to sign in with Google account but has not registered.
279
- */
280
- this.googleUserNotRegisteredError = "Your Google account has not registered on our platform. Please complete the registration process with your Google account.";
281
- /**
282
- * @uiName Register CTA
283
- */
284
- this.registerCTA = "Don't have an account?";
285
- h(this);
286
- }
287
- disconnectedCallback() { }
288
- render() {
289
- const { states, callbacks } = isDemo()
290
- ? useLoginDemo(this)
291
- : usePortalLogin(this);
292
- const styles = {
293
- RegisterButton: {
294
- "&::part(label)": {
295
- padding: "0",
296
- },
297
- },
298
- };
299
- const sheet = createStyleSheet(styles);
300
- const styleString = sheet.toString();
301
- const content = {
302
- forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
303
- googleButton: (h$1("sqm-google-sign-in", { onInitComplete: callbacks.googleSubmit })),
304
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("span", null, this.registerCTA, " ", h$1("sl-button", { size: "large", type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath), className: sheet.classes.RegisterButton }, this.registerLabel)))),
305
- emailLabel: this.emailLabel,
306
- passwordLabel: this.passwordLabel,
307
- submitLabel: this.submitLabel,
308
- pageLabel: this.pageLabel,
309
- };
310
- return (h$1(PortalLoginView, { states: states, callbacks: callbacks, content: content }));
311
- }
312
- };
313
- function useLoginDemo(props) {
314
- return cjs({
315
- states: {
316
- error: "",
317
- loading: false,
318
- forgotPasswordPath: "/forgotPassword",
319
- registerPath: "/register",
320
- showLoginForm: "manual",
321
- },
322
- callbacks: {
323
- googleSubmit: async () => {
324
- console.log("google submit");
325
- },
326
- submit: async (_event) => {
327
- console.log("submit");
328
- },
329
- },
330
- content: {
331
- googleButton: null,
332
- },
333
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
334
- }
335
-
336
- const PortalLogin = class {
337
- constructor(hostRef) {
338
- registerInstance(this, hostRef);
339
- this.ignored = true;
340
- /**
341
- * Redirect participants to this page after they successfully login.
342
- *
343
- * @uiName Login redirect
344
- * @uiWidget pageSelect
345
- */
346
- this.nextPage = "/";
347
- /**
348
- * @uiName Email field label
349
- */
350
- this.emailLabel = "Email";
351
- /**
352
- * @uiName Password field label
353
- */
354
- this.passwordLabel = "Password";
355
- /**
356
- * @uiName Submit button text
357
- */
358
- this.submitLabel = "Sign In";
359
- /**
360
- * Redirect participants to this page to reset their password
361
- * @uiName Forgot password redirect
362
- * @uiWidget pageSelect
363
- */
364
- this.forgotPasswordPath = "/forgotPassword";
365
- /**
366
- * @uiName Forgot password text
367
- */
368
- this.forgotPasswordLabel = "Forgot Password?";
369
- /**
370
- * @uiName Register button text
371
- */
372
- this.registerLabel = "Register";
373
- /**
374
- * Redirect participants to this page to start registration.
375
- * @uiName Register button redirect
376
- * @uiWidget pageSelect
377
- */
378
- this.registerPath = "/register";
379
- /**
380
- * @uiName Heading label
381
- * @uiWidget textArea
382
- */
383
- this.pageLabel = "Sign in to your account";
384
- /**
385
- * Displayed when the login fails due to a network error. The participant can try refreshing the page.
386
- * @uiName Network error message
387
- */
388
- this.networkErrorMessage = "An error occurred while logging you in. Please refresh the page and try again.";
389
- /**
390
- * @uiName Register CTA
391
- */
392
- this.registerCTA = "Don't have an account?";
393
- h(this);
394
- }
395
- disconnectedCallback() { }
396
- render() {
397
- const { states, callbacks } = isDemo()
398
- ? useLoginDemo$1(this)
399
- : usePortalLogin(this);
400
- const styles = {
401
- RegisterButton: {
402
- "&::part(label)": {
403
- padding: "0",
404
- },
405
- },
406
- };
407
- const sheet = createStyleSheet(styles);
408
- const styleString = sheet.toString();
409
- const content = {
410
- forgotPasswordButton: (h$1("slot", { name: "forgotPassword" }, h$1("a", { onClick: () => jn.push(states.forgotPasswordPath) }, this.forgotPasswordLabel))),
411
- googleButton: null,
412
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("style", null, styleString), h$1("sl-button", { exportparts: "base: secondarybutton-base", type: "text", disabled: states.loading, onClick: () => jn.push(states.registerPath) }, this.registerLabel))),
413
- emailLabel: this.emailLabel,
414
- passwordLabel: this.passwordLabel,
415
- submitLabel: this.submitLabel,
416
- pageLabel: this.pageLabel,
417
- };
418
- return (h$1(PortalLoginView, { states: states, callbacks: callbacks, content: content }));
419
- }
420
- };
421
- function useLoginDemo$1(props) {
422
- return cjs({
423
- states: {
424
- error: "",
425
- loading: false,
426
- forgotPasswordPath: "/forgotPassword",
427
- registerPath: "/register",
428
- showLoginForm: "manual",
429
- },
430
- callbacks: {
431
- googleSubmit: async () => {
432
- console.log("google submit");
433
- },
434
- submit: async (_event) => {
435
- console.log("submit");
436
- },
437
- },
438
- content: {
439
- googleButton: null,
440
- },
441
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
442
- }
443
-
444
- function usePortalRegister(props) {
445
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
446
- const formRef = useRef(null);
447
- const { registrationFormState, setRegistrationFormState } = useRegistrationFormState({});
448
- const [request, { loading, errors, data }] = Ve();
449
- useEffect(() => {
450
- if (!formRef.current)
451
- return;
452
- const form = formRef.current;
453
- form.addEventListener("sl-input", inputFunction);
454
- return () => {
455
- form.removeEventListener("sl-input", inputFunction);
456
- };
457
- }, [formRef.current]);
458
- const submit = async (event) => {
459
- var _a;
460
- let formControls = event.target.getFormControls();
461
- let formData = {};
462
- let validationErrors = {};
463
- formControls === null || formControls === void 0 ? void 0 : formControls.forEach((control) => {
464
- if (!control.name)
465
- return;
466
- const key = control.name;
467
- const value = control.value;
468
- jsonpointer.set(formData, key, value);
469
- // required validation
470
- if (control.required && !value) {
471
- jsonpointer.set(validationErrors, key, props.requiredFieldErrorMessage);
472
- }
473
- // custom validation
474
- if (typeof control.validationError === "function") {
475
- const validate = control.validationError;
476
- const validationError = validate({ control, key, value });
477
- if (validationError)
478
- jsonpointer.set(validationErrors, key, validationError);
479
- }
480
- });
481
- if ((props.confirmPassword || formData.confirmPassword) &&
482
- formData.password !== formData.confirmPassword) {
483
- validationErrors = {
484
- ...validationErrors,
485
- confirmPassword: props.passwordMismatchErrorMessage,
486
- };
487
- }
488
- if (Object.keys(validationErrors).length) {
489
- setRegistrationFormState({ loading: false, error: "", validationErrors });
490
- // early return for validation errors
491
- return;
492
- }
493
- setRegistrationFormState({
494
- loading: true,
495
- error: "",
496
- validationErrors: {},
497
- });
498
- const { email, password } = formData;
499
- delete formData.email;
500
- delete formData.password;
501
- delete formData.confirmPassword;
502
- formData = { ...formData };
503
- const redirectPath = props.redirectPath;
504
- const variables = {
505
- email,
506
- password,
507
- formData,
508
- redirectPath,
509
- };
510
- try {
511
- const result = await request(variables);
512
- if (result instanceof Error) {
513
- throw result;
514
- }
515
- setRegistrationFormState({
516
- loading: false,
517
- error: "",
518
- validationErrors: {},
519
- });
520
- if ((_a = result.registerManagedIdentityWithEmailAndPassword) === null || _a === void 0 ? void 0 : _a.token) {
521
- jn.push(props.nextPage);
522
- }
523
- }
524
- catch (error) {
525
- setRegistrationFormState({
526
- loading: false,
527
- error: props.networkErrorMessage,
528
- validationErrors: {},
529
- });
530
- }
531
- };
532
- const inputFunction = useCallback((e) => {
533
- var _a, _b;
534
- const name = (_b = (_a = e.target) === null || _a === void 0 ? void 0 : _a.type) === null || _b === void 0 ? void 0 : _b.toLowerCase();
535
- if (name !== "tel")
536
- return;
537
- const asYouType = new AsYouType("US");
538
- e.target.value = asYouType.input(e.target.value);
539
- }, []);
540
- let errorMessage = "";
541
- if ((_a = errors === null || errors === void 0 ? void 0 : errors.response) === null || _a === void 0 ? void 0 : _a["error"]) {
542
- errorMessage = props.networkErrorMessage;
543
- }
544
- else if ((errors === null || errors === void 0 ? void 0 : errors.message) && !((_b = errors === null || errors === void 0 ? void 0 : errors.response) === null || _b === void 0 ? void 0 : _b.errors.length)) {
545
- errorMessage = props.networkErrorMessage;
546
- }
547
- else {
548
- errorMessage =
549
- ((_f = (_e = (_d = (_c = errors === null || errors === void 0 ? void 0 : errors.response) === null || _c === void 0 ? void 0 : _c.errors) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.extensions) === null || _f === void 0 ? void 0 : _f.message) || ((_j = (_h = (_g = errors === null || errors === void 0 ? void 0 : errors.response) === null || _g === void 0 ? void 0 : _g.errors) === null || _h === void 0 ? void 0 : _h[0]) === null || _j === void 0 ? void 0 : _j.message) || (registrationFormState === null || registrationFormState === void 0 ? void 0 : registrationFormState.error);
550
- }
551
- return {
552
- states: {
553
- loading,
554
- error: errorMessage,
555
- registrationFormState,
556
- confirmPassword: props.confirmPassword,
557
- hideInputs: props.hideInputs,
558
- loginPath: props.loginPath,
559
- disablePasswordValidation: props.disablePasswordValidation,
560
- },
561
- callbacks: {
562
- submit,
563
- inputFunction,
564
- },
565
- refs: {
566
- formRef,
567
- },
568
- };
569
- }
570
-
571
- const PortalRegister = class {
572
- constructor(hostRef) {
573
- registerInstance(this, hostRef);
574
- this.ignored = false;
575
- /**
576
- * Redirect participants to this page from their verification email
577
- *
578
- * @uiName Registration redirect
579
- * @uiWidget pageSelect
580
- */
581
- this.nextPage = "/";
582
- /**
583
- * The page that participants are redirected to from the verification email.
584
- *
585
- * @uiName Email verification redirect
586
- * @uiWidget pageSelect
587
- */
588
- this.redirectPath = "/verifyEmail";
589
- /**
590
- * @uiName Email field label
591
- */
592
- this.emailLabel = "Email";
593
- /**
594
- * @uiName Password field label
595
- */
596
- this.passwordLabel = "Password";
597
- /**
598
- * @uiName Submit button text
599
- */
600
- this.submitLabel = "Register";
601
- /**
602
- * @uiName Login button text
603
- */
604
- this.loginLabel = "Sign in";
605
- /**
606
- * @uiName Confirm password field label
607
- */
608
- this.confirmPasswordLabel = "Confirm Password";
609
- /**
610
- * @uiName Show confirm password field
611
- */
612
- this.confirmPassword = false;
613
- /**
614
- * @uiName Disable password validation
615
- */
616
- this.disablePasswordValidation = false;
617
- /**
618
- * Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes "email" and "password" for this form to succeed.
619
- *
620
- * @uiName Hide default fields
621
- */
622
- this.hideInputs = false;
623
- /**
624
- * @uiName Header text
625
- */
626
- this.pageLabel = "Register";
627
- /**
628
- * Redirect participants to this page after clicking the login button.
629
- *
630
- * @uiName Login redirect
631
- * @uiWidget pageSelect
632
- */
633
- this.loginPath = "/login";
634
- /**
635
- * The message to be displayed when a required field is not filled.
636
- *
637
- * @uiName Required field message
638
- * @uiWidget textArea
639
- */
640
- this.requiredFieldErrorMessage = "Cannot be empty";
641
- /**
642
- * The message to be displayed when a the form submission fails unexpectedly.
643
- *
644
- * @uiName Network error message
645
- * @uiWidget textArea
646
- */
647
- this.networkErrorMessage = "Network request failed.";
648
- /**
649
- * The message to be displayed when password inputs do not match.
650
- *
651
- * @uiName Password mismatch message
652
- * @uiWidget textArea
653
- */
654
- this.passwordMismatchErrorMessage = "Passwords do not match.";
655
- /**
656
- * The message to be displayed when the email used is invalid or blocked.
657
- *
658
- * @uiName Invalid email message
659
- * @uiWidget textArea
660
- */
661
- this.invalidEmailErrorMessage = "Must be a valid email address";
662
- /**
663
- * @uiName Password requirement met
664
- */
665
- this.meetsRequirementsText = "Password has met all requirements";
666
- /**
667
- * @uiName Password requirement failed
668
- */
669
- this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
670
- /**
671
- * @uiName Minimum length text
672
- */
673
- this.minErrorText = "be a minimum of 8 characters";
674
- /**
675
- * @uiName Missing uppercase text
676
- */
677
- this.uppercaseErrorText = "contain at least 1 uppercase character";
678
- /**
679
- * @uiName Missing lowercase text
680
- */
681
- this.lowercaseErrorText = "contain at least 1 lowercase character";
682
- /**
683
- * @uiName Missing number or symbol text
684
- */
685
- this.hasErrorText = "contain at least 1 number or symbol";
686
- h(this);
687
- }
688
- disconnectedCallback() { }
689
- render() {
690
- const { states, callbacks, refs } = isDemo()
691
- ? useRegisterDemo(this)
692
- : usePortalRegister(this);
693
- const content = {
694
- formData: h$1("slot", { name: "formData" }),
695
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.loginPath) }, this.loginLabel))),
696
- terms: h$1("slot", { name: "terms" }),
697
- emailLabel: this.emailLabel,
698
- passwordLabel: this.passwordLabel,
699
- submitLabel: this.submitLabel,
700
- pageLabel: this.pageLabel,
701
- confirmPasswordLabel: this.confirmPasswordLabel,
702
- invalidEmailErrorMessage: this.invalidEmailErrorMessage,
703
- requiredFieldErrorMessage: this.requiredFieldErrorMessage,
704
- meetsRequirementsText: this.meetsRequirementsText,
705
- doesNotMeetRequirementsText: this.doesNotMeetRequirementsText,
706
- minErrorText: this.minErrorText,
707
- uppercaseErrorText: this.uppercaseErrorText,
708
- lowercaseErrorText: this.lowercaseErrorText,
709
- hasErrorText: this.hasErrorText,
710
- };
711
- return (h$1(PortalRegisterView, { states: states, callbacks: callbacks, content: content, refs: refs }));
712
- }
713
- };
714
- function useRegisterDemo(props) {
715
- return cjs({
716
- states: {
717
- error: "",
718
- loading: false,
719
- confirmPassword: props.confirmPassword,
720
- hideInputs: props.hideInputs || false,
721
- customPasswordField: false,
722
- loginPath: props.loginPath,
723
- disablePasswordValidation: props.disablePasswordValidation,
724
- },
725
- callbacks: {
726
- submit: async (_event) => {
727
- console.log("submit");
728
- },
729
- inputFunction: () => { },
730
- },
731
- refs: {
732
- formRef: {},
733
- },
734
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
735
- }
736
-
737
- const PortalRegistrationForm = class {
738
- constructor(hostRef) {
739
- registerInstance(this, hostRef);
740
- this.ignored = true;
741
- /**
742
- * Redirect participants to this page after they successfully register.
743
- *
744
- * @uiName Registration redirect
745
- * @uiWidget pageSelect
746
- */
747
- this.nextPage = "/";
748
- /**
749
- * Redirect participants to this page from their verification email
750
- *
751
- * @uiName Email verification redirect
752
- * @uiWidget pageSelect
753
- */
754
- this.redirectPath = "/verifyEmail";
755
- /**
756
- * @uiName Email field label
757
- */
758
- this.emailLabel = "Email";
759
- /**
760
- * @uiName Password field label
761
- */
762
- this.passwordLabel = "Password";
763
- /**
764
- * @uiName Submit button text
765
- */
766
- this.submitLabel = "Register";
767
- /**
768
- * @uiName Login button text
769
- */
770
- this.loginLabel = "Sign in";
771
- /**
772
- * @uiName Confirm password field label
773
- */
774
- this.confirmPasswordLabel = "Confirm Password";
775
- /**
776
- * @uiName Show confirm password field
777
- */
778
- this.confirmPassword = false;
779
- /**
780
- * @uiName Disable password validation
781
- */
782
- this.disablePasswordValidation = false;
783
- /**
784
- * Hides the email and password fields. Note: If you hide default inputs, you must add additional input fields. They must have the input name attributes "email" and "password" for this form to succeed.
785
- *
786
- * @uiName Hide default fields
787
- */
788
- this.hideInputs = false;
789
- /**
790
- * @uiName Header text
791
- */
792
- this.pageLabel = "Register";
793
- /**
794
- * Redirect participants to this page after clicking the login button.
795
- *
796
- * @uiName Login redirect
797
- * @uiWidget pageSelect
798
- */
799
- this.loginPath = "/login";
800
- /**
801
- * The message to be displayed when a required field is not filled.
802
- *
803
- * @uiName Required field message
804
- * @uiWidget textArea
805
- */
806
- this.requiredFieldErrorMessage = "Cannot be empty";
807
- /**
808
- * The message to be displayed when a the form submission fails unexpectedly.
809
- *
810
- * @uiName Network error message
811
- * @uiWidget textArea
812
- */
813
- this.networkErrorMessage = "Network request failed.";
814
- /**
815
- * The message to be displayed when password inputs do not match.
816
- *
817
- * @uiName Password mismatch message
818
- * @uiWidget textArea
819
- */
820
- this.passwordMismatchErrorMessage = "Passwords do not match.";
821
- /**
822
- * The message to be displayed when the email used is invalid or blocked.
823
- *
824
- * @uiName Invalid email message
825
- * @uiWidget textArea
826
- */
827
- this.invalidEmailErrorMessage = "Must be a valid email address";
828
- /**
829
- * The message to be displayed when the registration form is disabled.
830
- *
831
- * @uiName Form disabled message
832
- * @uiWidget textArea
833
- */
834
- this.formDisabledErrorMessage = "The registration form is currently disabled.";
835
- /**
836
- * @uiName Password requirement met
837
- */
838
- this.meetsRequirementsText = "Password has met all requirements";
839
- /**
840
- * @uiName Password requirement failed
841
- */
842
- this.doesNotMeetRequirementsText = "Password must meet the following requirements:";
843
- /**
844
- * @uiName Minimum length text
845
- */
846
- this.minErrorText = "be a minimum of 8 characters";
847
- /**
848
- * @uiName Missing uppercase text
849
- */
850
- this.uppercaseErrorText = "contain at least 1 uppercase character";
851
- /**
852
- * @uiName Missing lowercase text
853
- */
854
- this.lowercaseErrorText = "contain at least 1 lowercase character";
855
- /**
856
- * @uiName Missing number or symbol text
857
- */
858
- this.hasErrorText = "contain at least 1 number or symbol";
859
- h(this);
860
- }
861
- disconnectedCallback() { }
862
- render() {
863
- const { states, callbacks, refs } = isDemo()
864
- ? useRegisterDemo$1(this)
865
- : usePortalRegistrationForm(this);
866
- const content = {
867
- formData: h$1("slot", { name: "formData" }),
868
- secondaryButton: (h$1("slot", { name: "secondaryButton" }, h$1("sl-button", { type: "text", disabled: states.loading, onClick: () => jn.push(states.loginPath) }, this.loginLabel))),
869
- terms: h$1("slot", { name: "terms" }),
870
- emailOptIn: h$1("slot", { name: "emailOptIn" }),
871
- emailLabel: this.emailLabel,
872
- passwordLabel: this.passwordLabel,
873
- submitLabel: this.submitLabel,
874
- pageLabel: this.pageLabel,
875
- confirmPasswordLabel: this.confirmPasswordLabel,
876
- networkErrorMessage: this.networkErrorMessage,
877
- passwordMismatchErrorMessage: this.passwordMismatchErrorMessage,
878
- invalidEmailErrorMessage: this.invalidEmailErrorMessage,
879
- formDisabledErrorMessage: this.formDisabledErrorMessage,
880
- requiredFieldErrorMessage: this.requiredFieldErrorMessage,
881
- meetsRequirementsText: this.meetsRequirementsText,
882
- doesNotMeetRequirementsText: this.doesNotMeetRequirementsText,
883
- minErrorText: this.minErrorText,
884
- uppercaseErrorText: this.uppercaseErrorText,
885
- lowercaseErrorText: this.lowercaseErrorText,
886
- hasErrorText: this.hasErrorText,
887
- };
888
- return (h$1(PortalRegistrationFormView, { states: states, callbacks: callbacks, content: content, refs: refs }));
889
- }
890
- };
891
- function useRegisterDemo$1(props) {
892
- return cjs({
893
- states: {
894
- error: "",
895
- loading: false,
896
- confirmPassword: props.confirmPassword,
897
- hideInputs: props.hideInputs || false,
898
- customPasswordField: false,
899
- loginPath: "/login",
900
- },
901
- callbacks: {
902
- submit: async (_event) => {
903
- console.log("submit");
904
- },
905
- inputFunction: () => { },
906
- },
907
- refs: {
908
- formRef: {},
909
- },
910
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
911
- }
912
-
913
- let globalPromise = null;
914
- function usePortalVerifyEmail({ nextPage, failedPage, verifySuccessText, verifyEmailText, verifyInvalidText, networkErrorMessage, continueText, }) {
915
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
916
- const [completed, setCompleted] = useState(false);
917
- const [successful, setSuccessful] = useState(false);
918
- const userIdent = J();
919
- const [request, { loading, data, errors }] = an();
920
- const urlParams = new URLSearchParams(jn.location.search);
921
- const oobCode = urlParams.get("oobCode");
922
- const oobEmail = urlParams.get("email");
923
- const nextPageOverride = urlParams.get("nextPage");
924
- // derived from useMutation in component boilerplate initialState
925
- const disableContinue = data === undefined && errors === undefined && !!oobCode;
926
- // if logged out, userIdent?.managedIdentity?.emailVerified will be falsey, even if verification was successful
927
- const verified = !!(((_a = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _a === void 0 ? void 0 : _a.emailVerified) || ((_b = data === null || data === void 0 ? void 0 : data.verifyManagedIdentityEmail) === null || _b === void 0 ? void 0 : _b.success) ||
928
- successful);
929
- const validEmail = ((_c = userIdent === null || userIdent === void 0 ? void 0 : userIdent.managedIdentity) === null || _c === void 0 ? void 0 : _c.email) === oobEmail;
930
- const failed = () => {
931
- return jn.push({
932
- pathname: failedPage,
933
- search: urlParams.toString() && "?" + urlParams.toString(),
934
- });
935
- };
936
- const gotoNextPage = () => {
937
- urlParams.delete("nextPage");
938
- const url = sanitizeUrlPath(nextPageOverride || nextPage);
939
- jn.push(url.href);
940
- };
941
- const logout = () => {
942
- setTimeout(() => {
943
- setUserIdentity(undefined);
944
- gotoNextPage();
945
- }, 3000);
946
- };
947
- const login = () => {
948
- setTimeout(gotoNextPage, 3000);
949
- };
950
- useEffect(() => {
951
- const verify = async () => {
952
- if (!globalPromise)
953
- globalPromise = request({ oobCode });
954
- const result = await globalPromise;
955
- if (!(result instanceof Error) &&
956
- result.verifyManagedIdentityEmail.success) {
957
- // Needs to be explicitly updated if multiple renders have occured
958
- setSuccessful(true);
959
- }
960
- setCompleted(true);
961
- };
962
- verify();
963
- }, []);
964
- useEffect(() => {
965
- if (!completed)
966
- return;
967
- if (verified && validEmail)
968
- login();
969
- else
970
- logout();
971
- }, [completed, verified]);
972
- return {
973
- states: {
974
- loading: loading || !completed,
975
- disableContinue,
976
- error: ((_g = (_f = (_e = (_d = errors === null || errors === void 0 ? void 0 : errors.response) === null || _d === void 0 ? void 0 : _d.errors) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.extensions) === null || _g === void 0 ? void 0 : _g.message) || ((_k = (_j = (_h = errors === null || errors === void 0 ? void 0 : errors.response) === null || _h === void 0 ? void 0 : _h.errors) === null || _j === void 0 ? void 0 : _j[0]) === null || _k === void 0 ? void 0 : _k.message) ||
977
- (((errors === null || errors === void 0 ? void 0 : errors.message) || !validEmail) && networkErrorMessage),
978
- success: completed && (verified || validEmail),
979
- },
980
- data: {
981
- oobCode,
982
- },
983
- callbacks: {
984
- failed,
985
- gotoNextPage,
986
- },
987
- content: {
988
- verifySuccessText,
989
- verifyEmailText,
990
- verifyInvalidText,
991
- continueText,
992
- },
993
- };
994
- }
995
-
996
- const PortalVerifyEmail = class {
997
- constructor(hostRef) {
998
- registerInstance(this, hostRef);
999
- this.ignored = true;
1000
- /**
1001
- * Redirect participants to this page when they successfully verify their email.
1002
- *
1003
- * @uiName Successful verification redirect
1004
- * @uiWidget pageSelect
1005
- */
1006
- this.nextPage = "/";
1007
- /**
1008
- * Redirect participants to this page if verification fails due to an outdated verification attempt.
1009
- *
1010
- * @uiName Failed verification redirect
1011
- * @uiWidget pageSelect
1012
- */
1013
- this.failedPage = "/";
1014
- /**
1015
- * @uiName Verify email text
1016
- * @uiWidget textArea
1017
- */
1018
- this.verifyEmailText = "Verify your email";
1019
- /**
1020
- * @uiName Email verification success text
1021
- * @uiWidget textArea
1022
- */
1023
- this.verifySuccessText = "Your email has been verified and you are being redirected. If you are not redirected, please click Continue.";
1024
- /**
1025
- * @uiName Email verification invalid text
1026
- * @uiWidget textArea
1027
- */
1028
- this.verifyInvalidText = "The email verification code is invalid or has expired, please try again.";
1029
- /**
1030
- * @uiName Continue text
1031
- */
1032
- this.continueText = "Continue";
1033
- /**
1034
- * Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
1035
- * @uiName Network error message
1036
- */
1037
- this.networkErrorMessage = "An error occurred while verifying your email. Please refresh the page and try again.";
1038
- h(this);
1039
- }
1040
- disconnectedCallback() { }
1041
- render() {
1042
- const { states, data, callbacks, content } = isDemo()
1043
- ? usePortalVerifyEmailDemo(getProps(this))
1044
- : usePortalVerifyEmail(getProps(this));
1045
- return (h$1(PortalVerifyEmailView, { states: states, data: data, callbacks: callbacks, content: content }));
1046
- }
1047
- };
1048
- function usePortalVerifyEmailDemo(props) {
1049
- return cjs({
1050
- states: { error: "", loading: false, success: true },
1051
- data: {
1052
- oobCode: "code",
1053
- },
1054
- callbacks: {
1055
- failed: () => {
1056
- console.log("failed");
1057
- },
1058
- gotoNextPage: () => { },
1059
- },
1060
- content: {
1061
- verifySuccessText: props.verifySuccessText,
1062
- verifyEmailText: props.verifyEmailText,
1063
- verifyInvalidText: props.verifyInvalidText,
1064
- continueText: props.continueText,
1065
- },
1066
- }, props.demoData || {}, { arrayMerge: (_, a) => a });
1067
- }
1068
-
1069
- export { PortalForgotPassword as sqm_portal_forgot_password, PortalGoogleLogin as sqm_portal_google_login, PortalLogin as sqm_portal_login, PortalRegister as sqm_portal_register, PortalRegistrationForm as sqm_portal_registration_form, PortalVerifyEmail as sqm_portal_verify_email };